fastapi-rtk 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.bundled/jsonforms/cjs/_virtual/endsWith.cjs +5 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/isUndefined.cjs +6 -0
- package/dist/.bundled/jsonforms/cjs/_virtual/last.cjs +5 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/remove.cjs +5 -2
- package/dist/.bundled/jsonforms/cjs/index.cjs +4 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.cjs +1 -1
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useCommonProps.cjs +5 -0
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useTimeProps.cjs +1 -2
- package/dist/.bundled/jsonforms/esm/_virtual/endsWith.mjs +6 -1
- package/dist/.bundled/jsonforms/esm/_virtual/isUndefined.mjs +7 -0
- package/dist/.bundled/jsonforms/esm/_virtual/last.mjs +6 -1
- package/dist/.bundled/jsonforms/esm/_virtual/remove.mjs +6 -1
- package/dist/.bundled/jsonforms/esm/index.mjs +4 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.mjs +1 -1
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useCommonProps.mjs +5 -0
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useTimeProps.mjs +1 -2
- package/dist/.external/cjs/@jsonforms_core@3.7.0/@jsonforms/core/lib/jsonforms-core.esm.cjs +546 -12
- package/dist/.external/cjs/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@19.2.4/@jsonforms/react/lib/jsonforms-react.esm.cjs +88 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useQueries.cjs +2 -6
- package/dist/.external/cjs/lodash@4.17.23/lodash/isUndefined.cjs +14 -0
- package/dist/.external/esm/@jsonforms_core@3.7.0/@jsonforms/core/lib/jsonforms-core.esm.mjs +548 -14
- package/dist/.external/esm/@jsonforms_react@3.7.0_@jsonforms_core@3.7.0_react@19.2.4/@jsonforms/react/lib/jsonforms-react.esm.mjs +89 -2
- package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useQueries.mjs +3 -7
- package/dist/.external/esm/lodash@4.17.23/lodash/isUndefined.mjs +14 -0
- package/dist/core/cjs/ActionIcons/Add/Add.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Delete/Delete.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Download/Download.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Edit/Edit.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Refresh/Refresh.cjs +1 -1
- package/dist/core/cjs/ActionIcons/View/View.cjs +1 -1
- package/dist/core/cjs/Dialogs/AddDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/DeleteDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -1
- package/dist/core/cjs/Modals/CommonModal.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/ErrorDialog.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/HeaderInputs/HeaderBetweenInput.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.cjs +12 -10
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.cjs +7 -2
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +1 -1
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideForm.cjs +1 -1
- package/dist/core/cjs/Wrappers/Provider/Contexts/LangContext.cjs +3 -3
- package/dist/core/cjs/Wrappers/Provider/Provider.cjs +1 -1
- 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/hooks/useProvideLang.cjs +1 -1
- package/dist/core/cjs/index.cjs +6 -4
- package/dist/core/esm/ActionIcons/Add/Add.mjs +1 -1
- package/dist/core/esm/ActionIcons/Delete/Delete.mjs +1 -1
- package/dist/core/esm/ActionIcons/Download/Download.mjs +1 -1
- package/dist/core/esm/ActionIcons/Edit/Edit.mjs +1 -1
- package/dist/core/esm/ActionIcons/Refresh/Refresh.mjs +1 -1
- package/dist/core/esm/ActionIcons/View/View.mjs +1 -1
- package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/DeleteDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
- package/dist/core/esm/Modals/CommonModal.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/ErrorDialog.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/HeaderInputs/HeaderBetweenInput.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.mjs +12 -10
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.mjs +8 -3
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +1 -1
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideForm.mjs +1 -1
- package/dist/core/esm/Wrappers/Provider/Contexts/LangContext.mjs +3 -3
- package/dist/core/esm/Wrappers/Provider/Provider.mjs +1 -1
- 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/hooks/useProvideLang.mjs +1 -1
- package/dist/core/esm/index.mjs +5 -3
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.d.ts +8 -8
- package/dist/core/lib/index.d.ts +3 -1
- package/dist/jsonforms/cjs/complex/MantineTableControl/MantineTableControl.cjs +1 -1
- package/dist/jsonforms/cjs/hooks/useCommonProps.cjs +5 -0
- package/dist/jsonforms/cjs/hooks/useTimeProps.cjs +1 -2
- package/dist/jsonforms/cjs/index.cjs +22 -0
- package/dist/jsonforms/esm/complex/MantineTableControl/MantineTableControl.mjs +1 -1
- package/dist/jsonforms/esm/hooks/useCommonProps.mjs +5 -0
- package/dist/jsonforms/esm/hooks/useTimeProps.mjs +1 -2
- package/dist/jsonforms/esm/index.mjs +4 -0
- package/dist/jsonforms/lib/index.d.ts +2 -0
- 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/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/HydrationBoundary.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/index.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/infiniteQueryOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/mutationOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/queryOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/suspense.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useBaseQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useInfiniteQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useIsFetching.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useMutation.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useMutationState.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/usePrefetchQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useSuspenseQueries.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useSuspenseQuery.cjs +0 -0
- /package/dist/.external/cjs/{i18next@25.8.4_typescript@5.9.3 → i18next@25.8.5_typescript@5.9.3}/i18next/dist/esm/i18next.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/I18nextProvider.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/context.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/defaults.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/i18nInstance.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/initReactI18next.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/unescape.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/useTranslation.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/utils.cjs +0 -0
- /package/dist/.external/cjs/{zustand@5.0.11_@types_react@19.2.13_react@19.2.4 → zustand@5.0.11_@types_react@19.2.14_react@19.2.4}/zustand/esm/react.cjs +0 -0
- /package/dist/.external/cjs/{zustand@5.0.11_@types_react@19.2.13_react@19.2.4 → zustand@5.0.11_@types_react@19.2.14_react@19.2.4}/zustand/esm/vanilla.cjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/HydrationBoundary.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/index.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/infiniteQueryOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/mutationOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/queryOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/suspense.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useBaseQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useInfiniteQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useIsFetching.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useMutation.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useMutationState.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/usePrefetchQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useSuspenseQueries.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.20_react@19.2.4 → @tanstack_react-query@5.90.21_react@19.2.4}/@tanstack/react-query/build/modern/useSuspenseQuery.mjs +0 -0
- /package/dist/.external/esm/{i18next@25.8.4_typescript@5.9.3 → i18next@25.8.5_typescript@5.9.3}/i18next/dist/esm/i18next.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/I18nextProvider.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/context.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/defaults.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/i18nInstance.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/initReactI18next.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/unescape.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/useTranslation.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.8.4_react-dom@19.2.4_react@19.2.4_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.8.5_react-dom@19.2.4_react@19.2.4_typescript@5.9.3}/react-i18next/dist/es/utils.mjs +0 -0
- /package/dist/.external/esm/{zustand@5.0.11_@types_react@19.2.13_react@19.2.4 → zustand@5.0.11_@types_react@19.2.14_react@19.2.4}/zustand/esm/react.mjs +0 -0
- /package/dist/.external/esm/{zustand@5.0.11_@types_react@19.2.13_react@19.2.4 → zustand@5.0.11_@types_react@19.2.14_react@19.2.4}/zustand/esm/vanilla.mjs +0 -0
|
@@ -10,7 +10,7 @@ const find = require("../../../../../../.bundled/jsonforms/cjs/_virtual/find.cjs
|
|
|
10
10
|
const isArray = require("../../../../../../.bundled/jsonforms/cjs/_virtual/isArray.cjs");
|
|
11
11
|
const includes = require("../../../../../../.bundled/jsonforms/cjs/_virtual/includes.cjs");
|
|
12
12
|
const ajv = require("../../../../../../.bundled/jsonforms/cjs/_virtual/ajv.cjs");
|
|
13
|
-
const index = require("../../../../../../.bundled/jsonforms/cjs/_virtual/index.cjs");
|
|
13
|
+
const index$2 = require("../../../../../../.bundled/jsonforms/cjs/_virtual/index.cjs");
|
|
14
14
|
const filter = require("../../../../../../.bundled/jsonforms/cjs/_virtual/filter.cjs");
|
|
15
15
|
const isEqual = require("../../../../../../.bundled/jsonforms/cjs/_virtual/isEqual.cjs");
|
|
16
16
|
const merge = require("../../../../../../.bundled/jsonforms/cjs/_virtual/merge.cjs");
|
|
@@ -19,11 +19,12 @@ const set = require("../../../../../../.bundled/jsonforms/cjs/_virtual/set.cjs")
|
|
|
19
19
|
const unset = require("../../../../../../.bundled/jsonforms/cjs/_virtual/unset.cjs");
|
|
20
20
|
const isFunction = require("../../../../../../.bundled/jsonforms/cjs/_virtual/isFunction.cjs");
|
|
21
21
|
const maxBy = require("../../../../../../.bundled/jsonforms/cjs/_virtual/maxBy.cjs");
|
|
22
|
-
require("../../../../../../.bundled/jsonforms/cjs/_virtual/remove.cjs");
|
|
23
|
-
require("../../../../../../.bundled/jsonforms/cjs/_virtual/endsWith.cjs");
|
|
24
|
-
require("../../../../../../.bundled/jsonforms/cjs/_virtual/last.cjs");
|
|
22
|
+
const remove = require("../../../../../../.bundled/jsonforms/cjs/_virtual/remove.cjs");
|
|
23
|
+
const endsWith = require("../../../../../../.bundled/jsonforms/cjs/_virtual/endsWith.cjs");
|
|
24
|
+
const last = require("../../../../../../.bundled/jsonforms/cjs/_virtual/last.cjs");
|
|
25
25
|
const reduce = require("../../../../../../.bundled/jsonforms/cjs/_virtual/reduce.cjs");
|
|
26
26
|
const toPairs = require("../../../../../../.bundled/jsonforms/cjs/_virtual/toPairs.cjs");
|
|
27
|
+
const isUndefined = require("../../../../../../.bundled/jsonforms/cjs/_virtual/isUndefined.cjs");
|
|
27
28
|
const ADDITIONAL_PROPERTIES = "additionalProperties";
|
|
28
29
|
const REQUIRED_PROPERTIES = "required";
|
|
29
30
|
const distinct = (properties, discriminator) => {
|
|
@@ -153,6 +154,7 @@ const createId = (proposedId) => {
|
|
|
153
154
|
return newID;
|
|
154
155
|
};
|
|
155
156
|
const removeId = (id) => usedIds.delete(id);
|
|
157
|
+
const clearAllIds = () => usedIds.clear();
|
|
156
158
|
const compose = (path1, path2) => {
|
|
157
159
|
let p1 = path1;
|
|
158
160
|
if (!isEmpty(path1) && !isEmpty(path2) && !path2.startsWith("[")) {
|
|
@@ -174,6 +176,9 @@ const toDataPathSegments = (schemaPath) => {
|
|
|
174
176
|
const startIndex = startFromRoot ? 2 : 1;
|
|
175
177
|
return range(startIndex, decodedSegments.length, 2).map((idx) => decodedSegments[idx]);
|
|
176
178
|
};
|
|
179
|
+
const toDataPath = (schemaPath) => {
|
|
180
|
+
return toDataPathSegments(schemaPath).join(".");
|
|
181
|
+
};
|
|
177
182
|
const encode = (segment) => segment == null ? void 0 : segment.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
178
183
|
const decode = (pointerSegment) => pointerSegment == null ? void 0 : pointerSegment.replace(/~1/g, "/").replace(/~0/, "~");
|
|
179
184
|
const getPropPath = (path) => {
|
|
@@ -190,6 +195,9 @@ const deriveLabel = (controlElement, schemaElement) => {
|
|
|
190
195
|
}
|
|
191
196
|
return "";
|
|
192
197
|
};
|
|
198
|
+
const createCleanLabel = (label) => {
|
|
199
|
+
return startCase(label.replace("_", " "));
|
|
200
|
+
};
|
|
193
201
|
const createLabelDescriptionFrom = (withLabel, schema) => {
|
|
194
202
|
const labelProperty = withLabel.label;
|
|
195
203
|
if (typeof labelProperty === "boolean") {
|
|
@@ -209,6 +217,12 @@ const labelDescription = (text, show) => ({
|
|
|
209
217
|
text,
|
|
210
218
|
show
|
|
211
219
|
});
|
|
220
|
+
const isObjectSchema$1 = (schema) => {
|
|
221
|
+
return schema.properties !== void 0;
|
|
222
|
+
};
|
|
223
|
+
const isArraySchema = (schema) => {
|
|
224
|
+
return schema.type === "array" && schema.items !== void 0;
|
|
225
|
+
};
|
|
212
226
|
const resolveData = (instance, dataPath) => {
|
|
213
227
|
if (isEmpty(dataPath)) {
|
|
214
228
|
return instance;
|
|
@@ -221,6 +235,29 @@ const resolveData = (instance, dataPath) => {
|
|
|
221
235
|
return curInstance[decodedSegment];
|
|
222
236
|
}, instance);
|
|
223
237
|
};
|
|
238
|
+
const findAllRefs = (schema, result = {}, resolveTuples = false) => {
|
|
239
|
+
if (isObjectSchema$1(schema)) {
|
|
240
|
+
Object.keys(schema.properties).forEach((key) => findAllRefs(schema.properties[key], result));
|
|
241
|
+
}
|
|
242
|
+
if (isArraySchema(schema)) {
|
|
243
|
+
if (Array.isArray(schema.items)) {
|
|
244
|
+
if (resolveTuples) {
|
|
245
|
+
const items = schema.items;
|
|
246
|
+
items.forEach((child) => findAllRefs(child, result));
|
|
247
|
+
}
|
|
248
|
+
} else {
|
|
249
|
+
findAllRefs(schema.items, result);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
if (Array.isArray(schema.anyOf)) {
|
|
253
|
+
const anyOf = schema.anyOf;
|
|
254
|
+
anyOf.forEach((child) => findAllRefs(child, result));
|
|
255
|
+
}
|
|
256
|
+
if (schema.$ref !== void 0) {
|
|
257
|
+
result[schema.$ref] = schema;
|
|
258
|
+
}
|
|
259
|
+
return result;
|
|
260
|
+
};
|
|
224
261
|
const invalidSegment = (pathSegment) => pathSegment === "#" || pathSegment === void 0 || pathSegment === "";
|
|
225
262
|
const resolveSchema = (schema, schemaPath, rootSchema) => {
|
|
226
263
|
const result = doResolveSchema(schema, schemaPath, {
|
|
@@ -314,6 +351,152 @@ const resolveSingleStep = (schema, pathSegments) => {
|
|
|
314
351
|
resolvedSegment: segment
|
|
315
352
|
};
|
|
316
353
|
};
|
|
354
|
+
const Draft4 = {
|
|
355
|
+
id: "http://json-schema.org/draft-04/schema#",
|
|
356
|
+
$schema: "http://json-schema.org/draft-04/schema#",
|
|
357
|
+
description: "Core schema meta-schema",
|
|
358
|
+
definitions: {
|
|
359
|
+
schemaArray: {
|
|
360
|
+
type: "array",
|
|
361
|
+
minItems: 1,
|
|
362
|
+
items: { $ref: "#" }
|
|
363
|
+
},
|
|
364
|
+
positiveInteger: {
|
|
365
|
+
type: "integer",
|
|
366
|
+
minimum: 0
|
|
367
|
+
},
|
|
368
|
+
positiveIntegerDefault0: {
|
|
369
|
+
allOf: [{ $ref: "#/definitions/positiveInteger" }, { default: 0 }]
|
|
370
|
+
},
|
|
371
|
+
simpleTypes: {
|
|
372
|
+
enum: [
|
|
373
|
+
"array",
|
|
374
|
+
"boolean",
|
|
375
|
+
"integer",
|
|
376
|
+
"null",
|
|
377
|
+
"number",
|
|
378
|
+
"object",
|
|
379
|
+
"string"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
stringArray: {
|
|
383
|
+
type: "array",
|
|
384
|
+
items: { type: "string" },
|
|
385
|
+
minItems: 1,
|
|
386
|
+
uniqueItems: true
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
type: "object",
|
|
390
|
+
properties: {
|
|
391
|
+
id: {
|
|
392
|
+
type: "string",
|
|
393
|
+
format: "uri"
|
|
394
|
+
},
|
|
395
|
+
$schema: {
|
|
396
|
+
type: "string",
|
|
397
|
+
format: "uri"
|
|
398
|
+
},
|
|
399
|
+
title: {
|
|
400
|
+
type: "string"
|
|
401
|
+
},
|
|
402
|
+
description: {
|
|
403
|
+
type: "string"
|
|
404
|
+
},
|
|
405
|
+
default: {},
|
|
406
|
+
multipleOf: {
|
|
407
|
+
type: "number",
|
|
408
|
+
minimum: 0,
|
|
409
|
+
exclusiveMinimum: true
|
|
410
|
+
},
|
|
411
|
+
maximum: {
|
|
412
|
+
type: "number"
|
|
413
|
+
},
|
|
414
|
+
exclusiveMaximum: {
|
|
415
|
+
type: "boolean",
|
|
416
|
+
default: false
|
|
417
|
+
},
|
|
418
|
+
minimum: {
|
|
419
|
+
type: "number"
|
|
420
|
+
},
|
|
421
|
+
exclusiveMinimum: {
|
|
422
|
+
type: "boolean",
|
|
423
|
+
default: false
|
|
424
|
+
},
|
|
425
|
+
maxLength: { $ref: "#/definitions/positiveInteger" },
|
|
426
|
+
minLength: { $ref: "#/definitions/positiveIntegerDefault0" },
|
|
427
|
+
pattern: {
|
|
428
|
+
type: "string",
|
|
429
|
+
format: "regex"
|
|
430
|
+
},
|
|
431
|
+
additionalItems: {
|
|
432
|
+
anyOf: [{ type: "boolean" }, { $ref: "#" }],
|
|
433
|
+
default: {}
|
|
434
|
+
},
|
|
435
|
+
items: {
|
|
436
|
+
anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }],
|
|
437
|
+
default: {}
|
|
438
|
+
},
|
|
439
|
+
maxItems: { $ref: "#/definitions/positiveInteger" },
|
|
440
|
+
minItems: { $ref: "#/definitions/positiveIntegerDefault0" },
|
|
441
|
+
uniqueItems: {
|
|
442
|
+
type: "boolean",
|
|
443
|
+
default: false
|
|
444
|
+
},
|
|
445
|
+
maxProperties: { $ref: "#/definitions/positiveInteger" },
|
|
446
|
+
minProperties: { $ref: "#/definitions/positiveIntegerDefault0" },
|
|
447
|
+
required: { $ref: "#/definitions/stringArray" },
|
|
448
|
+
additionalProperties: {
|
|
449
|
+
anyOf: [{ type: "boolean" }, { $ref: "#" }],
|
|
450
|
+
default: {}
|
|
451
|
+
},
|
|
452
|
+
definitions: {
|
|
453
|
+
type: "object",
|
|
454
|
+
additionalProperties: { $ref: "#" },
|
|
455
|
+
default: {}
|
|
456
|
+
},
|
|
457
|
+
properties: {
|
|
458
|
+
type: "object",
|
|
459
|
+
additionalProperties: { $ref: "#" },
|
|
460
|
+
default: {}
|
|
461
|
+
},
|
|
462
|
+
patternProperties: {
|
|
463
|
+
type: "object",
|
|
464
|
+
additionalProperties: { $ref: "#" },
|
|
465
|
+
default: {}
|
|
466
|
+
},
|
|
467
|
+
dependencies: {
|
|
468
|
+
type: "object",
|
|
469
|
+
additionalProperties: {
|
|
470
|
+
anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }]
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
enum: {
|
|
474
|
+
type: "array",
|
|
475
|
+
minItems: 1,
|
|
476
|
+
uniqueItems: true
|
|
477
|
+
},
|
|
478
|
+
type: {
|
|
479
|
+
anyOf: [
|
|
480
|
+
{ $ref: "#/definitions/simpleTypes" },
|
|
481
|
+
{
|
|
482
|
+
type: "array",
|
|
483
|
+
items: { $ref: "#/definitions/simpleTypes" },
|
|
484
|
+
minItems: 1,
|
|
485
|
+
uniqueItems: true
|
|
486
|
+
}
|
|
487
|
+
]
|
|
488
|
+
},
|
|
489
|
+
allOf: { $ref: "#/definitions/schemaArray" },
|
|
490
|
+
anyOf: { $ref: "#/definitions/schemaArray" },
|
|
491
|
+
oneOf: { $ref: "#/definitions/schemaArray" },
|
|
492
|
+
not: { $ref: "#" }
|
|
493
|
+
},
|
|
494
|
+
dependencies: {
|
|
495
|
+
exclusiveMaximum: ["maximum"],
|
|
496
|
+
exclusiveMinimum: ["minimum"]
|
|
497
|
+
},
|
|
498
|
+
default: {}
|
|
499
|
+
};
|
|
317
500
|
exports.RuleEffect = void 0;
|
|
318
501
|
(function(RuleEffect) {
|
|
319
502
|
RuleEffect["HIDE"] = "HIDE";
|
|
@@ -321,6 +504,28 @@ exports.RuleEffect = void 0;
|
|
|
321
504
|
RuleEffect["ENABLE"] = "ENABLE";
|
|
322
505
|
RuleEffect["DISABLE"] = "DISABLE";
|
|
323
506
|
})(exports.RuleEffect || (exports.RuleEffect = {}));
|
|
507
|
+
const setReadonlyPropertyValue = (value) => (child) => {
|
|
508
|
+
if (!child.options) {
|
|
509
|
+
child.options = {};
|
|
510
|
+
}
|
|
511
|
+
child.options.readonly = value;
|
|
512
|
+
};
|
|
513
|
+
const setReadonly = (uischema) => {
|
|
514
|
+
iterateSchema(uischema, setReadonlyPropertyValue(true));
|
|
515
|
+
};
|
|
516
|
+
const unsetReadonly = (uischema) => {
|
|
517
|
+
iterateSchema(uischema, setReadonlyPropertyValue(false));
|
|
518
|
+
};
|
|
519
|
+
const iterateSchema = (uischema, toApply) => {
|
|
520
|
+
if (isEmpty(uischema)) {
|
|
521
|
+
return;
|
|
522
|
+
}
|
|
523
|
+
if (isLayout(uischema)) {
|
|
524
|
+
uischema.elements.forEach((child) => iterateSchema(child, toApply));
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
toApply(uischema);
|
|
528
|
+
};
|
|
324
529
|
const findUiControl = (uiSchema, path) => {
|
|
325
530
|
var _a;
|
|
326
531
|
if (isControlElement(uiSchema)) {
|
|
@@ -355,6 +560,7 @@ const isLayout = (uischema) => uischema.elements !== void 0;
|
|
|
355
560
|
const isScopable = (obj) => !!obj && typeof obj === "object";
|
|
356
561
|
const isScoped = (obj) => isScopable(obj) && typeof obj.scope === "string";
|
|
357
562
|
const isLabelable = (obj) => !!obj && typeof obj === "object";
|
|
563
|
+
const isLabeled = (obj) => isLabelable(obj) && ["string", "boolean"].includes(typeof obj.label);
|
|
358
564
|
const isControlElement = (uiSchema) => uiSchema.type === "Control";
|
|
359
565
|
const isOrCondition = (condition) => condition.type === "OR";
|
|
360
566
|
const isAndCondition = (condition) => condition.type === "AND";
|
|
@@ -464,6 +670,7 @@ const convertDateToString = (date, format) => {
|
|
|
464
670
|
}
|
|
465
671
|
return dateString;
|
|
466
672
|
};
|
|
673
|
+
const convertToValidClassName = (s) => s.replace("#", "root").replace(new RegExp("/", "g"), "_");
|
|
467
674
|
const hasType = (jsonSchema, expected) => {
|
|
468
675
|
return includes(deriveTypes(jsonSchema), expected);
|
|
469
676
|
};
|
|
@@ -511,6 +718,14 @@ const Paths = {
|
|
|
511
718
|
compose,
|
|
512
719
|
fromScoped
|
|
513
720
|
};
|
|
721
|
+
const Runtime = {
|
|
722
|
+
isEnabled(uischema, data, ajv2, config) {
|
|
723
|
+
return isEnabled(uischema, data, void 0, ajv2, config);
|
|
724
|
+
},
|
|
725
|
+
isVisible(uischema, data, ajv2, config) {
|
|
726
|
+
return isVisible(uischema, data, void 0, ajv2, config);
|
|
727
|
+
}
|
|
728
|
+
};
|
|
514
729
|
const createAjv = (options) => {
|
|
515
730
|
const ajv$1 = new ajv({
|
|
516
731
|
allErrors: true,
|
|
@@ -519,7 +734,7 @@ const createAjv = (options) => {
|
|
|
519
734
|
addUsedSchema: false,
|
|
520
735
|
...options
|
|
521
736
|
});
|
|
522
|
-
index(ajv$1);
|
|
737
|
+
index$2(ajv$1);
|
|
523
738
|
return ajv$1;
|
|
524
739
|
};
|
|
525
740
|
const validate = (validator, data) => {
|
|
@@ -532,6 +747,9 @@ const validate = (validator, data) => {
|
|
|
532
747
|
}
|
|
533
748
|
return validator.errors;
|
|
534
749
|
};
|
|
750
|
+
const defaultDateFormat = "YYYY-MM-DD";
|
|
751
|
+
const defaultTimeFormat = "HH:mm:ss";
|
|
752
|
+
const defaultDateTimeFormat = "YYYY-MM-DDTHH:mm:ss.sssZ";
|
|
535
753
|
const getInvalidProperty = (error) => {
|
|
536
754
|
switch (error.keyword) {
|
|
537
755
|
case "required":
|
|
@@ -584,6 +802,10 @@ const formatErrorMessage = (errors) => {
|
|
|
584
802
|
}
|
|
585
803
|
return errors.join("\n");
|
|
586
804
|
};
|
|
805
|
+
const Helpers = {
|
|
806
|
+
createLabelDescriptionFrom,
|
|
807
|
+
convertToValidClassName
|
|
808
|
+
};
|
|
587
809
|
const createLayout = (layoutType) => ({
|
|
588
810
|
type: layoutType,
|
|
589
811
|
elements: []
|
|
@@ -864,6 +1086,16 @@ var index$1 = /* @__PURE__ */ Object.freeze({
|
|
|
864
1086
|
updateI18n,
|
|
865
1087
|
setUISchema
|
|
866
1088
|
});
|
|
1089
|
+
const cellReducer = (state = [], { type, tester, cell }) => {
|
|
1090
|
+
switch (type) {
|
|
1091
|
+
case ADD_CELL:
|
|
1092
|
+
return state.concat([{ tester, cell }]);
|
|
1093
|
+
case REMOVE_CELL:
|
|
1094
|
+
return state.filter((t) => t.tester !== tester);
|
|
1095
|
+
default:
|
|
1096
|
+
return state;
|
|
1097
|
+
}
|
|
1098
|
+
};
|
|
867
1099
|
const configDefault = {
|
|
868
1100
|
restrict: false,
|
|
869
1101
|
trim: false,
|
|
@@ -1068,6 +1300,20 @@ const coreReducer = (state = initState, action) => {
|
|
|
1068
1300
|
return state;
|
|
1069
1301
|
}
|
|
1070
1302
|
};
|
|
1303
|
+
const defaultDataReducer = (state = [], action) => {
|
|
1304
|
+
switch (action.type) {
|
|
1305
|
+
case ADD_DEFAULT_DATA:
|
|
1306
|
+
return state.concat([
|
|
1307
|
+
{ schemaPath: action.schemaPath, data: action.data }
|
|
1308
|
+
]);
|
|
1309
|
+
case REMOVE_DEFAULT_DATA:
|
|
1310
|
+
return state.filter((t) => t.schemaPath !== action.schemaPath);
|
|
1311
|
+
default:
|
|
1312
|
+
return state;
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
const getDefaultData = (state) => extractDefaultData(get(state, "jsonforms.defaultData"));
|
|
1316
|
+
const extractDefaultData = (state) => state;
|
|
1071
1317
|
exports.ArrayTranslationEnum = void 0;
|
|
1072
1318
|
(function(ArrayTranslationEnum) {
|
|
1073
1319
|
ArrayTranslationEnum["addTooltip"] = "addTooltip";
|
|
@@ -1120,7 +1366,7 @@ exports.CombinatorTranslationEnum = void 0;
|
|
|
1120
1366
|
CombinatorTranslationEnum["clearDialogAccept"] = "clearDialogAccept";
|
|
1121
1367
|
CombinatorTranslationEnum["clearDialogDecline"] = "clearDialogDecline";
|
|
1122
1368
|
})(exports.CombinatorTranslationEnum || (exports.CombinatorTranslationEnum = {}));
|
|
1123
|
-
[
|
|
1369
|
+
const combinatorDefaultTranslations = [
|
|
1124
1370
|
{
|
|
1125
1371
|
key: exports.CombinatorTranslationEnum.clearDialogTitle,
|
|
1126
1372
|
default: () => "Clear form?"
|
|
@@ -1208,6 +1454,20 @@ const getArrayTranslations = (t, defaultTranslations, i18nKeyPrefix, label) => {
|
|
|
1208
1454
|
});
|
|
1209
1455
|
return translations;
|
|
1210
1456
|
};
|
|
1457
|
+
const getCombinatorTranslations = (t, defaultTranslations, i18nKeyPrefix, label) => {
|
|
1458
|
+
const translations = {};
|
|
1459
|
+
defaultTranslations.forEach((controlElement) => {
|
|
1460
|
+
const key = addI18nKeyToPrefix(i18nKeyPrefix, controlElement.key);
|
|
1461
|
+
translations[controlElement.key] = t(key, controlElement.default(label));
|
|
1462
|
+
});
|
|
1463
|
+
return translations;
|
|
1464
|
+
};
|
|
1465
|
+
const fetchLocale = (state) => {
|
|
1466
|
+
if (state === void 0) {
|
|
1467
|
+
return void 0;
|
|
1468
|
+
}
|
|
1469
|
+
return state.locale;
|
|
1470
|
+
};
|
|
1211
1471
|
const fetchTranslator = (state) => {
|
|
1212
1472
|
if (state === void 0) {
|
|
1213
1473
|
return defaultTranslator;
|
|
@@ -1220,6 +1480,7 @@ const fetchErrorTranslator = (state) => {
|
|
|
1220
1480
|
}
|
|
1221
1481
|
return state.translateError;
|
|
1222
1482
|
};
|
|
1483
|
+
const getLocale = (state) => fetchLocale(get(state, "jsonforms.i18n"));
|
|
1223
1484
|
const getTranslator = () => (state) => fetchTranslator(get(state, "jsonforms.i18n"));
|
|
1224
1485
|
const getErrorTranslator = () => (state) => fetchErrorTranslator(get(state, "jsonforms.i18n"));
|
|
1225
1486
|
const defaultJsonFormsI18nState = {
|
|
@@ -1258,6 +1519,18 @@ const i18nReducer = (state = defaultJsonFormsI18nState, action) => {
|
|
|
1258
1519
|
return state;
|
|
1259
1520
|
}
|
|
1260
1521
|
};
|
|
1522
|
+
const rendererReducer = (state = [], action) => {
|
|
1523
|
+
switch (action.type) {
|
|
1524
|
+
case ADD_RENDERER:
|
|
1525
|
+
return state.concat([
|
|
1526
|
+
{ tester: action.tester, renderer: action.renderer }
|
|
1527
|
+
]);
|
|
1528
|
+
case REMOVE_RENDERER:
|
|
1529
|
+
return state.filter((t) => t.tester !== action.tester);
|
|
1530
|
+
default:
|
|
1531
|
+
return state;
|
|
1532
|
+
}
|
|
1533
|
+
};
|
|
1261
1534
|
const NOT_APPLICABLE = -1;
|
|
1262
1535
|
const isControl = (uischema) => !isEmpty(uischema) && uischema.scope !== void 0;
|
|
1263
1536
|
const schemaMatches = (predicate) => (uischema, schema, context) => {
|
|
@@ -1305,6 +1578,26 @@ const optionIs = (optionName, optionValue) => (uischema) => {
|
|
|
1305
1578
|
const options = uischema.options;
|
|
1306
1579
|
return !isEmpty(options) && options[optionName] === optionValue;
|
|
1307
1580
|
};
|
|
1581
|
+
const hasOption = (optionName) => (uischema) => {
|
|
1582
|
+
if (isEmpty(uischema)) {
|
|
1583
|
+
return false;
|
|
1584
|
+
}
|
|
1585
|
+
const options = uischema.options;
|
|
1586
|
+
return !isEmpty(options) && !isUndefined(options[optionName]);
|
|
1587
|
+
};
|
|
1588
|
+
const scopeEndsWith = (expected) => (uischema) => {
|
|
1589
|
+
if (isEmpty(expected) || !isControl(uischema)) {
|
|
1590
|
+
return false;
|
|
1591
|
+
}
|
|
1592
|
+
return endsWith(uischema.scope, expected);
|
|
1593
|
+
};
|
|
1594
|
+
const scopeEndIs = (expected) => (uischema) => {
|
|
1595
|
+
if (isEmpty(expected) || !isControl(uischema)) {
|
|
1596
|
+
return false;
|
|
1597
|
+
}
|
|
1598
|
+
const schemaPath = uischema.scope;
|
|
1599
|
+
return !isEmpty(schemaPath) && last(schemaPath.split("/")) === expected;
|
|
1600
|
+
};
|
|
1308
1601
|
const and = (...testers) => (uischema, schema, context) => testers.reduce((acc, tester) => acc && tester(uischema, schema, context), true);
|
|
1309
1602
|
const or = (...testers) => (uischema, schema, context) => testers.reduce((acc, tester) => acc || tester(uischema, schema, context), false);
|
|
1310
1603
|
const rankWith = (rank, tester) => (uischema, schema, context) => {
|
|
@@ -1313,17 +1606,24 @@ const rankWith = (rank, tester) => (uischema, schema, context) => {
|
|
|
1313
1606
|
}
|
|
1314
1607
|
return NOT_APPLICABLE;
|
|
1315
1608
|
};
|
|
1609
|
+
const withIncreasedRank = (by, rankedTester) => (uischema, schema, context) => {
|
|
1610
|
+
const rank = rankedTester(uischema, schema, context);
|
|
1611
|
+
if (rank === NOT_APPLICABLE) {
|
|
1612
|
+
return NOT_APPLICABLE;
|
|
1613
|
+
}
|
|
1614
|
+
return rank + by;
|
|
1615
|
+
};
|
|
1316
1616
|
const isBooleanControl = and(uiTypeIs("Control"), schemaTypeIs("boolean"));
|
|
1317
1617
|
const isObjectControl = and(uiTypeIs("Control"), schemaTypeIs("object"));
|
|
1318
|
-
and(uiTypeIs("Control"), schemaMatches((schema) => Object.prototype.hasOwnProperty.call(schema, "allOf")));
|
|
1319
|
-
and(uiTypeIs("Control"), schemaMatches((schema) => Object.prototype.hasOwnProperty.call(schema, "anyOf")));
|
|
1618
|
+
const isAllOfControl = and(uiTypeIs("Control"), schemaMatches((schema) => Object.prototype.hasOwnProperty.call(schema, "allOf")));
|
|
1619
|
+
const isAnyOfControl = and(uiTypeIs("Control"), schemaMatches((schema) => Object.prototype.hasOwnProperty.call(schema, "anyOf")));
|
|
1320
1620
|
const isOneOfControl = and(uiTypeIs("Control"), schemaMatches((schema) => Object.prototype.hasOwnProperty.call(schema, "oneOf")));
|
|
1321
1621
|
const isEnumControl = and(uiTypeIs("Control"), schemaMatches((schema) => isEnumSchema(schema)));
|
|
1322
|
-
and(uiTypeIs("Control"), schemaMatches((schema) => isOneOfEnumSchema(schema)));
|
|
1622
|
+
const isOneOfEnumControl = and(uiTypeIs("Control"), schemaMatches((schema) => isOneOfEnumSchema(schema)));
|
|
1323
1623
|
const isIntegerControl = and(uiTypeIs("Control"), schemaTypeIs("integer"));
|
|
1324
1624
|
const isNumberControl = and(uiTypeIs("Control"), schemaTypeIs("number"));
|
|
1325
1625
|
const isStringControl = and(uiTypeIs("Control"), schemaTypeIs("string"));
|
|
1326
|
-
and(uiTypeIs("Control"), optionIs("multi", true));
|
|
1626
|
+
const isMultiLineControl = and(uiTypeIs("Control"), optionIs("multi", true));
|
|
1327
1627
|
const isDateControl = and(uiTypeIs("Control"), or(formatIs("date"), optionIs("format", "date")));
|
|
1328
1628
|
const isTimeControl = and(uiTypeIs("Control"), or(formatIs("time"), optionIs("format", "time")));
|
|
1329
1629
|
const isDateTimeControl = and(uiTypeIs("Control"), or(formatIs("date-time"), optionIs("format", "date-time")));
|
|
@@ -1399,6 +1699,7 @@ const isObjectArrayWithNesting = (uischema, schema, context) => {
|
|
|
1399
1699
|
}
|
|
1400
1700
|
return false;
|
|
1401
1701
|
};
|
|
1702
|
+
const isArrayObjectControl = isObjectArrayControl;
|
|
1402
1703
|
const isPrimitiveArrayControl = and(uiTypeIs("Control"), schemaMatches(
|
|
1403
1704
|
(schema, rootSchema) => deriveTypes(schema).length !== 0 && !Array.isArray(resolveSchema(schema, "items", rootSchema))
|
|
1404
1705
|
), schemaSubPathMatches("items", (schema, rootSchema) => {
|
|
@@ -1406,8 +1707,75 @@ const isPrimitiveArrayControl = and(uiTypeIs("Control"), schemaMatches(
|
|
|
1406
1707
|
const types = deriveTypes(resolvedSchema);
|
|
1407
1708
|
return types.length === 1 && includes(["integer", "number", "boolean", "string"], types[0]);
|
|
1408
1709
|
}));
|
|
1409
|
-
and(uiTypeIs("Control"), or(schemaTypeIs("number"), schemaTypeIs("integer")), schemaMatches((schema) => Object.prototype.hasOwnProperty.call(schema, "maximum") && Object.prototype.hasOwnProperty.call(schema, "minimum") && Object.prototype.hasOwnProperty.call(schema, "default")), optionIs("slider", true));
|
|
1410
|
-
and(uiTypeIs("Control"), schemaTypeIs("integer"), optionIs("format", true));
|
|
1710
|
+
const isRangeControl = and(uiTypeIs("Control"), or(schemaTypeIs("number"), schemaTypeIs("integer")), schemaMatches((schema) => Object.prototype.hasOwnProperty.call(schema, "maximum") && Object.prototype.hasOwnProperty.call(schema, "minimum") && Object.prototype.hasOwnProperty.call(schema, "default")), optionIs("slider", true));
|
|
1711
|
+
const isNumberFormatControl = and(uiTypeIs("Control"), schemaTypeIs("integer"), optionIs("format", true));
|
|
1712
|
+
const isCategorization = (category) => category.type === "Categorization";
|
|
1713
|
+
const isCategory = (uischema) => uischema.type === "Category";
|
|
1714
|
+
const hasCategory = (categorization) => {
|
|
1715
|
+
if (isEmpty(categorization.elements)) {
|
|
1716
|
+
return false;
|
|
1717
|
+
}
|
|
1718
|
+
return categorization.elements.map((elem) => isCategorization(elem) ? hasCategory(elem) : isCategory(elem)).reduce((prev, curr) => prev && curr, true);
|
|
1719
|
+
};
|
|
1720
|
+
const categorizationHasCategory = (uischema) => hasCategory(uischema);
|
|
1721
|
+
const not = (tester) => (uischema, schema, context) => !tester(uischema, schema, context);
|
|
1722
|
+
var index = /* @__PURE__ */ Object.freeze({
|
|
1723
|
+
__proto__: null,
|
|
1724
|
+
NOT_APPLICABLE,
|
|
1725
|
+
isControl,
|
|
1726
|
+
schemaMatches,
|
|
1727
|
+
schemaSubPathMatches,
|
|
1728
|
+
schemaTypeIs,
|
|
1729
|
+
formatIs,
|
|
1730
|
+
uiTypeIs,
|
|
1731
|
+
optionIs,
|
|
1732
|
+
hasOption,
|
|
1733
|
+
scopeEndsWith,
|
|
1734
|
+
scopeEndIs,
|
|
1735
|
+
and,
|
|
1736
|
+
or,
|
|
1737
|
+
rankWith,
|
|
1738
|
+
withIncreasedRank,
|
|
1739
|
+
isBooleanControl,
|
|
1740
|
+
isObjectControl,
|
|
1741
|
+
isAllOfControl,
|
|
1742
|
+
isAnyOfControl,
|
|
1743
|
+
isOneOfControl,
|
|
1744
|
+
isEnumControl,
|
|
1745
|
+
isOneOfEnumControl,
|
|
1746
|
+
isIntegerControl,
|
|
1747
|
+
isNumberControl,
|
|
1748
|
+
isStringControl,
|
|
1749
|
+
isMultiLineControl,
|
|
1750
|
+
isDateControl,
|
|
1751
|
+
isTimeControl,
|
|
1752
|
+
isDateTimeControl,
|
|
1753
|
+
isObjectArray,
|
|
1754
|
+
isObjectArrayControl,
|
|
1755
|
+
isObjectArrayWithNesting,
|
|
1756
|
+
isArrayObjectControl,
|
|
1757
|
+
isPrimitiveArrayControl,
|
|
1758
|
+
isRangeControl,
|
|
1759
|
+
isNumberFormatControl,
|
|
1760
|
+
isCategorization,
|
|
1761
|
+
isCategory,
|
|
1762
|
+
hasCategory,
|
|
1763
|
+
categorizationHasCategory,
|
|
1764
|
+
not
|
|
1765
|
+
});
|
|
1766
|
+
const uischemaRegistryReducer = (state = [], action) => {
|
|
1767
|
+
switch (action.type) {
|
|
1768
|
+
case ADD_UI_SCHEMA:
|
|
1769
|
+
return state.slice().concat({ tester: action.tester, uischema: action.uischema });
|
|
1770
|
+
case REMOVE_UI_SCHEMA: {
|
|
1771
|
+
const copy = state.slice();
|
|
1772
|
+
remove(copy, (entry) => entry.tester === action.tester);
|
|
1773
|
+
return copy;
|
|
1774
|
+
}
|
|
1775
|
+
default:
|
|
1776
|
+
return state;
|
|
1777
|
+
}
|
|
1778
|
+
};
|
|
1411
1779
|
const findMatchingUISchema = (state) => (jsonSchema, schemaPath, path) => {
|
|
1412
1780
|
const match = maxBy(state, (entry) => entry.tester(jsonSchema, schemaPath, path));
|
|
1413
1781
|
if (match !== void 0 && match.tester(jsonSchema, schemaPath, path) !== NOT_APPLICABLE) {
|
|
@@ -1415,6 +1783,15 @@ const findMatchingUISchema = (state) => (jsonSchema, schemaPath, path) => {
|
|
|
1415
1783
|
}
|
|
1416
1784
|
return void 0;
|
|
1417
1785
|
};
|
|
1786
|
+
const jsonFormsReducerConfig = {
|
|
1787
|
+
core: coreReducer,
|
|
1788
|
+
renderers: rendererReducer,
|
|
1789
|
+
cells: cellReducer,
|
|
1790
|
+
config: configReducer,
|
|
1791
|
+
uischemas: uischemaRegistryReducer,
|
|
1792
|
+
defaultData: defaultDataReducer,
|
|
1793
|
+
i18n: i18nReducer
|
|
1794
|
+
};
|
|
1418
1795
|
const findUISchema = (uischemas, schema, schemaPath, path, fallback = "VerticalLayout", control, rootSchema) => {
|
|
1419
1796
|
if (control && control.options && control.options.detail) {
|
|
1420
1797
|
if (typeof control.options.detail === "string") {
|
|
@@ -1457,6 +1834,7 @@ const getUiSchema = (state) => extractUiSchema(get(state, "jsonforms.core"));
|
|
|
1457
1834
|
const getAjv = (state) => extractAjv(get(state, "jsonforms.core"));
|
|
1458
1835
|
const getRenderers = (state) => get(state, "jsonforms.renderers");
|
|
1459
1836
|
const getCells = (state) => get(state, "jsonforms.cells");
|
|
1837
|
+
const getUISchemas = (state) => get(state, "jsonforms.uischemas");
|
|
1460
1838
|
const extractData = (state) => get(state, "data");
|
|
1461
1839
|
const extractSchema = (state) => get(state, "schema");
|
|
1462
1840
|
const extractUiSchema = (state) => get(state, "uischema");
|
|
@@ -1515,6 +1893,9 @@ const isRequired = (schema, schemaPath, rootSchema) => {
|
|
|
1515
1893
|
const computeLabel = (label, required, hideRequiredAsterisk) => {
|
|
1516
1894
|
return `${label ?? ""}${required && !hideRequiredAsterisk ? "*" : ""}`;
|
|
1517
1895
|
};
|
|
1896
|
+
const showAsRequired = (required, hideRequiredAsterisk) => {
|
|
1897
|
+
return required && !hideRequiredAsterisk;
|
|
1898
|
+
};
|
|
1518
1899
|
const createDefaultValue = (schema, rootSchema) => {
|
|
1519
1900
|
const defaultValue = doCreateDefaultValue(schema, rootSchema);
|
|
1520
1901
|
return defaultValue === void 0 ? {} : defaultValue;
|
|
@@ -1594,6 +1975,9 @@ const extractDefaults = (schema, rootSchema) => {
|
|
|
1594
1975
|
}
|
|
1595
1976
|
return cloneDeep(schema.default);
|
|
1596
1977
|
};
|
|
1978
|
+
const isDescriptionHidden = (visible, description, isFocused, showUnfocusedDescription) => {
|
|
1979
|
+
return description === void 0 || description !== void 0 && !visible || !showUnfocusedDescription && !isFocused;
|
|
1980
|
+
};
|
|
1597
1981
|
const enumToEnumOptionMapper = (e, t, i18nKey) => {
|
|
1598
1982
|
let label = typeof e === "string" ? e : JSON.stringify(e);
|
|
1599
1983
|
if (t) {
|
|
@@ -1710,6 +2094,15 @@ const mapStateToMultiEnumControlProps = (state, ownProps) => {
|
|
|
1710
2094
|
options
|
|
1711
2095
|
};
|
|
1712
2096
|
};
|
|
2097
|
+
const mapStateToMasterListItemProps = (state, ownProps) => {
|
|
2098
|
+
const { schema, path, uischema, childLabelProp, index: index2 } = ownProps;
|
|
2099
|
+
const childPath = compose(path, `${index2}`);
|
|
2100
|
+
const childLabel = computeChildLabel(getData(state), childPath, childLabelProp, schema, getSchema(state), state.jsonforms.i18n.translate, uischema);
|
|
2101
|
+
return {
|
|
2102
|
+
...ownProps,
|
|
2103
|
+
childLabel
|
|
2104
|
+
};
|
|
2105
|
+
};
|
|
1713
2106
|
const mapStateToControlWithDetailProps = (state, ownProps) => {
|
|
1714
2107
|
const { ...props } = mapStateToControlProps(state, ownProps);
|
|
1715
2108
|
return {
|
|
@@ -1717,6 +2110,22 @@ const mapStateToControlWithDetailProps = (state, ownProps) => {
|
|
|
1717
2110
|
uischemas: state.jsonforms.uischemas
|
|
1718
2111
|
};
|
|
1719
2112
|
};
|
|
2113
|
+
const mapStateToArrayControlProps = (state, ownProps) => {
|
|
2114
|
+
const { path, schema, uischema, label, ...props } = mapStateToControlWithDetailProps(state, ownProps);
|
|
2115
|
+
const resolvedSchema = Resolve.schema(schema, "items", props.rootSchema);
|
|
2116
|
+
const childErrors = getSubErrorsAt(path, resolvedSchema)(state);
|
|
2117
|
+
return {
|
|
2118
|
+
...props,
|
|
2119
|
+
label,
|
|
2120
|
+
path,
|
|
2121
|
+
uischema,
|
|
2122
|
+
schema: resolvedSchema,
|
|
2123
|
+
arraySchema: schema,
|
|
2124
|
+
childErrors,
|
|
2125
|
+
renderers: ownProps.renderers || getRenderers(state),
|
|
2126
|
+
cells: ownProps.cells || getCells(state)
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
1720
2129
|
const mapDispatchToArrayControlProps = (dispatch) => ({
|
|
1721
2130
|
addItem: (path, value) => () => {
|
|
1722
2131
|
dispatch(update(path, (array) => {
|
|
@@ -1828,6 +2237,59 @@ const mapStateToJsonFormsRendererProps = (state, ownProps) => {
|
|
|
1828
2237
|
config: getConfig(state)
|
|
1829
2238
|
};
|
|
1830
2239
|
};
|
|
2240
|
+
const controlDefaultProps = {
|
|
2241
|
+
...layoutDefaultProps,
|
|
2242
|
+
errors: []
|
|
2243
|
+
};
|
|
2244
|
+
const mapStateToCombinatorRendererProps = (state, ownProps, keyword) => {
|
|
2245
|
+
var _a;
|
|
2246
|
+
const { data, schema, rootSchema, i18nKeyPrefix, label, ...props } = mapStateToControlProps(state, ownProps);
|
|
2247
|
+
const ajv2 = state.jsonforms.core.ajv;
|
|
2248
|
+
const structuralKeywords = [
|
|
2249
|
+
"required",
|
|
2250
|
+
"additionalProperties",
|
|
2251
|
+
"type",
|
|
2252
|
+
"enum",
|
|
2253
|
+
"const"
|
|
2254
|
+
];
|
|
2255
|
+
const dataIsValid = (errors) => {
|
|
2256
|
+
return !errors || errors.length === 0 || !errors.find((e) => structuralKeywords.indexOf(e.keyword) !== -1);
|
|
2257
|
+
};
|
|
2258
|
+
let indexOfFittingSchema;
|
|
2259
|
+
for (let i = 0; i < ((_a = schema[keyword]) == null ? void 0 : _a.length); i++) {
|
|
2260
|
+
try {
|
|
2261
|
+
let _schema = schema[keyword][i];
|
|
2262
|
+
if (_schema.$ref) {
|
|
2263
|
+
_schema = Resolve.schema(rootSchema, _schema.$ref, rootSchema);
|
|
2264
|
+
}
|
|
2265
|
+
const valFn = ajv2.compile(_schema);
|
|
2266
|
+
valFn(data);
|
|
2267
|
+
if (dataIsValid(valFn.errors)) {
|
|
2268
|
+
indexOfFittingSchema = i;
|
|
2269
|
+
break;
|
|
2270
|
+
}
|
|
2271
|
+
} catch (error) {
|
|
2272
|
+
console.debug("Combinator subschema is not self contained, can't hand it over to AJV");
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
return {
|
|
2276
|
+
data,
|
|
2277
|
+
schema,
|
|
2278
|
+
rootSchema,
|
|
2279
|
+
...props,
|
|
2280
|
+
i18nKeyPrefix,
|
|
2281
|
+
label,
|
|
2282
|
+
indexOfFittingSchema,
|
|
2283
|
+
uischemas: getUISchemas(state)
|
|
2284
|
+
};
|
|
2285
|
+
};
|
|
2286
|
+
const mapStateToAllOfProps = (state, ownProps) => mapStateToCombinatorRendererProps(state, ownProps, "allOf");
|
|
2287
|
+
const mapStateToAnyOfProps = (state, ownProps) => {
|
|
2288
|
+
return mapStateToCombinatorRendererProps(state, ownProps, "anyOf");
|
|
2289
|
+
};
|
|
2290
|
+
const mapStateToOneOfProps = (state, ownProps) => {
|
|
2291
|
+
return mapStateToCombinatorRendererProps(state, ownProps, "oneOf");
|
|
2292
|
+
};
|
|
1831
2293
|
const mapStateToArrayLayoutProps = (state, ownProps) => {
|
|
1832
2294
|
const { path, schema, uischema, errors, label, ...props } = mapStateToControlWithDetailProps(state, ownProps);
|
|
1833
2295
|
const resolvedSchema = Resolve.schema(schema, "items", props.rootSchema);
|
|
@@ -1951,12 +2413,30 @@ const mapStateToOneOfEnumCellProps = (state, ownProps) => {
|
|
|
1951
2413
|
options
|
|
1952
2414
|
};
|
|
1953
2415
|
};
|
|
2416
|
+
const mapDispatchToCellProps = mapDispatchToControlProps;
|
|
2417
|
+
const defaultMapDispatchToControlProps = (dispatch, ownProps) => {
|
|
2418
|
+
const { handleChange } = mapDispatchToCellProps(dispatch);
|
|
2419
|
+
return {
|
|
2420
|
+
handleChange: ownProps.handleChange || handleChange
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
const createCombinatorRenderInfos = (combinatorSubSchemas, rootSchema, keyword, control, path, uischemas) => combinatorSubSchemas.map((subSchema, subSchemaIndex) => {
|
|
2424
|
+
const resolvedSubSchema = subSchema.$ref && Resolve.schema(rootSchema, subSchema.$ref, rootSchema);
|
|
2425
|
+
const schema = resolvedSubSchema ?? subSchema;
|
|
2426
|
+
return {
|
|
2427
|
+
schema,
|
|
2428
|
+
uischema: findUISchema(uischemas, schema, control.scope, path, void 0, control, rootSchema),
|
|
2429
|
+
label: subSchema.title ?? (resolvedSubSchema == null ? void 0 : resolvedSubSchema.title) ?? `${keyword}-${subSchemaIndex}`
|
|
2430
|
+
};
|
|
2431
|
+
});
|
|
1954
2432
|
exports.ADD_CELL = ADD_CELL;
|
|
1955
2433
|
exports.ADD_DEFAULT_DATA = ADD_DEFAULT_DATA;
|
|
1956
2434
|
exports.ADD_RENDERER = ADD_RENDERER;
|
|
1957
2435
|
exports.ADD_UI_SCHEMA = ADD_UI_SCHEMA;
|
|
1958
2436
|
exports.Actions = index$1;
|
|
2437
|
+
exports.Draft4 = Draft4;
|
|
1959
2438
|
exports.Generate = Generate;
|
|
2439
|
+
exports.Helpers = Helpers;
|
|
1960
2440
|
exports.INIT = INIT;
|
|
1961
2441
|
exports.NOT_APPLICABLE = NOT_APPLICABLE;
|
|
1962
2442
|
exports.Paths = Paths;
|
|
@@ -1965,6 +2445,7 @@ exports.REMOVE_DEFAULT_DATA = REMOVE_DEFAULT_DATA;
|
|
|
1965
2445
|
exports.REMOVE_RENDERER = REMOVE_RENDERER;
|
|
1966
2446
|
exports.REMOVE_UI_SCHEMA = REMOVE_UI_SCHEMA;
|
|
1967
2447
|
exports.Resolve = Resolve;
|
|
2448
|
+
exports.Runtime = Runtime;
|
|
1968
2449
|
exports.SET_AJV = SET_AJV;
|
|
1969
2450
|
exports.SET_CONFIG = SET_CONFIG;
|
|
1970
2451
|
exports.SET_LOCALE = SET_LOCALE;
|
|
@@ -1972,6 +2453,7 @@ exports.SET_SCHEMA = SET_SCHEMA;
|
|
|
1972
2453
|
exports.SET_TRANSLATOR = SET_TRANSLATOR;
|
|
1973
2454
|
exports.SET_UISCHEMA = SET_UISCHEMA;
|
|
1974
2455
|
exports.SET_VALIDATION_MODE = SET_VALIDATION_MODE;
|
|
2456
|
+
exports.Test = index;
|
|
1975
2457
|
exports.UPDATE_CORE = UPDATE_CORE;
|
|
1976
2458
|
exports.UPDATE_DATA = UPDATE_DATA;
|
|
1977
2459
|
exports.UPDATE_ERRORS = UPDATE_ERRORS;
|
|
@@ -1980,24 +2462,37 @@ exports.VALIDATE = VALIDATE;
|
|
|
1980
2462
|
exports.addI18nKeyToPrefix = addI18nKeyToPrefix;
|
|
1981
2463
|
exports.and = and;
|
|
1982
2464
|
exports.arrayDefaultTranslations = arrayDefaultTranslations;
|
|
2465
|
+
exports.categorizationHasCategory = categorizationHasCategory;
|
|
2466
|
+
exports.cellReducer = cellReducer;
|
|
2467
|
+
exports.clearAllIds = clearAllIds;
|
|
2468
|
+
exports.combinatorDefaultTranslations = combinatorDefaultTranslations;
|
|
1983
2469
|
exports.compose = compose;
|
|
1984
2470
|
exports.composePaths = compose;
|
|
1985
2471
|
exports.composeWithUi = composeWithUi;
|
|
1986
2472
|
exports.computeChildLabel = computeChildLabel;
|
|
1987
2473
|
exports.computeLabel = computeLabel;
|
|
1988
2474
|
exports.configReducer = configReducer;
|
|
2475
|
+
exports.controlDefaultProps = controlDefaultProps;
|
|
1989
2476
|
exports.convertDateToString = convertDateToString;
|
|
2477
|
+
exports.convertToValidClassName = convertToValidClassName;
|
|
1990
2478
|
exports.coreReducer = coreReducer;
|
|
1991
2479
|
exports.createAjv = createAjv;
|
|
2480
|
+
exports.createCleanLabel = createCleanLabel;
|
|
2481
|
+
exports.createCombinatorRenderInfos = createCombinatorRenderInfos;
|
|
1992
2482
|
exports.createControlElement = createControlElement;
|
|
1993
2483
|
exports.createDefaultValue = createDefaultValue;
|
|
1994
2484
|
exports.createId = createId;
|
|
1995
2485
|
exports.createLabelDescriptionFrom = createLabelDescriptionFrom;
|
|
1996
2486
|
exports.decode = decode;
|
|
2487
|
+
exports.defaultDataReducer = defaultDataReducer;
|
|
2488
|
+
exports.defaultDateFormat = defaultDateFormat;
|
|
2489
|
+
exports.defaultDateTimeFormat = defaultDateTimeFormat;
|
|
1997
2490
|
exports.defaultErrorTranslator = defaultErrorTranslator;
|
|
1998
2491
|
exports.defaultJsonFormsI18nState = defaultJsonFormsI18nState;
|
|
2492
|
+
exports.defaultMapDispatchToControlProps = defaultMapDispatchToControlProps;
|
|
1999
2493
|
exports.defaultMapStateToEnumCellProps = defaultMapStateToEnumCellProps;
|
|
2000
2494
|
exports.defaultMiddleware = defaultMiddleware;
|
|
2495
|
+
exports.defaultTimeFormat = defaultTimeFormat;
|
|
2001
2496
|
exports.defaultTranslator = defaultTranslator;
|
|
2002
2497
|
exports.deriveLabelForUISchemaElement = deriveLabelForUISchemaElement;
|
|
2003
2498
|
exports.deriveTypes = deriveTypes;
|
|
@@ -2010,11 +2505,14 @@ exports.evalEnablement = evalEnablement;
|
|
|
2010
2505
|
exports.evalVisibility = evalVisibility;
|
|
2011
2506
|
exports.extractAjv = extractAjv;
|
|
2012
2507
|
exports.extractData = extractData;
|
|
2508
|
+
exports.extractDefaultData = extractDefaultData;
|
|
2013
2509
|
exports.extractDefaults = extractDefaults;
|
|
2014
2510
|
exports.extractSchema = extractSchema;
|
|
2015
2511
|
exports.extractUiSchema = extractUiSchema;
|
|
2016
2512
|
exports.fetchErrorTranslator = fetchErrorTranslator;
|
|
2513
|
+
exports.fetchLocale = fetchLocale;
|
|
2017
2514
|
exports.fetchTranslator = fetchTranslator;
|
|
2515
|
+
exports.findAllRefs = findAllRefs;
|
|
2018
2516
|
exports.findMatchingUISchema = findMatchingUISchema;
|
|
2019
2517
|
exports.findUISchema = findUISchema;
|
|
2020
2518
|
exports.findUiControl = findUiControl;
|
|
@@ -2026,35 +2524,47 @@ exports.getAdditionalErrors = getAdditionalErrors;
|
|
|
2026
2524
|
exports.getAjv = getAjv;
|
|
2027
2525
|
exports.getArrayTranslations = getArrayTranslations;
|
|
2028
2526
|
exports.getCells = getCells;
|
|
2527
|
+
exports.getCombinatorTranslations = getCombinatorTranslations;
|
|
2029
2528
|
exports.getCombinedErrorMessage = getCombinedErrorMessage;
|
|
2030
2529
|
exports.getConfig = getConfig;
|
|
2031
2530
|
exports.getControlPath = getControlPath;
|
|
2032
2531
|
exports.getData = getData;
|
|
2532
|
+
exports.getDefaultData = getDefaultData;
|
|
2033
2533
|
exports.getErrorAt = getErrorAt;
|
|
2034
2534
|
exports.getErrorTranslator = getErrorTranslator;
|
|
2035
2535
|
exports.getFirstPrimitiveProp = getFirstPrimitiveProp;
|
|
2036
2536
|
exports.getI18nKey = getI18nKey;
|
|
2037
2537
|
exports.getI18nKeyPrefix = getI18nKeyPrefix;
|
|
2038
2538
|
exports.getI18nKeyPrefixBySchema = getI18nKeyPrefixBySchema;
|
|
2539
|
+
exports.getLocale = getLocale;
|
|
2039
2540
|
exports.getOrCreateAjv = getOrCreateAjv;
|
|
2040
2541
|
exports.getPropPath = getPropPath;
|
|
2041
2542
|
exports.getRenderers = getRenderers;
|
|
2042
2543
|
exports.getSchema = getSchema;
|
|
2043
2544
|
exports.getSubErrorsAt = getSubErrorsAt;
|
|
2044
2545
|
exports.getTranslator = getTranslator;
|
|
2546
|
+
exports.getUISchemas = getUISchemas;
|
|
2045
2547
|
exports.getUiSchema = getUiSchema;
|
|
2046
2548
|
exports.getValidationMode = getValidationMode;
|
|
2549
|
+
exports.hasCategory = hasCategory;
|
|
2047
2550
|
exports.hasEnableRule = hasEnableRule;
|
|
2551
|
+
exports.hasOption = hasOption;
|
|
2048
2552
|
exports.hasShowRule = hasShowRule;
|
|
2049
2553
|
exports.hasType = hasType;
|
|
2050
2554
|
exports.i18nReducer = i18nReducer;
|
|
2051
2555
|
exports.init = init;
|
|
2052
2556
|
exports.initState = initState;
|
|
2557
|
+
exports.isAllOfControl = isAllOfControl;
|
|
2558
|
+
exports.isAnyOfControl = isAnyOfControl;
|
|
2559
|
+
exports.isArrayObjectControl = isArrayObjectControl;
|
|
2053
2560
|
exports.isBooleanControl = isBooleanControl;
|
|
2561
|
+
exports.isCategorization = isCategorization;
|
|
2562
|
+
exports.isCategory = isCategory;
|
|
2054
2563
|
exports.isControl = isControl;
|
|
2055
2564
|
exports.isControlElement = isControlElement;
|
|
2056
2565
|
exports.isDateControl = isDateControl;
|
|
2057
2566
|
exports.isDateTimeControl = isDateTimeControl;
|
|
2567
|
+
exports.isDescriptionHidden = isDescriptionHidden;
|
|
2058
2568
|
exports.isEnabled = isEnabled;
|
|
2059
2569
|
exports.isEnumControl = isEnumControl;
|
|
2060
2570
|
exports.isEnumSchema = isEnumSchema;
|
|
@@ -2063,27 +2573,39 @@ exports.isInherentlyEnabled = isInherentlyEnabled;
|
|
|
2063
2573
|
exports.isIntegerControl = isIntegerControl;
|
|
2064
2574
|
exports.isInternationalized = isInternationalized;
|
|
2065
2575
|
exports.isLabelable = isLabelable;
|
|
2576
|
+
exports.isLabeled = isLabeled;
|
|
2066
2577
|
exports.isLayout = isLayout;
|
|
2578
|
+
exports.isMultiLineControl = isMultiLineControl;
|
|
2067
2579
|
exports.isNumberControl = isNumberControl;
|
|
2580
|
+
exports.isNumberFormatControl = isNumberFormatControl;
|
|
2068
2581
|
exports.isObjectArray = isObjectArray;
|
|
2069
2582
|
exports.isObjectArrayControl = isObjectArrayControl;
|
|
2070
2583
|
exports.isObjectArrayWithNesting = isObjectArrayWithNesting;
|
|
2071
2584
|
exports.isObjectControl = isObjectControl;
|
|
2072
2585
|
exports.isOneOfControl = isOneOfControl;
|
|
2586
|
+
exports.isOneOfEnumControl = isOneOfEnumControl;
|
|
2073
2587
|
exports.isOneOfEnumSchema = isOneOfEnumSchema;
|
|
2074
2588
|
exports.isPrimitiveArrayControl = isPrimitiveArrayControl;
|
|
2589
|
+
exports.isRangeControl = isRangeControl;
|
|
2075
2590
|
exports.isScopable = isScopable;
|
|
2076
2591
|
exports.isScoped = isScoped;
|
|
2077
2592
|
exports.isStringControl = isStringControl;
|
|
2078
2593
|
exports.isTimeControl = isTimeControl;
|
|
2079
2594
|
exports.isUpdateArrayContext = isUpdateArrayContext;
|
|
2080
2595
|
exports.isVisible = isVisible;
|
|
2596
|
+
exports.iterateSchema = iterateSchema;
|
|
2597
|
+
exports.jsonFormsReducerConfig = jsonFormsReducerConfig;
|
|
2081
2598
|
exports.layoutDefaultProps = layoutDefaultProps;
|
|
2082
2599
|
exports.mapDispatchToArrayControlProps = mapDispatchToArrayControlProps;
|
|
2600
|
+
exports.mapDispatchToCellProps = mapDispatchToCellProps;
|
|
2083
2601
|
exports.mapDispatchToControlProps = mapDispatchToControlProps;
|
|
2084
2602
|
exports.mapDispatchToMultiEnumProps = mapDispatchToMultiEnumProps;
|
|
2603
|
+
exports.mapStateToAllOfProps = mapStateToAllOfProps;
|
|
2604
|
+
exports.mapStateToAnyOfProps = mapStateToAnyOfProps;
|
|
2605
|
+
exports.mapStateToArrayControlProps = mapStateToArrayControlProps;
|
|
2085
2606
|
exports.mapStateToArrayLayoutProps = mapStateToArrayLayoutProps;
|
|
2086
2607
|
exports.mapStateToCellProps = mapStateToCellProps;
|
|
2608
|
+
exports.mapStateToCombinatorRendererProps = mapStateToCombinatorRendererProps;
|
|
2087
2609
|
exports.mapStateToControlProps = mapStateToControlProps;
|
|
2088
2610
|
exports.mapStateToControlWithDetailProps = mapStateToControlWithDetailProps;
|
|
2089
2611
|
exports.mapStateToDispatchCellProps = mapStateToDispatchCellProps;
|
|
@@ -2091,11 +2613,14 @@ exports.mapStateToEnumControlProps = mapStateToEnumControlProps;
|
|
|
2091
2613
|
exports.mapStateToJsonFormsRendererProps = mapStateToJsonFormsRendererProps;
|
|
2092
2614
|
exports.mapStateToLabelProps = mapStateToLabelProps;
|
|
2093
2615
|
exports.mapStateToLayoutProps = mapStateToLayoutProps;
|
|
2616
|
+
exports.mapStateToMasterListItemProps = mapStateToMasterListItemProps;
|
|
2094
2617
|
exports.mapStateToMultiEnumControlProps = mapStateToMultiEnumControlProps;
|
|
2095
2618
|
exports.mapStateToOneOfEnumCellProps = mapStateToOneOfEnumCellProps;
|
|
2096
2619
|
exports.mapStateToOneOfEnumControlProps = mapStateToOneOfEnumControlProps;
|
|
2620
|
+
exports.mapStateToOneOfProps = mapStateToOneOfProps;
|
|
2097
2621
|
exports.moveDown = moveDown;
|
|
2098
2622
|
exports.moveUp = moveUp;
|
|
2623
|
+
exports.not = not;
|
|
2099
2624
|
exports.oneOfToEnumOptionMapper = oneOfToEnumOptionMapper;
|
|
2100
2625
|
exports.optionIs = optionIs;
|
|
2101
2626
|
exports.or = or;
|
|
@@ -2105,28 +2630,37 @@ exports.registerDefaultData = registerDefaultData;
|
|
|
2105
2630
|
exports.registerRenderer = registerRenderer;
|
|
2106
2631
|
exports.registerUISchema = registerUISchema;
|
|
2107
2632
|
exports.removeId = removeId;
|
|
2633
|
+
exports.rendererReducer = rendererReducer;
|
|
2108
2634
|
exports.resolveData = resolveData;
|
|
2109
2635
|
exports.resolveSchema = resolveSchema;
|
|
2110
2636
|
exports.schemaMatches = schemaMatches;
|
|
2111
2637
|
exports.schemaSubPathMatches = schemaSubPathMatches;
|
|
2112
2638
|
exports.schemaTypeIs = schemaTypeIs;
|
|
2639
|
+
exports.scopeEndIs = scopeEndIs;
|
|
2640
|
+
exports.scopeEndsWith = scopeEndsWith;
|
|
2113
2641
|
exports.setAjv = setAjv;
|
|
2114
2642
|
exports.setConfig = setConfig;
|
|
2115
2643
|
exports.setLocale = setLocale;
|
|
2644
|
+
exports.setReadonly = setReadonly;
|
|
2116
2645
|
exports.setSchema = setSchema;
|
|
2117
2646
|
exports.setTranslator = setTranslator;
|
|
2118
2647
|
exports.setUISchema = setUISchema;
|
|
2119
2648
|
exports.setValidationMode = setValidationMode;
|
|
2649
|
+
exports.showAsRequired = showAsRequired;
|
|
2120
2650
|
exports.subErrorsAt = subErrorsAt;
|
|
2651
|
+
exports.toDataPath = toDataPath;
|
|
2121
2652
|
exports.toDataPathSegments = toDataPathSegments;
|
|
2122
2653
|
exports.transformPathToI18nPrefix = transformPathToI18nPrefix;
|
|
2123
2654
|
exports.uiTypeIs = uiTypeIs;
|
|
2655
|
+
exports.uischemaRegistryReducer = uischemaRegistryReducer;
|
|
2124
2656
|
exports.unregisterCell = unregisterCell;
|
|
2125
2657
|
exports.unregisterDefaultData = unregisterDefaultData;
|
|
2126
2658
|
exports.unregisterRenderer = unregisterRenderer;
|
|
2127
2659
|
exports.unregisterUISchema = unregisterUISchema;
|
|
2660
|
+
exports.unsetReadonly = unsetReadonly;
|
|
2128
2661
|
exports.update = update;
|
|
2129
2662
|
exports.updateCore = updateCore;
|
|
2130
2663
|
exports.updateErrors = updateErrors;
|
|
2131
2664
|
exports.updateI18n = updateI18n;
|
|
2132
2665
|
exports.validate = validate;
|
|
2666
|
+
exports.withIncreasedRank = withIncreasedRank;
|