fastapi-rtk 1.0.15 → 1.0.17

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 (211) hide show
  1. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineBooleanInput.cjs +3 -3
  2. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateInput.cjs +2 -3
  3. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.cjs +2 -3
  4. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.cjs +2 -2
  5. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumInput.cjs +2 -2
  6. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineFileInput.cjs +4 -4
  7. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineImageInput.cjs +3 -3
  8. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineIntegerInput.cjs +2 -2
  9. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineJsonInput.cjs +2 -2
  10. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineNumberInput.cjs +4 -4
  11. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.cjs +2 -2
  12. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTextInput.cjs +2 -2
  13. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTimeInput.cjs +2 -3
  14. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.cjs +1 -2
  15. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineEnumArrayControl.cjs +1 -3
  16. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineObjectControl.cjs +1 -2
  17. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/TableToolbar.cjs +2 -2
  18. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineBooleanControl.cjs +1 -3
  19. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateControl.cjs +1 -3
  20. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateTimeControl.cjs +1 -3
  21. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineEnumControl.cjs +1 -6
  22. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineFileControl.cjs +1 -3
  23. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineImageControl.cjs +1 -3
  24. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineIntegerControl.cjs +1 -3
  25. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineJsonControl.cjs +1 -3
  26. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineNumberControl.cjs +1 -3
  27. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineOneOfEnumControl.cjs +1 -6
  28. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineTextControl.cjs +1 -3
  29. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineTimeControl.cjs +1 -3
  30. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/MantineArrayLayoutRenderer.cjs +1 -2
  31. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/MantineCategorizationLayoutRenderer.cjs +6 -3
  32. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.cjs +16 -6
  33. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.cjs +6 -5
  34. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.cjs +7 -6
  35. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/MantineGroupLayoutRenderer.cjs +27 -0
  36. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.cjs +18 -0
  37. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +15 -2
  38. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +15 -2
  39. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/renderers/mantineRenderers.cjs +1 -1
  40. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/layout.cjs +21 -19
  41. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineBooleanInput.mjs +4 -4
  42. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateInput.mjs +2 -3
  43. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.mjs +2 -3
  44. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.mjs +3 -3
  45. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumInput.mjs +3 -3
  46. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineFileInput.mjs +4 -4
  47. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineImageInput.mjs +3 -3
  48. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineIntegerInput.mjs +2 -2
  49. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineJsonInput.mjs +3 -3
  50. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineNumberInput.mjs +5 -5
  51. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.mjs +3 -3
  52. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineTextInput.mjs +3 -3
  53. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineTimeInput.mjs +2 -3
  54. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.mjs +2 -3
  55. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineEnumArrayControl.mjs +1 -3
  56. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineObjectControl.mjs +1 -2
  57. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/TableToolbar.mjs +2 -2
  58. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineBooleanControl.mjs +1 -3
  59. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineDateControl.mjs +1 -3
  60. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineDateTimeControl.mjs +1 -3
  61. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineEnumControl.mjs +1 -6
  62. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineFileControl.mjs +1 -3
  63. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineImageControl.mjs +1 -3
  64. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineIntegerControl.mjs +1 -3
  65. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineJsonControl.mjs +1 -3
  66. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineNumberControl.mjs +1 -3
  67. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineOneOfEnumControl.mjs +1 -6
  68. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineTextControl.mjs +1 -3
  69. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineTimeControl.mjs +1 -3
  70. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/MantineArrayLayoutRenderer.mjs +1 -2
  71. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/MantineCategorizationLayoutRenderer.mjs +6 -3
  72. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.mjs +16 -6
  73. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.mjs +6 -5
  74. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.mjs +7 -6
  75. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/MantineGroupLayoutRenderer.mjs +27 -0
  76. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.mjs +18 -0
  77. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.mjs +15 -2
  78. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.mjs +15 -2
  79. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/renderers/mantineRenderers.mjs +1 -1
  80. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/layout.mjs +22 -20
  81. package/dist/core/cjs/Dialogs/AddDialog.cjs +1 -1
  82. package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -1
  83. package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
  84. package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideForm.cjs +1 -1
  85. package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
  86. package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
  87. package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
  88. package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideForm.mjs +1 -1
  89. package/dist/jsonforms/cjs/MantineInputs/MantineBooleanInput.cjs +3 -3
  90. package/dist/jsonforms/cjs/MantineInputs/MantineDateInput.cjs +2 -3
  91. package/dist/jsonforms/cjs/MantineInputs/MantineDateTimeInput.cjs +2 -3
  92. package/dist/jsonforms/cjs/MantineInputs/MantineEnumArrayInput.cjs +2 -2
  93. package/dist/jsonforms/cjs/MantineInputs/MantineEnumInput.cjs +2 -2
  94. package/dist/jsonforms/cjs/MantineInputs/MantineFileInput.cjs +4 -4
  95. package/dist/jsonforms/cjs/MantineInputs/MantineImageInput.cjs +3 -3
  96. package/dist/jsonforms/cjs/MantineInputs/MantineIntegerInput.cjs +2 -2
  97. package/dist/jsonforms/cjs/MantineInputs/MantineJsonInput.cjs +2 -2
  98. package/dist/jsonforms/cjs/MantineInputs/MantineNumberInput.cjs +4 -4
  99. package/dist/jsonforms/cjs/MantineInputs/MantineOneOfEnumInput.cjs +2 -2
  100. package/dist/jsonforms/cjs/MantineInputs/MantineTextInput.cjs +2 -2
  101. package/dist/jsonforms/cjs/MantineInputs/MantineTimeInput.cjs +2 -3
  102. package/dist/jsonforms/cjs/complex/MantineArrayControl/MantineArrayControl.cjs +1 -2
  103. package/dist/jsonforms/cjs/complex/MantineEnumArrayControl.cjs +1 -3
  104. package/dist/jsonforms/cjs/complex/MantineObjectControl.cjs +1 -2
  105. package/dist/jsonforms/cjs/complex/MantineTableControl/TableToolbar.cjs +2 -2
  106. package/dist/jsonforms/cjs/controls/MantineBooleanControl.cjs +1 -3
  107. package/dist/jsonforms/cjs/controls/MantineDateControl.cjs +1 -3
  108. package/dist/jsonforms/cjs/controls/MantineDateTimeControl.cjs +1 -3
  109. package/dist/jsonforms/cjs/controls/MantineEnumControl.cjs +1 -6
  110. package/dist/jsonforms/cjs/controls/MantineFileControl.cjs +1 -3
  111. package/dist/jsonforms/cjs/controls/MantineImageControl.cjs +1 -3
  112. package/dist/jsonforms/cjs/controls/MantineIntegerControl.cjs +1 -3
  113. package/dist/jsonforms/cjs/controls/MantineJsonControl.cjs +1 -3
  114. package/dist/jsonforms/cjs/controls/MantineNumberControl.cjs +1 -3
  115. package/dist/jsonforms/cjs/controls/MantineOneOfEnumControl.cjs +1 -6
  116. package/dist/jsonforms/cjs/controls/MantineTextControl.cjs +1 -3
  117. package/dist/jsonforms/cjs/controls/MantineTimeControl.cjs +1 -3
  118. package/dist/jsonforms/cjs/layouts/Array/MantineArrayLayoutRenderer.cjs +1 -2
  119. package/dist/jsonforms/cjs/layouts/Categorization/MantineCategorizationLayoutRenderer.cjs +6 -3
  120. package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationCards.cjs +16 -6
  121. package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationStepper.cjs +6 -5
  122. package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationTabs.cjs +7 -6
  123. package/dist/jsonforms/cjs/layouts/{MantineGroupLayoutRenderer.cjs → Group/MantineGroupLayoutRenderer.cjs} +17 -6
  124. package/dist/jsonforms/cjs/layouts/Group/variants/GroupFieldset.cjs +18 -0
  125. package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +15 -2
  126. package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +15 -2
  127. package/dist/jsonforms/cjs/renderers/mantineRenderers.cjs +1 -1
  128. package/dist/jsonforms/cjs/utils/layout.cjs +21 -19
  129. package/dist/jsonforms/esm/MantineInputs/MantineBooleanInput.mjs +4 -4
  130. package/dist/jsonforms/esm/MantineInputs/MantineDateInput.mjs +2 -3
  131. package/dist/jsonforms/esm/MantineInputs/MantineDateTimeInput.mjs +2 -3
  132. package/dist/jsonforms/esm/MantineInputs/MantineEnumArrayInput.mjs +3 -3
  133. package/dist/jsonforms/esm/MantineInputs/MantineEnumInput.mjs +3 -3
  134. package/dist/jsonforms/esm/MantineInputs/MantineFileInput.mjs +4 -4
  135. package/dist/jsonforms/esm/MantineInputs/MantineImageInput.mjs +3 -3
  136. package/dist/jsonforms/esm/MantineInputs/MantineIntegerInput.mjs +2 -2
  137. package/dist/jsonforms/esm/MantineInputs/MantineJsonInput.mjs +3 -3
  138. package/dist/jsonforms/esm/MantineInputs/MantineNumberInput.mjs +5 -5
  139. package/dist/jsonforms/esm/MantineInputs/MantineOneOfEnumInput.mjs +3 -3
  140. package/dist/jsonforms/esm/MantineInputs/MantineTextInput.mjs +3 -3
  141. package/dist/jsonforms/esm/MantineInputs/MantineTimeInput.mjs +2 -3
  142. package/dist/jsonforms/esm/complex/MantineArrayControl/MantineArrayControl.mjs +2 -3
  143. package/dist/jsonforms/esm/complex/MantineEnumArrayControl.mjs +1 -3
  144. package/dist/jsonforms/esm/complex/MantineObjectControl.mjs +1 -2
  145. package/dist/jsonforms/esm/complex/MantineTableControl/TableToolbar.mjs +2 -2
  146. package/dist/jsonforms/esm/controls/MantineBooleanControl.mjs +1 -3
  147. package/dist/jsonforms/esm/controls/MantineDateControl.mjs +1 -3
  148. package/dist/jsonforms/esm/controls/MantineDateTimeControl.mjs +1 -3
  149. package/dist/jsonforms/esm/controls/MantineEnumControl.mjs +1 -6
  150. package/dist/jsonforms/esm/controls/MantineFileControl.mjs +1 -3
  151. package/dist/jsonforms/esm/controls/MantineImageControl.mjs +1 -3
  152. package/dist/jsonforms/esm/controls/MantineIntegerControl.mjs +1 -3
  153. package/dist/jsonforms/esm/controls/MantineJsonControl.mjs +1 -3
  154. package/dist/jsonforms/esm/controls/MantineNumberControl.mjs +1 -3
  155. package/dist/jsonforms/esm/controls/MantineOneOfEnumControl.mjs +1 -6
  156. package/dist/jsonforms/esm/controls/MantineTextControl.mjs +1 -3
  157. package/dist/jsonforms/esm/controls/MantineTimeControl.mjs +1 -3
  158. package/dist/jsonforms/esm/layouts/Array/MantineArrayLayoutRenderer.mjs +1 -2
  159. package/dist/jsonforms/esm/layouts/Categorization/MantineCategorizationLayoutRenderer.mjs +6 -3
  160. package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationCards.mjs +16 -6
  161. package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationStepper.mjs +6 -5
  162. package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationTabs.mjs +7 -6
  163. package/dist/jsonforms/esm/layouts/{MantineGroupLayoutRenderer.mjs → Group/MantineGroupLayoutRenderer.mjs} +15 -4
  164. package/dist/jsonforms/esm/layouts/Group/variants/GroupFieldset.mjs +18 -0
  165. package/dist/jsonforms/esm/layouts/MantineHotizontalLayoutRenderer.mjs +15 -2
  166. package/dist/jsonforms/esm/layouts/MantineVerticalLayoutRenderer.mjs +15 -2
  167. package/dist/jsonforms/esm/renderers/mantineRenderers.mjs +1 -1
  168. package/dist/jsonforms/esm/utils/layout.mjs +22 -20
  169. package/dist/jsonforms/lib/MantineInputs/MantineBooleanInput.d.ts +1 -4
  170. package/dist/jsonforms/lib/MantineInputs/MantineDateInput.d.ts +1 -4
  171. package/dist/jsonforms/lib/MantineInputs/MantineDateTimeInput.d.ts +1 -4
  172. package/dist/jsonforms/lib/MantineInputs/MantineEnumArrayInput.d.ts +1 -4
  173. package/dist/jsonforms/lib/MantineInputs/MantineEnumInput.d.ts +1 -4
  174. package/dist/jsonforms/lib/MantineInputs/MantineFileInput.d.ts +2 -6
  175. package/dist/jsonforms/lib/MantineInputs/MantineImageInput.d.ts +1 -4
  176. package/dist/jsonforms/lib/MantineInputs/MantineIntegerInput.d.ts +1 -4
  177. package/dist/jsonforms/lib/MantineInputs/MantineJsonInput.d.ts +1 -4
  178. package/dist/jsonforms/lib/MantineInputs/MantineNumberInput.d.ts +2 -6
  179. package/dist/jsonforms/lib/MantineInputs/MantineOneOfEnumInput.d.ts +1 -4
  180. package/dist/jsonforms/lib/MantineInputs/MantineTextInput.d.ts +1 -4
  181. package/dist/jsonforms/lib/MantineInputs/MantineTimeInput.d.ts +1 -4
  182. package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationCards.d.ts +2 -1
  183. package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationStepper.d.ts +2 -1
  184. package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationTabs.d.ts +2 -1
  185. package/dist/jsonforms/lib/layouts/{MantineGroupLayoutRenderer.d.ts → Group/MantineGroupLayoutRenderer.d.ts} +1 -1
  186. package/dist/jsonforms/lib/layouts/Group/variants/GroupFieldset.d.ts +8 -0
  187. package/dist/jsonforms/lib/layouts/MantineHotizontalLayoutRenderer.d.ts +1 -1
  188. package/dist/jsonforms/lib/layouts/MantineVerticalLayoutRenderer.d.ts +1 -1
  189. package/dist/jsonforms/lib/renderers/mantineRenderers.d.ts +1 -7
  190. package/dist/jsonforms/lib/utils/layout.d.ts +2 -1
  191. package/dist/zustand/cjs/useProxy/useProxy.cjs +1 -1
  192. package/dist/zustand/esm/useProxy/useProxy.mjs +1 -1
  193. package/package.json +1 -1
  194. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/Contexts/LayoutPaddingContext.cjs +0 -8
  195. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.cjs +0 -16
  196. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/constants.cjs +0 -4
  197. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/Contexts/LayoutPaddingContext.mjs +0 -8
  198. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.mjs +0 -16
  199. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/constants.mjs +0 -4
  200. package/dist/jsonforms/cjs/Contexts/LayoutPaddingContext.cjs +0 -8
  201. package/dist/jsonforms/cjs/utils/constants.cjs +0 -4
  202. package/dist/jsonforms/esm/Contexts/LayoutPaddingContext.mjs +0 -8
  203. package/dist/jsonforms/esm/utils/constants.mjs +0 -4
  204. package/dist/jsonforms/lib/Contexts/LayoutPaddingContext.d.ts +0 -5
  205. package/dist/jsonforms/lib/utils/constants.d.ts +0 -1
  206. /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.12_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
  207. /package/dist/.external/cjs/{zustand@5.0.9_@types_react@18.3.27_react@18.3.1 → zustand@5.0.10_@types_react@18.3.27_react@18.3.1}/zustand/esm/react.cjs +0 -0
  208. /package/dist/.external/cjs/{zustand@5.0.9_@types_react@18.3.27_react@18.3.1 → zustand@5.0.10_@types_react@18.3.27_react@18.3.1}/zustand/esm/vanilla.cjs +0 -0
  209. /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.12_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
  210. /package/dist/.external/esm/{zustand@5.0.9_@types_react@18.3.27_react@18.3.1 → zustand@5.0.10_@types_react@18.3.27_react@18.3.1}/zustand/esm/react.mjs +0 -0
  211. /package/dist/.external/esm/{zustand@5.0.9_@types_react@18.3.27_react@18.3.1 → zustand@5.0.10_@types_react@18.3.27_react@18.3.1}/zustand/esm/vanilla.mjs +0 -0
