fastapi-rtk 2.0.0 → 2.0.2
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/index10.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index6.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index7.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index8.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/_virtual/index9.cjs +2 -2
- package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useIfProps.cjs +1 -1
- package/dist/.bundled/jsonforms/esm/_virtual/index10.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index6.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index7.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index8.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/_virtual/index9.mjs +2 -2
- package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useIfProps.mjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/HydrationBoundary.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/index.cjs +19 -19
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useBaseQuery.cjs +3 -3
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useInfiniteQuery.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useIsFetching.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useMutation.cjs +3 -3
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useMutationState.cjs +2 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useQueries.cjs +4 -4
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useQuery.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.cjs +2 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useSuspenseQueries.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useSuspenseQuery.cjs +2 -2
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/compile/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/applicator/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/core/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/format/index.cjs +1 -1
- package/dist/.external/cjs/ajv@8.20.0/ajv/dist/vocabularies/validation/index.cjs +1 -1
- package/dist/.external/cjs/{dompurify@3.4.2 → dompurify@3.4.5}/dompurify/dist/purify.es.cjs +122 -96
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/HydrationBoundary.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/index.mjs +19 -19
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useBaseQuery.mjs +3 -3
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useInfiniteQuery.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useIsFetching.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useMutation.mjs +3 -3
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useMutationState.mjs +2 -2
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useQueries.mjs +4 -4
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useQuery.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.mjs +2 -2
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useSuspenseQueries.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/useSuspenseQuery.mjs +2 -2
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/compile/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/applicator/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/core/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/format/index.mjs +1 -1
- package/dist/.external/esm/ajv@8.20.0/ajv/dist/vocabularies/validation/index.mjs +1 -1
- package/dist/.external/esm/{dompurify@3.4.2 → dompurify@3.4.5}/dompurify/dist/purify.es.mjs +122 -96
- package/dist/core/cjs/Dialogs/AddDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/Main/Body/Field/Field.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +3 -3
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/utils/useStreamingData.cjs +1 -1
- package/dist/core/cjs/Wrappers/Provider/Provider.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideAuth.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideInfo.cjs +1 -1
- package/dist/core/cjs/index.cjs +1 -1
- package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/Main/Body/Field/Field.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +3 -3
- package/dist/core/esm/Wrappers/ApiProvider/hooks/utils/useStreamingData.mjs +1 -1
- package/dist/core/esm/Wrappers/Provider/Provider.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideAuth.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideInfo.mjs +1 -1
- package/dist/core/esm/index.mjs +1 -1
- package/dist/jsonforms/cjs/hooks/useIfProps.cjs +1 -1
- package/dist/jsonforms/esm/hooks/useIfProps.mjs +1 -1
- package/dist/jsonforms/lib/hooks/useIfProps.test.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/environmentManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/hydration.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/mutation.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/mutationObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/notifyManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/queriesObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/query.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/queryObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/removable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/retryer.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/streamedQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/thenable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/timeoutManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/types.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/utils.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/infiniteQueryOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/mutationOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/queryOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/suspense.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/usePrefetchQuery.cjs +0 -0
- /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@9.1.1_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@9.2.1_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/environmentManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/hydration.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/infiniteQueryObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/mutation.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/mutationObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/notifyManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/queriesObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/query.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/queryObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/removable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/retryer.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/streamedQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/thenable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/timeoutManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/types.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.100.9 → @tanstack_query-core@5.100.11}/@tanstack/query-core/build/modern/utils.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/infiniteQueryOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/mutationOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/queryOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/suspense.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.100.9_react@19.2.6 → @tanstack_react-query@5.100.11_react@19.2.6}/@tanstack/react-query/build/modern/usePrefetchQuery.mjs +0 -0
- /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@9.1.1_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@9.2.1_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
|
@@ -1,20 +1,47 @@
|
|
|
1
|
-
/*! @license DOMPurify 3.4.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
/*! @license DOMPurify 3.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.5/LICENSE */
|
|
2
|
+
function _arrayLikeToArray(r, a) {
|
|
3
|
+
(null == a || a > r.length) && (a = r.length);
|
|
4
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
5
|
+
return n;
|
|
6
|
+
}
|
|
7
|
+
function _arrayWithHoles(r) {
|
|
8
|
+
if (Array.isArray(r)) return r;
|
|
9
|
+
}
|
|
10
|
+
function _iterableToArrayLimit(r, l) {
|
|
11
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
12
|
+
if (null != t) {
|
|
13
|
+
var e, n, i, u, a = [], f = true, o = false;
|
|
14
|
+
try {
|
|
15
|
+
if (i = (t = t.call(r)).next, 0 === l) ;
|
|
16
|
+
else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
17
|
+
} catch (r2) {
|
|
18
|
+
o = true, n = r2;
|
|
19
|
+
} finally {
|
|
20
|
+
try {
|
|
21
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
22
|
+
} finally {
|
|
23
|
+
if (o) throw n;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return a;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function _nonIterableRest() {
|
|
30
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
31
|
+
}
|
|
32
|
+
function _slicedToArray(r, e) {
|
|
33
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
34
|
+
}
|
|
35
|
+
function _unsupportedIterableToArray(r, a) {
|
|
36
|
+
if (r) {
|
|
37
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
38
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
39
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
const entries = Object.entries, setPrototypeOf = Object.setPrototypeOf, isFrozen = Object.isFrozen, getPrototypeOf = Object.getPrototypeOf, getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
43
|
+
let freeze = Object.freeze, seal = Object.seal, create = Object.create;
|
|
44
|
+
let _ref = typeof Reflect !== "undefined" && Reflect, apply = _ref.apply, construct = _ref.construct;
|
|
18
45
|
if (!freeze) {
|
|
19
46
|
freeze = function freeze2(x) {
|
|
20
47
|
return x;
|
|
@@ -115,7 +142,10 @@ function cleanArray(array) {
|
|
|
115
142
|
}
|
|
116
143
|
function clone(object) {
|
|
117
144
|
const newObject = create(null);
|
|
118
|
-
for (const
|
|
145
|
+
for (const _ref2 of entries(object)) {
|
|
146
|
+
var _ref3 = _slicedToArray(_ref2, 2);
|
|
147
|
+
const property = _ref3[0];
|
|
148
|
+
const value = _ref3[1];
|
|
119
149
|
const isPropertyExist = objectHasOwnProperty(object, property);
|
|
120
150
|
if (isPropertyExist) {
|
|
121
151
|
if (arrayIsArray(value)) {
|
|
@@ -200,13 +230,13 @@ const svgDisallowed = freeze(["animate", "color-profile", "cursor", "discard", "
|
|
|
200
230
|
const mathMl$1 = freeze(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
|
|
201
231
|
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
202
232
|
const text = freeze(["#text"]);
|
|
203
|
-
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]);
|
|
233
|
+
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]);
|
|
204
234
|
const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
|
|
205
235
|
const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
|
|
206
236
|
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
207
|
-
const MUSTACHE_EXPR = seal(
|
|
208
|
-
const ERB_EXPR = seal(/<%[\w\W]
|
|
209
|
-
const TMPLIT_EXPR = seal(
|
|
237
|
+
const MUSTACHE_EXPR = seal(/{{[\w\W]*|^[\w\W]*}}/g);
|
|
238
|
+
const ERB_EXPR = seal(/<%[\w\W]*|^[\w\W]*%>/g);
|
|
239
|
+
const TMPLIT_EXPR = seal(/\${[\w\W]*/g);
|
|
210
240
|
const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
|
|
211
241
|
const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
|
|
212
242
|
const IS_ALLOWED_URI = seal(
|
|
@@ -220,19 +250,6 @@ const ATTR_WHITESPACE = seal(
|
|
|
220
250
|
);
|
|
221
251
|
const DOCTYPE_NAME = seal(/^html$/i);
|
|
222
252
|
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
223
|
-
var EXPRESSIONS = /* @__PURE__ */ Object.freeze({
|
|
224
|
-
__proto__: null,
|
|
225
|
-
ARIA_ATTR,
|
|
226
|
-
ATTR_WHITESPACE,
|
|
227
|
-
CUSTOM_ELEMENT,
|
|
228
|
-
DATA_ATTR,
|
|
229
|
-
DOCTYPE_NAME,
|
|
230
|
-
ERB_EXPR,
|
|
231
|
-
IS_ALLOWED_URI,
|
|
232
|
-
IS_SCRIPT_OR_DATA,
|
|
233
|
-
MUSTACHE_EXPR,
|
|
234
|
-
TMPLIT_EXPR
|
|
235
|
-
});
|
|
236
253
|
const NODE_TYPE = {
|
|
237
254
|
element: 1,
|
|
238
255
|
text: 3,
|
|
@@ -284,34 +301,23 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
284
301
|
function createDOMPurify() {
|
|
285
302
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
286
303
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
287
|
-
DOMPurify.version = "3.4.
|
|
304
|
+
DOMPurify.version = "3.4.5";
|
|
288
305
|
DOMPurify.removed = [];
|
|
289
306
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
290
307
|
DOMPurify.isSupported = false;
|
|
291
308
|
return DOMPurify;
|
|
292
309
|
}
|
|
293
|
-
let
|
|
294
|
-
document
|
|
295
|
-
} = window2;
|
|
310
|
+
let document = window2.document;
|
|
296
311
|
const originalDocument = document;
|
|
297
312
|
const currentScript = originalDocument.currentScript;
|
|
298
|
-
const
|
|
299
|
-
DocumentFragment,
|
|
300
|
-
HTMLTemplateElement,
|
|
301
|
-
Node,
|
|
302
|
-
Element,
|
|
303
|
-
NodeFilter,
|
|
304
|
-
NamedNodeMap = window2.NamedNodeMap || window2.MozNamedAttrMap,
|
|
305
|
-
HTMLFormElement,
|
|
306
|
-
DOMParser,
|
|
307
|
-
trustedTypes
|
|
308
|
-
} = window2;
|
|
313
|
+
const DocumentFragment = window2.DocumentFragment, HTMLTemplateElement = window2.HTMLTemplateElement, Node = window2.Node, Element = window2.Element, NodeFilter = window2.NodeFilter, _window$NamedNodeMap = window2.NamedNodeMap, NamedNodeMap = _window$NamedNodeMap === void 0 ? window2.NamedNodeMap || window2.MozNamedAttrMap : _window$NamedNodeMap, HTMLFormElement = window2.HTMLFormElement, DOMParser = window2.DOMParser, trustedTypes = window2.trustedTypes;
|
|
309
314
|
const ElementPrototype = Element.prototype;
|
|
310
315
|
const cloneNode = lookupGetter(ElementPrototype, "cloneNode");
|
|
311
316
|
const remove = lookupGetter(ElementPrototype, "remove");
|
|
312
317
|
const getNextSibling = lookupGetter(ElementPrototype, "nextSibling");
|
|
313
318
|
const getChildNodes = lookupGetter(ElementPrototype, "childNodes");
|
|
314
319
|
const getParentNode = lookupGetter(ElementPrototype, "parentNode");
|
|
320
|
+
const getNodeType = Node && Node.prototype ? lookupGetter(Node.prototype, "nodeType") : null;
|
|
315
321
|
if (typeof HTMLTemplateElement === "function") {
|
|
316
322
|
const template = document.createElement("template");
|
|
317
323
|
if (template.content && template.content.ownerDocument) {
|
|
@@ -320,30 +326,12 @@ function createDOMPurify() {
|
|
|
320
326
|
}
|
|
321
327
|
let trustedTypesPolicy;
|
|
322
328
|
let emptyHTML = "";
|
|
323
|
-
const
|
|
324
|
-
|
|
325
|
-
createNodeIterator,
|
|
326
|
-
createDocumentFragment,
|
|
327
|
-
getElementsByTagName
|
|
328
|
-
} = document;
|
|
329
|
-
const {
|
|
330
|
-
importNode
|
|
331
|
-
} = originalDocument;
|
|
329
|
+
const _document = document, implementation = _document.implementation, createNodeIterator = _document.createNodeIterator, createDocumentFragment = _document.createDocumentFragment, getElementsByTagName = _document.getElementsByTagName;
|
|
330
|
+
const importNode = originalDocument.importNode;
|
|
332
331
|
let hooks = _createHooksMap();
|
|
333
332
|
DOMPurify.isSupported = typeof entries === "function" && typeof getParentNode === "function" && implementation && implementation.createHTMLDocument !== void 0;
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
ERB_EXPR: ERB_EXPR2,
|
|
337
|
-
TMPLIT_EXPR: TMPLIT_EXPR2,
|
|
338
|
-
DATA_ATTR: DATA_ATTR2,
|
|
339
|
-
ARIA_ATTR: ARIA_ATTR2,
|
|
340
|
-
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA2,
|
|
341
|
-
ATTR_WHITESPACE: ATTR_WHITESPACE2,
|
|
342
|
-
CUSTOM_ELEMENT: CUSTOM_ELEMENT2
|
|
343
|
-
} = EXPRESSIONS;
|
|
344
|
-
let {
|
|
345
|
-
IS_ALLOWED_URI: IS_ALLOWED_URI$1
|
|
346
|
-
} = EXPRESSIONS;
|
|
333
|
+
const MUSTACHE_EXPR$1 = MUSTACHE_EXPR, ERB_EXPR$1 = ERB_EXPR, TMPLIT_EXPR$1 = TMPLIT_EXPR, DATA_ATTR$1 = DATA_ATTR, ARIA_ATTR$1 = ARIA_ATTR, IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA, ATTR_WHITESPACE$1 = ATTR_WHITESPACE, CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;
|
|
334
|
+
let IS_ALLOWED_URI$1 = IS_ALLOWED_URI;
|
|
347
335
|
let ALLOWED_TAGS = null;
|
|
348
336
|
const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);
|
|
349
337
|
let ALLOWED_ATTR = null;
|
|
@@ -704,11 +692,37 @@ function createDOMPurify() {
|
|
|
704
692
|
null
|
|
705
693
|
);
|
|
706
694
|
};
|
|
695
|
+
const _scrubTemplateExpressions = function _scrubTemplateExpressions2(node) {
|
|
696
|
+
node.normalize();
|
|
697
|
+
const walker = createNodeIterator.call(
|
|
698
|
+
node.ownerDocument || node,
|
|
699
|
+
node,
|
|
700
|
+
// eslint-disable-next-line no-bitwise
|
|
701
|
+
NodeFilter.SHOW_TEXT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_CDATA_SECTION | NodeFilter.SHOW_PROCESSING_INSTRUCTION,
|
|
702
|
+
null
|
|
703
|
+
);
|
|
704
|
+
let currentNode = walker.nextNode();
|
|
705
|
+
while (currentNode) {
|
|
706
|
+
let data = currentNode.data;
|
|
707
|
+
arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], (expr) => {
|
|
708
|
+
data = stringReplace(data, expr, " ");
|
|
709
|
+
});
|
|
710
|
+
currentNode.data = data;
|
|
711
|
+
currentNode = walker.nextNode();
|
|
712
|
+
}
|
|
713
|
+
};
|
|
707
714
|
const _isClobbered = function _isClobbered2(element) {
|
|
708
715
|
return element instanceof HTMLFormElement && (typeof element.nodeName !== "string" || typeof element.textContent !== "string" || typeof element.removeChild !== "function" || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== "function" || typeof element.setAttribute !== "function" || typeof element.namespaceURI !== "string" || typeof element.insertBefore !== "function" || typeof element.hasChildNodes !== "function");
|
|
709
716
|
};
|
|
710
717
|
const _isNode = function _isNode2(value) {
|
|
711
|
-
|
|
718
|
+
if (!getNodeType || typeof value !== "object" || value === null) {
|
|
719
|
+
return false;
|
|
720
|
+
}
|
|
721
|
+
try {
|
|
722
|
+
return typeof getNodeType(value) === "number";
|
|
723
|
+
} catch (_) {
|
|
724
|
+
return false;
|
|
725
|
+
}
|
|
712
726
|
};
|
|
713
727
|
function _executeHooks(hooks2, currentNode, data) {
|
|
714
728
|
arrayForEach(hooks2, (hook) => {
|
|
@@ -776,7 +790,7 @@ function createDOMPurify() {
|
|
|
776
790
|
}
|
|
777
791
|
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
|
|
778
792
|
content = currentNode.textContent;
|
|
779
|
-
arrayForEach([
|
|
793
|
+
arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], (expr) => {
|
|
780
794
|
content = stringReplace(content, expr, " ");
|
|
781
795
|
});
|
|
782
796
|
if (currentNode.textContent !== content) {
|
|
@@ -797,8 +811,8 @@ function createDOMPurify() {
|
|
|
797
811
|
return false;
|
|
798
812
|
}
|
|
799
813
|
const nameIsPermitted = ALLOWED_ATTR[lcName] || EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag);
|
|
800
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(
|
|
801
|
-
else if (ALLOW_ARIA_ATTR && regExpTest(
|
|
814
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR$1, lcName)) ;
|
|
815
|
+
else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) ;
|
|
802
816
|
else if (!nameIsPermitted || FORBID_ATTR[lcName]) {
|
|
803
817
|
if (
|
|
804
818
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
@@ -812,9 +826,9 @@ function createDOMPurify() {
|
|
|
812
826
|
return false;
|
|
813
827
|
}
|
|
814
828
|
} else if (URI_SAFE_ATTRIBUTES[lcName]) ;
|
|
815
|
-
else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value,
|
|
829
|
+
else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE$1, ""))) ;
|
|
816
830
|
else if ((lcName === "src" || lcName === "xlink:href" || lcName === "href") && lcTag !== "script" && stringIndexOf(value, "data:") === 0 && DATA_URI_TAGS[lcTag]) ;
|
|
817
|
-
else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(
|
|
831
|
+
else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$1, stringReplace(value, ATTR_WHITESPACE$1, ""))) ;
|
|
818
832
|
else if (value) {
|
|
819
833
|
return false;
|
|
820
834
|
} else ;
|
|
@@ -822,13 +836,11 @@ function createDOMPurify() {
|
|
|
822
836
|
};
|
|
823
837
|
const RESERVED_CUSTOM_ELEMENT_NAMES = addToSet({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]);
|
|
824
838
|
const _isBasicCustomElement = function _isBasicCustomElement2(tagName) {
|
|
825
|
-
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(
|
|
839
|
+
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT$1, tagName);
|
|
826
840
|
};
|
|
827
841
|
const _sanitizeAttributes = function _sanitizeAttributes2(currentNode) {
|
|
828
842
|
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
|
829
|
-
const
|
|
830
|
-
attributes
|
|
831
|
-
} = currentNode;
|
|
843
|
+
const attributes = currentNode.attributes;
|
|
832
844
|
if (!attributes || _isClobbered(currentNode)) {
|
|
833
845
|
return;
|
|
834
846
|
}
|
|
@@ -842,11 +854,7 @@ function createDOMPurify() {
|
|
|
842
854
|
let l = attributes.length;
|
|
843
855
|
while (l--) {
|
|
844
856
|
const attr = attributes[l];
|
|
845
|
-
const
|
|
846
|
-
name,
|
|
847
|
-
namespaceURI,
|
|
848
|
-
value: attrValue
|
|
849
|
-
} = attr;
|
|
857
|
+
const name = attr.name, namespaceURI = attr.namespaceURI, attrValue = attr.value;
|
|
850
858
|
const lcName = transformCaseFunc(name);
|
|
851
859
|
const initValue = attrValue;
|
|
852
860
|
let value = name === "value" ? initValue : stringTrim(initValue);
|
|
@@ -880,7 +888,7 @@ function createDOMPurify() {
|
|
|
880
888
|
continue;
|
|
881
889
|
}
|
|
882
890
|
if (SAFE_FOR_TEMPLATES) {
|
|
883
|
-
arrayForEach([
|
|
891
|
+
arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], (expr) => {
|
|
884
892
|
value = stringReplace(value, expr, " ");
|
|
885
893
|
});
|
|
886
894
|
}
|
|
@@ -937,6 +945,24 @@ function createDOMPurify() {
|
|
|
937
945
|
}
|
|
938
946
|
_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
|
|
939
947
|
};
|
|
948
|
+
const _sanitizeAttachedShadowRoots2 = function _sanitizeAttachedShadowRoots(root) {
|
|
949
|
+
if (root.nodeType === NODE_TYPE.element && root.shadowRoot instanceof DocumentFragment) {
|
|
950
|
+
const sr = root.shadowRoot;
|
|
951
|
+
_sanitizeAttachedShadowRoots2(sr);
|
|
952
|
+
_sanitizeShadowDOM2(sr);
|
|
953
|
+
}
|
|
954
|
+
const childNodes = root.childNodes;
|
|
955
|
+
if (!childNodes) {
|
|
956
|
+
return;
|
|
957
|
+
}
|
|
958
|
+
const snapshot = [];
|
|
959
|
+
arrayForEach(childNodes, (child) => {
|
|
960
|
+
arrayPush(snapshot, child);
|
|
961
|
+
});
|
|
962
|
+
for (const child of snapshot) {
|
|
963
|
+
_sanitizeAttachedShadowRoots2(child);
|
|
964
|
+
}
|
|
965
|
+
};
|
|
940
966
|
DOMPurify.sanitize = function(dirty) {
|
|
941
967
|
let cfg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
942
968
|
let body = null;
|
|
@@ -971,7 +997,8 @@ function createDOMPurify() {
|
|
|
971
997
|
throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
972
998
|
}
|
|
973
999
|
}
|
|
974
|
-
|
|
1000
|
+
_sanitizeAttachedShadowRoots2(dirty);
|
|
1001
|
+
} else if (_isNode(dirty)) {
|
|
975
1002
|
body = _initDocument("<!---->");
|
|
976
1003
|
importedNode = body.ownerDocument.importNode(dirty, true);
|
|
977
1004
|
if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === "BODY") {
|
|
@@ -981,6 +1008,7 @@ function createDOMPurify() {
|
|
|
981
1008
|
} else {
|
|
982
1009
|
body.appendChild(importedNode);
|
|
983
1010
|
}
|
|
1011
|
+
_sanitizeAttachedShadowRoots2(importedNode);
|
|
984
1012
|
} else {
|
|
985
1013
|
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && // eslint-disable-next-line unicorn/prefer-includes
|
|
986
1014
|
dirty.indexOf("<") === -1) {
|
|
@@ -1003,16 +1031,14 @@ function createDOMPurify() {
|
|
|
1003
1031
|
}
|
|
1004
1032
|
}
|
|
1005
1033
|
if (IN_PLACE) {
|
|
1034
|
+
if (SAFE_FOR_TEMPLATES) {
|
|
1035
|
+
_scrubTemplateExpressions(dirty);
|
|
1036
|
+
}
|
|
1006
1037
|
return dirty;
|
|
1007
1038
|
}
|
|
1008
1039
|
if (RETURN_DOM) {
|
|
1009
1040
|
if (SAFE_FOR_TEMPLATES) {
|
|
1010
|
-
body
|
|
1011
|
-
let html2 = body.innerHTML;
|
|
1012
|
-
arrayForEach([MUSTACHE_EXPR2, ERB_EXPR2, TMPLIT_EXPR2], (expr) => {
|
|
1013
|
-
html2 = stringReplace(html2, expr, " ");
|
|
1014
|
-
});
|
|
1015
|
-
body.innerHTML = html2;
|
|
1041
|
+
_scrubTemplateExpressions(body);
|
|
1016
1042
|
}
|
|
1017
1043
|
if (RETURN_DOM_FRAGMENT) {
|
|
1018
1044
|
returnNode = createDocumentFragment.call(body.ownerDocument);
|
|
@@ -1032,7 +1058,7 @@ function createDOMPurify() {
|
|
|
1032
1058
|
serializedHTML = "<!DOCTYPE " + body.ownerDocument.doctype.name + ">\n" + serializedHTML;
|
|
1033
1059
|
}
|
|
1034
1060
|
if (SAFE_FOR_TEMPLATES) {
|
|
1035
|
-
arrayForEach([
|
|
1061
|
+
arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], (expr) => {
|
|
1036
1062
|
serializedHTML = stringReplace(serializedHTML, expr, " ");
|
|
1037
1063
|
});
|
|
1038
1064
|
}
|
|
@@ -7,7 +7,7 @@ const utils = require("fastapi-rtk/utils");
|
|
|
7
7
|
const core = require("@mantine/core");
|
|
8
8
|
const form = require("@mantine/form");
|
|
9
9
|
const hooks = require("@mantine/hooks");
|
|
10
|
-
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@9.
|
|
10
|
+
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@9.2.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
11
11
|
const React = require("react");
|
|
12
12
|
const useApi = require("../hooks/api/useApi.cjs");
|
|
13
13
|
const useForms = require("../hooks/api/useForms.cjs");
|
|
@@ -8,7 +8,7 @@ const core = require("@mantine/core");
|
|
|
8
8
|
const form = require("@mantine/form");
|
|
9
9
|
const hooks = require("@mantine/hooks");
|
|
10
10
|
const lodash = require("../_virtual/lodash.cjs");
|
|
11
|
-
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@9.
|
|
11
|
+
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@9.2.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
12
12
|
const React = require("react");
|
|
13
13
|
const convertToFormInputs$1 = require("../ActionIcons/utils/convertToFormInputs.cjs");
|
|
14
14
|
const convertToFormInputs = require("../fab-react-toolkit-patch/utils/convertToFormInputs.cjs");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const core = require("@mantine/core");
|
|
5
|
-
const purify_es = require("../../../../../../../.external/cjs/dompurify@3.4.
|
|
5
|
+
const purify_es = require("../../../../../../../.external/cjs/dompurify@3.4.5/dompurify/dist/purify.es.cjs");
|
|
6
6
|
const React = require("react");
|
|
7
7
|
const FallbackWrapper = require("../../../../NextGenDataGrid/FallbackWrapper.cjs");
|
|
8
8
|
const Field_module = require("./Field.module.css.cjs");
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const core = require("@mantine/core");
|
|
5
5
|
const form = require("@mantine/form");
|
|
6
6
|
const hooks = require("@mantine/hooks");
|
|
7
|
-
const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@9.
|
|
7
|
+
const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@9.2.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
8
8
|
const React = require("react");
|
|
9
9
|
const index_esm = require("../../../../../../.external/cjs/yup@1.7.1/yup/index.esm.cjs");
|
|
10
10
|
const plus = require("../../../../_virtual/plus.cjs");
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const utils = require("fastapi-rtk/utils");
|
|
5
5
|
const hooks = require("@mantine/hooks");
|
|
6
|
-
const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.100.
|
|
7
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.100.
|
|
8
|
-
const useInfiniteQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.100.
|
|
6
|
+
const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.100.11/@tanstack/query-core/build/modern/utils.cjs");
|
|
7
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
8
|
+
const useInfiniteQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/useInfiniteQuery.cjs");
|
|
9
9
|
const useLang = require("../../../hooks/lang/useLang.cjs");
|
|
10
10
|
const createItem = require("../utils/api/createItem.cjs");
|
|
11
11
|
const deleteItem = require("../utils/api/deleteItem.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const QueryClientProvider = require("../../../../../../.external/cjs/@tanstack_react-query@5.100.
|
|
3
|
+
const QueryClientProvider = require("../../../../../../.external/cjs/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const useStreamingData = ({ streamingMode, dataQuery, streamingQuery, streamingQueryKey }) => {
|
|
6
6
|
var _a;
|
|
@@ -4,8 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const constants = require("fastapi-rtk/constants");
|
|
5
5
|
const utils = require("fastapi-rtk/utils");
|
|
6
6
|
const zustand = require("fastapi-rtk/zustand");
|
|
7
|
-
const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.100.
|
|
8
|
-
const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.100.
|
|
7
|
+
const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.100.11/@tanstack/query-core/build/modern/queryClient.cjs");
|
|
8
|
+
const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
|
|
9
9
|
const React = require("react");
|
|
10
10
|
const useProvideAuth = require("../../fab-react-toolkit-patch/auth/hooks/useProvideAuth.cjs");
|
|
11
11
|
const useProvideInfo = require("../../fab-react-toolkit-patch/auth/hooks/useProvideInfo.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.100.
|
|
4
|
-
const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.100.
|
|
3
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
4
|
+
const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
|
|
5
5
|
const React = require("react");
|
|
6
6
|
const authFetch = require("../utils/authFetch.cjs");
|
|
7
7
|
const userCRUD = require("../utils/userCRUD.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.100.
|
|
3
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const authFetch = require("../utils/authFetch.cjs");
|
|
6
6
|
const defaultInfo = { getInfo: authFetch.authInfo };
|
package/dist/core/cjs/index.cjs
CHANGED
|
@@ -37,7 +37,7 @@ const constants = require("fastapi-rtk/constants");
|
|
|
37
37
|
const hooks = require("fastapi-rtk/hooks");
|
|
38
38
|
const utils = require("fastapi-rtk/utils");
|
|
39
39
|
const zustand = require("fastapi-rtk/zustand");
|
|
40
|
-
const index = require("../../.external/cjs/@tanstack_react-query@5.100.
|
|
40
|
+
const index = require("../../.external/cjs/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/index.cjs");
|
|
41
41
|
const index_esm = require("../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._2zjbhqlotlhjxtgwdmcgs6toey/mantine-react-table/dist/index.esm.cjs");
|
|
42
42
|
const useTranslation = require("../../.external/cjs/react-i18next@15.7.4_i18next@25.10.10_react-dom@19.2.6_react@19.2.6_typescript@5.9.3/react-i18next/dist/es/useTranslation.cjs");
|
|
43
43
|
exports.Actions = Actions.Actions;
|
|
@@ -5,7 +5,7 @@ import { deepMerge } from "fastapi-rtk/utils";
|
|
|
5
5
|
import { useProps, Stack } from "@mantine/core";
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
|
-
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@9.
|
|
8
|
+
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@9.2.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
9
9
|
import { useMemo, useCallback, useEffect } from "react";
|
|
10
10
|
import { useApi } from "../hooks/api/useApi.mjs";
|
|
11
11
|
import { useForms } from "../hooks/api/useForms.mjs";
|
|
@@ -6,7 +6,7 @@ import { useProps, Stack } from "@mantine/core";
|
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
8
|
import { l as lodashExports } from "../_virtual/lodash.mjs";
|
|
9
|
-
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@9.
|
|
9
|
+
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@9.2.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
10
10
|
import { useMemo, useRef, useEffect, useCallback } from "react";
|
|
11
11
|
import { convertToFormInputs as convertToFormInputs$1 } from "../ActionIcons/utils/convertToFormInputs.mjs";
|
|
12
12
|
import { convertToFormInputs } from "../fab-react-toolkit-patch/utils/convertToFormInputs.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useProps, useStyles, Table, Box, Skeleton, Text } from "@mantine/core";
|
|
3
|
-
import purify from "../../../../../../../.external/esm/dompurify@3.4.
|
|
3
|
+
import purify from "../../../../../../../.external/esm/dompurify@3.4.5/dompurify/dist/purify.es.mjs";
|
|
4
4
|
import React__default, { isValidElement } from "react";
|
|
5
5
|
import { FallbackWrapper } from "../../../../NextGenDataGrid/FallbackWrapper.mjs";
|
|
6
6
|
import classes from "./Field.module.css.mjs";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useProps, Box, Flex, ActionIcon, Divider, Text, ScrollArea, Button, Group } from "@mantine/core";
|
|
3
3
|
import { useForm } from "@mantine/form";
|
|
4
4
|
import { randomId } from "@mantine/hooks";
|
|
5
|
-
import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@9.
|
|
5
|
+
import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@9.2.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
import { object as create$3, array as create$2, mixed as create$8, string as create$6 } from "../../../../../../.external/esm/yup@1.7.1/yup/index.esm.mjs";
|
|
8
8
|
import ForwardRef$1 from "../../../../_virtual/plus.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useState, useRef, useMemo, useCallback, useEffect } from "react";
|
|
2
2
|
import { convertId, getItemId, urlJoin } from "fastapi-rtk/utils";
|
|
3
3
|
import { useDidUpdate } from "@mantine/hooks";
|
|
4
|
-
import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.100.
|
|
5
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.100.
|
|
6
|
-
import { useInfiniteQuery } from "../../../../../.external/esm/@tanstack_react-query@5.100.
|
|
4
|
+
import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.100.11/@tanstack/query-core/build/modern/utils.mjs";
|
|
5
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
6
|
+
import { useInfiniteQuery } from "../../../../../.external/esm/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/useInfiniteQuery.mjs";
|
|
7
7
|
import { useLang } from "../../../hooks/lang/useLang.mjs";
|
|
8
8
|
import { createItem } from "../utils/api/createItem.mjs";
|
|
9
9
|
import { deleteItem } from "../utils/api/deleteItem.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useQueryClient } from "../../../../../../.external/esm/@tanstack_react-query@5.100.
|
|
1
|
+
import { useQueryClient } from "../../../../../../.external/esm/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
|
|
2
2
|
import { useMemo, useCallback } from "react";
|
|
3
3
|
const useStreamingData = ({ streamingMode, dataQuery, streamingQuery, streamingQueryKey }) => {
|
|
4
4
|
var _a;
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { setDebugMode } from "fastapi-rtk/constants";
|
|
3
3
|
import { parseFromValuesOrFunc } from "fastapi-rtk/utils";
|
|
4
4
|
import { useProxy } from "fastapi-rtk/zustand";
|
|
5
|
-
import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.100.
|
|
6
|
-
import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.100.
|
|
5
|
+
import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.100.11/@tanstack/query-core/build/modern/queryClient.mjs";
|
|
6
|
+
import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
|
|
7
7
|
import { useState, forwardRef, useMemo, useEffect } from "react";
|
|
8
8
|
import { defaultAuth } from "../../fab-react-toolkit-patch/auth/hooks/useProvideAuth.mjs";
|
|
9
9
|
import { defaultInfo } from "../../fab-react-toolkit-patch/auth/hooks/useProvideInfo.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.100.
|
|
2
|
-
import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.100.
|
|
1
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
2
|
+
import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
|
|
3
3
|
import { useState, useCallback, useMemo } from "react";
|
|
4
4
|
import { authOAuthSignin, authResetPassword, authSignout, authSignin } from "../utils/authFetch.mjs";
|
|
5
5
|
import { updateUser, getUser } from "../utils/userCRUD.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.100.
|
|
1
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { authInfo } from "../utils/authFetch.mjs";
|
|
4
4
|
const defaultInfo = { getInfo: authInfo };
|
package/dist/core/esm/index.mjs
CHANGED
|
@@ -35,7 +35,7 @@ export * from "fastapi-rtk/constants";
|
|
|
35
35
|
export * from "fastapi-rtk/hooks";
|
|
36
36
|
export * from "fastapi-rtk/utils";
|
|
37
37
|
export * from "fastapi-rtk/zustand";
|
|
38
|
-
import * as index from "../../.external/esm/@tanstack_react-query@5.100.
|
|
38
|
+
import * as index from "../../.external/esm/@tanstack_react-query@5.100.11_react@19.2.6/@tanstack/react-query/build/modern/index.mjs";
|
|
39
39
|
import * as index_esm from "../../.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._2zjbhqlotlhjxtgwdmcgs6toey/mantine-react-table/dist/index.esm.mjs";
|
|
40
40
|
import { useTranslation } from "../../.external/esm/react-i18next@15.7.4_i18next@25.10.10_react-dom@19.2.6_react@19.2.6_typescript@5.9.3/react-i18next/dist/es/useTranslation.mjs";
|
|
41
41
|
export {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const useIfProps = (schema, core, key = "props") => React.useMemo(() => {
|
|
5
5
|
const { ajv, data } = core;
|
|
6
|
-
if (!schema || data === void 0) {
|
|
6
|
+
if (!schema || data === void 0 || data === null) {
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
9
|
const { if: condition, then: thenBranch, else: elseBranch } = schema;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
const useIfProps = (schema, core, key = "props") => useMemo(() => {
|
|
3
3
|
const { ajv, data } = core;
|
|
4
|
-
if (!schema || data === void 0) {
|
|
4
|
+
if (!schema || data === void 0 || data === null) {
|
|
5
5
|
return;
|
|
6
6
|
}
|
|
7
7
|
const { if: condition, then: thenBranch, else: elseBranch } = schema;
|