@payloadcms/next 3.0.0-alpha.3 → 3.0.0-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/index.js +5 -14
- package/dist/bin/install.js +16 -31
- package/dist/config.js +2 -12
- package/dist/elements/LeaveWithoutSaving/index.js +26 -76
- package/dist/elements/LeaveWithoutSaving/usePreventLeave.js +11 -29
- package/dist/exports/index.d.ts +1 -1
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/exports/index.js +2 -12
- package/dist/graphql/registerSchema.js +0 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/layouts/Admin/index.js +9 -32
- package/dist/layouts/Root/index.d.ts +1 -1
- package/dist/layouts/Root/index.d.ts.map +1 -1
- package/dist/layouts/Root/index.js +36 -54
- package/dist/next-fileupload/fileFactory.d.ts +2 -2
- package/dist/next-fileupload/fileFactory.d.ts.map +1 -1
- package/dist/next-fileupload/fileFactory.js +9 -19
- package/dist/next-fileupload/handlers.d.ts +2 -2
- package/dist/next-fileupload/handlers.d.ts.map +1 -1
- package/dist/next-fileupload/handlers.js +25 -89
- package/dist/next-fileupload/index.d.ts +1 -1
- package/dist/next-fileupload/index.js +10 -25
- package/dist/next-fileupload/isEligibleRequest.js +2 -12
- package/dist/next-fileupload/processMultipart.d.ts +1 -1
- package/dist/next-fileupload/processMultipart.d.ts.map +1 -1
- package/dist/next-fileupload/processMultipart.js +33 -46
- package/dist/next-fileupload/processNested.js +4 -14
- package/dist/next-fileupload/uploadTimer.js +2 -12
- package/dist/next-fileupload/utilities.d.ts +1 -1
- package/dist/next-fileupload/utilities.d.ts.map +1 -1
- package/dist/next-fileupload/utilities.js +31 -76
- package/dist/next-stream-file/index.d.ts +4 -0
- package/dist/next-stream-file/index.d.ts.map +1 -1
- package/dist/next-stream-file/index.js +6 -21
- package/dist/routes/graphql/handler.d.ts.map +1 -1
- package/dist/routes/graphql/handler.js +19 -36
- 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/playground.js +6 -16
- package/dist/routes/index.d.ts +3 -3
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +4 -37
- package/dist/routes/rest/RouteError.js +10 -25
- package/dist/routes/rest/[collection]/file/[filename]/route.d.ts.map +1 -1
- package/dist/routes/rest/[collection]/file/[filename]/route.js +33 -39
- 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 +6 -21
- 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 +6 -21
- 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 +4 -14
- 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 +10 -25
- 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 +9 -24
- 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 +8 -23
- 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 +11 -25
- 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 +8 -23
- 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 +8 -23
- 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 +6 -21
- 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 +6 -21
- package/dist/routes/rest/buildFormState.js +11 -34
- package/dist/routes/rest/checkEndpoints.d.ts.map +1 -1
- package/dist/routes/rest/checkEndpoints.js +4 -19
- 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 +8 -23
- 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 +14 -29
- 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 +9 -24
- 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 +6 -21
- 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 +12 -27
- 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 +8 -23
- 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 +8 -23
- 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 +12 -27
- 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 +8 -23
- 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 +14 -29
- 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 +8 -23
- 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 +6 -21
- 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 +8 -23
- 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 +8 -23
- 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 +12 -27
- 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 +8 -23
- 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 +8 -23
- package/dist/routes/rest/index.d.ts.map +1 -1
- package/dist/routes/rest/index.js +91 -120
- package/dist/routes/rest/types.js +2 -5
- package/dist/utilities/auth.d.ts +3 -3
- package/dist/utilities/auth.d.ts.map +1 -1
- package/dist/utilities/auth.js +7 -21
- package/dist/utilities/createPayloadRequest.d.ts.map +1 -1
- package/dist/utilities/createPayloadRequest.js +26 -31
- package/dist/utilities/getDataAndFile.js +4 -14
- package/dist/utilities/getNextI18n.js +11 -21
- package/dist/utilities/getNextT.js +11 -21
- package/dist/utilities/getPayload.d.ts +4 -0
- package/dist/utilities/getPayload.d.ts.map +1 -0
- package/dist/utilities/getPayload.js +62 -0
- package/dist/utilities/getRequestLanguage.d.ts +1 -1
- package/dist/utilities/getRequestLanguage.d.ts.map +1 -1
- package/dist/utilities/getRequestLanguage.js +4 -14
- package/dist/utilities/getRequestLocales.js +2 -12
- package/dist/utilities/initPage.d.ts +6 -15
- package/dist/utilities/initPage.d.ts.map +1 -1
- package/dist/utilities/initPage.js +45 -45
- package/dist/utilities/meta.js +5 -15
- 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/{pages → views}/API/RenderJSON/index.d.ts.map +1 -1
- package/dist/views/API/RenderJSON/index.js +91 -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 +178 -0
- package/dist/views/API/index.d.ts +4 -0
- package/dist/views/API/index.d.ts.map +1 -0
- package/dist/views/API/index.js +7 -0
- package/dist/{pages/LivePreview → views/API}/meta.d.ts +1 -1
- package/dist/views/API/meta.d.ts.map +1 -0
- package/dist/views/API/meta.js +11 -0
- package/dist/{pages → views}/Account/Settings/index.d.ts.map +1 -1
- package/dist/views/Account/Settings/index.js +30 -0
- package/dist/views/Account/ToggleTheme/index.d.ts.map +1 -0
- package/dist/views/Account/ToggleTheme/index.js +34 -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 +78 -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/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 +18 -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 +51 -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/{pages → views}/Dashboard/Default/index.client.d.ts +2 -0
- package/dist/views/Dashboard/Default/index.client.d.ts.map +1 -0
- package/dist/views/Dashboard/Default/index.client.js +99 -0
- package/dist/{pages → views}/Dashboard/Default/index.d.ts +2 -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/index.d.ts +5 -0
- package/dist/views/Dashboard/index.d.ts.map +1 -0
- package/dist/views/Dashboard/index.js +46 -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/{pages → views}/Document/getCustomViewByKey.d.ts +2 -2
- package/dist/views/Document/getCustomViewByKey.d.ts.map +1 -0
- package/dist/views/Document/getCustomViewByKey.js +5 -0
- package/dist/{pages → views}/Document/getCustomViewByPath.d.ts +2 -2
- package/dist/views/Document/getCustomViewByPath.d.ts.map +1 -0
- package/dist/views/Document/getCustomViewByPath.js +16 -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/{pages → views}/Document/getViewsFromConfig.d.ts +3 -3
- package/dist/views/Document/getViewsFromConfig.d.ts.map +1 -0
- package/dist/views/Document/getViewsFromConfig.js +155 -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 +158 -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/{pages → views}/Edit/Default/Auth/APIKey.d.ts.map +1 -1
- package/dist/views/Edit/Default/Auth/APIKey.js +89 -0
- package/dist/{pages → views}/Edit/Default/Auth/index.d.ts +1 -1
- package/dist/{pages → views}/Edit/Default/Auth/index.d.ts.map +1 -1
- package/dist/views/Edit/Default/Auth/index.js +124 -0
- package/dist/{pages → views}/Edit/Default/Auth/types.d.ts.map +1 -1
- package/dist/views/Edit/Default/Auth/types.js +3 -0
- package/dist/views/Edit/Default/SetDocumentTitle/formatTitle.d.ts +10 -0
- package/dist/views/Edit/Default/SetDocumentTitle/formatTitle.d.ts.map +1 -0
- package/dist/views/Edit/Default/SetDocumentTitle/formatTitle.js +20 -0
- package/dist/{pages → views}/Edit/Default/SetDocumentTitle/index.d.ts +1 -1
- package/dist/{pages → views}/Edit/Default/SetDocumentTitle/index.d.ts.map +1 -1
- package/dist/views/Edit/Default/SetDocumentTitle/index.js +28 -0
- package/dist/{pages → views}/Edit/Default/SetStepNav/index.d.ts +1 -1
- package/dist/{pages → views}/Edit/Default/SetStepNav/index.d.ts.map +1 -1
- package/dist/{pages → views}/Edit/Default/SetStepNav/index.js +12 -22
- package/dist/views/Edit/Default/index.d.ts.map +1 -0
- package/dist/views/Edit/Default/index.js +145 -0
- package/dist/{pages → views}/Edit/Default/types.d.ts.map +1 -1
- package/dist/views/Edit/Default/types.js +3 -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 +56 -0
- package/dist/views/Edit/index.d.ts +4 -0
- package/dist/views/Edit/index.d.ts.map +1 -0
- package/dist/views/Edit/index.js +7 -0
- package/dist/{pages/API → views/Edit}/meta.d.ts +1 -1
- package/dist/views/Edit/meta.d.ts.map +1 -0
- package/dist/views/Edit/meta.js +26 -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/ForgotPassword/index.d.ts +6 -0
- package/dist/views/ForgotPassword/index.d.ts.map +1 -0
- package/dist/views/ForgotPassword/index.js +58 -0
- package/dist/views/ForgotPassword/meta.d.ts +7 -0
- package/dist/views/ForgotPassword/meta.d.ts.map +1 -0
- package/dist/views/ForgotPassword/meta.js +11 -0
- package/dist/{pages → views}/List/Default/Cell/cellTypes.spec.js +21 -30
- package/dist/{pages → views}/List/Default/Cell/fields/Array/index.d.ts.map +1 -1
- package/dist/views/List/Default/Cell/fields/Array/index.js +12 -0
- package/dist/{pages → views}/List/Default/Cell/fields/Blocks/index.d.ts.map +1 -1
- package/dist/views/List/Default/Cell/fields/Blocks/index.js +30 -0
- package/dist/{pages → views}/List/Default/Cell/fields/Checkbox/index.d.ts.map +1 -1
- package/dist/views/List/Default/Cell/fields/Checkbox/index.js +8 -0
- package/dist/{pages → views}/List/Default/Cell/fields/Code/index.d.ts.map +1 -1
- package/dist/views/List/Default/Cell/fields/Code/index.js +14 -0
- package/dist/{pages → views}/List/Default/Cell/fields/Date/index.d.ts.map +1 -1
- package/dist/views/List/Default/Cell/fields/Date/index.js +11 -0
- package/dist/{pages → views}/List/Default/Cell/fields/File/index.d.ts.map +1 -1
- package/dist/{pages → views}/List/Default/Cell/fields/File/index.js +8 -23
- package/dist/{pages → views}/List/Default/Cell/fields/JSON/index.d.ts.map +1 -1
- package/dist/views/List/Default/Cell/fields/JSON/index.js +11 -0
- package/dist/{pages → views}/List/Default/Cell/fields/Relationship/index.d.ts.map +1 -1
- package/dist/views/List/Default/Cell/fields/Relationship/index.js +70 -0
- package/dist/{pages → views}/List/Default/Cell/fields/Select/index.d.ts.map +1 -1
- package/dist/{pages → views}/List/Default/Cell/fields/Select/index.js +10 -25
- package/dist/{pages → views}/List/Default/Cell/fields/Textarea/index.d.ts.map +1 -1
- package/dist/views/List/Default/Cell/fields/Textarea/index.js +8 -0
- package/dist/views/List/Default/Cell/fields/index.d.ts +17 -0
- package/dist/views/List/Default/Cell/fields/index.d.ts.map +1 -0
- package/dist/views/List/Default/Cell/fields/index.js +26 -0
- package/dist/views/List/Default/Cell/index.d.ts.map +1 -0
- package/dist/views/List/Default/Cell/index.js +75 -0
- package/dist/{pages → views}/List/Default/RelationshipProvider/index.d.ts.map +1 -1
- package/dist/views/List/Default/RelationshipProvider/index.js +89 -0
- package/dist/{pages → views}/List/Default/RelationshipProvider/reducer.d.ts +1 -1
- package/dist/{pages → views}/List/Default/RelationshipProvider/reducer.d.ts.map +1 -1
- package/dist/views/List/Default/RelationshipProvider/reducer.js +45 -0
- package/dist/views/List/Default/index.d.ts.map +1 -0
- package/dist/views/List/Default/index.js +130 -0
- package/dist/{pages → views}/List/Default/types.d.ts.map +1 -1
- package/dist/views/List/Default/types.js +3 -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 +70 -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/{pages → views}/LivePreview/Context/collisionDetection.d.ts.map +1 -1
- package/dist/{pages → views}/LivePreview/Context/collisionDetection.js +6 -14
- package/dist/{pages → views}/LivePreview/Context/context.d.ts +2 -2
- package/dist/views/LivePreview/Context/context.d.ts.map +1 -0
- package/dist/views/LivePreview/Context/context.js +40 -0
- package/dist/{pages → views}/LivePreview/Context/index.d.ts +3 -3
- package/dist/views/LivePreview/Context/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Context/index.js +157 -0
- package/dist/{pages → views}/LivePreview/Context/sizeReducer.d.ts.map +1 -1
- package/dist/{pages → views}/LivePreview/Context/sizeReducer.js +2 -12
- package/dist/{pages → views}/LivePreview/Device/index.d.ts.map +1 -1
- package/dist/views/LivePreview/Device/index.js +51 -0
- package/dist/{pages → views}/LivePreview/DeviceContainer/index.d.ts.map +1 -1
- package/dist/views/LivePreview/DeviceContainer/index.js +29 -0
- package/dist/{pages → views}/LivePreview/IFrame/index.d.ts.map +1 -1
- package/dist/views/LivePreview/IFrame/index.js +23 -0
- package/dist/{pages → views}/LivePreview/Preview/index.d.ts +1 -1
- package/dist/views/LivePreview/Preview/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Preview/index.js +76 -0
- package/dist/{pages → views}/LivePreview/Toolbar/Controls/index.d.ts +1 -1
- package/dist/views/LivePreview/Toolbar/Controls/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Toolbar/Controls/index.js +81 -0
- package/dist/{pages → views}/LivePreview/Toolbar/SizeInput/index.d.ts.map +1 -1
- package/dist/views/LivePreview/Toolbar/SizeInput/index.js +61 -0
- package/dist/{pages → views}/LivePreview/Toolbar/index.d.ts +1 -1
- package/dist/views/LivePreview/Toolbar/index.d.ts.map +1 -0
- package/dist/views/LivePreview/Toolbar/index.js +50 -0
- package/dist/{pages → views}/LivePreview/ToolbarArea/index.d.ts.map +1 -1
- package/dist/views/LivePreview/ToolbarArea/index.js +17 -0
- package/dist/views/LivePreview/index.client.d.ts.map +1 -0
- package/dist/views/LivePreview/index.client.js +142 -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 +45 -0
- package/dist/{pages/Version → views/LivePreview}/meta.d.ts +1 -1
- package/dist/views/LivePreview/meta.d.ts.map +1 -0
- package/dist/views/LivePreview/meta.js +26 -0
- package/dist/{pages → views}/LivePreview/usePopupWindow.d.ts.map +1 -1
- package/dist/{pages → views}/LivePreview/usePopupWindow.js +11 -21
- package/dist/{pages → views}/Login/LoginForm/index.d.ts.map +1 -1
- package/dist/views/Login/LoginForm/index.js +58 -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 +29 -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/Logout/LogoutClient.d.ts.map +1 -0
- package/dist/views/Logout/LogoutClient.js +33 -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 +26 -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/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 +38 -0
- package/dist/views/NotFound/index.d.ts +12 -0
- package/dist/views/NotFound/index.d.ts.map +1 -0
- package/dist/views/NotFound/index.js +20 -0
- package/dist/views/NotFound/meta.d.ts +7 -0
- package/dist/views/NotFound/meta.d.ts.map +1 -0
- package/dist/views/NotFound/meta.js +11 -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 +63 -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/Root/index.d.ts +31 -0
- package/dist/views/Root/index.d.ts.map +1 -0
- package/dist/views/Root/index.js +174 -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/Unauthorized/UnauthorizedClient.d.ts.map +1 -0
- package/dist/views/Unauthorized/UnauthorizedClient.js +15 -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 +11 -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/Verify/index.d.ts +7 -0
- package/dist/views/Verify/index.d.ts.map +1 -0
- package/dist/views/Verify/index.js +33 -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/{pages → views}/Version/Default/SetStepNav.d.ts.map +1 -1
- package/dist/{pages → views}/Version/Default/SetStepNav.js +13 -23
- package/dist/{pages → views}/Version/Default/index.d.ts +1 -1
- package/dist/views/Version/Default/index.d.ts.map +1 -0
- package/dist/views/Version/Default/index.js +100 -0
- package/dist/{pages → views}/Version/Default/types.d.ts +2 -7
- package/dist/views/Version/Default/types.d.ts.map +1 -0
- package/dist/views/Version/Default/types.js +3 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/Label/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/Label/index.js +9 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js +65 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Nested/index.d.ts +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Nested/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.js +29 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts.map +1 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js +75 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/DiffViewer/index.js +18 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Select/index.d.ts +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Select/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js +39 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js +39 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.js +18 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Text/index.d.ts +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/Text/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js +31 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/diffMethods.d.ts.map +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/diffMethods.js +2 -12
- package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts +25 -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/{pages → views}/Version/RenderFieldsToDiff/fields/styles.d.ts.map +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/styles.js +2 -12
- package/dist/{pages → views}/Version/RenderFieldsToDiff/fields/types.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/fields/types.js +3 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/index.d.ts +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/index.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/index.js +100 -0
- package/dist/{pages → views}/Version/RenderFieldsToDiff/types.d.ts +1 -1
- package/dist/{pages → views}/Version/RenderFieldsToDiff/types.d.ts.map +1 -1
- package/dist/views/Version/RenderFieldsToDiff/types.js +3 -0
- package/dist/{pages → views}/Version/Restore/index.d.ts +1 -1
- package/dist/views/Version/Restore/index.d.ts.map +1 -0
- package/dist/views/Version/Restore/index.js +71 -0
- package/dist/{pages → views}/Version/Restore/types.d.ts.map +1 -1
- package/dist/views/Version/Restore/types.js +3 -0
- package/dist/{pages → views}/Version/SelectComparison/index.d.ts +1 -1
- package/dist/views/Version/SelectComparison/index.d.ts.map +1 -0
- package/dist/views/Version/SelectComparison/index.js +112 -0
- package/dist/{pages → views}/Version/SelectComparison/types.d.ts +1 -1
- package/dist/{pages → views}/Version/SelectComparison/types.d.ts.map +1 -1
- package/dist/views/Version/SelectComparison/types.js +3 -0
- package/dist/{pages → views}/Version/SelectLocales/index.d.ts +1 -1
- package/dist/views/Version/SelectLocales/index.d.ts.map +1 -0
- package/dist/views/Version/SelectLocales/index.js +33 -0
- package/dist/{pages → views}/Version/SelectLocales/types.d.ts.map +1 -1
- package/dist/views/Version/SelectLocales/types.js +3 -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 +89 -0
- package/dist/{pages/Edit → views/Version}/meta.d.ts +1 -1
- package/dist/views/Version/meta.d.ts.map +1 -0
- package/dist/views/Version/meta.js +37 -0
- package/dist/{pages → views}/Version/shared.d.ts.map +1 -1
- package/dist/views/Version/shared.js +10 -0
- package/dist/{pages → views}/Versions/buildColumns.d.ts.map +1 -1
- package/dist/views/Versions/buildColumns.js +54 -0
- package/dist/{pages → views}/Versions/cells/AutosaveCell/index.d.ts.map +1 -1
- package/dist/views/Versions/cells/AutosaveCell/index.js +12 -0
- package/dist/{pages → views}/Versions/cells/CreatedAt/index.d.ts.map +1 -1
- package/dist/views/Versions/cells/CreatedAt/index.js +19 -0
- package/dist/{pages → views}/Versions/cells/ID/index.d.ts.map +1 -1
- package/dist/views/Versions/cells/ID/index.js +9 -0
- package/dist/{pages → views}/Versions/index.client.d.ts +0 -3
- package/dist/views/Versions/index.client.d.ts.map +1 -0
- package/dist/views/Versions/index.client.js +93 -0
- package/dist/{pages → views}/Versions/index.d.ts +1 -1
- package/dist/views/Versions/index.d.ts.map +1 -0
- package/dist/views/Versions/index.js +87 -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/{pages → views}/Versions/types.d.ts.map +1 -1
- package/dist/views/Versions/types.js +3 -0
- package/dist/withPayload.d.ts +2 -1
- package/dist/withPayload.d.ts.map +1 -1
- package/dist/withPayload.js +3 -6
- package/package.json +27 -13
- package/src/index.ts +5 -1
- 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/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.map +0 -1
- package/dist/pages/API/meta.js +0 -21
- 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 -87
- 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/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.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.map +0 -1
- package/dist/pages/Document/getCustomViewByKey.js +0 -15
- 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.map +0 -1
- package/dist/pages/Document/getViewsFromConfig.js +0 -224
- 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.js +0 -140
- package/dist/pages/Edit/Default/Auth/index.js +0 -180
- 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.js +0 -50
- 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.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.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/fields/Array/index.js +0 -27
- package/dist/pages/List/Default/Cell/fields/Blocks/index.js +0 -45
- package/dist/pages/List/Default/Cell/fields/Checkbox/index.js +0 -23
- package/dist/pages/List/Default/Cell/fields/Code/index.js +0 -29
- package/dist/pages/List/Default/Cell/fields/Date/index.js +0 -26
- package/dist/pages/List/Default/Cell/fields/JSON/index.js +0 -26
- package/dist/pages/List/Default/Cell/fields/Relationship/index.js +0 -121
- 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/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.map +0 -1
- package/dist/pages/List/Default/Cell/index.js +0 -89
- package/dist/pages/List/Default/RelationshipProvider/index.js +0 -153
- 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.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/context.d.ts.map +0 -1
- package/dist/pages/LivePreview/Context/context.js +0 -58
- package/dist/pages/LivePreview/Context/index.d.ts.map +0 -1
- package/dist/pages/LivePreview/Context/index.js +0 -208
- package/dist/pages/LivePreview/Device/index.js +0 -102
- package/dist/pages/LivePreview/DeviceContainer/index.js +0 -44
- package/dist/pages/LivePreview/IFrame/index.js +0 -74
- 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.map +0 -1
- package/dist/pages/LivePreview/Toolbar/Controls/index.js +0 -96
- package/dist/pages/LivePreview/Toolbar/SizeInput/index.js +0 -112
- 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.js +0 -32
- 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.map +0 -1
- package/dist/pages/LivePreview/meta.js +0 -36
- 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/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/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.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/index.d.ts.map +0 -1
- package/dist/pages/Version/Default/index.js +0 -157
- 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.js +0 -24
- package/dist/pages/Version/RenderFieldsToDiff/fields/Iterable/index.js +0 -80
- package/dist/pages/Version/RenderFieldsToDiff/fields/Nested/index.js +0 -44
- 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.js +0 -72
- package/dist/pages/Version/RenderFieldsToDiff/fields/Select/index.js +0 -54
- package/dist/pages/Version/RenderFieldsToDiff/fields/Tabs/index.js +0 -54
- package/dist/pages/Version/RenderFieldsToDiff/fields/Text/DiffViewer/index.js +0 -72
- package/dist/pages/Version/RenderFieldsToDiff/fields/Text/index.js +0 -46
- 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/types.js +0 -6
- package/dist/pages/Version/RenderFieldsToDiff/index.js +0 -115
- package/dist/pages/Version/RenderFieldsToDiff/types.js +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/types.js +0 -6
- 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.js +0 -6
- 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.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.map +0 -1
- package/dist/pages/Version/meta.js +0 -47
- package/dist/pages/Version/shared.js +0 -28
- package/dist/pages/Versions/buildColumns.js +0 -69
- package/dist/pages/Versions/cells/AutosaveCell/index.js +0 -63
- package/dist/pages/Versions/cells/CreatedAt/index.js +0 -33
- package/dist/pages/Versions/cells/ID/index.js +0 -60
- 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.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.js +0 -6
- 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/{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}/CreateFirstUser/index.scss +0 -0
- /package/dist/{pages → views}/Dashboard/Default/index.scss +0 -0
- /package/dist/{pages → views}/Edit/Default/Auth/APIKey.d.ts +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/Cell/fields/Array/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Blocks/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Checkbox/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Checkbox/index.scss +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Code/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Code/index.scss +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Date/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/File/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/File/index.scss +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/JSON/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/JSON/index.scss +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Relationship/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Relationship/index.scss +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Select/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/fields/Textarea/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/Cell/index.d.ts +0 -0
- /package/dist/{pages → views}/List/Default/RelationshipProvider/index.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}/List/Default/types.d.ts +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.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.client.d.ts +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}/NotFound/index.scss +0 -0
- /package/dist/{pages → views}/ResetPassword/index.scss +0 -0
- /package/dist/{pages → views}/Unauthorized/UnauthorizedClient.d.ts +0 -0
- /package/dist/{pages → views}/Verify/index.scss +0 -0
- /package/dist/{pages → views}/Version/Default/SetStepNav.d.ts +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/fields/types.d.ts +0 -0
- /package/dist/{pages → views}/Version/RenderFieldsToDiff/index.scss +0 -0
- /package/dist/{pages → views}/Version/Restore/index.scss +0 -0
- /package/dist/{pages → views}/Version/Restore/types.d.ts +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/SelectLocales/types.d.ts +0 -0
- /package/dist/{pages → views}/Version/shared.d.ts +0 -0
- /package/dist/{pages → views}/Versions/buildColumns.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withPayload.d.ts","sourceRoot":"","sources":["../src/withPayload.js"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"withPayload.d.ts","sourceRoot":"","sources":["../src/withPayload.js"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,2BADW,OAAO,MAAM,EAAE,UAAU,CAmEnC"}
|
package/dist/withPayload.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/** @type {import('next').NextConfig} */
|
|
2
|
-
const withPayload = (nextConfig = {})=>{
|
|
1
|
+
/** @type {import('next').NextConfig} */ const withPayload = (nextConfig = {})=>{
|
|
3
2
|
return {
|
|
4
3
|
...nextConfig,
|
|
5
4
|
experimental: {
|
|
@@ -70,8 +69,6 @@ const withPayload = (nextConfig = {})=>{
|
|
|
70
69
|
}
|
|
71
70
|
};
|
|
72
71
|
};
|
|
73
|
-
|
|
74
|
-
withPayload
|
|
75
|
-
};
|
|
72
|
+
export default withPayload;
|
|
76
73
|
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy93aXRoUGF5bG9hZC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQHR5cGUge2ltcG9ydCgnbmV4dCcpLk5leHRDb25maWd9ICovXG5jb25zdCB3aXRoUGF5bG9hZCA9IChuZXh0Q29uZmlnID0ge30pID0+IHtcbiAgcmV0dXJuIHtcbiAgICAuLi5uZXh0Q29uZmlnLFxuICAgIGV4cGVyaW1lbnRhbDoge1xuICAgICAgLi4uKG5leHRDb25maWc/LmV4cGVyaW1lbnRhbCB8fCB7fSksXG4gICAgICBvdXRwdXRGaWxlVHJhY2luZ0V4Y2x1ZGVzOiB7XG4gICAgICAgICcqKi8qJzogW1xuICAgICAgICAgIC4uLihuZXh0Q29uZmlnLmV4cGVyaW1lbnRhbD8ub3V0cHV0RmlsZVRyYWNpbmdFeGNsdWRlcz8uWycqKi8qJ10gfHwgW10pLFxuICAgICAgICAgICdkcml6emxlLWtpdCcsXG4gICAgICAgICAgJ2RyaXp6bGUta2l0L3BheWxvYWQnLFxuICAgICAgICAgICdsaWJzcWwnLFxuICAgICAgICBdLFxuICAgICAgfSxcbiAgICAgIHNlcnZlckNvbXBvbmVudHNFeHRlcm5hbFBhY2thZ2VzOiBbXG4gICAgICAgIC4uLihuZXh0Q29uZmlnPy5leHBlcmltZW50YWw/LnNlcnZlckNvbXBvbmVudHNFeHRlcm5hbFBhY2thZ2VzIHx8IFtdKSxcbiAgICAgICAgJ2RyaXp6bGUta2l0JyxcbiAgICAgICAgJ2RyaXp6bGUta2l0L3BheWxvYWQnLFxuICAgICAgICAnbGlic3FsJyxcbiAgICAgICAgJ3Bpbm8nLFxuICAgICAgICAncGluby1wcmV0dHknLFxuICAgICAgXSxcbiAgICB9LFxuICAgIHdlYnBhY2s6ICh3ZWJwYWNrQ29uZmlnLCB3ZWJwYWNrT3B0aW9ucykgPT4ge1xuICAgICAgY29uc3QgaW5jb21pbmdXZWJwYWNrQ29uZmlnID1cbiAgICAgICAgdHlwZW9mIG5leHRDb25maWcud2VicGFjayA9PT0gJ2Z1bmN0aW9uJ1xuICAgICAgICAgID8gbmV4dENvbmZpZy53ZWJwYWNrKHdlYnBhY2tDb25maWcsIHdlYnBhY2tPcHRpb25zKVxuICAgICAgICAgIDogd2VicGFja0NvbmZpZ1xuXG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5pbmNvbWluZ1dlYnBhY2tDb25maWcsXG4gICAgICAgIGV4dGVybmFsczogW1xuICAgICAgICAgIC4uLihpbmNvbWluZ1dlYnBhY2tDb25maWc/LmV4dGVybmFscyB8fCBbXSksXG4gICAgICAgICAgJ2RyaXp6bGUta2l0JyxcbiAgICAgICAgICAnZHJpenpsZS1raXQvcGF5bG9hZCcsXG4gICAgICAgICAgJ3Bpbm8nLFxuICAgICAgICAgICdwaW5vLXByZXR0eScsXG4gICAgICAgICAgJ3NoYXJwJyxcbiAgICAgICAgICAnbGlic3FsJyxcbiAgICAgICAgXSxcbiAgICAgICAgaWdub3JlV2FybmluZ3M6IFtcbiAgICAgICAgICAuLi4oaW5jb21pbmdXZWJwYWNrQ29uZmlnPy5pZ25vcmVXYXJuaW5ncyB8fCBbXSksXG4gICAgICAgICAgeyBtb2R1bGU6IC9ub2RlX21vZHVsZXNcXC9tb25nb2RiXFwvbGliXFwvdXRpbHNcXC5qcy8gfSxcbiAgICAgICAgICB7IGZpbGU6IC9ub2RlX21vZHVsZXNcXC9tb25nb2RiXFwvbGliXFwvdXRpbHNcXC5qcy8gfSxcbiAgICAgICAgICB7IG1vZHVsZTogL25vZGVfbW9kdWxlc1xcL21vbmdvZGJcXC9saWJcXC9ic29uXFwuanMvIH0sXG4gICAgICAgICAgeyBmaWxlOiAvbm9kZV9tb2R1bGVzXFwvbW9uZ29kYlxcL2xpYlxcL2Jzb25cXC5qcy8gfSxcbiAgICAgICAgXSxcbiAgICAgICAgcmVzb2x2ZToge1xuICAgICAgICAgIC4uLihpbmNvbWluZ1dlYnBhY2tDb25maWc/
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy93aXRoUGF5bG9hZC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQHR5cGUge2ltcG9ydCgnbmV4dCcpLk5leHRDb25maWd9ICovXG5jb25zdCB3aXRoUGF5bG9hZCA9IChuZXh0Q29uZmlnID0ge30pID0+IHtcbiAgcmV0dXJuIHtcbiAgICAuLi5uZXh0Q29uZmlnLFxuICAgIGV4cGVyaW1lbnRhbDoge1xuICAgICAgLi4uKG5leHRDb25maWc/LmV4cGVyaW1lbnRhbCB8fCB7fSksXG4gICAgICBvdXRwdXRGaWxlVHJhY2luZ0V4Y2x1ZGVzOiB7XG4gICAgICAgICcqKi8qJzogW1xuICAgICAgICAgIC4uLihuZXh0Q29uZmlnLmV4cGVyaW1lbnRhbD8ub3V0cHV0RmlsZVRyYWNpbmdFeGNsdWRlcz8uWycqKi8qJ10gfHwgW10pLFxuICAgICAgICAgICdkcml6emxlLWtpdCcsXG4gICAgICAgICAgJ2RyaXp6bGUta2l0L3BheWxvYWQnLFxuICAgICAgICAgICdsaWJzcWwnLFxuICAgICAgICBdLFxuICAgICAgfSxcbiAgICAgIHNlcnZlckNvbXBvbmVudHNFeHRlcm5hbFBhY2thZ2VzOiBbXG4gICAgICAgIC4uLihuZXh0Q29uZmlnPy5leHBlcmltZW50YWw/LnNlcnZlckNvbXBvbmVudHNFeHRlcm5hbFBhY2thZ2VzIHx8IFtdKSxcbiAgICAgICAgJ2RyaXp6bGUta2l0JyxcbiAgICAgICAgJ2RyaXp6bGUta2l0L3BheWxvYWQnLFxuICAgICAgICAnbGlic3FsJyxcbiAgICAgICAgJ3Bpbm8nLFxuICAgICAgICAncGluby1wcmV0dHknLFxuICAgICAgXSxcbiAgICB9LFxuICAgIHdlYnBhY2s6ICh3ZWJwYWNrQ29uZmlnLCB3ZWJwYWNrT3B0aW9ucykgPT4ge1xuICAgICAgY29uc3QgaW5jb21pbmdXZWJwYWNrQ29uZmlnID1cbiAgICAgICAgdHlwZW9mIG5leHRDb25maWcud2VicGFjayA9PT0gJ2Z1bmN0aW9uJ1xuICAgICAgICAgID8gbmV4dENvbmZpZy53ZWJwYWNrKHdlYnBhY2tDb25maWcsIHdlYnBhY2tPcHRpb25zKVxuICAgICAgICAgIDogd2VicGFja0NvbmZpZ1xuXG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5pbmNvbWluZ1dlYnBhY2tDb25maWcsXG4gICAgICAgIGV4dGVybmFsczogW1xuICAgICAgICAgIC4uLihpbmNvbWluZ1dlYnBhY2tDb25maWc/LmV4dGVybmFscyB8fCBbXSksXG4gICAgICAgICAgJ2RyaXp6bGUta2l0JyxcbiAgICAgICAgICAnZHJpenpsZS1raXQvcGF5bG9hZCcsXG4gICAgICAgICAgJ3Bpbm8nLFxuICAgICAgICAgICdwaW5vLXByZXR0eScsXG4gICAgICAgICAgJ3NoYXJwJyxcbiAgICAgICAgICAnbGlic3FsJyxcbiAgICAgICAgXSxcbiAgICAgICAgaWdub3JlV2FybmluZ3M6IFtcbiAgICAgICAgICAuLi4oaW5jb21pbmdXZWJwYWNrQ29uZmlnPy5pZ25vcmVXYXJuaW5ncyB8fCBbXSksXG4gICAgICAgICAgeyBtb2R1bGU6IC9ub2RlX21vZHVsZXNcXC9tb25nb2RiXFwvbGliXFwvdXRpbHNcXC5qcy8gfSxcbiAgICAgICAgICB7IGZpbGU6IC9ub2RlX21vZHVsZXNcXC9tb25nb2RiXFwvbGliXFwvdXRpbHNcXC5qcy8gfSxcbiAgICAgICAgICB7IG1vZHVsZTogL25vZGVfbW9kdWxlc1xcL21vbmdvZGJcXC9saWJcXC9ic29uXFwuanMvIH0sXG4gICAgICAgICAgeyBmaWxlOiAvbm9kZV9tb2R1bGVzXFwvbW9uZ29kYlxcL2xpYlxcL2Jzb25cXC5qcy8gfSxcbiAgICAgICAgXSxcbiAgICAgICAgcmVzb2x2ZToge1xuICAgICAgICAgIC4uLihpbmNvbWluZ1dlYnBhY2tDb25maWc/LnJlc29sdmUgfHwge30pLFxuICAgICAgICAgIGFsaWFzOiB7XG4gICAgICAgICAgICAuLi4oaW5jb21pbmdXZWJwYWNrQ29uZmlnPy5yZXNvbHZlPy5hbGlhcyB8fCB7fSksXG4gICAgICAgICAgfSxcbiAgICAgICAgICBmYWxsYmFjazoge1xuICAgICAgICAgICAgLi4uKGluY29taW5nV2VicGFja0NvbmZpZz8ucmVzb2x2ZT8uZmFsbGJhY2sgfHwge30pLFxuICAgICAgICAgICAgJ0Bhd3Mtc2RrL2NyZWRlbnRpYWwtcHJvdmlkZXJzJzogZmFsc2UsXG4gICAgICAgICAgICAnQG1vbmdvZGItanMvenN0ZCc6IGZhbHNlLFxuICAgICAgICAgICAgYXdzNDogZmFsc2UsXG4gICAgICAgICAgICBrZXJiZXJvczogZmFsc2UsXG4gICAgICAgICAgICAnbW9uZ29kYi1jbGllbnQtZW5jcnlwdGlvbic6IGZhbHNlLFxuICAgICAgICAgICAgc25hcHB5OiBmYWxzZSxcbiAgICAgICAgIC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
+
"main": "./dist/exports/index.js",
|
|
5
|
+
"types": "./dist/exports/index.d.ts",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"bin": {
|
|
7
8
|
"@payloadcms/next": "./dist/bin/index.js"
|
|
8
9
|
},
|
|
9
10
|
"exports": {
|
|
11
|
+
"./withPayload": {
|
|
12
|
+
"import": "./dist/withPayload.js",
|
|
13
|
+
"require": "./dist/withPayload.js",
|
|
14
|
+
"types": "./dist/withPayload.d.ts"
|
|
15
|
+
},
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"require": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts"
|
|
20
|
+
},
|
|
10
21
|
"./utilities/*": {
|
|
11
22
|
"import": "./dist/utilities/*.js",
|
|
12
23
|
"require": "./dist/utilities/*.js",
|
|
@@ -17,10 +28,10 @@
|
|
|
17
28
|
"require": "./dist/layouts/*.js",
|
|
18
29
|
"types": "./dist/layouts/*.d.ts"
|
|
19
30
|
},
|
|
20
|
-
"./
|
|
21
|
-
"import": "./dist/
|
|
22
|
-
"require": "./dist/
|
|
23
|
-
"types": "./dist/
|
|
31
|
+
"./views/*": {
|
|
32
|
+
"import": "./dist/views/*.js",
|
|
33
|
+
"require": "./dist/views/*.js",
|
|
34
|
+
"types": "./dist/views/*.d.ts"
|
|
24
35
|
},
|
|
25
36
|
"./app/*": {
|
|
26
37
|
"import": "./dist/app/*.js",
|
|
@@ -37,9 +48,9 @@
|
|
|
37
48
|
"@next/eslint-plugin-next": "^14.1.0",
|
|
38
49
|
"@types/react": "18.2.15",
|
|
39
50
|
"@types/react-dom": "18.2.7",
|
|
40
|
-
"
|
|
51
|
+
"@types/ws": "^8.5.10",
|
|
41
52
|
"@payloadcms/eslint-config": "1.1.1",
|
|
42
|
-
"payload": "3.0.0-alpha.
|
|
53
|
+
"payload": "3.0.0-alpha.31"
|
|
43
54
|
},
|
|
44
55
|
"dependencies": {
|
|
45
56
|
"@dnd-kit/core": "6.0.8",
|
|
@@ -50,16 +61,19 @@
|
|
|
50
61
|
"graphql-http": "^1.22.0",
|
|
51
62
|
"graphql-playground-html": "1.6.30",
|
|
52
63
|
"path-to-regexp": "^6.2.1",
|
|
64
|
+
"qs": "6.11.2",
|
|
53
65
|
"react-diff-viewer-continued": "3.2.6",
|
|
54
66
|
"react-toastify": "8.2.0",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"@payloadcms/
|
|
67
|
+
"sass": "^1.71.1",
|
|
68
|
+
"ws": "^8.16.0",
|
|
69
|
+
"@payloadcms/graphql": "3.0.0-alpha.31",
|
|
70
|
+
"@payloadcms/ui": "3.0.0-alpha.31",
|
|
71
|
+
"@payloadcms/translations": "3.0.0-alpha.31"
|
|
58
72
|
},
|
|
59
73
|
"peerDependencies": {
|
|
60
74
|
"http-status": "1.6.2",
|
|
61
75
|
"next": "14.1.1-canary.26",
|
|
62
|
-
"payload": "
|
|
76
|
+
"payload": "3.0.0-alpha.31"
|
|
63
77
|
},
|
|
64
78
|
"publishConfig": {
|
|
65
79
|
"registry": "https://registry.npmjs.org/"
|
package/src/index.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
export { AdminLayout } from './layouts/Admin/index.js'
|
|
2
|
+
export { RootLayout } from './layouts/Root/index.js'
|
|
3
|
+
export { Dashboard as DashboardPage } from './views/Dashboard/index.js'
|
|
4
|
+
export { Login } from './views/Login/index.js'
|
|
5
|
+
export { RootPage } from './views/Root/index.js'
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { SanitizedConfig } from 'payload/types';
|
|
2
|
-
import '@payloadcms/ui/scss/app.scss';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export declare const metadata: {
|
|
5
|
-
description: string;
|
|
6
|
-
title: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const DocumentLayout: ({ children, collectionSlug, config: configPromise, globalSlug, }: {
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
collectionSlug?: string;
|
|
11
|
-
config: Promise<SanitizedConfig>;
|
|
12
|
-
globalSlug?: string;
|
|
13
|
-
}) => Promise<React.JSX.Element>;
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/Document/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAGpD,OAAO,8BAA8B,CAAA;AACrC,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,eAAO,MAAM,QAAQ;;;CAGpB,CAAA;AAED,eAAO,MAAM,cAAc;cAMf,MAAM,SAAS;qBACR,MAAM;YACf,QAAQ,eAAe,CAAC;iBACnB,MAAM;gCAmBpB,CAAA"}
|
|
@@ -1,82 +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
|
-
DocumentLayout: function() {
|
|
13
|
-
return DocumentLayout;
|
|
14
|
-
},
|
|
15
|
-
metadata: function() {
|
|
16
|
-
return metadata;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _ui = require("@payloadcms/ui");
|
|
20
|
-
require("@payloadcms/ui/scss/app.scss");
|
|
21
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
22
|
-
const _initPage = require("../../utilities/initPage");
|
|
23
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
24
|
-
if (typeof WeakMap !== "function") return null;
|
|
25
|
-
var cacheBabelInterop = new WeakMap();
|
|
26
|
-
var cacheNodeInterop = new WeakMap();
|
|
27
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
28
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
29
|
-
})(nodeInterop);
|
|
30
|
-
}
|
|
31
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
32
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
33
|
-
return obj;
|
|
34
|
-
}
|
|
35
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
36
|
-
return {
|
|
37
|
-
default: obj
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
41
|
-
if (cache && cache.has(obj)) {
|
|
42
|
-
return cache.get(obj);
|
|
43
|
-
}
|
|
44
|
-
var newObj = {
|
|
45
|
-
__proto__: null
|
|
46
|
-
};
|
|
47
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
48
|
-
for(var key in obj){
|
|
49
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
50
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
51
|
-
if (desc && (desc.get || desc.set)) {
|
|
52
|
-
Object.defineProperty(newObj, key, desc);
|
|
53
|
-
} else {
|
|
54
|
-
newObj[key] = obj[key];
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
newObj.default = obj;
|
|
59
|
-
if (cache) {
|
|
60
|
-
cache.set(obj, newObj);
|
|
61
|
-
}
|
|
62
|
-
return newObj;
|
|
63
|
-
}
|
|
64
|
-
const metadata = {
|
|
65
|
-
description: 'Generated by Next.js',
|
|
66
|
-
title: 'Next.js'
|
|
67
|
-
};
|
|
68
|
-
const DocumentLayout = async ({ children, collectionSlug, config: configPromise, globalSlug })=>{
|
|
69
|
-
const { collectionConfig, globalConfig, req } = await (0, _initPage.initPage)({
|
|
70
|
-
collectionSlug,
|
|
71
|
-
config: configPromise,
|
|
72
|
-
globalSlug
|
|
73
|
-
});
|
|
74
|
-
return /*#__PURE__*/ _react.default.createElement(_react.Fragment, null, /*#__PURE__*/ _react.default.createElement(_ui.DocumentHeader, {
|
|
75
|
-
collectionConfig: collectionConfig,
|
|
76
|
-
config: req.payload.config,
|
|
77
|
-
globalConfig: globalConfig,
|
|
78
|
-
i18n: req.i18n
|
|
79
|
-
}), children);
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9sYXlvdXRzL0RvY3VtZW50L2luZGV4LnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFNhbml0aXplZENvbmZpZyB9IGZyb20gJ3BheWxvYWQvdHlwZXMnXG5cbmltcG9ydCB7IERvY3VtZW50SGVhZGVyIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5pbXBvcnQgJ0BwYXlsb2FkY21zL3VpL3Njc3MvYXBwLnNjc3MnXG5pbXBvcnQgUmVhY3QsIHsgRnJhZ21lbnQgfSBmcm9tICdyZWFjdCdcblxuaW1wb3J0IHsgaW5pdFBhZ2UgfSBmcm9tICcuLi8uLi91dGlsaXRpZXMvaW5pdFBhZ2UnXG5cbmV4cG9ydCBjb25zdCBtZXRhZGF0YSA9IHtcbiAgZGVzY3JpcHRpb246ICdHZW5lcmF0ZWQgYnkgTmV4dC5qcycsXG4gIHRpdGxlOiAnTmV4dC5qcycsXG59XG5cbmV4cG9ydCBjb25zdCBEb2N1bWVudExheW91dCA9IGFzeW5jICh7XG4gIGNoaWxkcmVuLFxuICBjb2xsZWN0aW9uU2x1ZyxcbiAgY29uZmlnOiBjb25maWdQcm9taXNlLFxuICBnbG9iYWxTbHVnLFxufToge1xuICBjaGlsZHJlbjogUmVhY3QuUmVhY3ROb2RlXG4gIGNvbGxlY3Rpb25TbHVnPzogc3RyaW5nXG4gIGNvbmZpZzogUHJvb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QUFXO0lBQ3RCQyxhQUFhO0lBQ2JDLE9BQU87QUFDVDtBQUVPLE1BQU1ILGlCQUFpQixPQUFPLEVBQ25DSSxRQUFRLEVBQ1JDLGNBQWMsRUFDZEMsUUFBUUMsYUFBYSxFQUNyQkMsVUFBVSxFQU1YO0lBQ0MsTUFBTSxFQUFFQyxnQkFBZ0IsRUFBRUMsWUFBWSxFQUFFQyxHQUFHLEVBQUUsR0FBRyxNQUFNQyxJQUFBQSxrQkFBUSxFQUFDO1FBQzdEUDtRQUNBQyxRQUFRQztRQUNSQztJQUNGO0lBRUEscUJBQ0UsNkJBQUNLLGVBQVEsc0JBQ1AsNkJBQUNDLGtCQUFjO1FBQ2JMLGtCQUFrQkE7UUFDbEJILFFBQVFLLElBQUlJLE9BQU8sQ0FBQ1QsTUFBTTtRQUMxQkksY0FBY0E7UUFDZE0sTUFBTUwsSUFBSUssSUFBSTtRQUVmWjtBQUdQIn0=
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "RenderJSON", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function() {
|
|
9
|
-
return RenderJSON;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
const _ui = require("@payloadcms/ui");
|
|
13
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
14
|
-
require("./index.scss");
|
|
15
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
16
|
-
if (typeof WeakMap !== "function") return null;
|
|
17
|
-
var cacheBabelInterop = new WeakMap();
|
|
18
|
-
var cacheNodeInterop = new WeakMap();
|
|
19
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
20
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
21
|
-
})(nodeInterop);
|
|
22
|
-
}
|
|
23
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
24
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
25
|
-
return obj;
|
|
26
|
-
}
|
|
27
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
28
|
-
return {
|
|
29
|
-
default: obj
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
33
|
-
if (cache && cache.has(obj)) {
|
|
34
|
-
return cache.get(obj);
|
|
35
|
-
}
|
|
36
|
-
var newObj = {
|
|
37
|
-
__proto__: null
|
|
38
|
-
};
|
|
39
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
40
|
-
for(var key in obj){
|
|
41
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
42
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
43
|
-
if (desc && (desc.get || desc.set)) {
|
|
44
|
-
Object.defineProperty(newObj, key, desc);
|
|
45
|
-
} else {
|
|
46
|
-
newObj[key] = obj[key];
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
newObj.default = obj;
|
|
51
|
-
if (cache) {
|
|
52
|
-
cache.set(obj, newObj);
|
|
53
|
-
}
|
|
54
|
-
return newObj;
|
|
55
|
-
}
|
|
56
|
-
const chars = {
|
|
57
|
-
leftCurlyBracket: '\u007B',
|
|
58
|
-
leftSquareBracket: '\u005B',
|
|
59
|
-
rightCurlyBracket: '\u007D',
|
|
60
|
-
rightSquareBracket: '\u005D'
|
|
61
|
-
};
|
|
62
|
-
const baseClass = 'query-inspector';
|
|
63
|
-
const Bracket = ({ comma = false, position, type })=>{
|
|
64
|
-
const rightBracket = type === 'object' ? chars.rightCurlyBracket : chars.rightSquareBracket;
|
|
65
|
-
const leftBracket = type === 'object' ? chars.leftCurlyBracket : chars.leftSquareBracket;
|
|
66
|
-
const bracketToRender = position === 'end' ? rightBracket : leftBracket;
|
|
67
|
-
return /*#__PURE__*/ _react.createElement("span", {
|
|
68
|
-
className: `${baseClass}__bracket ${baseClass}__bracket--position-${position}`
|
|
69
|
-
}, bracketToRender, position === 'end' && comma ? ',' : null);
|
|
70
|
-
};
|
|
71
|
-
const RenderJSON = ({ isEmpty = false, object, objectKey, parentType = 'object', trailingComma = false })=>{
|
|
72
|
-
const objectKeys = Object.keys(object);
|
|
73
|
-
const objectLength = objectKeys.length;
|
|
74
|
-
const [isOpen, setIsOpen] = _react.useState(true);
|
|
75
|
-
return /*#__PURE__*/ _react.createElement("li", null, /*#__PURE__*/ _react.createElement("button", {
|
|
76
|
-
"aria-label": "toggle",
|
|
77
|
-
className: `${baseClass}__list-toggle ${isEmpty ? `${baseClass}__list-toggle--empty` : ''}`,
|
|
78
|
-
onClick: ()=>setIsOpen(!isOpen),
|
|
79
|
-
type: "button"
|
|
80
|
-
}, isEmpty ? null : /*#__PURE__*/ _react.createElement(_ui.Chevron, {
|
|
81
|
-
className: `${baseClass}__toggle-row-icon ${baseClass}__toggle-row-icon--${isOpen ? 'open' : 'closed'}`
|
|
82
|
-
}), /*#__PURE__*/ _react.createElement("span", null, objectKey && `"${objectKey}": `, /*#__PURE__*/ _react.createElement(Bracket, {
|
|
83
|
-
position: "start",
|
|
84
|
-
type: parentType
|
|
85
|
-
}), isEmpty ? /*#__PURE__*/ _react.createElement(Bracket, {
|
|
86
|
-
comma: trailingComma,
|
|
87
|
-
position: "end",
|
|
88
|
-
type: parentType
|
|
89
|
-
}) : null)), /*#__PURE__*/ _react.createElement("ul", {
|
|
90
|
-
className: `${baseClass}__json-children`
|
|
91
|
-
}, isOpen && objectKeys.map((key, keyIndex)=>{
|
|
92
|
-
let value = object[key];
|
|
93
|
-
let type = 'string';
|
|
94
|
-
const isLastKey = keyIndex === objectLength - 1;
|
|
95
|
-
if (value === null) {
|
|
96
|
-
type = 'null';
|
|
97
|
-
} else if (value instanceof Date) {
|
|
98
|
-
type = 'date';
|
|
99
|
-
value = value.toISOString();
|
|
100
|
-
} else if (Array.isArray(value)) {
|
|
101
|
-
type = 'array';
|
|
102
|
-
} else if (typeof value === 'object') {
|
|
103
|
-
type = 'object';
|
|
104
|
-
} else if (typeof value === 'number') {
|
|
105
|
-
type = 'number';
|
|
106
|
-
} else if (typeof value === 'boolean') {
|
|
107
|
-
type = 'boolean';
|
|
108
|
-
} else {
|
|
109
|
-
type = 'string';
|
|
110
|
-
}
|
|
111
|
-
if (type === 'object' || type === 'array') {
|
|
112
|
-
return /*#__PURE__*/ _react.createElement(RenderJSON, {
|
|
113
|
-
isEmpty: value.length === 0 || Object.keys(value).length === 0,
|
|
114
|
-
key: `${key}-${keyIndex}`,
|
|
115
|
-
object: value,
|
|
116
|
-
objectKey: parentType === 'object' ? key : undefined,
|
|
117
|
-
parentType: type,
|
|
118
|
-
trailingComma: !isLastKey
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
if (type === 'date' || type === 'string' || type === 'null' || type === 'number' || type === 'boolean') {
|
|
122
|
-
const parentHasKey = Boolean(parentType === 'object' && key);
|
|
123
|
-
const rowClasses = [
|
|
124
|
-
`${baseClass}__row-line`,
|
|
125
|
-
`${baseClass}__value-type--${type}`,
|
|
126
|
-
`${baseClass}__row-line--${objectKey ? 'nested' : 'top'}`
|
|
127
|
-
].filter(Boolean).join(' ');
|
|
128
|
-
return /*#__PURE__*/ _react.createElement("li", {
|
|
129
|
-
className: rowClasses,
|
|
130
|
-
key: `${key}-${keyIndex}`
|
|
131
|
-
}, parentHasKey ? /*#__PURE__*/ _react.createElement("span", null, `"${key}": `) : null, /*#__PURE__*/ _react.createElement("span", {
|
|
132
|
-
className: `${baseClass}__value`
|
|
133
|
-
}, JSON.stringify(value)), isLastKey ? '' : ',');
|
|
134
|
-
}
|
|
135
|
-
})), !isEmpty && /*#__PURE__*/ _react.createElement("span", null, /*#__PURE__*/ _react.createElement(Bracket, {
|
|
136
|
-
comma: trailingComma,
|
|
137
|
-
position: "end",
|
|
138
|
-
type: parentType
|
|
139
|
-
})));
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWdlcy9BUEkvUmVuZGVySlNPTi9pbmRleC50c3giXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBjbGllbnQnXG5pbXBvcnQgeyBDaGV2cm9uIH0gZnJvbSAnQHBheWxvYWRjbXMvdWknXG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tICdyZWFjdCdcblxuaW1wb3J0ICcuL2luZGV4LnNjc3MnXG5cbmNvbnN0IGNoYXJzID0ge1xuICBsZWZ0Q3VybHlCcmFja2V0OiAnXFx1MDA3QicsXG4gIGxlZnRTcXVhcmVCcmFja2V0OiAnXFx1MDA1QicsXG4gIHJpZ2h0Q3VybHlCcmFja2V0OiAnXFx1MDA3RCcsXG4gIHJpZ2h0U3F1YXJlQnJhY2tldDogJ1xcdTAwNUQnLFxufVxuXG5jb25zdCBiYXNlQ2xhc3MgPSAncXVlcnktaW5zcGVjdG9yJ1xuXG5jb25zdCBCcmFja2V0ID0gKHtcbiAgY29tbWEgPSBmYWxzZSxcbiAgcG9zaXRpb24sXG4gIHR5cGUsXG59OiB7XG4gIGNvbW1hPzogYm9vbGVhblxuICBwb3NpdGlvbjogJ2VuZCcgfCAnc3RhcnQnXG4gIHR5cGU6ICdhcnJheScgfCAnb2JqZWN0J1xufSkgPT4ge1xuICBjb25zdCByaWdodEJyYWNrZXQgPSB0eXBlID09PSAnb2JqZWN0JyA/IGNoYXJzLnJpZ2h0Q3VybHlCcmFja2V0IDogY2hhcnMucmlnaHRTcXVhcmVCcmFja2V0XG4gIGNvbnN0IGxlZnRCcmFja2V0ID0gdHlwZSA9PT0gJ29iamVjdCcgPyBjaGFycy5sZWZ0Q3VybHlCcmFja2V0IDogY2hhcnMubGVmdFNxdWFyZUJ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5nJ1xuICAgICAgICAgICAgY29uc3QgaXNMYXN0S2V5ID0ga2V5SW5kZXggPT09IG9iamVjdExlbmd0aCAtIDFcblxuICAgICAgICAgICAgaWYgKHZhbHVlID09PSBudWxsKSB7XG4gICAgICAgICAgICAgIHR5cGUgPSAnbnVsbCdcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodmFsdWUgaW5zdGFuY2VvZiBEYXRlKSB7XG4gICAgICAgICAgICAgIHR5cGUgPSAnZGF0ZSdcbiAgICAgICAgICAgICAgdmFsdWUgPSB2YWx1ZS50b0lTT1N0cmluZygpXG4gICAgICAgICAgICB9IGVsc2UgaWYgKEFycmF5LmlzQXJyYXkodmFsdWUpKSB7XG4gICAgICAgICAgICAgIHR5cGUgPSAnYXJyYXknXG4gICAgICAgICAgICB9IGVsc2UgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gJ29iamVjdCcpIHtcbiAgICAgICAgICAgICAgdHlwZSA9ICdvYmplY3QnXG4gICAgICAgICAgICB9IGVsc2UgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gJ251bWJlcicpIHtcbiAgICAgICAgICAgICAgdHlwZSA9ICdudW1iZXInXG4gICAgICAgICAgICB9IGVsc2UgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gJ2Jvb2xlYW4nKSB7XG4gICAgICAgICAgICAgIHR5cGUgPSAnYm9vbGVhbidcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgIHR5cGUgPSAnc3RyaW5nJ1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAodHlwZSA9PT0gJ29iamVjdCcgfHwgdHlwZSA9PT0gJ2FycmF5Jykge1xuICAgICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICAgIDxSZW5kZXJKU09OXG4gICAgICAgICAgICAgICAgICBpc0VtcHR5PXt2YWx1ZS5sZW5ndGggPT09IDAgfHwgT2JqZWN0LmtleXModmFsdWUpLmxlbmd0aCA9PT0gMH1cbiAgICAgICAgICAgICAgICAgIGtleT17YCR7a2V5fS0ke2tleUluZGV4fWB9XG4gICAgICAgICAgICAgICAgICBvYmplY3Q9e3ZhbHVlfVxuICAgICAgICAgICAgICAgICAgb2JqZWN0S2V5PXtwYXJlbnRUeXBlID09PSAnb2JqZWN0JyA/IGtleSA6IHVuZGVmaW5lZH1cbiAgICAgICAgICAgICAgICAgIHBhcmVudFR5cGU9e3R5cGV9XG4gICAgICAgICAgICAgICAgICB0cmFpbGluZ0NvbW1hPXshaXNMYXN0S2V5fVxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKFxuICAgICAgICAgICAgICB0eXBlID09PSAnZGF0ZScgfHxcbiAgICAgICAgICAgICAgdHlwZSA9PT0gJ3N0cmluZycgfHxcbiAgICAgICAgICAgICAgdHlwZSA9PT0gJ251bGwnIHx8XG4gICAgICAgICAgICAgIHR5cGUgPT09ICdudW1iZXInIHx8XG4gICAgICAgICAgICAgIHR5cGUgPT09ICdib29sZWFuJ1xuICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgIGNvbnN0IHBhcmVudEhhc0tleSA9IEJvb2xlYW4ocGFyZW50VHlwZSA9PT0gJ29iamVjdCcgJiYga2V5KVxuXG4gICAgICAgICAgICAgIGNvbnN0IHJvd0NsYXNzZXMgPSBbXG4gICAgICAgICAgICAgICAgYCR7YmFzZUNsYXNzfV9fcm93LWxpbmVgLFxuICAgICAgICAgICAgICAgIGAke2Jhc2VDbGFzc31fX3ZhbHVlLXR5cGUtLSR7dHlwZX1gLFxuICAgICAgICAgICAgICAgIGAke2Jhc2VDbGFzc31fX3Jvdy1saW5lLS0ke29iamVjdEtleSA/ICduZXN0ZWQnIDogJ3RvcCd9YCxcbiAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgIC5maWx0ZXIoQm9vbGVhbilcbiAgICAgICAgICAgICAgICAuam9pbignICcpXG5cbiAgICAgICAgIC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