@@ -1,14 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jsxRuntime = require("react/jsx-runtime");
4
3
  const core = require("@jsonforms/core");
5
4
  const react = require("@jsonforms/react");
6
5
  const MantineOneOfEnumInput = require("../MantineInputs/MantineOneOfEnumInput.cjs");
7
- const constants = require("../utils/constants.cjs");
8
6
  const mantineOneOfEnumControlTester = core.rankWith(2, core.isOneOfControl);
9
- const MantineOneOfEnumControl = react.withJsonFormsOneOfEnumProps(
10
- react.withTranslateProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineOneOfEnumInput.MantineOneOfEnumInput, { margin: constants.DEFAULT_MARGIN, ...props })),
11
- false
12
- );
7
+ const MantineOneOfEnumControl = react.withJsonFormsOneOfEnumProps(react.withTranslateProps(MantineOneOfEnumInput.MantineOneOfEnumInput), false);
13
8
  exports.MantineOneOfEnumControl = MantineOneOfEnumControl;
14
9
  exports.mantineOneOfEnumControlTester = mantineOneOfEnumControlTester;
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jsxRuntime = require("react/jsx-runtime");
4
3
  const core = require("@jsonforms/core");
5
4
  const react = require("@jsonforms/react");
6
5
  const MantineTextInput = require("../MantineInputs/MantineTextInput.cjs");
