fastapi-rtk 1.0.15 → 1.0.16
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.
- package/dist/.bundled/jsonforms/cjs/_virtual/index11.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index12.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineBooleanInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateInput.cjs +2 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.cjs +2 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumInput.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineFileInput.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineImageInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineIntegerInput.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineJsonInput.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineNumberInput.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTextInput.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTimeInput.cjs +2 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.cjs +1 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineEnumArrayControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineObjectControl.cjs +1 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/TableToolbar.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineBooleanControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateTimeControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineEnumControl.cjs +1 -6
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineFileControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineImageControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineIntegerControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineJsonControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineNumberControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineOneOfEnumControl.cjs +1 -6
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineTextControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineTimeControl.cjs +1 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/MantineArrayLayoutRenderer.cjs +1 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.cjs +11 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.cjs +1 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.cjs +2 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/MantineGroupLayoutRenderer.cjs +16 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.cjs +12 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +8 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +8 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/renderers/mantineRenderers.cjs +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/layout.cjs +21 -19
- package/dist/.bundled/jsonforms/esm/_virtual/index11.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index12.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineBooleanInput.mjs +4 -4
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateInput.mjs +2 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.mjs +2 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineFileInput.mjs +4 -4
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineImageInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineIntegerInput.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineJsonInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineNumberInput.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineTextInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineTimeInput.mjs +2 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.mjs +2 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineEnumArrayControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineObjectControl.mjs +1 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/TableToolbar.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineBooleanControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineDateControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineDateTimeControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineEnumControl.mjs +1 -6
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineFileControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineImageControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineIntegerControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineJsonControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineNumberControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineOneOfEnumControl.mjs +1 -6
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineTextControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineTimeControl.mjs +1 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/MantineArrayLayoutRenderer.mjs +1 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.mjs +11 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.mjs +1 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.mjs +2 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/MantineGroupLayoutRenderer.mjs +16 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.mjs +12 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.mjs +8 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.mjs +8 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/renderers/mantineRenderers.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/layout.mjs +22 -20
- package/dist/.external/cjs/fast-uri@3.1.0/fast-uri/index.cjs +1 -1
- package/dist/.external/cjs/json-schema-traverse@1.0.0/json-schema-traverse/index.cjs +1 -1
- package/dist/.external/esm/fast-uri@3.1.0/fast-uri/index.mjs +1 -1
- package/dist/.external/esm/json-schema-traverse@1.0.0/json-schema-traverse/index.mjs +1 -1
- package/dist/core/cjs/Dialogs/AddDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideForm.cjs +1 -1
- package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideForm.mjs +1 -1
- package/dist/jsonforms/cjs/MantineInputs/MantineBooleanInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineDateInput.cjs +2 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineDateTimeInput.cjs +2 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineEnumArrayInput.cjs +2 -2
- package/dist/jsonforms/cjs/MantineInputs/MantineEnumInput.cjs +2 -2
- package/dist/jsonforms/cjs/MantineInputs/MantineFileInput.cjs +4 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineImageInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineIntegerInput.cjs +2 -2
- package/dist/jsonforms/cjs/MantineInputs/MantineJsonInput.cjs +2 -2
- package/dist/jsonforms/cjs/MantineInputs/MantineNumberInput.cjs +4 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineOneOfEnumInput.cjs +2 -2
- package/dist/jsonforms/cjs/MantineInputs/MantineTextInput.cjs +2 -2
- package/dist/jsonforms/cjs/MantineInputs/MantineTimeInput.cjs +2 -3
- package/dist/jsonforms/cjs/complex/MantineArrayControl/MantineArrayControl.cjs +1 -2
- package/dist/jsonforms/cjs/complex/MantineEnumArrayControl.cjs +1 -3
- package/dist/jsonforms/cjs/complex/MantineObjectControl.cjs +1 -2
- package/dist/jsonforms/cjs/complex/MantineTableControl/TableToolbar.cjs +2 -2
- package/dist/jsonforms/cjs/controls/MantineBooleanControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineDateControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineDateTimeControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineEnumControl.cjs +1 -6
- package/dist/jsonforms/cjs/controls/MantineFileControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineImageControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineIntegerControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineJsonControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineNumberControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineOneOfEnumControl.cjs +1 -6
- package/dist/jsonforms/cjs/controls/MantineTextControl.cjs +1 -3
- package/dist/jsonforms/cjs/controls/MantineTimeControl.cjs +1 -3
- package/dist/jsonforms/cjs/layouts/Array/MantineArrayLayoutRenderer.cjs +1 -2
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationCards.cjs +11 -3
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationStepper.cjs +1 -2
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationTabs.cjs +2 -3
- package/dist/jsonforms/cjs/layouts/{MantineGroupLayoutRenderer.cjs → Group/MantineGroupLayoutRenderer.cjs} +6 -6
- package/dist/jsonforms/cjs/layouts/Group/variants/GroupFieldset.cjs +12 -0
- package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +8 -2
- package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +8 -2
- package/dist/jsonforms/cjs/renderers/mantineRenderers.cjs +1 -1
- package/dist/jsonforms/cjs/utils/layout.cjs +21 -19
- package/dist/jsonforms/esm/MantineInputs/MantineBooleanInput.mjs +4 -4
- package/dist/jsonforms/esm/MantineInputs/MantineDateInput.mjs +2 -3
- package/dist/jsonforms/esm/MantineInputs/MantineDateTimeInput.mjs +2 -3
- package/dist/jsonforms/esm/MantineInputs/MantineEnumArrayInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineEnumInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineFileInput.mjs +4 -4
- package/dist/jsonforms/esm/MantineInputs/MantineImageInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineIntegerInput.mjs +2 -2
- package/dist/jsonforms/esm/MantineInputs/MantineJsonInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineNumberInput.mjs +5 -5
- package/dist/jsonforms/esm/MantineInputs/MantineOneOfEnumInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineTextInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineTimeInput.mjs +2 -3
- package/dist/jsonforms/esm/complex/MantineArrayControl/MantineArrayControl.mjs +2 -3
- package/dist/jsonforms/esm/complex/MantineEnumArrayControl.mjs +1 -3
- package/dist/jsonforms/esm/complex/MantineObjectControl.mjs +1 -2
- package/dist/jsonforms/esm/complex/MantineTableControl/TableToolbar.mjs +2 -2
- package/dist/jsonforms/esm/controls/MantineBooleanControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineDateControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineDateTimeControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineEnumControl.mjs +1 -6
- package/dist/jsonforms/esm/controls/MantineFileControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineImageControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineIntegerControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineJsonControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineNumberControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineOneOfEnumControl.mjs +1 -6
- package/dist/jsonforms/esm/controls/MantineTextControl.mjs +1 -3
- package/dist/jsonforms/esm/controls/MantineTimeControl.mjs +1 -3
- package/dist/jsonforms/esm/layouts/Array/MantineArrayLayoutRenderer.mjs +1 -2
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationCards.mjs +11 -3
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationStepper.mjs +1 -2
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationTabs.mjs +2 -3
- package/dist/jsonforms/esm/layouts/{MantineGroupLayoutRenderer.mjs → Group/MantineGroupLayoutRenderer.mjs} +4 -4
- package/dist/jsonforms/esm/layouts/Group/variants/GroupFieldset.mjs +12 -0
- package/dist/jsonforms/esm/layouts/MantineHotizontalLayoutRenderer.mjs +8 -2
- package/dist/jsonforms/esm/layouts/MantineVerticalLayoutRenderer.mjs +8 -2
- package/dist/jsonforms/esm/renderers/mantineRenderers.mjs +1 -1
- package/dist/jsonforms/esm/utils/layout.mjs +22 -20
- package/dist/jsonforms/lib/MantineInputs/MantineBooleanInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineDateInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineDateTimeInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineEnumArrayInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineEnumInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineFileInput.d.ts +2 -6
- package/dist/jsonforms/lib/MantineInputs/MantineImageInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineIntegerInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineJsonInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineNumberInput.d.ts +2 -6
- package/dist/jsonforms/lib/MantineInputs/MantineOneOfEnumInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineTextInput.d.ts +1 -4
- package/dist/jsonforms/lib/MantineInputs/MantineTimeInput.d.ts +1 -4
- package/dist/jsonforms/lib/layouts/{MantineGroupLayoutRenderer.d.ts → Group/MantineGroupLayoutRenderer.d.ts} +1 -1
- package/dist/jsonforms/lib/layouts/Group/variants/GroupFieldset.d.ts +7 -0
- package/dist/jsonforms/lib/layouts/MantineHotizontalLayoutRenderer.d.ts +1 -1
- package/dist/jsonforms/lib/layouts/MantineVerticalLayoutRenderer.d.ts +1 -1
- package/dist/jsonforms/lib/renderers/mantineRenderers.d.ts +1 -7
- package/dist/jsonforms/lib/utils/layout.d.ts +2 -1
- package/dist/zustand/cjs/useProxy/useProxy.cjs +1 -1
- package/dist/zustand/esm/useProxy/useProxy.mjs +1 -1
- package/package.json +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/Contexts/LayoutPaddingContext.cjs +0 -8
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.cjs +0 -16
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/constants.cjs +0 -4
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/Contexts/LayoutPaddingContext.mjs +0 -8
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.mjs +0 -16
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/constants.mjs +0 -4
- package/dist/jsonforms/cjs/Contexts/LayoutPaddingContext.cjs +0 -8
- package/dist/jsonforms/cjs/utils/constants.cjs +0 -4
- package/dist/jsonforms/esm/Contexts/LayoutPaddingContext.mjs +0 -8
- package/dist/jsonforms/esm/utils/constants.mjs +0 -4
- package/dist/jsonforms/lib/Contexts/LayoutPaddingContext.d.ts +0 -5
- package/dist/jsonforms/lib/utils/constants.d.ts +0 -1
- /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
- /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
- /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
- /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
- /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
- /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,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { deepMerge } from "fastapi-rtk/utils";
|
|
3
|
-
import {
|
|
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(
|
|
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
|
|
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(
|
|
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
|
|
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(
|
|
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
|
|
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 {
|
|
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(
|
|
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
|
|
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 {
|
|
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(
|
|
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
|
|
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,
|
|
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, {
|
|
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(
|
|
28
|
-
return /* @__PURE__ */ jsx(InnerMantineFileInput, { ...props, contextName: "File"
|
|
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(
|
|
6
|
-
const { path } = useApi();
|
|
7
|
-
return /* @__PURE__ */ jsx(InnerMantineFileInput, { ...props, contextName: "Image",
|
|
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(
|
|
4
|
-
return /* @__PURE__ */ jsx(InnerMantineNumberInput, { ...props, contextName: "Integer"
|
|
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 {
|
|
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(
|
|
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
|
|
16
|
+
return Component === void 0 ? /* @__PURE__ */ jsx(JsonInput, { ..._props }) : Component;
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
19
|
MantineJsonInput
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { NumberInput } 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 { useNumberProps } from "../hooks/useNumberProps.mjs";
|
|
7
|
-
const InnerMantineNumberInput = ({ contextName,
|
|
7
|
+
const InnerMantineNumberInput = ({ contextName, ...props }) => {
|
|
8
8
|
const { value, ...commonProps } = useCommonProps(props);
|
|
9
9
|
const { path } = props;
|
|
10
10
|
const numberProps = useNumberProps(contextName.toLowerCase(), { value, onChange: commonProps.onChange });
|
|
@@ -13,10 +13,10 @@ const InnerMantineNumberInput = ({ contextName, margin, ...props }) => {
|
|
|
13
13
|
if (!props.visible) {
|
|
14
14
|
return null;
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Component === void 0 ? /* @__PURE__ */ jsx(NumberInput, { ..._props }) : Component;
|
|
17
17
|
};
|
|
18
|
-
function MantineNumberInput(
|
|
19
|
-
return /* @__PURE__ */ jsx(InnerMantineNumberInput, { ...props, contextName: "Number"
|
|
18
|
+
function MantineNumberInput(props) {
|
|
19
|
+
return /* @__PURE__ */ jsx(InnerMantineNumberInput, { ...props, contextName: "Number" });
|
|
20
20
|
}
|
|
21
21
|
export {
|
|
22
22
|
InnerMantineNumberInput,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
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 MantineOneOfEnumInput(
|
|
7
|
+
function MantineOneOfEnumInput(props) {
|
|
8
8
|
const { value, ...commonProps } = useCommonProps(props);
|
|
9
9
|
const { path } = props;
|
|
10
10
|
const selectProps = useSelectProps(value, props.options);
|
|
@@ -24,7 +24,7 @@ function MantineOneOfEnumInput({ margin, ...props }) {
|
|
|
24
24
|
if (!props.visible) {
|
|
25
25
|
return null;
|
|
26
26
|
}
|
|
27
|
-
return
|
|
27
|
+
return Component === void 0 ? /* @__PURE__ */ jsx(Select, { ..._props }) : Component;
|
|
28
28
|
}
|
|
29
29
|
export {
|
|
30
30
|
MantineOneOfEnumInput
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { PasswordInput, TextInput } 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 { useTextProps } from "../hooks/useTextProps.mjs";
|
|
7
|
-
function MantineTextInput(
|
|
7
|
+
function MantineTextInput(props) {
|
|
8
8
|
const { value, ...commonProps } = useCommonProps(props);
|
|
9
9
|
const { path, schema } = props;
|
|
10
10
|
const textProps = useTextProps({ value, onChange: commonProps.onChange });
|
|
@@ -13,7 +13,7 @@ function MantineTextInput({ margin, ...props }) {
|
|
|
13
13
|
if (!props.visible) {
|
|
14
14
|
return null;
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return Component === void 0 ? schema.format === "password" ? /* @__PURE__ */ jsx(PasswordInput, { ..._props }) : /* @__PURE__ */ jsx(TextInput, { ..._props }) : Component;
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
19
|
MantineTextInput
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Box } from "@mantine/core";
|
|
3
2
|
import { TimePicker } 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 { useTimeProps } from "../hooks/useTimeProps.mjs";
|
|
8
|
-
function MantineTimeInput(
|
|
7
|
+
function MantineTimeInput(props) {
|
|
9
8
|
const { value, ...commonProps } = useCommonProps(props);
|
|
10
9
|
const { path } = props;
|
|
11
10
|
const textProps = useTimeProps({ value });
|
|
@@ -14,7 +13,7 @@ function MantineTimeInput({ margin, ...props }) {
|
|
|
14
13
|
if (!props.visible) {
|
|
15
14
|
return null;
|
|
16
15
|
}
|
|
17
|
-
return
|
|
16
|
+
return Component === void 0 ? /* @__PURE__ */ jsx(TimePicker, { ..._props }) : Component;
|
|
18
17
|
}
|
|
19
18
|
export {
|
|
20
19
|
MantineTimeInput
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { rankWith, or, isObjectArrayControl, isPrimitiveArrayControl } from "@jsonforms/core";
|
|
3
3
|
import { withJsonFormsArrayLayoutProps, withTranslateProps, withArrayTranslationProps } from "@jsonforms/react";
|
|
4
|
-
import {
|
|
4
|
+
import { MantineThemeProvider, Box } from "@mantine/core";
|
|
5
5
|
import { useState, useCallback } from "react";
|
|
6
6
|
import { useThemeCustomizer } from "../../hooks/useThemeCustomizer.mjs";
|
|
7
7
|
import { isEnumArrayArrayControl } from "../../testers/isEnumArrayArrayControl.mjs";
|
|
8
8
|
import { isFilesControl } from "../../testers/isFilesControl.mjs";
|
|
9
9
|
import { isImagesControl } from "../../testers/isImagesControl.mjs";
|
|
10
10
|
import { isJsonArrayControl } from "../../testers/isJsonArrayControl.mjs";
|
|
11
|
-
import { DEFAULT_MARGIN } from "../../utils/constants.mjs";
|
|
12
11
|
import { MantineTableControl } from "../MantineTableControl/MantineTableControl.mjs";
|
|
13
12
|
import { DeleteDialog } from "./DeleteDialog.mjs";
|
|
14
13
|
const Component = (props) => {
|
|
@@ -35,7 +34,7 @@ const Component = (props) => {
|
|
|
35
34
|
return null;
|
|
36
35
|
}
|
|
37
36
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38
|
-
/* @__PURE__ */ jsx(
|
|
37
|
+
/* @__PURE__ */ jsx(MantineTableControl, { ...props, openDeleteDialog }),
|
|
39
38
|
/* @__PURE__ */ jsx(
|
|
40
39
|
DeleteDialog,
|
|
41
40
|
{
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsMultiEnumProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineEnumArrayInput } from "../MantineInputs/MantineEnumArrayInput.mjs";
|
|
5
4
|
import { isEnumArrayControl } from "../testers/isEnumArrayControl.mjs";
|
|
6
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
7
5
|
const mantineEnumArrayRendererTester = rankWith(1, isEnumArrayControl);
|
|
8
|
-
const MantineEnumArrayRenderer = withJsonFormsMultiEnumProps(
|
|
6
|
+
const MantineEnumArrayRenderer = withJsonFormsMultiEnumProps(MantineEnumArrayInput);
|
|
9
7
|
export {
|
|
10
8
|
MantineEnumArrayRenderer,
|
|
11
9
|
mantineEnumArrayRendererTester
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isObjectControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsDetailProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineObjectInput } from "../MantineInputs/MantineObjectInput.mjs";
|
|
5
4
|
const mantineObjectControlTester = rankWith(1, isObjectControl);
|
|
6
|
-
const MantineObjectControl = withJsonFormsDetailProps(
|
|
5
|
+
const MantineObjectControl = withJsonFormsDetailProps(MantineObjectInput);
|
|
7
6
|
export {
|
|
8
7
|
MantineObjectControl,
|
|
9
8
|
mantineObjectControlTester
|
|
@@ -17,8 +17,8 @@ const TableToolbar = memo(function TableToolbar2(props) {
|
|
|
17
17
|
...props
|
|
18
18
|
});
|
|
19
19
|
return /* @__PURE__ */ jsxs(Table.Tr, { children: [
|
|
20
|
-
/* @__PURE__ */ jsx(NoBorderTableCell, { colSpan: numColumns, children: ToolbarComponent }),
|
|
21
|
-
enabled && ToolbarAdd && /* @__PURE__ */ jsx(NoBorderTableCell, { align: "right", style: fixedCellSmall, children: ToolbarAdd })
|
|
20
|
+
/* @__PURE__ */ jsx(NoBorderTableCell, { p: 0, colSpan: numColumns, children: ToolbarComponent }),
|
|
21
|
+
enabled && ToolbarAdd && /* @__PURE__ */ jsx(NoBorderTableCell, { p: 0, align: "right", style: fixedCellSmall, children: ToolbarAdd })
|
|
22
22
|
] });
|
|
23
23
|
});
|
|
24
24
|
export {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isBooleanControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineBooleanInput } from "../MantineInputs/MantineBooleanInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineBooleanControlTester = rankWith(1, isBooleanControl);
|
|
7
|
-
const MantineBooleanControl = withJsonFormsControlProps(
|
|
5
|
+
const MantineBooleanControl = withJsonFormsControlProps(MantineBooleanInput);
|
|
8
6
|
export {
|
|
9
7
|
MantineBooleanControl,
|
|
10
8
|
mantineBooleanControlTester
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isDateControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineDateInput } from "../MantineInputs/MantineDateInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineDateControlTester = rankWith(2, isDateControl);
|
|
7
|
-
const MantineDateControl = withJsonFormsControlProps(
|
|
5
|
+
const MantineDateControl = withJsonFormsControlProps(MantineDateInput);
|
|
8
6
|
export {
|
|
9
7
|
MantineDateControl,
|
|
10
8
|
mantineDateControlTester
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isDateTimeControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineDateTimeInput } from "../MantineInputs/MantineDateTimeInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineDateTimeControlTester = rankWith(2, isDateTimeControl);
|
|
7
|
-
const MantineDateTimeControl = withJsonFormsControlProps(
|
|
5
|
+
const MantineDateTimeControl = withJsonFormsControlProps(MantineDateTimeInput);
|
|
8
6
|
export {
|
|
9
7
|
MantineDateTimeControl,
|
|
10
8
|
mantineDateTimeControlTester
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isEnumControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsEnumProps, withTranslateProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineEnumInput } from "../MantineInputs/MantineEnumInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineEnumControlTester = rankWith(2, isEnumControl);
|
|
7
|
-
const MantineEnumControl = withJsonFormsEnumProps(
|
|
8
|
-
withTranslateProps((props) => /* @__PURE__ */ jsx(MantineEnumInput, { margin: DEFAULT_MARGIN, ...props })),
|
|
9
|
-
false
|
|
10
|
-
);
|
|
5
|
+
const MantineEnumControl = withJsonFormsEnumProps(withTranslateProps(MantineEnumInput), false);
|
|
11
6
|
export {
|
|
12
7
|
MantineEnumControl,
|
|
13
8
|
mantineEnumControlTester
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineFileInput } from "../MantineInputs/MantineFileInput.mjs";
|
|
5
4
|
import { isFileControl } from "../testers/isFileControl.mjs";
|
|
6
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
7
5
|
const mantineFileControlTester = rankWith(3, isFileControl);
|
|
8
|
-
const MantineFileControl = withJsonFormsControlProps(
|
|
6
|
+
const MantineFileControl = withJsonFormsControlProps(MantineFileInput);
|
|
9
7
|
export {
|
|
10
8
|
MantineFileControl,
|
|
11
9
|
mantineFileControlTester
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineImageInput } from "../MantineInputs/MantineImageInput.mjs";
|
|
5
4
|
import { isImageControl } from "../testers/isImageControl.mjs";
|
|
6
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
7
5
|
const mantineImageControlTester = rankWith(4, isImageControl);
|
|
8
|
-
const MantineImageControl = withJsonFormsControlProps(
|
|
6
|
+
const MantineImageControl = withJsonFormsControlProps(MantineImageInput);
|
|
9
7
|
export {
|
|
10
8
|
MantineImageControl,
|
|
11
9
|
mantineImageControlTester
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isIntegerControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineIntegerInput } from "../MantineInputs/MantineIntegerInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineIntegerControlTester = rankWith(1, isIntegerControl);
|
|
7
|
-
const MantineIntegerControl = withJsonFormsControlProps(
|
|
5
|
+
const MantineIntegerControl = withJsonFormsControlProps(MantineIntegerInput);
|
|
8
6
|
export {
|
|
9
7
|
MantineIntegerControl,
|
|
10
8
|
mantineIntegerControlTester
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineJsonInput } from "../MantineInputs/MantineJsonInput.mjs";
|
|
5
4
|
import { isJsonControl } from "../testers/isJsonControl.mjs";
|
|
6
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
7
5
|
const mantineJsonControlTester = rankWith(2, isJsonControl);
|
|
8
|
-
const MantineJsonControl = withJsonFormsControlProps(
|
|
6
|
+
const MantineJsonControl = withJsonFormsControlProps(MantineJsonInput);
|
|
9
7
|
export {
|
|
10
8
|
MantineJsonControl,
|
|
11
9
|
mantineJsonControlTester
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isNumberControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineNumberInput } from "../MantineInputs/MantineNumberInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineNumberControlTester = rankWith(1, isNumberControl);
|
|
7
|
-
const MantineNumberControl = withJsonFormsControlProps(
|
|
5
|
+
const MantineNumberControl = withJsonFormsControlProps(MantineNumberInput);
|
|
8
6
|
export {
|
|
9
7
|
MantineNumberControl,
|
|
10
8
|
mantineNumberControlTester
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isOneOfControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsOneOfEnumProps, withTranslateProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineOneOfEnumInput } from "../MantineInputs/MantineOneOfEnumInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineOneOfEnumControlTester = rankWith(2, isOneOfControl);
|
|
7
|
-
const MantineOneOfEnumControl = withJsonFormsOneOfEnumProps(
|
|
8
|
-
withTranslateProps((props) => /* @__PURE__ */ jsx(MantineOneOfEnumInput, { margin: DEFAULT_MARGIN, ...props })),
|
|
9
|
-
false
|
|
10
|
-
);
|
|
5
|
+
const MantineOneOfEnumControl = withJsonFormsOneOfEnumProps(withTranslateProps(MantineOneOfEnumInput), false);
|
|
11
6
|
export {
|
|
12
7
|
MantineOneOfEnumControl,
|
|
13
8
|
mantineOneOfEnumControlTester
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isStringControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineTextInput } from "../MantineInputs/MantineTextInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineTextControlTester = rankWith(1, isStringControl);
|
|
7
|
-
const MantineTextControl = withJsonFormsControlProps(
|
|
5
|
+
const MantineTextControl = withJsonFormsControlProps(MantineTextInput);
|
|
8
6
|
export {
|
|
9
7
|
MantineTextControl,
|
|
10
8
|
mantineTextControlTester
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { rankWith, isTimeControl } from "@jsonforms/core";
|
|
3
2
|
import { withJsonFormsControlProps } from "@jsonforms/react";
|
|
4
3
|
import { MantineTimeInput } from "../MantineInputs/MantineTimeInput.mjs";
|
|
5
|
-
import { DEFAULT_MARGIN } from "../utils/constants.mjs";
|
|
6
4
|
const mantineTimeControlTester = rankWith(2, isTimeControl);
|
|
7
|
-
const MantineTimeControl = withJsonFormsControlProps(
|
|
5
|
+
const MantineTimeControl = withJsonFormsControlProps(MantineTimeInput);
|
|
8
6
|
export {
|
|
9
7
|
MantineTimeControl,
|
|
10
8
|
mantineTimeControlTester
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { rankWith, isObjectArrayWithNesting } from "@jsonforms/core";
|
|
3
3
|
import { withJsonFormsArrayLayoutProps, withTranslateProps, withArrayTranslationProps } from "@jsonforms/react";
|
|
4
|
-
import { Stack } from "@mantine/core";
|
|
5
4
|
import { useCallback } from "react";
|
|
6
5
|
import { MantineArrayLayout } from "./MantineArrayLayout.mjs";
|
|
7
6
|
const Component = ({ visible, addItem, translations, ...props }) => {
|
|
@@ -9,7 +8,7 @@ const Component = ({ visible, addItem, translations, ...props }) => {
|
|
|
9
8
|
if (!visible) {
|
|
10
9
|
return null;
|
|
11
10
|
}
|
|
12
|
-
return /* @__PURE__ */ jsx(
|
|
11
|
+
return /* @__PURE__ */ jsx(MantineArrayLayout, { translations, visible, addItem: addItemCb, ...props });
|
|
13
12
|
};
|
|
14
13
|
const mantineArrayLayoutTester = rankWith(2, isObjectArrayWithNesting);
|
|
15
14
|
const MantineArrayLayoutRenderer = withJsonFormsArrayLayoutProps(
|
|
@@ -3,7 +3,6 @@ import { deepMerge } from "fastapi-rtk/utils";
|
|
|
3
3
|
import { deriveLabelForUISchemaElement } from "@jsonforms/core";
|
|
4
4
|
import { useMantineTheme, Group, Card } from "@mantine/core";
|
|
5
5
|
import { useState, useMemo, useEffect } from "react";
|
|
6
|
-
import { LayoutPaddingContextProvider } from "../../../Contexts/LayoutPaddingContext.mjs";
|
|
7
6
|
import { useContextProps } from "../../../hooks/useContextProps.mjs";
|
|
8
7
|
import { getAbsoluteLabel } from "../../../utils/getAbsoluteValue.mjs";
|
|
9
8
|
import { MantineLayoutRenderer } from "../../../utils/layout.mjs";
|
|
@@ -16,7 +15,7 @@ const CategorizationCardsGroup = ({ labels, jsonFormsProps, children, ...props }
|
|
|
16
15
|
false
|
|
17
16
|
);
|
|
18
17
|
const mergedProps = useMemo(() => deepMerge(props, _props), [props, _props]);
|
|
19
|
-
return /* @__PURE__ */ jsx(Group, { ...mergedProps, children: mergedProps.children });
|
|
18
|
+
return /* @__PURE__ */ jsx(Group, { gap: "xs", ...mergedProps, children: mergedProps.children });
|
|
20
19
|
};
|
|
21
20
|
const CategorizationCardsCard = ({ value, jsonFormsProps, children, ...props }) => {
|
|
22
21
|
const [, _props] = useContextProps(
|
|
@@ -86,7 +85,16 @@ const CategorizationCards = ({
|
|
|
86
85
|
},
|
|
87
86
|
cl.value
|
|
88
87
|
)) }),
|
|
89
|
-
categories.filter((category) => getAbsoluteLabel(category) === value).map((category) => /* @__PURE__ */ jsx(
|
|
88
|
+
categories.filter((category) => getAbsoluteLabel(category) === value).map((category) => /* @__PURE__ */ jsx(
|
|
89
|
+
MantineLayoutRenderer,
|
|
90
|
+
{
|
|
91
|
+
...childProps,
|
|
92
|
+
elements: category.elements,
|
|
93
|
+
renderers,
|
|
94
|
+
cells
|
|
95
|
+
},
|
|
96
|
+
getAbsoluteLabel(category)
|
|
97
|
+
))
|
|
90
98
|
] });
|
|
91
99
|
};
|
|
92
100
|
export {
|
|
@@ -3,7 +3,6 @@ import { deepMerge } from "fastapi-rtk/utils";
|
|
|
3
3
|
import { deriveLabelForUISchemaElement } from "@jsonforms/core";
|
|
4
4
|
import { Stepper, Group, Button } from "@mantine/core";
|
|
5
5
|
import { useState, useMemo, useEffect } from "react";
|
|
6
|
-
import { LayoutPaddingContextProvider } from "../../../Contexts/LayoutPaddingContext.mjs";
|
|
7
6
|
import { useContextProps } from "../../../hooks/useContextProps.mjs";
|
|
8
7
|
import { getAbsoluteLabel } from "../../../utils/getAbsoluteValue.mjs";
|
|
9
8
|
import { MantineLayoutRenderer } from "../../../utils/layout.mjs";
|
|
@@ -81,7 +80,7 @@ const CategorizationStepper = ({
|
|
|
81
80
|
description: category.description,
|
|
82
81
|
jsonFormsProps,
|
|
83
82
|
...stepProps,
|
|
84
|
-
children: /* @__PURE__ */ jsx(
|
|
83
|
+
children: /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells })
|
|
85
84
|
},
|
|
86
85
|
getAbsoluteLabel(category)
|
|
87
86
|
))
|
|
@@ -3,7 +3,6 @@ import { deepMerge } from "fastapi-rtk/utils";
|
|
|
3
3
|
import { deriveLabelForUISchemaElement } from "@jsonforms/core";
|
|
4
4
|
import { Tabs } from "@mantine/core";
|
|
5
5
|
import { useState, useMemo, useEffect } from "react";
|
|
6
|
-
import { LayoutPaddingContextProvider } from "../../../Contexts/LayoutPaddingContext.mjs";
|
|
7
6
|
import { useContextProps } from "../../../hooks/useContextProps.mjs";
|
|
8
7
|
import { getAbsoluteLabel } from "../../../utils/getAbsoluteValue.mjs";
|
|
9
8
|
import { MantineLayoutRenderer } from "../../../utils/layout.mjs";
|
|
@@ -93,9 +92,9 @@ const CategorizationTabs = ({
|
|
|
93
92
|
{
|
|
94
93
|
value: getAbsoluteLabel(category),
|
|
95
94
|
jsonFormsProps,
|
|
96
|
-
pt: "xs",
|
|
95
|
+
...rest.orientation === "vertical" ? { pl: "xs" } : { pt: "xs" },
|
|
97
96
|
...panelProps,
|
|
98
|
-
children: /* @__PURE__ */ jsx(
|
|
97
|
+
children: /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells })
|
|
99
98
|
},
|
|
100
99
|
getAbsoluteLabel(category)
|
|
101
100
|
))
|