fastapi-rtk 0.2.39 → 0.2.41
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/index.cjs +2 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/Contexts/LayoutPaddingContext.cjs +8 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/JsonFormsWithCustomizer/JsonFormsWithCustomizer.cjs +6 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineBooleanInput.cjs +13 -5
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.cjs +7 -7
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumArrayInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineEnumInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineFileInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineJsonInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineNumberInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.cjs +5 -5
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTextInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineTimeInput.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useBooleanProps.cjs +4 -4
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useCommonProps.cjs +20 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useDateProps.cjs +5 -5
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useFileProps.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useJsonProps.cjs +9 -9
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useMultiSelectProps.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useNumberProps.cjs +3 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useSelectProps.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useTextProps.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useTimeProps.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/MantineCategorizationLayoutRenderer.cjs +74 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.cjs +86 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.cjs +124 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.cjs +93 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/renderers/mantineRenderers.cjs +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/layout.cjs +5 -3
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/withAjvProps.cjs +11 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/utils/withDebounce.cjs +12 -0
- package/dist/.bundled/jsonforms/esm/index.mjs +3 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/Contexts/LayoutPaddingContext.mjs +8 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/JsonFormsWithCustomizer/JsonFormsWithCustomizer.mjs +6 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineBooleanInput.mjs +13 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineDateTimeInput.mjs +7 -7
- 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 +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineJsonInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineNumberInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineOneOfEnumInput.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineTextInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineTimeInput.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useBooleanProps.mjs +4 -4
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useCommonProps.mjs +20 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useDateProps.mjs +5 -5
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useFileProps.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useJsonProps.mjs +9 -9
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useMultiSelectProps.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useNumberProps.mjs +3 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useSelectProps.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useTextProps.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useTimeProps.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/MantineCategorizationLayoutRenderer.mjs +74 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationCards.mjs +86 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationStepper.mjs +124 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Categorization/variants/CategorizationTabs.mjs +93 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/renderers/mantineRenderers.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/layout.mjs +5 -3
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/withAjvProps.mjs +11 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/utils/withDebounce.mjs +12 -0
- package/dist/.external/cjs/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.cjs +2 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.cjs +1 -1
- package/dist/.external/esm/@jsonforms_react@3.6.0_@jsonforms_core@3.6.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.mjs +2 -2
- package/dist/.external/esm/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.mjs +1 -1
- package/dist/constants/cjs/index.cjs +3 -1
- package/dist/constants/esm/index.mjs +3 -1
- package/dist/constants/lib/index.d.ts +2 -1
- package/dist/core/cjs/Dialogs/AddDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/DeleteDialog.cjs +4 -4
- package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/ErrorDialog.cjs +5 -2
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +10 -10
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideBulk.cjs +1 -1
- package/dist/core/cjs/Wrappers/Provider/Contexts/LangContext.cjs +12 -7
- 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/Wrappers/Provider/utils/authFetch.cjs +2 -2
- package/dist/core/cjs/fab-react-toolkit-patch/auth/utils/authFetch.cjs +2 -2
- package/dist/core/cjs/translations/de.cjs +25 -3
- package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/DeleteDialog.mjs +4 -4
- package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/ErrorDialog.mjs +5 -2
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +10 -10
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideBulk.mjs +1 -1
- package/dist/core/esm/Wrappers/Provider/Contexts/LangContext.mjs +12 -7
- 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/Wrappers/Provider/utils/authFetch.mjs +2 -2
- package/dist/core/esm/fab-react-toolkit-patch/auth/utils/authFetch.mjs +2 -2
- package/dist/core/esm/translations/de.mjs +25 -3
- package/dist/core/lib/Dialogs/DeleteDialog.d.ts +5 -1
- package/dist/core/lib/Wrappers/Provider/Provider.d.ts +4 -0
- package/dist/core/lib/translations/de.d.ts +20 -0
- package/dist/jsonforms/cjs/Contexts/LayoutPaddingContext.cjs +8 -0
- package/dist/jsonforms/cjs/JsonFormsWithCustomizer/JsonFormsWithCustomizer.cjs +6 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineBooleanInput.cjs +13 -5
- package/dist/jsonforms/cjs/MantineInputs/MantineDateInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineDateTimeInput.cjs +7 -7
- package/dist/jsonforms/cjs/MantineInputs/MantineEnumArrayInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineEnumInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineFileInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineJsonInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineNumberInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineOneOfEnumInput.cjs +5 -5
- package/dist/jsonforms/cjs/MantineInputs/MantineTextInput.cjs +3 -3
- package/dist/jsonforms/cjs/MantineInputs/MantineTimeInput.cjs +3 -3
- package/dist/jsonforms/cjs/hooks/useBooleanProps.cjs +4 -4
- package/dist/jsonforms/cjs/hooks/useCommonProps.cjs +20 -1
- package/dist/jsonforms/cjs/hooks/useDateProps.cjs +5 -5
- package/dist/jsonforms/cjs/hooks/useFileProps.cjs +2 -2
- package/dist/jsonforms/cjs/hooks/useJsonProps.cjs +9 -9
- package/dist/jsonforms/cjs/hooks/useMultiSelectProps.cjs +3 -3
- package/dist/jsonforms/cjs/hooks/useNumberProps.cjs +3 -3
- package/dist/jsonforms/cjs/hooks/useSelectProps.cjs +2 -2
- package/dist/jsonforms/cjs/hooks/useTextProps.cjs +2 -2
- package/dist/jsonforms/cjs/hooks/useTimeProps.cjs +2 -2
- package/dist/jsonforms/cjs/index.cjs +2 -0
- package/dist/jsonforms/cjs/layouts/Categorization/MantineCategorizationLayoutRenderer.cjs +74 -0
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationCards.cjs +86 -0
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationStepper.cjs +124 -0
- package/dist/jsonforms/cjs/layouts/Categorization/variants/CategorizationTabs.cjs +93 -0
- package/dist/jsonforms/cjs/renderers/mantineRenderers.cjs +1 -1
- package/dist/jsonforms/cjs/utils/layout.cjs +5 -3
- package/dist/jsonforms/cjs/utils/withAjvProps.cjs +11 -0
- package/dist/jsonforms/cjs/utils/withDebounce.cjs +12 -0
- package/dist/jsonforms/esm/Contexts/LayoutPaddingContext.mjs +8 -0
- package/dist/jsonforms/esm/JsonFormsWithCustomizer/JsonFormsWithCustomizer.mjs +6 -3
- package/dist/jsonforms/esm/MantineInputs/MantineBooleanInput.mjs +13 -5
- package/dist/jsonforms/esm/MantineInputs/MantineDateInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineDateTimeInput.mjs +7 -7
- 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 +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineJsonInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineNumberInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineOneOfEnumInput.mjs +5 -5
- package/dist/jsonforms/esm/MantineInputs/MantineTextInput.mjs +3 -3
- package/dist/jsonforms/esm/MantineInputs/MantineTimeInput.mjs +3 -3
- package/dist/jsonforms/esm/hooks/useBooleanProps.mjs +4 -4
- package/dist/jsonforms/esm/hooks/useCommonProps.mjs +20 -1
- package/dist/jsonforms/esm/hooks/useDateProps.mjs +5 -5
- package/dist/jsonforms/esm/hooks/useFileProps.mjs +2 -2
- package/dist/jsonforms/esm/hooks/useJsonProps.mjs +9 -9
- package/dist/jsonforms/esm/hooks/useMultiSelectProps.mjs +3 -3
- package/dist/jsonforms/esm/hooks/useNumberProps.mjs +3 -3
- package/dist/jsonforms/esm/hooks/useSelectProps.mjs +2 -2
- package/dist/jsonforms/esm/hooks/useTextProps.mjs +2 -2
- package/dist/jsonforms/esm/hooks/useTimeProps.mjs +2 -2
- package/dist/jsonforms/esm/index.mjs +3 -1
- package/dist/jsonforms/esm/layouts/Categorization/MantineCategorizationLayoutRenderer.mjs +74 -0
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationCards.mjs +86 -0
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationStepper.mjs +124 -0
- package/dist/jsonforms/esm/layouts/Categorization/variants/CategorizationTabs.mjs +93 -0
- package/dist/jsonforms/esm/renderers/mantineRenderers.mjs +1 -1
- package/dist/jsonforms/esm/utils/layout.mjs +5 -3
- package/dist/jsonforms/esm/utils/withAjvProps.mjs +11 -0
- package/dist/jsonforms/esm/utils/withDebounce.mjs +12 -0
- package/dist/jsonforms/lib/Contexts/LayoutPaddingContext.d.ts +5 -0
- package/dist/jsonforms/lib/JsonFormsWithCustomizer/JsonFormsWithCustomizer.d.ts +14 -0
- package/dist/jsonforms/lib/hooks/useBooleanProps.d.ts +3 -3
- package/dist/jsonforms/lib/hooks/useCommonProps.d.ts +5 -1
- package/dist/jsonforms/lib/hooks/useDateProps.d.ts +3 -3
- package/dist/jsonforms/lib/hooks/useFileProps.d.ts +3 -3
- package/dist/jsonforms/lib/hooks/useJsonProps.d.ts +5 -5
- package/dist/jsonforms/lib/hooks/useMultiSelectProps.d.ts +3 -3
- package/dist/jsonforms/lib/hooks/useNumberProps.d.ts +3 -3
- package/dist/jsonforms/lib/hooks/useSelectProps.d.ts +3 -3
- package/dist/jsonforms/lib/hooks/useTextProps.d.ts +3 -3
- package/dist/jsonforms/lib/hooks/useTimeProps.d.ts +3 -3
- package/dist/jsonforms/lib/index.d.ts +1 -0
- package/dist/jsonforms/lib/layouts/{MantineCategorizationLayoutRenderer.d.ts → Categorization/MantineCategorizationLayoutRenderer.d.ts} +1 -1
- package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationCards.d.ts +10 -0
- package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationStepper.d.ts +11 -0
- package/dist/jsonforms/lib/layouts/Categorization/variants/CategorizationTabs.d.ts +10 -0
- package/dist/jsonforms/lib/renderers/mantineRenderers.d.ts +12 -3
- package/dist/jsonforms/lib/utils/withAjvProps.d.ts +1 -0
- package/dist/jsonforms/lib/utils/withDebounce.d.ts +1 -0
- package/package.json +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineCategorizationLayoutRenderer.cjs +0 -63
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineCategorizationLayoutRenderer.mjs +0 -63
- package/dist/jsonforms/cjs/layouts/MantineCategorizationLayoutRenderer.cjs +0 -63
- package/dist/jsonforms/esm/layouts/MantineCategorizationLayoutRenderer.mjs +0 -63
- package/dist/jsonforms/lib/utils/debounce.d.ts +0 -1
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/mutation.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/notifyManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/query.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/queryObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/removable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/retryer.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/thenable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/timeoutManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/utils.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/suspense.cjs +0 -0
- /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.2.8_yup@1.7.0 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/mutation.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/notifyManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/query.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/queryObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/removable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/retryer.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/thenable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/timeoutManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.87.1 → @tanstack_query-core@5.87.4}/@tanstack/query-core/build/modern/utils.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.87.1_react@18.3.1 → @tanstack_react-query@5.87.4_react@18.3.1}/@tanstack/react-query/build/modern/suspense.mjs +0 -0
- /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.2.8_yup@1.7.0 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { getAjv } from "@jsonforms/core";
|
|
3
|
+
import { useJsonForms } from "@jsonforms/react";
|
|
4
|
+
const withAjvProps = (Component) => function WithAjvProps(props) {
|
|
5
|
+
const ctx = useJsonForms();
|
|
6
|
+
const ajv = getAjv({ jsonforms: { ...ctx } });
|
|
7
|
+
return /* @__PURE__ */ jsx(Component, { ...props, ajv });
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
withAjvProps
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { MantineThemeProvider } from "@mantine/core";
|
|
3
|
+
import { useThemeCustomizer } from "../hooks/useThemeCustomizer.mjs";
|
|
4
|
+
const withDebounce = (Component) => {
|
|
5
|
+
return function WithDebounce(props) {
|
|
6
|
+
const customizer = useThemeCustomizer({ __: { debounce: true } });
|
|
7
|
+
return /* @__PURE__ */ jsx(MantineThemeProvider, { theme: customizer, children: /* @__PURE__ */ jsx(Component, { ...props }) });
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
withDebounce
|
|
12
|
+
};
|
|
@@ -1 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A memoized component that renders a customizable JsonForms.
|
|
3
|
+
*
|
|
4
|
+
* @param {object} props - The component properties.
|
|
5
|
+
* @param {Record<string, any>} props.schema - The JSON schema defining the structure of the form.
|
|
6
|
+
* @param {Record<string, any>} [props.uischema] - The UI schema used to customize the form rendering.
|
|
7
|
+
* @param {*} props.data - The form data.
|
|
8
|
+
* @param {function} props.onChange - Callback function triggered on form data changes.
|
|
9
|
+
* @param {Record<string, any>} props.customizer - Object to customize the form inputs.
|
|
10
|
+
* @param {boolean} [props.debounce=false] - Whether to debounce input changes. Defaults to false.
|
|
11
|
+
* @param {Record<string, any>} props.rest - Additional properties to be passed to the JsonForms component.
|
|
12
|
+
*
|
|
13
|
+
* @returns {JSX.Element} A JsonForms component wrapped with a Mantine theme provider.
|
|
14
|
+
*/
|
|
1
15
|
export const JsonFormsWithCustomizer: import('react').NamedExoticComponent<object>;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @param {boolean} isCheckbox - Determines if the component is a checkbox.
|
|
5
5
|
* @param {Object} props - The properties object.
|
|
6
|
-
* @param {any} props.
|
|
6
|
+
* @param {any} props.value - The current value of the component.
|
|
7
7
|
* @param {function} props.onChange - The function to call when the value changes.
|
|
8
8
|
* @returns The properties for the boolean component.
|
|
9
9
|
*/
|
|
10
|
-
export function useBooleanProps(isCheckbox: boolean, {
|
|
11
|
-
|
|
10
|
+
export function useBooleanProps(isCheckbox: boolean, { value, onChange }: {
|
|
11
|
+
value: any;
|
|
12
12
|
onChange: Function;
|
|
13
13
|
}): {
|
|
14
14
|
checked: any;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* @param {string} [props.description] - The description for the component.
|
|
7
7
|
* @param {boolean} [props.required] - Indicates if the component is required.
|
|
8
8
|
* @param {boolean} [props.enabled] - Indicates if the component is enabled.
|
|
9
|
+
* @param {any} [props.data] - The current data value.
|
|
9
10
|
* @param {Function} [props.handleChange] - The function to handle changes.
|
|
10
11
|
* @param {string} [props.path] - The path for the change handler.
|
|
11
12
|
* @param {string} [props.errors] - The error messages, separated by new lines.
|
|
@@ -16,6 +17,7 @@ export function useCommonProps(props?: {
|
|
|
16
17
|
description?: string;
|
|
17
18
|
required?: boolean;
|
|
18
19
|
enabled?: boolean;
|
|
20
|
+
data?: any;
|
|
19
21
|
handleChange?: Function;
|
|
20
22
|
path?: string;
|
|
21
23
|
errors?: string;
|
|
@@ -25,6 +27,8 @@ export function useCommonProps(props?: {
|
|
|
25
27
|
description: string;
|
|
26
28
|
required: boolean;
|
|
27
29
|
disabled: boolean;
|
|
28
|
-
|
|
30
|
+
value: any;
|
|
31
|
+
onChange: (value: any) => void;
|
|
32
|
+
onBlur: () => void;
|
|
29
33
|
error: import("react").JSX.Element[];
|
|
30
34
|
};
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* @param {'date' | 'date-time'} type - The type of date input, e.g., 'date'.
|
|
5
5
|
* @param {boolean} isUTC - Boolean indicating whether to handle the date as UTC.
|
|
6
6
|
* @param {Object} options - The options object.
|
|
7
|
-
* @param {string|undefined} options.
|
|
7
|
+
* @param {string|undefined} options.value - The date value to be processed.
|
|
8
8
|
* @param {function} options.toggle - The toggle function to switch between UTC and local time.
|
|
9
9
|
* @param {function} options.onChange - The callback function to handle date changes.
|
|
10
10
|
* @returns An object containing the processed date value and an onChange handler.
|
|
11
11
|
*/
|
|
12
|
-
export function useDateProps(type: "date" | "date-time", isUTC: boolean, {
|
|
13
|
-
|
|
12
|
+
export function useDateProps(type: "date" | "date-time", isUTC: boolean, { value, toggle, onChange }: {
|
|
13
|
+
value: string | undefined;
|
|
14
14
|
toggle: Function;
|
|
15
15
|
onChange: Function;
|
|
16
16
|
}): {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Custom hook to handle file input properties.
|
|
3
3
|
*
|
|
4
4
|
* @param {Object} params - The parameters object.
|
|
5
|
-
* @param {string | File} params.
|
|
5
|
+
* @param {string | File} params.value - The initial value of the file input.
|
|
6
6
|
* @param {Function} params.onChange - The callback function to handle changes in the file input.
|
|
7
7
|
* @param {string} params.contentMediaType - The accepted media type for the file input.
|
|
8
8
|
* @param {string} params.errors - The error messages associated with the file input.
|
|
9
9
|
* @returns - An object containing properties for the file input component.
|
|
10
10
|
*/
|
|
11
|
-
export function useFileProps({
|
|
12
|
-
|
|
11
|
+
export function useFileProps({ value, onChange, contentMediaType, errors }: {
|
|
12
|
+
value: string | File;
|
|
13
13
|
onChange: Function;
|
|
14
14
|
contentMediaType: string;
|
|
15
15
|
errors: string;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Custom hook to manage JSON properties.
|
|
3
3
|
*
|
|
4
4
|
* @param {Object} params - The parameters for the hook.
|
|
5
|
-
* @param {any} params.
|
|
6
|
-
* @param {Function} params.onChange - Callback function to handle changes in the
|
|
7
|
-
* @returns - An object containing properties and methods for managing JSON
|
|
5
|
+
* @param {any} params.value - The initial value to be managed by the hook.
|
|
6
|
+
* @param {Function} params.onChange - Callback function to handle changes in the value.
|
|
7
|
+
* @returns - An object containing properties and methods for managing JSON value.
|
|
8
8
|
*/
|
|
9
|
-
export function useJsonProps({
|
|
10
|
-
|
|
9
|
+
export function useJsonProps({ value, onChange }: {
|
|
10
|
+
value: any;
|
|
11
11
|
onChange: Function;
|
|
12
12
|
}): {
|
|
13
13
|
autosize: boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Custom hook for handling multi-select functionality.
|
|
3
3
|
*
|
|
4
|
-
* @param {string[]}
|
|
5
|
-
* @param {Object} schema - The schema defining the structure of the
|
|
4
|
+
* @param {string[]} value - The value to be used in the multi-select component.
|
|
5
|
+
* @param {Object} schema - The schema defining the structure of the value.
|
|
6
6
|
* @param {Object} options - Additional options for the hook.
|
|
7
7
|
* @param {Function} options.onChange - Callback function to handle changes in the selected values.
|
|
8
8
|
* @returns The properties and methods for the multi-select component.
|
|
9
9
|
*/
|
|
10
|
-
export function useMultiSelectProps(
|
|
10
|
+
export function useMultiSelectProps(value: string[], schema: any, { onChange }: {
|
|
11
11
|
onChange: Function;
|
|
12
12
|
}): {
|
|
13
13
|
value: string | any[];
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @param {'number' | 'integer'} type - The type of the input, expected to be 'number' or 'integer'.
|
|
5
5
|
* @param {Object} options - The options object.
|
|
6
|
-
* @param {any} options.
|
|
6
|
+
* @param {any} options.value - The current value of the input.
|
|
7
7
|
* @param {function} options.onChange - The callback function to handle value changes.
|
|
8
8
|
* @returns The properties for the number input component.
|
|
9
9
|
*/
|
|
10
|
-
export function useNumberProps(type: "number" | "integer", {
|
|
11
|
-
|
|
10
|
+
export function useNumberProps(type: "number" | "integer", { value, onChange }: {
|
|
11
|
+
value: any;
|
|
12
12
|
onChange: Function;
|
|
13
13
|
}): {
|
|
14
14
|
value: any;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Custom hook to generate select options from a schema.
|
|
3
3
|
*
|
|
4
|
-
* @param {string | undefined | null}
|
|
4
|
+
* @param {string | undefined | null} value - The value.
|
|
5
5
|
* @param {Object} schema - The schema object containing the options.
|
|
6
6
|
* @param {{const: string, title: string}[] | undefined} schema.oneOf - Array of option objects.
|
|
7
7
|
* @param {string[]} schema.enum - Array of option values.
|
|
8
|
-
* @returns An object containing the
|
|
8
|
+
* @returns An object containing the value array with value and label for each option.
|
|
9
9
|
*/
|
|
10
|
-
export function useSelectProps(
|
|
10
|
+
export function useSelectProps(value: string | undefined | null, schema: {
|
|
11
11
|
oneOf: {
|
|
12
12
|
const: string;
|
|
13
13
|
title: string;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Custom hook to handle text input properties.
|
|
3
3
|
*
|
|
4
4
|
* @param {Object} params - The parameters object.
|
|
5
|
-
* @param {string} params.
|
|
5
|
+
* @param {string} params.value - The initial value of the text input.
|
|
6
6
|
* @param {Function} params.onChange - The callback function to handle changes in the text input.
|
|
7
7
|
* @returns An object containing the value and onChange handler for the text input.
|
|
8
8
|
*/
|
|
9
|
-
export function useTextProps({
|
|
10
|
-
|
|
9
|
+
export function useTextProps({ value, onChange }: {
|
|
10
|
+
value: string;
|
|
11
11
|
onChange: Function;
|
|
12
12
|
}): {
|
|
13
13
|
value: string;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Custom hook to handle time input properties.
|
|
3
3
|
*
|
|
4
4
|
* @param {Object} params - The parameters object.
|
|
5
|
-
* @param {string} params.
|
|
5
|
+
* @param {string} params.value - The initial value of the time input.
|
|
6
6
|
* @param {Function} params.onChange - The callback function to handle changes in the time input.
|
|
7
7
|
* @returns An object containing the value for the time input.
|
|
8
8
|
*/
|
|
9
|
-
export function useTimeProps({
|
|
10
|
-
|
|
9
|
+
export function useTimeProps({ value }: {
|
|
10
|
+
value: string;
|
|
11
11
|
onChange: Function;
|
|
12
12
|
}): {
|
|
13
13
|
value: string;
|
|
@@ -20,4 +20,5 @@ export { isImageControl } from './testers/isImageControl';
|
|
|
20
20
|
export { isJsonArrayControl } from './testers/isJsonArrayControl';
|
|
21
21
|
export { isJsonControl } from './testers/isJsonControl';
|
|
22
22
|
export { isSchemaTypeInclude } from './utils/isSchemaTypeInclude';
|
|
23
|
+
export { withAjvProps } from './utils/withAjvProps';
|
|
23
24
|
export { convertLocalStringToUTCString, convertUTCStringToLocalString } from './utils/utcConverter';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const MantineCategorizationLayoutTester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
2
|
-
export const MantineCategorizationLayoutRenderer: import(
|
|
2
|
+
export const MantineCategorizationLayoutRenderer: (props: any) => import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function CategorizationCards({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, jsonFormsProps, }: {
|
|
2
|
+
labels: any;
|
|
3
|
+
categorization: any;
|
|
4
|
+
categories: any;
|
|
5
|
+
renderers: any;
|
|
6
|
+
cells: any;
|
|
7
|
+
childProps: any;
|
|
8
|
+
t: any;
|
|
9
|
+
jsonFormsProps: any;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function CategorizationStepper({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, jsonFormsProps, showNavButtons, }: {
|
|
2
|
+
labels: any;
|
|
3
|
+
categorization: any;
|
|
4
|
+
categories: any;
|
|
5
|
+
renderers: any;
|
|
6
|
+
cells: any;
|
|
7
|
+
childProps: any;
|
|
8
|
+
t: any;
|
|
9
|
+
jsonFormsProps: any;
|
|
10
|
+
showNavButtons: any;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function CategorizationTabs({ labels, categorization: _categorization, categories: _categories, renderers, cells, childProps, t, jsonFormsProps, }: {
|
|
2
|
+
labels: any;
|
|
3
|
+
categorization: any;
|
|
4
|
+
categories: any;
|
|
5
|
+
renderers: any;
|
|
6
|
+
cells: any;
|
|
7
|
+
childProps: any;
|
|
8
|
+
t: any;
|
|
9
|
+
jsonFormsProps: any;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
export const mantineRenderers: {
|
|
1
|
+
export const mantineRenderers: ({
|
|
2
2
|
tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
3
|
-
renderer: import('react').ComponentType<
|
|
4
|
-
}
|
|
3
|
+
renderer: import('react').ComponentType<import('@jsonforms/core').OwnPropsOfControl>;
|
|
4
|
+
} | {
|
|
5
|
+
tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
6
|
+
renderer: import('react').ComponentType<import('@jsonforms/core').LayoutProps & import('@jsonforms/core').OwnPropsOfLayout>;
|
|
7
|
+
} | {
|
|
8
|
+
tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
9
|
+
renderer: (props: any) => import("react").JSX.Element;
|
|
10
|
+
} | {
|
|
11
|
+
tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
12
|
+
renderer: import('react').ComponentType<import('@jsonforms/core').OwnPropsOfLabel>;
|
|
13
|
+
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function withAjvProps(Component: any): (props: any) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function withDebounce(Component: any): (props: any) => import("react").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const utils = require("fastapi-rtk/utils");
|
|
5
|
-
const jsonformsCore_esm = require("../../../../../../../.external/cjs/@jsonforms_core@3.6.0/@jsonforms/core/lib/jsonforms-core.esm.cjs");
|
|
6
|
-
const jsonformsReact_esm = require("../../../../../../../.external/cjs/@jsonforms_react@3.6.0_@jsonforms_core@3.6.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.cjs");
|
|
7
|
-
const core = require("@mantine/core");
|
|
8
|
-
const React = require("react");
|
|
9
|
-
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
10
|
-
const layout = require("../utils/layout.cjs");
|
|
11
|
-
const ComponentTab = ({ value, jsonFormsProps, ...props }) => {
|
|
12
|
-
const [, _props] = useContextProps.useContextProps(
|
|
13
|
-
`Categorization.Tab`,
|
|
14
|
-
`Categorization.Tab.${value}`,
|
|
15
|
-
{ value },
|
|
16
|
-
jsonFormsProps,
|
|
17
|
-
false
|
|
18
|
-
);
|
|
19
|
-
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
20
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core.Tabs.Tab, { value, ...mergedProps, children: value });
|
|
21
|
-
};
|
|
22
|
-
const ComponentPanel = ({ value, jsonFormsProps, children, ...props }) => {
|
|
23
|
-
const [, _props] = useContextProps.useContextProps(
|
|
24
|
-
`Categorization.Panel`,
|
|
25
|
-
`Categorization.Panel.${value}`,
|
|
26
|
-
{ value },
|
|
27
|
-
jsonFormsProps,
|
|
28
|
-
false
|
|
29
|
-
);
|
|
30
|
-
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
31
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core.Tabs.Panel, { value, ...mergedProps, children });
|
|
32
|
-
};
|
|
33
|
-
const Component = (props) => {
|
|
34
|
-
var _a;
|
|
35
|
-
const { schema, uischema, path, enabled, visible, renderers, cells, data } = props;
|
|
36
|
-
const _categorization = uischema;
|
|
37
|
-
const _categories = React.useMemo(
|
|
38
|
-
() => _categorization.elements.filter((category) => jsonformsCore_esm.isVisible(category, data)),
|
|
39
|
-
[_categorization.elements, data]
|
|
40
|
-
);
|
|
41
|
-
const [_value, setValue] = React.useState(((_a = _categories == null ? void 0 : _categories[0]) == null ? void 0 : _a.label) ?? "");
|
|
42
|
-
let componentProps = { categorization: _categorization, categories: _categories, value: _value, onChange: setValue };
|
|
43
|
-
const contextPath = `Categorization.[${componentProps.categorization.elements.map((c) => c.label).join("|")}]`;
|
|
44
|
-
const [, _props] = useContextProps.useContextProps(`Categorization`, contextPath, componentProps, props, false);
|
|
45
|
-
componentProps = { ...componentProps, ..._props };
|
|
46
|
-
const { categorization, categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
|
|
47
|
-
const categoryLabels = React.useMemo(() => categories.map((category) => category.label), [categories]);
|
|
48
|
-
React.useEffect(() => {
|
|
49
|
-
var _a2;
|
|
50
|
-
if (!categoryLabels.includes(value)) {
|
|
51
|
-
onChange(((_a2 = categories == null ? void 0 : categories[0]) == null ? void 0 : _a2.label) ?? "");
|
|
52
|
-
}
|
|
53
|
-
}, [categoryLabels]);
|
|
54
|
-
const childProps = { schema, path, enabled, visible, direction: "column" };
|
|
55
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(core.Tabs, { value, onChange, m: "0.5rem", mx: "calc(0.5rem + 2px)", ...rest, children: [
|
|
56
|
-
/* @__PURE__ */ jsxRuntime.jsx(core.Tabs.List, { ...listProps, children: categoryLabels.map((label) => /* @__PURE__ */ jsxRuntime.jsx(ComponentTab, { value: label, jsonFormsProps: props, ...tabProps }, label)) }),
|
|
57
|
-
categories.map((category) => /* @__PURE__ */ jsxRuntime.jsx(ComponentPanel, { value: category.label, jsonFormsProps: props, ...panelProps, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells }) }, category.label))
|
|
58
|
-
] });
|
|
59
|
-
};
|
|
60
|
-
const MantineCategorizationLayoutTester = jsonformsCore_esm.rankWith(1, jsonformsCore_esm.uiTypeIs("Categorization"));
|
|
61
|
-
const MantineCategorizationLayoutRenderer = jsonformsReact_esm.withJsonFormsLayoutProps(Component);
|
|
62
|
-
exports.MantineCategorizationLayoutRenderer = MantineCategorizationLayoutRenderer;
|
|
63
|
-
exports.MantineCategorizationLayoutTester = MantineCategorizationLayoutTester;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { deepMerge } from "fastapi-rtk/utils";
|
|
3
|
-
import { rankWith, uiTypeIs, isVisible } from "../../../../../../../.external/esm/@jsonforms_core@3.6.0/@jsonforms/core/lib/jsonforms-core.esm.mjs";
|
|
4
|
-
import { withJsonFormsLayoutProps } from "../../../../../../../.external/esm/@jsonforms_react@3.6.0_@jsonforms_core@3.6.0_react@18.3.1/@jsonforms/react/lib/jsonforms-react.esm.mjs";
|
|
5
|
-
import { Tabs } from "@mantine/core";
|
|
6
|
-
import { useMemo, useState, useEffect } from "react";
|
|
7
|
-
import { useContextProps } from "../hooks/useContextProps.mjs";
|
|
8
|
-
import { MantineLayoutRenderer } from "../utils/layout.mjs";
|
|
9
|
-
const ComponentTab = ({ value, jsonFormsProps, ...props }) => {
|
|
10
|
-
const [, _props] = useContextProps(
|
|
11
|
-
`Categorization.Tab`,
|
|
12
|
-
`Categorization.Tab.${value}`,
|
|
13
|
-
{ value },
|
|
14
|
-
jsonFormsProps,
|
|
15
|
-
false
|
|
16
|
-
);
|
|
17
|
-
const mergedProps = useMemo(() => deepMerge(props, _props), [props, _props]);
|
|
18
|
-
return /* @__PURE__ */ jsx(Tabs.Tab, { value, ...mergedProps, children: value });
|
|
19
|
-
};
|
|
20
|
-
const ComponentPanel = ({ value, jsonFormsProps, children, ...props }) => {
|
|
21
|
-
const [, _props] = useContextProps(
|
|
22
|
-
`Categorization.Panel`,
|
|
23
|
-
`Categorization.Panel.${value}`,
|
|
24
|
-
{ value },
|
|
25
|
-
jsonFormsProps,
|
|
26
|
-
false
|
|
27
|
-
);
|
|
28
|
-
const mergedProps = useMemo(() => deepMerge(props, _props), [props, _props]);
|
|
29
|
-
return /* @__PURE__ */ jsx(Tabs.Panel, { value, ...mergedProps, children });
|
|
30
|
-
};
|
|
31
|
-
const Component = (props) => {
|
|
32
|
-
var _a;
|
|
33
|
-
const { schema, uischema, path, enabled, visible, renderers, cells, data } = props;
|
|
34
|
-
const _categorization = uischema;
|
|
35
|
-
const _categories = useMemo(
|
|
36
|
-
() => _categorization.elements.filter((category) => isVisible(category, data)),
|
|
37
|
-
[_categorization.elements, data]
|
|
38
|
-
);
|
|
39
|
-
const [_value, setValue] = useState(((_a = _categories == null ? void 0 : _categories[0]) == null ? void 0 : _a.label) ?? "");
|
|
40
|
-
let componentProps = { categorization: _categorization, categories: _categories, value: _value, onChange: setValue };
|
|
41
|
-
const contextPath = `Categorization.[${componentProps.categorization.elements.map((c) => c.label).join("|")}]`;
|
|
42
|
-
const [, _props] = useContextProps(`Categorization`, contextPath, componentProps, props, false);
|
|
43
|
-
componentProps = { ...componentProps, ..._props };
|
|
44
|
-
const { categorization, categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
|
|
45
|
-
const categoryLabels = useMemo(() => categories.map((category) => category.label), [categories]);
|
|
46
|
-
useEffect(() => {
|
|
47
|
-
var _a2;
|
|
48
|
-
if (!categoryLabels.includes(value)) {
|
|
49
|
-
onChange(((_a2 = categories == null ? void 0 : categories[0]) == null ? void 0 : _a2.label) ?? "");
|
|
50
|
-
}
|
|
51
|
-
}, [categoryLabels]);
|
|
52
|
-
const childProps = { schema, path, enabled, visible, direction: "column" };
|
|
53
|
-
return /* @__PURE__ */ jsxs(Tabs, { value, onChange, m: "0.5rem", mx: "calc(0.5rem + 2px)", ...rest, children: [
|
|
54
|
-
/* @__PURE__ */ jsx(Tabs.List, { ...listProps, children: categoryLabels.map((label) => /* @__PURE__ */ jsx(ComponentTab, { value: label, jsonFormsProps: props, ...tabProps }, label)) }),
|
|
55
|
-
categories.map((category) => /* @__PURE__ */ jsx(ComponentPanel, { value: category.label, jsonFormsProps: props, ...panelProps, children: /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells }) }, category.label))
|
|
56
|
-
] });
|
|
57
|
-
};
|
|
58
|
-
const MantineCategorizationLayoutTester = rankWith(1, uiTypeIs("Categorization"));
|
|
59
|
-
const MantineCategorizationLayoutRenderer = withJsonFormsLayoutProps(Component);
|
|
60
|
-
export {
|
|
61
|
-
MantineCategorizationLayoutRenderer,
|
|
62
|
-
MantineCategorizationLayoutTester
|
|
63
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const utils = require("fastapi-rtk/utils");
|
|
5
|
-
const core = require("@jsonforms/core");
|
|
6
|
-
const react = require("@jsonforms/react");
|
|
7
|
-
const core$1 = require("@mantine/core");
|
|
8
|
-
const React = require("react");
|
|
9
|
-
const useContextProps = require("../hooks/useContextProps.cjs");
|
|
10
|
-
const layout = require("../utils/layout.cjs");
|
|
11
|
-
const ComponentTab = ({ value, jsonFormsProps, ...props }) => {
|
|
12
|
-
const [, _props] = useContextProps.useContextProps(
|
|
13
|
-
`Categorization.Tab`,
|
|
14
|
-
`Categorization.Tab.${value}`,
|
|
15
|
-
{ value },
|
|
16
|
-
jsonFormsProps,
|
|
17
|
-
false
|
|
18
|
-
);
|
|
19
|
-
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
20
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core$1.Tabs.Tab, { value, ...mergedProps, children: value });
|
|
21
|
-
};
|
|
22
|
-
const ComponentPanel = ({ value, jsonFormsProps, children, ...props }) => {
|
|
23
|
-
const [, _props] = useContextProps.useContextProps(
|
|
24
|
-
`Categorization.Panel`,
|
|
25
|
-
`Categorization.Panel.${value}`,
|
|
26
|
-
{ value },
|
|
27
|
-
jsonFormsProps,
|
|
28
|
-
false
|
|
29
|
-
);
|
|
30
|
-
const mergedProps = React.useMemo(() => utils.deepMerge(props, _props), [props, _props]);
|
|
31
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core$1.Tabs.Panel, { value, ...mergedProps, children });
|
|
32
|
-
};
|
|
33
|
-
const Component = (props) => {
|
|
34
|
-
var _a;
|
|
35
|
-
const { schema, uischema, path, enabled, visible, renderers, cells, data } = props;
|
|
36
|
-
const _categorization = uischema;
|
|
37
|
-
const _categories = React.useMemo(
|
|
38
|
-
() => _categorization.elements.filter((category) => core.isVisible(category, data)),
|
|
39
|
-
[_categorization.elements, data]
|
|
40
|
-
);
|
|
41
|
-
const [_value, setValue] = React.useState(((_a = _categories == null ? void 0 : _categories[0]) == null ? void 0 : _a.label) ?? "");
|
|
42
|
-
let componentProps = { categorization: _categorization, categories: _categories, value: _value, onChange: setValue };
|
|
43
|
-
const contextPath = `Categorization.[${componentProps.categorization.elements.map((c) => c.label).join("|")}]`;
|
|
44
|
-
const [, _props] = useContextProps.useContextProps(`Categorization`, contextPath, componentProps, props, false);
|
|
45
|
-
componentProps = { ...componentProps, ..._props };
|
|
46
|
-
const { categorization, categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
|
|
47
|
-
const categoryLabels = React.useMemo(() => categories.map((category) => category.label), [categories]);
|
|
48
|
-
React.useEffect(() => {
|
|
49
|
-
var _a2;
|
|
50
|
-
if (!categoryLabels.includes(value)) {
|
|
51
|
-
onChange(((_a2 = categories == null ? void 0 : categories[0]) == null ? void 0 : _a2.label) ?? "");
|
|
52
|
-
}
|
|
53
|
-
}, [categoryLabels]);
|
|
54
|
-
const childProps = { schema, path, enabled, visible, direction: "column" };
|
|
55
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(core$1.Tabs, { value, onChange, m: "0.5rem", mx: "calc(0.5rem + 2px)", ...rest, children: [
|
|
56
|
-
/* @__PURE__ */ jsxRuntime.jsx(core$1.Tabs.List, { ...listProps, children: categoryLabels.map((label) => /* @__PURE__ */ jsxRuntime.jsx(ComponentTab, { value: label, jsonFormsProps: props, ...tabProps }, label)) }),
|
|
57
|
-
categories.map((category) => /* @__PURE__ */ jsxRuntime.jsx(ComponentPanel, { value: category.label, jsonFormsProps: props, ...panelProps, children: /* @__PURE__ */ jsxRuntime.jsx(layout.MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells }) }, category.label))
|
|
58
|
-
] });
|
|
59
|
-
};
|
|
60
|
-
const MantineCategorizationLayoutTester = core.rankWith(1, core.uiTypeIs("Categorization"));
|
|
61
|
-
const MantineCategorizationLayoutRenderer = react.withJsonFormsLayoutProps(Component);
|
|
62
|
-
exports.MantineCategorizationLayoutRenderer = MantineCategorizationLayoutRenderer;
|
|
63
|
-
exports.MantineCategorizationLayoutTester = MantineCategorizationLayoutTester;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { deepMerge } from "fastapi-rtk/utils";
|
|
3
|
-
import { rankWith, uiTypeIs, isVisible } from "@jsonforms/core";
|
|
4
|
-
import { withJsonFormsLayoutProps } from "@jsonforms/react";
|
|
5
|
-
import { Tabs } from "@mantine/core";
|
|
6
|
-
import { useMemo, useState, useEffect } from "react";
|
|
7
|
-
import { useContextProps } from "../hooks/useContextProps.mjs";
|
|
8
|
-
import { MantineLayoutRenderer } from "../utils/layout.mjs";
|
|
9
|
-
const ComponentTab = ({ value, jsonFormsProps, ...props }) => {
|
|
10
|
-
const [, _props] = useContextProps(
|
|
11
|
-
`Categorization.Tab`,
|
|
12
|
-
`Categorization.Tab.${value}`,
|
|
13
|
-
{ value },
|
|
14
|
-
jsonFormsProps,
|
|
15
|
-
false
|
|
16
|
-
);
|
|
17
|
-
const mergedProps = useMemo(() => deepMerge(props, _props), [props, _props]);
|
|
18
|
-
return /* @__PURE__ */ jsx(Tabs.Tab, { value, ...mergedProps, children: value });
|
|
19
|
-
};
|
|
20
|
-
const ComponentPanel = ({ value, jsonFormsProps, children, ...props }) => {
|
|
21
|
-
const [, _props] = useContextProps(
|
|
22
|
-
`Categorization.Panel`,
|
|
23
|
-
`Categorization.Panel.${value}`,
|
|
24
|
-
{ value },
|
|
25
|
-
jsonFormsProps,
|
|
26
|
-
false
|
|
27
|
-
);
|
|
28
|
-
const mergedProps = useMemo(() => deepMerge(props, _props), [props, _props]);
|
|
29
|
-
return /* @__PURE__ */ jsx(Tabs.Panel, { value, ...mergedProps, children });
|
|
30
|
-
};
|
|
31
|
-
const Component = (props) => {
|
|
32
|
-
var _a;
|
|
33
|
-
const { schema, uischema, path, enabled, visible, renderers, cells, data } = props;
|
|
34
|
-
const _categorization = uischema;
|
|
35
|
-
const _categories = useMemo(
|
|
36
|
-
() => _categorization.elements.filter((category) => isVisible(category, data)),
|
|
37
|
-
[_categorization.elements, data]
|
|
38
|
-
);
|
|
39
|
-
const [_value, setValue] = useState(((_a = _categories == null ? void 0 : _categories[0]) == null ? void 0 : _a.label) ?? "");
|
|
40
|
-
let componentProps = { categorization: _categorization, categories: _categories, value: _value, onChange: setValue };
|
|
41
|
-
const contextPath = `Categorization.[${componentProps.categorization.elements.map((c) => c.label).join("|")}]`;
|
|
42
|
-
const [, _props] = useContextProps(`Categorization`, contextPath, componentProps, props, false);
|
|
43
|
-
componentProps = { ...componentProps, ..._props };
|
|
44
|
-
const { categorization, categories, value, onChange, listProps, tabProps, panelProps, ...rest } = componentProps;
|
|
45
|
-
const categoryLabels = useMemo(() => categories.map((category) => category.label), [categories]);
|
|
46
|
-
useEffect(() => {
|
|
47
|
-
var _a2;
|
|
48
|
-
if (!categoryLabels.includes(value)) {
|
|
49
|
-
onChange(((_a2 = categories == null ? void 0 : categories[0]) == null ? void 0 : _a2.label) ?? "");
|
|
50
|
-
}
|
|
51
|
-
}, [categoryLabels]);
|
|
52
|
-
const childProps = { schema, path, enabled, visible, direction: "column" };
|
|
53
|
-
return /* @__PURE__ */ jsxs(Tabs, { value, onChange, m: "0.5rem", mx: "calc(0.5rem + 2px)", ...rest, children: [
|
|
54
|
-
/* @__PURE__ */ jsx(Tabs.List, { ...listProps, children: categoryLabels.map((label) => /* @__PURE__ */ jsx(ComponentTab, { value: label, jsonFormsProps: props, ...tabProps }, label)) }),
|
|
55
|
-
categories.map((category) => /* @__PURE__ */ jsx(ComponentPanel, { value: category.label, jsonFormsProps: props, ...panelProps, children: /* @__PURE__ */ jsx(MantineLayoutRenderer, { ...childProps, elements: category.elements, renderers, cells }) }, category.label))
|
|
56
|
-
] });
|
|
57
|
-
};
|
|
58
|
-
const MantineCategorizationLayoutTester = rankWith(1, uiTypeIs("Categorization"));
|
|
59
|
-
const MantineCategorizationLayoutRenderer = withJsonFormsLayoutProps(Component);
|
|
60
|
-
export {
|
|
61
|
-
MantineCategorizationLayoutRenderer,
|
|
62
|
-
MantineCategorizationLayoutTester
|
|
63
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function useDebouncedChange(handleChange: any, defaultValue: any, data: any, path: any, eventToValueFunction: any, timeout?: number): any[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|