fastapi-rtk 1.0.16 → 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 (45) hide show
  1. package/dist/.bundled/jsonforms/cjs/_virtual/index11.cjs +2 -2
  2. package/dist/.bundled/jsonforms/cjs/_virtual/index12.cjs +2 -2
  3. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/MantineCategorizationLayoutRenderer.cjs +6 -3
  4. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.cjs +5 -3
  5. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.cjs +5 -3
  6. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.cjs +5 -3
  7. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/MantineGroupLayoutRenderer.cjs +12 -1
  8. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.cjs +8 -2
  9. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +8 -1
  10. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +8 -1
  11. package/dist/.bundled/jsonforms/esm/_virtual/index11.mjs +2 -2
  12. package/dist/.bundled/jsonforms/esm/_virtual/index12.mjs +2 -2
  13. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/MantineCategorizationLayoutRenderer.mjs +6 -3
  14. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.mjs +5 -3
  15. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.mjs +5 -3
  16. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.mjs +5 -3
  17. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/MantineGroupLayoutRenderer.mjs +12 -1
  18. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.mjs +8 -2
  19. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.mjs +8 -1
  20. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.mjs +8 -1
  21. package/dist/.external/cjs/fast-uri@3.1.0/fast-uri/index.cjs +1 -1
  22. package/dist/.external/cjs/json-schema-traverse@1.0.0/json-schema-traverse/index.cjs +1 -1
  23. package/dist/.external/esm/fast-uri@3.1.0/fast-uri/index.mjs +1 -1
  24. package/dist/.external/esm/json-schema-traverse@1.0.0/json-schema-traverse/index.mjs +1 -1
  25. package/dist/jsonforms/cjs/layouts/Categorization/MantineCategorizationLayoutRenderer.cjs +6 -3
  26. package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationCards.cjs +5 -3
  27. package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationStepper.cjs +5 -3
  28. package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationTabs.cjs +5 -3
  29. package/dist/jsonforms/cjs/layouts/Group/MantineGroupLayoutRenderer.cjs +12 -1
  30. package/dist/jsonforms/cjs/layouts/Group/variants/GroupFieldset.cjs +8 -2
  31. package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +8 -1
  32. package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +8 -1
  33. package/dist/jsonforms/esm/layouts/Categorization/MantineCategorizationLayoutRenderer.mjs +6 -3
  34. package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationCards.mjs +5 -3
  35. package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationStepper.mjs +5 -3
  36. package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationTabs.mjs +5 -3
  37. package/dist/jsonforms/esm/layouts/Group/MantineGroupLayoutRenderer.mjs +12 -1
  38. package/dist/jsonforms/esm/layouts/Group/variants/GroupFieldset.mjs +8 -2
  39. package/dist/jsonforms/esm/layouts/MantineHotizontalLayoutRenderer.mjs +8 -1
  40. package/dist/jsonforms/esm/layouts/MantineVerticalLayoutRenderer.mjs +8 -1
  41. package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationCards.d.ts +2 -1
  42. package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationStepper.d.ts +2 -1
  43. package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationTabs.d.ts +2 -1
  44. package/dist/jsonforms/lib/layouts/Group/variants/GroupFieldset.d.ts +2 -1
  45. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var fastUri = { exports: {} };
4
- exports.__module = fastUri;
3
+ var jsonSchemaTraverse = { exports: {} };
4
+ exports.__module = jsonSchemaTraverse;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var jsonSchemaTraverse = { exports: {} };
4
- exports.__module = jsonSchemaTraverse;
3
+ var fastUri = { exports: {} };
4
+ exports.__module = fastUri;
@@ -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
  );
