fastapi-rtk 0.2.32 → 0.2.36
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/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/notifyManager.cjs +2 -1
- package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/query.cjs +10 -0
- package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/queryObserver.cjs +5 -4
- package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/removable.cjs +3 -2
- package/dist/.external/cjs/@tanstack_query-core@5.87.1/@tanstack/query-core/build/modern/timeoutManager.cjs +78 -0
- package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/utils.cjs +26 -22
- package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/suspense.cjs +6 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.cjs +2 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.cjs +1 -1
- package/dist/.external/cjs/i18next@25.5.2_typescript@5.9.2/i18next/dist/esm/i18next.cjs +2213 -0
- package/dist/.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/locales/de/index.cjs +104 -0
- package/dist/.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/locales/en/index.cjs +104 -0
- package/dist/.external/cjs/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/I18nextProvider.cjs +18 -0
- package/dist/.external/cjs/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/context.cjs +19 -0
- package/dist/.external/cjs/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/defaults.cjs +22 -0
- package/dist/.external/cjs/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/i18nInstance.cjs +9 -0
- package/dist/.external/cjs/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/initReactI18next.cjs +12 -0
- package/dist/.external/cjs/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/unescape.cjs +28 -0
- package/dist/.external/cjs/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/useTranslation.cjs +113 -0
- package/dist/.external/cjs/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/utils.cjs +71 -0
- package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/notifyManager.mjs +2 -1
- package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/query.mjs +10 -0
- package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/queryObserver.mjs +5 -4
- package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/removable.mjs +3 -2
- package/dist/.external/esm/@tanstack_query-core@5.87.1/@tanstack/query-core/build/modern/timeoutManager.mjs +78 -0
- package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/utils.mjs +26 -22
- package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/suspense.mjs +6 -2
- package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.mjs +2 -2
- package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.mjs +1 -1
- package/dist/.external/esm/i18next@25.5.2_typescript@5.9.2/i18next/dist/esm/i18next.mjs +2213 -0
- package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/locales/de/index.mjs +104 -0
- package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/locales/en/index.mjs +104 -0
- package/dist/.external/esm/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/I18nextProvider.mjs +18 -0
- package/dist/.external/esm/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/context.mjs +19 -0
- package/dist/.external/esm/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/defaults.mjs +22 -0
- package/dist/.external/esm/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/i18nInstance.mjs +9 -0
- package/dist/.external/esm/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/initReactI18next.mjs +12 -0
- package/dist/.external/esm/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/unescape.mjs +28 -0
- package/dist/.external/esm/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/useTranslation.mjs +113 -0
- package/dist/.external/esm/react-i18next@15.7.3_i18next@25.5.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.2/react-i18next/dist/es/utils.mjs +71 -0
- package/dist/constants/cjs/_virtual/index.cjs +27 -0
- package/dist/constants/cjs/_virtual/index2.cjs +27 -0
- package/dist/constants/cjs/_virtual/index3.cjs +4 -0
- package/dist/constants/cjs/_virtual/index4.cjs +4 -0
- package/dist/constants/cjs/index.cjs +16 -0
- package/dist/constants/esm/_virtual/index.mjs +27 -0
- package/dist/constants/esm/_virtual/index2.mjs +27 -0
- package/dist/constants/esm/_virtual/index3.mjs +4 -0
- package/dist/constants/esm/_virtual/index4.mjs +4 -0
- package/dist/constants/esm/index.mjs +16 -0
- package/dist/constants/lib/index.d.ts +13 -0
- package/dist/core/cjs/ActionIcons/Add/Add.cjs +4 -1
- package/dist/core/cjs/ActionIcons/Add/AddDialog.cjs +52 -13
- package/dist/core/cjs/ActionIcons/Delete/Delete.cjs +15 -17
- package/dist/core/cjs/ActionIcons/Delete/DeleteDialog.cjs +60 -0
- package/dist/core/cjs/ActionIcons/Download/Download.cjs +4 -1
- package/dist/core/cjs/ActionIcons/Edit/Edit.cjs +4 -1
- package/dist/core/cjs/ActionIcons/Edit/EditDialog.cjs +50 -13
- package/dist/core/cjs/ActionIcons/Modals/CommonModal.cjs +17 -58
- package/dist/core/cjs/ActionIcons/Refresh/Refresh.cjs +4 -1
- package/dist/core/cjs/ActionIcons/View/View.cjs +4 -1
- package/dist/core/cjs/Selectors/LanguageSelector.cjs +11 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/NextGenDataGrid.cjs +8 -2
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.cjs +4 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.cjs +4 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useData.cjs +2 -2
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useI18n.cjs +8 -0
- package/dist/core/cjs/Wrappers/ApiProvider/ApiProvider.cjs +3 -1
- package/dist/core/cjs/Wrappers/ApiProvider/Contexts/FormContext.cjs +5 -0
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +30 -13
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/createItem.cjs +8 -3
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/deleteItem.cjs +7 -3
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/formCreateItem.cjs +5 -3
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/formUpdateItem.cjs +9 -3
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getInfo.cjs +3 -3
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getItem.cjs +7 -3
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getItems.cjs +3 -3
- package/dist/core/cjs/Wrappers/ApiProvider/utils/api/updateItem.cjs +8 -3
- package/dist/core/cjs/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.cjs +5 -4
- package/dist/core/cjs/Wrappers/Provider/Contexts/LangContext.cjs +71 -0
- package/dist/core/cjs/Wrappers/Provider/Provider.cjs +4 -3
- 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 +44 -0
- package/dist/core/cjs/hooks/api/useForms.cjs +12 -4
- package/dist/core/cjs/hooks/lang/useLang.cjs +5 -0
- package/dist/core/cjs/index.cjs +5 -0
- package/dist/core/cjs/translations/de.cjs +21 -0
- package/dist/core/esm/ActionIcons/Add/Add.mjs +4 -1
- package/dist/core/esm/ActionIcons/Add/AddDialog.mjs +54 -15
- package/dist/core/esm/ActionIcons/Delete/Delete.mjs +17 -19
- package/dist/core/esm/ActionIcons/Delete/DeleteDialog.mjs +60 -0
- package/dist/core/esm/ActionIcons/Download/Download.mjs +4 -1
- package/dist/core/esm/ActionIcons/Edit/Edit.mjs +4 -1
- package/dist/core/esm/ActionIcons/Edit/EditDialog.mjs +51 -14
- package/dist/core/esm/ActionIcons/Modals/CommonModal.mjs +18 -59
- package/dist/core/esm/ActionIcons/Refresh/Refresh.mjs +4 -1
- package/dist/core/esm/ActionIcons/View/View.mjs +4 -1
- package/dist/core/esm/Selectors/LanguageSelector.mjs +11 -0
- package/dist/core/esm/Tables/NextGenDataGrid/NextGenDataGrid.mjs +8 -2
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.mjs +4 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.mjs +4 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useData.mjs +2 -2
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useI18n.mjs +8 -0
- package/dist/core/esm/Wrappers/ApiProvider/ApiProvider.mjs +4 -2
- package/dist/core/esm/Wrappers/ApiProvider/Contexts/FormContext.mjs +5 -0
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +30 -13
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/createItem.mjs +8 -3
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/deleteItem.mjs +7 -3
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/formCreateItem.mjs +5 -3
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/formUpdateItem.mjs +9 -3
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/getInfo.mjs +3 -3
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/getItem.mjs +7 -3
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/getItems.mjs +3 -3
- package/dist/core/esm/Wrappers/ApiProvider/utils/api/updateItem.mjs +8 -3
- package/dist/core/esm/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.mjs +5 -4
- package/dist/core/esm/Wrappers/Provider/Contexts/LangContext.mjs +71 -0
- package/dist/core/esm/Wrappers/Provider/Provider.mjs +4 -3
- 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 +44 -0
- package/dist/core/esm/hooks/api/useForms.mjs +13 -5
- package/dist/core/esm/hooks/lang/useLang.mjs +5 -0
- package/dist/core/esm/index.mjs +6 -1
- package/dist/core/esm/translations/de.mjs +22 -0
- package/dist/core/lib/ActionIcons/Add/AddDialog.d.ts +55 -20
- package/dist/core/lib/ActionIcons/Delete/DeleteDialog.d.ts +127 -0
- package/dist/core/lib/ActionIcons/Edit/EditDialog.d.ts +55 -20
- package/dist/core/lib/ActionIcons/Modals/CommonModal.d.ts +45 -20
- package/dist/core/lib/Selectors/LanguageSelector.d.ts +1 -0
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useI18n.d.ts +3 -0
- package/dist/core/lib/Wrappers/ApiProvider/Contexts/FormContext.d.ts +5 -0
- package/dist/core/lib/Wrappers/ApiProvider/hooks/useProvideApi.d.ts +12 -8
- package/dist/core/lib/Wrappers/ApiProvider/hooks/useProvideBulk.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/createItem.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/deleteItem.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/formCreateItem.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/formUpdateItem.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/getInfo.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/getItem.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/getItems.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/api/updateItem.d.ts +1 -1
- package/dist/core/lib/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.d.ts +1 -1
- package/dist/core/lib/Wrappers/Provider/Contexts/LangContext.d.ts +15 -0
- package/dist/core/lib/Wrappers/Provider/Provider.d.ts +32 -0
- package/dist/core/lib/hooks/api/useApi.d.ts +16 -0
- package/dist/core/lib/hooks/api/useForms.d.ts +1 -1
- package/dist/core/lib/hooks/lang/useLang.d.ts +39 -0
- package/dist/core/lib/index.d.ts +2 -0
- package/dist/core/lib/translations/de.d.ts +18 -0
- package/dist/utils/cjs/FastAPIRTKLogger/FastAPIRTKLogger.cjs +8 -0
- package/dist/utils/cjs/createFetchParams/createFetchParams.cjs +7 -5
- package/dist/utils/cjs/index.cjs +2 -0
- package/dist/utils/esm/FastAPIRTKLogger/FastAPIRTKLogger.mjs +8 -0
- package/dist/utils/esm/createFetchParams/createFetchParams.mjs +7 -5
- package/dist/utils/esm/index.mjs +2 -0
- package/dist/utils/lib/FastAPIRTKLogger/FastAPIRTKLogger.d.ts +5 -0
- package/dist/utils/lib/FastAPIRTKLogger/index.d.ts +1 -0
- package/dist/utils/lib/createFetchParams/createFetchParams.d.ts +3 -12
- package/dist/utils/lib/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/core/cjs/Dialogs/AlertDialog/AlertDialog.cjs +0 -25
- package/dist/core/esm/Dialogs/AlertDialog/AlertDialog.mjs +0 -25
- package/dist/core/lib/Dialogs/AlertDialog/AlertDialog.d.ts +0 -6
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/mutation.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/retryer.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/thenable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/mutation.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/retryer.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.85.6 → @tanstack_query-core@5.87.1}/@tanstack/query-core/build/modern/thenable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.85.6_react@18.3.1 → @tanstack_react-query@5.87.1_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { __exports as de } from "../../../../../../constants/esm/_virtual/index3.mjs";
|
|
2
|
+
var hasRequiredDe;
|
|
3
|
+
function requireDe() {
|
|
4
|
+
if (hasRequiredDe) return de;
|
|
5
|
+
hasRequiredDe = 1;
|
|
6
|
+
const MRT_Localization_DE = {
|
|
7
|
+
actions: "Aktionen",
|
|
8
|
+
and: "und",
|
|
9
|
+
cancel: "Abbrechen",
|
|
10
|
+
changeFilterMode: "Filtermodus ändern",
|
|
11
|
+
changeSearchMode: "Suchmodus ändern",
|
|
12
|
+
clearFilter: "Filter zurücksetzen",
|
|
13
|
+
clearSearch: "Suche zurücksetzen",
|
|
14
|
+
clearSelection: "Auswahl zurücksetzen",
|
|
15
|
+
clearSort: "Sortierung zurücksetzen",
|
|
16
|
+
clickToCopy: "Kopieren",
|
|
17
|
+
copy: "Kopieren",
|
|
18
|
+
columnActions: "Spalten-Aktionen",
|
|
19
|
+
copiedToClipboard: "In die Zwischenablage kopiert",
|
|
20
|
+
collapse: "Einklappen",
|
|
21
|
+
collapseAll: "Alle einklappen",
|
|
22
|
+
dropToGroupBy: "Ablegen zum Gruppieren nach {column}",
|
|
23
|
+
edit: "Editieren",
|
|
24
|
+
expand: "Erweitern",
|
|
25
|
+
expandAll: "Alle erweitern",
|
|
26
|
+
filterArrIncludes: "Beinhaltet",
|
|
27
|
+
filterArrIncludesAll: "Beinhaltet alles",
|
|
28
|
+
filterArrIncludesSome: "Beinhaltet",
|
|
29
|
+
filterBetween: "Zwischen",
|
|
30
|
+
filterBetweenInclusive: "Zwischen (inklusive)",
|
|
31
|
+
filterByColumn: "Nach {column} filtern",
|
|
32
|
+
filterContains: "Enthält",
|
|
33
|
+
filterEmpty: "Leer",
|
|
34
|
+
filterEndsWith: "Endet mit",
|
|
35
|
+
filterEquals: "Gleich",
|
|
36
|
+
filterEqualsString: "Gleich",
|
|
37
|
+
filterFuzzy: "Fuzzy",
|
|
38
|
+
filterGreaterThan: "Größer als",
|
|
39
|
+
filterGreaterThanOrEqualTo: "Größer als oder gleich",
|
|
40
|
+
filterInNumberRange: "Zwischen",
|
|
41
|
+
filterIncludesString: "Enthält",
|
|
42
|
+
filterIncludesStringSensitive: "Enthält",
|
|
43
|
+
filterLessThan: "Kleiner als",
|
|
44
|
+
filterLessThanOrEqualTo: "Kleiner als oder gleich",
|
|
45
|
+
filterMode: "Filtermodus: {filterType}",
|
|
46
|
+
filterNotEmpty: "Nicht leer",
|
|
47
|
+
filterNotEquals: "Nicht gleich",
|
|
48
|
+
filterStartsWith: "Beginnt mit",
|
|
49
|
+
filterWeakEquals: "Gleich",
|
|
50
|
+
filteringByColumn: "Filtern nach {column} - {filterType} {filterValue}",
|
|
51
|
+
goToFirstPage: "Gehe zur ersten Seite",
|
|
52
|
+
goToLastPage: "Gehe zur letzten Seite",
|
|
53
|
+
goToNextPage: "Gehe zur nächsten Seite",
|
|
54
|
+
goToPreviousPage: "Gehe zur vorherigen Seite",
|
|
55
|
+
grab: "Greifen",
|
|
56
|
+
groupByColumn: "Gruppieren nach {column}",
|
|
57
|
+
groupedBy: "Gruppiert nach ",
|
|
58
|
+
hideAll: "Alle ausblenden",
|
|
59
|
+
hideColumn: "{column} ausblenden",
|
|
60
|
+
max: "Max",
|
|
61
|
+
min: "Min",
|
|
62
|
+
move: "Ziehen",
|
|
63
|
+
noRecordsToDisplay: "Keine Ergebnisse zum Anzeigen gefunden",
|
|
64
|
+
noResultsFound: "Keine Ergebnisse gefunden",
|
|
65
|
+
of: "von",
|
|
66
|
+
or: "oder",
|
|
67
|
+
pin: "Anheften",
|
|
68
|
+
pinToLeft: "Links anheften",
|
|
69
|
+
pinToRight: "Rechts anheften",
|
|
70
|
+
resetColumnSize: "Spaltengröße zurücksetzen",
|
|
71
|
+
resetOrder: "Reihenfolge zurücksetzen",
|
|
72
|
+
rowActions: "Zeilen-Aktionen",
|
|
73
|
+
rowNumber: "#",
|
|
74
|
+
rowNumbers: "Zeilennumern",
|
|
75
|
+
rowsPerPage: "Zeilen pro Seite",
|
|
76
|
+
save: "Speichern",
|
|
77
|
+
search: "Suche",
|
|
78
|
+
selectedCountOfRowCountRowsSelected: "{selectedCount} von {rowCount} Zeile(n) ausgewählt",
|
|
79
|
+
select: "Auswählen",
|
|
80
|
+
showAll: "Alle anzeigen",
|
|
81
|
+
showAllColumns: "Alle Spalten anzeigen",
|
|
82
|
+
showHideColumns: "Spalten ein-/ausblenden",
|
|
83
|
+
showHideFilters: "Filter ein-/ausblenden",
|
|
84
|
+
showHideSearch: "Suche ein-/ausblenden",
|
|
85
|
+
sortByColumnAsc: "{column} aufsteigend sortieren",
|
|
86
|
+
sortByColumnDesc: "{column} absteigend sortieren",
|
|
87
|
+
sortedByColumnAsc: "{column} aufsteigend sortiert",
|
|
88
|
+
sortedByColumnDesc: "{column} absteigend sortiert",
|
|
89
|
+
thenBy: ", dann nach ",
|
|
90
|
+
toggleDensity: "Zeilendichte wechseln",
|
|
91
|
+
toggleFullScreen: "Vollbild (de-)aktivieren",
|
|
92
|
+
toggleSelectAll: "Alle auswählen umschalten",
|
|
93
|
+
toggleSelectRow: "Zeile auswählen umschalten",
|
|
94
|
+
toggleVisibility: "Sichtbarkeit wechseln",
|
|
95
|
+
ungroupByColumn: "Gruppierung nach {column} aufheben",
|
|
96
|
+
unpin: "Loslösen",
|
|
97
|
+
unpinAll: "Alle loslösen"
|
|
98
|
+
};
|
|
99
|
+
de.MRT_Localization_DE = MRT_Localization_DE;
|
|
100
|
+
return de;
|
|
101
|
+
}
|
|
102
|
+
export {
|
|
103
|
+
requireDe as __require
|
|
104
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { __exports as en } from "../../../../../../constants/esm/_virtual/index4.mjs";
|
|
2
|
+
var hasRequiredEn;
|
|
3
|
+
function requireEn() {
|
|
4
|
+
if (hasRequiredEn) return en;
|
|
5
|
+
hasRequiredEn = 1;
|
|
6
|
+
const MRT_Localization_EN = {
|
|
7
|
+
actions: "Actions",
|
|
8
|
+
and: "and",
|
|
9
|
+
cancel: "Cancel",
|
|
10
|
+
changeFilterMode: "Change filter mode",
|
|
11
|
+
changeSearchMode: "Change search mode",
|
|
12
|
+
clearFilter: "Clear filter",
|
|
13
|
+
clearSearch: "Clear search",
|
|
14
|
+
clearSelection: "Clear selection",
|
|
15
|
+
clearSort: "Clear sort",
|
|
16
|
+
clickToCopy: "Click to copy",
|
|
17
|
+
copy: "Copy",
|
|
18
|
+
collapse: "Collapse",
|
|
19
|
+
collapseAll: "Collapse all",
|
|
20
|
+
columnActions: "Column Actions",
|
|
21
|
+
copiedToClipboard: "Copied to clipboard",
|
|
22
|
+
dropToGroupBy: "Drop to group by {column}",
|
|
23
|
+
edit: "Edit",
|
|
24
|
+
expand: "Expand",
|
|
25
|
+
expandAll: "Expand all",
|
|
26
|
+
filterArrIncludes: "Includes",
|
|
27
|
+
filterArrIncludesAll: "Includes all",
|
|
28
|
+
filterArrIncludesSome: "Includes",
|
|
29
|
+
filterBetween: "Between",
|
|
30
|
+
filterBetweenInclusive: "Between Inclusive",
|
|
31
|
+
filterByColumn: "Filter by {column}",
|
|
32
|
+
filterContains: "Contains",
|
|
33
|
+
filterEmpty: "Empty",
|
|
34
|
+
filterEndsWith: "Ends With",
|
|
35
|
+
filterEquals: "Equals",
|
|
36
|
+
filterEqualsString: "Equals",
|
|
37
|
+
filterFuzzy: "Fuzzy",
|
|
38
|
+
filterGreaterThan: "Greater Than",
|
|
39
|
+
filterGreaterThanOrEqualTo: "Greater Than Or Equal To",
|
|
40
|
+
filterInNumberRange: "Between",
|
|
41
|
+
filterIncludesString: "Contains",
|
|
42
|
+
filterIncludesStringSensitive: "Contains",
|
|
43
|
+
filterLessThan: "Less Than",
|
|
44
|
+
filterLessThanOrEqualTo: "Less Than Or Equal To",
|
|
45
|
+
filterMode: "Filter Mode: {filterType}",
|
|
46
|
+
filterNotEmpty: "Not Empty",
|
|
47
|
+
filterNotEquals: "Not Equals",
|
|
48
|
+
filterStartsWith: "Starts With",
|
|
49
|
+
filterWeakEquals: "Equals",
|
|
50
|
+
filteringByColumn: "Filtering by {column} - {filterType} {filterValue}",
|
|
51
|
+
goToFirstPage: "Go to first page",
|
|
52
|
+
goToLastPage: "Go to last page",
|
|
53
|
+
goToNextPage: "Go to next page",
|
|
54
|
+
goToPreviousPage: "Go to previous page",
|
|
55
|
+
grab: "Grab",
|
|
56
|
+
groupByColumn: "Group by {column}",
|
|
57
|
+
groupedBy: "Grouped by ",
|
|
58
|
+
hideAll: "Hide all",
|
|
59
|
+
hideColumn: "Hide {column} column",
|
|
60
|
+
max: "Max",
|
|
61
|
+
min: "Min",
|
|
62
|
+
move: "Move",
|
|
63
|
+
noRecordsToDisplay: "No records to display",
|
|
64
|
+
noResultsFound: "No results found",
|
|
65
|
+
of: "of",
|
|
66
|
+
or: "or",
|
|
67
|
+
pin: "Pin",
|
|
68
|
+
pinToLeft: "Pin to left",
|
|
69
|
+
pinToRight: "Pin to right",
|
|
70
|
+
resetColumnSize: "Reset column size",
|
|
71
|
+
resetOrder: "Reset order",
|
|
72
|
+
rowActions: "Row Actions",
|
|
73
|
+
rowNumber: "#",
|
|
74
|
+
rowNumbers: "Row Numbers",
|
|
75
|
+
rowsPerPage: "Rows per page",
|
|
76
|
+
save: "Save",
|
|
77
|
+
search: "Search",
|
|
78
|
+
selectedCountOfRowCountRowsSelected: "{selectedCount} of {rowCount} row(s) selected",
|
|
79
|
+
select: "Select",
|
|
80
|
+
showAll: "Show all",
|
|
81
|
+
showAllColumns: "Show all columns",
|
|
82
|
+
showHideColumns: "Show/Hide columns",
|
|
83
|
+
showHideFilters: "Show/Hide filters",
|
|
84
|
+
showHideSearch: "Show/Hide search",
|
|
85
|
+
sortByColumnAsc: "Sort by {column} ascending",
|
|
86
|
+
sortByColumnDesc: "Sort by {column} descending",
|
|
87
|
+
sortedByColumnAsc: "Sorted by {column} ascending",
|
|
88
|
+
sortedByColumnDesc: "Sorted by {column} descending",
|
|
89
|
+
thenBy: ", then by ",
|
|
90
|
+
toggleDensity: "Toggle density",
|
|
91
|
+
toggleFullScreen: "Toggle full screen",
|
|
92
|
+
toggleSelectAll: "Toggle select all",
|
|
93
|
+
toggleSelectRow: "Toggle select row",
|
|
94
|
+
toggleVisibility: "Toggle visibility",
|
|
95
|
+
ungroupByColumn: "Ungroup by {column}",
|
|
96
|
+
unpin: "Unpin",
|
|
97
|
+
unpinAll: "Unpin all"
|
|
98
|
+
};
|
|
99
|
+
en.MRT_Localization_EN = MRT_Localization_EN;
|
|
100
|
+
return en;
|
|
101
|
+
}
|
|
102
|
+
export {
|
|
103
|
+
requireEn as __require
|
|
104
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useMemo, createElement } from "react";
|
|
2
|
+
import { I18nContext } from "./context.mjs";
|
|
3
|
+
function I18nextProvider({
|
|
4
|
+
i18n,
|
|
5
|
+
defaultNS,
|
|
6
|
+
children
|
|
7
|
+
}) {
|
|
8
|
+
const value = useMemo(() => ({
|
|
9
|
+
i18n,
|
|
10
|
+
defaultNS
|
|
11
|
+
}), [i18n, defaultNS]);
|
|
12
|
+
return createElement(I18nContext.Provider, {
|
|
13
|
+
value
|
|
14
|
+
}, children);
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
I18nextProvider
|
|
18
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createContext } from "react";
|
|
2
|
+
const I18nContext = createContext();
|
|
3
|
+
class ReportNamespaces {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.usedNamespaces = {};
|
|
6
|
+
}
|
|
7
|
+
addUsedNamespaces(namespaces) {
|
|
8
|
+
namespaces.forEach((ns) => {
|
|
9
|
+
if (!this.usedNamespaces[ns]) this.usedNamespaces[ns] = true;
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
getUsedNamespaces() {
|
|
13
|
+
return Object.keys(this.usedNamespaces);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
I18nContext,
|
|
18
|
+
ReportNamespaces
|
|
19
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { unescape } from "./unescape.mjs";
|
|
2
|
+
let defaultOptions = {
|
|
3
|
+
bindI18n: "languageChanged",
|
|
4
|
+
bindI18nStore: "",
|
|
5
|
+
transEmptyNodeValue: "",
|
|
6
|
+
transSupportBasicHtmlNodes: true,
|
|
7
|
+
transWrapTextNodes: "",
|
|
8
|
+
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
9
|
+
useSuspense: true,
|
|
10
|
+
unescape
|
|
11
|
+
};
|
|
12
|
+
const setDefaults = (options = {}) => {
|
|
13
|
+
defaultOptions = {
|
|
14
|
+
...defaultOptions,
|
|
15
|
+
...options
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
const getDefaults = () => defaultOptions;
|
|
19
|
+
export {
|
|
20
|
+
getDefaults,
|
|
21
|
+
setDefaults
|
|
22
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { setDefaults } from "./defaults.mjs";
|
|
2
|
+
import { setI18n } from "./i18nInstance.mjs";
|
|
3
|
+
const initReactI18next = {
|
|
4
|
+
type: "3rdParty",
|
|
5
|
+
init(instance) {
|
|
6
|
+
setDefaults(instance.options.react);
|
|
7
|
+
setI18n(instance);
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
initReactI18next
|
|
12
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const matchHtmlEntity = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g;
|
|
2
|
+
const htmlEntities = {
|
|
3
|
+
"&": "&",
|
|
4
|
+
"&": "&",
|
|
5
|
+
"<": "<",
|
|
6
|
+
"<": "<",
|
|
7
|
+
">": ">",
|
|
8
|
+
">": ">",
|
|
9
|
+
"'": "'",
|
|
10
|
+
"'": "'",
|
|
11
|
+
""": '"',
|
|
12
|
+
""": '"',
|
|
13
|
+
" ": " ",
|
|
14
|
+
" ": " ",
|
|
15
|
+
"©": "©",
|
|
16
|
+
"©": "©",
|
|
17
|
+
"®": "®",
|
|
18
|
+
"®": "®",
|
|
19
|
+
"…": "…",
|
|
20
|
+
"…": "…",
|
|
21
|
+
"/": "/",
|
|
22
|
+
"/": "/"
|
|
23
|
+
};
|
|
24
|
+
const unescapeHtmlEntity = (m) => htmlEntities[m];
|
|
25
|
+
const unescape = (text) => text.replace(matchHtmlEntity, unescapeHtmlEntity);
|
|
26
|
+
export {
|
|
27
|
+
unescape
|
|
28
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { useContext, useCallback, useState, useRef, useEffect } from "react";
|
|
2
|
+
import { I18nContext, ReportNamespaces } from "./context.mjs";
|
|
3
|
+
import { warnOnce, hasLoadedNamespace, loadLanguages, loadNamespaces, isString, isObject } from "./utils.mjs";
|
|
4
|
+
import { getI18n } from "./i18nInstance.mjs";
|
|
5
|
+
import { getDefaults } from "./defaults.mjs";
|
|
6
|
+
const usePrevious = (value, ignore) => {
|
|
7
|
+
const ref = useRef();
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
ref.current = value;
|
|
10
|
+
}, [value, ignore]);
|
|
11
|
+
return ref.current;
|
|
12
|
+
};
|
|
13
|
+
const alwaysNewT = (i18n, language, namespace, keyPrefix) => i18n.getFixedT(language, namespace, keyPrefix);
|
|
14
|
+
const useMemoizedT = (i18n, language, namespace, keyPrefix) => useCallback(alwaysNewT(i18n, language, namespace, keyPrefix), [i18n, language, namespace, keyPrefix]);
|
|
15
|
+
const useTranslation = (ns, props = {}) => {
|
|
16
|
+
var _a, _b, _c, _d;
|
|
17
|
+
const {
|
|
18
|
+
i18n: i18nFromProps
|
|
19
|
+
} = props;
|
|
20
|
+
const {
|
|
21
|
+
i18n: i18nFromContext,
|
|
22
|
+
defaultNS: defaultNSFromContext
|
|
23
|
+
} = useContext(I18nContext) || {};
|
|
24
|
+
const i18n = i18nFromProps || i18nFromContext || getI18n();
|
|
25
|
+
if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();
|
|
26
|
+
if (!i18n) {
|
|
27
|
+
warnOnce(i18n, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
|
|
28
|
+
const notReadyT = (k, optsOrDefaultValue) => {
|
|
29
|
+
if (isString(optsOrDefaultValue)) return optsOrDefaultValue;
|
|
30
|
+
if (isObject(optsOrDefaultValue) && isString(optsOrDefaultValue.defaultValue)) return optsOrDefaultValue.defaultValue;
|
|
31
|
+
return Array.isArray(k) ? k[k.length - 1] : k;
|
|
32
|
+
};
|
|
33
|
+
const retNotReady = [notReadyT, {}, false];
|
|
34
|
+
retNotReady.t = notReadyT;
|
|
35
|
+
retNotReady.i18n = {};
|
|
36
|
+
retNotReady.ready = false;
|
|
37
|
+
return retNotReady;
|
|
38
|
+
}
|
|
39
|
+
if ((_a = i18n.options.react) == null ? void 0 : _a.wait) warnOnce(i18n, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
40
|
+
const i18nOptions = {
|
|
41
|
+
...getDefaults(),
|
|
42
|
+
...i18n.options.react,
|
|
43
|
+
...props
|
|
44
|
+
};
|
|
45
|
+
const {
|
|
46
|
+
useSuspense,
|
|
47
|
+
keyPrefix
|
|
48
|
+
} = i18nOptions;
|
|
49
|
+
let namespaces = ns || defaultNSFromContext || ((_b = i18n.options) == null ? void 0 : _b.defaultNS);
|
|
50
|
+
namespaces = isString(namespaces) ? [namespaces] : namespaces || ["translation"];
|
|
51
|
+
(_d = (_c = i18n.reportNamespaces).addUsedNamespaces) == null ? void 0 : _d.call(_c, namespaces);
|
|
52
|
+
const ready = (i18n.isInitialized || i18n.initializedStoreOnce) && namespaces.every((n) => hasLoadedNamespace(n, i18n, i18nOptions));
|
|
53
|
+
const memoGetT = useMemoizedT(i18n, props.lng || null, i18nOptions.nsMode === "fallback" ? namespaces : namespaces[0], keyPrefix);
|
|
54
|
+
const getT = () => memoGetT;
|
|
55
|
+
const getNewT = () => alwaysNewT(i18n, props.lng || null, i18nOptions.nsMode === "fallback" ? namespaces : namespaces[0], keyPrefix);
|
|
56
|
+
const [t, setT] = useState(getT);
|
|
57
|
+
let joinedNS = namespaces.join();
|
|
58
|
+
if (props.lng) joinedNS = `${props.lng}${joinedNS}`;
|
|
59
|
+
const previousJoinedNS = usePrevious(joinedNS);
|
|
60
|
+
const isMounted = useRef(true);
|
|
61
|
+
useEffect(() => {
|
|
62
|
+
const {
|
|
63
|
+
bindI18n,
|
|
64
|
+
bindI18nStore
|
|
65
|
+
} = i18nOptions;
|
|
66
|
+
isMounted.current = true;
|
|
67
|
+
if (!ready && !useSuspense) {
|
|
68
|
+
if (props.lng) {
|
|
69
|
+
loadLanguages(i18n, props.lng, namespaces, () => {
|
|
70
|
+
if (isMounted.current) setT(getNewT);
|
|
71
|
+
});
|
|
72
|
+
} else {
|
|
73
|
+
loadNamespaces(i18n, namespaces, () => {
|
|
74
|
+
if (isMounted.current) setT(getNewT);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (ready && previousJoinedNS && previousJoinedNS !== joinedNS && isMounted.current) {
|
|
79
|
+
setT(getNewT);
|
|
80
|
+
}
|
|
81
|
+
const boundReset = () => {
|
|
82
|
+
if (isMounted.current) setT(getNewT);
|
|
83
|
+
};
|
|
84
|
+
if (bindI18n) i18n == null ? void 0 : i18n.on(bindI18n, boundReset);
|
|
85
|
+
if (bindI18nStore) i18n == null ? void 0 : i18n.store.on(bindI18nStore, boundReset);
|
|
86
|
+
return () => {
|
|
87
|
+
isMounted.current = false;
|
|
88
|
+
if (i18n && bindI18n) bindI18n == null ? void 0 : bindI18n.split(" ").forEach((e) => i18n.off(e, boundReset));
|
|
89
|
+
if (bindI18nStore && i18n) bindI18nStore.split(" ").forEach((e) => i18n.store.off(e, boundReset));
|
|
90
|
+
};
|
|
91
|
+
}, [i18n, joinedNS]);
|
|
92
|
+
useEffect(() => {
|
|
93
|
+
if (isMounted.current && ready) {
|
|
94
|
+
setT(getT);
|
|
95
|
+
}
|
|
96
|
+
}, [i18n, keyPrefix, ready]);
|
|
97
|
+
const ret = [t, i18n, ready];
|
|
98
|
+
ret.t = t;
|
|
99
|
+
ret.i18n = i18n;
|
|
100
|
+
ret.ready = ready;
|
|
101
|
+
if (ready) return ret;
|
|
102
|
+
if (!ready && !useSuspense) return ret;
|
|
103
|
+
throw new Promise((resolve) => {
|
|
104
|
+
if (props.lng) {
|
|
105
|
+
loadLanguages(i18n, props.lng, namespaces, () => resolve());
|
|
106
|
+
} else {
|
|
107
|
+
loadNamespaces(i18n, namespaces, () => resolve());
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
export {
|
|
112
|
+
useTranslation
|
|
113
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const warn = (i18n, code, msg, rest) => {
|
|
2
|
+
var _a, _b, _c, _d;
|
|
3
|
+
const args = [msg, {
|
|
4
|
+
code,
|
|
5
|
+
...rest || {}
|
|
6
|
+
}];
|
|
7
|
+
if ((_b = (_a = i18n == null ? void 0 : i18n.services) == null ? void 0 : _a.logger) == null ? void 0 : _b.forward) {
|
|
8
|
+
return i18n.services.logger.forward(args, "warn", "react-i18next::", true);
|
|
9
|
+
}
|
|
10
|
+
if (isString(args[0])) args[0] = `react-i18next:: ${args[0]}`;
|
|
11
|
+
if ((_d = (_c = i18n == null ? void 0 : i18n.services) == null ? void 0 : _c.logger) == null ? void 0 : _d.warn) {
|
|
12
|
+
i18n.services.logger.warn(...args);
|
|
13
|
+
} else if (console == null ? void 0 : console.warn) {
|
|
14
|
+
console.warn(...args);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const alreadyWarned = {};
|
|
18
|
+
const warnOnce = (i18n, code, msg, rest) => {
|
|
19
|
+
if (isString(msg) && alreadyWarned[msg]) return;
|
|
20
|
+
if (isString(msg)) alreadyWarned[msg] = /* @__PURE__ */ new Date();
|
|
21
|
+
warn(i18n, code, msg, rest);
|
|
22
|
+
};
|
|
23
|
+
const loadedClb = (i18n, cb) => () => {
|
|
24
|
+
if (i18n.isInitialized) {
|
|
25
|
+
cb();
|
|
26
|
+
} else {
|
|
27
|
+
const initialized = () => {
|
|
28
|
+
setTimeout(() => {
|
|
29
|
+
i18n.off("initialized", initialized);
|
|
30
|
+
}, 0);
|
|
31
|
+
cb();
|
|
32
|
+
};
|
|
33
|
+
i18n.on("initialized", initialized);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const loadNamespaces = (i18n, ns, cb) => {
|
|
37
|
+
i18n.loadNamespaces(ns, loadedClb(i18n, cb));
|
|
38
|
+
};
|
|
39
|
+
const loadLanguages = (i18n, lng, ns, cb) => {
|
|
40
|
+
if (isString(ns)) ns = [ns];
|
|
41
|
+
if (i18n.options.preload && i18n.options.preload.indexOf(lng) > -1) return loadNamespaces(i18n, ns, cb);
|
|
42
|
+
ns.forEach((n) => {
|
|
43
|
+
if (i18n.options.ns.indexOf(n) < 0) i18n.options.ns.push(n);
|
|
44
|
+
});
|
|
45
|
+
i18n.loadLanguages(lng, loadedClb(i18n, cb));
|
|
46
|
+
};
|
|
47
|
+
const hasLoadedNamespace = (ns, i18n, options = {}) => {
|
|
48
|
+
if (!i18n.languages || !i18n.languages.length) {
|
|
49
|
+
warnOnce(i18n, "NO_LANGUAGES", "i18n.languages were undefined or empty", {
|
|
50
|
+
languages: i18n.languages
|
|
51
|
+
});
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
return i18n.hasLoadedNamespace(ns, {
|
|
55
|
+
lng: options.lng,
|
|
56
|
+
precheck: (i18nInstance, loadNotPending) => {
|
|
57
|
+
if (options.bindI18n && options.bindI18n.indexOf("languageChanging") > -1 && i18nInstance.services.backendConnector.backend && i18nInstance.isLanguageChangingTo && !loadNotPending(i18nInstance.isLanguageChangingTo, ns)) return false;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
const isString = (obj) => typeof obj === "string";
|
|
62
|
+
const isObject = (obj) => typeof obj === "object" && obj !== null;
|
|
63
|
+
export {
|
|
64
|
+
hasLoadedNamespace,
|
|
65
|
+
isObject,
|
|
66
|
+
isString,
|
|
67
|
+
loadLanguages,
|
|
68
|
+
loadNamespaces,
|
|
69
|
+
warn,
|
|
70
|
+
warnOnce
|
|
71
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index$1 = require("../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/locales/de/index.cjs");
|
|
4
|
+
function _mergeNamespaces(n, m) {
|
|
5
|
+
for (var i = 0; i < m.length; i++) {
|
|
6
|
+
const e = m[i];
|
|
7
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default" && !(k in n)) {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
if (d) {
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => e[k]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
22
|
+
}
|
|
23
|
+
var deExports = /* @__PURE__ */ index$1.__require();
|
|
24
|
+
const index = /* @__PURE__ */ _mergeNamespaces({
|
|
25
|
+
__proto__: null
|
|
26
|
+
}, [deExports]);
|
|
27
|
+
exports.index = index;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index$1 = require("../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/locales/en/index.cjs");
|
|
4
|
+
function _mergeNamespaces(n, m) {
|
|
5
|
+
for (var i = 0; i < m.length; i++) {
|
|
6
|
+
const e = m[i];
|
|
7
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default" && !(k in n)) {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
if (d) {
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => e[k]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
22
|
+
}
|
|
23
|
+
var enExports = /* @__PURE__ */ index$1.__require();
|
|
24
|
+
const index = /* @__PURE__ */ _mergeNamespaces({
|
|
25
|
+
__proto__: null
|
|
26
|
+
}, [enExports]);
|
|
27
|
+
exports.index = index;
|
|
@@ -24,6 +24,20 @@ const VIEW_MODE = {
|
|
|
24
24
|
FULL_SCREEN: "fullScreen",
|
|
25
25
|
OVERLAY: "overlay"
|
|
26
26
|
};
|
|
27
|
+
const BASE_LANGUAGES = [
|
|
28
|
+
{ value: "en", label: "🇬🇧 English" },
|
|
29
|
+
{ value: "de", label: "🇩🇪 Deutsch" }
|
|
30
|
+
];
|
|
31
|
+
const LANG_LOCAL_STORAGE_PROPS = {
|
|
32
|
+
key: "i18nextLng",
|
|
33
|
+
defaultValue: "en",
|
|
34
|
+
getInitialValueInEffect: false
|
|
35
|
+
};
|
|
36
|
+
const MRT_LOCALIZATION_IMPORT_MAP = {
|
|
37
|
+
de: () => Promise.resolve().then(() => require("./_virtual/index.cjs")).then((n) => n.index).then((mod) => mod.MRT_Localization_DE),
|
|
38
|
+
en: () => Promise.resolve().then(() => require("./_virtual/index2.cjs")).then((n) => n.index).then((mod) => mod.MRT_Localization_EN)
|
|
39
|
+
};
|
|
40
|
+
exports.BASE_LANGUAGES = BASE_LANGUAGES;
|
|
27
41
|
exports.DEBOUNCE_DELAY = DEBOUNCE_DELAY;
|
|
28
42
|
exports.DEBOUNCE_LOADING_DELAY = DEBOUNCE_LOADING_DELAY;
|
|
29
43
|
exports.DEFAULT_DELIMITER = DEFAULT_DELIMITER;
|
|
@@ -32,6 +46,8 @@ exports.DEFAULT_PAGE_SIZE = DEFAULT_PAGE_SIZE;
|
|
|
32
46
|
exports.DEFAULT_PAGE_SIZE_OPTIONS = DEFAULT_PAGE_SIZE_OPTIONS;
|
|
33
47
|
exports.DEFAULT_QUOTECHAR = DEFAULT_QUOTECHAR;
|
|
34
48
|
exports.DELIMITER_DATA = DELIMITER_DATA;
|
|
49
|
+
exports.LANG_LOCAL_STORAGE_PROPS = LANG_LOCAL_STORAGE_PROPS;
|
|
50
|
+
exports.MRT_LOCALIZATION_IMPORT_MAP = MRT_LOCALIZATION_IMPORT_MAP;
|
|
35
51
|
exports.QUOTECHAR_DATA = QUOTECHAR_DATA;
|
|
36
52
|
exports.VIEW_MODE = VIEW_MODE;
|
|
37
53
|
exports.initialState = initialState;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __require as requireDe } from "../../../.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/locales/de/index.mjs";
|
|
2
|
+
function _mergeNamespaces(n, m) {
|
|
3
|
+
for (var i = 0; i < m.length; i++) {
|
|
4
|
+
const e = m[i];
|
|
5
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default" && !(k in n)) {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
if (d) {
|
|
10
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: () => e[k]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
20
|
+
}
|
|
21
|
+
var deExports = /* @__PURE__ */ requireDe();
|
|
22
|
+
const index = /* @__PURE__ */ _mergeNamespaces({
|
|
23
|
+
__proto__: null
|
|
24
|
+
}, [deExports]);
|
|
25
|
+
export {
|
|
26
|
+
index as i
|
|
27
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __require as requireEn } from "../../../.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/locales/en/index.mjs";
|
|
2
|
+
function _mergeNamespaces(n, m) {
|
|
3
|
+
for (var i = 0; i < m.length; i++) {
|
|
4
|
+
const e = m[i];
|
|
5
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default" && !(k in n)) {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
if (d) {
|
|
10
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: () => e[k]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
20
|
+
}
|
|
21
|
+
var enExports = /* @__PURE__ */ requireEn();
|
|
22
|
+
const index = /* @__PURE__ */ _mergeNamespaces({
|
|
23
|
+
__proto__: null
|
|
24
|
+
}, [enExports]);
|
|
25
|
+
export {
|
|
26
|
+
index as i
|
|
27
|
+
};
|