@payloadcms/next 3.0.0-beta.60 → 3.0.0-beta.62
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/prod/styles.css +1 -1
- package/dist/views/Edit/Default/Auth/index.scss +17 -2
- package/dist/views/Version/SelectComparison/index.scss +1 -1
- package/package.json +17 -23
- package/dist/config.d.ts +0 -4
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -3
- package/dist/config.js.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/ShouldRenderTabs.d.ts +0 -5
- package/dist/elements/DocumentHeader/Tabs/ShouldRenderTabs.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/ShouldRenderTabs.js +0 -13
- package/dist/elements/DocumentHeader/Tabs/ShouldRenderTabs.js.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/Tab/TabLink.d.ts +0 -13
- package/dist/elements/DocumentHeader/Tabs/Tab/TabLink.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/Tab/TabLink.js +0 -43
- package/dist/elements/DocumentHeader/Tabs/Tab/TabLink.js.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/Tab/index.d.ts +0 -6
- package/dist/elements/DocumentHeader/Tabs/Tab/index.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/Tab/index.js +0 -58
- package/dist/elements/DocumentHeader/Tabs/Tab/index.js.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/getCustomViews.d.ts +0 -6
- package/dist/elements/DocumentHeader/Tabs/getCustomViews.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/getCustomViews.js +0 -38
- package/dist/elements/DocumentHeader/Tabs/getCustomViews.js.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/getViewConfig.d.ts +0 -7
- package/dist/elements/DocumentHeader/Tabs/getViewConfig.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/getViewConfig.js +0 -14
- package/dist/elements/DocumentHeader/Tabs/getViewConfig.js.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/index.d.ts +0 -12
- package/dist/elements/DocumentHeader/Tabs/index.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/index.js +0 -81
- package/dist/elements/DocumentHeader/Tabs/index.js.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/tabs/VersionsPill/index.d.ts +0 -3
- package/dist/elements/DocumentHeader/Tabs/tabs/VersionsPill/index.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/tabs/VersionsPill/index.js +0 -23
- package/dist/elements/DocumentHeader/Tabs/tabs/VersionsPill/index.js.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/tabs/index.d.ts +0 -7
- package/dist/elements/DocumentHeader/Tabs/tabs/index.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/Tabs/tabs/index.js +0 -57
- package/dist/elements/DocumentHeader/Tabs/tabs/index.js.map +0 -1
- package/dist/elements/DocumentHeader/index.d.ts +0 -14
- package/dist/elements/DocumentHeader/index.d.ts.map +0 -1
- package/dist/elements/DocumentHeader/index.js +0 -30
- package/dist/elements/DocumentHeader/index.js.map +0 -1
- package/dist/elements/LeaveWithoutSaving/index.d.ts +0 -4
- package/dist/elements/LeaveWithoutSaving/index.d.ts.map +0 -1
- package/dist/elements/LeaveWithoutSaving/index.js +0 -86
- package/dist/elements/LeaveWithoutSaving/index.js.map +0 -1
- package/dist/elements/LeaveWithoutSaving/usePreventLeave.d.ts +0 -8
- package/dist/elements/LeaveWithoutSaving/usePreventLeave.d.ts.map +0 -1
- package/dist/elements/LeaveWithoutSaving/usePreventLeave.js +0 -114
- package/dist/elements/LeaveWithoutSaving/usePreventLeave.js.map +0 -1
- package/dist/elements/Logo/index.d.ts +0 -4
- package/dist/elements/Logo/index.d.ts.map +0 -1
- package/dist/elements/Logo/index.js +0 -24
- package/dist/elements/Logo/index.js.map +0 -1
- package/dist/elements/Nav/NavHamburger/index.d.ts +0 -5
- package/dist/elements/Nav/NavHamburger/index.d.ts.map +0 -1
- package/dist/elements/Nav/NavHamburger/index.js +0 -20
- package/dist/elements/Nav/NavHamburger/index.js.map +0 -1
- package/dist/elements/Nav/NavWrapper/index.d.ts +0 -7
- package/dist/elements/Nav/NavWrapper/index.d.ts.map +0 -1
- package/dist/elements/Nav/NavWrapper/index.js +0 -21
- package/dist/elements/Nav/NavWrapper/index.js.map +0 -1
- package/dist/elements/Nav/index.client.d.ts +0 -3
- package/dist/elements/Nav/index.client.d.ts.map +0 -1
- package/dist/elements/Nav/index.client.js +0 -79
- package/dist/elements/Nav/index.client.js.map +0 -1
- package/dist/elements/Nav/index.d.ts +0 -6
- package/dist/elements/Nav/index.d.ts.map +0 -1
- package/dist/elements/Nav/index.js +0 -67
- package/dist/elements/Nav/index.js.map +0 -1
- package/dist/exports/layouts.d.ts +0 -2
- package/dist/exports/layouts.d.ts.map +0 -1
- package/dist/exports/layouts.js +0 -3
- package/dist/exports/layouts.js.map +0 -1
- package/dist/exports/routes.d.ts +0 -3
- package/dist/exports/routes.d.ts.map +0 -1
- package/dist/exports/routes.js +0 -4
- package/dist/exports/routes.js.map +0 -1
- package/dist/exports/templates.d.ts +0 -3
- package/dist/exports/templates.d.ts.map +0 -1
- package/dist/exports/templates.js +0 -4
- package/dist/exports/templates.js.map +0 -1
- package/dist/exports/utilities.d.ts +0 -7
- package/dist/exports/utilities.d.ts.map +0 -1
- package/dist/exports/utilities.js +0 -8
- package/dist/exports/utilities.js.map +0 -1
- package/dist/exports/views.d.ts +0 -5
- package/dist/exports/views.d.ts.map +0 -1
- package/dist/exports/views.js +0 -6
- package/dist/exports/views.js.map +0 -1
- package/dist/fetchAPI-multipart/fileFactory.d.ts +0 -15
- package/dist/fetchAPI-multipart/fileFactory.d.ts.map +0 -1
- package/dist/fetchAPI-multipart/fileFactory.js +0 -43
- package/dist/fetchAPI-multipart/fileFactory.js.map +0 -1
- package/dist/fetchAPI-multipart/handlers.d.ts +0 -14
- package/dist/fetchAPI-multipart/handlers.d.ts.map +0 -1
- package/dist/fetchAPI-multipart/handlers.js +0 -86
- package/dist/fetchAPI-multipart/handlers.js.map +0 -1
- package/dist/fetchAPI-multipart/index.d.ts +0 -132
- package/dist/fetchAPI-multipart/index.d.ts.map +0 -1
- package/dist/fetchAPI-multipart/index.js +0 -41
- package/dist/fetchAPI-multipart/index.js.map +0 -1
- package/dist/fetchAPI-multipart/isEligibleRequest.d.ts +0 -2
- package/dist/fetchAPI-multipart/isEligibleRequest.d.ts.map +0 -1
- package/dist/fetchAPI-multipart/isEligibleRequest.js +0 -26
- package/dist/fetchAPI-multipart/isEligibleRequest.js.map +0 -1
- package/dist/fetchAPI-multipart/processMultipart.d.ts +0 -8
- package/dist/fetchAPI-multipart/processMultipart.d.ts.map +0 -1
- package/dist/fetchAPI-multipart/processMultipart.js +0 -162
- package/dist/fetchAPI-multipart/processMultipart.js.map +0 -1
- package/dist/fetchAPI-multipart/processNested.d.ts +0 -2
- package/dist/fetchAPI-multipart/processNested.d.ts.map +0 -1
- package/dist/fetchAPI-multipart/processNested.js +0 -25
- package/dist/fetchAPI-multipart/processNested.js.map +0 -1
- package/dist/fetchAPI-multipart/uploadTimer.d.ts +0 -7
- package/dist/fetchAPI-multipart/uploadTimer.d.ts.map +0 -1
- package/dist/fetchAPI-multipart/uploadTimer.js +0 -19
- package/dist/fetchAPI-multipart/uploadTimer.js.map +0 -1
- package/dist/fetchAPI-multipart/utilities.d.ts +0 -65
- package/dist/fetchAPI-multipart/utilities.d.ts.map +0 -1
- package/dist/fetchAPI-multipart/utilities.js +0 -207
- package/dist/fetchAPI-multipart/utilities.js.map +0 -1
- package/dist/fetchAPI-stream-file/index.d.ts +0 -5
- package/dist/fetchAPI-stream-file/index.d.ts.map +0 -1
- package/dist/fetchAPI-stream-file/index.js +0 -25
- package/dist/fetchAPI-stream-file/index.js.map +0 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +0 -1
- package/dist/layouts/Root/index.d.ts +0 -12
- package/dist/layouts/Root/index.d.ts.map +0 -1
- package/dist/layouts/Root/index.js +0 -113
- package/dist/layouts/Root/index.js.map +0 -1
- package/dist/prod/index.js +0 -55
- package/dist/prod/payload/payload-favicon-dark.png +0 -0
- package/dist/prod/payload/payload-favicon-light.png +0 -0
- package/dist/prod/payload/static-og-image.png +0 -0
- package/dist/routes/graphql/handler.d.ts +0 -4
- package/dist/routes/graphql/handler.d.ts.map +0 -1
- package/dist/routes/graphql/handler.js +0 -123
- package/dist/routes/graphql/handler.js.map +0 -1
- package/dist/routes/graphql/index.d.ts +0 -3
- package/dist/routes/graphql/index.d.ts.map +0 -1
- package/dist/routes/graphql/index.js +0 -4
- package/dist/routes/graphql/index.js.map +0 -1
- package/dist/routes/graphql/playground.d.ts +0 -3
- package/dist/routes/graphql/playground.d.ts.map +0 -1
- package/dist/routes/graphql/playground.js +0 -27
- package/dist/routes/graphql/playground.js.map +0 -1
- package/dist/routes/index.d.ts +0 -3
- package/dist/routes/index.d.ts.map +0 -1
- package/dist/routes/index.js +0 -4
- package/dist/routes/index.js.map +0 -1
- package/dist/routes/rest/auth/access.d.ts +0 -3
- package/dist/routes/rest/auth/access.d.ts.map +0 -1
- package/dist/routes/rest/auth/access.js +0 -27
- package/dist/routes/rest/auth/access.js.map +0 -1
- package/dist/routes/rest/auth/forgotPassword.d.ts +0 -3
- package/dist/routes/rest/auth/forgotPassword.d.ts.map +0 -1
- package/dist/routes/rest/auth/forgotPassword.js +0 -30
- package/dist/routes/rest/auth/forgotPassword.js.map +0 -1
- package/dist/routes/rest/auth/init.d.ts +0 -3
- package/dist/routes/rest/auth/init.d.ts.map +0 -1
- package/dist/routes/rest/auth/init.js +0 -18
- package/dist/routes/rest/auth/init.js.map +0 -1
- package/dist/routes/rest/auth/login.d.ts +0 -3
- package/dist/routes/rest/auth/login.d.ts.map +0 -1
- package/dist/routes/rest/auth/login.js +0 -44
- package/dist/routes/rest/auth/login.js.map +0 -1
- package/dist/routes/rest/auth/logout.d.ts +0 -3
- package/dist/routes/rest/auth/logout.d.ts.map +0 -1
- package/dist/routes/rest/auth/logout.js +0 -35
- package/dist/routes/rest/auth/logout.js.map +0 -1
- package/dist/routes/rest/auth/me.d.ts +0 -3
- package/dist/routes/rest/auth/me.d.ts.map +0 -1
- package/dist/routes/rest/auth/me.js +0 -26
- package/dist/routes/rest/auth/me.js.map +0 -1
- package/dist/routes/rest/auth/refresh.d.ts +0 -3
- package/dist/routes/rest/auth/refresh.d.ts.map +0 -1
- package/dist/routes/rest/auth/refresh.js +0 -34
- package/dist/routes/rest/auth/refresh.js.map +0 -1
- package/dist/routes/rest/auth/registerFirstUser.d.ts +0 -3
- package/dist/routes/rest/auth/registerFirstUser.d.ts.map +0 -1
- package/dist/routes/rest/auth/registerFirstUser.js +0 -43
- package/dist/routes/rest/auth/registerFirstUser.js.map +0 -1
- package/dist/routes/rest/auth/resetPassword.d.ts +0 -3
- package/dist/routes/rest/auth/resetPassword.d.ts.map +0 -1
- package/dist/routes/rest/auth/resetPassword.js +0 -38
- package/dist/routes/rest/auth/resetPassword.js.map +0 -1
- package/dist/routes/rest/auth/unlock.d.ts +0 -3
- package/dist/routes/rest/auth/unlock.d.ts.map +0 -1
- package/dist/routes/rest/auth/unlock.js +0 -24
- package/dist/routes/rest/auth/unlock.js.map +0 -1
- package/dist/routes/rest/auth/verifyEmail.d.ts +0 -3
- package/dist/routes/rest/auth/verifyEmail.d.ts.map +0 -1
- package/dist/routes/rest/auth/verifyEmail.js +0 -22
- package/dist/routes/rest/auth/verifyEmail.js.map +0 -1
- package/dist/routes/rest/buildFormState.d.ts +0 -5
- package/dist/routes/rest/buildFormState.d.ts.map +0 -1
- package/dist/routes/rest/buildFormState.js +0 -45
- package/dist/routes/rest/buildFormState.js.map +0 -1
- package/dist/routes/rest/checkEndpoints.d.ts +0 -5
- package/dist/routes/rest/checkEndpoints.d.ts.map +0 -1
- package/dist/routes/rest/checkEndpoints.js +0 -12
- package/dist/routes/rest/checkEndpoints.js.map +0 -1
- package/dist/routes/rest/collections/count.d.ts +0 -3
- package/dist/routes/rest/collections/count.d.ts.map +0 -1
- package/dist/routes/rest/collections/count.js +0 -15
- package/dist/routes/rest/collections/count.js.map +0 -1
- package/dist/routes/rest/collections/create.d.ts +0 -3
- package/dist/routes/rest/collections/create.d.ts.map +0 -1
- package/dist/routes/rest/collections/create.js +0 -33
- package/dist/routes/rest/collections/create.js.map +0 -1
- package/dist/routes/rest/collections/delete.d.ts +0 -3
- package/dist/routes/rest/collections/delete.d.ts.map +0 -1
- package/dist/routes/rest/collections/delete.js +0 -46
- package/dist/routes/rest/collections/delete.js.map +0 -1
- package/dist/routes/rest/collections/deleteByID.d.ts +0 -3
- package/dist/routes/rest/collections/deleteByID.d.ts.map +0 -1
- package/dist/routes/rest/collections/deleteByID.js +0 -41
- package/dist/routes/rest/collections/deleteByID.js.map +0 -1
- package/dist/routes/rest/collections/docAccess.d.ts +0 -3
- package/dist/routes/rest/collections/docAccess.d.ts.map +0 -1
- package/dist/routes/rest/collections/docAccess.js +0 -19
- package/dist/routes/rest/collections/docAccess.js.map +0 -1
- package/dist/routes/rest/collections/duplicate.d.ts +0 -3
- package/dist/routes/rest/collections/duplicate.d.ts.map +0 -1
- package/dist/routes/rest/collections/duplicate.js +0 -39
- package/dist/routes/rest/collections/duplicate.js.map +0 -1
- package/dist/routes/rest/collections/find.d.ts +0 -3
- package/dist/routes/rest/collections/find.d.ts.map +0 -1
- package/dist/routes/rest/collections/find.js +0 -26
- package/dist/routes/rest/collections/find.js.map +0 -1
- package/dist/routes/rest/collections/findByID.d.ts +0 -3
- package/dist/routes/rest/collections/findByID.d.ts.map +0 -1
- package/dist/routes/rest/collections/findByID.js +0 -30
- package/dist/routes/rest/collections/findByID.js.map +0 -1
- package/dist/routes/rest/collections/findVersionByID.d.ts +0 -3
- package/dist/routes/rest/collections/findVersionByID.d.ts.map +0 -1
- package/dist/routes/rest/collections/findVersionByID.js +0 -29
- package/dist/routes/rest/collections/findVersionByID.js.map +0 -1
- package/dist/routes/rest/collections/findVersions.d.ts +0 -3
- package/dist/routes/rest/collections/findVersions.d.ts.map +0 -1
- package/dist/routes/rest/collections/findVersions.js +0 -25
- package/dist/routes/rest/collections/findVersions.js.map +0 -1
- package/dist/routes/rest/collections/preview.d.ts +0 -3
- package/dist/routes/rest/collections/preview.d.ts.map +0 -1
- package/dist/routes/rest/collections/preview.js +0 -44
- package/dist/routes/rest/collections/preview.js.map +0 -1
- package/dist/routes/rest/collections/restoreVersion.d.ts +0 -3
- package/dist/routes/rest/collections/restoreVersion.d.ts.map +0 -1
- package/dist/routes/rest/collections/restoreVersion.js +0 -32
- package/dist/routes/rest/collections/restoreVersion.js.map +0 -1
- package/dist/routes/rest/collections/update.d.ts +0 -3
- package/dist/routes/rest/collections/update.d.ts.map +0 -1
- package/dist/routes/rest/collections/update.js +0 -48
- package/dist/routes/rest/collections/update.js.map +0 -1
- package/dist/routes/rest/collections/updateByID.d.ts +0 -3
- package/dist/routes/rest/collections/updateByID.d.ts.map +0 -1
- package/dist/routes/rest/collections/updateByID.js +0 -40
- package/dist/routes/rest/collections/updateByID.js.map +0 -1
- package/dist/routes/rest/files/checkFileAccess.d.ts +0 -7
- package/dist/routes/rest/files/checkFileAccess.d.ts.map +0 -1
- package/dist/routes/rest/files/checkFileAccess.js +0 -50
- package/dist/routes/rest/files/checkFileAccess.js.map +0 -1
- package/dist/routes/rest/files/getFile.d.ts +0 -9
- package/dist/routes/rest/files/getFile.d.ts.map +0 -1
- package/dist/routes/rest/files/getFile.js +0 -63
- package/dist/routes/rest/files/getFile.js.map +0 -1
- package/dist/routes/rest/files/getFileTypeFallback.d.ts +0 -7
- package/dist/routes/rest/files/getFileTypeFallback.d.ts.map +0 -1
- package/dist/routes/rest/files/getFileTypeFallback.js +0 -21
- package/dist/routes/rest/files/getFileTypeFallback.js.map +0 -1
- package/dist/routes/rest/globals/docAccess.d.ts +0 -3
- package/dist/routes/rest/globals/docAccess.d.ts.map +0 -1
- package/dist/routes/rest/globals/docAccess.js +0 -18
- package/dist/routes/rest/globals/docAccess.js.map +0 -1
- package/dist/routes/rest/globals/findOne.d.ts +0 -3
- package/dist/routes/rest/globals/findOne.d.ts.map +0 -1
- package/dist/routes/rest/globals/findOne.js +0 -24
- package/dist/routes/rest/globals/findOne.js.map +0 -1
- package/dist/routes/rest/globals/findVersionByID.d.ts +0 -3
- package/dist/routes/rest/globals/findVersionByID.d.ts.map +0 -1
- package/dist/routes/rest/globals/findVersionByID.js +0 -23
- package/dist/routes/rest/globals/findVersionByID.js.map +0 -1
- package/dist/routes/rest/globals/findVersions.d.ts +0 -3
- package/dist/routes/rest/globals/findVersions.d.ts.map +0 -1
- package/dist/routes/rest/globals/findVersions.js +0 -25
- package/dist/routes/rest/globals/findVersions.js.map +0 -1
- package/dist/routes/rest/globals/preview.d.ts +0 -3
- package/dist/routes/rest/globals/preview.d.ts.map +0 -1
- package/dist/routes/rest/globals/preview.js +0 -43
- package/dist/routes/rest/globals/preview.js.map +0 -1
- package/dist/routes/rest/globals/restoreVersion.d.ts +0 -3
- package/dist/routes/rest/globals/restoreVersion.d.ts.map +0 -1
- package/dist/routes/rest/globals/restoreVersion.js +0 -26
- package/dist/routes/rest/globals/restoreVersion.js.map +0 -1
- package/dist/routes/rest/globals/update.d.ts +0 -3
- package/dist/routes/rest/globals/update.d.ts.map +0 -1
- package/dist/routes/rest/globals/update.js +0 -34
- package/dist/routes/rest/globals/update.js.map +0 -1
- package/dist/routes/rest/index.d.ts +0 -23
- package/dist/routes/rest/index.d.ts.map +0 -1
- package/dist/routes/rest/index.js +0 -679
- package/dist/routes/rest/index.js.map +0 -1
- package/dist/routes/rest/og/image.d.ts +0 -9
- package/dist/routes/rest/og/image.d.ts.map +0 -1
- package/dist/routes/rest/og/image.js +0 -79
- package/dist/routes/rest/og/image.js.map +0 -1
- package/dist/routes/rest/og/index.d.ts +0 -11
- package/dist/routes/rest/og/index.d.ts.map +0 -1
- package/dist/routes/rest/og/index.js +0 -73
- package/dist/routes/rest/og/index.js.map +0 -1
- package/dist/routes/rest/routeError.d.ts +0 -14
- package/dist/routes/rest/routeError.d.ts.map +0 -1
- package/dist/routes/rest/routeError.js +0 -107
- package/dist/routes/rest/routeError.js.map +0 -1
- package/dist/routes/rest/types.d.ts +0 -23
- package/dist/routes/rest/types.d.ts.map +0 -1
- package/dist/routes/rest/types.js +0 -3
- package/dist/routes/rest/types.js.map +0 -1
- package/dist/routes/rest/utilities/sanitizeCollectionID.d.ts +0 -9
- package/dist/routes/rest/utilities/sanitizeCollectionID.d.ts.map +0 -1
- package/dist/routes/rest/utilities/sanitizeCollectionID.js +0 -13
- package/dist/routes/rest/utilities/sanitizeCollectionID.js.map +0 -1
- package/dist/templates/Default/NavHamburger/index.d.ts +0 -3
- package/dist/templates/Default/NavHamburger/index.d.ts.map +0 -1
- package/dist/templates/Default/NavHamburger/index.js +0 -13
- package/dist/templates/Default/NavHamburger/index.js.map +0 -1
- package/dist/templates/Default/Wrapper/index.d.ts +0 -8
- package/dist/templates/Default/Wrapper/index.d.ts.map +0 -1
- package/dist/templates/Default/Wrapper/index.js +0 -18
- package/dist/templates/Default/Wrapper/index.js.map +0 -1
- package/dist/templates/Default/index.d.ts +0 -10
- package/dist/templates/Default/index.d.ts.map +0 -1
- package/dist/templates/Default/index.js +0 -66
- package/dist/templates/Default/index.js.map +0 -1
- package/dist/templates/Minimal/index.d.ts +0 -10
- package/dist/templates/Minimal/index.d.ts.map +0 -1
- package/dist/templates/Minimal/index.js +0 -21
- package/dist/templates/Minimal/index.js.map +0 -1
- package/dist/utilities/addDataAndFileToRequest.d.ts +0 -8
- package/dist/utilities/addDataAndFileToRequest.d.ts.map +0 -1
- package/dist/utilities/addDataAndFileToRequest.js +0 -42
- package/dist/utilities/addDataAndFileToRequest.js.map +0 -1
- package/dist/utilities/addLocalesToRequest.d.ts +0 -17
- package/dist/utilities/addLocalesToRequest.d.ts.map +0 -1
- package/dist/utilities/addLocalesToRequest.js +0 -43
- package/dist/utilities/addLocalesToRequest.js.map +0 -1
- package/dist/utilities/createPayloadRequest.d.ts +0 -11
- package/dist/utilities/createPayloadRequest.d.ts.map +0 -1
- package/dist/utilities/createPayloadRequest.js +0 -81
- package/dist/utilities/createPayloadRequest.js.map +0 -1
- package/dist/utilities/getNextRequestI18n.d.ts +0 -11
- package/dist/utilities/getNextRequestI18n.d.ts.map +0 -1
- package/dist/utilities/getNextRequestI18n.js +0 -18
- package/dist/utilities/getNextRequestI18n.js.map +0 -1
- package/dist/utilities/getPayloadHMR.d.ts +0 -4
- package/dist/utilities/getPayloadHMR.d.ts.map +0 -1
- package/dist/utilities/getPayloadHMR.js +0 -95
- package/dist/utilities/getPayloadHMR.js.map +0 -1
- package/dist/utilities/getRequestLanguage.d.ts +0 -12
- package/dist/utilities/getRequestLanguage.d.ts.map +0 -1
- package/dist/utilities/getRequestLanguage.js +0 -16
- package/dist/utilities/getRequestLanguage.js.map +0 -1
- package/dist/utilities/getRequestLocales.d.ts +0 -12
- package/dist/utilities/getRequestLocales.d.ts.map +0 -1
- package/dist/utilities/getRequestLocales.js +0 -28
- package/dist/utilities/getRequestLocales.js.map +0 -1
- package/dist/utilities/getRequestTheme.d.ts +0 -11
- package/dist/utilities/getRequestTheme.d.ts.map +0 -1
- package/dist/utilities/getRequestTheme.js +0 -19
- package/dist/utilities/getRequestTheme.js.map +0 -1
- package/dist/utilities/headersWithCors.d.ts +0 -8
- package/dist/utilities/headersWithCors.d.ts.map +0 -1
- package/dist/utilities/headersWithCors.js +0 -17
- package/dist/utilities/headersWithCors.js.map +0 -1
- package/dist/utilities/initPage/handleAdminPage.d.ts +0 -12
- package/dist/utilities/initPage/handleAdminPage.d.ts.map +0 -1
- package/dist/utilities/initPage/handleAdminPage.js +0 -35
- package/dist/utilities/initPage/handleAdminPage.js.map +0 -1
- package/dist/utilities/initPage/handleAuthRedirect.d.ts +0 -9
- package/dist/utilities/initPage/handleAuthRedirect.d.ts.map +0 -1
- package/dist/utilities/initPage/handleAuthRedirect.js +0 -27
- package/dist/utilities/initPage/handleAuthRedirect.js.map +0 -1
- package/dist/utilities/initPage/index.d.ts +0 -4
- package/dist/utilities/initPage/index.d.ts.map +0 -1
- package/dist/utilities/initPage/index.js +0 -133
- package/dist/utilities/initPage/index.js.map +0 -1
- package/dist/utilities/initPage/shared.d.ts +0 -4
- package/dist/utilities/initPage/shared.d.ts.map +0 -1
- package/dist/utilities/initPage/shared.js +0 -19
- package/dist/utilities/initPage/shared.js.map +0 -1
- package/dist/utilities/initPage/types.d.ts +0 -24
- package/dist/utilities/initPage/types.d.ts.map +0 -1
- package/dist/utilities/initPage/types.js +0 -3
- package/dist/utilities/initPage/types.js.map +0 -1
- package/dist/utilities/mergeHeaders.d.ts +0 -2
- package/dist/utilities/mergeHeaders.d.ts.map +0 -1
- package/dist/utilities/mergeHeaders.js +0 -37
- package/dist/utilities/mergeHeaders.js.map +0 -1
- package/dist/utilities/meta.d.ts +0 -5
- package/dist/utilities/meta.d.ts.map +0 -1
- package/dist/utilities/meta.js +0 -73
- package/dist/utilities/meta.js.map +0 -1
- package/dist/utilities/timestamp.d.ts +0 -2
- package/dist/utilities/timestamp.d.ts.map +0 -1
- package/dist/utilities/timestamp.js +0 -7
- package/dist/utilities/timestamp.js.map +0 -1
- package/dist/views/API/LocaleSelector/index.d.ts +0 -9
- package/dist/views/API/LocaleSelector/index.d.ts.map +0 -1
- package/dist/views/API/LocaleSelector/index.js +0 -15
- package/dist/views/API/LocaleSelector/index.js.map +0 -1
- package/dist/views/API/RenderJSON/index.d.ts +0 -12
- package/dist/views/API/RenderJSON/index.d.ts.map +0 -1
- package/dist/views/API/RenderJSON/index.js +0 -122
- package/dist/views/API/RenderJSON/index.js.map +0 -1
- package/dist/views/API/index.client.d.ts +0 -4
- package/dist/views/API/index.client.d.ts.map +0 -1
- package/dist/views/API/index.client.js +0 -208
- package/dist/views/API/index.client.js.map +0 -1
- package/dist/views/API/index.d.ts +0 -3
- package/dist/views/API/index.d.ts.map +0 -1
- package/dist/views/API/index.js +0 -8
- package/dist/views/API/index.js.map +0 -1
- package/dist/views/API/meta.d.ts +0 -3
- package/dist/views/API/meta.d.ts.map +0 -1
- package/dist/views/API/meta.js +0 -18
- package/dist/views/API/meta.js.map +0 -1
- package/dist/views/Account/Settings/LanguageSelector.d.ts +0 -6
- package/dist/views/Account/Settings/LanguageSelector.d.ts.map +0 -1
- package/dist/views/Account/Settings/LanguageSelector.js +0 -19
- package/dist/views/Account/Settings/LanguageSelector.js.map +0 -1
- package/dist/views/Account/Settings/index.d.ts +0 -10
- package/dist/views/Account/Settings/index.d.ts.map +0 -1
- package/dist/views/Account/Settings/index.js +0 -35
- package/dist/views/Account/Settings/index.js.map +0 -1
- package/dist/views/Account/ToggleTheme/index.d.ts +0 -3
- package/dist/views/Account/ToggleTheme/index.d.ts.map +0 -1
- package/dist/views/Account/ToggleTheme/index.js +0 -35
- package/dist/views/Account/ToggleTheme/index.js.map +0 -1
- package/dist/views/Account/index.d.ts +0 -5
- package/dist/views/Account/index.d.ts.map +0 -1
- package/dist/views/Account/index.js +0 -90
- package/dist/views/Account/index.js.map +0 -1
- package/dist/views/Account/meta.d.ts +0 -3
- package/dist/views/Account/meta.d.ts.map +0 -1
- package/dist/views/Account/meta.js +0 -10
- package/dist/views/Account/meta.js.map +0 -1
- package/dist/views/CreateFirstUser/index.client.d.ts +0 -7
- package/dist/views/CreateFirstUser/index.client.d.ts.map +0 -1
- package/dist/views/CreateFirstUser/index.client.js +0 -66
- package/dist/views/CreateFirstUser/index.client.js.map +0 -1
- package/dist/views/CreateFirstUser/index.d.ts +0 -6
- package/dist/views/CreateFirstUser/index.d.ts.map +0 -1
- package/dist/views/CreateFirstUser/index.js +0 -53
- package/dist/views/CreateFirstUser/index.js.map +0 -1
- package/dist/views/CreateFirstUser/meta.d.ts +0 -3
- package/dist/views/CreateFirstUser/meta.d.ts.map +0 -1
- package/dist/views/CreateFirstUser/meta.js +0 -10
- package/dist/views/CreateFirstUser/meta.js.map +0 -1
- package/dist/views/Dashboard/Default/index.d.ts +0 -12
- package/dist/views/Dashboard/Default/index.d.ts.map +0 -1
- package/dist/views/Dashboard/Default/index.js +0 -121
- package/dist/views/Dashboard/Default/index.js.map +0 -1
- package/dist/views/Dashboard/index.d.ts +0 -5
- package/dist/views/Dashboard/index.d.ts.map +0 -1
- package/dist/views/Dashboard/index.js +0 -66
- package/dist/views/Dashboard/index.js.map +0 -1
- package/dist/views/Dashboard/meta.d.ts +0 -3
- package/dist/views/Dashboard/meta.d.ts.map +0 -1
- package/dist/views/Dashboard/meta.js +0 -14
- package/dist/views/Dashboard/meta.js.map +0 -1
- package/dist/views/Document/getCustomViewByKey.d.ts +0 -3
- package/dist/views/Document/getCustomViewByKey.d.ts.map +0 -1
- package/dist/views/Document/getCustomViewByKey.js +0 -6
- package/dist/views/Document/getCustomViewByKey.js.map +0 -1
- package/dist/views/Document/getCustomViewByRoute.d.ts +0 -7
- package/dist/views/Document/getCustomViewByRoute.d.ts.map +0 -1
- package/dist/views/Document/getCustomViewByRoute.js +0 -22
- package/dist/views/Document/getCustomViewByRoute.js.map +0 -1
- package/dist/views/Document/getDocumentData.d.ts +0 -9
- package/dist/views/Document/getDocumentData.d.ts.map +0 -1
- package/dist/views/Document/getDocumentData.js +0 -31
- package/dist/views/Document/getDocumentData.js.map +0 -1
- package/dist/views/Document/getDocumentPermissions.d.ts +0 -13
- package/dist/views/Document/getDocumentPermissions.d.ts.map +0 -1
- package/dist/views/Document/getDocumentPermissions.js +0 -82
- package/dist/views/Document/getDocumentPermissions.js.map +0 -1
- package/dist/views/Document/getMetaBySegment.d.ts +0 -9
- package/dist/views/Document/getMetaBySegment.d.ts.map +0 -1
- package/dist/views/Document/getMetaBySegment.js +0 -77
- package/dist/views/Document/getMetaBySegment.js.map +0 -1
- package/dist/views/Document/getViewsFromConfig.d.ts +0 -16
- package/dist/views/Document/getViewsFromConfig.d.ts.map +0 -1
- package/dist/views/Document/getViewsFromConfig.js +0 -242
- package/dist/views/Document/getViewsFromConfig.js.map +0 -1
- package/dist/views/Document/index.d.ts +0 -6
- package/dist/views/Document/index.d.ts.map +0 -1
- package/dist/views/Document/index.js +0 -188
- package/dist/views/Document/index.js.map +0 -1
- package/dist/views/Document/meta.d.ts +0 -3
- package/dist/views/Document/meta.d.ts.map +0 -1
- package/dist/views/Document/meta.js +0 -4
- package/dist/views/Document/meta.js.map +0 -1
- package/dist/views/Edit/Default/Auth/APIKey.d.ts +0 -6
- package/dist/views/Edit/Default/Auth/APIKey.d.ts.map +0 -1
- package/dist/views/Edit/Default/Auth/APIKey.js +0 -116
- package/dist/views/Edit/Default/Auth/APIKey.js.map +0 -1
- package/dist/views/Edit/Default/Auth/index.d.ts +0 -5
- package/dist/views/Edit/Default/Auth/index.d.ts.map +0 -1
- package/dist/views/Edit/Default/Auth/index.js +0 -161
- package/dist/views/Edit/Default/Auth/index.js.map +0 -1
- package/dist/views/Edit/Default/Auth/types.d.ts +0 -14
- package/dist/views/Edit/Default/Auth/types.d.ts.map +0 -1
- package/dist/views/Edit/Default/Auth/types.js +0 -3
- package/dist/views/Edit/Default/Auth/types.js.map +0 -1
- package/dist/views/Edit/Default/SetDocumentStepNav/index.d.ts +0 -11
- package/dist/views/Edit/Default/SetDocumentStepNav/index.d.ts.map +0 -1
- package/dist/views/Edit/Default/SetDocumentStepNav/index.js +0 -69
- package/dist/views/Edit/Default/SetDocumentStepNav/index.js.map +0 -1
- package/dist/views/Edit/Default/SetDocumentTitle/index.d.ts +0 -8
- package/dist/views/Edit/Default/SetDocumentTitle/index.d.ts.map +0 -1
- package/dist/views/Edit/Default/SetDocumentTitle/index.js +0 -36
- package/dist/views/Edit/Default/SetDocumentTitle/index.js.map +0 -1
- package/dist/views/Edit/Default/index.d.ts +0 -4
- package/dist/views/Edit/Default/index.d.ts.map +0 -1
- package/dist/views/Edit/Default/index.js +0 -198
- package/dist/views/Edit/Default/index.js.map +0 -1
- package/dist/views/Edit/Default/types.d.ts +0 -6
- package/dist/views/Edit/Default/types.d.ts.map +0 -1
- package/dist/views/Edit/Default/types.js +0 -3
- package/dist/views/Edit/Default/types.js.map +0 -1
- package/dist/views/Edit/index.client.d.ts +0 -3
- package/dist/views/Edit/index.client.d.ts.map +0 -1
- package/dist/views/Edit/index.client.js +0 -25
- package/dist/views/Edit/index.client.js.map +0 -1
- package/dist/views/Edit/index.d.ts +0 -3
- package/dist/views/Edit/index.d.ts.map +0 -1
- package/dist/views/Edit/index.js +0 -8
- package/dist/views/Edit/index.js.map +0 -1
- package/dist/views/Edit/meta.d.ts +0 -3
- package/dist/views/Edit/meta.d.ts.map +0 -1
- package/dist/views/Edit/meta.js +0 -28
- package/dist/views/Edit/meta.js.map +0 -1
- package/dist/views/Edit/sanitizeEditViewProps.d.ts +0 -3
- package/dist/views/Edit/sanitizeEditViewProps.d.ts.map +0 -1
- package/dist/views/Edit/sanitizeEditViewProps.js +0 -11
- package/dist/views/Edit/sanitizeEditViewProps.js.map +0 -1
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts +0 -3
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts.map +0 -1
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.js +0 -104
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.js.map +0 -1
- package/dist/views/ForgotPassword/index.d.ts +0 -6
- package/dist/views/ForgotPassword/index.d.ts.map +0 -1
- package/dist/views/ForgotPassword/index.js +0 -52
- package/dist/views/ForgotPassword/index.js.map +0 -1
- package/dist/views/ForgotPassword/meta.d.ts +0 -3
- package/dist/views/ForgotPassword/meta.d.ts.map +0 -1
- package/dist/views/ForgotPassword/meta.js +0 -10
- package/dist/views/ForgotPassword/meta.js.map +0 -1
- package/dist/views/List/Default/index.d.ts +0 -4
- package/dist/views/List/Default/index.d.ts.map +0 -1
- package/dist/views/List/Default/index.js +0 -200
- package/dist/views/List/Default/index.js.map +0 -1
- package/dist/views/List/Default/types.d.ts +0 -15
- package/dist/views/List/Default/types.d.ts.map +0 -1
- package/dist/views/List/Default/types.js +0 -3
- package/dist/views/List/Default/types.js.map +0 -1
- package/dist/views/List/index.d.ts +0 -5
- package/dist/views/List/index.d.ts.map +0 -1
- package/dist/views/List/index.js +0 -126
- package/dist/views/List/index.js.map +0 -1
- package/dist/views/List/meta.d.ts +0 -7
- package/dist/views/List/meta.d.ts.map +0 -1
- package/dist/views/List/meta.js +0 -21
- package/dist/views/List/meta.js.map +0 -1
- package/dist/views/LivePreview/Context/collisionDetection.d.ts +0 -3
- package/dist/views/LivePreview/Context/collisionDetection.d.ts.map +0 -1
- package/dist/views/LivePreview/Context/collisionDetection.js +0 -26
- package/dist/views/LivePreview/Context/collisionDetection.js.map +0 -1
- package/dist/views/LivePreview/Context/context.d.ts +0 -50
- package/dist/views/LivePreview/Context/context.d.ts.map +0 -1
- package/dist/views/LivePreview/Context/context.js +0 -40
- package/dist/views/LivePreview/Context/context.js.map +0 -1
- package/dist/views/LivePreview/Context/index.d.ts +0 -19
- package/dist/views/LivePreview/Context/index.d.ts.map +0 -1
- package/dist/views/LivePreview/Context/index.js +0 -156
- package/dist/views/LivePreview/Context/index.js.map +0 -1
- package/dist/views/LivePreview/Context/sizeReducer.d.ts +0 -20
- package/dist/views/LivePreview/Context/sizeReducer.d.ts.map +0 -1
- package/dist/views/LivePreview/Context/sizeReducer.js +0 -31
- package/dist/views/LivePreview/Context/sizeReducer.js.map +0 -1
- package/dist/views/LivePreview/Device/index.d.ts +0 -5
- package/dist/views/LivePreview/Device/index.d.ts.map +0 -1
- package/dist/views/LivePreview/Device/index.js +0 -81
- package/dist/views/LivePreview/Device/index.js.map +0 -1
- package/dist/views/LivePreview/DeviceContainer/index.d.ts +0 -5
- package/dist/views/LivePreview/DeviceContainer/index.d.ts.map +0 -1
- package/dist/views/LivePreview/DeviceContainer/index.js +0 -31
- package/dist/views/LivePreview/DeviceContainer/index.js.map +0 -1
- package/dist/views/LivePreview/IFrame/index.d.ts +0 -9
- package/dist/views/LivePreview/IFrame/index.d.ts.map +0 -1
- package/dist/views/LivePreview/IFrame/index.js +0 -23
- package/dist/views/LivePreview/IFrame/index.js.map +0 -1
- package/dist/views/LivePreview/Preview/index.d.ts +0 -5
- package/dist/views/LivePreview/Preview/index.d.ts.map +0 -1
- package/dist/views/LivePreview/Preview/index.js +0 -110
- package/dist/views/LivePreview/Preview/index.js.map +0 -1
- package/dist/views/LivePreview/Toolbar/Controls/index.d.ts +0 -5
- package/dist/views/LivePreview/Toolbar/Controls/index.d.ts.map +0 -1
- package/dist/views/LivePreview/Toolbar/Controls/index.js +0 -129
- package/dist/views/LivePreview/Toolbar/Controls/index.js.map +0 -1
- package/dist/views/LivePreview/Toolbar/SizeInput/index.d.ts +0 -6
- package/dist/views/LivePreview/Toolbar/SizeInput/index.d.ts.map +0 -1
- package/dist/views/LivePreview/Toolbar/SizeInput/index.js +0 -61
- package/dist/views/LivePreview/Toolbar/SizeInput/index.js.map +0 -1
- package/dist/views/LivePreview/Toolbar/index.d.ts +0 -7
- package/dist/views/LivePreview/Toolbar/index.d.ts.map +0 -1
- package/dist/views/LivePreview/Toolbar/index.js +0 -64
- package/dist/views/LivePreview/Toolbar/index.js.map +0 -1
- package/dist/views/LivePreview/ToolbarArea/index.d.ts +0 -6
- package/dist/views/LivePreview/ToolbarArea/index.d.ts.map +0 -1
- package/dist/views/LivePreview/ToolbarArea/index.js +0 -18
- package/dist/views/LivePreview/ToolbarArea/index.js.map +0 -1
- package/dist/views/LivePreview/index.client.d.ts +0 -9
- package/dist/views/LivePreview/index.client.d.ts.map +0 -1
- package/dist/views/LivePreview/index.client.js +0 -195
- package/dist/views/LivePreview/index.client.js.map +0 -1
- package/dist/views/LivePreview/index.d.ts +0 -4
- package/dist/views/LivePreview/index.d.ts.map +0 -1
- package/dist/views/LivePreview/index.js +0 -66
- package/dist/views/LivePreview/index.js.map +0 -1
- package/dist/views/LivePreview/meta.d.ts +0 -3
- package/dist/views/LivePreview/meta.d.ts.map +0 -1
- package/dist/views/LivePreview/meta.js +0 -10
- package/dist/views/LivePreview/meta.js.map +0 -1
- package/dist/views/LivePreview/usePopupWindow.d.ts +0 -19
- package/dist/views/LivePreview/usePopupWindow.d.ts.map +0 -1
- package/dist/views/LivePreview/usePopupWindow.js +0 -102
- package/dist/views/LivePreview/usePopupWindow.js.map +0 -1
- package/dist/views/Login/LoginForm/index.d.ts +0 -8
- package/dist/views/Login/LoginForm/index.d.ts.map +0 -1
- package/dist/views/Login/LoginForm/index.js +0 -122
- package/dist/views/Login/LoginForm/index.js.map +0 -1
- package/dist/views/Login/index.d.ts +0 -7
- package/dist/views/Login/index.d.ts.map +0 -1
- package/dist/views/Login/index.js +0 -64
- package/dist/views/Login/index.js.map +0 -1
- package/dist/views/Login/meta.d.ts +0 -3
- package/dist/views/Login/meta.d.ts.map +0 -1
- package/dist/views/Login/meta.js +0 -10
- package/dist/views/Login/meta.js.map +0 -1
- package/dist/views/Logout/LogoutClient.d.ts +0 -7
- package/dist/views/Logout/LogoutClient.d.ts.map +0 -1
- package/dist/views/Logout/LogoutClient.js +0 -45
- package/dist/views/Logout/LogoutClient.js.map +0 -1
- package/dist/views/Logout/index.d.ts +0 -9
- package/dist/views/Logout/index.d.ts.map +0 -1
- package/dist/views/Logout/index.js +0 -24
- package/dist/views/Logout/index.js.map +0 -1
- package/dist/views/Logout/meta.d.ts +0 -3
- package/dist/views/Logout/meta.d.ts.map +0 -1
- package/dist/views/Logout/meta.js +0 -9
- package/dist/views/Logout/meta.js.map +0 -1
- package/dist/views/NotFound/index.client.d.ts +0 -6
- package/dist/views/NotFound/index.client.d.ts.map +0 -1
- package/dist/views/NotFound/index.client.js +0 -49
- package/dist/views/NotFound/index.client.js.map +0 -1
- package/dist/views/NotFound/index.d.ts +0 -28
- package/dist/views/NotFound/index.d.ts.map +0 -1
- package/dist/views/NotFound/index.js +0 -52
- package/dist/views/NotFound/index.js.map +0 -1
- package/dist/views/NotFound/meta.d.ts +0 -8
- package/dist/views/NotFound/meta.d.ts.map +0 -1
- package/dist/views/NotFound/meta.js +0 -9
- package/dist/views/NotFound/meta.js.map +0 -1
- package/dist/views/ResetPassword/index.client.d.ts +0 -7
- package/dist/views/ResetPassword/index.client.d.ts.map +0 -1
- package/dist/views/ResetPassword/index.client.js +0 -81
- package/dist/views/ResetPassword/index.client.js.map +0 -1
- package/dist/views/ResetPassword/index.d.ts +0 -7
- package/dist/views/ResetPassword/index.d.ts.map +0 -1
- package/dist/views/ResetPassword/index.js +0 -64
- package/dist/views/ResetPassword/index.js.map +0 -1
- package/dist/views/ResetPassword/meta.d.ts +0 -3
- package/dist/views/ResetPassword/meta.d.ts.map +0 -1
- package/dist/views/ResetPassword/meta.js +0 -10
- package/dist/views/ResetPassword/meta.js.map +0 -1
- package/dist/views/Root/getCustomViewByRoute.d.ts +0 -6
- package/dist/views/Root/getCustomViewByRoute.d.ts.map +0 -1
- package/dist/views/Root/getCustomViewByRoute.js +0 -19
- package/dist/views/Root/getCustomViewByRoute.js.map +0 -1
- package/dist/views/Root/getViewFromConfig.d.ts +0 -17
- package/dist/views/Root/getViewFromConfig.d.ts.map +0 -1
- package/dist/views/Root/getViewFromConfig.js +0 -155
- package/dist/views/Root/getViewFromConfig.js.map +0 -1
- package/dist/views/Root/index.d.ts +0 -23
- package/dist/views/Root/index.d.ts.map +0 -1
- package/dist/views/Root/index.js +0 -82
- package/dist/views/Root/index.js.map +0 -1
- package/dist/views/Root/isPathMatchingRoute.d.ts +0 -8
- package/dist/views/Root/isPathMatchingRoute.d.ts.map +0 -1
- package/dist/views/Root/isPathMatchingRoute.js +0 -16
- package/dist/views/Root/isPathMatchingRoute.js.map +0 -1
- package/dist/views/Root/meta.d.ts +0 -14
- package/dist/views/Root/meta.d.ts.map +0 -1
- package/dist/views/Root/meta.js +0 -140
- package/dist/views/Root/meta.js.map +0 -1
- package/dist/views/Unauthorized/index.d.ts +0 -5
- package/dist/views/Unauthorized/index.d.ts.map +0 -1
- package/dist/views/Unauthorized/index.js +0 -30
- package/dist/views/Unauthorized/index.js.map +0 -1
- package/dist/views/Unauthorized/meta.d.ts +0 -3
- package/dist/views/Unauthorized/meta.d.ts.map +0 -1
- package/dist/views/Unauthorized/meta.js +0 -10
- package/dist/views/Unauthorized/meta.js.map +0 -1
- package/dist/views/Verify/index.d.ts +0 -7
- package/dist/views/Verify/index.d.ts.map +0 -1
- package/dist/views/Verify/index.js +0 -47
- package/dist/views/Verify/index.js.map +0 -1
- package/dist/views/Verify/meta.d.ts +0 -3
- package/dist/views/Verify/meta.d.ts.map +0 -1
- package/dist/views/Verify/meta.js +0 -10
- package/dist/views/Verify/meta.js.map +0 -1
- package/dist/views/Version/Default/SetStepNav.d.ts +0 -14
- package/dist/views/Version/Default/SetStepNav.d.ts.map +0 -1
- package/dist/views/Version/Default/SetStepNav.js +0 -97
- package/dist/views/Version/Default/SetStepNav.js.map +0 -1
- package/dist/views/Version/Default/index.d.ts +0 -5
- package/dist/views/Version/Default/index.d.ts.map +0 -1
- package/dist/views/Version/Default/index.js +0 -135
- package/dist/views/Version/Default/index.js.map +0 -1
- package/dist/views/Version/Default/types.d.ts +0 -17
- package/dist/views/Version/Default/types.d.ts.map +0 -1
- package/dist/views/Version/Default/types.js +0 -3
- package/dist/views/Version/Default/types.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/Label/index.d.ts +0 -7
- package/dist/views/Version/RenderFieldsToDiff/Label/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/Label/index.js +0 -10
- package/dist/views/Version/RenderFieldsToDiff/Label/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts +0 -6
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js +0 -79
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.d.ts +0 -6
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.js +0 -40
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts +0 -6
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js +0 -85
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.d.ts +0 -9
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.js +0 -18
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts +0 -10
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js +0 -50
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts +0 -8
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js +0 -40
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.d.ts +0 -9
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.js +0 -18
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts +0 -6
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js +0 -41
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/diffMethods.d.ts +0 -7
- package/dist/views/Version/RenderFieldsToDiff/fields/diffMethods.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/diffMethods.js +0 -8
- package/dist/views/Version/RenderFieldsToDiff/fields/diffMethods.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts +0 -30
- package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/index.js +0 -29
- package/dist/views/Version/RenderFieldsToDiff/fields/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/styles.d.ts +0 -27
- package/dist/views/Version/RenderFieldsToDiff/fields/styles.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/styles.js +0 -28
- package/dist/views/Version/RenderFieldsToDiff/fields/styles.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/types.d.ts +0 -21
- package/dist/views/Version/RenderFieldsToDiff/fields/types.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/types.js +0 -3
- package/dist/views/Version/RenderFieldsToDiff/fields/types.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/index.d.ts +0 -6
- package/dist/views/Version/RenderFieldsToDiff/index.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/index.js +0 -103
- package/dist/views/Version/RenderFieldsToDiff/index.js.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/types.d.ts +0 -20
- package/dist/views/Version/RenderFieldsToDiff/types.d.ts.map +0 -1
- package/dist/views/Version/RenderFieldsToDiff/types.js +0 -3
- package/dist/views/Version/RenderFieldsToDiff/types.js.map +0 -1
- package/dist/views/Version/Restore/index.d.ts +0 -6
- package/dist/views/Version/Restore/index.d.ts.map +0 -1
- package/dist/views/Version/Restore/index.js +0 -93
- package/dist/views/Version/Restore/index.js.map +0 -1
- package/dist/views/Version/Restore/types.d.ts +0 -11
- package/dist/views/Version/Restore/types.d.ts.map +0 -1
- package/dist/views/Version/Restore/types.js +0 -3
- package/dist/views/Version/Restore/types.js.map +0 -1
- package/dist/views/Version/SelectComparison/index.d.ts +0 -5
- package/dist/views/Version/SelectComparison/index.d.ts.map +0 -1
- package/dist/views/Version/SelectComparison/index.js +0 -134
- package/dist/views/Version/SelectComparison/index.js.map +0 -1
- package/dist/views/Version/SelectComparison/types.d.ts +0 -26
- package/dist/views/Version/SelectComparison/types.d.ts.map +0 -1
- package/dist/views/Version/SelectComparison/types.js +0 -3
- package/dist/views/Version/SelectComparison/types.js.map +0 -1
- package/dist/views/Version/SelectLocales/index.d.ts +0 -5
- package/dist/views/Version/SelectLocales/index.d.ts.map +0 -1
- package/dist/views/Version/SelectLocales/index.js +0 -38
- package/dist/views/Version/SelectLocales/index.js.map +0 -1
- package/dist/views/Version/SelectLocales/types.d.ts +0 -7
- package/dist/views/Version/SelectLocales/types.d.ts.map +0 -1
- package/dist/views/Version/SelectLocales/types.js +0 -3
- package/dist/views/Version/SelectLocales/types.js.map +0 -1
- package/dist/views/Version/index.d.ts +0 -3
- package/dist/views/Version/index.d.ts.map +0 -1
- package/dist/views/Version/index.js +0 -109
- package/dist/views/Version/index.js.map +0 -1
- package/dist/views/Version/meta.d.ts +0 -3
- package/dist/views/Version/meta.d.ts.map +0 -1
- package/dist/views/Version/meta.js +0 -44
- package/dist/views/Version/meta.js.map +0 -1
- package/dist/views/Version/shared.d.ts +0 -9
- package/dist/views/Version/shared.d.ts.map +0 -1
- package/dist/views/Version/shared.js +0 -10
- package/dist/views/Version/shared.js.map +0 -1
- package/dist/views/Versions/buildColumns.d.ts +0 -11
- package/dist/views/Versions/buildColumns.d.ts.map +0 -1
- package/dist/views/Versions/buildColumns.js +0 -64
- package/dist/views/Versions/buildColumns.js.map +0 -1
- package/dist/views/Versions/cells/AutosaveCell/index.d.ts +0 -3
- package/dist/views/Versions/cells/AutosaveCell/index.d.ts.map +0 -1
- package/dist/views/Versions/cells/AutosaveCell/index.js +0 -34
- package/dist/views/Versions/cells/AutosaveCell/index.js.map +0 -1
- package/dist/views/Versions/cells/CreatedAt/index.d.ts +0 -9
- package/dist/views/Versions/cells/CreatedAt/index.d.ts.map +0 -1
- package/dist/views/Versions/cells/CreatedAt/index.js +0 -26
- package/dist/views/Versions/cells/CreatedAt/index.js.map +0 -1
- package/dist/views/Versions/cells/ID/index.d.ts +0 -3
- package/dist/views/Versions/cells/ID/index.d.ts.map +0 -1
- package/dist/views/Versions/cells/ID/index.js +0 -12
- package/dist/views/Versions/cells/ID/index.js.map +0 -1
- package/dist/views/Versions/index.client.d.ts +0 -10
- package/dist/views/Versions/index.client.d.ts.map +0 -1
- package/dist/views/Versions/index.client.js +0 -81
- package/dist/views/Versions/index.client.js.map +0 -1
- package/dist/views/Versions/index.d.ts +0 -5
- package/dist/views/Versions/index.d.ts.map +0 -1
- package/dist/views/Versions/index.js +0 -103
- package/dist/views/Versions/index.js.map +0 -1
- package/dist/views/Versions/meta.d.ts +0 -3
- package/dist/views/Versions/meta.d.ts.map +0 -1
- package/dist/views/Versions/meta.js +0 -37
- package/dist/views/Versions/meta.js.map +0 -1
- package/dist/views/Versions/types.d.ts +0 -17
- package/dist/views/Versions/types.d.ts.map +0 -1
- package/dist/views/Versions/types.js +0 -3
- package/dist/views/Versions/types.js.map +0 -1
- package/dist/webpackEntry.d.ts +0 -5
- package/dist/webpackEntry.d.ts.map +0 -1
- package/dist/webpackEntry.js +0 -6
- package/dist/webpackEntry.js.map +0 -1
- package/dist/withPayload.d.ts +0 -3
- package/dist/withPayload.d.ts.map +0 -1
- package/dist/withPayload.js +0 -119
- package/dist/withPayload.js.map +0 -1
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Gutter, ListQueryProvider } from '@payloadcms/ui';
|
|
3
|
-
import { notFound } from 'next/navigation.js';
|
|
4
|
-
import { isNumber } from 'payload/shared';
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { SetDocumentStepNav } from '../Edit/Default/SetDocumentStepNav/index.js';
|
|
7
|
-
import { buildVersionColumns } from './buildColumns.js';
|
|
8
|
-
import { VersionsViewClient } from './index.client.js';
|
|
9
|
-
export const baseClass = 'versions';
|
|
10
|
-
export const VersionsView = async (props)=>{
|
|
11
|
-
const { initPageResult, searchParams } = props;
|
|
12
|
-
const { collectionConfig, docID: id, globalConfig, req, req: { i18n, payload, payload: { config }, user } } = initPageResult;
|
|
13
|
-
const collectionSlug = collectionConfig?.slug;
|
|
14
|
-
const globalSlug = globalConfig?.slug;
|
|
15
|
-
const { limit, page, sort } = searchParams;
|
|
16
|
-
const { routes: { api: apiRoute }, serverURL } = config;
|
|
17
|
-
let versionsData;
|
|
18
|
-
let limitToUse = isNumber(limit) ? Number(limit) : undefined;
|
|
19
|
-
if (collectionSlug) {
|
|
20
|
-
limitToUse = limitToUse || collectionConfig.admin.pagination.defaultLimit;
|
|
21
|
-
try {
|
|
22
|
-
versionsData = await payload.findVersions({
|
|
23
|
-
collection: collectionSlug,
|
|
24
|
-
depth: 0,
|
|
25
|
-
limit: limitToUse,
|
|
26
|
-
overrideAccess: false,
|
|
27
|
-
page: page ? parseInt(page.toString(), 10) : undefined,
|
|
28
|
-
req,
|
|
29
|
-
sort: sort,
|
|
30
|
-
user,
|
|
31
|
-
where: {
|
|
32
|
-
parent: {
|
|
33
|
-
equals: id
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
} catch (error) {
|
|
38
|
-
console.error(error) // eslint-disable-line no-console
|
|
39
|
-
;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
if (globalSlug) {
|
|
43
|
-
limitToUse = limitToUse || 10;
|
|
44
|
-
try {
|
|
45
|
-
versionsData = await payload.findGlobalVersions({
|
|
46
|
-
slug: globalSlug,
|
|
47
|
-
depth: 0,
|
|
48
|
-
limit: limitToUse,
|
|
49
|
-
overrideAccess: false,
|
|
50
|
-
page: page ? parseInt(page, 10) : undefined,
|
|
51
|
-
req,
|
|
52
|
-
sort: sort,
|
|
53
|
-
user
|
|
54
|
-
});
|
|
55
|
-
} catch (error) {
|
|
56
|
-
console.error(error) // eslint-disable-line no-console
|
|
57
|
-
;
|
|
58
|
-
}
|
|
59
|
-
if (!versionsData) {
|
|
60
|
-
return notFound();
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
const columns = buildVersionColumns({
|
|
64
|
-
collectionConfig,
|
|
65
|
-
config,
|
|
66
|
-
docID: id,
|
|
67
|
-
globalConfig,
|
|
68
|
-
i18n
|
|
69
|
-
});
|
|
70
|
-
const fetchURL = collectionSlug ? `${serverURL}${apiRoute}/${collectionSlug}/versions` : globalSlug ? `${serverURL}${apiRoute}/globals/${globalSlug}/versions` : '';
|
|
71
|
-
return /*#__PURE__*/ _jsxs(React.Fragment, {
|
|
72
|
-
children: [
|
|
73
|
-
/*#__PURE__*/ _jsx(SetDocumentStepNav, {
|
|
74
|
-
collectionSlug: collectionConfig?.slug,
|
|
75
|
-
globalSlug: globalConfig?.slug,
|
|
76
|
-
id: id,
|
|
77
|
-
pluralLabel: collectionConfig?.labels?.plural || globalConfig?.label,
|
|
78
|
-
useAsTitle: collectionConfig?.admin?.useAsTitle || globalConfig?.slug,
|
|
79
|
-
view: i18n.t('version:versions')
|
|
80
|
-
}),
|
|
81
|
-
/*#__PURE__*/ _jsx("main", {
|
|
82
|
-
className: baseClass,
|
|
83
|
-
children: /*#__PURE__*/ _jsx(Gutter, {
|
|
84
|
-
className: `${baseClass}__wrap`,
|
|
85
|
-
children: /*#__PURE__*/ _jsx(ListQueryProvider, {
|
|
86
|
-
data: versionsData,
|
|
87
|
-
defaultLimit: limitToUse,
|
|
88
|
-
defaultSort: sort,
|
|
89
|
-
modifySearchParams: true,
|
|
90
|
-
children: /*#__PURE__*/ _jsx(VersionsViewClient, {
|
|
91
|
-
baseClass: baseClass,
|
|
92
|
-
columns: columns,
|
|
93
|
-
fetchURL: fetchURL,
|
|
94
|
-
paginationLimits: collectionConfig?.admin?.pagination?.limits
|
|
95
|
-
})
|
|
96
|
-
})
|
|
97
|
-
})
|
|
98
|
-
})
|
|
99
|
-
]
|
|
100
|
-
});
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/views/Versions/index.tsx"],"sourcesContent":["import type { EditViewComponent, PaginatedDocs } from 'payload'\n\nimport { Gutter, ListQueryProvider } from '@payloadcms/ui'\nimport { notFound } from 'next/navigation.js'\nimport { isNumber } from 'payload/shared'\nimport React from 'react'\n\nimport { SetDocumentStepNav } from '../Edit/Default/SetDocumentStepNav/index.js'\nimport { buildVersionColumns } from './buildColumns.js'\nimport { VersionsViewClient } from './index.client.js'\nimport './index.scss'\n\nexport const baseClass = 'versions'\n\nexport const VersionsView: EditViewComponent = async (props) => {\n const { initPageResult, searchParams } = props\n\n const {\n collectionConfig,\n docID: id,\n globalConfig,\n req,\n req: {\n i18n,\n payload,\n payload: { config },\n user,\n },\n } = initPageResult\n\n const collectionSlug = collectionConfig?.slug\n const globalSlug = globalConfig?.slug\n const { limit, page, sort } = searchParams\n\n const {\n routes: { api: apiRoute },\n serverURL,\n } = config\n\n let versionsData: PaginatedDocs\n let limitToUse = isNumber(limit) ? Number(limit) : undefined\n\n if (collectionSlug) {\n limitToUse = limitToUse || collectionConfig.admin.pagination.defaultLimit\n try {\n versionsData = await payload.findVersions({\n collection: collectionSlug,\n depth: 0,\n limit: limitToUse,\n overrideAccess: false,\n page: page ? parseInt(page.toString(), 10) : undefined,\n req,\n sort: sort as string,\n user,\n where: {\n parent: {\n equals: id,\n },\n },\n })\n } catch (error) {\n console.error(error) // eslint-disable-line no-console\n }\n }\n\n if (globalSlug) {\n limitToUse = limitToUse || 10\n try {\n versionsData = await payload.findGlobalVersions({\n slug: globalSlug,\n depth: 0,\n limit: limitToUse,\n overrideAccess: false,\n page: page ? parseInt(page as string, 10) : undefined,\n req,\n sort: sort as string,\n user,\n })\n } catch (error) {\n console.error(error) // eslint-disable-line no-console\n }\n\n if (!versionsData) {\n return notFound()\n }\n }\n\n const columns = buildVersionColumns({\n collectionConfig,\n config,\n docID: id,\n globalConfig,\n i18n,\n })\n\n const fetchURL = collectionSlug\n ? `${serverURL}${apiRoute}/${collectionSlug}/versions`\n : globalSlug\n ? `${serverURL}${apiRoute}/globals/${globalSlug}/versions`\n : ''\n\n return (\n <React.Fragment>\n <SetDocumentStepNav\n collectionSlug={collectionConfig?.slug}\n globalSlug={globalConfig?.slug}\n id={id}\n pluralLabel={collectionConfig?.labels?.plural || globalConfig?.label}\n useAsTitle={collectionConfig?.admin?.useAsTitle || globalConfig?.slug}\n view={i18n.t('version:versions')}\n />\n <main className={baseClass}>\n <Gutter className={`${baseClass}__wrap`}>\n <ListQueryProvider\n data={versionsData}\n defaultLimit={limitToUse}\n defaultSort={sort as string}\n modifySearchParams\n >\n <VersionsViewClient\n baseClass={baseClass}\n columns={columns}\n fetchURL={fetchURL}\n paginationLimits={collectionConfig?.admin?.pagination?.limits}\n />\n </ListQueryProvider>\n </Gutter>\n </main>\n </React.Fragment>\n )\n}\n"],"names":["Gutter","ListQueryProvider","notFound","isNumber","React","SetDocumentStepNav","buildVersionColumns","VersionsViewClient","baseClass","VersionsView","props","initPageResult","searchParams","collectionConfig","docID","id","globalConfig","req","i18n","payload","config","user","collectionSlug","slug","globalSlug","limit","page","sort","routes","api","apiRoute","serverURL","versionsData","limitToUse","Number","undefined","admin","pagination","defaultLimit","findVersions","collection","depth","overrideAccess","parseInt","toString","where","parent","equals","error","console","findGlobalVersions","columns","fetchURL","Fragment","pluralLabel","labels","plural","label","useAsTitle","view","t","main","className","data","defaultSort","modifySearchParams","paginationLimits","limits"],"mappings":";AAEA,SAASA,MAAM,EAAEC,iBAAiB,QAAQ,iBAAgB;AAC1D,SAASC,QAAQ,QAAQ,qBAAoB;AAC7C,SAASC,QAAQ,QAAQ,iBAAgB;AACzC,OAAOC,WAAW,QAAO;AAEzB,SAASC,kBAAkB,QAAQ,8CAA6C;AAChF,SAASC,mBAAmB,QAAQ,oBAAmB;AACvD,SAASC,kBAAkB,QAAQ,oBAAmB;AAGtD,OAAO,MAAMC,YAAY,WAAU;AAEnC,OAAO,MAAMC,eAAkC,OAAOC;IACpD,MAAM,EAAEC,cAAc,EAAEC,YAAY,EAAE,GAAGF;IAEzC,MAAM,EACJG,gBAAgB,EAChBC,OAAOC,EAAE,EACTC,YAAY,EACZC,GAAG,EACHA,KAAK,EACHC,IAAI,EACJC,OAAO,EACPA,SAAS,EAAEC,MAAM,EAAE,EACnBC,IAAI,EACL,EACF,GAAGV;IAEJ,MAAMW,iBAAiBT,kBAAkBU;IACzC,MAAMC,aAAaR,cAAcO;IACjC,MAAM,EAAEE,KAAK,EAAEC,IAAI,EAAEC,IAAI,EAAE,GAAGf;IAE9B,MAAM,EACJgB,QAAQ,EAAEC,KAAKC,QAAQ,EAAE,EACzBC,SAAS,EACV,GAAGX;IAEJ,IAAIY;IACJ,IAAIC,aAAa9B,SAASsB,SAASS,OAAOT,SAASU;IAEnD,IAAIb,gBAAgB;QAClBW,aAAaA,cAAcpB,iBAAiBuB,KAAK,CAACC,UAAU,CAACC,YAAY;QACzE,IAAI;YACFN,eAAe,MAAMb,QAAQoB,YAAY,CAAC;gBACxCC,YAAYlB;gBACZmB,OAAO;gBACPhB,OAAOQ;gBACPS,gBAAgB;gBAChBhB,MAAMA,OAAOiB,SAASjB,KAAKkB,QAAQ,IAAI,MAAMT;gBAC7ClB;gBACAU,MAAMA;gBACNN;gBACAwB,OAAO;oBACLC,QAAQ;wBACNC,QAAQhC;oBACV;gBACF;YACF;QACF,EAAE,OAAOiC,OAAO;YACdC,QAAQD,KAAK,CAACA,OAAO,iCAAiC;;QACxD;IACF;IAEA,IAAIxB,YAAY;QACdS,aAAaA,cAAc;QAC3B,IAAI;YACFD,eAAe,MAAMb,QAAQ+B,kBAAkB,CAAC;gBAC9C3B,MAAMC;gBACNiB,OAAO;gBACPhB,OAAOQ;gBACPS,gBAAgB;gBAChBhB,MAAMA,OAAOiB,SAASjB,MAAgB,MAAMS;gBAC5ClB;gBACAU,MAAMA;gBACNN;YACF;QACF,EAAE,OAAO2B,OAAO;YACdC,QAAQD,KAAK,CAACA,OAAO,iCAAiC;;QACxD;QAEA,IAAI,CAAChB,cAAc;YACjB,OAAO9B;QACT;IACF;IAEA,MAAMiD,UAAU7C,oBAAoB;QAClCO;QACAO;QACAN,OAAOC;QACPC;QACAE;IACF;IAEA,MAAMkC,WAAW9B,iBACb,CAAC,EAAES,UAAU,EAAED,SAAS,CAAC,EAAER,eAAe,SAAS,CAAC,GACpDE,aACE,CAAC,EAAEO,UAAU,EAAED,SAAS,SAAS,EAAEN,WAAW,SAAS,CAAC,GACxD;IAEN,qBACE,MAACpB,MAAMiD,QAAQ;;0BACb,KAAChD;gBACCiB,gBAAgBT,kBAAkBU;gBAClCC,YAAYR,cAAcO;gBAC1BR,IAAIA;gBACJuC,aAAazC,kBAAkB0C,QAAQC,UAAUxC,cAAcyC;gBAC/DC,YAAY7C,kBAAkBuB,OAAOsB,cAAc1C,cAAcO;gBACjEoC,MAAMzC,KAAK0C,CAAC,CAAC;;0BAEf,KAACC;gBAAKC,WAAWtD;0BACf,cAAA,KAACR;oBAAO8D,WAAW,CAAC,EAAEtD,UAAU,MAAM,CAAC;8BACrC,cAAA,KAACP;wBACC8D,MAAM/B;wBACNM,cAAcL;wBACd+B,aAAarC;wBACbsC,kBAAkB;kCAElB,cAAA,KAAC1D;4BACCC,WAAWA;4BACX2C,SAASA;4BACTC,UAAUA;4BACVc,kBAAkBrD,kBAAkBuB,OAAOC,YAAY8B;;;;;;;AAOrE,EAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/views/Versions/meta.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAI/E,eAAO,MAAM,gBAAgB,EAAE,wBA4C9B,CAAA"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { getTranslation } from '@payloadcms/translations';
|
|
2
|
-
import { meta } from '../../utilities/meta.js';
|
|
3
|
-
export const generateMetadata = async ({ collectionConfig, config, globalConfig, i18n })=>{
|
|
4
|
-
const { t } = i18n;
|
|
5
|
-
const entityLabel = collectionConfig ? getTranslation(collectionConfig.labels.singular, i18n) : globalConfig ? getTranslation(globalConfig.label, i18n) : '';
|
|
6
|
-
let title = '';
|
|
7
|
-
let description = '';
|
|
8
|
-
const keywords = '';
|
|
9
|
-
const data = {} // TODO: figure this out
|
|
10
|
-
;
|
|
11
|
-
if (collectionConfig) {
|
|
12
|
-
const useAsTitle = collectionConfig?.admin?.useAsTitle || 'id';
|
|
13
|
-
const titleFromData = data?.[useAsTitle];
|
|
14
|
-
title = `${t('version:versions')}${titleFromData ? ` - ${titleFromData}` : ''} - ${entityLabel}`;
|
|
15
|
-
description = t('version:viewingVersions', {
|
|
16
|
-
documentTitle: data?.[useAsTitle],
|
|
17
|
-
entitySlug: collectionConfig.slug
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
if (globalConfig) {
|
|
21
|
-
title = `${t('version:versions')} - ${entityLabel}`;
|
|
22
|
-
description = t('version:viewingVersionsGlobal', {
|
|
23
|
-
entitySlug: globalConfig.slug
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return meta({
|
|
27
|
-
...config.admin.meta || {},
|
|
28
|
-
description,
|
|
29
|
-
keywords,
|
|
30
|
-
serverURL: config.serverURL,
|
|
31
|
-
title,
|
|
32
|
-
...collectionConfig?.admin.meta || {},
|
|
33
|
-
...globalConfig?.admin.meta || {}
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
//# sourceMappingURL=meta.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/views/Versions/meta.ts"],"sourcesContent":["import type { Metadata } from 'next'\n\nimport { getTranslation } from '@payloadcms/translations'\n\nimport type { GenerateEditViewMetadata } from '../Document/getMetaBySegment.js'\n\nimport { meta } from '../../utilities/meta.js'\n\nexport const generateMetadata: GenerateEditViewMetadata = async ({\n collectionConfig,\n config,\n globalConfig,\n i18n,\n}): Promise<Metadata> => {\n const { t } = i18n\n\n const entityLabel = collectionConfig\n ? getTranslation(collectionConfig.labels.singular, i18n)\n : globalConfig\n ? getTranslation(globalConfig.label, i18n)\n : ''\n\n let title: string = ''\n let description: string = ''\n const keywords: string = ''\n\n const data: any = {} // TODO: figure this out\n\n if (collectionConfig) {\n const useAsTitle = collectionConfig?.admin?.useAsTitle || 'id'\n const titleFromData = data?.[useAsTitle]\n title = `${t('version:versions')}${titleFromData ? ` - ${titleFromData}` : ''} - ${entityLabel}`\n description = t('version:viewingVersions', {\n documentTitle: data?.[useAsTitle],\n entitySlug: collectionConfig.slug,\n })\n }\n\n if (globalConfig) {\n title = `${t('version:versions')} - ${entityLabel}`\n description = t('version:viewingVersionsGlobal', { entitySlug: globalConfig.slug })\n }\n\n return meta({\n ...(config.admin.meta || {}),\n description,\n keywords,\n serverURL: config.serverURL,\n title,\n ...(collectionConfig?.admin.meta || {}),\n ...(globalConfig?.admin.meta || {}),\n })\n}\n"],"names":["getTranslation","meta","generateMetadata","collectionConfig","config","globalConfig","i18n","t","entityLabel","labels","singular","label","title","description","keywords","data","useAsTitle","admin","titleFromData","documentTitle","entitySlug","slug","serverURL"],"mappings":"AAEA,SAASA,cAAc,QAAQ,2BAA0B;AAIzD,SAASC,IAAI,QAAQ,0BAAyB;AAE9C,OAAO,MAAMC,mBAA6C,OAAO,EAC/DC,gBAAgB,EAChBC,MAAM,EACNC,YAAY,EACZC,IAAI,EACL;IACC,MAAM,EAAEC,CAAC,EAAE,GAAGD;IAEd,MAAME,cAAcL,mBAChBH,eAAeG,iBAAiBM,MAAM,CAACC,QAAQ,EAAEJ,QACjDD,eACEL,eAAeK,aAAaM,KAAK,EAAEL,QACnC;IAEN,IAAIM,QAAgB;IACpB,IAAIC,cAAsB;IAC1B,MAAMC,WAAmB;IAEzB,MAAMC,OAAY,CAAC,EAAE,wBAAwB;;IAE7C,IAAIZ,kBAAkB;QACpB,MAAMa,aAAab,kBAAkBc,OAAOD,cAAc;QAC1D,MAAME,gBAAgBH,MAAM,CAACC,WAAW;QACxCJ,QAAQ,CAAC,EAAEL,EAAE,oBAAoB,EAAEW,gBAAgB,CAAC,GAAG,EAAEA,cAAc,CAAC,GAAG,GAAG,GAAG,EAAEV,YAAY,CAAC;QAChGK,cAAcN,EAAE,2BAA2B;YACzCY,eAAeJ,MAAM,CAACC,WAAW;YACjCI,YAAYjB,iBAAiBkB,IAAI;QACnC;IACF;IAEA,IAAIhB,cAAc;QAChBO,QAAQ,CAAC,EAAEL,EAAE,oBAAoB,GAAG,EAAEC,YAAY,CAAC;QACnDK,cAAcN,EAAE,iCAAiC;YAAEa,YAAYf,aAAagB,IAAI;QAAC;IACnF;IAEA,OAAOpB,KAAK;QACV,GAAIG,OAAOa,KAAK,CAAChB,IAAI,IAAI,CAAC,CAAC;QAC3BY;QACAC;QACAQ,WAAWlB,OAAOkB,SAAS;QAC3BV;QACA,GAAIT,kBAAkBc,MAAMhB,QAAQ,CAAC,CAAC;QACtC,GAAII,cAAcY,MAAMhB,QAAQ,CAAC,CAAC;IACpC;AACF,EAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { I18n } from '@payloadcms/translations';
|
|
2
|
-
import type { PaginatedDocs, SanitizedCollectionConfig, SanitizedConfig, SanitizedGlobalConfig, User } from 'payload';
|
|
3
|
-
export type DefaultVersionsViewProps = {
|
|
4
|
-
canAccessAdmin: boolean;
|
|
5
|
-
collectionConfig?: SanitizedCollectionConfig;
|
|
6
|
-
config: SanitizedConfig;
|
|
7
|
-
data: Document;
|
|
8
|
-
editURL: string;
|
|
9
|
-
entityLabel: string;
|
|
10
|
-
globalConfig?: SanitizedGlobalConfig;
|
|
11
|
-
i18n: I18n;
|
|
12
|
-
id: number | string;
|
|
13
|
-
limit: number;
|
|
14
|
-
user: User;
|
|
15
|
-
versionsData: PaginatedDocs<Document>;
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/views/Versions/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,KAAK,EACV,aAAa,EACb,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACrB,IAAI,EACL,MAAM,SAAS,CAAA;AAEhB,MAAM,MAAM,wBAAwB,GAAG;IACrC,cAAc,EAAE,OAAO,CAAA;IACvB,gBAAgB,CAAC,EAAE,yBAAyB,CAAA;IAC5C,MAAM,EAAE,eAAe,CAAA;IACvB,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,qBAAqB,CAAA;IACpC,IAAI,EAAE,IAAI,CAAA;IACV,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,IAAI,CAAA;IACV,YAAY,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAA;CACtC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/views/Versions/types.ts"],"sourcesContent":["import type { I18n } from '@payloadcms/translations'\nimport type {\n PaginatedDocs,\n SanitizedCollectionConfig,\n SanitizedConfig,\n SanitizedGlobalConfig,\n User,\n} from 'payload'\n\nexport type DefaultVersionsViewProps = {\n canAccessAdmin: boolean\n collectionConfig?: SanitizedCollectionConfig\n config: SanitizedConfig\n data: Document\n editURL: string\n entityLabel: string\n globalConfig?: SanitizedGlobalConfig\n i18n: I18n\n id: number | string\n limit: number\n user: User\n versionsData: PaginatedDocs<Document>\n}\n"],"names":[],"mappings":"AASA,WAaC"}
|
package/dist/webpackEntry.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { RootLayout } from './layouts/Root/index.js';
|
|
2
|
-
export { Dashboard as DashboardPage } from './views/Dashboard/index.js';
|
|
3
|
-
export { LoginView } from './views/Login/index.js';
|
|
4
|
-
export { RootPage } from './views/Root/index.js';
|
|
5
|
-
//# sourceMappingURL=webpackEntry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webpackEntry.d.ts","sourceRoot":"","sources":["../src/webpackEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAA;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA"}
|
package/dist/webpackEntry.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { RootLayout } from './layouts/Root/index.js';
|
|
2
|
-
export { Dashboard as DashboardPage } from './views/Dashboard/index.js';
|
|
3
|
-
export { LoginView } from './views/Login/index.js';
|
|
4
|
-
export { RootPage } from './views/Root/index.js';
|
|
5
|
-
|
|
6
|
-
//# sourceMappingURL=webpackEntry.js.map
|
package/dist/webpackEntry.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/webpackEntry.ts"],"sourcesContent":["export { RootLayout } from './layouts/Root/index.js'\nexport { Dashboard as DashboardPage } from './views/Dashboard/index.js'\nexport { LoginView } from './views/Login/index.js'\nexport { RootPage } from './views/Root/index.js'\n"],"names":["RootLayout","Dashboard","DashboardPage","LoginView","RootPage"],"mappings":"AAAA,SAASA,UAAU,QAAQ,0BAAyB;AACpD,SAASC,aAAaC,aAAa,QAAQ,6BAA4B;AACvE,SAASC,SAAS,QAAQ,yBAAwB;AAClD,SAASC,QAAQ,QAAQ,wBAAuB"}
|
package/dist/withPayload.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withPayload.d.ts","sourceRoot":"","sources":["../src/withPayload.js"],"names":[],"mappings":"AAKO,yCAJI,OAAO,MAAM,EAAE,UAAU,GAEvB,OAAO,MAAM,EAAE,UAAU,CAoHrC"}
|
package/dist/withPayload.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param {import('next').NextConfig} nextConfig
|
|
3
|
-
*
|
|
4
|
-
* @returns {import('next').NextConfig}
|
|
5
|
-
* */ export const withPayload = (nextConfig = {})=>{
|
|
6
|
-
if (nextConfig.experimental?.staleTimes?.dynamic) {
|
|
7
|
-
console.warn('Payload detected a non-zero value for the `staleTimes.dynamic` option in your Next.js config. This may cause stale data to load in the Admin Panel. To clear this warning, remove the `staleTimes.dynamic` option from your Next.js config or set it to 0. In the future, Next.js may support scoping this option to specific routes.');
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @type {import('next').NextConfig}
|
|
11
|
-
*/ const toReturn = {
|
|
12
|
-
...nextConfig,
|
|
13
|
-
env: {
|
|
14
|
-
...nextConfig?.env || {}
|
|
15
|
-
},
|
|
16
|
-
experimental: {
|
|
17
|
-
...nextConfig?.experimental || {},
|
|
18
|
-
outputFileTracingExcludes: {
|
|
19
|
-
'**/*': [
|
|
20
|
-
...nextConfig.experimental?.outputFileTracingExcludes?.['**/*'] || [],
|
|
21
|
-
'drizzle-kit',
|
|
22
|
-
'drizzle-kit/payload',
|
|
23
|
-
'libsql'
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
turbo: {
|
|
27
|
-
...nextConfig?.experimental?.turbo || {},
|
|
28
|
-
resolveAlias: {
|
|
29
|
-
...nextConfig?.experimental?.turbo?.resolveAlias || {},
|
|
30
|
-
'payload-mock-package': 'payload-mock-package'
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
headers: async ()=>{
|
|
35
|
-
const headersFromConfig = 'headers' in nextConfig ? await nextConfig.headers() : [];
|
|
36
|
-
return [
|
|
37
|
-
...headersFromConfig || [],
|
|
38
|
-
{
|
|
39
|
-
source: '/:path*',
|
|
40
|
-
headers: [
|
|
41
|
-
{
|
|
42
|
-
key: 'Accept-CH',
|
|
43
|
-
value: 'Sec-CH-Prefers-Color-Scheme'
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
key: 'Vary',
|
|
47
|
-
value: 'Sec-CH-Prefers-Color-Scheme'
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
key: 'Critical-CH',
|
|
51
|
-
value: 'Sec-CH-Prefers-Color-Scheme'
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
];
|
|
56
|
-
},
|
|
57
|
-
serverExternalPackages: [
|
|
58
|
-
...nextConfig?.serverExternalPackages || [],
|
|
59
|
-
'drizzle-kit',
|
|
60
|
-
'drizzle-kit/payload',
|
|
61
|
-
'libsql',
|
|
62
|
-
'pino',
|
|
63
|
-
'pino-pretty',
|
|
64
|
-
'graphql'
|
|
65
|
-
],
|
|
66
|
-
webpack: (webpackConfig, webpackOptions)=>{
|
|
67
|
-
const incomingWebpackConfig = typeof nextConfig.webpack === 'function' ? nextConfig.webpack(webpackConfig, webpackOptions) : webpackConfig;
|
|
68
|
-
return {
|
|
69
|
-
...incomingWebpackConfig,
|
|
70
|
-
externals: [
|
|
71
|
-
...incomingWebpackConfig?.externals || [],
|
|
72
|
-
'drizzle-kit',
|
|
73
|
-
'drizzle-kit/payload',
|
|
74
|
-
'sharp',
|
|
75
|
-
'libsql'
|
|
76
|
-
],
|
|
77
|
-
ignoreWarnings: [
|
|
78
|
-
...incomingWebpackConfig?.ignoreWarnings || [],
|
|
79
|
-
{
|
|
80
|
-
module: /node_modules\/mongodb\/lib\/utils\.js/
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
file: /node_modules\/mongodb\/lib\/utils\.js/
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
module: /node_modules\/mongodb\/lib\/bson\.js/
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
file: /node_modules\/mongodb\/lib\/bson\.js/
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
resolve: {
|
|
93
|
-
...incomingWebpackConfig?.resolve || {},
|
|
94
|
-
alias: {
|
|
95
|
-
...incomingWebpackConfig?.resolve?.alias || {}
|
|
96
|
-
},
|
|
97
|
-
fallback: {
|
|
98
|
-
...incomingWebpackConfig?.resolve?.fallback || {},
|
|
99
|
-
'@aws-sdk/credential-providers': false,
|
|
100
|
-
'@mongodb-js/zstd': false,
|
|
101
|
-
aws4: false,
|
|
102
|
-
kerberos: false,
|
|
103
|
-
'mongodb-client-encryption': false,
|
|
104
|
-
snappy: false,
|
|
105
|
-
'supports-color': false,
|
|
106
|
-
'yocto-queue': false
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
if (nextConfig.basePath) {
|
|
113
|
-
toReturn.env.NEXT_BASE_PATH = nextConfig.basePath;
|
|
114
|
-
}
|
|
115
|
-
return toReturn;
|
|
116
|
-
};
|
|
117
|
-
export default withPayload;
|
|
118
|
-
|
|
119
|
-
//# sourceMappingURL=withPayload.js.map
|
package/dist/withPayload.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/withPayload.js"],"sourcesContent":["/**\n * @param {import('next').NextConfig} nextConfig\n *\n * @returns {import('next').NextConfig}\n * */\nexport const withPayload = (nextConfig = {}) => {\n if (nextConfig.experimental?.staleTimes?.dynamic) {\n console.warn(\n 'Payload detected a non-zero value for the `staleTimes.dynamic` option in your Next.js config. This may cause stale data to load in the Admin Panel. To clear this warning, remove the `staleTimes.dynamic` option from your Next.js config or set it to 0. In the future, Next.js may support scoping this option to specific routes.',\n )\n }\n\n /**\n * @type {import('next').NextConfig}\n */\n const toReturn = {\n ...nextConfig,\n env: {\n ...(nextConfig?.env || {}),\n },\n experimental: {\n ...(nextConfig?.experimental || {}),\n outputFileTracingExcludes: {\n '**/*': [\n ...(nextConfig.experimental?.outputFileTracingExcludes?.['**/*'] || []),\n 'drizzle-kit',\n 'drizzle-kit/payload',\n 'libsql',\n ],\n },\n turbo: {\n ...(nextConfig?.experimental?.turbo || {}),\n resolveAlias: {\n ...(nextConfig?.experimental?.turbo?.resolveAlias || {}),\n 'payload-mock-package': 'payload-mock-package',\n },\n },\n },\n headers: async () => {\n const headersFromConfig = 'headers' in nextConfig ? await nextConfig.headers() : []\n\n return [\n ...(headersFromConfig || []),\n {\n source: '/:path*',\n headers: [\n {\n key: 'Accept-CH',\n value: 'Sec-CH-Prefers-Color-Scheme',\n },\n {\n key: 'Vary',\n value: 'Sec-CH-Prefers-Color-Scheme',\n },\n {\n key: 'Critical-CH',\n value: 'Sec-CH-Prefers-Color-Scheme',\n },\n ],\n },\n ]\n },\n serverExternalPackages: [\n ...(nextConfig?.serverExternalPackages || []),\n 'drizzle-kit',\n 'drizzle-kit/payload',\n 'libsql',\n 'pino',\n 'pino-pretty',\n 'graphql',\n ],\n webpack: (webpackConfig, webpackOptions) => {\n const incomingWebpackConfig =\n typeof nextConfig.webpack === 'function'\n ? nextConfig.webpack(webpackConfig, webpackOptions)\n : webpackConfig\n\n return {\n ...incomingWebpackConfig,\n externals: [\n ...(incomingWebpackConfig?.externals || []),\n 'drizzle-kit',\n 'drizzle-kit/payload',\n 'sharp',\n 'libsql',\n ],\n ignoreWarnings: [\n ...(incomingWebpackConfig?.ignoreWarnings || []),\n { module: /node_modules\\/mongodb\\/lib\\/utils\\.js/ },\n { file: /node_modules\\/mongodb\\/lib\\/utils\\.js/ },\n { module: /node_modules\\/mongodb\\/lib\\/bson\\.js/ },\n { file: /node_modules\\/mongodb\\/lib\\/bson\\.js/ },\n ],\n resolve: {\n ...(incomingWebpackConfig?.resolve || {}),\n alias: {\n ...(incomingWebpackConfig?.resolve?.alias || {}),\n },\n fallback: {\n ...(incomingWebpackConfig?.resolve?.fallback || {}),\n '@aws-sdk/credential-providers': false,\n '@mongodb-js/zstd': false,\n aws4: false,\n kerberos: false,\n 'mongodb-client-encryption': false,\n snappy: false,\n 'supports-color': false,\n 'yocto-queue': false,\n },\n },\n }\n },\n }\n\n if (nextConfig.basePath) {\n toReturn.env.NEXT_BASE_PATH = nextConfig.basePath\n }\n\n return toReturn\n}\n\nexport default withPayload\n"],"names":["withPayload","nextConfig","experimental","staleTimes","dynamic","console","warn","toReturn","env","outputFileTracingExcludes","turbo","resolveAlias","headers","headersFromConfig","source","key","value","serverExternalPackages","webpack","webpackConfig","webpackOptions","incomingWebpackConfig","externals","ignoreWarnings","module","file","resolve","alias","fallback","aws4","kerberos","snappy","basePath","NEXT_BASE_PATH"],"mappings":"AAAA;;;;GAIG,GACH,OAAO,MAAMA,cAAc,CAACC,aAAa,CAAC,CAAC;IACzC,IAAIA,WAAWC,YAAY,EAAEC,YAAYC,SAAS;QAChDC,QAAQC,IAAI,CACV;IAEJ;IAEA;;GAEC,GACD,MAAMC,WAAW;QACf,GAAGN,UAAU;QACbO,KAAK;YACH,GAAIP,YAAYO,OAAO,CAAC,CAAC;QAC3B;QACAN,cAAc;YACZ,GAAID,YAAYC,gBAAgB,CAAC,CAAC;YAClCO,2BAA2B;gBACzB,QAAQ;uBACFR,WAAWC,YAAY,EAAEO,2BAA2B,CAAC,OAAO,IAAI,EAAE;oBACtE;oBACA;oBACA;iBACD;YACH;YACAC,OAAO;gBACL,GAAIT,YAAYC,cAAcQ,SAAS,CAAC,CAAC;gBACzCC,cAAc;oBACZ,GAAIV,YAAYC,cAAcQ,OAAOC,gBAAgB,CAAC,CAAC;oBACvD,wBAAwB;gBAC1B;YACF;QACF;QACAC,SAAS;YACP,MAAMC,oBAAoB,aAAaZ,aAAa,MAAMA,WAAWW,OAAO,KAAK,EAAE;YAEnF,OAAO;mBACDC,qBAAqB,EAAE;gBAC3B;oBACEC,QAAQ;oBACRF,SAAS;wBACP;4BACEG,KAAK;4BACLC,OAAO;wBACT;wBACA;4BACED,KAAK;4BACLC,OAAO;wBACT;wBACA;4BACED,KAAK;4BACLC,OAAO;wBACT;qBACD;gBACH;aACD;QACH;QACAC,wBAAwB;eAClBhB,YAAYgB,0BAA0B,EAAE;YAC5C;YACA;YACA;YACA;YACA;YACA;SACD;QACDC,SAAS,CAACC,eAAeC;YACvB,MAAMC,wBACJ,OAAOpB,WAAWiB,OAAO,KAAK,aAC1BjB,WAAWiB,OAAO,CAACC,eAAeC,kBAClCD;YAEN,OAAO;gBACL,GAAGE,qBAAqB;gBACxBC,WAAW;uBACLD,uBAAuBC,aAAa,EAAE;oBAC1C;oBACA;oBACA;oBACA;iBACD;gBACDC,gBAAgB;uBACVF,uBAAuBE,kBAAkB,EAAE;oBAC/C;wBAAEC,QAAQ;oBAAwC;oBAClD;wBAAEC,MAAM;oBAAwC;oBAChD;wBAAED,QAAQ;oBAAuC;oBACjD;wBAAEC,MAAM;oBAAuC;iBAChD;gBACDC,SAAS;oBACP,GAAIL,uBAAuBK,WAAW,CAAC,CAAC;oBACxCC,OAAO;wBACL,GAAIN,uBAAuBK,SAASC,SAAS,CAAC,CAAC;oBACjD;oBACAC,UAAU;wBACR,GAAIP,uBAAuBK,SAASE,YAAY,CAAC,CAAC;wBAClD,iCAAiC;wBACjC,oBAAoB;wBACpBC,MAAM;wBACNC,UAAU;wBACV,6BAA6B;wBAC7BC,QAAQ;wBACR,kBAAkB;wBAClB,eAAe;oBACjB;gBACF;YACF;QACF;IACF;IAEA,IAAI9B,WAAW+B,QAAQ,EAAE;QACvBzB,SAASC,GAAG,CAACyB,cAAc,GAAGhC,WAAW+B,QAAQ;IACnD;IAEA,OAAOzB;AACT,EAAC;AAED,eAAeP,YAAW"}
|