@@ -38,24 +38,26 @@ const CategorizationCards = ({
38
38
  cells,
39
39
  childProps,
40
40
  t,
41
+ componentProps,
41
42
  jsonFormsProps
42
43
  }) => {
43
44
  const theme = core.useMantineTheme();
44
45
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
45
46
  const contextPath = `Categorization.Cards.[${labels}]`;
46
- const [, componentProps] = useContextProps.useContextProps(
47
+ const [, _props] = useContextProps.useContextProps(
47
48
  `Categorization.Cards`,
48
49
  contextPath,
49
50
  {
50
51
  categorization: _categorization,
51
52
  categories: _categories,
52
53
  value: _value,
53
- onChange: _onChange
54
+ onChange: _onChange,
55
+ ...componentProps
54
56
  },
55
57
  jsonFormsProps,
56
58
  false
57
59
  );
58
- const { categories, value, onChange, groupProps, cardProps } = componentProps;
60
+ const { categories, value, onChange, groupProps, cardProps } = _props;
59
61
  const categoryLabels = React.useMemo(
60
62
  () => categories.map((category) => ({
61
63
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -38,24 +38,26 @@ const CategorizationStepper = ({
38
38
  cells,
39
39
  childProps,
40
40
  t,
41
+ componentProps,
41
42
  jsonFormsProps,
42
43
  showNavButtons
43
44
  }) => {
44
45
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
45
46
  const contextPath = `Categorization.Stepper.[${labels}]`;
46
- const [, componentProps] = useContextProps.useContextProps(
47
+ const [, _props] = useContextProps.useContextProps(
47
48
  `Categorization.Stepper`,
48
49
  contextPath,
49
50
  {
50
51
  categorization: _categorization,
51
52
  categories: _categories,
52
53
  value: _value,
53
- onChange: _onChange
54
+ onChange: _onChange,
55
+ ...componentProps
54
56
  },
55
57
  jsonFormsProps,
56
58
  false
57
59
  );
58
- const { categories, value, onChange, stepProps, buttonProps, ...rest } = componentProps;
60
+ const { categories, value, onChange, stepProps, buttonProps, ...rest } = _props;
59
61
  const categoryLabels = React.useMemo(
60
62
  () => categories.map((category) => ({
61
63
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -49,23 +49,25 @@ const CategorizationTabs = ({
49
49
  cells,
50
50
  childProps,
51
51
  t,
52
+ componentProps,
52
53
  jsonFormsProps
53
54
  }) => {
54
55
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
55
56
  const contextPath = `Categorization.Tabs.[${labels}]`;
56
- const [, componentProps] = useContextProps.useContextProps(
57
+ const [, _props] = useContextProps.useContextProps(
57
58
  `Categorization.Tabs`,
58
59
  contextPath,
59
60
  {
60
61
  categorization: _categorization,
61
62
  categories: _categories,
62
63
  value: _value,
63
- onChange: _onChange
64
+ onChange: _onChange,
65
+ ...componentProps
64
66
  },
65
67
  jsonFormsProps,
66
68
  false
67
69
  );
68
- const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
70
+ const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = _props;
69
71
  const categoryLabels = React.useMemo(
70
72
  () => categories.map((category) => ({
71
73
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -5,10 +5,21 @@ const jsonformsCore_esm = require("../../../../../../../../.external/cjs/@jsonfo
5
5
  const jsonformsReact_esm = require("../../../../../../../../.external/cjs/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
6
6
  const GroupFieldset = require("./variants/GroupFieldset.cjs");
7
7
  const Component = (props) => {
8
+ var _a;
8
9
  const { schema, uischema, path, enabled, visible, renderers, cells, label } = props;
9
10
  const layout = uischema;
10
11
  const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "column" };
11
- return /* @__PURE__ */ jsxRuntime.jsx(GroupFieldset.GroupFieldset, { label, renderers, cells, childProps, jsonFormsProps: props });
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 = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.uiTypeIs("Group"));
14
25
  const MantineGroupLayoutRenderer = jsonformsReact_esm.withJsonFormsLayoutProps(Component);
@@ -4,9 +4,15 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const core = require("fastapi-rtk/core");
5
5
  const core$1 = require("@mantine/core");
6
6
  const layout = require("../../../utils/layout.cjs");
7
- const GroupFieldset = ({ label, renderers, cells, childProps, jsonFormsProps }) => {
7
+ const GroupFieldset = ({ label, renderers, cells, childProps, componentProps, jsonFormsProps }) => {
8
8
  const contextPath = `Group.Fieldset.${label}`;
9
- const [, _props] = core.useContextProps(`Group.Fieldset`, contextPath, { legend: label }, jsonFormsProps, false);
9
+ const [, _props] = core.useContextProps(
10
+ `Group.Fieldset`,
11
+ contextPath,
12
+ { legend: label, ...componentProps },
13
+ jsonFormsProps,
14
+ false
15
+ );
10
16
  return /* @__PURE__ */ jsxRuntime.jsx(core$1.Fieldset, { legend: label, ..._props, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells }) });
11
17
  };
12
18
  exports.GroupFieldset = GroupFieldset;
@@ -6,10 +6,17 @@ const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms
6
6
  const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
7
7
  const layout = require("../utils/layout.cjs");
8
8
  const Component = (props) => {
9
+ var _a;
9
10
  const { schema, uischema, path, enabled, visible, renderers, cells } = props;
10
11
  const layout$1 = uischema;
11
12
  const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "row" };
12
- const [Component2, _props] = core.useContextProps("HorizontalLayout", `${path}.HorizontalLayout`, {}, props, false);
13
+ const [Component2, _props] = core.useContextProps(
14
+ "HorizontalLayout",
15
+ `${path}.HorizontalLayout`,
16
+ ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
17
+ props,
18
+ false
19
+ );
13
20
  if (Component2 === void 0) {
14
21
  return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
15
22
  }
@@ -6,10 +6,17 @@ const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms
6
6
  const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
7
7
  const layout = require("../utils/layout.cjs");
8
8
  const Component = (props) => {
9
+ var _a;
9
10
  const { schema, uischema, path, enabled, visible, renderers, cells } = props;
10
11
  const layout$1 = uischema;
11
12
  const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "column" };
12
- const [Component2, _props] = core.useContextProps("VerticalLayout", `${path}.VerticalLayout`, {}, props, false);
13
+ const [Component2, _props] = core.useContextProps(
14
+ "VerticalLayout",
15
+ `${path}.VerticalLayout`,
16
+ ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
17
+ props,
18
+ false
19
+ );
13
20
  if (Component2 === void 0) {
14
21
  return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
15
22
  }
@@ -1,4 +1,4 @@
1
- var fastUri = { exports: {} };
1
+ var jsonSchemaTraverse = { exports: {} };
2
2
  export {
3
- fastUri as __module
3
+ jsonSchemaTraverse as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var jsonSchemaTraverse = { exports: {} };
1
+ var fastUri = { exports: {} };
2
2
  export {
3
- jsonSchemaTraverse as __module
3
+ fastUri as __module
4
4
  };
@@ -9,7 +9,7 @@ import { CategorizationCards } from "./variants/CategorizationCards.mjs";
9
9
  import { CategorizationStepper } from "./variants/CategorizationStepper.mjs";
10
10
  import { CategorizationTabs } from "./variants/CategorizationTabs.mjs";
11
11
  const Component = (props) => {
12
- var _a, _b, _c, _d;
12
+ var _a, _b, _c, _d, _e, _f, _g;
13
13
  const { schema, uischema, path, enabled, visible, renderers, cells, data, ajv, t } = props;
14
14
  const categorization = uischema;
15
15
  const categories = useMemo(
@@ -32,10 +32,11 @@ const Component = (props) => {
32
32
  cells,
33
33
  childProps,
34
34
  t,
35
+ componentProps: ((_c = uischema.options) == null ? void 0 : _c.props) ?? {},
35
36
  jsonFormsProps: props
36
37
  }
37
38
  );
38
- } else if (((_c = uischema.options) == null ? void 0 : _c.variant) === "stepper") {
39
+ } else if (((_d = uischema.options) == null ? void 0 : _d.variant) === "stepper") {
39
40
  return /* @__PURE__ */ jsx(
40
41
  CategorizationStepper,
41
42
  {
@@ -46,8 +47,9 @@ const Component = (props) => {
46
47
  cells,
47
48
  childProps,
48
49
  t,
50
+ componentProps: ((_e = uischema.options) == null ? void 0 : _e.props) ?? {},
49
51
  jsonFormsProps: props,
50
- showNavButtons: (_d = uischema.options) == null ? void 0 : _d.showNavButtons
52
+ showNavButtons: (_f = uischema.options) == null ? void 0 : _f.showNavButtons
51
53
  }
52
54
  );
53
55
  }
@@ -61,6 +63,7 @@ const Component = (props) => {
61
63
  cells,
62
64
  childProps,
63
65
  t,
66
+ componentProps: ((_g = uischema.options) == null ? void 0 : _g.props) ?? {},
64
67
  jsonFormsProps: props
65
68
  }
66
69
  );
@@ -36,24 +36,26 @@ const CategorizationCards = ({
36
36
  cells,
37
37
  childProps,
38
38
  t,
39
+ componentProps,
39
40
  jsonFormsProps
40
41
  }) => {
41
42
  const theme = useMantineTheme();
42
43
  const [_value, _onChange] = useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteLabel(_categories[0]) : "");
43
44
  const contextPath = `Categorization.Cards.[${labels}]`;
44
- const [, componentProps] = useContextProps(
45
+ const [, _props] = useContextProps(
45
46
  `Categorization.Cards`,
46
47
  contextPath,
47
48
  {
48
49
  categorization: _categorization,
49
50
  categories: _categories,
50
51
  value: _value,
51
- onChange: _onChange
52
+ onChange: _onChange,
53
+ ...componentProps
52
54
  },
53
55
  jsonFormsProps,
54
56
  false
55
57
  );
56
- const { categories, value, onChange, groupProps, cardProps } = componentProps;
58
+ const { categories, value, onChange, groupProps, cardProps } = _props;
57
59
  const categoryLabels = useMemo(
58
60
  () => categories.map((category) => ({
59
61
  value: getAbsoluteLabel(category),
@@ -36,24 +36,26 @@ const CategorizationStepper = ({
36
36
  cells,
37
37
  childProps,
38
38
  t,
39
+ componentProps,
39
40
  jsonFormsProps,
40
41
  showNavButtons
41
42
  }) => {
42
43
  const [_value, _onChange] = useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteLabel(_categories[0]) : "");
43
44
  const contextPath = `Categorization.Stepper.[${labels}]`;
44
- const [, componentProps] = useContextProps(
45
+ const [, _props] = useContextProps(
45
46
  `Categorization.Stepper`,
46
47
  contextPath,
47
48
  {
48
49
  categorization: _categorization,
49
50
  categories: _categories,
50
51
  value: _value,
51
- onChange: _onChange
52
+ onChange: _onChange,
53
+ ...componentProps
52
54
  },
53
55
  jsonFormsProps,
54
56
  false
55
57
  );
56
- const { categories, value, onChange, stepProps, buttonProps, ...rest } = componentProps;
58
+ const { categories, value, onChange, stepProps, buttonProps, ...rest } = _props;
57
59
  const categoryLabels = useMemo(
58
60
  () => categories.map((category) => ({
59
61
  value: getAbsoluteLabel(category),
@@ -47,23 +47,25 @@ const CategorizationTabs = ({
47
47
  cells,
48
48
  childProps,
49
49
  t,
50
+ componentProps,
50
51
  jsonFormsProps
51
52
  }) => {
52
53
  const [_value, _onChange] = useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteLabel(_categories[0]) : "");
53
54
  const contextPath = `Categorization.Tabs.[${labels}]`;
54
- const [, componentProps] = useContextProps(
55
+ const [, _props] = useContextProps(
55
56
  `Categorization.Tabs`,
56
57
  contextPath,
57
58
  {
58
59
  categorization: _categorization,
59
60
  categories: _categories,
60
61
  value: _value,
61
- onChange: _onChange
62
+ onChange: _onChange,
63
+ ...componentProps
62
64
  },
63
65
  jsonFormsProps,
64
66
  false
65
67
  );
66
- const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
68
+ const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = _props;
67
69
  const categoryLabels = useMemo(
68
70
  () => categories.map((category) => ({
69
71
  value: getAbsoluteLabel(category),
@@ -3,10 +3,21 @@ import { rankWith, uiTypeIs } from "../../../../../../../../.external/esm/@jsonf
3
3
  import { withJsonFormsLayoutProps } from "../../../../../../../../.external/esm/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.mjs";
4
4
  import { GroupFieldset } from "./variants/GroupFieldset.mjs";
5
5
  const Component = (props) => {
6
+ var _a;
6
7
  const { schema, uischema, path, enabled, visible, renderers, cells, label } = props;
7
8
  const layout = uischema;
8
9
  const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "column" };
9
- return /* @__PURE__ */ jsx(GroupFieldset, { label, renderers, cells, childProps, jsonFormsProps: props });
10
+ return /* @__PURE__ */ jsx(
11
+ GroupFieldset,
12
+ {
13
+ label,
14
+ renderers,
15
+ cells,
16
+ childProps,
17
+ componentProps: ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
18
+ jsonFormsProps: props
19
+ }
20
+ );
10
21
  };
11
22
  const mantineGroupLayoutTester = rankWith(1, uiTypeIs("Group"));
12
23
  const MantineGroupLayoutRenderer = withJsonFormsLayoutProps(Component);
@@ -2,9 +2,15 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useContextProps } from "fastapi-rtk/core";
3
3
  import { Fieldset } from "@mantine/core";
4
4
  import { MantineLayoutRenderer } from "../../../utils/layout.mjs";
5
- const GroupFieldset = ({ label, renderers, cells, childProps, jsonFormsProps }) => {
5
+ const GroupFieldset = ({ label, renderers, cells, childProps, componentProps, jsonFormsProps }) => {
6
6
  const contextPath = `Group.Fieldset.${label}`;
7
- const [, _props] = useContextProps(`Group.Fieldset`, contextPath, { legend: label }, jsonFormsProps, false);
7
+ const [, _props] = useContextProps(
8
+ `Group.Fieldset`,
9
+ contextPath,
10
+ { legend: label, ...componentProps },
11
+ jsonFormsProps,
12
+ false
13
+ );
8
14
  return /* @__PURE__ */ jsx(Fieldset, { legend: label, ..._props, children: /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, renderers, cells }) });
9
15
  };
10
16
  export {
@@ -4,10 +4,17 @@ import { rankWith, uiTypeIs } from "../../../../../../../.external/esm/@jsonform
4
4
  import { withJsonFormsLayoutProps } from "../../../../../../../.external/esm/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.mjs";
5
5
  import { MantineLayoutRenderer } from "../utils/layout.mjs";
6
6
  const Component = (props) => {
7
+ var _a;
7
8
  const { schema, uischema, path, enabled, visible, renderers, cells } = props;
8
9
  const layout = uischema;
9
10
  const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "row" };
10
- const [Component2, _props] = useContextProps("HorizontalLayout", `${path}.HorizontalLayout`, {}, props, false);
11
+ const [Component2, _props] = useContextProps(
12
+ "HorizontalLayout",
13
+ `${path}.HorizontalLayout`,
14
+ ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
15
+ props,
16
+ false
17
+ );
11
18
  if (Component2 === void 0) {
12
19
  return /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
13
20
  }
@@ -4,10 +4,17 @@ import { rankWith, uiTypeIs } from "../../../../../../../.external/esm/@jsonform
4
4
  import { withJsonFormsLayoutProps } from "../../../../../../../.external/esm/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.mjs";
5
5
  import { MantineLayoutRenderer } from "../utils/layout.mjs";
6
6
  const Component = (props) => {
7
+ var _a;
7
8
  const { schema, uischema, path, enabled, visible, renderers, cells } = props;
8
9
  const layout = uischema;
9
10
  const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "column" };
10
- const [Component2, _props] = useContextProps("VerticalLayout", `${path}.VerticalLayout`, {}, props, false);
11
+ const [Component2, _props] = useContextProps(
12
+ "VerticalLayout",
13
+ `${path}.VerticalLayout`,
14
+ ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
15
+ props,
16
+ false
17
+ );
11
18
  if (Component2 === void 0) {
12
19
  return /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
13
20
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../.bundled/jsonforms/cjs/_virtual/index11.cjs");
3
+ const index = require("../../../../.bundled/jsonforms/cjs/_virtual/index12.cjs");
4
4
  const utils = require("./lib/utils.cjs");
5
5
  const schemes = require("./lib/schemes.cjs");
6
6
  var hasRequiredFastUri;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../.bundled/jsonforms/cjs/_virtual/index12.cjs");
3
+ const index = require("../../../../.bundled/jsonforms/cjs/_virtual/index11.cjs");
4
4
  var hasRequiredJsonSchemaTraverse;
5
5
  function requireJsonSchemaTraverse() {
6
6
  if (hasRequiredJsonSchemaTraverse) return index.__module.exports;
@@ -1,4 +1,4 @@
1
- import { __module as fastUri } from "../../../../.bundled/jsonforms/esm/_virtual/index11.mjs";
1
+ import { __module as fastUri } from "../../../../.bundled/jsonforms/esm/_virtual/index12.mjs";
2
2
  import { __require as requireUtils } from "./lib/utils.mjs";
3
3
  import { __require as requireSchemes } from "./lib/schemes.mjs";
4
4
  var hasRequiredFastUri;
@@ -1,4 +1,4 @@
1
- import { __module as jsonSchemaTraverse } from "../../../../.bundled/jsonforms/esm/_virtual/index12.mjs";
1
+ import { __module as jsonSchemaTraverse } from "../../../../.bundled/jsonforms/esm/_virtual/index11.mjs";
2
2
  var hasRequiredJsonSchemaTraverse;
3
3
  function requireJsonSchemaTraverse() {
4
4
  if (hasRequiredJsonSchemaTraverse) return jsonSchemaTraverse.exports;
@@ -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
  );
@@ -38,24 +38,26 @@ const CategorizationCards = ({
38
38
  cells,
39
39
  childProps,
40
40
  t,
41
+ componentProps,
41
42
  jsonFormsProps
42
43
  }) => {
43
44
  const theme = core.useMantineTheme();
44
45
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
45
46
  const contextPath = `Categorization.Cards.[${labels}]`;
46
- const [, componentProps] = useContextProps.useContextProps(
47
+ const [, _props] = useContextProps.useContextProps(
47
48
  `Categorization.Cards`,
48
49
  contextPath,
49
50
  {
50
51
  categorization: _categorization,
51
52
  categories: _categories,
52
53
  value: _value,
53
- onChange: _onChange
54
+ onChange: _onChange,
55
+ ...componentProps
54
56
  },
55
57
  jsonFormsProps,
56
58
  false
57
59
  );
58
- const { categories, value, onChange, groupProps, cardProps } = componentProps;
60
+ const { categories, value, onChange, groupProps, cardProps } = _props;
59
61
  const categoryLabels = React.useMemo(
60
62
  () => categories.map((category) => ({
61
63
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -38,24 +38,26 @@ const CategorizationStepper = ({
38
38
  cells,
39
39
  childProps,
40
40
  t,
41
+ componentProps,
41
42
  jsonFormsProps,
42
43
  showNavButtons
43
44
  }) => {
44
45
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
45
46
  const contextPath = `Categorization.Stepper.[${labels}]`;
46
- const [, componentProps] = useContextProps.useContextProps(
47
+ const [, _props] = useContextProps.useContextProps(
47
48
  `Categorization.Stepper`,
48
49
  contextPath,
49
50
  {
50
51
  categorization: _categorization,
51
52
  categories: _categories,
52
53
  value: _value,
53
- onChange: _onChange
54
+ onChange: _onChange,
55
+ ...componentProps
54
56
  },
55
57
  jsonFormsProps,
56
58
  false
57
59
  );
58
- const { categories, value, onChange, stepProps, buttonProps, ...rest } = componentProps;
60
+ const { categories, value, onChange, stepProps, buttonProps, ...rest } = _props;
59
61
  const categoryLabels = React.useMemo(
60
62
  () => categories.map((category) => ({
61
63
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -49,23 +49,25 @@ const CategorizationTabs = ({
49
49
  cells,
50
50
  childProps,
51
51
  t,
52
+ componentProps,
52
53
  jsonFormsProps
53
54
  }) => {
54
55
  const [_value, _onChange] = React.useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteValue.getAbsoluteLabel(_categories[0]) : "");
55
56
  const contextPath = `Categorization.Tabs.[${labels}]`;
56
- const [, componentProps] = useContextProps.useContextProps(
57
+ const [, _props] = useContextProps.useContextProps(
57
58
  `Categorization.Tabs`,
58
59
  contextPath,
59
60
  {
60
61
  categorization: _categorization,
61
62
  categories: _categories,
62
63
  value: _value,
63
- onChange: _onChange
64
+ onChange: _onChange,
65
+ ...componentProps
64
66
  },
65
67
  jsonFormsProps,
66
68
  false
67
69
  );
68
- const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
70
+ const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = _props;
69
71
  const categoryLabels = React.useMemo(
70
72
  () => categories.map((category) => ({
71
73
  value: getAbsoluteValue.getAbsoluteLabel(category),
@@ -5,10 +5,21 @@ const core = require("@jsonforms/core");
5
5
  const react = require("@jsonforms/react");
6
6
  const GroupFieldset = require("./variants/GroupFieldset.cjs");
7
7
  const Component = (props) => {
8
+ var _a;
8
9
  const { schema, uischema, path, enabled, visible, renderers, cells, label } = props;
9
10
  const layout = uischema;
10
11
  const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "column" };
11
- return /* @__PURE__ */ jsxRuntime.jsx(GroupFieldset.GroupFieldset, { label, renderers, cells, childProps, jsonFormsProps: props });
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);
@@ -4,9 +4,15 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const core = require("fastapi-rtk/core");
5
5
  const core$1 = require("@mantine/core");
6
6
  const layout = require("../../../utils/layout.cjs");
7
- const GroupFieldset = ({ label, renderers, cells, childProps, jsonFormsProps }) => {
7
+ const GroupFieldset = ({ label, renderers, cells, childProps, componentProps, jsonFormsProps }) => {
8
8
  const contextPath = `Group.Fieldset.${label}`;
9
- const [, _props] = core.useContextProps(`Group.Fieldset`, contextPath, { legend: label }, jsonFormsProps, false);
9
+ const [, _props] = core.useContextProps(
10
+ `Group.Fieldset`,
11
+ contextPath,
12
+ { legend: label, ...componentProps },
13
+ jsonFormsProps,
14
+ false
15
+ );
10
16
  return /* @__PURE__ */ jsxRuntime.jsx(core$1.Fieldset, { legend: label, ..._props, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells }) });
11
17
  };
12
18
  exports.GroupFieldset = GroupFieldset;
@@ -6,10 +6,17 @@ const core = require("@jsonforms/core");
6
6
  const react = require("@jsonforms/react");
7
7
  const layout = require("../utils/layout.cjs");
8
8
  const Component = (props) => {
9
+ var _a;
9
10
  const { schema, uischema, path, enabled, visible, renderers, cells } = props;
10
11
  const layout$1 = uischema;
11
12
  const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "row" };
12
- const [Component2, _props] = core$1.useContextProps("HorizontalLayout", `${path}.HorizontalLayout`, {}, props, false);
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
+ );
13
20
  if (Component2 === void 0) {
14
21
  return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
15
22
  }
@@ -6,10 +6,17 @@ const core = require("@jsonforms/core");
6
6
  const react = require("@jsonforms/react");
7
7
  const layout = require("../utils/layout.cjs");
8
8
  const Component = (props) => {
9
+ var _a;
9
10
  const { schema, uischema, path, enabled, visible, renderers, cells } = props;
10
11
  const layout$1 = uischema;
11
12
  const childProps = { schema, path, enabled, visible, elements: layout$1.elements, direction: "column" };
12
- const [Component2, _props] = core$1.useContextProps("VerticalLayout", `${path}.VerticalLayout`, {}, props, false);
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
+ );
13
20
  if (Component2 === void 0) {
14
21
  return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
15
22
  }
@@ -9,7 +9,7 @@ import { CategorizationCards } from "./variants/CategorizationCards.mjs";
9
9
  import { CategorizationStepper } from "./variants/CategorizationStepper.mjs";
10
10
  import { CategorizationTabs } from "./variants/CategorizationTabs.mjs";
11
11
  const Component = (props) => {
12
- var _a, _b, _c, _d;
12
+ var _a, _b, _c, _d, _e, _f, _g;
13
13
  const { schema, uischema, path, enabled, visible, renderers, cells, data, ajv, t } = props;
14
14
  const categorization = uischema;
15
15
  const categories = useMemo(
@@ -32,10 +32,11 @@ const Component = (props) => {
32
32
  cells,
33
33
  childProps,
34
34
  t,
35
+ componentProps: ((_c = uischema.options) == null ? void 0 : _c.props) ?? {},
35
36
  jsonFormsProps: props
36
37
  }
37
38
  );
38
- } else if (((_c = uischema.options) == null ? void 0 : _c.variant) === "stepper") {
39
+ } else if (((_d = uischema.options) == null ? void 0 : _d.variant) === "stepper") {
39
40
  return /* @__PURE__ */ jsx(
40
41
  CategorizationStepper,
41
42
  {
@@ -46,8 +47,9 @@ const Component = (props) => {
46
47
  cells,
47
48
  childProps,
48
49
  t,
50
+ componentProps: ((_e = uischema.options) == null ? void 0 : _e.props) ?? {},
49
51
  jsonFormsProps: props,
50
- showNavButtons: (_d = uischema.options) == null ? void 0 : _d.showNavButtons
52
+ showNavButtons: (_f = uischema.options) == null ? void 0 : _f.showNavButtons
51
53
  }
52
54
  );
53
55
  }
@@ -61,6 +63,7 @@ const Component = (props) => {
61
63
  cells,
62
64
  childProps,
63
65
  t,
66
+ componentProps: ((_g = uischema.options) == null ? void 0 : _g.props) ?? {},
64
67
  jsonFormsProps: props
65
68
  }
66
69
  );
@@ -36,24 +36,26 @@ const CategorizationCards = ({
36
36
  cells,
37
37
  childProps,
38
38
  t,
39
+ componentProps,
39
40
  jsonFormsProps
40
41
  }) => {
41
42
  const theme = useMantineTheme();
42
43
  const [_value, _onChange] = useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteLabel(_categories[0]) : "");
43
44
  const contextPath = `Categorization.Cards.[${labels}]`;
44
- const [, componentProps] = useContextProps(
45
+ const [, _props] = useContextProps(
45
46
  `Categorization.Cards`,
46
47
  contextPath,
47
48
  {
48
49
  categorization: _categorization,
49
50
  categories: _categories,
50
51
  value: _value,
51
- onChange: _onChange
52
+ onChange: _onChange,
53
+ ...componentProps
52
54
  },
53
55
  jsonFormsProps,
54
56
  false
55
57
  );
56
- const { categories, value, onChange, groupProps, cardProps } = componentProps;
58
+ const { categories, value, onChange, groupProps, cardProps } = _props;
57
59
  const categoryLabels = useMemo(
58
60
  () => categories.map((category) => ({
59
61
  value: getAbsoluteLabel(category),
@@ -36,24 +36,26 @@ const CategorizationStepper = ({
36
36
  cells,
37
37
  childProps,
38
38
  t,
39
+ componentProps,
39
40
  jsonFormsProps,
40
41
  showNavButtons
41
42
  }) => {
42
43
  const [_value, _onChange] = useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteLabel(_categories[0]) : "");
43
44
  const contextPath = `Categorization.Stepper.[${labels}]`;
44
- const [, componentProps] = useContextProps(
45
+ const [, _props] = useContextProps(
45
46
  `Categorization.Stepper`,
46
47
  contextPath,
47
48
  {
48
49
  categorization: _categorization,
49
50
  categories: _categories,
50
51
  value: _value,
51
- onChange: _onChange
52
+ onChange: _onChange,
53
+ ...componentProps
52
54
  },
53
55
  jsonFormsProps,
54
56
  false
55
57
  );
56
- const { categories, value, onChange, stepProps, buttonProps, ...rest } = componentProps;
58
+ const { categories, value, onChange, stepProps, buttonProps, ...rest } = _props;
57
59
  const categoryLabels = useMemo(
58
60
  () => categories.map((category) => ({
59
61
  value: getAbsoluteLabel(category),
@@ -47,23 +47,25 @@ const CategorizationTabs = ({
47
47
  cells,
48
48
  childProps,
49
49
  t,
50
+ componentProps,
50
51
  jsonFormsProps
51
52
  }) => {
52
53
  const [_value, _onChange] = useState((_categories == null ? void 0 : _categories[0]) ? getAbsoluteLabel(_categories[0]) : "");
53
54
  const contextPath = `Categorization.Tabs.[${labels}]`;
54
- const [, componentProps] = useContextProps(
55
+ const [, _props] = useContextProps(
55
56
  `Categorization.Tabs`,
56
57
  contextPath,
57
58
  {
58
59
  categorization: _categorization,
59
60
  categories: _categories,
60
61
  value: _value,
61
- onChange: _onChange
62
+ onChange: _onChange,
63
+ ...componentProps
62
64
  },
63
65
  jsonFormsProps,
64
66
  false
65
67
  );
66
- const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
68
+ const { categories, value, onChange, listProps, tabProps, panelProps, ...rest } = _props;
67
69
  const categoryLabels = useMemo(
68
70
  () => categories.map((category) => ({
69
71
  value: getAbsoluteLabel(category),
@@ -3,10 +3,21 @@ import { rankWith, uiTypeIs } from "@jsonforms/core";
3
3
  import { withJsonFormsLayoutProps } from "@jsonforms/react";
4
4
  import { GroupFieldset } from "./variants/GroupFieldset.mjs";
5
5
  const Component = (props) => {
6
+ var _a;
6
7
  const { schema, uischema, path, enabled, visible, renderers, cells, label } = props;
7
8
  const layout = uischema;
8
9
  const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "column" };
9
- return /* @__PURE__ */ jsx(GroupFieldset, { label, renderers, cells, childProps, jsonFormsProps: props });
10
+ return /* @__PURE__ */ jsx(
11
+ GroupFieldset,
12
+ {
13
+ label,
14
+ renderers,
15
+ cells,
16
+ childProps,
17
+ componentProps: ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
18
+ jsonFormsProps: props
19
+ }
20
+ );
10
21
  };
11
22
  const mantineGroupLayoutTester = rankWith(1, uiTypeIs("Group"));
12
23
  const MantineGroupLayoutRenderer = withJsonFormsLayoutProps(Component);
@@ -2,9 +2,15 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useContextProps } from "fastapi-rtk/core";
3
3
  import { Fieldset } from "@mantine/core";
4
4
  import { MantineLayoutRenderer } from "../../../utils/layout.mjs";
5
- const GroupFieldset = ({ label, renderers, cells, childProps, jsonFormsProps }) => {
5
+ const GroupFieldset = ({ label, renderers, cells, childProps, componentProps, jsonFormsProps }) => {
6
6
  const contextPath = `Group.Fieldset.${label}`;
7
- const [, _props] = useContextProps(`Group.Fieldset`, contextPath, { legend: label }, jsonFormsProps, false);
7
+ const [, _props] = useContextProps(
8
+ `Group.Fieldset`,
9
+ contextPath,
10
+ { legend: label, ...componentProps },
11
+ jsonFormsProps,
12
+ false
13
+ );
8
14
  return /* @__PURE__ */ jsx(Fieldset, { legend: label, ..._props, children: /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, renderers, cells }) });
9
15
  };
10
16
  export {
@@ -4,10 +4,17 @@ import { rankWith, uiTypeIs } from "@jsonforms/core";
4
4
  import { withJsonFormsLayoutProps } from "@jsonforms/react";
5
5
  import { MantineLayoutRenderer } from "../utils/layout.mjs";
6
6
  const Component = (props) => {
7
+ var _a;
7
8
  const { schema, uischema, path, enabled, visible, renderers, cells } = props;
8
9
  const layout = uischema;
9
10
  const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "row" };
10
- const [Component2, _props] = useContextProps("HorizontalLayout", `${path}.HorizontalLayout`, {}, props, false);
11
+ const [Component2, _props] = useContextProps(
12
+ "HorizontalLayout",
13
+ `${path}.HorizontalLayout`,
14
+ ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
15
+ props,
16
+ false
17
+ );
11
18
  if (Component2 === void 0) {
12
19
  return /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
13
20
  }
@@ -4,10 +4,17 @@ import { rankWith, uiTypeIs } from "@jsonforms/core";
4
4
  import { withJsonFormsLayoutProps } from "@jsonforms/react";
5
5
  import { MantineLayoutRenderer } from "../utils/layout.mjs";
6
6
  const Component = (props) => {
7
+ var _a;
7
8
  const { schema, uischema, path, enabled, visible, renderers, cells } = props;
8
9
  const layout = uischema;
9
10
  const childProps = { schema, path, enabled, visible, elements: layout.elements, direction: "column" };
10
- const [Component2, _props] = useContextProps("VerticalLayout", `${path}.VerticalLayout`, {}, props, false);
11
+ const [Component2, _props] = useContextProps(
12
+ "VerticalLayout",
13
+ `${path}.VerticalLayout`,
14
+ ((_a = uischema.options) == null ? void 0 : _a.props) ?? {},
15
+ props,
16
+ false
17
+ );
11
18
  if (Component2 === void 0) {
12
19
  return /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, ..._props, renderers, cells });
13
20
  }
@@ -1,4 +1,4 @@
1
- export function CategorizationCards({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, jsonFormsProps, }: {
1
+ export function CategorizationCards({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, componentProps, jsonFormsProps, }: {
2
2
  labels: any;
3
3
  categorization: any;
4
4
  categories: any;
@@ -6,5 +6,6 @@ export function CategorizationCards({ labels, categorization: _categorization, c
6
6
  cells: any;
7
7
  childProps: any;
8
8
  t: any;
9
+ componentProps: any;
9
10
  jsonFormsProps: any;
10
11
  }): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- export function CategorizationStepper({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, jsonFormsProps, showNavButtons, }: {
1
+ export function CategorizationStepper({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, componentProps, jsonFormsProps, showNavButtons, }: {
2
2
  labels: any;
3
3
  categorization: any;
4
4
  categories: any;
@@ -6,6 +6,7 @@ export function CategorizationStepper({ labels, categorization: _categorization,
6
6
  cells: any;
7
7
  childProps: any;
8
8
  t: any;
9
+ componentProps: any;
9
10
  jsonFormsProps: any;
10
11
  showNavButtons: any;
11
12
  }): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- export function CategorizationTabs({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, jsonFormsProps, }: {
1
+ export function CategorizationTabs({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, componentProps, jsonFormsProps, }: {
2
2
  labels: any;
3
3
  categorization: any;
4
4
  categories: any;
@@ -6,5 +6,6 @@ export function CategorizationTabs({ labels, categorization: _categorization, ca
6
6
  cells: any;
7
7
  childProps: any;
8
8
  t: any;
9
+ componentProps: any;
9
10
  jsonFormsProps: any;
10
11
  }): import("react").JSX.Element;
@@ -1,7 +1,8 @@
1
- export function GroupFieldset({ label, renderers, cells, childProps, jsonFormsProps }: {
1
+ export function GroupFieldset({ label, renderers, cells, childProps, componentProps, jsonFormsProps }: {
2
2
  label: any;
3
3
  renderers: any;
4
4
  cells: any;
5
5
  childProps: any;
6
+ componentProps: any;
6
7
  jsonFormsProps: any;
7
8
  }): import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastapi-rtk",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
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",