7
- const constants = require("../utils/constants.cjs");
8
6
  const mantineTextControlTester = core.rankWith(1, core.isStringControl);
9
- const MantineTextControl = react.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineTextInput.MantineTextInput, { margin: constants.DEFAULT_MARGIN, ...props }));
7
+ const MantineTextControl = react.withJsonFormsControlProps(MantineTextInput.MantineTextInput);
10
8
  exports.MantineTextControl = MantineTextControl;
11
9
  exports.mantineTextControlTester = mantineTextControlTester;
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jsxRuntime = require("react/jsx-runtime");
4
3
  const core = require("@jsonforms/core");
5
4
  const react = require("@jsonforms/react");
6
5
  const MantineTimeInput = require("../MantineInputs/MantineTimeInput.cjs");
7
- const constants = require("../utils/constants.cjs");
8
6
  const mantineTimeControlTester = core.rankWith(2, core.isTimeControl);
9
- const MantineTimeControl = react.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineTimeInput.MantineTimeInput, { margin: constants.DEFAULT_MARGIN, ...props }));
7
+ const MantineTimeControl = react.withJsonFormsControlProps(MantineTimeInput.MantineTimeInput);
10
8
  exports.MantineTimeControl = MantineTimeControl;
11
9
  exports.mantineTimeControlTester = mantineTimeControlTester;
