fastapi-rtk 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/MantineCategorizationLayoutRenderer.cjs +6 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.cjs +16 -6
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.cjs +6 -5
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.cjs +7 -6
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/MantineGroupLayoutRenderer.cjs +27 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.cjs +18 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +15 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +15 -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/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/MantineCategorizationLayoutRenderer.mjs +6 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.mjs +16 -6
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.mjs +6 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.mjs +7 -6
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/MantineGroupLayoutRenderer.mjs +27 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Group/variants/GroupFieldset.mjs +18 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.mjs +15 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.mjs +15 -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/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/MantineCategorizationLayoutRenderer.cjs +6 -3
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationCards.cjs +16 -6
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationStepper.cjs +6 -5
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationTabs.cjs +7 -6
- package/dist/jsonforms/cjs/layouts/{MantineGroupLayoutRenderer.cjs → Group/MantineGroupLayoutRenderer.cjs} +17 -6
- package/dist/jsonforms/cjs/layouts/Group/variants/GroupFieldset.cjs +18 -0
- package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +15 -2
- package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +15 -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/MantineCategorizationLayoutRenderer.mjs +6 -3
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationCards.mjs +16 -6
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationStepper.mjs +6 -5
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationTabs.mjs +7 -6
- package/dist/jsonforms/esm/layouts/{MantineGroupLayoutRenderer.mjs → Group/MantineGroupLayoutRenderer.mjs} +15 -4
- package/dist/jsonforms/esm/layouts/Group/variants/GroupFieldset.mjs +18 -0
- package/dist/jsonforms/esm/layouts/MantineHotizontalLayoutRenderer.mjs +15 -2
- package/dist/jsonforms/esm/layouts/MantineVerticalLayoutRenderer.mjs +15 -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/Categorization/variants/CategorizationCards.d.ts +2 -1
- package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationStepper.d.ts +2 -1
- package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationTabs.d.ts +2 -1
- package/dist/jsonforms/lib/layouts/{MantineGroupLayoutRenderer.d.ts → Group/MantineGroupLayoutRenderer.d.ts} +1 -1
- package/dist/jsonforms/lib/layouts/Group/variants/GroupFieldset.d.ts +8 -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,37 +1,39 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { JsonFormsDispatch } from "../../../../../../../.external/esm/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { Group, Stack } from "@mantine/core";
|
|
4
4
|
import isEmpty from "../../../../_virtual/isEmpty.mjs";
|
|
5
5
|
import React from "react";
|
|
6
|
-
import { useLayoutPadding, LayoutPaddingContextProvider } from "../Contexts/LayoutPaddingContext.mjs";
|
|
7
6
|
const renderLayoutElements = (elements, schema, path, enabled, direction, renderers, cells) => {
|
|
8
|
-
const withPadding = useLayoutPadding({ throwOnError: false, defaultValue: false });
|
|
9
7
|
return elements.map((child, index) => /* @__PURE__ */ jsx(
|
|
10
|
-
|
|
8
|
+
JsonFormsDispatch,
|
|
11
9
|
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
uischema: child,
|
|
19
|
-
schema,
|
|
20
|
-
path,
|
|
21
|
-
enabled,
|
|
22
|
-
renderers,
|
|
23
|
-
cells
|
|
24
|
-
}
|
|
25
|
-
) })
|
|
10
|
+
uischema: child,
|
|
11
|
+
schema,
|
|
12
|
+
path,
|
|
13
|
+
enabled,
|
|
14
|
+
renderers,
|
|
15
|
+
cells
|
|
26
16
|
},
|
|
27
17
|
`${path}-${index}`
|
|
28
18
|
));
|
|
29
19
|
};
|
|
30
|
-
const MantineLayoutRendererComponent = ({
|
|
20
|
+
const MantineLayoutRendererComponent = ({
|
|
21
|
+
visible,
|
|
22
|
+
elements,
|
|
23
|
+
schema,
|
|
24
|
+
path,
|
|
25
|
+
enabled,
|
|
26
|
+
direction,
|
|
27
|
+
renderers,
|
|
28
|
+
cells,
|
|
29
|
+
...props
|
|
30
|
+
}) => {
|
|
31
31
|
if (isEmpty(elements) || !visible) {
|
|
32
32
|
return null;
|
|
33
33
|
} else {
|
|
34
|
-
|
|
34
|
+
const Wrapper = direction === "row" ? Group : Stack;
|
|
35
|
+
const wrapperProps = direction === "row" ? { grow: true, align: "flex-start" } : {};
|
|
36
|
+
return /* @__PURE__ */ jsx(Wrapper, { gap: "xs", ...wrapperProps, ...props, children: renderLayoutElements(elements, schema, path, enabled, direction, renderers, cells) });
|
|
35
37
|
}
|
|
36
38
|
};
|
|
37
39
|
const MantineLayoutRenderer = React.memo(MantineLayoutRendererComponent);
|
|
@@ -7,7 +7,7 @@ const utils = require("fastapi-rtk/utils");
|
|
|
7
7
|
const core = require("@mantine/core");
|
|
8
8
|
const form = require("@mantine/form");
|
|
9
9
|
const hooks = require("@mantine/hooks");
|
|
10
|
-
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
10
|
+
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.12_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
11
11
|
const React = require("react");
|
|
12
12
|
const useApi = require("../hooks/api/useApi.cjs");
|
|
13
13
|
const useForms = require("../hooks/api/useForms.cjs");
|
|
@@ -8,7 +8,7 @@ const core = require("@mantine/core");
|
|
|
8
8
|
const form = require("@mantine/form");
|
|
9
9
|
const hooks = require("@mantine/hooks");
|
|
10
10
|
const lodash = require("../_virtual/lodash.cjs");
|
|
11
|
-
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
11
|
+
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.12_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
12
12
|
const React = require("react");
|
|
13
13
|
const convertToFormInputs$1 = require("../ActionIcons/utils/convertToFormInputs.cjs");
|
|
14
14
|
const convertToFormInputs = require("../fab-react-toolkit-patch/utils/convertToFormInputs.cjs");
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const core = require("@mantine/core");
|
|
5
5
|
const form = require("@mantine/form");
|
|
6
6
|
const hooks = require("@mantine/hooks");
|
|
7
|
-
const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
7
|
+
const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.12_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
8
8
|
const React = require("react");
|
|
9
9
|
const index_esm = require("../../../../../../.external/cjs/yup@1.7.1/yup/index.esm.cjs");
|
|
10
10
|
const useApi = require("../../../../hooks/api/useApi.cjs");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const constants = require("fastapi-rtk/constants");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const react = require("../../../../../.external/cjs/zustand@5.0.
|
|
5
|
+
const react = require("../../../../../.external/cjs/zustand@5.0.10_@types_react@18.3.27_react@18.3.1/zustand/esm/react.cjs");
|
|
6
6
|
const useProvideForm = () => {
|
|
7
7
|
const [storeAdd] = React.useState(
|
|
8
8
|
() => react.create((set, get) => ({
|
|
@@ -5,7 +5,7 @@ import { deepMerge } from "fastapi-rtk/utils";
|
|
|
5
5
|
import { useProps, Stack } from "@mantine/core";
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
|
-
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
8
|
+
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.12_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
9
9
|
import { useMemo, useCallback, useEffect } from "react";
|
|
10
10
|
import { useApi } from "../hooks/api/useApi.mjs";
|
|
11
11
|
import { useForms } from "../hooks/api/useForms.mjs";
|
|
@@ -6,7 +6,7 @@ import { useProps, Stack } from "@mantine/core";
|
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
8
|
import { l as lodashExports } from "../_virtual/lodash.mjs";
|
|
9
|
-
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
9
|
+
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.12_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
10
10
|
import { useMemo, useRef, useEffect, useCallback } from "react";
|
|
11
11
|
import { convertToFormInputs as convertToFormInputs$1 } from "../ActionIcons/utils/convertToFormInputs.mjs";
|
|
12
12
|
import { convertToFormInputs } from "../fab-react-toolkit-patch/utils/convertToFormInputs.mjs";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useProps, Box, Flex, ActionIcon, Divider, Text, ScrollArea, Button, Group } from "@mantine/core";
|
|
3
3
|
import { useForm } from "@mantine/form";
|
|
4
4
|
import { randomId } from "@mantine/hooks";
|
|
5
|
-
import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
5
|
+
import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.12_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
import { object as create$3, array as create$2, mixed as create$8, string as create$6 } from "../../../../../../.external/esm/yup@1.7.1/yup/index.esm.mjs";
|
|
8
8
|
import { useApi } from "../../../../hooks/api/useApi.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { initialState, VIEW_MODE } from "fastapi-rtk/constants";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { create } from "../../../../../.external/esm/zustand@5.0.
|
|
3
|
+
import { create } from "../../../../../.external/esm/zustand@5.0.10_@types_react@18.3.27_react@18.3.1/zustand/esm/react.mjs";
|
|
4
4
|
const useProvideForm = () => {
|
|
5
5
|
const [storeAdd] = useState(
|
|
6
6
|
() => create((set, get) => ({
|
|
@@ -7,7 +7,7 @@ const React = require("react");
|
|
|
7
7
|
const useBooleanProps = require("../hooks/useBooleanProps.cjs");
|
|
8
8
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
9
9
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
10
|
-
function MantineBooleanInput(
|
|
10
|
+
function MantineBooleanInput(props) {
|
|
11
11
|
var _a;
|
|
12
12
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
13
13
|
const { path, schema, uischema } = props;
|
|
@@ -25,11 +25,11 @@ function MantineBooleanInput({ margin, ...props }) {
|
|
|
25
25
|
return null;
|
|
26
26
|
}
|
|
27
27
|
const { inputWrapperOrder, ...__props } = _props;
|
|
28
|
-
return
|
|
28
|
+
return Component === void 0 ? isCheckbox ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
29
29
|
core.Checkbox,
|
|
30
30
|
{
|
|
31
31
|
...utils.deepMerge({ styles: { root: { minHeight: "calc(2.25rem * 1)", alignContent: "center" } } }, __props)
|
|
32
32
|
}
|
|
33
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(core.Select, { inputWrapperOrder, ...__props }) : Component
|
|
33
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(core.Select, { inputWrapperOrder, ...__props }) : Component;
|
|
34
34
|
}
|
|
35
35
|
exports.MantineBooleanInput = MantineBooleanInput;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const core = require("@mantine/core");
|
|
5
4
|
const dates = require("@mantine/dates");
|
|
6
5
|
const React = require("react");
|
|
7
6
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
8
7
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
9
8
|
const useDateProps = require("../hooks/useDateProps.cjs");
|
|
10
|
-
function MantineDateInput(
|
|
9
|
+
function MantineDateInput(props) {
|
|
11
10
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
12
11
|
const { path } = props;
|
|
13
12
|
const dateProps = useDateProps.useDateProps("date", true, { value, onChange: commonProps.onChange });
|
|
@@ -16,6 +15,6 @@ function MantineDateInput({ margin, ...props }) {
|
|
|
16
15
|
if (!props.visible) {
|
|
17
16
|
return null;
|
|
18
17
|
}
|
|
19
|
-
return
|
|
18
|
+
return Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(dates.DateInput, { ..._props }) : Component;
|
|
20
19
|
}
|
|
21
20
|
exports.MantineDateInput = MantineDateInput;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const core = require("@mantine/core");
|
|
5
4
|
const dates = require("@mantine/dates");
|
|
6
5
|
const hooks = require("@mantine/hooks");
|
|
7
6
|
const React = require("react");
|
|
8
7
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
9
8
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
10
9
|
const useDateProps = require("../hooks/useDateProps.cjs");
|
|
11
|
-
function MantineDateTimeInput(
|
|
10
|
+
function MantineDateTimeInput(props) {
|
|
12
11
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
13
12
|
const { path, uischema } = props;
|
|
14
13
|
const { initialUTC: __initialUTC } = uischema.options || {};
|
|
@@ -30,6 +29,6 @@ function MantineDateTimeInput({ margin, ...props }) {
|
|
|
30
29
|
if (!props.visible) {
|
|
31
30
|
return null;
|
|
32
31
|
}
|
|
33
|
-
return
|
|
32
|
+
return Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(dates.DateTimePicker, { ..._props }) : Component;
|
|
34
33
|
}
|
|
35
34
|
exports.MantineDateTimeInput = MantineDateTimeInput;
|
|
@@ -6,7 +6,7 @@ const React = require("react");
|
|
|
6
6
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
7
7
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
8
8
|
const useMultiSelectProps = require("../hooks/useMultiSelectProps.cjs");
|
|
9
|
-
function MantineEnumArrayInput(
|
|
9
|
+
function MantineEnumArrayInput(props) {
|
|
10
10
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path } = props;
|
|
12
12
|
const multiSelectProps = useMultiSelectProps.useMultiSelectProps(value, props.options, { onChange: commonProps.onChange });
|
|
@@ -15,6 +15,6 @@ function MantineEnumArrayInput({ margin, ...props }) {
|
|
|
15
15
|
if (!props.visible) {
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
|
-
return
|
|
18
|
+
return Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.MultiSelect, { ..._props }) : Component;
|
|
19
19
|
}
|
|
20
20
|
exports.MantineEnumArrayInput = MantineEnumArrayInput;
|
|
@@ -6,7 +6,7 @@ const React = require("react");
|
|
|
6
6
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
7
7
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
8
8
|
const useSelectProps = require("../hooks/useSelectProps.cjs");
|
|
9
|
-
function MantineEnumInput(
|
|
9
|
+
function MantineEnumInput(props) {
|
|
10
10
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path } = props;
|
|
12
12
|
const selectProps = useSelectProps.useSelectProps(value, props.options);
|
|
@@ -15,6 +15,6 @@ function MantineEnumInput({ margin, ...props }) {
|
|
|
15
15
|
if (!props.visible) {
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
|
-
return
|
|
18
|
+
return Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.Select, { ..._props }) : Component;
|
|
19
19
|
}
|
|
20
20
|
exports.MantineEnumInput = MantineEnumInput;
|
|
@@ -7,7 +7,7 @@ const React = require("react");
|
|
|
7
7
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
8
8
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
9
9
|
const useFileProps = require("../hooks/useFileProps.cjs");
|
|
10
|
-
const InnerMantineFileInput = ({ contextName,
|
|
10
|
+
const InnerMantineFileInput = ({ contextName, children, ...props }) => {
|
|
11
11
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
12
12
|
const { path, schema, errors } = props;
|
|
13
13
|
const fileProps = useFileProps.useFileProps({
|
|
@@ -21,13 +21,13 @@ const InnerMantineFileInput = ({ contextName, margin, children, ...props }) => {
|
|
|
21
21
|
if (!props.visible) {
|
|
22
22
|
return null;
|
|
23
23
|
}
|
|
24
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(core.Box, {
|
|
24
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(core.Box, { children: [
|
|
25
25
|
Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.FileInput, { ..._props }) : Component,
|
|
26
26
|
utils.parseFromValuesOrFunc(children, { componentProps, jsonFormsProps: props })
|
|
27
27
|
] });
|
|
28
28
|
};
|
|
29
|
-
function MantineFileInput(
|
|
30
|
-
return /* @__PURE__ */ jsxRuntime.jsx(InnerMantineFileInput, { ...props, contextName: "File"
|
|
29
|
+
function MantineFileInput(props) {
|
|
30
|
+
return /* @__PURE__ */ jsxRuntime.jsx(InnerMantineFileInput, { ...props, contextName: "File" });
|
|
31
31
|
}
|
|
32
32
|
exports.InnerMantineFileInput = InnerMantineFileInput;
|
|
33
33
|
exports.MantineFileInput = MantineFileInput;
|
|
@@ -4,9 +4,9 @@ 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 MantineFileInput = require("./MantineFileInput.cjs");
|
|
7
|
-
function MantineImageInput(
|
|
8
|
-
const { path } = core.useApi();
|
|
9
|
-
return /* @__PURE__ */ jsxRuntime.jsx(MantineFileInput.InnerMantineFileInput, { ...props, contextName: "Image",
|
|
7
|
+
function MantineImageInput(props) {
|
|
8
|
+
const { path } = core.useApi({ throwOnError: false, defaultValue: { path: "" } });
|
|
9
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MantineFileInput.InnerMantineFileInput, { ...props, contextName: "Image", children: ({ jsonFormsProps }) => jsonFormsProps.data ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
core$1.Image,
|
|
11
11
|
{
|
|
12
12
|
src: typeof jsonFormsProps.data === "string" ? `${path}/_image/${jsonFormsProps.data}` : URL.createObjectURL(jsonFormsProps.data),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const MantineNumberInput = require("./MantineNumberInput.cjs");
|
|
5
|
-
function MantineIntegerInput(
|
|
6
|
-
return /* @__PURE__ */ jsxRuntime.jsx(MantineNumberInput.InnerMantineNumberInput, { ...props, contextName: "Integer"
|
|
5
|
+
function MantineIntegerInput(props) {
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MantineNumberInput.InnerMantineNumberInput, { ...props, contextName: "Integer" });
|
|
7
7
|
}
|
|
8
8
|
exports.MantineIntegerInput = MantineIntegerInput;
|
|
@@ -6,7 +6,7 @@ const React = require("react");
|
|
|
6
6
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
7
7
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
8
8
|
const useJsonProps = require("../hooks/useJsonProps.cjs");
|
|
9
|
-
function MantineJsonInput(
|
|
9
|
+
function MantineJsonInput(props) {
|
|
10
10
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path } = props;
|
|
12
12
|
const jsonProps = useJsonProps.useJsonProps({ value, onChange: commonProps.onChange });
|
|
@@ -15,6 +15,6 @@ function MantineJsonInput({ margin, ...props }) {
|
|
|
15
15
|
if (!props.visible) {
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
|
-
return
|
|
18
|
+
return Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.JsonInput, { ..._props }) : Component;
|
|
19
19
|
}
|
|
20
20
|
exports.MantineJsonInput = MantineJsonInput;
|
|
@@ -6,7 +6,7 @@ const React = require("react");
|
|
|
6
6
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
7
7
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
8
8
|
const useNumberProps = require("../hooks/useNumberProps.cjs");
|
|
9
|
-
const InnerMantineNumberInput = ({ contextName,
|
|
9
|
+
const InnerMantineNumberInput = ({ contextName, ...props }) => {
|
|
10
10
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path } = props;
|
|
12
12
|
const numberProps = useNumberProps.useNumberProps(contextName.toLowerCase(), { value, onChange: commonProps.onChange });
|
|
@@ -15,10 +15,10 @@ const InnerMantineNumberInput = ({ contextName, margin, ...props }) => {
|
|
|
15
15
|
if (!props.visible) {
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
|
-
return
|
|
18
|
+
return Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.NumberInput, { ..._props }) : Component;
|
|
19
19
|
};
|
|
20
|
-
function MantineNumberInput(
|
|
21
|
-
return /* @__PURE__ */ jsxRuntime.jsx(InnerMantineNumberInput, { ...props, contextName: "Number"
|
|
20
|
+
function MantineNumberInput(props) {
|
|
21
|
+
return /* @__PURE__ */ jsxRuntime.jsx(InnerMantineNumberInput, { ...props, contextName: "Number" });
|
|
22
22
|
}
|
|
23
23
|
exports.InnerMantineNumberInput = InnerMantineNumberInput;
|
|
24
24
|
exports.MantineNumberInput = MantineNumberInput;
|
|
@@ -6,7 +6,7 @@ const React = require("react");
|
|
|
6
6
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
7
7
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
8
8
|
const useSelectProps = require("../hooks/useSelectProps.cjs");
|
|
9
|
-
function MantineOneOfEnumInput(
|
|
9
|
+
function MantineOneOfEnumInput(props) {
|
|
10
10
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path } = props;
|
|
12
12
|
const selectProps = useSelectProps.useSelectProps(value, props.options);
|
|
@@ -26,6 +26,6 @@ function MantineOneOfEnumInput({ margin, ...props }) {
|
|
|
26
26
|
if (!props.visible) {
|
|
27
27
|
return null;
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.Select, { ..._props }) : Component;
|
|
30
30
|
}
|
|
31
31
|
exports.MantineOneOfEnumInput = MantineOneOfEnumInput;
|
|
@@ -6,7 +6,7 @@ const React = require("react");
|
|
|
6
6
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
7
7
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
8
8
|
const useTextProps = require("../hooks/useTextProps.cjs");
|
|
9
|
-
function MantineTextInput(
|
|
9
|
+
function MantineTextInput(props) {
|
|
10
10
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path, schema } = props;
|
|
12
12
|
const textProps = useTextProps.useTextProps({ value, onChange: commonProps.onChange });
|
|
@@ -15,6 +15,6 @@ function MantineTextInput({ margin, ...props }) {
|
|
|
15
15
|
if (!props.visible) {
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
|
-
return
|
|
18
|
+
return Component === void 0 ? schema.format === "password" ? /* @__PURE__ */ jsxRuntime.jsx(core.PasswordInput, { ..._props }) : /* @__PURE__ */ jsxRuntime.jsx(core.TextInput, { ..._props }) : Component;
|
|
19
19
|
}
|
|
20
20
|
exports.MantineTextInput = MantineTextInput;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const core = require("@mantine/core");
|
|
5
4
|
const dates = require("@mantine/dates");
|
|
6
5
|
const React = require("react");
|
|
7
6
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
8
7
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
9
8
|
const useTimeProps = require("../hooks/useTimeProps.cjs");
|
|
10
|
-
function MantineTimeInput(
|
|
9
|
+
function MantineTimeInput(props) {
|
|
11
10
|
const { value, ...commonProps } = useCommonProps.useCommonProps(props);
|
|
12
11
|
const { path } = props;
|
|
13
12
|
const textProps = useTimeProps.useTimeProps({ value });
|
|
@@ -16,6 +15,6 @@ function MantineTimeInput({ margin, ...props }) {
|
|
|
16
15
|
if (!props.visible) {
|
|
17
16
|
return null;
|
|
18
17
|
}
|
|
19
|
-
return
|
|
18
|
+
return Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(dates.TimePicker, { ..._props }) : Component;
|
|
20
19
|
}
|
|
21
20
|
exports.MantineTimeInput = MantineTimeInput;
|
|
@@ -10,7 +10,6 @@ const isEnumArrayArrayControl = require("../../testers/isEnumArrayArrayControl.c
|
|
|
10
10
|
const isFilesControl = require("../../testers/isFilesControl.cjs");
|
|
11
11
|
const isImagesControl = require("../../testers/isImagesControl.cjs");
|
|
12
12
|
const isJsonArrayControl = require("../../testers/isJsonArrayControl.cjs");
|
|
13
|
-
const constants = require("../../utils/constants.cjs");
|
|
14
13
|
const MantineTableControl = require("../MantineTableControl/MantineTableControl.cjs");
|
|
15
14
|
const DeleteDialog = require("./DeleteDialog.cjs");
|
|
16
15
|
const Component = (props) => {
|
|
@@ -37,7 +36,7 @@ const Component = (props) => {
|
|
|
37
36
|
return null;
|
|
38
37
|
}
|
|
39
38
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
40
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
+
/* @__PURE__ */ jsxRuntime.jsx(MantineTableControl.MantineTableControl, { ...props, openDeleteDialog }),
|
|
41
40
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42
41
|
DeleteDialog.DeleteDialog,
|
|
43
42
|
{
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineEnumArrayInput = require("../MantineInputs/MantineEnumArrayInput.cjs");
|
|
7
6
|
const isEnumArrayControl = require("../testers/isEnumArrayControl.cjs");
|
|
8
|
-
const constants = require("../utils/constants.cjs");
|
|
9
7
|
const mantineEnumArrayRendererTester = core.rankWith(1, isEnumArrayControl.isEnumArrayControl);
|
|
10
|
-
const MantineEnumArrayRenderer = react.withJsonFormsMultiEnumProps(
|
|
8
|
+
const MantineEnumArrayRenderer = react.withJsonFormsMultiEnumProps(MantineEnumArrayInput.MantineEnumArrayInput);
|
|
11
9
|
exports.MantineEnumArrayRenderer = MantineEnumArrayRenderer;
|
|
12
10
|
exports.mantineEnumArrayRendererTester = mantineEnumArrayRendererTester;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineObjectInput = require("../MantineInputs/MantineObjectInput.cjs");
|
|
7
6
|
const mantineObjectControlTester = core.rankWith(1, core.isObjectControl);
|
|
8
|
-
const MantineObjectControl = react.withJsonFormsDetailProps(
|
|
7
|
+
const MantineObjectControl = react.withJsonFormsDetailProps(MantineObjectInput.MantineObjectInput);
|
|
9
8
|
exports.MantineObjectControl = MantineObjectControl;
|
|
10
9
|
exports.mantineObjectControlTester = mantineObjectControlTester;
|
|
@@ -19,8 +19,8 @@ const TableToolbar = React.memo(function TableToolbar2(props) {
|
|
|
19
19
|
...props
|
|
20
20
|
});
|
|
21
21
|
return /* @__PURE__ */ jsxRuntime.jsxs(core$1.Table.Tr, { children: [
|
|
22
|
-
/* @__PURE__ */ jsxRuntime.jsx(NoBorderTableCell.NoBorderTableCell, { colSpan: numColumns, children: ToolbarComponent }),
|
|
23
|
-
enabled && ToolbarAdd && /* @__PURE__ */ jsxRuntime.jsx(NoBorderTableCell.NoBorderTableCell, { align: "right", style: fixedCellSmall, children: ToolbarAdd })
|
|
22
|
+
/* @__PURE__ */ jsxRuntime.jsx(NoBorderTableCell.NoBorderTableCell, { p: 0, colSpan: numColumns, children: ToolbarComponent }),
|
|
23
|
+
enabled && ToolbarAdd && /* @__PURE__ */ jsxRuntime.jsx(NoBorderTableCell.NoBorderTableCell, { p: 0, align: "right", style: fixedCellSmall, children: ToolbarAdd })
|
|
24
24
|
] });
|
|
25
25
|
});
|
|
26
26
|
exports.TableToolbar = TableToolbar;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineBooleanInput = require("../MantineInputs/MantineBooleanInput.cjs");
|
|
7
|
-
const constants = require("../utils/constants.cjs");
|
|
8
6
|
const mantineBooleanControlTester = core.rankWith(1, core.isBooleanControl);
|
|
9
|
-
const MantineBooleanControl = react.withJsonFormsControlProps(
|
|
7
|
+
const MantineBooleanControl = react.withJsonFormsControlProps(MantineBooleanInput.MantineBooleanInput);
|
|
10
8
|
exports.MantineBooleanControl = MantineBooleanControl;
|
|
11
9
|
exports.mantineBooleanControlTester = mantineBooleanControlTester;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineDateInput = require("../MantineInputs/MantineDateInput.cjs");
|
|
7
|
-
const constants = require("../utils/constants.cjs");
|
|
8
6
|
const mantineDateControlTester = core.rankWith(2, core.isDateControl);
|
|
9
|
-
const MantineDateControl = react.withJsonFormsControlProps(
|
|
7
|
+
const MantineDateControl = react.withJsonFormsControlProps(MantineDateInput.MantineDateInput);
|
|
10
8
|
exports.MantineDateControl = MantineDateControl;
|
|
11
9
|
exports.mantineDateControlTester = mantineDateControlTester;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineDateTimeInput = require("../MantineInputs/MantineDateTimeInput.cjs");
|
|
7
|
-
const constants = require("../utils/constants.cjs");
|
|
8
6
|
const mantineDateTimeControlTester = core.rankWith(2, core.isDateTimeControl);
|
|
9
|
-
const MantineDateTimeControl = react.withJsonFormsControlProps(
|
|
7
|
+
const MantineDateTimeControl = react.withJsonFormsControlProps(MantineDateTimeInput.MantineDateTimeInput);
|
|
10
8
|
exports.MantineDateTimeControl = MantineDateTimeControl;
|
|
11
9
|
exports.mantineDateTimeControlTester = mantineDateTimeControlTester;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineEnumInput = require("../MantineInputs/MantineEnumInput.cjs");
|
|
7
|
-
const constants = require("../utils/constants.cjs");
|
|
8
6
|
const mantineEnumControlTester = core.rankWith(2, core.isEnumControl);
|
|
9
|
-
const MantineEnumControl = react.withJsonFormsEnumProps(
|
|
10
|
-
react.withTranslateProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineEnumInput.MantineEnumInput, { margin: constants.DEFAULT_MARGIN, ...props })),
|
|
11
|
-
false
|
|
12
|
-
);
|
|
7
|
+
const MantineEnumControl = react.withJsonFormsEnumProps(react.withTranslateProps(MantineEnumInput.MantineEnumInput), false);
|
|
13
8
|
exports.MantineEnumControl = MantineEnumControl;
|
|
14
9
|
exports.mantineEnumControlTester = mantineEnumControlTester;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineFileInput = require("../MantineInputs/MantineFileInput.cjs");
|
|
7
6
|
const isFileControl = require("../testers/isFileControl.cjs");
|
|
8
|
-
const constants = require("../utils/constants.cjs");
|
|
9
7
|
const mantineFileControlTester = core.rankWith(3, isFileControl.isFileControl);
|
|
10
|
-
const MantineFileControl = react.withJsonFormsControlProps(
|
|
8
|
+
const MantineFileControl = react.withJsonFormsControlProps(MantineFileInput.MantineFileInput);
|
|
11
9
|
exports.MantineFileControl = MantineFileControl;
|
|
12
10
|
exports.mantineFileControlTester = mantineFileControlTester;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineImageInput = require("../MantineInputs/MantineImageInput.cjs");
|
|
7
6
|
const isImageControl = require("../testers/isImageControl.cjs");
|
|
8
|
-
const constants = require("../utils/constants.cjs");
|
|
9
7
|
const mantineImageControlTester = core.rankWith(4, isImageControl.isImageControl);
|
|
10
|
-
const MantineImageControl = react.withJsonFormsControlProps(
|
|
8
|
+
const MantineImageControl = react.withJsonFormsControlProps(MantineImageInput.MantineImageInput);
|
|
11
9
|
exports.MantineImageControl = MantineImageControl;
|
|
12
10
|
exports.mantineImageControlTester = mantineImageControlTester;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineIntegerInput = require("../MantineInputs/MantineIntegerInput.cjs");
|
|
7
|
-
const constants = require("../utils/constants.cjs");
|
|
8
6
|
const mantineIntegerControlTester = core.rankWith(1, core.isIntegerControl);
|
|
9
|
-
const MantineIntegerControl = react.withJsonFormsControlProps(
|
|
7
|
+
const MantineIntegerControl = react.withJsonFormsControlProps(MantineIntegerInput.MantineIntegerInput);
|
|
10
8
|
exports.MantineIntegerControl = MantineIntegerControl;
|
|
11
9
|
exports.mantineIntegerControlTester = mantineIntegerControlTester;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineJsonInput = require("../MantineInputs/MantineJsonInput.cjs");
|
|
7
6
|
const isJsonControl = require("../testers/isJsonControl.cjs");
|
|
8
|
-
const constants = require("../utils/constants.cjs");
|
|
9
7
|
const mantineJsonControlTester = core.rankWith(2, isJsonControl.isJsonControl);
|
|
10
|
-
const MantineJsonControl = react.withJsonFormsControlProps(
|
|
8
|
+
const MantineJsonControl = react.withJsonFormsControlProps(MantineJsonInput.MantineJsonInput);
|
|
11
9
|
exports.MantineJsonControl = MantineJsonControl;
|
|
12
10
|
exports.mantineJsonControlTester = mantineJsonControlTester;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
3
|
const core = require("@jsonforms/core");
|
|
5
4
|
const react = require("@jsonforms/react");
|
|
6
5
|
const MantineNumberInput = require("../MantineInputs/MantineNumberInput.cjs");
|
|
7
|
-
const constants = require("../utils/constants.cjs");
|
|
8
6
|
const mantineNumberControlTester = core.rankWith(1, core.isNumberControl);
|
|
9
|
-
const MantineNumberControl = react.withJsonFormsControlProps(
|
|
7
|
+
const MantineNumberControl = react.withJsonFormsControlProps(MantineNumberInput.MantineNumberInput);
|
|
10
8
|
exports.MantineNumberControl = MantineNumberControl;
|
|
11
9
|
exports.mantineNumberControlTester = mantineNumberControlTester;
|