fastapi-rtk 0.1.22 → 0.1.23
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 +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateInput.cjs +5 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.cjs +5 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumInput.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineJsonInput.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineNumberInput.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTextInput.cjs +4 -7
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.cjs +3 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineEnumArrayControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineBooleanControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateTimeControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineEnumControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineIntegerControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineJsonControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineNumberControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineOneOfEnumControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineTextControl.cjs +2 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.cjs +3 -9
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +2 -8
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +2 -8
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/constants.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/layout.cjs +3 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineBooleanInput.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateInput.mjs +5 -4
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.mjs +5 -4
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumInput.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineJsonInput.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineNumberInput.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineTextInput.mjs +5 -8
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.mjs +3 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineEnumArrayControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineBooleanControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineDateControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineDateTimeControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineEnumControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineIntegerControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineJsonControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineNumberControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineOneOfEnumControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/controls/MantineTextControl.mjs +2 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.mjs +3 -9
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.mjs +2 -8
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.mjs +2 -8
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/constants.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/layout.mjs +3 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.cjs +2 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.cjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.mjs +2 -2
- package/dist/.external/esm/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.mjs +1 -1
- package/dist/core/cjs/ActionIcons/Download/Download.cjs +25 -86
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/Body.cjs +73 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter.cjs +87 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.cjs +180 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/FilterMenuButton.cjs +87 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/FilterModeDescription.cjs +26 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/useColumns.cjs +5 -55
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/utils.cjs +9 -9
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +2 -2
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideForm.cjs +1 -1
- package/dist/core/cjs/Wrappers/Provider/Provider.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideAuth.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideInfo.cjs +1 -1
- package/dist/core/cjs/fab-react-toolkit-patch/api/hooks/useProvideApi.cjs +2 -2
- package/dist/core/cjs/fab-react-toolkit-patch/auth/hooks/useProvideAuth.cjs +2 -2
- package/dist/core/cjs/fab-react-toolkit-patch/auth/hooks/useProvideInfo.cjs +1 -1
- package/dist/core/esm/ActionIcons/Download/Download.mjs +27 -88
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/Body.mjs +73 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter.mjs +87 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter/ColumnHeaderFilter.mjs → ColumnHeaderFilterInput/ColumnHeaderFilterInput.mjs} +39 -128
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/FilterMenuButton.mjs +87 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/FilterModeDescription.mjs +26 -0
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/useColumns.mjs +5 -55
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/utils.mjs +9 -9
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +2 -2
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideForm.mjs +1 -1
- package/dist/core/esm/Wrappers/Provider/Provider.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideAuth.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideInfo.mjs +1 -1
- package/dist/core/esm/fab-react-toolkit-patch/api/hooks/useProvideApi.mjs +2 -2
- package/dist/core/esm/fab-react-toolkit-patch/auth/hooks/useProvideAuth.mjs +2 -2
- package/dist/core/esm/fab-react-toolkit-patch/auth/hooks/useProvideInfo.mjs +1 -1
- package/dist/core/lib/Tables/NextGenDataGrid/NextGenDataGrid.d.ts +80 -2
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/Body.d.ts +6 -0
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter/ColumnHeaderFilter.d.ts → ColumnHeaderFilter.d.ts} +2 -1
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.d.ts +13 -0
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/FilterMenuButton.d.ts +10 -0
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/FilterModeDescription.d.ts +8 -0
- package/dist/jsonforms/cjs/MantineInputs/MantineBooleanInput.cjs +4 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineDateInput.cjs +5 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineDateTimeInput.cjs +5 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineEnumArrayInput.cjs +4 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineEnumInput.cjs +4 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineJsonInput.cjs +4 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineNumberInput.cjs +4 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineOneOfEnumInput.cjs +4 -4
- package/dist/jsonforms/cjs/MantineInputs/MantineTextInput.cjs +4 -7
- package/dist/jsonforms/cjs/complex/MantineArrayControl/MantineArrayControl.cjs +3 -1
- package/dist/jsonforms/cjs/complex/MantineEnumArrayControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineBooleanControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineDateControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineDateTimeControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineEnumControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineIntegerControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineJsonControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineNumberControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineOneOfEnumControl.cjs +2 -1
- package/dist/jsonforms/cjs/controls/MantineTextControl.cjs +2 -1
- package/dist/jsonforms/cjs/layouts/MantineGroupLayoutRenderer.cjs +3 -9
- package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +2 -8
- package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +2 -8
- package/dist/jsonforms/cjs/utils/constants.cjs +4 -0
- package/dist/jsonforms/cjs/utils/layout.cjs +3 -2
- package/dist/jsonforms/esm/MantineInputs/MantineBooleanInput.mjs +5 -5
- package/dist/jsonforms/esm/MantineInputs/MantineDateInput.mjs +5 -4
- package/dist/jsonforms/esm/MantineInputs/MantineDateTimeInput.mjs +5 -4
- package/dist/jsonforms/esm/MantineInputs/MantineEnumArrayInput.mjs +5 -5
- package/dist/jsonforms/esm/MantineInputs/MantineEnumInput.mjs +5 -5
- package/dist/jsonforms/esm/MantineInputs/MantineJsonInput.mjs +5 -5
- package/dist/jsonforms/esm/MantineInputs/MantineNumberInput.mjs +5 -5
- package/dist/jsonforms/esm/MantineInputs/MantineOneOfEnumInput.mjs +5 -5
- package/dist/jsonforms/esm/MantineInputs/MantineTextInput.mjs +5 -8
- package/dist/jsonforms/esm/complex/MantineArrayControl/MantineArrayControl.mjs +3 -1
- package/dist/jsonforms/esm/complex/MantineEnumArrayControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineBooleanControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineDateControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineDateTimeControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineEnumControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineIntegerControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineJsonControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineNumberControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineOneOfEnumControl.mjs +2 -1
- package/dist/jsonforms/esm/controls/MantineTextControl.mjs +2 -1
- package/dist/jsonforms/esm/layouts/MantineGroupLayoutRenderer.mjs +3 -9
- package/dist/jsonforms/esm/layouts/MantineHotizontalLayoutRenderer.mjs +2 -8
- package/dist/jsonforms/esm/layouts/MantineVerticalLayoutRenderer.mjs +2 -8
- package/dist/jsonforms/esm/utils/constants.mjs +4 -0
- package/dist/jsonforms/esm/utils/layout.mjs +3 -2
- package/dist/jsonforms/lib/MantineInputs/MantineBooleanInput.d.ts +4 -1
- package/dist/jsonforms/lib/MantineInputs/MantineDateInput.d.ts +4 -1
- package/dist/jsonforms/lib/MantineInputs/MantineDateTimeInput.d.ts +4 -1
- package/dist/jsonforms/lib/MantineInputs/MantineEnumArrayInput.d.ts +4 -1
- package/dist/jsonforms/lib/MantineInputs/MantineEnumInput.d.ts +4 -1
- package/dist/jsonforms/lib/MantineInputs/MantineJsonInput.d.ts +4 -1
- package/dist/jsonforms/lib/MantineInputs/MantineNumberInput.d.ts +4 -1
- package/dist/jsonforms/lib/MantineInputs/MantineOneOfEnumInput.d.ts +4 -1
- package/dist/jsonforms/lib/MantineInputs/MantineTextInput.d.ts +4 -1
- package/dist/jsonforms/lib/utils/constants.d.ts +1 -0
- 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/.external/cjs/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconInfoCircle.cjs +0 -10
- package/dist/.external/esm/@tabler_icons-react@3.18.0_react@18.3.1/@tabler/icons-react/dist/esm/icons/IconInfoCircle.mjs +0 -11
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter/ColumnHeaderFilter.cjs +0 -269
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/mutation.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/notifyManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/query.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/queryObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/removable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/retryer.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/thenable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/utils.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/suspense.cjs +0 -0
- /package/dist/.external/cjs/{zustand@5.0.4_@types_react@18.3.21_react@18.3.1 → zustand@5.0.5_@types_react@18.3.22_react@18.3.1}/zustand/esm/react.cjs +0 -0
- /package/dist/.external/cjs/{zustand@5.0.4_@types_react@18.3.21_react@18.3.1 → zustand@5.0.5_@types_react@18.3.22_react@18.3.1}/zustand/esm/vanilla.cjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/mutation.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/notifyManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/query.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/queryObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/removable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/retryer.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/thenable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.76.0 → @tanstack_query-core@5.76.2}/@tanstack/query-core/build/modern/utils.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.76.1_react@18.3.1 → @tanstack_react-query@5.76.2_react@18.3.1}/@tanstack/react-query/build/modern/suspense.mjs +0 -0
- /package/dist/.external/esm/{zustand@5.0.4_@types_react@18.3.21_react@18.3.1 → zustand@5.0.5_@types_react@18.3.22_react@18.3.1}/zustand/esm/react.mjs +0 -0
- /package/dist/.external/esm/{zustand@5.0.4_@types_react@18.3.21_react@18.3.1 → zustand@5.0.5_@types_react@18.3.22_react@18.3.1}/zustand/esm/vanilla.mjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderBetweenInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderBooleanInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderDateInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderMultiSelectInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderNumberInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderSelectInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTagsInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTagsNumberInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTextInput.cjs +0 -0
- /package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/headerinput.module.css.cjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderBetweenInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderBooleanInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderDateInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderMultiSelectInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderNumberInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderSelectInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTagsInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTagsNumberInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTextInput.mjs +0 -0
- /package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/headerinput.module.css.mjs +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderBetweenInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderBooleanInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderDateInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderMultiSelectInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderNumberInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderSelectInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTagsInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTagsNumberInput.d.ts +0 -0
- /package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/{ColumnHeaderFilter → ColumnHeaderFilterInput}/HeaderInputs/HeaderTextInput.d.ts +0 -0
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineBooleanInput.cjs
CHANGED
|
@@ -6,16 +6,16 @@ const React = require("react");
|
|
|
6
6
|
const useBooleanProps = require("../hooks/useBooleanProps.cjs");
|
|
7
7
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
8
8
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
9
|
-
function MantineBooleanInput(props) {
|
|
9
|
+
function MantineBooleanInput({ margin, ...props }) {
|
|
10
10
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path, data, schema } = props;
|
|
12
12
|
const isCheckbox = React.useMemo(() => schema.format === "checkbox", [schema.format]);
|
|
13
13
|
const booleanProps = useBooleanProps.useBooleanProps(isCheckbox, { data, onChange: commonProps.onChange });
|
|
14
14
|
const componentProps = React.useMemo(() => ({ ...commonProps, ...booleanProps }), [booleanProps, commonProps]);
|
|
15
15
|
const [Component, _props] = useContextProps.useContextProps("Boolean", path, componentProps, props);
|
|
16
|
-
if (
|
|
17
|
-
return
|
|
16
|
+
if (!props.visible) {
|
|
17
|
+
return null;
|
|
18
18
|
}
|
|
19
|
-
return Component;
|
|
19
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? isCheckbox ? /* @__PURE__ */ jsxRuntime.jsx(core.Checkbox, { ..._props }) : /* @__PURE__ */ jsxRuntime.jsx(core.Select, { ..._props }) : Component });
|
|
20
20
|
}
|
|
21
21
|
exports.MantineBooleanInput = MantineBooleanInput;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateInput.cjs
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
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");
|
|
4
5
|
const dates = require("@mantine/dates");
|
|
5
6
|
const React = require("react");
|
|
6
7
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
7
8
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
8
9
|
const useDateProps = require("../hooks/useDateProps.cjs");
|
|
9
|
-
function MantineDateInput(props) {
|
|
10
|
+
function MantineDateInput({ margin, ...props }) {
|
|
10
11
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
11
12
|
const { path, data } = props;
|
|
12
13
|
const dateProps = useDateProps.useDateProps("date", true, { data, onChange: commonProps.onChange });
|
|
13
14
|
const componentProps = React.useMemo(() => ({ ...commonProps, ...dateProps }), [commonProps, dateProps]);
|
|
14
15
|
const [Component, _props] = useContextProps.useContextProps("Date", path, componentProps, props);
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
16
|
+
if (!props.visible) {
|
|
17
|
+
return null;
|
|
17
18
|
}
|
|
18
|
-
return Component;
|
|
19
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(dates.DateInput, { ..._props }) : Component });
|
|
19
20
|
}
|
|
20
21
|
exports.MantineDateInput = MantineDateInput;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.cjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
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");
|
|
4
5
|
const dates = require("@mantine/dates");
|
|
5
6
|
const hooks = require("@mantine/hooks");
|
|
6
7
|
const React = require("react");
|
|
7
8
|
const useCommonProps = require("../hooks/useCommonProps.cjs");
|
|
8
9
|
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
9
10
|
const useDateProps = require("../hooks/useDateProps.cjs");
|
|
10
|
-
function MantineDateTimeInput(props) {
|
|
11
|
+
function MantineDateTimeInput({ margin, ...props }) {
|
|
11
12
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
12
13
|
const { path, data } = props;
|
|
13
14
|
const _dateProps = useDateProps.useDateProps("date-time", false, { data, toggle: () => null, onChange: commonProps.onChange });
|
|
@@ -20,9 +21,9 @@ function MantineDateTimeInput(props) {
|
|
|
20
21
|
});
|
|
21
22
|
const componentProps = React.useMemo(() => ({ ...commonProps, ...dateProps }), [commonProps, dateProps]);
|
|
22
23
|
const [Component, _props] = useContextProps.useContextProps("DateTime", path, componentProps, props);
|
|
23
|
-
if (
|
|
24
|
-
return
|
|
24
|
+
if (!props.visible) {
|
|
25
|
+
return null;
|
|
25
26
|
}
|
|
26
|
-
return Component;
|
|
27
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(dates.DateTimePicker, { ..._props }) : Component });
|
|
27
28
|
}
|
|
28
29
|
exports.MantineDateTimeInput = MantineDateTimeInput;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.cjs
CHANGED
|
@@ -6,15 +6,15 @@ 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(props) {
|
|
9
|
+
function MantineEnumArrayInput({ margin, ...props }) {
|
|
10
10
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path, data } = props;
|
|
12
12
|
const multiSelectProps = useMultiSelectProps.useMultiSelectProps(data, props.schema.items, { onChange: commonProps.onChange });
|
|
13
13
|
const componentProps = React.useMemo(() => ({ ...commonProps, ...multiSelectProps }), [commonProps, multiSelectProps]);
|
|
14
14
|
const [Component, _props] = useContextProps.useContextProps("EnumArray", path, componentProps, props);
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
15
|
+
if (!props.visible) {
|
|
16
|
+
return null;
|
|
17
17
|
}
|
|
18
|
-
return Component;
|
|
18
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.MultiSelect, { ..._props }) : Component });
|
|
19
19
|
}
|
|
20
20
|
exports.MantineEnumArrayInput = MantineEnumArrayInput;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumInput.cjs
CHANGED
|
@@ -6,15 +6,15 @@ 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(props) {
|
|
9
|
+
function MantineEnumInput({ margin, ...props }) {
|
|
10
10
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path, data } = props;
|
|
12
12
|
const selectProps = useSelectProps.useSelectProps(data, props.schema);
|
|
13
13
|
const componentProps = React.useMemo(() => ({ ...commonProps, ...selectProps }), [commonProps, selectProps]);
|
|
14
14
|
const [Component, _props] = useContextProps.useContextProps("Enum", path, componentProps, props);
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
15
|
+
if (!props.visible) {
|
|
16
|
+
return null;
|
|
17
17
|
}
|
|
18
|
-
return Component;
|
|
18
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.Select, { ..._props }) : Component });
|
|
19
19
|
}
|
|
20
20
|
exports.MantineEnumInput = MantineEnumInput;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineJsonInput.cjs
CHANGED
|
@@ -6,15 +6,15 @@ 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(props) {
|
|
9
|
+
function MantineJsonInput({ margin, ...props }) {
|
|
10
10
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path, data } = props;
|
|
12
12
|
const jsonProps = useJsonProps.useJsonProps({ data, onChange: commonProps.onChange });
|
|
13
13
|
const componentProps = React.useMemo(() => ({ ...commonProps, ...jsonProps }), [commonProps, jsonProps]);
|
|
14
14
|
const [Component, _props] = useContextProps.useContextProps("Text", path, componentProps, props);
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
15
|
+
if (!props.visible) {
|
|
16
|
+
return null;
|
|
17
17
|
}
|
|
18
|
-
return Component;
|
|
18
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.JsonInput, { ..._props }) : Component });
|
|
19
19
|
}
|
|
20
20
|
exports.MantineJsonInput = MantineJsonInput;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineNumberInput.cjs
CHANGED
|
@@ -6,15 +6,15 @@ 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
|
-
function MantineNumberInput(props) {
|
|
9
|
+
function MantineNumberInput({ margin, ...props }) {
|
|
10
10
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path, data } = props;
|
|
12
12
|
const numberProps = useNumberProps.useNumberProps("number", { data, onChange: commonProps.onChange });
|
|
13
13
|
const componentProps = React.useMemo(() => ({ ...commonProps, ...numberProps }), [commonProps, numberProps]);
|
|
14
14
|
const [Component, _props] = useContextProps.useContextProps("Number", path, componentProps, props);
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
15
|
+
if (!props.visible) {
|
|
16
|
+
return null;
|
|
17
17
|
}
|
|
18
|
-
return Component;
|
|
18
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.NumberInput, { ..._props }) : Component });
|
|
19
19
|
}
|
|
20
20
|
exports.MantineNumberInput = MantineNumberInput;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.cjs
CHANGED
|
@@ -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(props) {
|
|
9
|
+
function MantineOneOfEnumInput({ margin, ...props }) {
|
|
10
10
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path, data, schema } = props;
|
|
12
12
|
const selectProps = useSelectProps.useSelectProps(data, schema);
|
|
@@ -23,9 +23,9 @@ function MantineOneOfEnumInput(props) {
|
|
|
23
23
|
[commonProps, errorProps, selectProps]
|
|
24
24
|
);
|
|
25
25
|
const [Component, _props] = useContextProps.useContextProps("OneOfEnum", path, componentProps, props);
|
|
26
|
-
if (
|
|
27
|
-
return
|
|
26
|
+
if (!props.visible) {
|
|
27
|
+
return null;
|
|
28
28
|
}
|
|
29
|
-
return Component;
|
|
29
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(core.Select, { ..._props }) : Component });
|
|
30
30
|
}
|
|
31
31
|
exports.MantineOneOfEnumInput = MantineOneOfEnumInput;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTextInput.cjs
CHANGED
|
@@ -6,18 +6,15 @@ 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(props) {
|
|
9
|
+
function MantineTextInput({ margin, ...props }) {
|
|
10
10
|
const commonProps = useCommonProps.useCommonProps(props);
|
|
11
11
|
const { path, data, schema } = props;
|
|
12
12
|
const textProps = useTextProps.useTextProps({ data, onChange: commonProps.onChange });
|
|
13
13
|
const componentProps = React.useMemo(() => ({ ...commonProps, ...textProps }), [commonProps, textProps]);
|
|
14
14
|
const [Component, _props] = useContextProps.useContextProps("Text", path, componentProps, props);
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core.PasswordInput, { ..._props });
|
|
18
|
-
}
|
|
19
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core.TextInput, { ..._props });
|
|
15
|
+
if (!props.visible) {
|
|
16
|
+
return null;
|
|
20
17
|
}
|
|
21
|
-
return Component;
|
|
18
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? schema.format === "password" ? /* @__PURE__ */ jsxRuntime.jsx(core.PasswordInput, { ..._props }) : /* @__PURE__ */ jsxRuntime.jsx(core.TextInput, { ..._props }) : Component });
|
|
22
19
|
}
|
|
23
20
|
exports.MantineTextInput = MantineTextInput;
|
|
@@ -3,9 +3,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
|
+
const core = require("@mantine/core");
|
|
6
7
|
const React = require("react");
|
|
7
8
|
const isEnumArrayArrayControl = require("../../testers/isEnumArrayArrayControl.cjs");
|
|
8
9
|
const isJsonArrayControl = require("../../testers/isJsonArrayControl.cjs");
|
|
10
|
+
const constants = require("../../utils/constants.cjs");
|
|
9
11
|
const MantineTableControl = require("../MantineTableControl/MantineTableControl.cjs");
|
|
10
12
|
const DeleteDialog = require("./DeleteDialog.cjs");
|
|
11
13
|
const Component = (props) => {
|
|
@@ -32,7 +34,7 @@ const Component = (props) => {
|
|
|
32
34
|
return null;
|
|
33
35
|
}
|
|
34
36
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35
|
-
/* @__PURE__ */ jsxRuntime.jsx(MantineTableControl.MantineTableControl, { ...props, openDeleteDialog }),
|
|
37
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Box, { m: constants.DEFAULT_MARGIN, children: /* @__PURE__ */ jsxRuntime.jsx(MantineTableControl.MantineTableControl, { ...props, openDeleteDialog }) }),
|
|
36
38
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37
39
|
DeleteDialog.DeleteDialog,
|
|
38
40
|
{
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineEnumArrayControl.cjs
CHANGED
|
@@ -5,7 +5,8 @@ const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms
|
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineEnumArrayInput = require("../MantineInputs/MantineEnumArrayInput.cjs");
|
|
7
7
|
const isEnumArrayControl = require("../testers/isEnumArrayControl.cjs");
|
|
8
|
+
const constants = require("../utils/constants.cjs");
|
|
8
9
|
const mantineEnumArrayRendererTester = jsonformsCore_esm.rankWith(1, isEnumArrayControl.isEnumArrayControl);
|
|
9
|
-
const MantineEnumArrayRenderer = jsonformsReact_esm.withJsonFormsMultiEnumProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineEnumArrayInput.MantineEnumArrayInput, { ...props }));
|
|
10
|
+
const MantineEnumArrayRenderer = jsonformsReact_esm.withJsonFormsMultiEnumProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineEnumArrayInput.MantineEnumArrayInput, { margin: constants.DEFAULT_MARGIN, ...props }));
|
|
10
11
|
exports.MantineEnumArrayRenderer = MantineEnumArrayRenderer;
|
|
11
12
|
exports.mantineEnumArrayRendererTester = mantineEnumArrayRendererTester;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineBooleanControl.cjs
CHANGED
|
@@ -4,7 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineBooleanInput = require("../MantineInputs/MantineBooleanInput.cjs");
|
|
7
|
+
const constants = require("../utils/constants.cjs");
|
|
7
8
|
const mantineBooleanControlTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.isBooleanControl);
|
|
8
|
-
const MantineBooleanControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineBooleanInput.MantineBooleanInput, { ...props }));
|
|
9
|
+
const MantineBooleanControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineBooleanInput.MantineBooleanInput, { margin: constants.DEFAULT_MARGIN, ...props }));
|
|
9
10
|
exports.MantineBooleanControl = MantineBooleanControl;
|
|
10
11
|
exports.mantineBooleanControlTester = mantineBooleanControlTester;
|
|
@@ -4,7 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineDateInput = require("../MantineInputs/MantineDateInput.cjs");
|
|
7
|
+
const constants = require("../utils/constants.cjs");
|
|
7
8
|
const mantineDateControlTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.isDateControl);
|
|
8
|
-
const MantineDateControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineDateInput.MantineDateInput, { ...props }));
|
|
9
|
+
const MantineDateControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineDateInput.MantineDateInput, { margin: constants.DEFAULT_MARGIN, ...props }));
|
|
9
10
|
exports.MantineDateControl = MantineDateControl;
|
|
10
11
|
exports.mantineDateControlTester = mantineDateControlTester;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineDateTimeControl.cjs
CHANGED
|
@@ -4,7 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineDateTimeInput = require("../MantineInputs/MantineDateTimeInput.cjs");
|
|
7
|
+
const constants = require("../utils/constants.cjs");
|
|
7
8
|
const mantineDateTimeControlTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.isDateTimeControl);
|
|
8
|
-
const MantineDateTimeControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineDateTimeInput.MantineDateTimeInput, { ...props }));
|
|
9
|
+
const MantineDateTimeControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineDateTimeInput.MantineDateTimeInput, { margin: constants.DEFAULT_MARGIN, ...props }));
|
|
9
10
|
exports.MantineDateTimeControl = MantineDateTimeControl;
|
|
10
11
|
exports.mantineDateTimeControlTester = mantineDateTimeControlTester;
|
|
@@ -4,9 +4,10 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineEnumInput = require("../MantineInputs/MantineEnumInput.cjs");
|
|
7
|
+
const constants = require("../utils/constants.cjs");
|
|
7
8
|
const mantineEnumControlTester = jsonformsCore_esm.rankWith(2, jsonformsCore_esm.isEnumControl);
|
|
8
9
|
const MantineEnumControl = jsonformsReact_esm.withJsonFormsEnumProps(
|
|
9
|
-
jsonformsReact_esm.withTranslateProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineEnumInput.MantineEnumInput, { ...props })),
|
|
10
|
+
jsonformsReact_esm.withTranslateProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineEnumInput.MantineEnumInput, { margin: constants.DEFAULT_MARGIN, ...props })),
|
|
10
11
|
false
|
|
11
12
|
);
|
|
12
13
|
exports.MantineEnumControl = MantineEnumControl;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineIntegerControl.cjs
CHANGED
|
@@ -4,7 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineNumberInput = require("../MantineInputs/MantineNumberInput.cjs");
|
|
7
|
+
const constants = require("../utils/constants.cjs");
|
|
7
8
|
const mantineIntegerControlTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.isIntegerControl);
|
|
8
|
-
const MantineIntegerControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineNumberInput.MantineNumberInput, { ...props }));
|
|
9
|
+
const MantineIntegerControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineNumberInput.MantineNumberInput, { margin: constants.DEFAULT_MARGIN, ...props }));
|
|
9
10
|
exports.MantineIntegerControl = MantineIntegerControl;
|
|
10
11
|
exports.mantineIntegerControlTester = mantineIntegerControlTester;
|
|
@@ -5,7 +5,8 @@ const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms
|
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineJsonInput = require("../MantineInputs/MantineJsonInput.cjs");
|
|
7
7
|
const isJsonControl = require("../testers/isJsonControl.cjs");
|
|
8
|
+
const constants = require("../utils/constants.cjs");
|
|
8
9
|
const mantineJsonControlTester = jsonformsCore_esm.rankWith(2, isJsonControl.isJsonControl);
|
|
9
|
-
const MantineJsonControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineJsonInput.MantineJsonInput, { ...props }));
|
|
10
|
+
const MantineJsonControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineJsonInput.MantineJsonInput, { margin: constants.DEFAULT_MARGIN, ...props }));
|
|
10
11
|
exports.MantineJsonControl = MantineJsonControl;
|
|
11
12
|
exports.mantineJsonControlTester = mantineJsonControlTester;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineNumberControl.cjs
CHANGED
|
@@ -4,7 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineNumberInput = require("../MantineInputs/MantineNumberInput.cjs");
|
|
7
|
+
const constants = require("../utils/constants.cjs");
|
|
7
8
|
const mantineNumberControlTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.isNumberControl);
|
|
8
|
-
const MantineNumberControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineNumberInput.MantineNumberInput, { ...props }));
|
|
9
|
+
const MantineNumberControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineNumberInput.MantineNumberInput, { margin: constants.DEFAULT_MARGIN, ...props }));
|
|
9
10
|
exports.MantineNumberControl = MantineNumberControl;
|
|
10
11
|
exports.mantineNumberControlTester = mantineNumberControlTester;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/controls/MantineOneOfEnumControl.cjs
CHANGED
|
@@ -4,9 +4,10 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineOneOfEnumInput = require("../MantineInputs/MantineOneOfEnumInput.cjs");
|
|
7
|
+
const constants = require("../utils/constants.cjs");
|
|
7
8
|
const mantineOneOfEnumControlTester = jsonformsCore_esm.rankWith(2, jsonformsCore_esm.isOneOfControl);
|
|
8
9
|
const MantineOneOfEnumControl = jsonformsReact_esm.withJsonFormsOneOfEnumProps(
|
|
9
|
-
jsonformsReact_esm.withTranslateProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineOneOfEnumInput.MantineOneOfEnumInput, { ...props })),
|
|
10
|
+
jsonformsReact_esm.withTranslateProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineOneOfEnumInput.MantineOneOfEnumInput, { margin: constants.DEFAULT_MARGIN, ...props })),
|
|
10
11
|
false
|
|
11
12
|
);
|
|
12
13
|
exports.MantineOneOfEnumControl = MantineOneOfEnumControl;
|
|
@@ -4,7 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const MantineTextInput = require("../MantineInputs/MantineTextInput.cjs");
|
|
7
|
+
const constants = require("../utils/constants.cjs");
|
|
7
8
|
const mantineTextControlTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.isStringControl);
|
|
8
|
-
const MantineTextControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineTextInput.MantineTextInput, { ...props }));
|
|
9
|
+
const MantineTextControl = jsonformsReact_esm.withJsonFormsControlProps((props) => /* @__PURE__ */ jsxRuntime.jsx(MantineTextInput.MantineTextInput, { margin: constants.DEFAULT_MARGIN, ...props }));
|
|
9
10
|
exports.MantineTextControl = MantineTextControl;
|
|
10
11
|
exports.mantineTextControlTester = mantineTextControlTester;
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineGroupLayoutRenderer.cjs
CHANGED
|
@@ -5,16 +5,10 @@ const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms
|
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const core = require("@mantine/core");
|
|
7
7
|
const layout = require("../utils/layout.cjs");
|
|
8
|
-
const Component = ({ uischema, schema, path, enabled, renderers, cells, label }) => {
|
|
8
|
+
const Component = ({ visible, uischema, schema, path, enabled, renderers, cells, label }) => {
|
|
9
9
|
const verticalLayout = uischema;
|
|
10
|
-
const childProps = {
|
|
11
|
-
|
|
12
|
-
schema,
|
|
13
|
-
path,
|
|
14
|
-
enabled,
|
|
15
|
-
direction: "column"
|
|
16
|
-
};
|
|
17
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core.Fieldset, { legend: label, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells }) });
|
|
10
|
+
const childProps = { visible, elements: verticalLayout.elements, schema, path, enabled, direction: "column" };
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Fieldset, { legend: label, m: "0.5rem", mx: "calc(0.5rem + 2px)", children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells }) });
|
|
18
12
|
};
|
|
19
13
|
const MantineGroupLayoutTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.uiTypeIs("Group"));
|
|
20
14
|
const MantineGroupLayoutRenderer = jsonformsReact_esm.withJsonFormsLayoutProps(Component);
|
|
@@ -4,15 +4,9 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const layout = require("../utils/layout.cjs");
|
|
7
|
-
const Component = ({ uischema, renderers, cells, schema, path, enabled }) => {
|
|
7
|
+
const Component = ({ visible, uischema, renderers, cells, schema, path, enabled }) => {
|
|
8
8
|
const layout$1 = uischema;
|
|
9
|
-
const childProps = {
|
|
10
|
-
elements: layout$1.elements,
|
|
11
|
-
schema,
|
|
12
|
-
path,
|
|
13
|
-
enabled,
|
|
14
|
-
direction: "row"
|
|
15
|
-
};
|
|
9
|
+
const childProps = { visible, elements: layout$1.elements, schema, path, enabled, direction: "row" };
|
|
16
10
|
return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells });
|
|
17
11
|
};
|
|
18
12
|
const mantineHorizontalLayoutTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.uiTypeIs("HorizontalLayout"));
|
package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs
CHANGED
|
@@ -4,15 +4,9 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.5.1/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
5
5
|
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.5.1_@jsonforms_core@3.5.1_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
6
6
|
const layout = require("../utils/layout.cjs");
|
|
7
|
-
const Component = ({ uischema, schema, path, enabled, renderers, cells }) => {
|
|
7
|
+
const Component = ({ visible, uischema, schema, path, enabled, renderers, cells }) => {
|
|
8
8
|
const verticalLayout = uischema;
|
|
9
|
-
const childProps = {
|
|
10
|
-
elements: verticalLayout.elements,
|
|
11
|
-
schema,
|
|
12
|
-
path,
|
|
13
|
-
enabled,
|
|
14
|
-
direction: "column"
|
|
15
|
-
};
|
|
9
|
+
const childProps = { visible, elements: verticalLayout.elements, schema, path, enabled, direction: "column" };
|
|
16
10
|
return /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, renderers, cells });
|
|
17
11
|
};
|
|
18
12
|
const mantineVerticalLayoutTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.uiTypeIs("VerticalLayout"));
|
|
@@ -11,6 +11,7 @@ const renderLayoutElements = (elements, schema, path, enabled, direction, render
|
|
|
11
11
|
{
|
|
12
12
|
span: direction === "row" ? 12 / elements.length : 12,
|
|
13
13
|
style: { alignContent: "start" },
|
|
14
|
+
p: 0,
|
|
14
15
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15
16
|
jsonformsReact_esm.JsonFormsDispatch,
|
|
16
17
|
{
|
|
@@ -26,8 +27,8 @@ const renderLayoutElements = (elements, schema, path, enabled, direction, render
|
|
|
26
27
|
`${path}-${index}`
|
|
27
28
|
));
|
|
28
29
|
};
|
|
29
|
-
const MantineLayoutRendererComponent = ({ elements, schema, path, enabled, direction, renderers, cells }) => {
|
|
30
|
-
if (isEmpty(elements)) {
|
|
30
|
+
const MantineLayoutRendererComponent = ({ visible, elements, schema, path, enabled, direction, renderers, cells }) => {
|
|
31
|
+
if (isEmpty(elements) || !visible) {
|
|
31
32
|
return null;
|
|
32
33
|
} else {
|
|
33
34
|
return /* @__PURE__ */ jsxRuntime.jsx(core.Grid, { spacing: direction === "row" ? 2 : 0, children: renderLayoutElements(elements, schema, path, enabled, direction, renderers, cells) });
|
package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineBooleanInput.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Checkbox, Select } from "@mantine/core";
|
|
2
|
+
import { Box, Checkbox, Select } from "@mantine/core";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { useBooleanProps } from "../hooks/useBooleanProps.mjs";
|
|
5
5
|
import { useCommonProps } from "../hooks/useCommonProps.mjs";
|
|
6
6
|
import { useContextProps } from "../hooks/useContextProps.mjs";
|
|
7
|
-
function MantineBooleanInput(props) {
|
|
7
|
+
function MantineBooleanInput({ margin, ...props }) {
|
|
8
8
|
const commonProps = useCommonProps(props);
|
|
9
9
|
const { path, data, schema } = props;
|
|
10
10
|
const isCheckbox = useMemo(() => schema.format === "checkbox", [schema.format]);
|
|
11
11
|
const booleanProps = useBooleanProps(isCheckbox, { data, onChange: commonProps.onChange });
|
|
12
12
|
const componentProps = useMemo(() => ({ ...commonProps, ...booleanProps }), [booleanProps, commonProps]);
|
|
13
13
|
const [Component, _props] = useContextProps("Boolean", path, componentProps, props);
|
|
14
|
-
if (
|
|
15
|
-
return
|
|
14
|
+
if (!props.visible) {
|
|
15
|
+
return null;
|
|
16
16
|
}
|
|
17
|
-
return Component;
|
|
17
|
+
return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? isCheckbox ? /* @__PURE__ */ jsx(Checkbox, { ..._props }) : /* @__PURE__ */ jsx(Select, { ..._props }) : Component });
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
20
|
MantineBooleanInput
|
package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateInput.mjs
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Box } from "@mantine/core";
|
|
2
3
|
import { DateInput } from "@mantine/dates";
|
|
3
4
|
import { useMemo } from "react";
|
|
4
5
|
import { useCommonProps } from "../hooks/useCommonProps.mjs";
|
|
5
6
|
import { useContextProps } from "../hooks/useContextProps.mjs";
|
|
6
7
|
import { useDateProps } from "../hooks/useDateProps.mjs";
|
|
7
|
-
function MantineDateInput(props) {
|
|
8
|
+
function MantineDateInput({ margin, ...props }) {
|
|
8
9
|
const commonProps = useCommonProps(props);
|
|
9
10
|
const { path, data } = props;
|
|
10
11
|
const dateProps = useDateProps("date", true, { data, onChange: commonProps.onChange });
|
|
11
12
|
const componentProps = useMemo(() => ({ ...commonProps, ...dateProps }), [commonProps, dateProps]);
|
|
12
13
|
const [Component, _props] = useContextProps("Date", path, componentProps, props);
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
14
|
+
if (!props.visible) {
|
|
15
|
+
return null;
|
|
15
16
|
}
|
|
16
|
-
return Component;
|
|
17
|
+
return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(DateInput, { ..._props }) : Component });
|
|
17
18
|
}
|
|
18
19
|
export {
|
|
19
20
|
MantineDateInput
|
package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Box } from "@mantine/core";
|
|
2
3
|
import { DateTimePicker } from "@mantine/dates";
|
|
3
4
|
import { useDisclosure } from "@mantine/hooks";
|
|
4
5
|
import { useMemo } from "react";
|
|
5
6
|
import { useCommonProps } from "../hooks/useCommonProps.mjs";
|
|
6
7
|
import { useContextProps } from "../hooks/useContextProps.mjs";
|
|
7
8
|
import { useDateProps } from "../hooks/useDateProps.mjs";
|
|
8
|
-
function MantineDateTimeInput(props) {
|
|
9
|
+
function MantineDateTimeInput({ margin, ...props }) {
|
|
9
10
|
const commonProps = useCommonProps(props);
|
|
10
11
|
const { path, data } = props;
|
|
11
12
|
const _dateProps = useDateProps("date-time", false, { data, toggle: () => null, onChange: commonProps.onChange });
|
|
@@ -18,10 +19,10 @@ function MantineDateTimeInput(props) {
|
|
|
18
19
|
});
|
|
19
20
|
const componentProps = useMemo(() => ({ ...commonProps, ...dateProps }), [commonProps, dateProps]);
|
|
20
21
|
const [Component, _props] = useContextProps("DateTime", path, componentProps, props);
|
|
21
|
-
if (
|
|
22
|
-
return
|
|
22
|
+
if (!props.visible) {
|
|
23
|
+
return null;
|
|
23
24
|
}
|
|
24
|
-
return Component;
|
|
25
|
+
return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(DateTimePicker, { ..._props }) : Component });
|
|
25
26
|
}
|
|
26
27
|
export {
|
|
27
28
|
MantineDateTimeInput
|
package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { MultiSelect } from "@mantine/core";
|
|
2
|
+
import { Box, 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(props) {
|
|
7
|
+
function MantineEnumArrayInput({ margin, ...props }) {
|
|
8
8
|
const commonProps = useCommonProps(props);
|
|
9
9
|
const { path, data } = props;
|
|
10
10
|
const multiSelectProps = useMultiSelectProps(data, props.schema.items, { onChange: commonProps.onChange });
|
|
11
11
|
const componentProps = useMemo(() => ({ ...commonProps, ...multiSelectProps }), [commonProps, multiSelectProps]);
|
|
12
12
|
const [Component, _props] = useContextProps("EnumArray", path, componentProps, props);
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
13
|
+
if (!props.visible) {
|
|
14
|
+
return null;
|
|
15
15
|
}
|
|
16
|
-
return Component;
|
|
16
|
+
return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(MultiSelect, { ..._props }) : Component });
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
19
|
MantineEnumArrayInput
|
package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineEnumInput.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Select } from "@mantine/core";
|
|
2
|
+
import { Box, 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(props) {
|
|
7
|
+
function MantineEnumInput({ margin, ...props }) {
|
|
8
8
|
const commonProps = useCommonProps(props);
|
|
9
9
|
const { path, data } = props;
|
|
10
10
|
const selectProps = useSelectProps(data, props.schema);
|
|
11
11
|
const componentProps = useMemo(() => ({ ...commonProps, ...selectProps }), [commonProps, selectProps]);
|
|
12
12
|
const [Component, _props] = useContextProps("Enum", path, componentProps, props);
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
13
|
+
if (!props.visible) {
|
|
14
|
+
return null;
|
|
15
15
|
}
|
|
16
|
-
return Component;
|
|
16
|
+
return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(Select, { ..._props }) : Component });
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
19
|
MantineEnumInput
|
package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineJsonInput.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { JsonInput } from "@mantine/core";
|
|
2
|
+
import { Box, 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(props) {
|
|
7
|
+
function MantineJsonInput({ margin, ...props }) {
|
|
8
8
|
const commonProps = useCommonProps(props);
|
|
9
9
|
const { path, data } = props;
|
|
10
10
|
const jsonProps = useJsonProps({ data, onChange: commonProps.onChange });
|
|
11
11
|
const componentProps = useMemo(() => ({ ...commonProps, ...jsonProps }), [commonProps, jsonProps]);
|
|
12
12
|
const [Component, _props] = useContextProps("Text", path, componentProps, props);
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
13
|
+
if (!props.visible) {
|
|
14
|
+
return null;
|
|
15
15
|
}
|
|
16
|
-
return Component;
|
|
16
|
+
return /* @__PURE__ */ jsx(Box, { m: Component === null ? void 0 : margin, children: Component === void 0 ? /* @__PURE__ */ jsx(JsonInput, { ..._props }) : Component });
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
19
|
MantineJsonInput
|