@@ -3,7 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const core = require("@jsonforms/core");
5
5
  const react = require("@jsonforms/react");
6
- const core$1 = require("@mantine/core");
7
6
  const React = require("react");
8
7
  const MantineArrayLayout = require("./MantineArrayLayout.cjs");
9
8
  const Component = ({ visible, addItem, translations, ...props }) => {
@@ -11,7 +10,7 @@ const Component = ({ visible, addItem, translations, ...props }) => {
11
10
  if (!visible) {
12
11
  return null;
13
12
  }
14
- return /* @__PURE__ */ jsxRuntime.jsx(core$1.Stack, { m: "0.5rem", mx: "calc(0.5rem + 2px)", children: /* @__PURE__ */ jsxRuntime.jsx(MantineArrayLayout.MantineArrayLayout, { translations, visible, addItem: addItemCb, ...props }) });
13
+ return /* @__PURE__ */ jsxRuntime.jsx(MantineArrayLayout.MantineArrayLayout, { translations, visible, addItem: addItemCb, ...props });
15
14
  };
16
15
  const mantineArrayLayoutTester = core.rankWith(2, core.isObjectArrayWithNesting);
17
16
  const MantineArrayLayoutRenderer = react.withJsonFormsArrayLayoutProps(
@@ -11,7 +11,7 @@ const CategorizationCards = require("./variants/CategorizationCards.cjs");
11
11
  const CategorizationStepper = require("./variants/CategorizationStepper.cjs");
12
12
  const CategorizationTabs = require("./variants/CategorizationTabs.cjs");
13
13
  const Component = (props) => {
14
- var _a, _b, _c, _d;
14
+ var _a, _b, _c, _d, _e, _f, _g;
15
15
  const { schema, uischema, path, enabled, visible, renderers, cells, data, ajv, t } = props;
16
16
  const categorization = uischema;
17
17
  const categories = React.useMemo(
@@ -34,10 +34,11 @@ const Component = (props) => {
34
34
  cells,
35
35
  childProps,
36
36
  t,
37
+ componentProps: ((_c = uischema.options) == null ? void 0 : _c.props) ?? {},
37
38
  jsonFormsProps: props
38
39
  }
39
40
  );
40
- } else if (((_c = uischema.options) == null ? void 0 : _c.variant) === "stepper") {
41
+ } else if (((_d = uischema.options) == null ? void 0 : _d.variant) === "stepper") {
41
42
  return /* @__PURE__ */ jsxRuntime.jsx(
42
43
  CategorizationStepper.CategorizationStepper,
43
44
  {
@@ -48,8 +49,9 @@ const Component = (props) => {
48
49
  cells,
49
50
  childProps,
50
51
  t,
52
+ componentProps: ((_e = uischema.options) == null ? void 0 : _e.props) ?? {},
51
53
  jsonFormsProps: props,
52
- showNavButtons: (_d = uischema.options) == null ? void 0 : _d.showNavButtons
54
+ showNavButtons: (_f = uischema.options) == null ? void 0 : _f.showNavButtons
53
55
  }
54
56
  );
55
57
  }
@@ -63,6 +65,7 @@ const Component = (props) => {
63
65
  cells,
64
66
  childProps,
65
67
  t,
68
+ componentProps: ((_g = uischema.options) == null ? void 0 : _g.props) ?? {},
66
69
  jsonFormsProps: props
67
70
  }
68
71
  );
@@ -5,7 +5,6 @@ const utils = require("fastapi-rtk/utils");
5
5
  const core$1 = require("@jsonforms/core");
6
6
  const core = require("@mantine/core");
7
7
  const React = require("react");
8
- const LayoutPaddingContext = require("../../../Contexts/LayoutPaddingContext.cjs");
9
8
  const useContextProps = require("../../../hooks/useContextProps.cjs");
10
9
  const getAbsoluteValue = require("../../../utils/getAbsoluteValue.cjs");
11
10
  const layout = require("../../../utils/layout.cjs");
@@ -18,7 +17,7 @@ const CategorizationCardsGroup = ({ labels, jsonFormsProps, children, ...props }
18
17
  false
19
18
  );
20
19
  const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
21
- return /* @__PURE__ */ jsxRuntime.jsx(core.Group, { ...mergedProps, children: mergedProps.children });
20
+ return /* @__PURE__ */ jsxRuntime.jsx(core.Group, { gap: "xs", ...mergedProps, children: mergedProps.children });
22
21
  };
23
22
  const CategorizationCardsCard = ({ value, jsonFormsProps, children, ...props }) => {
24
23
  const [, _props] = useContextProps.useContextProps(
@@ -39,24 +38,26 @@ const CategorizationCards = ({
39
38
  cells,
40
39
  childProps,
41
40
  t,
41
+ componentProps,
42
42
  jsonFormsProps
43
43
  }) => {
44
44
  const theme = core.useMantineTheme();
45
45
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
46
46
  const contextPath = `Categorization.Cards.[${labels}]`;
47
- const [, componentProps] = useContextProps.useContextProps(
47
+ const [, _props] = useContextProps.useContextProps(
48
48
  `Categorization.Cards`,
49
49
  contextPath,
50
50
  {
51
51
  categorization: _categorization,
52
52
  categories: _categories,
53
53
  value: _value,
54
- onChange: _onChange
54
+ onChange: _onChange,
55
+ ...componentProps
55
56
  },
56
57
  jsonFormsProps,
57
58
  false
58
59
  );
59
- const { categories, value, onChange, groupProps, cardProps } = componentProps;
60
+ const { categories, value, onChange, groupProps, cardProps } = _props;
60
61
  const categoryLabels = React.useMemo(
61
62
  () => categories.map((category) => ({
62
63
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -88,7 +89,16 @@ const CategorizationCards = ({
88
89
  },
89
90
  cl.value
90
91
  )) }),
91
- categories.filter((category) => getAbsoluteValue.getAbsoluteLabel(category) === value).map((category) => /* @__PURE__ */ jsxRuntime.jsx(LayoutPaddingContext.LayoutPaddingContextProvider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells }) }, getAbsoluteValue.getAbsoluteLabel(category)))
92
+ categories.filter((category) => getAbsoluteValue.getAbsoluteLabel(category) === value).map((category) => /* @__PURE__ */ jsxRuntime.jsx(
93
+ layout.MantineLayoutRenderer,
94
+ {
95
+ ...childProps,
96
+ elements: category.elements,
97
+ renderers,
98
+ cells
99
+ },
100
+ getAbsoluteValue.getAbsoluteLabel(category)
101
+ ))
92
102
  ] });
