@payloadcms/next 3.0.0-alpha.7 → 3.0.0-alpha.70
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/cjs/withPayload.cjs +96 -0
- package/dist/cjs/withPayload.cjs.map +1 -0
- package/dist/config.js +2 -12
- package/dist/config.js.map +1 -0
- package/dist/elements/LeaveWithoutSaving/index.js +25 -76
- package/dist/elements/LeaveWithoutSaving/index.js.map +1 -0
- package/dist/elements/LeaveWithoutSaving/usePreventLeave.d.ts.map +1 -1
- package/dist/elements/LeaveWithoutSaving/usePreventLeave.js +11 -29
- package/dist/elements/LeaveWithoutSaving/usePreventLeave.js.map +1 -0
- package/dist/exports/layouts.d.ts +2 -0
- package/dist/exports/layouts.d.ts.map +1 -0
- package/dist/exports/layouts.js +3 -0
- package/dist/exports/layouts.js.map +1 -0
- package/dist/exports/routes.d.ts +3 -0
- package/dist/exports/routes.d.ts.map +1 -0
- package/dist/exports/routes.js +4 -0
- package/dist/exports/routes.js.map +1 -0
- package/dist/exports/utilities.d.ts +9 -0
- package/dist/exports/utilities.d.ts.map +1 -0
- package/dist/exports/utilities.js +10 -0
- package/dist/exports/utilities.js.map +1 -0
- package/dist/exports/views.d.ts +4 -0
- package/dist/exports/views.d.ts.map +1 -0
- package/dist/exports/views.js +5 -0
- package/dist/exports/views.js.map +1 -0
- package/dist/fetchAPI-multipart/fileFactory.d.ts +16 -0
- package/dist/fetchAPI-multipart/fileFactory.d.ts.map +1 -0
- package/dist/fetchAPI-multipart/fileFactory.js +43 -0
- package/dist/fetchAPI-multipart/fileFactory.js.map +1 -0
- package/dist/fetchAPI-multipart/handlers.d.ts +15 -0
- package/dist/fetchAPI-multipart/handlers.d.ts.map +1 -0
- package/dist/fetchAPI-multipart/handlers.js +86 -0
- package/dist/fetchAPI-multipart/handlers.js.map +1 -0
- package/dist/fetchAPI-multipart/index.d.ts +135 -0
- package/dist/fetchAPI-multipart/index.d.ts.map +1 -0
- package/dist/fetchAPI-multipart/index.js +43 -0
- package/dist/fetchAPI-multipart/index.js.map +1 -0
- package/dist/fetchAPI-multipart/isEligibleRequest.d.ts.map +1 -0
- package/dist/fetchAPI-multipart/isEligibleRequest.js +26 -0
- package/dist/fetchAPI-multipart/isEligibleRequest.js.map +1 -0
- package/dist/fetchAPI-multipart/processMultipart.d.ts +8 -0
- package/dist/fetchAPI-multipart/processMultipart.d.ts.map +1 -0
- package/dist/fetchAPI-multipart/processMultipart.js +156 -0
- package/dist/fetchAPI-multipart/processMultipart.js.map +1 -0
- package/dist/fetchAPI-multipart/processNested.d.ts.map +1 -0
- package/dist/fetchAPI-multipart/processNested.js +25 -0
- package/dist/fetchAPI-multipart/processNested.js.map +1 -0
- package/dist/fetchAPI-multipart/uploadTimer.d.ts.map +1 -0
- package/dist/fetchAPI-multipart/uploadTimer.js +19 -0
- package/dist/fetchAPI-multipart/uploadTimer.js.map +1 -0
- package/dist/fetchAPI-multipart/utilities.d.ts +65 -0
- package/dist/fetchAPI-multipart/utilities.d.ts.map +1 -0
- package/dist/fetchAPI-multipart/utilities.js +207 -0
- package/dist/fetchAPI-multipart/utilities.js.map +1 -0
- package/dist/fetchAPI-stream-file/index.d.ts +6 -0
- package/dist/fetchAPI-stream-file/index.d.ts.map +1 -0
- package/dist/fetchAPI-stream-file/index.js +25 -0
- package/dist/fetchAPI-stream-file/index.js.map +1 -0
- package/dist/index.js +3 -35
- package/dist/index.js.map +1 -0
- package/dist/layouts/Root/index.d.ts.map +1 -1
- package/dist/layouts/Root/index.js +83 -76
- package/dist/layouts/Root/index.js.map +1 -0
- package/dist/prod/payload/favicon.svg +15 -0
- package/dist/prod/payload/og-image.png +0 -0
- package/dist/prod/styles.css +1 -0
- package/dist/routes/graphql/handler.d.ts.map +1 -1
- package/dist/routes/graphql/handler.js +37 -41
- package/dist/routes/graphql/handler.js.map +1 -0
- package/dist/routes/graphql/index.d.ts +2 -2
- package/dist/routes/graphql/index.d.ts.map +1 -1
- package/dist/routes/graphql/index.js +3 -21
- package/dist/routes/graphql/index.js.map +1 -0
- package/dist/routes/graphql/playground.js +6 -16
- package/dist/routes/graphql/playground.js.map +1 -0
- package/dist/routes/index.d.ts +2 -3
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +3 -37
- package/dist/routes/index.js.map +1 -0
- package/dist/routes/rest/auth/access.d.ts +1 -1
- package/dist/routes/rest/auth/access.d.ts.map +1 -1
- package/dist/routes/rest/auth/access.js +11 -21
- package/dist/routes/rest/auth/access.js.map +1 -0
- package/dist/routes/rest/auth/forgotPassword.d.ts +1 -1
- package/dist/routes/rest/auth/forgotPassword.d.ts.map +1 -1
- package/dist/routes/rest/auth/forgotPassword.js +13 -23
- package/dist/routes/rest/auth/forgotPassword.js.map +1 -0
- package/dist/routes/rest/auth/init.d.ts +1 -1
- package/dist/routes/rest/auth/init.d.ts.map +1 -1
- package/dist/routes/rest/auth/init.js +10 -14
- package/dist/routes/rest/auth/init.js.map +1 -0
- package/dist/routes/rest/auth/login.d.ts +1 -1
- package/dist/routes/rest/auth/login.d.ts.map +1 -1
- package/dist/routes/rest/auth/login.js +18 -30
- package/dist/routes/rest/auth/login.js.map +1 -0
- package/dist/routes/rest/auth/logout.d.ts +1 -1
- package/dist/routes/rest/auth/logout.d.ts.map +1 -1
- package/dist/routes/rest/auth/logout.js +20 -30
- package/dist/routes/rest/auth/logout.js.map +1 -0
- package/dist/routes/rest/auth/me.d.ts +1 -1
- package/dist/routes/rest/auth/me.d.ts.map +1 -1
- package/dist/routes/rest/auth/me.js +13 -23
- package/dist/routes/rest/auth/me.js.map +1 -0
- package/dist/routes/rest/auth/refresh.d.ts +1 -1
- package/dist/routes/rest/auth/refresh.d.ts.map +1 -1
- package/dist/routes/rest/auth/refresh.js +22 -32
- package/dist/routes/rest/auth/refresh.js.map +1 -0
- package/dist/routes/rest/auth/registerFirstUser.d.ts +1 -1
- package/dist/routes/rest/auth/registerFirstUser.d.ts.map +1 -1
- package/dist/routes/rest/auth/registerFirstUser.js +19 -29
- package/dist/routes/rest/auth/registerFirstUser.js.map +1 -0
- package/dist/routes/rest/auth/resetPassword.d.ts +1 -1
- package/dist/routes/rest/auth/resetPassword.d.ts.map +1 -1
- package/dist/routes/rest/auth/resetPassword.js +16 -28
- package/dist/routes/rest/auth/resetPassword.js.map +1 -0
- package/dist/routes/rest/auth/unlock.d.ts +1 -1
- package/dist/routes/rest/auth/unlock.d.ts.map +1 -1
- package/dist/routes/rest/auth/unlock.js +13 -23
- package/dist/routes/rest/auth/unlock.js.map +1 -0
- package/dist/routes/rest/auth/verifyEmail.d.ts +1 -1
- package/dist/routes/rest/auth/verifyEmail.d.ts.map +1 -1
- package/dist/routes/rest/auth/verifyEmail.js +13 -23
- package/dist/routes/rest/auth/verifyEmail.js.map +1 -0
- package/dist/routes/rest/buildFormState.d.ts +4 -4
- package/dist/routes/rest/buildFormState.d.ts.map +1 -1
- package/dist/routes/rest/buildFormState.js +179 -80
- package/dist/routes/rest/buildFormState.js.map +1 -0
- package/dist/routes/rest/checkEndpoints.d.ts.map +1 -1
- package/dist/routes/rest/checkEndpoints.js +4 -19
- package/dist/routes/rest/checkEndpoints.js.map +1 -0
- package/dist/routes/rest/collections/count.d.ts +3 -0
- package/dist/routes/rest/collections/count.d.ts.map +1 -0
- package/dist/routes/rest/collections/count.js +15 -0
- package/dist/routes/rest/collections/count.js.map +1 -0
- package/dist/routes/rest/collections/create.d.ts +1 -1
- package/dist/routes/rest/collections/create.d.ts.map +1 -1
- package/dist/routes/rest/collections/create.js +15 -24
- package/dist/routes/rest/collections/create.js.map +1 -0
- package/dist/routes/rest/collections/delete.d.ts +1 -1
- package/dist/routes/rest/collections/delete.d.ts.map +1 -1
- package/dist/routes/rest/collections/delete.js +20 -31
- package/dist/routes/rest/collections/delete.js.map +1 -0
- package/dist/routes/rest/collections/deleteByID.d.ts +1 -1
- package/dist/routes/rest/collections/deleteByID.d.ts.map +1 -1
- package/dist/routes/rest/collections/deleteByID.js +22 -24
- package/dist/routes/rest/collections/deleteByID.js.map +1 -0
- package/dist/routes/rest/collections/docAccess.d.ts +1 -1
- package/dist/routes/rest/collections/docAccess.d.ts.map +1 -1
- package/dist/routes/rest/collections/docAccess.js +11 -21
- package/dist/routes/rest/collections/docAccess.js.map +1 -0
- package/dist/routes/rest/collections/duplicate.d.ts +3 -0
- package/dist/routes/rest/collections/duplicate.d.ts.map +1 -0
- package/dist/routes/rest/collections/duplicate.js +39 -0
- package/dist/routes/rest/collections/duplicate.js.map +1 -0
- package/dist/routes/rest/collections/find.d.ts +1 -1
- package/dist/routes/rest/collections/find.d.ts.map +1 -1
- package/dist/routes/rest/collections/find.js +16 -29
- package/dist/routes/rest/collections/find.js.map +1 -0
- package/dist/routes/rest/collections/findByID.d.ts +1 -1
- package/dist/routes/rest/collections/findByID.d.ts.map +1 -1
- package/dist/routes/rest/collections/findByID.js +19 -23
- package/dist/routes/rest/collections/findByID.js.map +1 -0
- package/dist/routes/rest/collections/findVersionByID.d.ts +1 -1
- package/dist/routes/rest/collections/findVersionByID.d.ts.map +1 -1
- package/dist/routes/rest/collections/findVersionByID.js +19 -23
- package/dist/routes/rest/collections/findVersionByID.js.map +1 -0
- package/dist/routes/rest/collections/findVersions.d.ts +1 -1
- package/dist/routes/rest/collections/findVersions.d.ts.map +1 -1
- package/dist/routes/rest/collections/findVersions.js +16 -29
- package/dist/routes/rest/collections/findVersions.js.map +1 -0
- package/dist/routes/rest/collections/preview.d.ts +3 -0
- package/dist/routes/rest/collections/preview.d.ts.map +1 -0
- package/dist/routes/rest/collections/preview.js +45 -0
- package/dist/routes/rest/collections/preview.js.map +1 -0
- package/dist/routes/rest/collections/restoreVersion.d.ts +1 -1
- package/dist/routes/rest/collections/restoreVersion.d.ts.map +1 -1
- package/dist/routes/rest/collections/restoreVersion.js +19 -23
- package/dist/routes/rest/collections/restoreVersion.js.map +1 -0
- package/dist/routes/rest/collections/update.d.ts +1 -1
- package/dist/routes/rest/collections/update.d.ts.map +1 -1
- package/dist/routes/rest/collections/update.js +20 -31
- package/dist/routes/rest/collections/update.js.map +1 -0
- package/dist/routes/rest/collections/updateByID.d.ts +1 -1
- package/dist/routes/rest/collections/updateByID.d.ts.map +1 -1
- package/dist/routes/rest/collections/updateByID.js +19 -23
- package/dist/routes/rest/collections/updateByID.js.map +1 -0
- package/dist/routes/rest/files/checkFileAccess.d.ts +7 -0
- package/dist/routes/rest/files/checkFileAccess.d.ts.map +1 -0
- package/dist/routes/rest/files/checkFileAccess.js +50 -0
- package/dist/routes/rest/files/checkFileAccess.js.map +1 -0
- package/dist/routes/rest/files/getFile.d.ts +9 -0
- package/dist/routes/rest/files/getFile.d.ts.map +1 -0
- package/dist/routes/rest/files/getFile.js +59 -0
- package/dist/routes/rest/files/getFile.js.map +1 -0
- package/dist/routes/rest/files/getFileTypeFallback.d.ts +7 -0
- package/dist/routes/rest/files/getFileTypeFallback.d.ts.map +1 -0
- package/dist/routes/rest/files/getFileTypeFallback.js +21 -0
- package/dist/routes/rest/files/getFileTypeFallback.js.map +1 -0
- package/dist/routes/rest/globals/docAccess.d.ts +1 -1
- package/dist/routes/rest/globals/docAccess.d.ts.map +1 -1
- package/dist/routes/rest/globals/docAccess.js +11 -21
- package/dist/routes/rest/globals/docAccess.js.map +1 -0
- package/dist/routes/rest/globals/findOne.d.ts +1 -1
- package/dist/routes/rest/globals/findOne.d.ts.map +1 -1
- package/dist/routes/rest/globals/findOne.js +15 -25
- package/dist/routes/rest/globals/findOne.js.map +1 -0
- package/dist/routes/rest/globals/findVersionByID.d.ts +1 -1
- package/dist/routes/rest/globals/findVersionByID.d.ts.map +1 -1
- package/dist/routes/rest/globals/findVersionByID.js +13 -23
- package/dist/routes/rest/globals/findVersionByID.js.map +1 -0
- package/dist/routes/rest/globals/findVersions.d.ts +1 -1
- package/dist/routes/rest/globals/findVersions.d.ts.map +1 -1
- package/dist/routes/rest/globals/findVersions.js +16 -29
- package/dist/routes/rest/globals/findVersions.js.map +1 -0
- package/dist/routes/rest/globals/preview.d.ts +3 -0
- package/dist/routes/rest/globals/preview.d.ts.map +1 -0
- package/dist/routes/rest/globals/preview.js +44 -0
- package/dist/routes/rest/globals/preview.js.map +1 -0
- package/dist/routes/rest/globals/restoreVersion.d.ts +1 -1
- package/dist/routes/rest/globals/restoreVersion.d.ts.map +1 -1
- package/dist/routes/rest/globals/restoreVersion.js +13 -23
- package/dist/routes/rest/globals/restoreVersion.js.map +1 -0
- package/dist/routes/rest/globals/update.d.ts +1 -1
- package/dist/routes/rest/globals/update.d.ts.map +1 -1
- package/dist/routes/rest/globals/update.js +15 -25
- package/dist/routes/rest/globals/update.js.map +1 -0
- package/dist/routes/rest/index.d.ts +1 -0
- package/dist/routes/rest/index.d.ts.map +1 -1
- package/dist/routes/rest/index.js +423 -305
- package/dist/routes/rest/index.js.map +1 -0
- package/dist/routes/rest/routeError.d.ts +14 -0
- package/dist/routes/rest/routeError.d.ts.map +1 -0
- package/dist/routes/rest/routeError.js +107 -0
- package/dist/routes/rest/routeError.js.map +1 -0
- package/dist/routes/rest/types.d.ts +7 -7
- package/dist/routes/rest/types.d.ts.map +1 -1
- package/dist/routes/rest/types.js +2 -5
- package/dist/routes/rest/types.js.map +1 -0
- package/dist/routes/rest/utilities/sanitizeCollectionID.d.ts +9 -0
- package/dist/routes/rest/utilities/sanitizeCollectionID.d.ts.map +1 -0
- package/dist/routes/rest/utilities/sanitizeCollectionID.js +13 -0
- package/dist/routes/rest/utilities/sanitizeCollectionID.js.map +1 -0
- package/dist/scss/app.scss +3 -4
- package/dist/scss/vars.scss +0 -7
- package/dist/utilities/addDataAndFileToRequest.d.ts +11 -0
- package/dist/utilities/addDataAndFileToRequest.d.ts.map +1 -0
- package/dist/utilities/addDataAndFileToRequest.js +74 -0
- package/dist/utilities/addDataAndFileToRequest.js.map +1 -0
- package/dist/utilities/addLocalesToRequest.d.ts +20 -0
- package/dist/utilities/addLocalesToRequest.d.ts.map +1 -0
- package/dist/utilities/addLocalesToRequest.js +41 -0
- package/dist/utilities/addLocalesToRequest.js.map +1 -0
- package/dist/utilities/buildFieldSchemaMap/index.d.ts +4 -0
- package/dist/utilities/buildFieldSchemaMap/index.d.ts.map +1 -0
- package/dist/utilities/buildFieldSchemaMap/index.js +28 -0
- package/dist/utilities/buildFieldSchemaMap/index.js.map +1 -0
- package/dist/utilities/buildFieldSchemaMap/traverseFields.d.ts +14 -0
- package/dist/utilities/buildFieldSchemaMap/traverseFields.d.ts.map +1 -0
- package/dist/utilities/buildFieldSchemaMap/traverseFields.js +75 -0
- package/dist/utilities/buildFieldSchemaMap/traverseFields.js.map +1 -0
- package/dist/utilities/buildFieldSchemaMap/types.d.ts +3 -0
- package/dist/utilities/buildFieldSchemaMap/types.d.ts.map +1 -0
- package/dist/utilities/buildFieldSchemaMap/types.js +3 -0
- package/dist/utilities/buildFieldSchemaMap/types.js.map +1 -0
- package/dist/utilities/createPayloadRequest.d.ts.map +1 -1
- package/dist/utilities/createPayloadRequest.js +38 -54
- package/dist/utilities/createPayloadRequest.js.map +1 -0
- package/dist/utilities/getDataAndFile.d.ts +2 -2
- package/dist/utilities/getDataAndFile.d.ts.map +1 -1
- package/dist/utilities/getDataAndFile.js +29 -55
- package/dist/utilities/getDataAndFile.js.map +1 -0
- package/dist/utilities/getNextRequestI18n.d.ts +11 -0
- package/dist/utilities/getNextRequestI18n.d.ts.map +1 -0
- package/dist/utilities/getNextRequestI18n.js +18 -0
- package/dist/utilities/getNextRequestI18n.js.map +1 -0
- package/dist/utilities/getPayloadHMR.d.ts +5 -0
- package/dist/utilities/getPayloadHMR.d.ts.map +1 -0
- package/dist/utilities/getPayloadHMR.js +79 -0
- package/dist/utilities/getPayloadHMR.js.map +1 -0
- package/dist/utilities/getRequestLanguage.d.ts +6 -3
- package/dist/utilities/getRequestLanguage.d.ts.map +1 -1
- package/dist/utilities/getRequestLanguage.js +13 -16
- package/dist/utilities/getRequestLanguage.js.map +1 -0
- package/dist/utilities/getRequestLocales.js +2 -12
- package/dist/utilities/getRequestLocales.js.map +1 -0
- package/dist/utilities/headersWithCors.d.ts +8 -0
- package/dist/utilities/headersWithCors.d.ts.map +1 -0
- package/dist/utilities/headersWithCors.js +17 -0
- package/dist/utilities/headersWithCors.js.map +1 -0
- package/dist/utilities/initPage/handleAdminPage.d.ts +13 -0
- package/dist/utilities/initPage/handleAdminPage.d.ts.map +1 -0
- package/dist/utilities/initPage/handleAdminPage.js +35 -0
- package/dist/utilities/initPage/handleAdminPage.js.map +1 -0
- package/dist/utilities/initPage/handleAuthRedirect.d.ts +9 -0
- package/dist/utilities/initPage/handleAuthRedirect.d.ts.map +1 -0
- package/dist/utilities/initPage/handleAuthRedirect.js +26 -0
- package/dist/utilities/initPage/handleAuthRedirect.js.map +1 -0
- package/dist/utilities/initPage/index.d.ts +4 -0
- package/dist/utilities/initPage/index.d.ts.map +1 -0
- package/dist/utilities/initPage/index.js +89 -0
- package/dist/utilities/initPage/index.js.map +1 -0
- package/dist/utilities/initPage/shared.d.ts +4 -0
- package/dist/utilities/initPage/shared.d.ts.map +1 -0
- package/dist/utilities/initPage/shared.js +17 -0
- package/dist/utilities/initPage/shared.js.map +1 -0
- package/dist/utilities/initPage/types.d.ts +24 -0
- package/dist/utilities/initPage/types.d.ts.map +1 -0
- package/dist/utilities/initPage/types.js +3 -0
- package/dist/utilities/initPage/types.js.map +1 -0
- package/dist/utilities/meta.js +5 -15
- package/dist/utilities/meta.js.map +1 -0
- package/dist/utilities/timestamp.d.ts +2 -0
- package/dist/utilities/timestamp.d.ts.map +1 -0
- package/dist/utilities/timestamp.js +7 -0
- package/dist/utilities/timestamp.js.map +1 -0
- package/dist/views/API/RenderJSON/index.d.ts.map +1 -0
- package/dist/views/API/RenderJSON/index.js +90 -0
- package/dist/views/API/RenderJSON/index.js.map +1 -0
- package/dist/views/API/index.client.d.ts +4 -0
- package/dist/views/API/index.client.d.ts.map +1 -0
- package/dist/views/API/index.client.js +187 -0
- package/dist/views/API/index.client.js.map +1 -0
- package/dist/views/API/index.d.ts +3 -0
- package/dist/views/API/index.d.ts.map +1 -0
- package/dist/views/API/index.js +7 -0
- package/dist/views/API/index.js.map +1 -0
- package/dist/views/API/meta.d.ts +3 -0
- package/dist/views/API/meta.d.ts.map +1 -0
- package/dist/views/API/meta.js +11 -0
- package/dist/views/API/meta.js.map +1 -0
- package/dist/views/Account/Settings/index.d.ts.map +1 -0
- package/dist/views/Account/Settings/index.js +31 -0
- package/dist/views/Account/Settings/index.js.map +1 -0
- package/dist/views/Account/ToggleTheme/index.d.ts.map +1 -0
- package/dist/views/Account/ToggleTheme/index.js +36 -0
- package/dist/views/Account/ToggleTheme/index.js.map +1 -0
- package/dist/views/Account/index.d.ts +5 -0
- package/dist/views/Account/index.d.ts.map +1 -0
- package/dist/views/Account/index.js +57 -0
- package/dist/views/Account/index.js.map +1 -0
- package/dist/views/Account/meta.d.ts +3 -0
- package/dist/views/Account/meta.d.ts.map +1 -0
- package/dist/views/Account/meta.js +11 -0
- package/dist/views/Account/meta.js.map +1 -0
- package/dist/views/CreateFirstUser/index.client.d.ts +7 -0
- package/dist/views/CreateFirstUser/index.client.d.ts.map +1 -0
- package/dist/views/CreateFirstUser/index.client.js +64 -0
- package/dist/views/CreateFirstUser/index.client.js.map +1 -0
- package/dist/views/CreateFirstUser/index.d.ts +6 -0
- package/dist/views/CreateFirstUser/index.d.ts.map +1 -0
- package/dist/views/CreateFirstUser/index.js +43 -0
- package/dist/views/CreateFirstUser/index.js.map +1 -0
- package/dist/views/CreateFirstUser/index.scss +5 -0
- package/dist/views/CreateFirstUser/meta.d.ts +3 -0
- package/dist/views/CreateFirstUser/meta.d.ts.map +1 -0
- package/dist/views/CreateFirstUser/meta.js +11 -0
- package/dist/views/CreateFirstUser/meta.js.map +1 -0
- package/dist/views/Dashboard/Default/index.client.d.ts +10 -0
- package/dist/views/Dashboard/Default/index.client.d.ts.map +1 -0
- package/dist/views/Dashboard/Default/index.client.js +103 -0
- package/dist/views/Dashboard/Default/index.client.js.map +1 -0
- package/dist/views/Dashboard/Default/index.d.ts +12 -0
- package/dist/views/Dashboard/Default/index.d.ts.map +1 -0
- package/dist/views/Dashboard/Default/index.js +28 -0
- package/dist/views/Dashboard/Default/index.js.map +1 -0
- package/dist/views/Dashboard/index.d.ts +5 -0
- package/dist/views/Dashboard/index.d.ts.map +1 -0
- package/dist/views/Dashboard/index.js +27 -0
- package/dist/views/Dashboard/index.js.map +1 -0
- package/dist/views/Dashboard/meta.d.ts +3 -0
- package/dist/views/Dashboard/meta.d.ts.map +1 -0
- package/dist/views/Dashboard/meta.js +11 -0
- package/dist/views/Dashboard/meta.js.map +1 -0
- package/dist/views/Document/getCustomViewByKey.d.ts +4 -0
- package/dist/views/Document/getCustomViewByKey.d.ts.map +1 -0
- package/dist/views/Document/getCustomViewByKey.js +5 -0
- package/dist/views/Document/getCustomViewByKey.js.map +1 -0
- package/dist/views/Document/getCustomViewByRoute.d.ts +8 -0
- package/dist/views/Document/getCustomViewByRoute.d.ts.map +1 -0
- package/dist/views/Document/getCustomViewByRoute.js +22 -0
- package/dist/views/Document/getCustomViewByRoute.js.map +1 -0
- package/dist/views/Document/getMetaBySegment.d.ts +10 -0
- package/dist/views/Document/getMetaBySegment.d.ts.map +1 -0
- package/dist/views/Document/getMetaBySegment.js +77 -0
- package/dist/views/Document/getMetaBySegment.js.map +1 -0
- package/dist/views/Document/getViewsFromConfig.d.ts +18 -0
- package/dist/views/Document/getViewsFromConfig.d.ts.map +1 -0
- package/dist/views/Document/getViewsFromConfig.js +241 -0
- package/dist/views/Document/getViewsFromConfig.js.map +1 -0
- package/dist/views/Document/index.d.ts +6 -0
- package/dist/views/Document/index.d.ts.map +1 -0
- package/dist/views/Document/index.js +155 -0
- package/dist/views/Document/index.js.map +1 -0
- package/dist/views/Document/meta.d.ts +3 -0
- package/dist/views/Document/meta.d.ts.map +1 -0
- package/dist/views/Document/meta.js +4 -0
- package/dist/views/Document/meta.js.map +1 -0
- package/dist/views/Edit/Default/Auth/APIKey.d.ts +6 -0
- package/dist/views/Edit/Default/Auth/APIKey.d.ts.map +1 -0
- package/dist/views/Edit/Default/Auth/APIKey.js +106 -0
- package/dist/views/Edit/Default/Auth/APIKey.js.map +1 -0
- package/dist/views/Edit/Default/Auth/index.d.ts +5 -0
- package/dist/views/Edit/Default/Auth/index.d.ts.map +1 -0
- package/dist/views/Edit/Default/Auth/index.js +130 -0
- package/dist/views/Edit/Default/Auth/index.js.map +1 -0
- package/dist/views/Edit/Default/Auth/types.d.ts.map +1 -0
- package/dist/views/Edit/Default/Auth/types.js +3 -0
- package/dist/views/Edit/Default/Auth/types.js.map +1 -0
- package/dist/views/Edit/Default/SetDocumentStepNav/index.d.ts +12 -0
- package/dist/views/Edit/Default/SetDocumentStepNav/index.d.ts.map +1 -0
- package/dist/views/Edit/Default/SetDocumentStepNav/index.js +71 -0
- package/dist/views/Edit/Default/SetDocumentStepNav/index.js.map +1 -0
- package/dist/views/Edit/Default/SetDocumentTitle/index.d.ts +9 -0
- package/dist/views/Edit/Default/SetDocumentTitle/index.d.ts.map +1 -0
- package/dist/views/Edit/Default/SetDocumentTitle/index.js +38 -0
- package/dist/views/Edit/Default/SetDocumentTitle/index.js.map +1 -0
- package/dist/views/Edit/Default/index.d.ts.map +1 -0
- package/dist/views/Edit/Default/index.js +195 -0
- package/dist/views/Edit/Default/index.js.map +1 -0
- package/dist/views/Edit/Default/types.d.ts.map +1 -0
- package/dist/views/Edit/Default/types.js +3 -0
- package/dist/views/Edit/Default/types.js.map +1 -0
- package/dist/views/Edit/index.client.d.ts +3 -0
- package/dist/views/Edit/index.client.d.ts.map +1 -0
- package/dist/views/Edit/index.client.js +23 -0
- package/dist/views/Edit/index.client.js.map +1 -0
- package/dist/views/Edit/index.d.ts +3 -0
- package/dist/views/Edit/index.d.ts.map +1 -0
- package/dist/views/Edit/index.js +7 -0
- package/dist/views/Edit/index.js.map +1 -0
- package/dist/views/Edit/meta.d.ts +3 -0
- package/dist/views/Edit/meta.d.ts.map +1 -0
- package/dist/views/Edit/meta.js +26 -0
- package/dist/views/Edit/meta.js.map +1 -0
- package/dist/views/Edit/sanitizeEditViewProps.d.ts +3 -0
- package/dist/views/Edit/sanitizeEditViewProps.d.ts.map +1 -0
- package/dist/views/Edit/sanitizeEditViewProps.js +11 -0
- package/dist/views/Edit/sanitizeEditViewProps.js.map +1 -0
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts +3 -0
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts.map +1 -0
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.js +58 -0
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.js.map +1 -0
- package/dist/views/ForgotPassword/index.d.ts +6 -0
- package/dist/views/ForgotPassword/index.d.ts.map +1 -0
- package/dist/views/ForgotPassword/index.js +33 -0
- package/dist/views/ForgotPassword/index.js.map +1 -0
- package/dist/views/ForgotPassword/meta.d.ts +3 -0
- package/dist/views/ForgotPassword/meta.d.ts.map +1 -0
- package/dist/views/ForgotPassword/meta.js +11 -0
- package/dist/views/ForgotPassword/meta.js.map +1 -0
- package/dist/views/List/Default/index.d.ts.map +1 -0
- package/dist/views/List/Default/index.js +149 -0
- package/dist/views/List/Default/index.js.map +1 -0
- package/dist/views/List/Default/types.d.ts +15 -0
- package/dist/views/List/Default/types.d.ts.map +1 -0
- package/dist/views/List/Default/types.js +3 -0
- package/dist/views/List/Default/types.js.map +1 -0
- package/dist/views/List/index.d.ts +5 -0
- package/dist/views/List/index.d.ts.map +1 -0
- package/dist/views/List/index.js +107 -0
- package/dist/views/List/index.js.map +1 -0
- package/dist/views/List/meta.d.ts +7 -0
- package/dist/views/List/meta.d.ts.map +1 -0
- package/dist/views/List/meta.js +19 -0
- package/dist/views/List/meta.js.map +1 -0
- package/dist/views/LivePreview/Context/collisionDetection.d.ts.map +1 -0
- package/dist/views/LivePreview/Context/collisionDetection.js +26 -0
- package/dist/views/LivePreview/Context/collisionDetection.js.map +1 -0
- package/dist/views/LivePreview/Context/context.d.ts +50 -0
- package/dist/views/LivePreview/Context/context.d.ts.map +1 -0
- package/dist/views/LivePreview/Context/context.js +40 -0
- package/dist/views/LivePreview/Context/context.js.map +1 -0
- package/dist/views/LivePreview/Context/index.d.ts +20 -0
- package/dist/views/LivePreview/Context/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Context/index.js +153 -0
- package/dist/views/LivePreview/Context/index.js.map +1 -0
- package/dist/views/LivePreview/Context/sizeReducer.d.ts.map +1 -0
- package/dist/views/LivePreview/Context/sizeReducer.js +31 -0
- package/dist/views/LivePreview/Context/sizeReducer.js.map +1 -0
- package/dist/views/LivePreview/Device/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Device/index.js +51 -0
- package/dist/views/LivePreview/Device/index.js.map +1 -0
- package/dist/views/LivePreview/DeviceContainer/index.d.ts.map +1 -0
- package/dist/views/LivePreview/DeviceContainer/index.js +29 -0
- package/dist/views/LivePreview/DeviceContainer/index.js.map +1 -0
- package/dist/views/LivePreview/IFrame/index.d.ts +9 -0
- package/dist/views/LivePreview/IFrame/index.d.ts.map +1 -0
- package/dist/views/LivePreview/IFrame/index.js +22 -0
- package/dist/views/LivePreview/IFrame/index.js.map +1 -0
- package/dist/views/LivePreview/Preview/index.d.ts +5 -0
- package/dist/views/LivePreview/Preview/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Preview/index.js +101 -0
- package/dist/views/LivePreview/Preview/index.js.map +1 -0
- package/dist/views/LivePreview/Toolbar/Controls/index.d.ts +5 -0
- package/dist/views/LivePreview/Toolbar/Controls/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Toolbar/Controls/index.js +85 -0
- package/dist/views/LivePreview/Toolbar/Controls/index.js.map +1 -0
- package/dist/views/LivePreview/Toolbar/SizeInput/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Toolbar/SizeInput/index.js +60 -0
- package/dist/views/LivePreview/Toolbar/SizeInput/index.js.map +1 -0
- package/dist/views/LivePreview/Toolbar/index.d.ts +7 -0
- package/dist/views/LivePreview/Toolbar/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Toolbar/index.js +49 -0
- package/dist/views/LivePreview/Toolbar/index.js.map +1 -0
- package/dist/views/LivePreview/ToolbarArea/index.d.ts.map +1 -0
- package/dist/views/LivePreview/ToolbarArea/index.js +16 -0
- package/dist/views/LivePreview/ToolbarArea/index.js.map +1 -0
- package/dist/views/LivePreview/index.client.d.ts +10 -0
- package/dist/views/LivePreview/index.client.d.ts.map +1 -0
- package/dist/views/LivePreview/index.client.js +170 -0
- package/dist/views/LivePreview/index.client.js.map +1 -0
- package/dist/views/LivePreview/index.d.ts +4 -0
- package/dist/views/LivePreview/index.d.ts.map +1 -0
- package/dist/views/LivePreview/index.js +65 -0
- package/dist/views/LivePreview/index.js.map +1 -0
- package/dist/views/LivePreview/meta.d.ts +3 -0
- package/dist/views/LivePreview/meta.d.ts.map +1 -0
- package/dist/views/LivePreview/meta.js +26 -0
- package/dist/views/LivePreview/meta.js.map +1 -0
- package/dist/views/LivePreview/usePopupWindow.d.ts.map +1 -0
- package/dist/views/LivePreview/usePopupWindow.js +102 -0
- package/dist/views/LivePreview/usePopupWindow.js.map +1 -0
- package/dist/views/Login/LoginForm/index.d.ts.map +1 -0
- package/dist/views/Login/LoginForm/index.js +88 -0
- package/dist/views/Login/LoginForm/index.js.map +1 -0
- package/dist/views/Login/index.d.ts +7 -0
- package/dist/views/Login/index.d.ts.map +1 -0
- package/dist/views/Login/index.js +28 -0
- package/dist/views/Login/index.js.map +1 -0
- package/dist/views/Login/index.scss +8 -0
- package/dist/views/Login/meta.d.ts +3 -0
- package/dist/views/Login/meta.d.ts.map +1 -0
- package/dist/views/Login/meta.js +11 -0
- package/dist/views/Login/meta.js.map +1 -0
- package/dist/views/Logout/LogoutClient.d.ts.map +1 -0
- package/dist/views/Logout/LogoutClient.js +33 -0
- package/dist/views/Logout/LogoutClient.js.map +1 -0
- package/dist/views/Logout/index.d.ts +9 -0
- package/dist/views/Logout/index.d.ts.map +1 -0
- package/dist/views/Logout/index.js +25 -0
- package/dist/views/Logout/index.js.map +1 -0
- package/dist/views/Logout/meta.d.ts +3 -0
- package/dist/views/Logout/meta.d.ts.map +1 -0
- package/dist/views/Logout/meta.js +11 -0
- package/dist/views/Logout/meta.js.map +1 -0
- package/dist/views/NotFound/index.client.d.ts +6 -0
- package/dist/views/NotFound/index.client.d.ts.map +1 -0
- package/dist/views/NotFound/index.client.js +41 -0
- package/dist/views/NotFound/index.client.js.map +1 -0
- package/dist/views/NotFound/index.d.ts +28 -0
- package/dist/views/NotFound/index.d.ts.map +1 -0
- package/dist/views/NotFound/index.js +39 -0
- package/dist/views/NotFound/index.js.map +1 -0
- package/dist/views/NotFound/index.scss +37 -0
- package/dist/views/NotFound/meta.d.ts +8 -0
- package/dist/views/NotFound/meta.d.ts.map +1 -0
- package/dist/views/NotFound/meta.js +11 -0
- package/dist/views/NotFound/meta.js.map +1 -0
- package/dist/views/ResetPassword/index.client.d.ts +7 -0
- package/dist/views/ResetPassword/index.client.d.ts.map +1 -0
- package/dist/views/ResetPassword/index.client.js +83 -0
- package/dist/views/ResetPassword/index.client.js.map +1 -0
- package/dist/views/ResetPassword/index.d.ts +7 -0
- package/dist/views/ResetPassword/index.d.ts.map +1 -0
- package/dist/views/ResetPassword/index.js +44 -0
- package/dist/views/ResetPassword/index.js.map +1 -0
- package/dist/views/ResetPassword/index.scss +5 -0
- package/dist/views/ResetPassword/meta.d.ts +3 -0
- package/dist/views/ResetPassword/meta.d.ts.map +1 -0
- package/dist/views/ResetPassword/meta.js +11 -0
- package/dist/views/ResetPassword/meta.js.map +1 -0
- package/dist/views/Root/getCustomViewByRoute.d.ts +6 -0
- package/dist/views/Root/getCustomViewByRoute.d.ts.map +1 -0
- package/dist/views/Root/getCustomViewByRoute.js +19 -0
- package/dist/views/Root/getCustomViewByRoute.js.map +1 -0
- package/dist/views/Root/getViewFromConfig.d.ts +18 -0
- package/dist/views/Root/getViewFromConfig.d.ts.map +1 -0
- package/dist/views/Root/getViewFromConfig.js +138 -0
- package/dist/views/Root/getViewFromConfig.js.map +1 -0
- package/dist/views/Root/index.d.ts +22 -0
- package/dist/views/Root/index.d.ts.map +1 -0
- package/dist/views/Root/index.js +51 -0
- package/dist/views/Root/index.js.map +1 -0
- package/dist/views/Root/isPathMatchingRoute.d.ts +8 -0
- package/dist/views/Root/isPathMatchingRoute.d.ts.map +1 -0
- package/dist/views/Root/isPathMatchingRoute.js +16 -0
- package/dist/views/Root/isPathMatchingRoute.js.map +1 -0
- package/dist/views/Root/meta.d.ts +14 -0
- package/dist/views/Root/meta.d.ts.map +1 -0
- package/dist/views/Root/meta.js +159 -0
- package/dist/views/Root/meta.js.map +1 -0
- package/dist/views/Unauthorized/index.d.ts +5 -0
- package/dist/views/Unauthorized/index.d.ts.map +1 -0
- package/dist/views/Unauthorized/index.js +20 -0
- package/dist/views/Unauthorized/index.js.map +1 -0
- package/dist/views/Unauthorized/index.scss +36 -0
- package/dist/views/Unauthorized/meta.d.ts +3 -0
- package/dist/views/Unauthorized/meta.d.ts.map +1 -0
- package/dist/views/Unauthorized/meta.js +11 -0
- package/dist/views/Unauthorized/meta.js.map +1 -0
- package/dist/views/Verify/index.d.ts +7 -0
- package/dist/views/Verify/index.d.ts.map +1 -0
- package/dist/views/Verify/index.js +32 -0
- package/dist/views/Verify/index.js.map +1 -0
- package/dist/views/Verify/meta.d.ts +3 -0
- package/dist/views/Verify/meta.d.ts.map +1 -0
- package/dist/views/Verify/meta.js +11 -0
- package/dist/views/Verify/meta.js.map +1 -0
- package/dist/views/Version/Default/SetStepNav.d.ts +14 -0
- package/dist/views/Version/Default/SetStepNav.d.ts.map +1 -0
- package/dist/views/Version/Default/SetStepNav.js +100 -0
- package/dist/views/Version/Default/SetStepNav.js.map +1 -0
- package/dist/views/Version/Default/index.d.ts +5 -0
- package/dist/views/Version/Default/index.d.ts.map +1 -0
- package/dist/views/Version/Default/index.js +115 -0
- package/dist/views/Version/Default/index.js.map +1 -0
- package/dist/views/Version/Default/types.d.ts +19 -0
- package/dist/views/Version/Default/types.d.ts.map +1 -0
- package/dist/views/Version/Default/types.js +3 -0
- package/dist/views/Version/Default/types.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/Label/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/Label/index.js +8 -0
- package/dist/views/Version/RenderFieldsToDiff/Label/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts +6 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js +64 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.d.ts +6 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.js +28 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts +6 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js +74 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.js +17 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts +10 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js +39 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts +9 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js +39 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.js +17 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts +6 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js +30 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/diffMethods.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/diffMethods.js +8 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/diffMethods.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts +60 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/index.js +29 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/styles.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/styles.js +28 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/styles.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/types.d.ts +21 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/types.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/types.js +3 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/types.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/index.d.ts +6 -0
- package/dist/views/Version/RenderFieldsToDiff/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/index.js +100 -0
- package/dist/views/Version/RenderFieldsToDiff/index.js.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/types.d.ts +20 -0
- package/dist/views/Version/RenderFieldsToDiff/types.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/types.js +3 -0
- package/dist/views/Version/RenderFieldsToDiff/types.js.map +1 -0
- package/dist/views/Version/Restore/index.d.ts +6 -0
- package/dist/views/Version/Restore/index.d.ts.map +1 -0
- package/dist/views/Version/Restore/index.js +77 -0
- package/dist/views/Version/Restore/index.js.map +1 -0
- package/dist/views/Version/Restore/index.scss +30 -0
- package/dist/views/Version/Restore/types.d.ts +11 -0
- package/dist/views/Version/Restore/types.d.ts.map +1 -0
- package/dist/views/Version/Restore/types.js +3 -0
- package/dist/views/Version/Restore/types.js.map +1 -0
- package/dist/views/Version/SelectComparison/index.d.ts +5 -0
- package/dist/views/Version/SelectComparison/index.d.ts.map +1 -0
- package/dist/views/Version/SelectComparison/index.js +130 -0
- package/dist/views/Version/SelectComparison/index.js.map +1 -0
- package/dist/views/Version/SelectComparison/types.d.ts +27 -0
- package/dist/views/Version/SelectComparison/types.d.ts.map +1 -0
- package/dist/views/Version/SelectComparison/types.js +3 -0
- package/dist/views/Version/SelectComparison/types.js.map +1 -0
- package/dist/views/Version/SelectLocales/index.d.ts +5 -0
- package/dist/views/Version/SelectLocales/index.d.ts.map +1 -0
- package/dist/views/Version/SelectLocales/index.js +33 -0
- package/dist/views/Version/SelectLocales/index.js.map +1 -0
- package/dist/views/Version/SelectLocales/types.d.ts +7 -0
- package/dist/views/Version/SelectLocales/types.d.ts.map +1 -0
- package/dist/views/Version/SelectLocales/types.js +3 -0
- package/dist/views/Version/SelectLocales/types.js.map +1 -0
- package/dist/views/Version/index.d.ts +3 -0
- package/dist/views/Version/index.d.ts.map +1 -0
- package/dist/views/Version/index.js +102 -0
- package/dist/views/Version/index.js.map +1 -0
- package/dist/views/Version/meta.d.ts +3 -0
- package/dist/views/Version/meta.d.ts.map +1 -0
- package/dist/views/Version/meta.js +41 -0
- package/dist/views/Version/meta.js.map +1 -0
- package/dist/views/Version/shared.d.ts.map +1 -0
- package/dist/views/Version/shared.js +10 -0
- package/dist/views/Version/shared.js.map +1 -0
- package/dist/views/Versions/buildColumns.d.ts +11 -0
- package/dist/views/Versions/buildColumns.d.ts.map +1 -0
- package/dist/views/Versions/buildColumns.js +63 -0
- package/dist/views/Versions/buildColumns.js.map +1 -0
- package/dist/views/Versions/cells/AutosaveCell/index.d.ts.map +1 -0
- package/dist/views/Versions/cells/AutosaveCell/index.js +14 -0
- package/dist/views/Versions/cells/AutosaveCell/index.js.map +1 -0
- package/dist/views/Versions/cells/CreatedAt/index.d.ts.map +1 -0
- package/dist/views/Versions/cells/CreatedAt/index.js +26 -0
- package/dist/views/Versions/cells/CreatedAt/index.js.map +1 -0
- package/dist/views/Versions/cells/ID/index.d.ts.map +1 -0
- package/dist/views/Versions/cells/ID/index.js +9 -0
- package/dist/views/Versions/cells/ID/index.js.map +1 -0
- package/dist/views/Versions/index.client.d.ts +10 -0
- package/dist/views/Versions/index.client.d.ts.map +1 -0
- package/dist/views/Versions/index.client.js +57 -0
- package/dist/views/Versions/index.client.js.map +1 -0
- package/dist/views/Versions/index.d.ts +5 -0
- package/dist/views/Versions/index.d.ts.map +1 -0
- package/dist/views/Versions/index.js +93 -0
- package/dist/views/Versions/index.js.map +1 -0
- package/dist/views/Versions/meta.d.ts +3 -0
- package/dist/views/Versions/meta.d.ts.map +1 -0
- package/dist/views/Versions/meta.js +33 -0
- package/dist/views/Versions/meta.js.map +1 -0
- package/dist/views/Versions/types.d.ts.map +1 -0
- package/dist/views/Versions/types.js +3 -0
- package/dist/views/Versions/types.js.map +1 -0
- package/dist/webpackEntry.d.ts +5 -0
- package/dist/webpackEntry.d.ts.map +1 -0
- package/dist/webpackEntry.js +6 -0
- package/dist/webpackEntry.js.map +1 -0
- package/dist/withPayload.d.ts +2 -2
- package/dist/withPayload.d.ts.map +1 -1
- package/dist/withPayload.js +9 -9
- package/dist/withPayload.js.map +1 -0
- package/package.json +58 -72
- package/dist/295bdb5117ce718dc7ce.woff2 +0 -1
- package/dist/3dec23c585a4abb5db73.woff +0 -1
- package/dist/542802f243f0fcaf55b3.woff2 +0 -1
- package/dist/5e5b3593b8911609ead8.woff +0 -1
- package/dist/64ee2a3127da82b7ea68.woff2 +0 -1
- package/dist/67a3a8f8301a0429df2d.woff +0 -1
- package/dist/8d0dc94a123c04b123f0.woff +0 -1
- package/dist/94db87589768ca1eec3c.woff2 +0 -1
- package/dist/997a8ea7da8ec3068210.woff2 +0 -1
- package/dist/9ab00e972f6f94ca3ff4.woff +0 -1
- package/dist/ab1f8b95d9d1911a4a3e.woff +0 -1
- package/dist/ba5a15d71add74a81bb9.woff +0 -1
- package/dist/bd2c036744af4b004ea6.woff2 +0 -1
- package/dist/bin/index.d.ts +0 -2
- package/dist/bin/index.d.ts.map +0 -1
- package/dist/bin/index.js +0 -37
- package/dist/bin/install.d.ts +0 -4
- package/dist/bin/install.d.ts.map +0 -1
- package/dist/bin/install.js +0 -77
- package/dist/cc56c782af93204aba75.woff +0 -1
- package/dist/d377d6e20b542fe3b375.woff2 +0 -1
- package/dist/e415ace668b22ac52c65.woff2 +0 -1
- package/dist/exports/index.d.ts +0 -2
- package/dist/exports/index.d.ts.map +0 -1
- package/dist/exports/index.js +0 -13
- package/dist/graphql/registerSchema.d.ts +0 -2
- package/dist/graphql/registerSchema.d.ts.map +0 -1
- package/dist/graphql/registerSchema.js +0 -3
- package/dist/index.d.ts +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/layouts/Admin/index.d.ts +0 -12
- package/dist/layouts/Admin/index.d.ts.map +0 -1
- package/dist/layouts/Admin/index.js +0 -44
- package/dist/layouts/Document/index.d.ts +0 -14
- package/dist/layouts/Document/index.d.ts.map +0 -1
- package/dist/layouts/Document/index.js +0 -82
- package/dist/next-fileupload/fileFactory.d.ts +0 -16
- package/dist/next-fileupload/fileFactory.d.ts.map +0 -1
- package/dist/next-fileupload/fileFactory.js +0 -53
- package/dist/next-fileupload/handlers.d.ts +0 -15
- package/dist/next-fileupload/handlers.d.ts.map +0 -1
- package/dist/next-fileupload/handlers.js +0 -150
- package/dist/next-fileupload/index.d.ts +0 -135
- package/dist/next-fileupload/index.d.ts.map +0 -1
- package/dist/next-fileupload/index.js +0 -58
- package/dist/next-fileupload/isEligibleRequest.d.ts.map +0 -1
- package/dist/next-fileupload/isEligibleRequest.js +0 -36
- package/dist/next-fileupload/processMultipart.d.ts +0 -8
- package/dist/next-fileupload/processMultipart.d.ts.map +0 -1
- package/dist/next-fileupload/processMultipart.js +0 -146
- package/dist/next-fileupload/processNested.d.ts.map +0 -1
- package/dist/next-fileupload/processNested.js +0 -34
- package/dist/next-fileupload/uploadTimer.d.ts.map +0 -1
- package/dist/next-fileupload/uploadTimer.js +0 -29
- package/dist/next-fileupload/utilities.d.ts +0 -65
- package/dist/next-fileupload/utilities.d.ts.map +0 -1
- package/dist/next-fileupload/utilities.js +0 -252
- package/dist/next-stream-file/index.d.ts +0 -2
- package/dist/next-stream-file/index.d.ts.map +0 -1
- package/dist/next-stream-file/index.js +0 -40
- package/dist/pages/API/RenderJSON/index.d.ts.map +0 -1
- package/dist/pages/API/RenderJSON/index.js +0 -142
- package/dist/pages/API/index.client.d.ts +0 -5
- package/dist/pages/API/index.client.d.ts.map +0 -1
- package/dist/pages/API/index.client.js +0 -241
- package/dist/pages/API/index.d.ts +0 -4
- package/dist/pages/API/index.d.ts.map +0 -1
- package/dist/pages/API/index.js +0 -27
- package/dist/pages/API/meta.d.ts +0 -3
- package/dist/pages/API/meta.d.ts.map +0 -1
- package/dist/pages/API/meta.js +0 -21
- package/dist/pages/Account/Settings/index.d.ts.map +0 -1
- package/dist/pages/Account/Settings/index.js +0 -45
- package/dist/pages/Account/ToggleTheme/index.d.ts.map +0 -1
- package/dist/pages/Account/ToggleTheme/index.js +0 -85
- package/dist/pages/Account/index.d.ts +0 -13
- package/dist/pages/Account/index.d.ts.map +0 -1
- package/dist/pages/Account/index.js +0 -171
- package/dist/pages/CreateFirstUser/index.client.d.ts +0 -5
- package/dist/pages/CreateFirstUser/index.client.d.ts.map +0 -1
- package/dist/pages/CreateFirstUser/index.client.js +0 -29
- package/dist/pages/CreateFirstUser/index.d.ts +0 -11
- package/dist/pages/CreateFirstUser/index.d.ts.map +0 -1
- package/dist/pages/CreateFirstUser/index.js +0 -91
- package/dist/pages/CreateFirstUser/index.scss +0 -15
- package/dist/pages/Dashboard/Default/index.client.d.ts +0 -8
- package/dist/pages/Dashboard/Default/index.client.d.ts.map +0 -1
- package/dist/pages/Dashboard/Default/index.client.js +0 -154
- package/dist/pages/Dashboard/Default/index.d.ts +0 -11
- package/dist/pages/Dashboard/Default/index.d.ts.map +0 -1
- package/dist/pages/Dashboard/Default/index.js +0 -44
- package/dist/pages/Dashboard/index.d.ts +0 -13
- package/dist/pages/Dashboard/index.d.ts.map +0 -1
- package/dist/pages/Dashboard/index.js +0 -128
- package/dist/pages/Document/getCustomViewByKey.d.ts +0 -4
- package/dist/pages/Document/getCustomViewByKey.d.ts.map +0 -1
- package/dist/pages/Document/getCustomViewByKey.js +0 -15
- package/dist/pages/Document/getCustomViewByPath.d.ts +0 -4
- package/dist/pages/Document/getCustomViewByPath.d.ts.map +0 -1
- package/dist/pages/Document/getCustomViewByPath.js +0 -26
- package/dist/pages/Document/getMetaBySegment.d.ts +0 -20
- package/dist/pages/Document/getMetaBySegment.d.ts.map +0 -1
- package/dist/pages/Document/getMetaBySegment.js +0 -124
- package/dist/pages/Document/getViewsFromConfig.d.ts +0 -15
- package/dist/pages/Document/getViewsFromConfig.d.ts.map +0 -1
- package/dist/pages/Document/getViewsFromConfig.js +0 -163
- package/dist/pages/Document/index.d.ts +0 -23
- package/dist/pages/Document/index.d.ts.map +0 -1
- package/dist/pages/Document/index.js +0 -237
- package/dist/pages/Edit/Default/Auth/APIKey.d.ts +0 -6
- package/dist/pages/Edit/Default/Auth/APIKey.d.ts.map +0 -1
- package/dist/pages/Edit/Default/Auth/APIKey.js +0 -140
- package/dist/pages/Edit/Default/Auth/index.d.ts +0 -6
- package/dist/pages/Edit/Default/Auth/index.d.ts.map +0 -1
- package/dist/pages/Edit/Default/Auth/index.js +0 -180
- package/dist/pages/Edit/Default/Auth/types.d.ts.map +0 -1
- package/dist/pages/Edit/Default/Auth/types.js +0 -6
- package/dist/pages/Edit/Default/RenderCustomView.d.ts +0 -2
- package/dist/pages/Edit/Default/RenderCustomView.d.ts.map +0 -1
- package/dist/pages/Edit/Default/RenderCustomView.js +0 -3
- package/dist/pages/Edit/Default/SetDocumentTitle/index.d.ts +0 -8
- package/dist/pages/Edit/Default/SetDocumentTitle/index.d.ts.map +0 -1
- package/dist/pages/Edit/Default/SetDocumentTitle/index.js +0 -50
- package/dist/pages/Edit/Default/SetStepNav/index.d.ts +0 -13
- package/dist/pages/Edit/Default/SetStepNav/index.d.ts.map +0 -1
- package/dist/pages/Edit/Default/SetStepNav/index.js +0 -70
- package/dist/pages/Edit/Default/index.d.ts.map +0 -1
- package/dist/pages/Edit/Default/index.js +0 -202
- package/dist/pages/Edit/Default/types.d.ts.map +0 -1
- package/dist/pages/Edit/Default/types.js +0 -6
- package/dist/pages/Edit/index.client.d.ts +0 -4
- package/dist/pages/Edit/index.client.d.ts.map +0 -1
- package/dist/pages/Edit/index.client.js +0 -99
- package/dist/pages/Edit/index.d.ts +0 -4
- package/dist/pages/Edit/index.d.ts.map +0 -1
- package/dist/pages/Edit/index.js +0 -27
- package/dist/pages/Edit/meta.d.ts +0 -3
- package/dist/pages/Edit/meta.d.ts.map +0 -1
- package/dist/pages/Edit/meta.js +0 -36
- package/dist/pages/Edit/sanitizeEditViewProps.d.ts +0 -4
- package/dist/pages/Edit/sanitizeEditViewProps.d.ts.map +0 -1
- package/dist/pages/Edit/sanitizeEditViewProps.js +0 -24
- package/dist/pages/Edit/types.d.js +0 -7
- package/dist/pages/Edit/types.d.ts +0 -37
- package/dist/pages/Edit/types.d.ts.map +0 -1
- package/dist/pages/Edit/types.js +0 -6
- package/dist/pages/ForgotPassword/index.d.ts +0 -10
- package/dist/pages/ForgotPassword/index.d.ts.map +0 -1
- package/dist/pages/ForgotPassword/index.js +0 -101
- package/dist/pages/List/Default/Cell/cellTypes.spec.js +0 -234
- package/dist/pages/List/Default/Cell/fields/Array/index.d.ts +0 -7
- package/dist/pages/List/Default/Cell/fields/Array/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Array/index.js +0 -27
- package/dist/pages/List/Default/Cell/fields/Blocks/index.d.ts +0 -8
- package/dist/pages/List/Default/Cell/fields/Blocks/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Blocks/index.js +0 -45
- package/dist/pages/List/Default/Cell/fields/Checkbox/index.d.ts +0 -5
- package/dist/pages/List/Default/Cell/fields/Checkbox/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Checkbox/index.js +0 -23
- package/dist/pages/List/Default/Cell/fields/Checkbox/index.scss +0 -22
- package/dist/pages/List/Default/Cell/fields/Code/index.d.ts +0 -8
- package/dist/pages/List/Default/Cell/fields/Code/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Code/index.js +0 -29
- package/dist/pages/List/Default/Cell/fields/Code/index.scss +0 -27
- package/dist/pages/List/Default/Cell/fields/Date/index.d.ts +0 -7
- package/dist/pages/List/Default/Cell/fields/Date/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Date/index.js +0 -26
- package/dist/pages/List/Default/Cell/fields/File/index.d.ts +0 -7
- package/dist/pages/List/Default/Cell/fields/File/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/File/index.js +0 -39
- package/dist/pages/List/Default/Cell/fields/File/index.scss +0 -23
- package/dist/pages/List/Default/Cell/fields/JSON/index.d.ts +0 -5
- package/dist/pages/List/Default/Cell/fields/JSON/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/JSON/index.js +0 -26
- package/dist/pages/List/Default/Cell/fields/JSON/index.scss +0 -22
- package/dist/pages/List/Default/Cell/fields/Relationship/index.d.ts +0 -9
- package/dist/pages/List/Default/Cell/fields/Relationship/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Relationship/index.js +0 -121
- package/dist/pages/List/Default/Cell/fields/Relationship/index.scss +0 -3
- package/dist/pages/List/Default/Cell/fields/Richtext/index.d.ts +0 -2
- package/dist/pages/List/Default/Cell/fields/Richtext/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Richtext/index.js +0 -3
- package/dist/pages/List/Default/Cell/fields/Select/index.d.ts +0 -7
- package/dist/pages/List/Default/Cell/fields/Select/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Select/index.js +0 -40
- package/dist/pages/List/Default/Cell/fields/Textarea/index.d.ts +0 -4
- package/dist/pages/List/Default/Cell/fields/Textarea/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/Textarea/index.js +0 -23
- package/dist/pages/List/Default/Cell/fields/index.d.ts +0 -17
- package/dist/pages/List/Default/Cell/fields/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/fields/index.js +0 -36
- package/dist/pages/List/Default/Cell/index.d.ts +0 -4
- package/dist/pages/List/Default/Cell/index.d.ts.map +0 -1
- package/dist/pages/List/Default/Cell/index.js +0 -89
- package/dist/pages/List/Default/RelationshipProvider/index.d.ts +0 -20
- package/dist/pages/List/Default/RelationshipProvider/index.d.ts.map +0 -1
- package/dist/pages/List/Default/RelationshipProvider/index.js +0 -153
- package/dist/pages/List/Default/RelationshipProvider/reducer.d.ts +0 -19
- package/dist/pages/List/Default/RelationshipProvider/reducer.d.ts.map +0 -1
- package/dist/pages/List/Default/RelationshipProvider/reducer.js +0 -55
- package/dist/pages/List/Default/index.d.ts.map +0 -1
- package/dist/pages/List/Default/index.js +0 -174
- package/dist/pages/List/Default/types.d.ts +0 -14
- package/dist/pages/List/Default/types.d.ts.map +0 -1
- package/dist/pages/List/Default/types.js +0 -6
- package/dist/pages/List/index.d.ts +0 -18
- package/dist/pages/List/index.d.ts.map +0 -1
- package/dist/pages/List/index.js +0 -158
- package/dist/pages/LivePreview/Context/collisionDetection.d.ts.map +0 -1
- package/dist/pages/LivePreview/Context/collisionDetection.js +0 -34
- package/dist/pages/LivePreview/Context/context.d.ts +0 -50
- package/dist/pages/LivePreview/Context/context.d.ts.map +0 -1
- package/dist/pages/LivePreview/Context/context.js +0 -58
- package/dist/pages/LivePreview/Context/index.d.ts +0 -18
- package/dist/pages/LivePreview/Context/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/Context/index.js +0 -208
- package/dist/pages/LivePreview/Context/sizeReducer.d.ts.map +0 -1
- package/dist/pages/LivePreview/Context/sizeReducer.js +0 -41
- package/dist/pages/LivePreview/Device/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/Device/index.js +0 -102
- package/dist/pages/LivePreview/DeviceContainer/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/DeviceContainer/index.js +0 -44
- package/dist/pages/LivePreview/IFrame/index.d.ts +0 -8
- package/dist/pages/LivePreview/IFrame/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/IFrame/index.js +0 -74
- package/dist/pages/LivePreview/Preview/index.d.ts +0 -5
- package/dist/pages/LivePreview/Preview/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/Preview/index.js +0 -127
- package/dist/pages/LivePreview/Toolbar/Controls/index.d.ts +0 -5
- package/dist/pages/LivePreview/Toolbar/Controls/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/Toolbar/Controls/index.js +0 -96
- package/dist/pages/LivePreview/Toolbar/SizeInput/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/Toolbar/SizeInput/index.js +0 -112
- package/dist/pages/LivePreview/Toolbar/index.d.ts +0 -7
- package/dist/pages/LivePreview/Toolbar/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/Toolbar/index.js +0 -65
- package/dist/pages/LivePreview/ToolbarArea/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/ToolbarArea/index.js +0 -32
- package/dist/pages/LivePreview/index.client.d.ts +0 -11
- package/dist/pages/LivePreview/index.client.d.ts.map +0 -1
- package/dist/pages/LivePreview/index.client.js +0 -195
- package/dist/pages/LivePreview/index.d.ts +0 -5
- package/dist/pages/LivePreview/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/index.js +0 -59
- package/dist/pages/LivePreview/meta.d.ts +0 -3
- package/dist/pages/LivePreview/meta.d.ts.map +0 -1
- package/dist/pages/LivePreview/meta.js +0 -36
- package/dist/pages/LivePreview/usePopupWindow.d.ts.map +0 -1
- package/dist/pages/LivePreview/usePopupWindow.js +0 -112
- package/dist/pages/Login/LoginForm/index.d.ts.map +0 -1
- package/dist/pages/Login/LoginForm/index.js +0 -67
- package/dist/pages/Login/index.d.ts +0 -14
- package/dist/pages/Login/index.d.ts.map +0 -1
- package/dist/pages/Login/index.js +0 -108
- package/dist/pages/Login/index.scss +0 -38
- package/dist/pages/Logout/LogoutClient.d.ts.map +0 -1
- package/dist/pages/Logout/LogoutClient.js +0 -88
- package/dist/pages/Logout/index.d.ts +0 -16
- package/dist/pages/Logout/index.d.ts.map +0 -1
- package/dist/pages/Logout/index.js +0 -61
- package/dist/pages/NotFound/index.d.ts +0 -7
- package/dist/pages/NotFound/index.d.ts.map +0 -1
- package/dist/pages/NotFound/index.js +0 -48
- package/dist/pages/NotFound/index.scss +0 -36
- package/dist/pages/ResetPassword/index.d.ts +0 -12
- package/dist/pages/ResetPassword/index.d.ts.map +0 -1
- package/dist/pages/ResetPassword/index.js +0 -99
- package/dist/pages/ResetPassword/index.scss +0 -15
- package/dist/pages/Root/index.d.ts +0 -5
- package/dist/pages/Root/index.d.ts.map +0 -1
- package/dist/pages/Root/index.js +0 -17
- package/dist/pages/Unauthorized/UnauthorizedClient.d.ts +0 -5
- package/dist/pages/Unauthorized/UnauthorizedClient.d.ts.map +0 -1
- package/dist/pages/Unauthorized/UnauthorizedClient.js +0 -27
- package/dist/pages/Unauthorized/index.d.ts +0 -10
- package/dist/pages/Unauthorized/index.d.ts.map +0 -1
- package/dist/pages/Unauthorized/index.js +0 -51
- package/dist/pages/Verify/index.d.ts +0 -13
- package/dist/pages/Verify/index.d.ts.map +0 -1
- package/dist/pages/Verify/index.js +0 -90
- package/dist/pages/Version/Default/SetStepNav.d.ts +0 -13
- package/dist/pages/Version/Default/SetStepNav.d.ts.map +0 -1
- package/dist/pages/Version/Default/SetStepNav.js +0 -92
- package/dist/pages/Version/Default/index.d.ts +0 -5
- package/dist/pages/Version/Default/index.d.ts.map +0 -1
- package/dist/pages/Version/Default/index.js +0 -157
- package/dist/pages/Version/Default/types.d.ts +0 -24
- package/dist/pages/Version/Default/types.d.ts.map +0 -1
- package/dist/pages/Version/Default/types.js +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/Label/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/Label/index.js +0 -24
- package/dist/pages/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/Iterable/index.js +0 -80
- package/dist/pages/Version/RenderFieldsToDiff/fields/Nested/index.d.ts +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/fields/Nested/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/Nested/index.js +0 -44
- package/dist/pages/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/Relationship/index.js +0 -89
- package/dist/pages/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.js +0 -72
- package/dist/pages/Version/RenderFieldsToDiff/fields/Select/index.d.ts +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/fields/Select/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/Select/index.js +0 -54
- package/dist/pages/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts +0 -5
- package/dist/pages/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/Tabs/index.js +0 -54
- package/dist/pages/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.js +0 -72
- package/dist/pages/Version/RenderFieldsToDiff/fields/Text/index.d.ts +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/fields/Text/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/Text/index.js +0 -46
- package/dist/pages/Version/RenderFieldsToDiff/fields/diffMethods.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/diffMethods.js +0 -18
- package/dist/pages/Version/RenderFieldsToDiff/fields/index.d.ts +0 -25
- package/dist/pages/Version/RenderFieldsToDiff/fields/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/index.js +0 -44
- package/dist/pages/Version/RenderFieldsToDiff/fields/styles.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/styles.js +0 -38
- package/dist/pages/Version/RenderFieldsToDiff/fields/types.d.ts +0 -21
- package/dist/pages/Version/RenderFieldsToDiff/fields/types.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/fields/types.js +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/index.d.ts +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/index.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/index.js +0 -115
- package/dist/pages/Version/RenderFieldsToDiff/types.d.ts +0 -20
- package/dist/pages/Version/RenderFieldsToDiff/types.d.ts.map +0 -1
- package/dist/pages/Version/RenderFieldsToDiff/types.js +0 -6
- package/dist/pages/Version/Restore/index.d.ts +0 -6
- package/dist/pages/Version/Restore/index.d.ts.map +0 -1
- package/dist/pages/Version/Restore/index.js +0 -121
- package/dist/pages/Version/Restore/index.scss +0 -28
- package/dist/pages/Version/Restore/types.d.ts +0 -11
- package/dist/pages/Version/Restore/types.d.ts.map +0 -1
- package/dist/pages/Version/Restore/types.js +0 -6
- package/dist/pages/Version/SelectComparison/index.d.ts +0 -5
- package/dist/pages/Version/SelectComparison/index.d.ts.map +0 -1
- package/dist/pages/Version/SelectComparison/index.js +0 -167
- package/dist/pages/Version/SelectComparison/types.d.ts +0 -27
- package/dist/pages/Version/SelectComparison/types.d.ts.map +0 -1
- package/dist/pages/Version/SelectComparison/types.js +0 -6
- package/dist/pages/Version/SelectLocales/index.d.ts +0 -5
- package/dist/pages/Version/SelectLocales/index.d.ts.map +0 -1
- package/dist/pages/Version/SelectLocales/index.js +0 -47
- package/dist/pages/Version/SelectLocales/types.d.ts +0 -7
- package/dist/pages/Version/SelectLocales/types.d.ts.map +0 -1
- package/dist/pages/Version/SelectLocales/types.js +0 -6
- package/dist/pages/Version/index.d.ts +0 -4
- package/dist/pages/Version/index.d.ts.map +0 -1
- package/dist/pages/Version/index.js +0 -111
- package/dist/pages/Version/meta.d.ts +0 -3
- package/dist/pages/Version/meta.d.ts.map +0 -1
- package/dist/pages/Version/meta.js +0 -47
- package/dist/pages/Version/shared.d.ts.map +0 -1
- package/dist/pages/Version/shared.js +0 -28
- package/dist/pages/Versions/buildColumns.d.ts +0 -11
- package/dist/pages/Versions/buildColumns.d.ts.map +0 -1
- package/dist/pages/Versions/buildColumns.js +0 -69
- package/dist/pages/Versions/cells/AutosaveCell/index.d.ts.map +0 -1
- package/dist/pages/Versions/cells/AutosaveCell/index.js +0 -63
- package/dist/pages/Versions/cells/CreatedAt/index.d.ts.map +0 -1
- package/dist/pages/Versions/cells/CreatedAt/index.js +0 -33
- package/dist/pages/Versions/cells/ID/index.d.ts.map +0 -1
- package/dist/pages/Versions/cells/ID/index.js +0 -60
- package/dist/pages/Versions/index.client.d.ts +0 -15
- package/dist/pages/Versions/index.client.d.ts.map +0 -1
- package/dist/pages/Versions/index.client.js +0 -142
- package/dist/pages/Versions/index.d.ts +0 -6
- package/dist/pages/Versions/index.d.ts.map +0 -1
- package/dist/pages/Versions/index.js +0 -125
- package/dist/pages/Versions/meta.d.ts +0 -3
- package/dist/pages/Versions/meta.d.ts.map +0 -1
- package/dist/pages/Versions/meta.js +0 -43
- package/dist/pages/Versions/types.d.ts.map +0 -1
- package/dist/pages/Versions/types.js +0 -6
- package/dist/routes/rest/RouteError.d.ts +0 -13
- package/dist/routes/rest/RouteError.d.ts.map +0 -1
- package/dist/routes/rest/RouteError.js +0 -104
- package/dist/routes/rest/[collection]/file/[filename]/route.d.ts +0 -8
- package/dist/routes/rest/[collection]/file/[filename]/route.d.ts.map +0 -1
- package/dist/routes/rest/[collection]/file/[filename]/route.js +0 -116
- package/dist/scss/fonts.scss +0 -75
- package/dist/static/SuisseIntl-Bold.2211c494.woff +0 -0
- package/dist/static/SuisseIntl-Bold.9c7dfd00.woff2 +0 -0
- package/dist/static/SuisseIntl-Medium.5b718d97.woff2 +0 -0
- package/dist/static/SuisseIntl-Medium.d7aeda9e.woff +0 -0
- package/dist/static/SuisseIntl-SemiBold.40ad7515.woff2 +0 -0
- package/dist/static/SuisseIntl-SemiBold.e7caa9e1.woff +0 -0
- package/dist/static/SuisseIntl.51922ceb.woff2 +0 -0
- package/dist/static/SuisseIntl.8b4ddd0d.woff +0 -0
- package/dist/static/merriweather-v30-latin-900.52244336.woff2 +0 -0
- package/dist/static/merriweather-v30-latin-900.efe8f6a3.woff +0 -0
- package/dist/static/merriweather-v30-latin-900italic.78b8935f.woff +0 -0
- package/dist/static/merriweather-v30-latin-900italic.f53bb8d4.woff2 +0 -0
- package/dist/static/merriweather-v30-latin-italic.8f612153.woff +0 -0
- package/dist/static/merriweather-v30-latin-italic.a1cfdc5b.woff2 +0 -0
- package/dist/static/merriweather-v30-latin-regular.787999a6.woff +0 -0
- package/dist/static/merriweather-v30-latin-regular.e009f214.woff2 +0 -0
- package/dist/styles.css +0 -1
- package/dist/utilities/auth.d.ts +0 -10
- package/dist/utilities/auth.d.ts.map +0 -1
- package/dist/utilities/auth.js +0 -42
- package/dist/utilities/createClientConfig.d.ts +0 -5
- package/dist/utilities/createClientConfig.d.ts.map +0 -1
- package/dist/utilities/createClientConfig.js +0 -120
- package/dist/utilities/getNextI18n.d.ts +0 -7
- package/dist/utilities/getNextI18n.d.ts.map +0 -1
- package/dist/utilities/getNextI18n.js +0 -28
- package/dist/utilities/getNextT.d.ts +0 -7
- package/dist/utilities/getNextT.d.ts.map +0 -1
- package/dist/utilities/getNextT.js +0 -28
- package/dist/utilities/initPage.d.ts +0 -21
- package/dist/utilities/initPage.d.ts.map +0 -1
- package/dist/utilities/initPage.js +0 -79
- package/src/index.ts +0 -6
- /package/dist/{next-fileupload → fetchAPI-multipart}/isEligibleRequest.d.ts +0 -0
- /package/dist/{next-fileupload → fetchAPI-multipart}/processNested.d.ts +0 -0
- /package/dist/{next-fileupload → fetchAPI-multipart}/uploadTimer.d.ts +0 -0
- /package/dist/{pages → views}/API/RenderJSON/index.d.ts +0 -0
- /package/dist/{pages → views}/API/RenderJSON/index.scss +0 -0
- /package/dist/{pages → views}/API/index.scss +0 -0
- /package/dist/{pages → views}/Account/Settings/index.d.ts +0 -0
- /package/dist/{pages → views}/Account/Settings/index.scss +0 -0
- /package/dist/{pages → views}/Account/ToggleTheme/index.d.ts +0 -0
- /package/dist/{pages → views}/Dashboard/Default/index.scss +0 -0
- /package/dist/{pages → views}/Edit/Default/Auth/index.scss +0 -0
- /package/dist/{pages → views}/Edit/Default/Auth/types.d.ts +0 -0
- /package/dist/{pages → views}/Edit/Default/index.d.ts +0 -0
- /package/dist/{pages → views}/Edit/Default/index.scss +0 -0
- /package/dist/{pages → views}/Edit/Default/types.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/index.scss +0 -0
- /package/dist/{pages → views}/LivePreview/Context/collisionDetection.d.ts +0 -0
- /package/dist/{pages → views}/LivePreview/Context/sizeReducer.d.ts +0 -0
- /package/dist/{pages → views}/LivePreview/Device/index.d.ts +0 -0
- /package/dist/{pages → views}/LivePreview/DeviceContainer/index.d.ts +0 -0
- /package/dist/{pages → views}/LivePreview/IFrame/index.scss +0 -0
- /package/dist/{pages → views}/LivePreview/Preview/index.scss +0 -0
- /package/dist/{pages → views}/LivePreview/Toolbar/Controls/index.scss +0 -0
- /package/dist/{pages → views}/LivePreview/Toolbar/SizeInput/index.d.ts +0 -0
- /package/dist/{pages → views}/LivePreview/Toolbar/SizeInput/index.scss +0 -0
- /package/dist/{pages → views}/LivePreview/Toolbar/index.scss +0 -0
- /package/dist/{pages → views}/LivePreview/ToolbarArea/index.d.ts +0 -0
- /package/dist/{pages → views}/LivePreview/ToolbarArea/index.scss +0 -0
- /package/dist/{pages → views}/LivePreview/index.scss +0 -0
- /package/dist/{pages → views}/LivePreview/usePopupWindow.d.ts +0 -0
- /package/dist/{pages → views}/Login/LoginForm/index.d.ts +0 -0
- /package/dist/{pages → views}/Login/LoginForm/index.scss +0 -0
- /package/dist/{pages → views}/Logout/LogoutClient.d.ts +0 -0
- /package/dist/{pages → views}/Logout/index.scss +0 -0
- /package/dist/{pages → views}/Verify/index.scss +0 -0
- /package/dist/{pages → views}/Version/Default/index.scss +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/Label/index.d.ts +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/Label/index.scss +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Iterable/index.scss +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Nested/index.scss +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Relationship/index.scss +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.d.ts +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Select/index.scss +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.d.ts +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Text/index.scss +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/diffMethods.d.ts +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/styles.d.ts +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/index.scss +0 -0
- /package/dist/{pages → views}/Version/SelectComparison/index.scss +0 -0
- /package/dist/{pages → views}/Version/SelectLocales/index.scss +0 -0
- /package/dist/{pages → views}/Version/shared.d.ts +0 -0
- /package/dist/{pages → views}/Versions/cells/AutosaveCell/index.d.ts +0 -0
- /package/dist/{pages → views}/Versions/cells/CreatedAt/index.d.ts +0 -0
- /package/dist/{pages → views}/Versions/cells/ID/index.d.ts +0 -0
- /package/dist/{pages → views}/Versions/index.scss +0 -0
- /package/dist/{pages → views}/Versions/types.d.ts +0 -0
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "ToggleTheme", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return ToggleTheme;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
const _ui = require("@payloadcms/ui");
|
|
13
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
14
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
15
|
-
if (typeof WeakMap !== "function") return null;
|
|
16
|
-
var cacheBabelInterop = new WeakMap();
|
|
17
|
-
var cacheNodeInterop = new WeakMap();
|
|
18
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
19
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
20
|
-
})(nodeInterop);
|
|
21
|
-
}
|
|
22
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
23
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
24
|
-
return obj;
|
|
25
|
-
}
|
|
26
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
27
|
-
return {
|
|
28
|
-
default: obj
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
32
|
-
if (cache && cache.has(obj)) {
|
|
33
|
-
return cache.get(obj);
|
|
34
|
-
}
|
|
35
|
-
var newObj = {
|
|
36
|
-
__proto__: null
|
|
37
|
-
};
|
|
38
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
39
|
-
for(var key in obj){
|
|
40
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
41
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
42
|
-
if (desc && (desc.get || desc.set)) {
|
|
43
|
-
Object.defineProperty(newObj, key, desc);
|
|
44
|
-
} else {
|
|
45
|
-
newObj[key] = obj[key];
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
newObj.default = obj;
|
|
50
|
-
if (cache) {
|
|
51
|
-
cache.set(obj, newObj);
|
|
52
|
-
}
|
|
53
|
-
return newObj;
|
|
54
|
-
}
|
|
55
|
-
const ToggleTheme = ()=>{
|
|
56
|
-
const { autoMode, setTheme, theme } = (0, _ui.useTheme)();
|
|
57
|
-
const { t } = (0, _ui.useTranslation)();
|
|
58
|
-
const onChange = (0, _react.useCallback)((newTheme)=>{
|
|
59
|
-
setTheme(newTheme);
|
|
60
|
-
}, [
|
|
61
|
-
setTheme
|
|
62
|
-
]);
|
|
63
|
-
return /*#__PURE__*/ _react.default.createElement(_ui.RadioGroupInput, {
|
|
64
|
-
label: t('general:adminTheme'),
|
|
65
|
-
name: "theme",
|
|
66
|
-
onChange: onChange,
|
|
67
|
-
options: [
|
|
68
|
-
{
|
|
69
|
-
label: t('general:automatic'),
|
|
70
|
-
value: 'auto'
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
label: t('general:light'),
|
|
74
|
-
value: 'light'
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
label: t('general:dark'),
|
|
78
|
-
value: 'dark'
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
value: autoMode ? 'auto' : theme
|
|
82
|
-
});
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWdlcy9BY2NvdW50L1RvZ2dsZVRoZW1lL2luZGV4LnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcbmltcG9ydCB0eXBlIHsgT25DaGFuZ2UsIFRoZW1lIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5cbmltcG9ydCB7IHVzZVRyYW5zbGF0aW9uIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5pbXBvcnQgeyBSYWRpb0dyb3VwSW5wdXQsIHVzZVRoZW1lIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5pbXBvcnQgUmVhY3QsIHsgdXNlQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCdcblxuZXhwb3J0IGNvbnN0IFRvZ2dsZVRoZW1lOiBSZWFjdC5GQyA9ICgpID0+IHtcbiAgY29uc3QgeyBhdXRvTW9kZSwgc2V0VGhlbWUsIHRoZW1lIH0gPSB1c2VUaGVtZSgpXG4gIGNvbnN0IHsgdCB9ID0gdXNlVHJhbn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lQUFBQTs7O29CQUprQjsrREFFSTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRTVCLE1BQU1BLGNBQXdCO0lBQ25DLE1BQU0sRUFBRUMsUUFBUSxFQUFFQyxRQUFRLEVBQUVDLEtBQUssRUFBRSxHQUFHQyxJQUFBQSxZQUFRO0lBQzlDLE1BQU0sRUFBRUMsQ0FBQyxFQUFFLEdBQUdDLElBQUFBLGtCQUFjO0lBRTVCLE1BQU1DLFdBQVdDLElBQUFBLGtCQUFXLEVBQzFCLENBQUNDO1FBQ0NQLFNBQVNPO0lBQ1gsR0FDQTtRQUFDUDtLQUFTO0lBR1oscUJBQ0UsNkJBQUNRLG1CQUFlO1FBQ2RDLE9BQU9OLEVBQUU7UUFDVE8sTUFBSztRQUNMTCxVQUFVQTtRQUNWTSxTQUFTO1lBQ1A7Z0JBQ0VGLE9BQU9OLEVBQUU7Z0JBQ1RTLE9BQU87WUFDVDtZQUNBO2dCQUNFSCxPQUFPTixFQUFFO2dCQUNUUyxPQUFPO1lBQ1Q7WUFDQTtnQkFDRUgsT0FBT04sRUFBRTtnQkFDVFMsT0FBTztZQUNUO1NBQ0Q7UUFDREEsT0FBT2IsV0FBVyxTQUFTRTs7QUFHakMifQ==
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Metadata } from 'next';
|
|
2
|
-
import type { SanitizedConfig } from 'payload/types';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export declare const generateMetadata: ({ config: configPromise, }: {
|
|
5
|
-
config: Promise<SanitizedConfig>;
|
|
6
|
-
}) => Promise<Metadata>;
|
|
7
|
-
export declare const Account: ({ config: configPromise, searchParams, }: {
|
|
8
|
-
config: Promise<SanitizedConfig>;
|
|
9
|
-
searchParams: {
|
|
10
|
-
[key: string]: string | string[];
|
|
11
|
-
};
|
|
12
|
-
}) => Promise<React.JSX.Element>;
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/Account/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;AACpC,OAAO,KAAK,EAA6B,eAAe,EAAE,MAAM,eAAe,CAAA;AAU/E,OAAO,KAAmB,MAAM,OAAO,CAAA;AAUvC,eAAO,MAAM,gBAAgB,+BAE1B;IACD,MAAM,EAAE,QAAQ,eAAe,CAAC,CAAA;CACjC,KAAG,QAAQ,QAAQ,CAanB,CAAA;AAED,eAAO,MAAM,OAAO;YAIV,QAAQ,eAAe,CAAC;;;;gCAqHjC,CAAA"}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: all[name]
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
Account: function() {
|
|
13
|
-
return Account;
|
|
14
|
-
},
|
|
15
|
-
generateMetadata: function() {
|
|
16
|
-
return generateMetadata;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _ui = require("@payloadcms/ui");
|
|
20
|
-
const _navigation = require("next/navigation");
|
|
21
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
22
|
-
const _getNextI18n = require("../../utilities/getNextI18n");
|
|
23
|
-
const _initPage = require("../../utilities/initPage");
|
|
24
|
-
const _meta = require("../../utilities/meta");
|
|
25
|
-
const _Edit = require("../Edit");
|
|
26
|
-
const _Settings = require("./Settings");
|
|
27
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
28
|
-
if (typeof WeakMap !== "function") return null;
|
|
29
|
-
var cacheBabelInterop = new WeakMap();
|
|
30
|
-
var cacheNodeInterop = new WeakMap();
|
|
31
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
32
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
33
|
-
})(nodeInterop);
|
|
34
|
-
}
|
|
35
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
36
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
37
|
-
return obj;
|
|
38
|
-
}
|
|
39
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
40
|
-
return {
|
|
41
|
-
default: obj
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
45
|
-
if (cache && cache.has(obj)) {
|
|
46
|
-
return cache.get(obj);
|
|
47
|
-
}
|
|
48
|
-
var newObj = {
|
|
49
|
-
__proto__: null
|
|
50
|
-
};
|
|
51
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
52
|
-
for(var key in obj){
|
|
53
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
54
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
55
|
-
if (desc && (desc.get || desc.set)) {
|
|
56
|
-
Object.defineProperty(newObj, key, desc);
|
|
57
|
-
} else {
|
|
58
|
-
newObj[key] = obj[key];
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
newObj.default = obj;
|
|
63
|
-
if (cache) {
|
|
64
|
-
cache.set(obj, newObj);
|
|
65
|
-
}
|
|
66
|
-
return newObj;
|
|
67
|
-
}
|
|
68
|
-
const generateMetadata = async ({ config: configPromise })=>{
|
|
69
|
-
const config = await configPromise;
|
|
70
|
-
const { t } = await (0, _getNextI18n.getNextI18n)({
|
|
71
|
-
config
|
|
72
|
-
});
|
|
73
|
-
return (0, _meta.meta)({
|
|
74
|
-
config,
|
|
75
|
-
description: `${t('authentication:accountOfCurrentUser')}`,
|
|
76
|
-
keywords: `${t('authentication:account')}`,
|
|
77
|
-
title: t('authentication:account')
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
const Account = async ({ config: configPromise, searchParams })=>{
|
|
81
|
-
const { locale, permissions, req } = await (0, _initPage.initPage)({
|
|
82
|
-
config: configPromise,
|
|
83
|
-
redirectUnauthenticatedUser: true,
|
|
84
|
-
route: `/account`,
|
|
85
|
-
searchParams
|
|
86
|
-
});
|
|
87
|
-
const { payload, payload: { config }, user } = req;
|
|
88
|
-
const { admin: { components: { views: { Account: CustomAccountComponent } = {} } = {}, user: userSlug }, routes: { api }, serverURL } = config;
|
|
89
|
-
const collectionPermissions = permissions?.collections?.[userSlug];
|
|
90
|
-
const collectionConfig = config.collections.find((collection)=>collection.slug === userSlug);
|
|
91
|
-
if (collectionConfig) {
|
|
92
|
-
const { fields } = collectionConfig;
|
|
93
|
-
let data;
|
|
94
|
-
try {
|
|
95
|
-
data = await payload.findByID({
|
|
96
|
-
id: user.id,
|
|
97
|
-
collection: userSlug,
|
|
98
|
-
depth: 0,
|
|
99
|
-
user
|
|
100
|
-
});
|
|
101
|
-
} catch (error) {
|
|
102
|
-
return (0, _navigation.notFound)();
|
|
103
|
-
}
|
|
104
|
-
const fieldSchema = (0, _ui.formatFields)(fields, true);
|
|
105
|
-
let preferencesKey;
|
|
106
|
-
if (user?.id) {
|
|
107
|
-
preferencesKey = `collection-${userSlug}-${user.id}`;
|
|
108
|
-
}
|
|
109
|
-
const { docs: [{ value: docPreferences } = {
|
|
110
|
-
value: null
|
|
111
|
-
}] = [] } = await payload.find({
|
|
112
|
-
collection: 'payload-preferences',
|
|
113
|
-
depth: 0,
|
|
114
|
-
limit: 1,
|
|
115
|
-
where: {
|
|
116
|
-
key: {
|
|
117
|
-
equals: preferencesKey
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
const initialState = await (0, _ui.buildStateFromSchema)({
|
|
122
|
-
id: user?.id,
|
|
123
|
-
data: data || {},
|
|
124
|
-
fieldSchema,
|
|
125
|
-
operation: 'update',
|
|
126
|
-
preferences: docPreferences,
|
|
127
|
-
req
|
|
128
|
-
});
|
|
129
|
-
const componentProps = {
|
|
130
|
-
id: user?.id,
|
|
131
|
-
action: `${serverURL}${api}/${userSlug}/${data?.id}?locale=${locale.code}`,
|
|
132
|
-
apiURL: `${serverURL}${api}/${userSlug}/${data?.id}?locale=${locale.code}`,
|
|
133
|
-
collectionSlug: userSlug,
|
|
134
|
-
config,
|
|
135
|
-
data,
|
|
136
|
-
docPermissions: collectionPermissions,
|
|
137
|
-
docPreferences,
|
|
138
|
-
hasSavePermission: collectionPermissions?.update?.permission,
|
|
139
|
-
i18n: req.i18n,
|
|
140
|
-
initialState,
|
|
141
|
-
locale,
|
|
142
|
-
payload,
|
|
143
|
-
permissions,
|
|
144
|
-
searchParams,
|
|
145
|
-
updatedAt: '',
|
|
146
|
-
user
|
|
147
|
-
};
|
|
148
|
-
return /*#__PURE__*/ _react.default.createElement(_react.Fragment, null, /*#__PURE__*/ _react.default.createElement(_ui.HydrateClientUser, {
|
|
149
|
-
permissions: permissions,
|
|
150
|
-
user: user
|
|
151
|
-
}), /*#__PURE__*/ _react.default.createElement(_ui.SetDocumentInfo, {
|
|
152
|
-
AfterFields: /*#__PURE__*/ _react.default.createElement(_Settings.Settings, null),
|
|
153
|
-
action: `${serverURL}${api}/${userSlug}/${data?.id}?locale=${locale.code}`,
|
|
154
|
-
apiURL: `${serverURL}${api}/${userSlug}/${data?.id}?locale=${locale.code}`,
|
|
155
|
-
collectionSlug: userSlug,
|
|
156
|
-
docPermissions: collectionPermissions,
|
|
157
|
-
docPreferences: docPreferences,
|
|
158
|
-
hasSavePermission: collectionPermissions?.update?.permission,
|
|
159
|
-
id: user?.id,
|
|
160
|
-
initialData: data,
|
|
161
|
-
initialState: initialState
|
|
162
|
-
}), /*#__PURE__*/ _react.default.createElement(_ui.RenderCustomComponent, {
|
|
163
|
-
CustomComponent: typeof CustomAccountComponent === 'function' ? CustomAccountComponent : undefined,
|
|
164
|
-
DefaultComponent: _Edit.EditView,
|
|
165
|
-
componentProps: componentProps
|
|
166
|
-
}));
|
|
167
|
-
}
|
|
168
|
-
return (0, _navigation.notFound)();
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWdlcy9BY2NvdW50L2luZGV4LnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IE1ldGFkYXRhIH0gZnJvbSAnbmV4dCdcbmltcG9ydCB0eXBlIHsgRGF0YSwgRG9jdW1lbnRQcmVmZXJlbmNlcywgU2FuaXRpemVkQ29uZmlnIH0gZnJvbSAncGF5bG9hZC90eXBlcydcblxuaW1wb3J0IHtcbiAgSHlkcmF0ZUNsaWVudFVzZXIsXG4gIFJlbmRlckN1c3RvbUNvbXBvbmVudCxcbiAgU2V0RG9jdW1lbnRJbmZvLFxuICBidWlsZFN0YXRlRnJvbVNjaGVtYSxcbiAgZm9ybWF0RmllbGRzLFxufSBmcm9tICdAcGF5bG9hZGNtcy91aSdcbmltcG9ydCB7IG5vdEZvdW5kIH0gZnJvbSAnbmV4dC9uYXZpZ2F0aW9uJ1xuaW1wb3J0IFJlYWN0LCB7IEZyYWdtZW50IH0gZnJvbSAncmVhY3QnXG5cbmltcG9ydCB0eXBlIHsgU2VydmVyU2lkZUVkaXRWaWV3UHJvcHMgfSBmcm9tICcuLi9FZGl0L3R5cGVzJ1xuXG5pbXBvcnQgeyBnZXROZXh0STE4biB9IGZyb20gJy4uLy4uL3V0aWxpdGllcy9nZXROZXh0STE4bidcbmltcG9ydCB7IGluaXRQYWdlIH0gZnJvbSAnLi4vLi4vdXRpbGl0aWVzL2luaXRQYWdlJ1xuaW1wb3J0IHsgbWV0YSB9IGZyb20gJy4uLy4uL3V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JLENBQUMsRUFBRUYsU0FBUyxDQUFDLEVBQUVXLE1BQU1FLEdBQUcsUUFBUSxFQUFFekIsT0FBTzZDLElBQUksQ0FBQyxDQUFDO1lBQzFFRSxnQkFBZ0JuQztZQUNoQm9DLGdCQUFnQmhDO1lBQ2hCa0IsZ0JBQWdCQTtZQUNoQmUsbUJBQW1CakMsdUJBQXVCa0MsUUFBUUM7WUFDbEQxQixJQUFJbEIsTUFBTWtCO1lBQ1ZrQyxhQUFhcEM7WUFDYmdCLGNBQWNBOzBCQUVoQiw2QkFBQ3FCLHlCQUFxQjtZQUNwQkMsaUJBQ0UsT0FBT2xELDJCQUEyQixhQUFhQSx5QkFBeUJtRDtZQUUxRUMsa0JBQWtCQyxjQUFRO1lBQzFCckIsZ0JBQWdCQTs7SUFJeEI7SUFFQSxPQUFPZixJQUFBQSxvQkFBUTtBQUNqQiJ9
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.client.d.ts","sourceRoot":"","sources":["../../../src/pages/CreateFirstUser/index.client.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,QAAQ,EAAE,MAAM,CAAA;CACjB,CAMA,CAAA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "CreateFirstUserFields", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return CreateFirstUserFields;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
const _ui = require("@payloadcms/ui");
|
|
13
|
-
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
|
|
14
|
-
function _interop_require_default(obj) {
|
|
15
|
-
return obj && obj.__esModule ? obj : {
|
|
16
|
-
default: obj
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
const CreateFirstUserFields = ({ userSlug })=>{
|
|
20
|
-
const { getFieldMap } = (0, _ui.useComponentMap)();
|
|
21
|
-
const fieldMap = getFieldMap({
|
|
22
|
-
collectionSlug: userSlug
|
|
23
|
-
});
|
|
24
|
-
return /*#__PURE__*/ _react.default.createElement(_ui.RenderFields, {
|
|
25
|
-
fieldMap: fieldMap
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWdlcy9DcmVhdGVGaXJzdFVzZXIvaW5kZXguY2xpZW50LnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcbmltcG9ydCB7IFJlbmRlckZpZWxkcywgdXNlQ29tcG9uZW50TWFwIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnXG5cbmV4cG9ydCBjb25zdCBDcmVhdGVGaXJzdFVzZXJGaWVsZHM6IFJlYWN0LkZDPHtcbiAgdXNlclNsdWc6IHN0cmluZ1xufT4gPSAoeyB1c2VyU2x1ZyB9KSA9PiB7XG4gIGNvbnN0IHsgZ2V0RmllbGRNYXAgfSA9IHVzZUNvbXBvbmVudE1hcCgpXG5cbiAgY29uc3QgZmllbGRNYXAgPSBnZXRGaWVsZE1hcCh7IGNvbGxlY3Rpb25TbHVnOiB1c2VyU2x1ZyB9KVxuXG4gIHJldHVybiA8UmVuZGVyRmllbGRzIGZpZWxkTWFwPXtmaWVsZE1hcH0gLz5cbn1cbiJdLCJuYW1lcyI6WyJDcmVhdGVGaXJzdFVzZXJGaWVsZHMiLCJ1c2VyU2x1ZyIsImdldEZpZWxkTWFwIiwidXNlQ29tcG9uZW50TWFwIiwiZmllbGRNYXAiLCJjb2xsZWN0aW9uU2x1ZyIsIlJlbmRlckZpZWxkcyJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OytCQUlhQTs7O2VBQUFBOzs7b0JBSGlDOzhEQUM1Qjs7Ozs7O0FBRVgsTUFBTUEsd0JBRVIsQ0FBQyxFQUFFQyxRQUFRLEVBQUU7SUFDaEIsTUFBTSxFQUFFQyxXQUFXLEVBQUUsR0FBR0MsSUFBQUEsbUJBQWU7SUFFdkMsTUFBTUMsV0FBV0YsWUFBWTtRQUFFRyxnQkFBZ0JKO0lBQVM7SUFFeEQscUJBQU8sNkJBQUNLLGdCQUFZO1FBQUNGLFVBQVVBOztBQUNqQyJ9
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Metadata } from 'next';
|
|
2
|
-
import type { SanitizedConfig } from 'payload/types';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import './index.scss';
|
|
5
|
-
export declare const generateMetadata: ({ config: configPromise, }: {
|
|
6
|
-
config: Promise<SanitizedConfig>;
|
|
7
|
-
}) => Promise<Metadata>;
|
|
8
|
-
export declare const CreateFirstUser: React.FC<{
|
|
9
|
-
config: Promise<SanitizedConfig>;
|
|
10
|
-
}>;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/CreateFirstUser/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAGpD,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,cAAc,CAAA;AAIrB,eAAO,MAAM,gBAAgB,+BAE1B;IACD,MAAM,EAAE,QAAQ,eAAe,CAAC,CAAA;CACjC,KAAG,QAAQ,QAAQ,CAanB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;IACrC,MAAM,EAAE,OAAO,CAAC,eAAe,CAAC,CAAA;CACjC,CA2DA,CAAA"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: all[name]
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
CreateFirstUser: function() {
|
|
13
|
-
return CreateFirstUser;
|
|
14
|
-
},
|
|
15
|
-
generateMetadata: function() {
|
|
16
|
-
return generateMetadata;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _ui = require("@payloadcms/ui");
|
|
20
|
-
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
|
|
21
|
-
const _getNextI18n = require("../../utilities/getNextI18n");
|
|
22
|
-
const _initPage = require("../../utilities/initPage");
|
|
23
|
-
const _meta = require("../../utilities/meta");
|
|
24
|
-
const _indexclient = require("./index.client");
|
|
25
|
-
require("./index.scss");
|
|
26
|
-
function _interop_require_default(obj) {
|
|
27
|
-
return obj && obj.__esModule ? obj : {
|
|
28
|
-
default: obj
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
const baseClass = 'create-first-user';
|
|
32
|
-
const generateMetadata = async ({ config: configPromise })=>{
|
|
33
|
-
const config = await configPromise;
|
|
34
|
-
const { t } = await (0, _getNextI18n.getNextI18n)({
|
|
35
|
-
config
|
|
36
|
-
});
|
|
37
|
-
return (0, _meta.meta)({
|
|
38
|
-
config,
|
|
39
|
-
description: t('authentication:createFirstUser'),
|
|
40
|
-
keywords: t('general:create'),
|
|
41
|
-
title: t('authentication:createFirstUser')
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
const CreateFirstUser = async ({ config: configPromise })=>{
|
|
45
|
-
const { req } = await (0, _initPage.initPage)({
|
|
46
|
-
config: configPromise,
|
|
47
|
-
redirectUnauthenticatedUser: false
|
|
48
|
-
});
|
|
49
|
-
const { config } = req.payload;
|
|
50
|
-
const { admin: { user: userSlug }, routes: { admin: adminRoute, api: apiRoute }, serverURL } = config;
|
|
51
|
-
const fields = [
|
|
52
|
-
{
|
|
53
|
-
name: 'email',
|
|
54
|
-
type: 'email',
|
|
55
|
-
label: req.t('general:emailAddress'),
|
|
56
|
-
required: true
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: 'password',
|
|
60
|
-
type: 'password',
|
|
61
|
-
label: req.t('general:password'),
|
|
62
|
-
required: true
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
name: 'confirm-password',
|
|
66
|
-
type: 'confirmPassword',
|
|
67
|
-
label: req.t('authentication:confirmPassword'),
|
|
68
|
-
required: true
|
|
69
|
-
}
|
|
70
|
-
];
|
|
71
|
-
const formState = await (0, _ui.buildStateFromSchema)({
|
|
72
|
-
fieldSchema: fields,
|
|
73
|
-
operation: 'create',
|
|
74
|
-
preferences: {},
|
|
75
|
-
req
|
|
76
|
-
});
|
|
77
|
-
return /*#__PURE__*/ _react.default.createElement(_ui.MinimalTemplate, {
|
|
78
|
-
className: baseClass
|
|
79
|
-
}, /*#__PURE__*/ _react.default.createElement("h1", null, req.t('general:welcome')), /*#__PURE__*/ _react.default.createElement("p", null, req.t('authentication:beginCreateFirstUser')), /*#__PURE__*/ _react.default.createElement(_ui.Form, {
|
|
80
|
-
action: `${serverURL}${apiRoute}/${userSlug}/first-register`,
|
|
81
|
-
initialState: formState,
|
|
82
|
-
method: "POST",
|
|
83
|
-
// onSuccess={onSuccess}
|
|
84
|
-
redirect: adminRoute,
|
|
85
|
-
validationOperation: "create"
|
|
86
|
-
}, /*#__PURE__*/ _react.default.createElement(_indexclient.CreateFirstUserFields, {
|
|
87
|
-
userSlug: userSlug
|
|
88
|
-
}), /*#__PURE__*/ _react.default.createElement(_ui.FormSubmit, null, req.t('general:create'))));
|
|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