93
103
  };
94
104
  exports.CategorizationCards = CategorizationCards;
@@ -5,7 +5,6 @@ const utils = require("fastapi-rtk/utils");
5
5
  const core = require("@jsonforms/core");
6
6
  const core$1 = require("@mantine/core");
7
7
  const React = require("react");
8
- const LayoutPaddingContext = require("../../../Contexts/LayoutPaddingContext.cjs");
9
8
  const useContextProps = require("../../../hooks/useContextProps.cjs");
10
9
  const getAbsoluteValue = require("../../../utils/getAbsoluteValue.cjs");
11
10
  const layout = require("../../../utils/layout.cjs");
@@ -39,24 +38,26 @@ const CategorizationStepper = ({
39
38
  cells,
40
39
  childProps,
41
40
  t,
41
+ componentProps,
42
42
  jsonFormsProps,
43
43
  showNavButtons
44
44
  }) => {
45
45
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
46
46
  const contextPath = `Categorization.Stepper.[${labels}]`;
47
- const [, componentProps] = useContextProps.useContextProps(
47
+ const [, _props] = useContextProps.useContextProps(
48
48
  `Categorization.Stepper`,
49
49
  contextPath,
50
50
  {
51
51
  categorization: _categorization,
52
52
  categories: _categories,
53
53
  value: _value,
54
- onChange: _onChange
54
+ onChange: _onChange,
55
+ ...componentProps
55
56
  },
56
57
  jsonFormsProps,
57
58
  false
58
59
  );
59
- const { categories, value, onChange, stepProps, buttonProps, ...rest } = componentProps;
60
+ const { categories, value, onChange, stepProps, buttonProps, ...rest } = _props;
60
61
  const categoryLabels = React.useMemo(
61
62
  () => categories.map((category) => ({
62
63
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -83,7 +84,7 @@ const CategorizationStepper = ({
83
84
  description: category.description,
84
85
  jsonFormsProps,
85
86
  ...stepProps,
86
- children: /* @__PURE__ */ jsxRuntime.jsx(LayoutPaddingContext.LayoutPaddingContextProvider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells }) })
87
+ children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells })
87
88
  },
88
89
  getAbsoluteValue.getAbsoluteLabel(category)
89
90
  ))
@@ -5,7 +5,6 @@ const utils = require("fastapi-rtk/utils");
5
5
  const core = require("@jsonforms/core");
6
6
  const core$1 = require("@mantine/core");
7
7
  const React = require("react");
8
- const LayoutPaddingContext = require("../../../Contexts/LayoutPaddingContext.cjs");
9
8
  const useContextProps = require("../../../hooks/useContextProps.cjs");
10
9
  const getAbsoluteValue = require("../../../utils/getAbsoluteValue.cjs");
11
10
  const layout = require("../../../utils/layout.cjs");
@@ -50,23 +49,25 @@ const CategorizationTabs = ({
50
49
  cells,
51
50
  childProps,
52
51
  t,
52
+ componentProps,
53
53
  jsonFormsProps
54
54
  }) => {
55
55
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
56
56
  const contextPath = `Categorization.Tabs.[${labels}]`;
57
- const [, componentProps] = useContextProps.useContextProps(
57
+ const [, _props] = useContextProps.useContextProps(
58
58
  `Categorization.Tabs`,
59
59
  contextPath,
60
60
  {
61
61
  categorization: _categorization,
62
62
  categories: _categories,
63
63
  value: _value,
64
- onChange: _onChange
64
+ onChange: _onChange,
65
+ ...componentProps
65
66
  },
66
67
  jsonFormsProps,
67
68
  false
68
69
  );
69
- const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
70
+ const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = _props;
70
71
  const categoryLabels = React.useMemo(
71
72
  () => categories.map((category) => ({
72
73
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -95,9 +96,9 @@ const CategorizationTabs = ({
95
96
  {
96
97
  value: getAbsoluteValue.getAbsoluteLabel(category),
97
98
  jsonFormsProps,
98
- pt: "xs",
99
+ ...rest.orientation === "vertical" ? { pl: "xs" } : { pt: "xs" },
99
100
  ...panelProps,
100
- children: /* @__PURE__ */ jsxRuntime.jsx(LayoutPaddingContext.LayoutPaddingContextProvider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells }) })
101
+ children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells })
101
102
  },
102
103
  getAbsoluteValue.getAbsoluteLabel(category)
103
104
  ))
@@ -3,12 +3,23 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const core = require("@jsonforms/core");
5
5
  const react = require("@jsonforms/react");
6
- const core$1 = require("@mantine/core");
7
- const layout = require("../utils/layout.cjs");
8
- const Component = ({ schema, uischema, path, enabled, visible, renderers, cells, label }) => {
9
- const layout$1 = uischema;
10
- const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "column" };
11
- return /* @__PURE__ */ jsxRuntime.jsx(core$1.Fieldset, { legend: label, m: "0.5rem", mx: "calc(0.5rem + 2px)", children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells }) });
6
+ const GroupFieldset = require("./variants/GroupFieldset.cjs");
7
+ const Component = (props) => {
8
+ var _a;
9
+ const { schema, uischema, path, enabled, visible, renderers, cells, label } = props;
10
+ const layout = uischema;
11
+ const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "column" };
12
+ return /* @__PURE__ */ jsxRuntime.jsx(
13
+ GroupFieldset.GroupFieldset,
14
+ {
15
+ label,
16
+ renderers,
17
+ cells,
18
+ childProps,
19
+ componentProps: ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
20
+ jsonFormsProps: props
21
+ }
22
+ );
12
23
  };
13
24
  const mantineGroupLayoutTester = core.rankWith(1, core.uiTypeIs("Group"));
14
25
  const MantineGroupLayoutRenderer = react.withJsonFormsLayoutProps(Component);
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const core = require("fastapi-rtk/core");
5
+ const core$1 = require("@mantine/core");
6
+ const layout = require("../../../utils/layout.cjs");
7
+ const GroupFieldset = ({ label, renderers, cells, childProps, componentProps, jsonFormsProps }) => {
8
+ const contextPath = `Group.Fieldset.${label}`;
9
+ const [, _props] = core.useContextProps(
10
+ `Group.Fieldset`,
11
+ contextPath,
12
+ { legend: label, ...componentProps },
13
+ jsonFormsProps,
14
+ false
15
+ );
16
+ return /* @__PURE__ */ jsxRuntime.jsx(core$1.Fieldset, { legend: label, ..._props, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells }) });
17
+ };
18
+ exports.GroupFieldset = GroupFieldset;
@@ -1,13 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
+ const core$1 = require("fastapi-rtk/core");
4
5
  const core = require("@jsonforms/core");
5
6
  const react = require("@jsonforms/react");
6
7
  const layout = require("../utils/layout.cjs");
7
- const Component = ({ schema, uischema, path, enabled, visible, renderers, cells }) => {
8
+ const Component = (props) => {
9
+ var _a;
10
+ const { schema, uischema, path, enabled, visible, renderers, cells } = props;
8
11
  const layout$1 = uischema;
9
12
  const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "row" };
10
- return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells });
13
+ const [Component2, _props] = core$1.useContextProps(
14
+ "HorizontalLayout",
15
+ `${path}.HorizontalLayout`,
16
+ ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
17
+ props,
18
+ false
19
+ );
20
+ if (Component2 === void 0) {
21
+ return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
22
+ }
23
+ return Component2;
11
24
  };
12
25
  const mantineHorizontalLayoutTester = core.rankWith(1, core.uiTypeIs("HorizontalLayout"));
13
26
  const MantineHorizontalLayoutRenderer = react.withJsonFormsLayoutProps(Component);
@@ -1,13 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
+ const core$1 = require("fastapi-rtk/core");
4
5
  const core = require("@jsonforms/core");
5
6
  const react = require("@jsonforms/react");
6
7
  const layout = require("../utils/layout.cjs");
7
- const Component = ({ schema, uischema, path, enabled, visible, renderers, cells }) => {
8
+ const Component = (props) => {
9
+ var _a;
10
+ const { schema, uischema, path, enabled, visible, renderers, cells } = props;
8
11
  const layout$1 = uischema;
9
12
  const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "column" };
10
- return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells });
13
+ const [Component2, _props] = core$1.useContextProps(
14
+ "VerticalLayout",
15
+ `${path}.VerticalLayout`,
16
+ ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
17
+ props,
18
+ false
19
+ );
20
+ if (Component2 === void 0) {
21
+ return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
22
+ }
23
+ return Component2;
11
24
  };
12
25
  const mantineVerticalLayoutTester = core.rankWith(1, core.uiTypeIs("VerticalLayout"));
13
26
  const MantineVerticalLayoutRenderer = react.withJsonFormsLayoutProps(Component);
@@ -18,7 +18,7 @@ const MantineTimeControl = require("../controls/MantineTimeControl.cjs");
18
18
  const MantineLabelRenderer = require("../labels/MantineLabelRenderer.cjs");
19
19
  const MantineArrayLayoutRenderer = require("../layouts/Array/MantineArrayLayoutRenderer.cjs");
20
20
  const MantineCategorizationLayoutRenderer = require("../layouts/Categorization/MantineCategorizationLayoutRenderer.cjs");
21
- const MantineGroupLayoutRenderer = require("../layouts/MantineGroupLayoutRenderer.cjs");
21
+ const MantineGroupLayoutRenderer = require("../layouts/Group/MantineGroupLayoutRenderer.cjs");
22
22
  const MantineHotizontalLayoutRenderer = require("../layouts/MantineHotizontalLayoutRenderer.cjs");
23
23
  const MantineVerticalLayoutRenderer = require("../layouts/MantineVerticalLayoutRenderer.cjs");
24
24
  const mantineRenderers = [
@@ -5,35 +5,37 @@ const react = require("@jsonforms/react");
5
5
  const core = require("@mantine/core");
6
6
  const isEmpty = require("../_virtual/isEmpty.cjs");
7
7
  const React = require("react");
8
- const LayoutPaddingContext = require("../Contexts/LayoutPaddingContext.cjs");
9
8
  const renderLayoutElements = (elements, schema, path, enabled, direction, renderers, cells) => {
10
- const withPadding = LayoutPaddingContext.useLayoutPadding({ throwOnError: false, defaultValue: false });
11
9
  return elements.map((child, index) => /* @__PURE__ */ jsxRuntime.jsx(
12
- core.Grid.Col,
10
+ react.JsonFormsDispatch,
13
11
  {
14
- span: direction === "row" ? 12 / elements.length : 12,
15
- style: { alignContent: "start" },
16
- p: withPadding && child.elements ? void 0 : 0,
17
- children: /* @__PURE__ */ jsxRuntime.jsx(LayoutPaddingContext.LayoutPaddingContextProvider, { value: false, children: /* @__PURE__ */ jsxRuntime.jsx(
18
- react.JsonFormsDispatch,
19
- {
20
- uischema: child,
21
- schema,
22
- path,
23
- enabled,
24
- renderers,
25
- cells
26
- }
27
- ) })
12
+ uischema: child,
13
+ schema,
14
+ path,
15
+ enabled,
16
+ renderers,
17
+ cells
28
18
  },
29
19
  `${path}-${index}`
30
20
  ));
31
21
  };
32
- const MantineLayoutRendererComponent = ({ visible, elements, schema, path, enabled, direction, renderers, cells }) => {
22
+ const MantineLayoutRendererComponent = ({
23
+ visible,
24
+ elements,
25
+ schema,
26
+ path,
27
+ enabled,
28
+ direction,
29
+ renderers,
30
+ cells,
31
+ ...props
32
+ }) => {
33
33
  if (isEmpty(elements) || !visible) {
34
34
  return null;
35
35
  } else {
36
- return /* @__PURE__ */ jsxRuntime.jsx(core.Grid, { spacing: direction === "row" ? 2 : 0, children: renderLayoutElements(elements, schema, path, enabled, direction, renderers, cells) });
36
+ const Wrapper = direction === "row" ? core.Group : core.Stack;
37
+ const wrapperProps = direction === "row" ? { grow: true, align: "flex-start" } : {};
38
+ return /* @__PURE__ */ jsxRuntime.jsx(Wrapper, { gap: "xs", ...wrapperProps, ...props, children: renderLayoutElements(elements, schema, path, enabled, direction, renderers, cells) });
37
39
  }
38
40
  };
39
41
  const MantineLayoutRenderer = React.memo(MantineLayoutRendererComponent);
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { deepMerge } from "fastapi-rtk/utils";
3
- import { Box, Checkbox, Select } from "@mantine/core";
3
+ import { Checkbox, Select } from "@mantine/core";
4
4
  import { useMemo } from "react";
5
5
  import { useBooleanProps } from "../hooks/useBooleanProps.mjs";
6
6
  import { useCommonProps } from "../hooks/useCommonProps.mjs";
7
7
  import { useContextProps } from "../hooks/useContextProps.mjs";
8
- function MantineBooleanInput({ margin, ...props }) {
8
+ function MantineBooleanInput(props) {
9
9
  var _a;
10
10
  const { value, ...commonProps } = useCommonProps(props);
11
11
  const { path, schema, uischema } = props;
@@ -23,12 +23,12 @@ function MantineBooleanInput({ margin, ...props }) {
23
23
  return null;
24
24
  }
25
25
  const { inputWrapperOrder, ...__props } = _props;
26
- return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? isCheckbox ? /* @__PURE__ */ jsx(
26
+ return Component === void 0 ? isCheckbox ? /* @__PURE__ */ jsx(
27
27
  Checkbox,
28
28
  {
29
29
  ...deepMerge({ styles: { root: { minHeight: "calc(2.25rem * 1)", alignContent: "center" } } }, __props)
30
30
  }
31
- ) : /* @__PURE__ */ jsx(Select, { inputWrapperOrder, ...__props }) : Component });
31
+ ) : /* @__PURE__ */ jsx(Select, { inputWrapperOrder, ...__props }) : Component;
32
32
  }
33
33
  export {
34
34
  MantineBooleanInput
@@ -1,11 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { Box } from "@mantine/core";
3
2
  import { DateInput } from "@mantine/dates";
4
3
  import { useMemo } from "react";
5
4
  import { useCommonProps } from "../hooks/useCommonProps.mjs";
6
5
  import { useContextProps } from "../hooks/useContextProps.mjs";
7
6
  import { useDateProps } from "../hooks/useDateProps.mjs";
8
- function MantineDateInput({ margin, ...props }) {
7
+ function MantineDateInput(props) {
9
8
  const { value, ...commonProps } = useCommonProps(props);
10
9
  const { path } = props;
11
10
  const dateProps = useDateProps("date", true, { value, onChange: commonProps.onChange });
@@ -14,7 +13,7 @@ function MantineDateInput({ margin, ...props }) {
14
13
  if (!props.visible) {
15
14
  return null;
16
15
  }
17
- return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(DateInput, { ..._props }) : Component });
16
+ return Component === void 0 ? /* @__PURE__ */ jsx(DateInput, { ..._props }) : Component;
18
17
  }
19
18
  export {
20
19
  MantineDateInput
@@ -1,12 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { Box } from "@mantine/core";
3
2
  import { DateTimePicker } from "@mantine/dates";
4
3
  import { useDisclosure } from "@mantine/hooks";
5
4
  import { useEffect, useMemo } from "react";
6
5
  import { useCommonProps } from "../hooks/useCommonProps.mjs";
7
6
  import { useContextProps } from "../hooks/useContextProps.mjs";
8
7
  import { useDateProps } from "../hooks/useDateProps.mjs";
9
- function MantineDateTimeInput({ margin, ...props }) {
8
+ function MantineDateTimeInput(props) {
10
9
  const { value, ...commonProps } = useCommonProps(props);
11
10
  const { path, uischema } = props;
12
11
  const { initialUTC: __initialUTC } = uischema.options || {};
@@ -28,7 +27,7 @@ function MantineDateTimeInput({ margin, ...props }) {
28
27
  if (!props.visible) {
29
28
  return null;
30
29
  }
31
- return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(DateTimePicker, { ..._props }) : Component });
30
+ return Component === void 0 ? /* @__PURE__ */ jsx(DateTimePicker, { ..._props }) : Component;
32
31
  }
33
32
  export {
34
33
  MantineDateTimeInput
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { Box, MultiSelect } from "@mantine/core";
2
+ import { MultiSelect } from "@mantine/core";
3
3
  import { useMemo } from "react";
4
4
  import { useCommonProps } from "../hooks/useCommonProps.mjs";
5
5
  import { useContextProps } from "../hooks/useContextProps.mjs";
6
6
  import { useMultiSelectProps } from "../hooks/useMultiSelectProps.mjs";
7
- function MantineEnumArrayInput({ margin, ...props }) {
7
+ function MantineEnumArrayInput(props) {
8
8
  const { value, ...commonProps } = useCommonProps(props);
9
9
  const { path } = props;
10
10
  const multiSelectProps = useMultiSelectProps(value, props.options, { onChange: commonProps.onChange });
@@ -13,7 +13,7 @@ function MantineEnumArrayInput({ margin, ...props }) {
13
13
  if (!props.visible) {
14
14
  return null;
15
15
  }
16
- return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(MultiSelect, { ..._props }) : Component });
16
+ return Component === void 0 ? /* @__PURE__ */ jsx(MultiSelect, { ..._props }) : Component;
17
17
  }
18
18
  export {
19
19
  MantineEnumArrayInput
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { Box, Select } from "@mantine/core";
2
+ import { Select } from "@mantine/core";
3
3
  import { useMemo } from "react";
4
4
  import { useCommonProps } from "../hooks/useCommonProps.mjs";
5
5
  import { useContextProps } from "../hooks/useContextProps.mjs";
6
6
  import { useSelectProps } from "../hooks/useSelectProps.mjs";
7
- function MantineEnumInput({ margin, ...props }) {
7
+ function MantineEnumInput(props) {
8
8
  const { value, ...commonProps } = useCommonProps(props);
9
9
  const { path } = props;
10
10
  const selectProps = useSelectProps(value, props.options);
@@ -13,7 +13,7 @@ function MantineEnumInput({ margin, ...props }) {
13
13
  if (!props.visible) {
14
14
  return null;
15
15
  }
16
- return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(Select, { ..._props }) : Component });
16
+ return Component === void 0 ? /* @__PURE__ */ jsx(Select, { ..._props }) : Component;
17
17
  }
18
18
  export {
19
19
  MantineEnumInput
@@ -5,7 +5,7 @@ import { useMemo } from "react";
5
5
  import { useCommonProps } from "../hooks/useCommonProps.mjs";
6
6
  import { useContextProps } from "../hooks/useContextProps.mjs";
7
7
  import { useFileProps } from "../hooks/useFileProps.mjs";
8
- const InnerMantineFileInput = ({ contextName, margin, children, ...props }) => {
8
+ const InnerMantineFileInput = ({ contextName, children, ...props }) => {
9
9
  const { value, ...commonProps } = useCommonProps(props);
10
10
  const { path, schema, errors } = props;
11
11
  const fileProps = useFileProps({
@@ -19,13 +19,13 @@ const InnerMantineFileInput = ({ contextName, margin, children, ...props }) => {
19
19
  if (!props.visible) {
20
20
  return null;
21
21
  }
22
- return /* @__PURE__ */ jsxs(Box, { m: Component === null ? void 0 : margin, children: [
22
+ return /* @__PURE__ */ jsxs(Box, { children: [
23
23
  Component === void 0 ? /* @__PURE__ */ jsx(FileInput, { ..._props }) : Component,
24
24
  parseFromValuesOrFunc(children, { componentProps, jsonFormsProps: props })
25
25
  ] });
26
26
  };
27
- function MantineFileInput({ margin, ...props }) {
28
- return /* @__PURE__ */ jsx(InnerMantineFileInput, { ...props, contextName: "File", margin });
27
+ function MantineFileInput(props) {
28
+ return /* @__PURE__ */ jsx(InnerMantineFileInput, { ...props, contextName: "File" });
29
29
  }
30
30
  export {
31
31
  InnerMantineFileInput,
@@ -2,9 +2,9 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useApi } from "fastapi-rtk/core";
3
3
  import { Image } from "@mantine/core";
4
4
  import { InnerMantineFileInput } from "./MantineFileInput.mjs";
5
- function MantineImageInput({ margin, ...props }) {
6
- const { path } = useApi();
7
- return /* @__PURE__ */ jsx(InnerMantineFileInput, { ...props, contextName: "Image", margin, children: ({ jsonFormsProps }) => jsonFormsProps.data ? /* @__PURE__ */ jsx(
5
+ function MantineImageInput(props) {
6
+ const { path } = useApi({ throwOnError: false, defaultValue: { path: "" } });
7
+ return /* @__PURE__ */ jsx(InnerMantineFileInput, { ...props, contextName: "Image", children: ({ jsonFormsProps }) => jsonFormsProps.data ? /* @__PURE__ */ jsx(
8
8
  Image,
9
9
  {
10
10
  src: typeof jsonFormsProps.data === "string" ? `${path}/_image/${jsonFormsProps.data}` : URL.createObjectURL(jsonFormsProps.data),
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { InnerMantineNumberInput } from "./MantineNumberInput.mjs";
3
- function MantineIntegerInput({ margin, ...props }) {
4
- return /* @__PURE__ */ jsx(InnerMantineNumberInput, { ...props, contextName: "Integer", margin });
3
+ function MantineIntegerInput(props) {
4
+ return /* @__PURE__ */ jsx(InnerMantineNumberInput, { ...props, contextName: "Integer" });
5
5
  }
6
6
  export {
7
7
  MantineIntegerInput
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { Box, JsonInput } from "@mantine/core";
2
+ import { JsonInput } from "@mantine/core";
3
3
  import { useMemo } from "react";
4
4
  import { useCommonProps } from "../hooks/useCommonProps.mjs";
5
5
  import { useContextProps } from "../hooks/useContextProps.mjs";
6
6
  import { useJsonProps } from "../hooks/useJsonProps.mjs";
7
- function MantineJsonInput({ margin, ...props }) {
7
+ function MantineJsonInput(props) {
8
8
  const { value, ...commonProps } = useCommonProps(props);
9
9
  const { path } = props;
10
10
  const jsonProps = useJsonProps({ value, onChange: commonProps.onChange });
@@ -13,7 +13,7 @@ function MantineJsonInput({ margin, ...props }) {
13
13
  if (!props.visible) {
14
14
  return null;
15
15
  }
16
- return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(JsonInput, { ..._props }) : Component });
16
+ return Component === void 0 ? /* @__PURE__ */ jsx(JsonInput, { ..._props }) : Component;
17
17
  }
18
18
  export {
19
19
  MantineJsonInput