diff --git a/package.json b/package.json index 7810fed72..0dea74b75 100644 --- a/package.json +++ b/package.json @@ -6,18 +6,17 @@ "type": "module", "dependencies": { "@headlessui/react": "^1.7.17", - "@pzh-ui/components": "^0.0.452", - "@pzh-ui/config": "^0.0.56", - "@pzh-ui/css": "^0.0.75", - "@pzh-ui/icons": "^0.0.47", - "@react-hookz/web": "^24.0.2", - "@tanstack/react-query": "^5.14.2", - "axios": "^1.6.2", - "classnames": "^2.3.2", + "@pzh-ui/components": "^0.0.541", + "@pzh-ui/config": "^0.0.69", + "@pzh-ui/css": "^0.0.96", + "@pzh-ui/icons": "^0.0.60", + "@react-hookz/web": "^24.0.4", + "@tanstack/react-query": "^5.24.7", + "axios": "^1.6.7", + "clsx": "^2.1.0", "d3": "^7.8.5", - "date-fns": "^2.23.0", - "dompurify": "^3.0.5", - "formik": "^2.4.2", + "dompurify": "^3.0.9", + "formik": "^2.4.6", "jwt-decode": "^4.0.0", "leaflet": "^1.9.4", "leaflet-draw": "^1.0.4", @@ -25,19 +24,18 @@ "lodash.debounce": "^4.0.8", "lodash.groupby": "^4.6.0", "node-htmldiff": "^0.9.4", - "node-sass": "9.0.0", "proj4leaflet": "^1.0.2", - "react": "^18.2.0", + "react": "^18.3.1", "react-content-loader": "^6.2.1", - "react-dom": "^18.2.0", - "react-error-boundary": "^4.0.10", - "react-helmet-async": "^2.0.3", + "react-dom": "^18.3.1", + "react-error-boundary": "^4.0.13", + "react-helmet-async": "^2.0.4", "react-leaflet": "^4.2.1", - "react-router-dom": "^6.14.2", + "react-router-dom": "^6.22.2", "uuid": "^9.0.1", "zod": "^3.22.4", "zod-formik-adapter": "^1.2.0", - "zustand": "^4.4.7" + "zustand": "^4.5.2" }, "scripts": { "build:css": "npx tailwindcss -i node_modules/@pzh-ui/css/src/tailwind.src.css -o src/css/tailwind.css", @@ -78,15 +76,14 @@ "@types/lodash.clonedeep": "^4.5.6", "@types/lodash.debounce": "^4.0.7", "@types/lodash.groupby": "^4.6.7", - "@types/node": "^20.10.5", "@types/proj4leaflet": "^1.0.10", - "@types/react": "^18.2.15", - "@types/react-dom": "^18.2.7", + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", "@types/react-leaflet": "^3.0.0", - "@types/react-router-dom": "^5.3.2", + "@types/react-router-dom": "^5.3.3", "@types/uuid": "^9.0.3", "@vitejs/plugin-react": "^4.2.1", - "@vitest/coverage-v8": "^1.0.4", + "@vitest/coverage-v8": "^1.2.2", "add": "^2.0.6", "autoprefixer": "^10.4.4", "c8": "^8.0.0", @@ -96,23 +93,20 @@ "eslint-plugin-prettier": "^5.0.0", "jsdom": "^22.1.0", "msw": "^2.0.6", - "orval": "^6.22.1", + "orval": "^6.25.0", "prettier": "2.8.8", "rollup-plugin-visualizer": "^5.11.0", "sass": "^1.63.6", - "tailwindcss": "^3.3.6", + "tailwindcss": "^3.4.1", "typescript": "^5.3.3", - "vite": "^5.0.7", + "vite": "^5.2.11", "vite-plugin-svgr": "^4.2.0", - "vite-tsconfig-paths": "^4.2.2", + "vite-tsconfig-paths": "^4.3.1", "vitest": "^1.0.4" }, "msw": { "workerDirectory": "public" }, - "resolutions": { - "csstype": "3.1.2" - }, "packageManager": "yarn@4.0.1", "prettier": "@pzh-ui/config/prettier" } diff --git a/public/mockServiceWorker.js b/public/mockServiceWorker.js index f24fb8b98..a37382fc7 100644 --- a/public/mockServiceWorker.js +++ b/public/mockServiceWorker.js @@ -2,7 +2,7 @@ /* tslint:disable */ /** - * Mock Service Worker (2.1.1). + * Mock Service Worker (2.2.0). * @see https://github.com/mswjs/msw * - Please do NOT modify this file. * - Please do NOT serve this file on production. diff --git a/src/App/App.tsx b/src/App/App.tsx index d3b6b7429..f10db3489 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -3,6 +3,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { Suspense } from 'react' import { ErrorBoundary } from 'react-error-boundary' import { Helmet, HelmetProvider } from 'react-helmet-async' +import { useLocation, useNavigate } from 'react-router-dom' import Axe from '@/Axe' import { LoaderContent } from '@/components/Loader' @@ -10,9 +11,11 @@ import AuthProvider from '@/context/AuthContext' import usePage from '@/hooks/usePage' import { ErrorPage } from '@/pages/public' import { BaseLayout } from '@/templates/BaseLayout' +import globalRouter from '@/utils/globalRouter' import { toastNotification } from '@/utils/toastNotification' import AppRoutes from './Routes' + import './appConfig' const queryClient = new QueryClient({ @@ -31,6 +34,11 @@ const queryClient = new QueryClient({ }) const App = () => { + const location = useLocation() + + const navigate = useNavigate() + globalRouter.navigate = navigate + const userIsInMuteerEnvironment = usePage('/muteer') const isAdvancedSearchPage = usePage('/zoeken-op-kaart') const isNetworkPage = usePage('/beleidsnetwerk') @@ -40,7 +48,7 @@ const App = () => {
@@ -50,7 +58,9 @@ const App = () => { - + }> diff --git a/src/App/Routes/AppRoutes.tsx b/src/App/Routes/AppRoutes.tsx index 96b10439a..81b732947 100644 --- a/src/App/Routes/AppRoutes.tsx +++ b/src/App/Routes/AppRoutes.tsx @@ -1,4 +1,5 @@ import { useCallback, useLayoutEffect } from 'react' +import { useErrorBoundary } from 'react-error-boundary' import { useNavigate, useRoutes } from 'react-router-dom' import * as models from '@/config/objects' @@ -16,6 +17,9 @@ import { ObjectDetail, ObjectEdit, ObjectWrite, + PublicationTemplateCreate, + PublicationTemplateEdit, + PublicationTemplateOverview, Regulations, UserDetail, UsersOverview, @@ -39,10 +43,15 @@ import { ThemeDetail, ThemeOverview, } from '@/pages/public' +import MaintenancePage from '@/pages/public/MaintenancePage/MaintenancePage' +import globalErrorBoundary from '@/utils/globalErrorBoundary' import ProtectedRoute from './ProtectedRoute' const AppRoutes = () => { + const { showBoundary } = useErrorBoundary() + globalErrorBoundary.showBoundary = showBoundary + const routes = useRoutes([ /** * Public pages @@ -382,8 +391,53 @@ const AppRoutes = () => { }, ], }, + { + path: 'publicatietemplates', + children: [ + { + index: true, + element: ( + + + + ), + }, + { + path: ':uuid', + element: ( + + + + ), + }, + { + path: 'nieuw', + element: ( + + + + ), + }, + ], + }, ], }, + { + path: '500', + element: , + }, { path: '*', element: , diff --git a/src/api/fetchers.msw.ts b/src/api/fetchers.msw.ts index 03436946f..096a71ef1 100644 --- a/src/api/fetchers.msw.ts +++ b/src/api/fetchers.msw.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.23.0 🍺 + * Generated by orval v6.25.0 🍺 * Do not edit manually. * Omgevingsbeleid API * @@ -10,9 +10,118 @@ */ import { faker } from '@faker-js/faker' import { HttpResponse, delay, http } from 'msw' -import { GraphEdgeType } from './fetchers.schemas' +import type { + AOJCreatedResponse, + AcknowledgedRelation, + ActCreatedResponse, + ActiveModuleObjectWrapper, + AmbitieFull, + AmbitieUUID, + AnnouncementCreatedResponse, + AppExtensionsPublicationsEndpointsPublicationsActReportsUploadActPackageReportUploadPackageReportResponse, + AppExtensionsPublicationsEndpointsPublicationsAnnouncementReportsUploadAnnouncementPackageReportUploadPackageReportResponse, + AuthToken, + BeleidsdoelFull, + BeleidsdoelUUID, + BeleidskeuzeFull, + BeleidskeuzeUUID, + BeleidsregelFull, + BeleidsregelUUID, + EnvironmentCreatedResponse, + GebiedsprogrammaFull, + GebiedsprogrammaUUID, + GraphResponse, + HealthCheckHealthGet200, + MaatregelFull, + MaatregelUUID, + ModuleCreatedResponse, + ModuleObjectContext, + ModuleOverview, + ModuleSnapshot, + ModuleStatus, + NationaalBelangFull, + NationaalBelangUUID, + NewObjectStaticResponse, + ObjectCount, + PagedResponseAmbitieBasic, + PagedResponseAmbitieExtended, + PagedResponseBeleidsdoelBasic, + PagedResponseBeleidsdoelExtended, + PagedResponseBeleidskeuzeBasic, + PagedResponseBeleidskeuzeExtended, + PagedResponseBeleidsregelBasic, + PagedResponseBeleidsregelExtended, + PagedResponseGebiedsprogrammaBasic, + PagedResponseGebiedsprogrammaExtended, + PagedResponseGenericObjectShort, + PagedResponseGeoSearchResult, + PagedResponseMaatregelBasic, + PagedResponseMaatregelExtended, + PagedResponseModule, + PagedResponseModuleObjectShortStatus, + PagedResponseNationaalBelangBasic, + PagedResponseProgrammaAlgemeenBasic, + PagedResponseProgrammaAlgemeenExtended, + PagedResponsePublicModuleShort, + PagedResponsePublication, + PagedResponsePublicationAOJ, + PagedResponsePublicationActPackageReportShort, + PagedResponsePublicationActShort, + PagedResponsePublicationAnnouncementPackageReportShort, + PagedResponsePublicationAnnouncementShort, + PagedResponsePublicationEnvironment, + PagedResponsePublicationPackage, + PagedResponsePublicationTemplate, + PagedResponsePublicationVersionShort, + PagedResponseSearchObject, + PagedResponseUser, + PagedResponseValidSearchObject, + PagedResponseVerplichtProgrammaBasic, + PagedResponseVisieAlgemeenBasic, + PagedResponseVisieAlgemeenExtended, + PagedResponseWerkingsgebied, + PagedResponseWerkingsgebiedBasic, + PagedResponseWerkingsgebiedExtended, + PagedResponseWettelijkeTaakBasic, + ProgrammaAlgemeenFull, + ProgrammaAlgemeenUUID, + PublicModuleOverview, + Publication, + PublicationAct, + PublicationActPackageReport, + PublicationActPackagesActPackageUuidDownloadGet200, + PublicationActReportsActReportUuidDownloadGet200, + PublicationAnnouncement, + PublicationAnnouncementPackageCreatedResponse, + PublicationAnnouncementPackageReport, + PublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet200, + PublicationAnnouncementReportsAnnouncementReportUuidDownloadGet200, + PublicationCreatedResponse, + PublicationPackageCreatedResponse, + PublicationTemplate, + PublicationVersion, + PublicationVersionCreatedResponse, + PublicationVersionEditResponse, + ReadRelation, + ResetPasswordResponse, + ResponseOK, + TemplateCreatedResponse, + User, + UserCreateResponse, + VerplichtProgrammaFull, + VerplichtProgrammaUUID, + VisieAlgemeenFull, + VisieAlgemeenUUID, + WerkingsgebiedFull, + WerkingsgebiedUUID, + WettelijkeTaakFull, + WettelijkeTaakUUID, +} from './fetchers.schemas' +import { GraphEdgeType, ReportStatusType } from './fetchers.schemas' -export const getAmbitiesValidGetMock = () => ({ +export const getAmbitiesValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseAmbitieBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -58,11 +167,15 @@ export const getAmbitiesValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getAmbitiesValidLineageIdGetMock = () => ({ +export const getAmbitiesValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseAmbitieBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -108,11 +221,15 @@ export const getAmbitiesValidLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getAmbitiesVersionObjectUuidGetMock = () => ({ +export const getAmbitiesVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): AmbitieFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -139,6 +256,7 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -147,7 +265,9 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -157,6 +277,7 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -177,6 +298,7 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -195,6 +317,7 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -203,6 +326,7 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -211,6 +335,7 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -219,6 +344,7 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -227,9 +353,11 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -242,6 +370,7 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -254,9 +383,12 @@ export const getAmbitiesVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getAmbitiesLatestLineageIdGetMock = () => ({ +export const getAmbitiesLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): AmbitieFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -283,6 +415,7 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -291,7 +424,9 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -301,6 +436,7 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -321,6 +457,7 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -339,6 +476,7 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -347,6 +485,7 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -355,6 +494,7 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -363,6 +503,7 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -371,9 +512,11 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -386,6 +529,7 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -398,9 +542,12 @@ export const getAmbitiesLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getAmbitiesRelationsLineageIdGetMock = () => +export const getAmbitiesRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -415,17 +562,20 @@ export const getAmbitiesRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getAmbitiesRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getAmbitiesRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getAmbitieStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getAmbitieStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectAmbitieLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseAmbitieExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -448,6 +598,7 @@ export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -467,6 +618,7 @@ export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -485,6 +637,7 @@ export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -493,6 +646,7 @@ export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -501,6 +655,7 @@ export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -509,6 +664,7 @@ export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -517,9 +673,11 @@ export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -532,19 +690,26 @@ export const getModulesModuleIdObjectAmbitieLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectAmbitieLineageIdPatchMock = () => ({ +export const getModulesModuleIdObjectAmbitieLineageIdPatchResponseMock = ( + overrideResponse: any = {} +): AmbitieUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectAmbitieLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): AmbitieFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -571,6 +736,7 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -579,7 +745,9 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -589,6 +757,7 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -609,6 +778,7 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -627,6 +797,7 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -635,6 +806,7 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -643,6 +815,7 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -651,6 +824,7 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -659,9 +833,11 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -674,6 +850,7 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -686,9 +863,12 @@ export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ +export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): AmbitieFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -715,6 +895,7 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -723,7 +904,9 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -733,6 +916,7 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -753,6 +937,7 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -771,6 +956,7 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -779,6 +965,7 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -787,6 +974,7 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -795,6 +983,7 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -803,9 +992,11 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -818,6 +1009,7 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -830,9 +1022,12 @@ export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesObjectAmbitieActiveLineageIdGetMock = () => +export const getModulesObjectAmbitieActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -846,6 +1041,7 @@ export const getModulesObjectAmbitieActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -854,6 +1050,7 @@ export const getModulesObjectAmbitieActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -869,10 +1066,12 @@ export const getModulesObjectAmbitieActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -882,10 +1081,14 @@ export const getModulesObjectAmbitieActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ +export const getRevisionsModuleIdAmbitieVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): AmbitieFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -912,6 +1115,7 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -920,7 +1124,9 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -930,6 +1136,7 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -950,6 +1157,7 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -968,6 +1176,7 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -976,6 +1185,7 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -984,6 +1194,7 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -992,6 +1203,7 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1000,9 +1212,11 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -1015,6 +1229,7 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -1027,9 +1242,12 @@ export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getBeleidsdoelenValidGetMock = () => ({ +export const getBeleidsdoelenValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidsdoelBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -1079,11 +1297,15 @@ export const getBeleidsdoelenValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getBeleidsdoelenValidLineageIdGetMock = () => ({ +export const getBeleidsdoelenValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidsdoelBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -1133,11 +1355,15 @@ export const getBeleidsdoelenValidLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ +export const getBeleidsdoelenVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): BeleidsdoelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -1164,6 +1390,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1172,7 +1399,9 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1198,6 +1427,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1206,7 +1436,9 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1216,6 +1448,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1241,6 +1474,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -1266,6 +1500,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1274,7 +1509,9 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1283,6 +1520,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1301,6 +1539,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1309,6 +1548,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1317,6 +1557,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1325,6 +1566,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1333,9 +1575,11 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -1348,6 +1592,7 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -1360,9 +1605,12 @@ export const getBeleidsdoelenVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ +export const getBeleidsdoelenLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): BeleidsdoelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -1389,6 +1637,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1397,7 +1646,9 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1423,6 +1674,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1431,7 +1683,9 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1441,6 +1695,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1466,6 +1721,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -1491,6 +1747,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1499,7 +1756,9 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1508,6 +1767,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1526,6 +1786,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1534,6 +1795,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1542,6 +1804,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1550,6 +1813,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1558,9 +1822,11 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -1573,6 +1839,7 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -1585,9 +1852,12 @@ export const getBeleidsdoelenLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getBeleidsdoelenRelationsLineageIdGetMock = () => +export const getBeleidsdoelenRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -1602,17 +1872,20 @@ export const getBeleidsdoelenRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getBeleidsdoelenRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidsdoelenRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getBeleidsdoelStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidsdoelStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectBeleidsdoelLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidsdoelExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -1635,6 +1908,7 @@ export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1662,6 +1936,7 @@ export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1680,6 +1955,7 @@ export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1688,6 +1964,7 @@ export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1696,6 +1973,7 @@ export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1704,6 +1982,7 @@ export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1712,9 +1991,11 @@ export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -1727,20 +2008,25 @@ export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidsdoelLineageIdPatchMock = () => ({ +export const getModulesModuleIdObjectBeleidsdoelLineageIdPatchResponseMock = ( + overrideResponse: any = {} +): BeleidsdoelUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetResponseMock = + (overrideResponse: any = {}): BeleidsdoelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -1767,6 +2053,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1778,7 +2065,9 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1804,6 +2093,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1815,7 +2105,9 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1825,6 +2117,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1853,6 +2146,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -1878,6 +2172,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -1889,7 +2184,9 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -1898,6 +2195,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1916,6 +2214,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1924,6 +2223,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1932,6 +2232,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1940,6 +2241,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -1948,9 +2250,11 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -1963,6 +2267,7 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -1975,10 +2280,11 @@ export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = - () => ({ +export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): BeleidsdoelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -2005,6 +2311,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2016,7 +2323,9 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2042,6 +2351,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2053,7 +2363,9 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2063,6 +2375,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2091,6 +2404,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -2116,6 +2430,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2127,7 +2442,9 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2136,6 +2453,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2154,6 +2472,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2162,6 +2481,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2170,6 +2490,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2178,6 +2499,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2186,9 +2508,11 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -2201,6 +2525,7 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -2213,9 +2538,12 @@ export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesObjectBeleidsdoelActiveLineageIdGetMock = () => +export const getModulesObjectBeleidsdoelActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -2229,6 +2557,7 @@ export const getModulesObjectBeleidsdoelActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2237,6 +2566,7 @@ export const getModulesObjectBeleidsdoelActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2252,10 +2582,12 @@ export const getModulesObjectBeleidsdoelActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -2265,10 +2597,14 @@ export const getModulesObjectBeleidsdoelActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ +export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): BeleidsdoelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -2295,6 +2631,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2303,7 +2640,9 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2329,6 +2668,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2337,7 +2677,9 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2347,6 +2689,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2372,6 +2715,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -2397,6 +2741,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2405,7 +2750,9 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2414,6 +2761,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2432,6 +2780,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2440,6 +2789,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2448,6 +2798,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2456,6 +2807,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2464,9 +2816,11 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -2479,6 +2833,7 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -2491,9 +2846,12 @@ export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getBeleidskeuzesValidGetMock = () => ({ +export const getBeleidskeuzesValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidskeuzeBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -2539,11 +2897,15 @@ export const getBeleidskeuzesValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getBeleidskeuzesValidLineageIdGetMock = () => ({ +export const getBeleidskeuzesValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidskeuzeBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -2589,11 +2951,15 @@ export const getBeleidskeuzesValidLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ +export const getBeleidskeuzesVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): BeleidskeuzeFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -2620,6 +2986,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2628,7 +2995,9 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2654,6 +3023,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2662,7 +3032,9 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2673,6 +3045,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2696,7 +3069,10 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, Start_Validity: faker.helpers.arrayElement([ `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -2704,6 +3080,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2717,6 +3094,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -2742,6 +3120,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2750,7 +3129,9 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2759,6 +3140,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2804,6 +3186,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ faker.word.sample(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2812,7 +3195,9 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -2827,6 +3212,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2835,6 +3221,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2843,6 +3230,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2851,6 +3239,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -2859,9 +3248,11 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -2878,6 +3269,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -2900,6 +3292,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -2937,6 +3330,7 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2945,13 +3339,18 @@ export const getBeleidskeuzesVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), + ...overrideResponse, }) -export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ +export const getBeleidskeuzesLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): BeleidskeuzeFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -2978,6 +3377,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -2986,7 +3386,9 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3012,6 +3414,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3020,7 +3423,9 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3031,6 +3436,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3054,7 +3460,10 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, Start_Validity: faker.helpers.arrayElement([ `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -3062,6 +3471,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3075,6 +3485,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -3100,6 +3511,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3108,7 +3520,9 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3117,6 +3531,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3162,6 +3577,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ faker.word.sample(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3170,7 +3586,9 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3185,6 +3603,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3193,6 +3612,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3201,6 +3621,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3209,6 +3630,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3217,9 +3639,11 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -3236,6 +3660,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -3258,6 +3683,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -3295,6 +3721,7 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3303,13 +3730,18 @@ export const getBeleidskeuzesLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), + ...overrideResponse, }) -export const getBeleidskeuzesRelationsLineageIdGetMock = () => +export const getBeleidskeuzesRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -3324,17 +3756,20 @@ export const getBeleidskeuzesRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getBeleidskeuzesRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidskeuzesRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getBeleidskeuzeStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidskeuzeStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getBeleidskeuzeAcknowledgedRelationsLineageIdGetMock = () => +export const getBeleidskeuzeAcknowledgedRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): AcknowledgedRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -3368,6 +3803,7 @@ export const getBeleidskeuzeAcknowledgedRelationsLineageIdGetMock = () => Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, }, Side_B: { Acknowledged: faker.helpers.arrayElement([ @@ -3385,18 +3821,25 @@ export const getBeleidskeuzeAcknowledgedRelationsLineageIdGetMock = () => Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, }, Version: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, })) -export const getBeleidskeuzeAcknowledgedRelationsLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidskeuzeAcknowledgedRelationsLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getBeleidskeuzeAcknowledgedRelationsLineageIdEditPostMock = - () => ({ message: faker.word.sample() }) +export const getBeleidskeuzeAcknowledgedRelationsLineageIdEditPostResponseMock = + (overrideResponse: any = {}): ResponseOK => ({ + message: faker.word.sample(), + ...overrideResponse, + }) -export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidskeuzeExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -3419,6 +3862,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3442,6 +3886,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3460,6 +3905,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3468,6 +3914,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3476,6 +3923,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3484,6 +3932,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3492,9 +3941,11 @@ export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -3511,20 +3962,25 @@ export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock = () => ({ faker.word.sample(), undefined, ]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidskeuzeLineageIdPatchMock = () => ({ +export const getModulesModuleIdObjectBeleidskeuzeLineageIdPatchResponseMock = ( + overrideResponse: any = {} +): BeleidskeuzeUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetResponseMock = + (overrideResponse: any = {}): BeleidskeuzeFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -3551,6 +4007,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3562,7 +4019,9 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3588,6 +4047,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3599,7 +4059,9 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3610,6 +4072,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3641,7 +4104,10 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${ faker.date.past().toISOString().split('.')[0] }Z`, @@ -3651,6 +4117,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3664,6 +4131,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -3689,6 +4157,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3700,7 +4169,9 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3709,6 +4180,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3754,6 +4226,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = faker.word.sample(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3765,7 +4238,9 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3780,6 +4255,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3788,6 +4264,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3796,6 +4273,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3804,6 +4282,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -3812,9 +4291,11 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -3831,6 +4312,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -3853,6 +4335,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -3890,6 +4373,7 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3901,14 +4385,17 @@ export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = - () => ({ +export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): BeleidskeuzeFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -3935,6 +4422,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3946,7 +4434,9 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3972,6 +4462,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -3983,7 +4474,9 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -3994,6 +4487,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4025,7 +4519,10 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${ faker.date.past().toISOString().split('.')[0] }Z`, @@ -4035,6 +4532,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4048,6 +4546,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -4073,6 +4572,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -4084,7 +4584,9 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -4093,6 +4595,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4138,6 +4641,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = faker.word.sample(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -4149,7 +4653,9 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -4164,6 +4670,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4172,6 +4679,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4180,6 +4688,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4188,6 +4697,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4196,9 +4706,11 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -4215,6 +4727,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -4237,6 +4750,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -4274,6 +4788,7 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -4285,13 +4800,18 @@ export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), + ...overrideResponse, }) -export const getModulesObjectsBeleidskeuzeActiveLineageIdGetMock = () => +export const getModulesObjectsBeleidskeuzeActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -4305,6 +4825,7 @@ export const getModulesObjectsBeleidskeuzeActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4313,6 +4834,7 @@ export const getModulesObjectsBeleidskeuzeActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4328,10 +4850,12 @@ export const getModulesObjectsBeleidskeuzeActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -4341,368 +4865,429 @@ export const getModulesObjectsBeleidskeuzeActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdBeleidskeuzeVersionObjectUuidGetMock = () => ({ - Adjust_On: faker.helpers.arrayElement([ - faker.helpers.arrayElement([faker.string.uuid(), null]), - undefined, - ]), - Beleidsdoelen: faker.helpers.arrayElement([ - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Object: { - Object_ID: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - Object_Type: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Title: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), +export const getRevisionsModuleIdBeleidskeuzeVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): BeleidskeuzeFull => ({ + Adjust_On: faker.helpers.arrayElement([ + faker.helpers.arrayElement([faker.string.uuid(), null]), + undefined, + ]), + Beleidsdoelen: faker.helpers.arrayElement([ + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Object: { + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + Object_Type: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Title: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + ...overrideResponse, + }, + Relation: { + Description: faker.helpers.arrayElement([ + faker.helpers.arrayElement([faker.word.sample(), null]), + undefined, + ]), + Object_ID: faker.number.int({ + min: undefined, + max: undefined, + }), + Object_Type: faker.word.sample(), + ...overrideResponse, + }, + ...overrideResponse, + })), + undefined, + ]), + Beleidsregels: faker.helpers.arrayElement([ + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Object: { + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + Object_Type: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Title: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + ...overrideResponse, + }, + Relation: { + Description: faker.helpers.arrayElement([ + faker.helpers.arrayElement([faker.word.sample(), null]), + undefined, + ]), + Object_ID: faker.number.int({ + min: undefined, + max: undefined, + }), + Object_Type: faker.word.sample(), + ...overrideResponse, + }, + ...overrideResponse, + })), + undefined, + ]), + Cause: faker.helpers.arrayElement([faker.word.sample(), undefined]), + Code: faker.helpers.arrayElement([faker.word.sample(), undefined]), + Created_By: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, }, - Relation: { - Description: faker.helpers.arrayElement([ - faker.helpers.arrayElement([faker.word.sample(), null]), + undefined, + ]), + Created_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + Description: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + End_Validity: faker.helpers.arrayElement([ + faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + null, + ]), + undefined, + ]), + Explanation: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Gebied: faker.helpers.arrayElement([ + { + Created_Date: `${ + faker.date.past().toISOString().split('.')[0] + }Z`, + End_Validity: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - }, - })), - undefined, - ]), - Beleidsregels: faker.helpers.arrayElement([ - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Object: { - Object_ID: faker.helpers.arrayElement([ + ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), - Object_Type: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Title: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - UUID: faker.helpers.arrayElement([ - faker.string.uuid(), + Modified_Date: `${ + faker.date.past().toISOString().split('.')[0] + }Z`, + Start_Validity: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, }, - Relation: { - Description: faker.helpers.arrayElement([ - faker.helpers.arrayElement([faker.word.sample(), null]), - undefined, - ]), + undefined, + ]), + Hierarchy_Code: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Hierarchy_Statics: faker.helpers.arrayElement([ + { + Cached_Title: faker.word.sample(), + Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, - })), - undefined, - ]), - Cause: faker.helpers.arrayElement([faker.word.sample(), undefined]), - Code: faker.helpers.arrayElement([faker.word.sample(), undefined]), - Created_By: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Created_Date: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - Description: faker.helpers.arrayElement([faker.word.sample(), undefined]), - End_Validity: faker.helpers.arrayElement([ - faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - null, + undefined, ]), - undefined, - ]), - Explanation: faker.helpers.arrayElement([faker.word.sample(), undefined]), - Gebied: faker.helpers.arrayElement([ - { - Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, - End_Validity: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - ID: faker.number.int({ min: undefined, max: undefined }), - Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, - Start_Validity: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - Title: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Hierarchy_Code: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Hierarchy_Statics: faker.helpers.arrayElement([ - { - Cached_Title: faker.word.sample(), - Code: faker.word.sample(), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - }, - undefined, - ]), - Maatregelen: faker.helpers.arrayElement([ - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Object: { - Object_ID: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), + Maatregelen: faker.helpers.arrayElement([ + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Object: { + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + Object_Type: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Title: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + ...overrideResponse, + }, + Relation: { + Description: faker.helpers.arrayElement([ + faker.helpers.arrayElement([faker.word.sample(), null]), + undefined, + ]), + Object_ID: faker.number.int({ + min: undefined, + max: undefined, + }), + Object_Type: faker.word.sample(), + ...overrideResponse, + }, + ...overrideResponse, + })), + undefined, + ]), + Modified_By: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Modified_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + NationaleBelangen: faker.helpers.arrayElement([ + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Object: { + Code: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Created_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + Modified_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + Object_Type: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Title: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Weblink: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + ...overrideResponse, + }, + Relation: { + Description: faker.helpers.arrayElement([ + faker.helpers.arrayElement([faker.word.sample(), null]), + undefined, + ]), + Object_ID: faker.number.int({ + min: undefined, + max: undefined, + }), + Object_Type: faker.word.sample(), + ...overrideResponse, + }, + ...overrideResponse, + })), + undefined, + ]), + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + ObjectStatics: faker.helpers.arrayElement([ + { + Client_1: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, undefined, ]), - Object_Type: faker.helpers.arrayElement([ - faker.word.sample(), + Owner_1: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, undefined, ]), - Title: faker.helpers.arrayElement([ - faker.word.sample(), + Owner_2: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, undefined, ]), - UUID: faker.helpers.arrayElement([ - faker.string.uuid(), + Portfolio_Holder_1: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, undefined, ]), - }, - Relation: { - Description: faker.helpers.arrayElement([ - faker.helpers.arrayElement([faker.word.sample(), null]), + Portfolio_Holder_2: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, undefined, ]), + ...overrideResponse, + }, + undefined, + ]), + Provincial_Interest: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Public_Revisions: faker.helpers.arrayElement([ + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Module_Object_UUID: faker.string.uuid(), + Module_Status: faker.word.sample(), + Module_Title: faker.word.sample(), + ...overrideResponse, + })), + undefined, + ]), + Start_Validity: faker.helpers.arrayElement([ + faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + null, + ]), + undefined, + ]), + Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), + UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + Werkingsgebied_Code: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Werkingsgebied_Statics: faker.helpers.arrayElement([ + { + Cached_Title: faker.word.sample(), + Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, - })), - undefined, - ]), - Modified_By: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Modified_Date: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - NationaleBelangen: faker.helpers.arrayElement([ - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Object: { - Code: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Created_Date: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - Modified_Date: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - Object_ID: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - Object_Type: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Title: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - Weblink: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - }, - Relation: { - Description: faker.helpers.arrayElement([ - faker.helpers.arrayElement([faker.word.sample(), null]), - undefined, - ]), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - }, - })), - undefined, - ]), - Object_ID: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - ObjectStatics: faker.helpers.arrayElement([ - { - Client_1: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Owner_1: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Owner_2: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Portfolio_Holder_1: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), + undefined, + ]), + WettelijkeTaken: faker.helpers.arrayElement([ + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Object: { + Code: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Created_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + Modified_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + Object_Type: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Title: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + ...overrideResponse, }, - undefined, - ]), - Portfolio_Holder_2: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), + Relation: { + Description: faker.helpers.arrayElement([ + faker.helpers.arrayElement([faker.word.sample(), null]), + undefined, + ]), + Object_ID: faker.number.int({ + min: undefined, + max: undefined, + }), + Object_Type: faker.word.sample(), + ...overrideResponse, }, - undefined, - ]), - }, - undefined, - ]), - Provincial_Interest: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Public_Revisions: faker.helpers.arrayElement([ - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Module_ID: faker.number.int({ min: undefined, max: undefined }), - Module_Object_UUID: faker.string.uuid(), - Module_Status: faker.word.sample(), - Module_Title: faker.word.sample(), - })), - undefined, - ]), - Start_Validity: faker.helpers.arrayElement([ - faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - null, + ...overrideResponse, + })), + undefined, ]), - undefined, - ]), - Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), - UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), - Werkingsgebied_Code: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Werkingsgebied_Statics: faker.helpers.arrayElement([ - { - Cached_Title: faker.word.sample(), - Code: faker.word.sample(), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - }, - undefined, - ]), - WettelijkeTaken: faker.helpers.arrayElement([ - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Object: { - Code: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Created_Date: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - Modified_Date: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - Object_ID: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - Object_Type: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Title: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - }, - Relation: { - Description: faker.helpers.arrayElement([ - faker.helpers.arrayElement([faker.word.sample(), null]), - undefined, - ]), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - }, - })), - undefined, - ]), -}) + ...overrideResponse, + }) -export const getBeleidsregelsValidGetMock = () => ({ +export const getBeleidsregelsValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidsregelBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -4749,11 +5334,15 @@ export const getBeleidsregelsValidGetMock = () => ({ Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getBeleidsregelsValidLineageIdGetMock = () => ({ +export const getBeleidsregelsValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidsregelBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -4800,11 +5389,15 @@ export const getBeleidsregelsValidLineageIdGetMock = () => ({ Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ +export const getBeleidsregelsVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): BeleidsregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -4831,6 +5424,7 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -4839,7 +5433,9 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -4849,6 +5445,7 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4869,6 +5466,7 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4887,6 +5485,7 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4895,6 +5494,7 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4903,6 +5503,7 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4911,6 +5512,7 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -4919,9 +5521,11 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -4934,6 +5538,7 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -4947,9 +5552,12 @@ export const getBeleidsregelsVersionObjectUuidGetMock = () => ({ Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, }) -export const getBeleidsregelsLatestLineageIdGetMock = () => ({ +export const getBeleidsregelsLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): BeleidsregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -4976,6 +5584,7 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -4984,7 +5593,9 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -4994,6 +5605,7 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5014,6 +5626,7 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5032,6 +5645,7 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5040,6 +5654,7 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5048,6 +5663,7 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5056,6 +5672,7 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5064,9 +5681,11 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -5079,6 +5698,7 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -5092,9 +5712,12 @@ export const getBeleidsregelsLatestLineageIdGetMock = () => ({ Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, }) -export const getBeleidsregelsRelationsLineageIdGetMock = () => +export const getBeleidsregelsRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -5109,17 +5732,20 @@ export const getBeleidsregelsRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getBeleidsregelsRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidsregelsRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getBeleidsregelStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidsregelStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectBeleidsregelLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseBeleidsregelExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -5142,6 +5768,7 @@ export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5161,6 +5788,7 @@ export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5179,6 +5807,7 @@ export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5187,6 +5816,7 @@ export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5195,6 +5825,7 @@ export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5203,6 +5834,7 @@ export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5211,9 +5843,11 @@ export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -5227,20 +5861,25 @@ export const getModulesModuleIdObjectBeleidsregelLineageIdGetMock = () => ({ Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidsregelLineageIdPatchMock = () => ({ +export const getModulesModuleIdObjectBeleidsregelLineageIdPatchResponseMock = ( + overrideResponse: any = {} +): BeleidsregelUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetResponseMock = + (overrideResponse: any = {}): BeleidsregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -5267,6 +5906,7 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -5278,7 +5918,9 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -5288,6 +5930,7 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5311,6 +5954,7 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5329,6 +5973,7 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5337,6 +5982,7 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5345,6 +5991,7 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5353,6 +6000,7 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5361,9 +6009,11 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -5376,6 +6026,7 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -5389,10 +6040,11 @@ export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock = Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = - () => ({ +export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): BeleidsregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -5419,6 +6071,7 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -5430,7 +6083,9 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -5440,6 +6095,7 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5463,6 +6119,7 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5481,6 +6138,7 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5489,6 +6147,7 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5497,6 +6156,7 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5505,6 +6165,7 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5513,9 +6174,11 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -5528,6 +6191,7 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -5541,9 +6205,12 @@ export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock = Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, }) -export const getModulesObjectsBeleidsregelActiveLineageIdGetMock = () => +export const getModulesObjectsBeleidsregelActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -5557,6 +6224,7 @@ export const getModulesObjectsBeleidsregelActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5565,6 +6233,7 @@ export const getModulesObjectsBeleidsregelActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5580,10 +6249,12 @@ export const getModulesObjectsBeleidsregelActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -5593,155 +6264,179 @@ export const getModulesObjectsBeleidsregelActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdBeleidsregelVersionObjectUuidGetMock = () => ({ - Adjust_On: faker.helpers.arrayElement([ - faker.helpers.arrayElement([faker.string.uuid(), null]), - undefined, - ]), - Beleidskeuzes: faker.helpers.arrayElement([ - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Object: { - Object_ID: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - Object_Type: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - Title: faker.helpers.arrayElement([ - faker.word.sample(), - undefined, - ]), - UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - }, - Relation: { - Description: faker.helpers.arrayElement([ - faker.helpers.arrayElement([faker.word.sample(), null]), - undefined, - ]), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - }, - })), - undefined, - ]), - Code: faker.helpers.arrayElement([faker.word.sample(), undefined]), - Created_By: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Created_Date: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - Description: faker.helpers.arrayElement([faker.word.sample(), undefined]), - End_Validity: faker.helpers.arrayElement([ - faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - null, +export const getRevisionsModuleIdBeleidsregelVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): BeleidsregelFull => ({ + Adjust_On: faker.helpers.arrayElement([ + faker.helpers.arrayElement([faker.string.uuid(), null]), + undefined, ]), - undefined, - ]), - Modified_By: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Modified_Date: faker.helpers.arrayElement([ - `${faker.date.past().toISOString().split('.')[0]}Z`, - undefined, - ]), - Object_ID: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - ObjectStatics: faker.helpers.arrayElement([ - { - Client_1: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Owner_1: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Owner_2: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Portfolio_Holder_1: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), + Beleidskeuzes: faker.helpers.arrayElement([ + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Object: { + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + Object_Type: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + Title: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + ...overrideResponse, }, - undefined, - ]), - Portfolio_Holder_2: faker.helpers.arrayElement([ - { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), + Relation: { + Description: faker.helpers.arrayElement([ + faker.helpers.arrayElement([faker.word.sample(), null]), + undefined, + ]), + Object_ID: faker.number.int({ + min: undefined, + max: undefined, + }), + Object_Type: faker.word.sample(), + ...overrideResponse, }, - undefined, + ...overrideResponse, + })), + undefined, + ]), + Code: faker.helpers.arrayElement([faker.word.sample(), undefined]), + Created_By: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Created_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + Description: faker.helpers.arrayElement([ + faker.word.sample(), + undefined, + ]), + End_Validity: faker.helpers.arrayElement([ + faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + null, ]), - }, - undefined, - ]), - Public_Revisions: faker.helpers.arrayElement([ - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Module_ID: faker.number.int({ min: undefined, max: undefined }), - Module_Object_UUID: faker.string.uuid(), - Module_Status: faker.word.sample(), - Module_Title: faker.word.sample(), - })), - undefined, - ]), - Start_Validity: faker.helpers.arrayElement([ - faker.helpers.arrayElement([ + undefined, + ]), + Modified_By: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Modified_Date: faker.helpers.arrayElement([ `${faker.date.past().toISOString().split('.')[0]}Z`, - null, + undefined, ]), - undefined, - ]), - Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), - UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), - Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), -}) + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + ObjectStatics: faker.helpers.arrayElement([ + { + Client_1: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Owner_1: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Owner_2: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Portfolio_Holder_1: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Portfolio_Holder_2: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + ...overrideResponse, + }, + undefined, + ]), + Public_Revisions: faker.helpers.arrayElement([ + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Module_Object_UUID: faker.string.uuid(), + Module_Status: faker.word.sample(), + Module_Title: faker.word.sample(), + ...overrideResponse, + })), + undefined, + ]), + Start_Validity: faker.helpers.arrayElement([ + faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + null, + ]), + undefined, + ]), + Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), + UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, + }) -export const getGebiedsprogrammasValidGetMock = () => ({ +export const getGebiedsprogrammasValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseGebiedsprogrammaBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -5791,11 +6486,15 @@ export const getGebiedsprogrammasValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getGebiedsprogrammasValidLineageIdGetMock = () => ({ +export const getGebiedsprogrammasValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseGebiedsprogrammaBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -5845,11 +6544,15 @@ export const getGebiedsprogrammasValidLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ +export const getGebiedsprogrammasVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): GebiedsprogrammaFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -5860,6 +6563,7 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5901,6 +6605,7 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -5909,7 +6614,9 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -5918,6 +6625,7 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5936,6 +6644,7 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5944,6 +6653,7 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5952,6 +6662,7 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5960,6 +6671,7 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -5968,9 +6680,11 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -5983,6 +6697,7 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -5995,9 +6710,12 @@ export const getGebiedsprogrammasVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ +export const getGebiedsprogrammasLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): GebiedsprogrammaFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -6008,6 +6726,7 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6049,6 +6768,7 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -6057,7 +6777,9 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -6066,6 +6788,7 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6084,6 +6807,7 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6092,6 +6816,7 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6100,6 +6825,7 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6108,6 +6834,7 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6116,9 +6843,11 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -6131,6 +6860,7 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -6143,9 +6873,12 @@ export const getGebiedsprogrammasLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getGebiedsprogrammasRelationsLineageIdGetMock = () => +export const getGebiedsprogrammasRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -6160,18 +6893,19 @@ export const getGebiedsprogrammasRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getGebiedsprogrammasRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getGebiedsprogrammasRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getGebiedsprogrammasStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getGebiedsprogrammasStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetResponseMock = + (overrideResponse: any = {}): PagedResponseGebiedsprogrammaExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -6194,6 +6928,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6217,6 +6952,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6235,6 +6971,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6243,6 +6980,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6251,6 +6989,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6259,6 +6998,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6267,9 +7007,11 @@ export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -6282,21 +7024,24 @@ export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectGebiedsprogrammasLineageIdPatchMock = - () => ({ +export const getModulesModuleIdObjectGebiedsprogrammasLineageIdPatchResponseMock = + (overrideResponse: any = {}): GebiedsprogrammaUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetResponseMock = + (overrideResponse: any = {}): GebiedsprogrammaFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -6307,6 +7052,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6351,6 +7097,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -6362,7 +7109,9 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -6371,6 +7120,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6389,6 +7139,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6397,6 +7148,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6405,6 +7157,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6413,6 +7166,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6421,9 +7175,11 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -6436,6 +7192,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -6448,10 +7205,11 @@ export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = - () => ({ +export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): GebiedsprogrammaFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -6462,6 +7220,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6506,6 +7265,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -6517,7 +7277,9 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -6526,6 +7288,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6544,6 +7307,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6552,6 +7316,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6560,6 +7325,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6568,6 +7334,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6576,9 +7343,11 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -6591,6 +7360,7 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -6603,9 +7373,12 @@ export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesObjectsGebiedsprogrammaActiveLineageIdGetMock = () => +export const getModulesObjectsGebiedsprogrammaActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -6619,6 +7392,7 @@ export const getModulesObjectsGebiedsprogrammaActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6627,6 +7401,7 @@ export const getModulesObjectsGebiedsprogrammaActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6642,10 +7417,12 @@ export const getModulesObjectsGebiedsprogrammaActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -6655,11 +7432,13 @@ export const getModulesObjectsGebiedsprogrammaActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = - () => ({ +export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): GebiedsprogrammaFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -6670,6 +7449,7 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6714,6 +7494,7 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -6725,7 +7506,9 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -6734,6 +7517,7 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6752,6 +7536,7 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6760,6 +7545,7 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6768,6 +7554,7 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6776,6 +7563,7 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -6784,9 +7572,11 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -6799,6 +7589,7 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -6811,9 +7602,12 @@ export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getMaatregelenValidGetMock = () => ({ +export const getMaatregelenValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseMaatregelBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -6859,11 +7653,15 @@ export const getMaatregelenValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getMaatregelenValidLineageIdGetMock = () => ({ +export const getMaatregelenValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseMaatregelBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -6909,11 +7707,15 @@ export const getMaatregelenValidLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getMaatregelenVersionObjectUuidGetMock = () => ({ +export const getMaatregelenVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): MaatregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -6940,6 +7742,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -6948,7 +7751,9 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -6974,6 +7779,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -6982,7 +7788,9 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -6992,6 +7800,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7015,7 +7824,10 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, Start_Validity: faker.helpers.arrayElement([ `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -7023,6 +7835,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7048,6 +7861,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7056,7 +7870,9 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7070,6 +7886,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -7078,6 +7895,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7096,6 +7914,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7104,6 +7923,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7112,6 +7932,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7120,6 +7941,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7128,9 +7950,11 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -7143,6 +7967,7 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -7166,12 +7991,16 @@ export const getMaatregelenVersionObjectUuidGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }) -export const getMaatregelenLatestLineageIdGetMock = () => ({ +export const getMaatregelenLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): MaatregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -7198,6 +8027,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7206,7 +8036,9 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7232,6 +8064,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7240,7 +8073,9 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7250,6 +8085,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7273,7 +8109,10 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, Start_Validity: faker.helpers.arrayElement([ `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -7281,6 +8120,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7306,6 +8146,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7314,7 +8155,9 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7328,6 +8171,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -7336,6 +8180,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7354,6 +8199,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7362,6 +8208,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7370,6 +8217,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7378,6 +8226,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7386,9 +8235,11 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -7401,6 +8252,7 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -7424,12 +8276,16 @@ export const getMaatregelenLatestLineageIdGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }) -export const getMaatregelenRelationsLineageIdGetMock = () => +export const getMaatregelenRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -7444,17 +8300,20 @@ export const getMaatregelenRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getMaatregelenRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getMaatregelenRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getMaatregelStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getMaatregelStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectMaatregelLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseMaatregelExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -7477,6 +8336,7 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7500,7 +8360,10 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${ faker.date.past().toISOString().split('.')[0] }Z`, @@ -7510,6 +8373,7 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7522,6 +8386,7 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7540,6 +8405,7 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7548,6 +8414,7 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7556,6 +8423,7 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7564,6 +8432,7 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7572,9 +8441,11 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -7591,19 +8462,26 @@ export const getModulesModuleIdObjectMaatregelLineageIdGetMock = () => ({ faker.word.sample(), undefined, ]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectMaatregelLineageIdPatchMock = () => ({ +export const getModulesModuleIdObjectMaatregelLineageIdPatchResponseMock = ( + overrideResponse: any = {} +): MaatregelUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectMaatregelLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): MaatregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -7630,6 +8508,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7638,7 +8517,9 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7664,6 +8545,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7672,7 +8554,9 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7682,6 +8566,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7705,7 +8590,10 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, Start_Validity: faker.helpers.arrayElement([ `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -7713,6 +8601,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7738,6 +8627,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7746,7 +8636,9 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7760,6 +8652,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -7768,6 +8661,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7786,6 +8680,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7794,6 +8689,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7802,6 +8698,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7810,6 +8707,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7818,9 +8716,11 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -7833,6 +8733,7 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -7856,13 +8757,15 @@ export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }) -export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = - () => ({ +export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): MaatregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -7889,6 +8792,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7900,7 +8804,9 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7926,6 +8832,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -7937,7 +8844,9 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -7947,6 +8856,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -7975,7 +8885,10 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${ faker.date.past().toISOString().split('.')[0] }Z`, @@ -7985,6 +8898,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8010,6 +8924,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -8021,7 +8936,9 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = max: undefined, }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -8035,6 +8952,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -8043,6 +8961,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8061,6 +8980,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8069,6 +8989,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8077,6 +8998,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8085,6 +9007,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8093,9 +9016,11 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -8108,6 +9033,7 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -8131,12 +9057,16 @@ export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock = Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }) -export const getModulesObjectsMaatregelActiveLineageIdGetMock = () => +export const getModulesObjectsMaatregelActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -8150,6 +9080,7 @@ export const getModulesObjectsMaatregelActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8158,6 +9089,7 @@ export const getModulesObjectsMaatregelActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8173,10 +9105,12 @@ export const getModulesObjectsMaatregelActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -8186,10 +9120,14 @@ export const getModulesObjectsMaatregelActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ +export const getRevisionsModuleIdMaatregelVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): MaatregelFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -8216,6 +9154,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -8224,7 +9163,9 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -8250,6 +9191,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -8258,7 +9200,9 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -8268,6 +9212,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8291,7 +9236,10 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, Start_Validity: faker.helpers.arrayElement([ `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -8299,6 +9247,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8324,6 +9273,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -8332,7 +9282,9 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -8346,6 +9298,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), @@ -8354,6 +9307,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8372,6 +9326,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8380,6 +9335,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8388,6 +9344,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8396,6 +9353,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8404,9 +9362,11 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -8419,6 +9379,7 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -8442,28 +9403,35 @@ export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMock = () => ({ Code: faker.word.sample(), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }) -export const getNationaalBelangPostMock = () => ({ +export const getNationaalBelangPostResponseMock = ( + overrideResponse: any = {} +): NationaalBelangUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getNationaalBelangLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getNationaalBelangLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getNationaalBelangLineageIdDeleteMock = () => ({ - message: faker.word.sample(), -}) +export const getNationaalBelangLineageIdDeleteResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getNationaalBelangValidGetMock = () => ({ +export const getNationaalBelangValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseNationaalBelangBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -8496,11 +9464,15 @@ export const getNationaalBelangValidGetMock = () => ({ Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getNationaalBelangLatestLineageIdGetMock = () => ({ +export const getNationaalBelangLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): NationaalBelangFull => ({ Beleidskeuzes: faker.helpers.arrayElement([ Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, @@ -8516,6 +9488,7 @@ export const getNationaalBelangLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), undefined, ]), @@ -8525,6 +9498,7 @@ export const getNationaalBelangLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8544,6 +9518,7 @@ export const getNationaalBelangLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8563,6 +9538,7 @@ export const getNationaalBelangLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8571,9 +9547,11 @@ export const getNationaalBelangLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -8587,9 +9565,12 @@ export const getNationaalBelangLatestLineageIdGetMock = () => ({ Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, }) -export const getNationaalBelangRelationsLineageIdGetMock = () => +export const getNationaalBelangRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -8604,17 +9585,20 @@ export const getNationaalBelangRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getNationaalBelangRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getNationaalBelangRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getNationaalBelangStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getNationaalBelangStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getProgrammasAlgemeenValidGetMock = () => ({ +export const getProgrammasAlgemeenValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseProgrammaAlgemeenBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -8660,11 +9644,15 @@ export const getProgrammasAlgemeenValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getProgrammasAlgemeenValidLineageIdGetMock = () => ({ +export const getProgrammasAlgemeenValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseProgrammaAlgemeenBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -8710,11 +9698,15 @@ export const getProgrammasAlgemeenValidLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getProgrammasAlgemeenVersionObjectUuidGetMock = () => ({ +export const getProgrammasAlgemeenVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): ProgrammaAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -8725,6 +9717,7 @@ export const getProgrammasAlgemeenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8745,6 +9738,7 @@ export const getProgrammasAlgemeenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8763,6 +9757,7 @@ export const getProgrammasAlgemeenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8771,9 +9766,11 @@ export const getProgrammasAlgemeenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -8786,6 +9783,7 @@ export const getProgrammasAlgemeenVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -8798,9 +9796,12 @@ export const getProgrammasAlgemeenVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getProgrammasAlgemeenLatestLineageIdGetMock = () => ({ +export const getProgrammasAlgemeenLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ProgrammaAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -8811,6 +9812,7 @@ export const getProgrammasAlgemeenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8831,6 +9833,7 @@ export const getProgrammasAlgemeenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8849,6 +9852,7 @@ export const getProgrammasAlgemeenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8857,9 +9861,11 @@ export const getProgrammasAlgemeenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -8872,6 +9878,7 @@ export const getProgrammasAlgemeenLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -8884,14 +9891,15 @@ export const getProgrammasAlgemeenLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getProgrammaAlgemeenStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getProgrammaAlgemeenStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetResponseMock = + (overrideResponse: any = {}): PagedResponseProgrammaAlgemeenExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -8914,6 +9922,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8933,6 +9942,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8951,6 +9961,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -8959,9 +9970,11 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -8974,21 +9987,24 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdPatchMock = - () => ({ +export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdPatchResponseMock = + (overrideResponse: any = {}): ProgrammaAlgemeenUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetResponseMock = + (overrideResponse: any = {}): ProgrammaAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -8999,6 +10015,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9022,6 +10039,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9040,6 +10058,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9048,9 +10067,11 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -9063,6 +10084,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -9075,10 +10097,11 @@ export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMock = - () => ({ +export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): ProgrammaAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -9089,6 +10112,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9112,6 +10136,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9130,6 +10155,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9138,9 +10164,11 @@ export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -9153,6 +10181,7 @@ export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -9165,9 +10194,12 @@ export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesObjectProgrammaAlgemeenActiveLineageIdGetMock = () => +export const getModulesObjectProgrammaAlgemeenActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -9181,6 +10213,7 @@ export const getModulesObjectProgrammaAlgemeenActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9189,6 +10222,7 @@ export const getModulesObjectProgrammaAlgemeenActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9204,10 +10238,12 @@ export const getModulesObjectProgrammaAlgemeenActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -9217,11 +10253,13 @@ export const getModulesObjectProgrammaAlgemeenActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMock = - () => ({ +export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): ProgrammaAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -9232,6 +10270,7 @@ export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9255,6 +10294,7 @@ export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9273,6 +10313,7 @@ export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9281,9 +10322,11 @@ export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -9296,6 +10339,7 @@ export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -9308,25 +10352,31 @@ export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getVerplichtProgrammaPostMock = () => ({ +export const getVerplichtProgrammaPostResponseMock = ( + overrideResponse: any = {} +): VerplichtProgrammaUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getVerplichtProgrammaLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getVerplichtProgrammaLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getVerplichtProgrammaLineageIdDeleteMock = () => ({ - message: faker.word.sample(), -}) +export const getVerplichtProgrammaLineageIdDeleteResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getVerplichtProgrammaValidGetMock = () => ({ +export const getVerplichtProgrammaValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseVerplichtProgrammaBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -9358,17 +10408,22 @@ export const getVerplichtProgrammaValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getVerplichtProgrammaLatestLineageIdGetMock = () => ({ +export const getVerplichtProgrammaLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): VerplichtProgrammaFull => ({ Code: faker.helpers.arrayElement([faker.word.sample(), undefined]), Created_By: faker.helpers.arrayElement([ { Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9406,6 +10461,7 @@ export const getVerplichtProgrammaLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -9414,7 +10470,9 @@ export const getVerplichtProgrammaLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -9423,6 +10481,7 @@ export const getVerplichtProgrammaLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9442,6 +10501,7 @@ export const getVerplichtProgrammaLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9450,9 +10510,11 @@ export const getVerplichtProgrammaLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -9489,12 +10551,16 @@ export const getVerplichtProgrammaLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), undefined, ]), + ...overrideResponse, }) -export const getVerplichtProgrammaRelationsLineageIdGetMock = () => +export const getVerplichtProgrammaRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -9509,17 +10575,20 @@ export const getVerplichtProgrammaRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getVerplichtProgrammaRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getVerplichtProgrammaRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getVerplichtProgrammaStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getVerplichtProgrammaStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getVisiesAlgemeenValidGetMock = () => ({ +export const getVisiesAlgemeenValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseVisieAlgemeenBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -9565,11 +10634,15 @@ export const getVisiesAlgemeenValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getVisiesAlgemeenValidLineageIdGetMock = () => ({ +export const getVisiesAlgemeenValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseVisieAlgemeenBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -9615,11 +10688,15 @@ export const getVisiesAlgemeenValidLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getVisiesAlgemeenVersionObjectUuidGetMock = () => ({ +export const getVisiesAlgemeenVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): VisieAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -9630,6 +10707,7 @@ export const getVisiesAlgemeenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9650,6 +10728,7 @@ export const getVisiesAlgemeenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9668,6 +10747,7 @@ export const getVisiesAlgemeenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9676,9 +10756,11 @@ export const getVisiesAlgemeenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -9691,6 +10773,7 @@ export const getVisiesAlgemeenVersionObjectUuidGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -9703,9 +10786,12 @@ export const getVisiesAlgemeenVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getVisiesAlgemeenLatestLineageIdGetMock = () => ({ +export const getVisiesAlgemeenLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): VisieAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -9716,6 +10802,7 @@ export const getVisiesAlgemeenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9736,6 +10823,7 @@ export const getVisiesAlgemeenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9754,6 +10842,7 @@ export const getVisiesAlgemeenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9762,9 +10851,11 @@ export const getVisiesAlgemeenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -9777,6 +10868,7 @@ export const getVisiesAlgemeenLatestLineageIdGetMock = () => ({ Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -9789,13 +10881,16 @@ export const getVisiesAlgemeenLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getVisieAlgemeenStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getVisieAlgemeenStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getModulesModuleIdObjectVisieAlgemeenLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectVisieAlgemeenLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseVisieAlgemeenExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -9818,6 +10913,7 @@ export const getModulesModuleIdObjectVisieAlgemeenLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9837,6 +10933,7 @@ export const getModulesModuleIdObjectVisieAlgemeenLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9855,6 +10952,7 @@ export const getModulesModuleIdObjectVisieAlgemeenLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9863,9 +10961,11 @@ export const getModulesModuleIdObjectVisieAlgemeenLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -9878,20 +10978,25 @@ export const getModulesModuleIdObjectVisieAlgemeenLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectVisieAlgemeenLineageIdPatchMock = () => ({ +export const getModulesModuleIdObjectVisieAlgemeenLineageIdPatchResponseMock = ( + overrideResponse: any = {} +): VisieAlgemeenUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetResponseMock = + (overrideResponse: any = {}): VisieAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -9902,6 +11007,7 @@ export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9925,6 +11031,7 @@ export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9943,6 +11050,7 @@ export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -9951,9 +11059,11 @@ export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -9966,6 +11076,7 @@ export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -9978,10 +11089,11 @@ export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMock = - () => ({ +export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): VisieAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -9992,6 +11104,7 @@ export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10015,6 +11128,7 @@ export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10033,6 +11147,7 @@ export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10041,9 +11156,11 @@ export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -10056,6 +11173,7 @@ export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -10068,9 +11186,12 @@ export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesObjectVisieAlgemeenActiveLineageIdGetMock = () => +export const getModulesObjectVisieAlgemeenActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -10084,6 +11205,7 @@ export const getModulesObjectVisieAlgemeenActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10092,6 +11214,7 @@ export const getModulesObjectVisieAlgemeenActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10107,10 +11230,12 @@ export const getModulesObjectVisieAlgemeenActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -10120,11 +11245,13 @@ export const getModulesObjectVisieAlgemeenActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMock = - () => ({ +export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): VisieAlgemeenFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -10135,6 +11262,7 @@ export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10158,6 +11286,7 @@ export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10176,6 +11305,7 @@ export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10184,9 +11314,11 @@ export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -10199,6 +11331,7 @@ export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMock = Module_Object_UUID: faker.string.uuid(), Module_Status: faker.word.sample(), Module_Title: faker.word.sample(), + ...overrideResponse, })), undefined, ]), @@ -10211,9 +11344,12 @@ export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getWerkingsgebiedenValidGetMock = () => ({ +export const getWerkingsgebiedenValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseWerkingsgebiedBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -10260,11 +11396,15 @@ export const getWerkingsgebiedenValidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getWerkingsgebiedenValidLineageIdGetMock = () => ({ +export const getWerkingsgebiedenValidLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseWerkingsgebiedBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -10311,11 +11451,15 @@ export const getWerkingsgebiedenValidLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getWerkingsgebiedenVersionObjectUuidGetMock = () => ({ +export const getWerkingsgebiedenVersionObjectUuidGetResponseMock = ( + overrideResponse: any = {} +): WerkingsgebiedFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -10330,6 +11474,7 @@ export const getWerkingsgebiedenVersionObjectUuidGetMock = () => ({ Source_Title: faker.word.sample(), Source_UUID: faker.string.uuid(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10340,6 +11485,7 @@ export const getWerkingsgebiedenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10360,6 +11506,7 @@ export const getWerkingsgebiedenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10378,6 +11525,7 @@ export const getWerkingsgebiedenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10386,9 +11534,11 @@ export const getWerkingsgebiedenVersionObjectUuidGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -10401,9 +11551,12 @@ export const getWerkingsgebiedenVersionObjectUuidGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getWerkingsgebiedenLatestLineageIdGetMock = () => ({ +export const getWerkingsgebiedenLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): WerkingsgebiedFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -10418,6 +11571,7 @@ export const getWerkingsgebiedenLatestLineageIdGetMock = () => ({ Source_Title: faker.word.sample(), Source_UUID: faker.string.uuid(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10428,6 +11582,7 @@ export const getWerkingsgebiedenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10448,6 +11603,7 @@ export const getWerkingsgebiedenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10466,6 +11622,7 @@ export const getWerkingsgebiedenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10474,9 +11631,11 @@ export const getWerkingsgebiedenLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -10489,13 +11648,16 @@ export const getWerkingsgebiedenLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getWerkingsgebiedStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getWerkingsgebiedStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getModulesModuleIdObjectWerkingsgebiedLineageIdGetMock = () => ({ +export const getModulesModuleIdObjectWerkingsgebiedLineageIdGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseWerkingsgebiedExtended => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -10519,6 +11681,7 @@ export const getModulesModuleIdObjectWerkingsgebiedLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10538,6 +11701,7 @@ export const getModulesModuleIdObjectWerkingsgebiedLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10556,6 +11720,7 @@ export const getModulesModuleIdObjectWerkingsgebiedLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10564,9 +11729,11 @@ export const getModulesModuleIdObjectWerkingsgebiedLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -10579,20 +11746,24 @@ export const getModulesModuleIdObjectWerkingsgebiedLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdObjectWerkingsgebiedLineageIdPatchMock = () => ({ - Object_ID: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), -}) +export const getModulesModuleIdObjectWerkingsgebiedLineageIdPatchResponseMock = + (overrideResponse: any = {}): WerkingsgebiedUUID => ({ + Object_ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, + }) -export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMock = - () => ({ +export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetResponseMock = + (overrideResponse: any = {}): WerkingsgebiedFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -10609,6 +11780,7 @@ export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMock = Source_Title: faker.word.sample(), Source_UUID: faker.string.uuid(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10619,6 +11791,7 @@ export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10642,6 +11815,7 @@ export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10660,6 +11834,7 @@ export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10668,9 +11843,11 @@ export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -10683,10 +11860,11 @@ export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMock = - () => ({ +export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): WerkingsgebiedFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -10703,6 +11881,7 @@ export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMock = Source_Title: faker.word.sample(), Source_UUID: faker.string.uuid(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10713,6 +11892,7 @@ export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10736,6 +11916,7 @@ export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10754,6 +11935,7 @@ export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10762,9 +11944,11 @@ export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -10777,9 +11961,12 @@ export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getModulesObjectWerkingsgebiedActiveLineageIdGetMock = () => +export const getModulesObjectWerkingsgebiedActiveLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ActiveModuleObjectWrapper[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -10793,6 +11980,7 @@ export const getModulesObjectWerkingsgebiedActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10801,6 +11989,7 @@ export const getModulesObjectWerkingsgebiedActiveLineageIdGetMock = () => Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10816,10 +12005,12 @@ export const getModulesObjectWerkingsgebiedActiveLineageIdGetMock = () => max: undefined, }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Module_Object: { Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -10829,11 +12020,13 @@ export const getModulesObjectWerkingsgebiedActiveLineageIdGetMock = () => ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, + ...overrideResponse, })) -export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMock = - () => ({ +export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetResponseMock = + (overrideResponse: any = {}): WerkingsgebiedFull => ({ Adjust_On: faker.helpers.arrayElement([ faker.helpers.arrayElement([faker.string.uuid(), null]), undefined, @@ -10850,6 +12043,7 @@ export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMock = Source_Title: faker.word.sample(), Source_UUID: faker.string.uuid(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10860,6 +12054,7 @@ export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10883,6 +12078,7 @@ export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10901,6 +12097,7 @@ export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -10909,9 +12106,11 @@ export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMock = Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -10924,25 +12123,31 @@ export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMock = ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getWettelijkeTaakPostMock = () => ({ +export const getWettelijkeTaakPostResponseMock = ( + overrideResponse: any = {} +): WettelijkeTaakUUID => ({ Object_ID: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, ]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, }) -export const getWettelijkeTaakLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getWettelijkeTaakLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getWettelijkeTaakLineageIdDeleteMock = () => ({ - message: faker.word.sample(), -}) +export const getWettelijkeTaakLineageIdDeleteResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getWettelijkeTaakValidGetMock = () => ({ +export const getWettelijkeTaakValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseWettelijkeTaakBasic => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -10975,11 +12180,15 @@ export const getWettelijkeTaakValidGetMock = () => ({ Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getWettelijkeTaakLatestLineageIdGetMock = () => ({ +export const getWettelijkeTaakLatestLineageIdGetResponseMock = ( + overrideResponse: any = {} +): WettelijkeTaakFull => ({ Beleidskeuzes: faker.helpers.arrayElement([ Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, @@ -11002,6 +12211,7 @@ export const getWettelijkeTaakLatestLineageIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, Relation: { Description: faker.helpers.arrayElement([ @@ -11010,7 +12220,9 @@ export const getWettelijkeTaakLatestLineageIdGetMock = () => ({ ]), Object_ID: faker.number.int({ min: undefined, max: undefined }), Object_Type: faker.word.sample(), + ...overrideResponse, }, + ...overrideResponse, })), undefined, ]), @@ -11020,6 +12232,7 @@ export const getWettelijkeTaakLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11039,6 +12252,7 @@ export const getWettelijkeTaakLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11058,6 +12272,7 @@ export const getWettelijkeTaakLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11066,9 +12281,11 @@ export const getWettelijkeTaakLatestLineageIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -11105,13 +12322,17 @@ export const getWettelijkeTaakLatestLineageIdGetMock = () => ({ ]), Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + ...overrideResponse, })), undefined, ]), Weblink: faker.helpers.arrayElement([faker.word.sample(), undefined]), + ...overrideResponse, }) -export const getWettelijkeTaakRelationsLineageIdGetMock = () => +export const getWettelijkeTaakRelationsLineageIdGetResponseMock = ( + overrideResponse: any = {} +): ReadRelation[] => Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -11126,17 +12347,20 @@ export const getWettelijkeTaakRelationsLineageIdGetMock = () => faker.helpers.arrayElement([faker.word.sample(), null]), undefined, ]), + ...overrideResponse, })) -export const getWettelijkeTaakRelationsLineageIdPutMock = () => ({ - message: faker.word.sample(), -}) +export const getWettelijkeTaakRelationsLineageIdPutResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getWettelijkeTaakStaticLineageIdPostMock = () => ({ - message: faker.word.sample(), -}) +export const getWettelijkeTaakStaticLineageIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getUsersGetMock = () => ({ +export const getUsersGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseUser => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11155,18 +12379,25 @@ export const getUsersGetMock = () => ({ Rol: faker.word.sample(), Status: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getUsersPostMock = () => ({ +export const getUsersPostResponseMock = ( + overrideResponse: any = {} +): UserCreateResponse => ({ Email: faker.word.sample(), Password: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }) -export const getUsersSearchGetMock = () => ({ +export const getUsersSearchGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseUser => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11185,27 +12416,39 @@ export const getUsersSearchGetMock = () => ({ Rol: faker.word.sample(), Status: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getUsersUserUuidGetMock = () => ({ +export const getUsersUserUuidGetResponseMock = ( + overrideResponse: any = {} +): User => ({ Email: faker.word.sample(), Gebruikersnaam: faker.word.sample(), IsActive: faker.datatype.boolean(), Rol: faker.word.sample(), Status: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }) -export const getUsersUserUuidPostMock = () => ({ message: faker.word.sample() }) +export const getUsersUserUuidPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) -export const getUsersUserUuidResetPasswordPostMock = () => ({ +export const getUsersUserUuidResetPasswordPostResponseMock = ( + overrideResponse: any = {} +): ResetPasswordResponse => ({ NewPassword: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }) -export const getSourceWerkingsgebiedenGetMock = () => ({ +export const getSourceWerkingsgebiedenGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseWerkingsgebied => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11223,7 +12466,10 @@ export const getSourceWerkingsgebiedenGetMock = () => ({ `${faker.date.past().toISOString().split('.')[0]}Z`, undefined, ]), - ID: faker.number.int({ min: undefined, max: undefined }), + ID: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, Start_Validity: faker.helpers.arrayElement([ `${faker.date.past().toISOString().split('.')[0]}Z`, @@ -11231,11 +12477,15 @@ export const getSourceWerkingsgebiedenGetMock = () => ({ ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getSearchSourceGeoPostMock = () => ({ +export const getSearchSourceGeoPostResponseMock = ( + overrideResponse: any = {} +): PagedResponseGeoSearchResult => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11262,11 +12512,15 @@ export const getSearchSourceGeoPostMock = () => ({ faker.word.sample(), faker.string.uuid(), ]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getSearchSourceGeometryPostMock = () => ({ +export const getSearchSourceGeometryPostResponseMock = ( + overrideResponse: any = {} +): PagedResponseGeoSearchResult => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11293,11 +12547,15 @@ export const getSearchSourceGeometryPostMock = () => ({ faker.word.sample(), faker.string.uuid(), ]), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getSearchPostMock = () => ({ +export const getSearchPostResponseMock = ( + overrideResponse: any = {} +): PagedResponseSearchObject => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11321,11 +12579,15 @@ export const getSearchPostMock = () => ({ Score: faker.number.int({ min: undefined, max: undefined }), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getSearchValidPostMock = () => ({ +export const getSearchValidPostResponseMock = ( + overrideResponse: any = {} +): PagedResponseValidSearchObject => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11345,11 +12607,15 @@ export const getSearchValidPostMock = () => ({ Score: faker.number.int({ min: undefined, max: undefined }), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getFullGraphGetMock = () => ({ +export const getFullGraphGetResponseMock = ( + overrideResponse: any = {} +): GraphResponse => ({ Edges: Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -11357,6 +12623,7 @@ export const getFullGraphGetMock = () => ({ Type: faker.helpers.arrayElement(Object.values(GraphEdgeType)), Vertice_A_Code: faker.word.sample(), Vertice_B_Code: faker.word.sample(), + ...overrideResponse, })), Vertices: Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, @@ -11367,10 +12634,14 @@ export const getFullGraphGetMock = () => ({ Object_Type: faker.word.sample(), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), + ...overrideResponse, }) -export const getObjectGraphGetMock = () => ({ +export const getObjectGraphGetResponseMock = ( + overrideResponse: any = {} +): GraphResponse => ({ Edges: Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1 @@ -11378,6 +12649,7 @@ export const getObjectGraphGetMock = () => ({ Type: faker.helpers.arrayElement(Object.values(GraphEdgeType)), Vertice_A_Code: faker.word.sample(), Vertice_B_Code: faker.word.sample(), + ...overrideResponse, })), Vertices: Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, @@ -11388,10 +12660,14 @@ export const getObjectGraphGetMock = () => ({ Object_Type: faker.word.sample(), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), + ...overrideResponse, }) -export const getRevisionsGetMock = () => ({ +export const getRevisionsGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicModuleShort => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11415,15 +12691,20 @@ export const getRevisionsGetMock = () => ({ ID: faker.number.int({ min: undefined, max: undefined }), Module_ID: faker.number.int({ min: undefined, max: undefined }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getRevisionsModuleIdGetMock = () => ({ +export const getRevisionsModuleIdGetResponseMock = ( + overrideResponse: any = {} +): PublicModuleOverview => ({ Module: { Description: faker.word.sample(), Module_ID: faker.number.int({ min: undefined, max: undefined }), @@ -11436,10 +12717,12 @@ export const getRevisionsModuleIdGetMock = () => ({ ID: faker.number.int({ min: undefined, max: undefined }), Module_ID: faker.number.int({ min: undefined, max: undefined }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), + ...overrideResponse, }, Objects: Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, @@ -11456,6 +12739,7 @@ export const getRevisionsModuleIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -11463,10 +12747,14 @@ export const getRevisionsModuleIdGetMock = () => ({ Object_Type: faker.word.sample(), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), + ...overrideResponse, }) -export const getModulesGetMock = () => ({ +export const getModulesGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseModule => ({ limit: faker.helpers.arrayElement([ faker.number.int({ min: undefined, max: undefined }), undefined, @@ -11486,6 +12774,7 @@ export const getModulesGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11497,6 +12786,7 @@ export const getModulesGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11508,6 +12798,7 @@ export const getModulesGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11517,6 +12808,7 @@ export const getModulesGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11533,21 +12825,29 @@ export const getModulesGetMock = () => ({ ID: faker.number.int({ min: undefined, max: undefined }), Module_ID: faker.number.int({ min: undefined, max: undefined }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Successful: faker.datatype.boolean(), Temporary_Locked: faker.datatype.boolean(), Title: faker.word.sample(), + ...overrideResponse, })), total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesPostMock = () => ({ +export const getModulesPostResponseMock = ( + overrideResponse: any = {} +): ModuleCreatedResponse => ({ Module_ID: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdGetMock = () => ({ +export const getModulesModuleIdGetResponseMock = ( + overrideResponse: any = {} +): ModuleOverview => ({ Module: { Activated: faker.datatype.boolean(), Closed: faker.datatype.boolean(), @@ -11556,6 +12856,7 @@ export const getModulesModuleIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11567,6 +12868,7 @@ export const getModulesModuleIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11578,6 +12880,7 @@ export const getModulesModuleIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11587,6 +12890,7 @@ export const getModulesModuleIdGetMock = () => ({ Gebruikersnaam: faker.word.sample(), Rol: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, }, undefined, ]), @@ -11603,12 +12907,14 @@ export const getModulesModuleIdGetMock = () => ({ ID: faker.number.int({ min: undefined, max: undefined }), Module_ID: faker.number.int({ min: undefined, max: undefined }), Status: faker.word.sample(), + ...overrideResponse, }, undefined, ]), Successful: faker.datatype.boolean(), Temporary_Locked: faker.datatype.boolean(), Title: faker.word.sample(), + ...overrideResponse, }, Objects: Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, @@ -11624,6 +12930,7 @@ export const getModulesModuleIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, undefined, ]), @@ -11651,11 +12958,13 @@ export const getModulesModuleIdGetMock = () => ({ faker.string.uuid(), undefined, ]), + ...overrideResponse, }, undefined, ]), Title: faker.word.sample(), UUID: faker.string.uuid(), + ...overrideResponse, })), StatusHistory: Array.from( { length: faker.number.int({ min: 1, max: 10 }) }, @@ -11666,214 +12975,2314 @@ export const getModulesModuleIdGetMock = () => ({ ID: faker.number.int({ min: undefined, max: undefined }), Module_ID: faker.number.int({ min: undefined, max: undefined }), Status: faker.word.sample(), + ...overrideResponse, + })), + ...overrideResponse, +}) + +export const getModulesModuleIdPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getModulesModuleIdActivatePostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getModulesModuleIdCompletePostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getModulesModuleIdClosePostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getModulesModuleIdStatusGetResponseMock = ( + overrideResponse: any = {} +): ModuleStatus[] => + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Created_By_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + ID: faker.number.int({ min: undefined, max: undefined }), + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Status: faker.word.sample(), + ...overrideResponse, + })) + +export const getModulesModuleIdStatusPatchResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getModulesModuleIdAddNewObjectPostResponseMock = ( + overrideResponse: any = {} +): NewObjectStaticResponse => ({ + Code: faker.word.sample(), + Object_ID: faker.number.int({ min: undefined, max: undefined }), + Object_Type: faker.word.sample(), + ...overrideResponse, +}) + +export const getModulesModuleIdAddExistingObjectPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getModulesModuleIdObjectContextObjectTypeLineageIdGetResponseMock = + (overrideResponse: any = {}): ModuleObjectContext => ({ + Action: faker.word.sample(), + Code: faker.word.sample(), + Conclusion: faker.word.sample(), + Created_By: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Explanation: faker.word.sample(), + Modified_By: faker.helpers.arrayElement([ + { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + undefined, + ]), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Object_ID: faker.number.int({ min: undefined, max: undefined }), + Object_Type: faker.word.sample(), + Original_Adjust_On: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + ...overrideResponse, + }) + +export const getModulesModuleIdObjectContextObjectTypeLineageIdPostResponseMock = + (overrideResponse: any = {}): ResponseOK => ({ + message: faker.word.sample(), + ...overrideResponse, + }) + +export const getModulesModuleIdRemoveObjectTypeLineageIdDeleteResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getModulesModuleIdSnapshotStatusIdGetResponseMock = ( + overrideResponse: any = {} +): ModuleSnapshot => ({ + Objects: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({})), + ...overrideResponse, +}) + +export const getModulesObjectsLatestGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseModuleObjectShortStatus => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Code: faker.word.sample(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Module_ID: faker.number.int({ min: undefined, max: undefined }), + ModuleObjectContext: faker.helpers.arrayElement([ + { + Action: faker.word.sample(), + Original_Adjust_On: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + ...overrideResponse, + }, + undefined, + ]), + Object_ID: faker.number.int({ min: undefined, max: undefined }), + Object_Type: faker.word.sample(), + ObjectStatics: faker.helpers.arrayElement([ + { + Client_1_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Owner_1_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Owner_2_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Portfolio_Holder_1_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Portfolio_Holder_2_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + ...overrideResponse, + }, + undefined, + ]), + Status: faker.word.sample(), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getObjectsValidCountGetResponseMock = ( + overrideResponse: any = {} +): ObjectCount[] => + Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Count: faker.number.int({ min: undefined, max: undefined }), + Object_Type: faker.word.sample(), + ...overrideResponse, + })) + +export const getObjectsValidGetResponseMock = ( + overrideResponse: any = {} +): PagedResponseGenericObjectShort => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Object_ID: faker.number.int({ min: undefined, max: undefined }), + Object_Type: faker.word.sample(), + Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationAojGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationAOJ => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Administrative_Borders_Date: faker.date + .past() + .toISOString() + .split('T')[0], + Administrative_Borders_Domain: faker.word.sample(), + Administrative_Borders_ID: faker.word.sample(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationAojPostResponseMock = ( + overrideResponse: any = {} +): AOJCreatedResponse => ({ UUID: faker.string.uuid(), ...overrideResponse }) + +export const getPublicationTemplatesGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationTemplate => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Description: faker.word.sample(), + Document_Type: faker.word.sample(), + Field_Map: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => faker.word.sample()), + Is_Active: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Object_Templates: { + [faker.string.alphanumeric(5)]: faker.word.sample(), + }, + Object_Types: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => faker.word.sample()), + Text_Template: faker.word.sample(), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationTemplatesPostResponseMock = ( + overrideResponse: any = {} +): TemplateCreatedResponse => ({ + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationTemplatesTemplateUuidGetResponseMock = ( + overrideResponse: any = {} +): PublicationTemplate => ({ + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Description: faker.word.sample(), + Document_Type: faker.word.sample(), + Field_Map: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => faker.word.sample()), + Is_Active: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Object_Templates: { + [faker.string.alphanumeric(5)]: faker.word.sample(), + }, + Object_Types: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => faker.word.sample()), + Text_Template: faker.word.sample(), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationTemplatesTemplateUuidPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getPublicationActsGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationActShort => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Document_Type: faker.word.sample(), + Environment_UUID: faker.string.uuid(), + Is_Active: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Procedure_Type: faker.word.sample(), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + Work_Country: faker.word.sample(), + Work_Date: faker.word.sample(), + Work_Other: faker.word.sample(), + Work_Province_ID: faker.word.sample(), + ...overrideResponse, })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, }) -export const getModulesModuleIdPostMock = () => ({ - message: faker.word.sample(), +export const getPublicationActsPostResponseMock = ( + overrideResponse: any = {} +): ActCreatedResponse => ({ UUID: faker.string.uuid(), ...overrideResponse }) + +export const getPublicationActsActUuidGetResponseMock = ( + overrideResponse: any = {} +): PublicationAct => ({ + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Document_Type: faker.word.sample(), + Environment: { + Authority_ID: faker.word.sample(), + Can_Publicate: faker.datatype.boolean(), + Can_Validate: faker.datatype.boolean(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Description: faker.word.sample(), + Frbr_Country: faker.word.sample(), + Frbr_Language: faker.word.sample(), + Governing_Body_Type: faker.word.sample(), + Has_State: faker.datatype.boolean(), + Is_Active: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Province_ID: faker.word.sample(), + Submitter_ID: faker.word.sample(), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + Is_Active: faker.datatype.boolean(), + Metadata: {}, + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Procedure_Type: faker.word.sample(), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + Work_Country: faker.word.sample(), + Work_Date: faker.word.sample(), + Work_Other: faker.word.sample(), + Work_Province_ID: faker.word.sample(), + ...overrideResponse, }) -export const getModulesModuleIdActivatePostMock = () => ({ - message: faker.word.sample(), -}) +export const getPublicationActsActUuidPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getPublicationEnvironmentsGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationEnvironment => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Authority_ID: faker.word.sample(), + Can_Publicate: faker.datatype.boolean(), + Can_Validate: faker.datatype.boolean(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Description: faker.word.sample(), + Frbr_Country: faker.word.sample(), + Frbr_Language: faker.word.sample(), + Governing_Body_Type: faker.word.sample(), + Has_State: faker.datatype.boolean(), + Is_Active: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Province_ID: faker.word.sample(), + Submitter_ID: faker.word.sample(), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationEnvironmentsPostResponseMock = ( + overrideResponse: any = {} +): EnvironmentCreatedResponse => ({ + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationEnvironmentsEnvironmentUuidPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getPublicationsGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublication => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Act_UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Document_Type: faker.word.sample(), + Environment_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Is_Locked: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Procedure_Type: faker.word.sample(), + Template_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationsPostResponseMock = ( + overrideResponse: any = {} +): PublicationCreatedResponse => ({ + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationsPublicationUuidGetResponseMock = ( + overrideResponse: any = {} +): Publication => ({ + Act_UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Document_Type: faker.word.sample(), + Environment_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Is_Locked: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Procedure_Type: faker.word.sample(), + Template_UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationsPublicationUuidPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getPublicationsPublicationUuidVersionPostResponseMock = ( + overrideResponse: any = {} +): PublicationVersionCreatedResponse => ({ + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationsPublicationUuidVersionsGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationVersionShort => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Announcement_Date: faker.helpers.arrayElement([ + faker.date.past().toISOString().split('T')[0], + undefined, + ]), + Bill_Metadata: {}, + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Effective_Date: faker.helpers.arrayElement([ + faker.date.past().toISOString().split('T')[0], + undefined, + ]), + Is_Locked: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Module_Status: { + Created_By_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + ID: faker.number.int({ min: undefined, max: undefined }), + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Status: faker.word.sample(), + ...overrideResponse, + }, + Publication_UUID: faker.string.uuid(), + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationVersionsVersionUuidGetResponseMock = ( + overrideResponse: any = {} +): PublicationVersion => ({ + Announcement_Date: faker.helpers.arrayElement([ + faker.date.past().toISOString().split('T')[0], + undefined, + ]), + Bill_Compact: {}, + Bill_Metadata: {}, + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Effective_Date: faker.helpers.arrayElement([ + faker.date.past().toISOString().split('T')[0], + undefined, + ]), + Is_Locked: faker.datatype.boolean(), + Is_Valid: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Module_Status: { + Created_By_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + ID: faker.number.int({ min: undefined, max: undefined }), + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Status: faker.word.sample(), + ...overrideResponse, + }, + Procedural: {}, + Publication: { + Act_UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Document_Type: faker.word.sample(), + Environment_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Is_Locked: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Procedure_Type: faker.word.sample(), + Template_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationVersionsVersionUuidPostResponseMock = ( + overrideResponse: any = {} +): PublicationVersionEditResponse => ({ + Is_Valid: faker.datatype.boolean(), + ...overrideResponse, +}) + +export const getPublicationVersionsVersionUuidPackagesPostResponseMock = ( + overrideResponse: any = {} +): PublicationPackageCreatedResponse => ({ + Package_UUID: faker.string.uuid(), + Zip_UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationActPackagesGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationPackage => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Created_By_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Delivery_ID: faker.word.sample(), + Modified_By_UUID: faker.string.uuid(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Package_Type: faker.word.sample(), + Report_Status: faker.word.sample(), + UUID: faker.string.uuid(), + Zip: { + Filename: faker.word.sample(), + Latest_Download_By_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Latest_Download_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationActPackagesActPackageUuidDownloadGetResponseMock = + (): PublicationActPackagesActPackageUuidDownloadGet200 => ({}) + +export const getPublicationActPackagesActPackageUuidReportPostResponseMock = ( + overrideResponse: any = {} +): AppExtensionsPublicationsEndpointsPublicationsActReportsUploadActPackageReportUploadPackageReportResponse => ({ + Duplicate_Count: faker.number.int({ min: undefined, max: undefined }), + Status: faker.helpers.arrayElement(Object.values(ReportStatusType)), + ...overrideResponse, +}) + +export const getPublicationActReportsGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationActPackageReportShort => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Act_Package_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Filename: faker.word.sample(), + Main_Outcome: faker.word.sample(), + Report_Status: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationActReportsActReportUuidGetResponseMock = ( + overrideResponse: any = {} +): PublicationActPackageReport => ({ + Act_Package_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Filename: faker.word.sample(), + Main_Outcome: faker.word.sample(), + Report_Status: faker.word.sample(), + Source_Document: faker.word.sample(), + Sub_Delivery_ID: faker.word.sample(), + Sub_Outcome: faker.word.sample(), + Sub_Progress: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationActReportsActReportUuidDownloadGetResponseMock = + (): PublicationActReportsActReportUuidDownloadGet200 => ({}) + +export const getPublicationActPackagesActPackageUuidCreateAnnouncementPostResponseMock = + (overrideResponse: any = {}): AnnouncementCreatedResponse => ({ + UUID: faker.string.uuid(), + ...overrideResponse, + }) + +export const getPublicationAnnouncementsGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationAnnouncementShort => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Announcement_Date: faker.helpers.arrayElement([ + faker.date.past().toISOString().split('T')[0], + undefined, + ]), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Is_Locked: faker.datatype.boolean(), + Metadata: {}, + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationAnnouncementsAnnouncementUuidGetResponseMock = ( + overrideResponse: any = {} +): PublicationAnnouncement => ({ + Act_Package: { + Created_By_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Delivery_ID: faker.word.sample(), + Modified_By_UUID: faker.string.uuid(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Package_Type: faker.word.sample(), + Report_Status: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + Announcement_Date: faker.helpers.arrayElement([ + faker.date.past().toISOString().split('T')[0], + undefined, + ]), + Content: {}, + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Is_Locked: faker.datatype.boolean(), + Metadata: {}, + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Procedural: {}, + Publication: { + Act_UUID: faker.helpers.arrayElement([faker.string.uuid(), undefined]), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Document_Type: faker.word.sample(), + Environment_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Is_Locked: faker.datatype.boolean(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Module_ID: faker.number.int({ min: undefined, max: undefined }), + Procedure_Type: faker.word.sample(), + Template_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Title: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + UUID: faker.string.uuid(), + ...overrideResponse, +}) + +export const getPublicationAnnouncementsAnnouncementUuidPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getPublicationAnnouncementsAnnouncementUuidPackagesPostResponseMock = + ( + overrideResponse: any = {} + ): PublicationAnnouncementPackageCreatedResponse => ({ + Package_UUID: faker.string.uuid(), + Zip_UUID: faker.string.uuid(), + ...overrideResponse, + }) + +export const getPublicationAnnouncementPackagesGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationPackage => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Created_By_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Delivery_ID: faker.word.sample(), + Modified_By_UUID: faker.string.uuid(), + Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Package_Type: faker.word.sample(), + Report_Status: faker.word.sample(), + UUID: faker.string.uuid(), + Zip: { + Filename: faker.word.sample(), + Latest_Download_By_UUID: faker.helpers.arrayElement([ + faker.string.uuid(), + undefined, + ]), + Latest_Download_Date: faker.helpers.arrayElement([ + `${faker.date.past().toISOString().split('.')[0]}Z`, + undefined, + ]), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetResponseMock = + (): PublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet200 => ({}) + +export const getPublicationAnnouncementPackagesAnnouncementPackageUuidReportPostResponseMock = + ( + overrideResponse: any = {} + ): AppExtensionsPublicationsEndpointsPublicationsAnnouncementReportsUploadAnnouncementPackageReportUploadPackageReportResponse => ({ + Duplicate_Count: faker.number.int({ min: undefined, max: undefined }), + Status: faker.helpers.arrayElement(Object.values(ReportStatusType)), + ...overrideResponse, + }) + +export const getPublicationAnnouncementReportsGetResponseMock = ( + overrideResponse: any = {} +): PagedResponsePublicationAnnouncementPackageReportShort => ({ + limit: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + offset: faker.helpers.arrayElement([ + faker.number.int({ min: undefined, max: undefined }), + undefined, + ]), + results: Array.from( + { length: faker.number.int({ min: 1, max: 10 }) }, + (_, i) => i + 1 + ).map(() => ({ + Announcement_Package_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Filename: faker.word.sample(), + Main_Outcome: faker.word.sample(), + Report_Status: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + })), + total: faker.number.int({ min: undefined, max: undefined }), + ...overrideResponse, +}) + +export const getPublicationAnnouncementReportsAnnouncementReportUuidGetResponseMock = + (overrideResponse: any = {}): PublicationAnnouncementPackageReport => ({ + Announcement_Package_UUID: faker.string.uuid(), + Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, + Filename: faker.word.sample(), + Main_Outcome: faker.word.sample(), + Report_Status: faker.word.sample(), + Source_Document: faker.word.sample(), + Sub_Delivery_ID: faker.word.sample(), + Sub_Outcome: faker.word.sample(), + Sub_Progress: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }) + +export const getPublicationAnnouncementReportsAnnouncementReportUuidDownloadGetResponseMock = + (): PublicationAnnouncementReportsAnnouncementReportUuidDownloadGet200 => ({}) + +export const getLoginAccessTokenPostResponseMock = ( + overrideResponse: any = {} +): AuthToken => ({ + access_token: faker.word.sample(), + identifier: { + Gebruikersnaam: faker.word.sample(), + Rol: faker.word.sample(), + UUID: faker.string.uuid(), + ...overrideResponse, + }, + token_type: faker.word.sample(), + ...overrideResponse, +}) + +export const getPasswordResetPostResponseMock = ( + overrideResponse: any = {} +): ResponseOK => ({ message: faker.word.sample(), ...overrideResponse }) + +export const getHealthCheckHealthGetResponseMock = + (): HealthCheckHealthGet200 => ({}) + +export const getAmbitiesValidGetMockHandler = ( + overrideResponse?: PagedResponseAmbitieBasic +) => { + return http.get('*/ambities/valid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getAmbitiesValidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getAmbitiesValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseAmbitieBasic +) => { + return http.get('*/ambities/valid/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getAmbitiesValidLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getAmbitiesVersionObjectUuidGetMockHandler = ( + overrideResponse?: AmbitieFull +) => { + return http.get('*/ambities/version/:objectUuid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getAmbitiesVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getAmbitiesLatestLineageIdGetMockHandler = ( + overrideResponse?: AmbitieFull +) => { + return http.get('*/ambities/latest/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getAmbitiesLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getAmbitiesRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/ambities/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getAmbitiesRelationsLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getAmbitiesRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/ambities/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getAmbitiesRelationsLineageIdPutResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getAmbitieStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/ambitie/static/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getAmbitieStaticLineageIdPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getModulesModuleIdObjectAmbitieLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseAmbitieExtended +) => { + return http.get( + '*/modules/:moduleId/object/ambitie/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectAmbitieLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectAmbitieLineageIdPatchMockHandler = ( + overrideResponse?: AmbitieUUID +) => { + return http.patch( + '*/modules/:moduleId/object/ambitie/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectAmbitieLineageIdPatchResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectAmbitieLatestLineageIdGetMockHandler = ( + overrideResponse?: AmbitieFull +) => { + return http.get( + '*/modules/:moduleId/object/ambitie/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectAmbitieLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectAmbitieVersionObjectUuidGetMockHandler = ( + overrideResponse?: AmbitieFull +) => { + return http.get( + '*/modules/:moduleId/object/ambitie/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectAmbitieVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesObjectAmbitieActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get('*/modules/object/ambitie/active/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesObjectAmbitieActiveLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getRevisionsModuleIdAmbitieVersionObjectUuidGetMockHandler = ( + overrideResponse?: AmbitieFull +) => { + return http.get( + '*/revisions/:moduleId/ambitie/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdAmbitieVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getBeleidsdoelenValidGetMockHandler = ( + overrideResponse?: PagedResponseBeleidsdoelBasic +) => { + return http.get('*/beleidsdoelen/valid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsdoelenValidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidsdoelenValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseBeleidsdoelBasic +) => { + return http.get('*/beleidsdoelen/valid/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsdoelenValidLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidsdoelenVersionObjectUuidGetMockHandler = ( + overrideResponse?: BeleidsdoelFull +) => { + return http.get('*/beleidsdoelen/version/:objectUuid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsdoelenVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidsdoelenLatestLineageIdGetMockHandler = ( + overrideResponse?: BeleidsdoelFull +) => { + return http.get('*/beleidsdoelen/latest/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsdoelenLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidsdoelenRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/beleidsdoelen/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsdoelenRelationsLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidsdoelenRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/beleidsdoelen/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsdoelenRelationsLineageIdPutResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidsdoelStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/beleidsdoel/static/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsdoelStaticLineageIdPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getModulesModuleIdObjectBeleidsdoelLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseBeleidsdoelExtended +) => { + return http.get( + '*/modules/:moduleId/object/beleidsdoel/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidsdoelLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectBeleidsdoelLineageIdPatchMockHandler = ( + overrideResponse?: BeleidsdoelUUID +) => { + return http.patch( + '*/modules/:moduleId/object/beleidsdoel/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidsdoelLineageIdPatchResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMockHandler = + (overrideResponse?: BeleidsdoelFull) => { + return http.get( + '*/modules/:moduleId/object/beleidsdoel/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMockHandler = + (overrideResponse?: BeleidsdoelFull) => { + return http.get( + '*/modules/:moduleId/object/beleidsdoel/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesObjectBeleidsdoelActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get( + '*/modules/object/beleidsdoel/active/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesObjectBeleidsdoelActiveLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMockHandler = ( + overrideResponse?: BeleidsdoelFull +) => { + return http.get( + '*/revisions/:moduleId/beleidsdoel/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getBeleidskeuzesValidGetMockHandler = ( + overrideResponse?: PagedResponseBeleidskeuzeBasic +) => { + return http.get('*/beleidskeuzes/valid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzesValidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidskeuzesValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseBeleidskeuzeBasic +) => { + return http.get('*/beleidskeuzes/valid/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzesValidLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidskeuzesVersionObjectUuidGetMockHandler = ( + overrideResponse?: BeleidskeuzeFull +) => { + return http.get('*/beleidskeuzes/version/:objectUuid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzesVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidskeuzesLatestLineageIdGetMockHandler = ( + overrideResponse?: BeleidskeuzeFull +) => { + return http.get('*/beleidskeuzes/latest/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzesLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidskeuzesRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/beleidskeuzes/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzesRelationsLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidskeuzesRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/beleidskeuzes/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzesRelationsLineageIdPutResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidskeuzeStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/beleidskeuze/static/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzeStaticLineageIdPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidskeuzeAcknowledgedRelationsLineageIdGetMockHandler = ( + overrideResponse?: AcknowledgedRelation[] +) => { + return http.get( + '*/beleidskeuze/acknowledged-relations/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzeAcknowledgedRelationsLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getBeleidskeuzeAcknowledgedRelationsLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post( + '*/beleidskeuze/acknowledged-relations/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzeAcknowledgedRelationsLineageIdPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getBeleidskeuzeAcknowledgedRelationsLineageIdEditPostMockHandler = + (overrideResponse?: ResponseOK) => { + return http.post( + '*/beleidskeuze/acknowledged-relations/:lineageId/edit', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidskeuzeAcknowledgedRelationsLineageIdEditPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdObjectBeleidskeuzeLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseBeleidskeuzeExtended +) => { + return http.get( + '*/modules/:moduleId/object/beleidskeuze/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidskeuzeLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectBeleidskeuzeLineageIdPatchMockHandler = ( + overrideResponse?: BeleidskeuzeUUID +) => { + return http.patch( + '*/modules/:moduleId/object/beleidskeuze/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidskeuzeLineageIdPatchResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMockHandler = + (overrideResponse?: BeleidskeuzeFull) => { + return http.get( + '*/modules/:moduleId/object/beleidskeuze/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMockHandler = + (overrideResponse?: BeleidskeuzeFull) => { + return http.get( + '*/modules/:moduleId/object/beleidskeuze/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesObjectsBeleidskeuzeActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get( + '*/modules/objects/beleidskeuze/active/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesObjectsBeleidskeuzeActiveLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} -export const getModulesModuleIdCompletePostMock = () => ({ - message: faker.word.sample(), -}) +export const getRevisionsModuleIdBeleidskeuzeVersionObjectUuidGetMockHandler = ( + overrideResponse?: BeleidskeuzeFull +) => { + return http.get( + '*/revisions/:moduleId/beleidskeuze/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdBeleidskeuzeVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} -export const getModulesModuleIdClosePostMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidsregelsValidGetMockHandler = ( + overrideResponse?: PagedResponseBeleidsregelBasic +) => { + return http.get('*/beleidsregels/valid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsregelsValidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getModulesModuleIdStatusGetMock = () => - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Created_By_UUID: faker.string.uuid(), - Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, - ID: faker.number.int({ min: undefined, max: undefined }), - Module_ID: faker.number.int({ min: undefined, max: undefined }), - Status: faker.word.sample(), - })) +export const getBeleidsregelsValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseBeleidsregelBasic +) => { + return http.get('*/beleidsregels/valid/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsregelsValidLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getModulesModuleIdStatusPatchMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidsregelsVersionObjectUuidGetMockHandler = ( + overrideResponse?: BeleidsregelFull +) => { + return http.get('*/beleidsregels/version/:objectUuid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsregelsVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getModulesModuleIdAddNewObjectPostMock = () => ({ - Code: faker.word.sample(), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), -}) +export const getBeleidsregelsLatestLineageIdGetMockHandler = ( + overrideResponse?: BeleidsregelFull +) => { + return http.get('*/beleidsregels/latest/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsregelsLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getModulesModuleIdAddExistingObjectPostMock = () => ({ - message: faker.word.sample(), -}) +export const getBeleidsregelsRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/beleidsregels/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsregelsRelationsLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getModulesModuleIdObjectContextObjectTypeLineageIdGetMock = - () => ({ - Action: faker.word.sample(), - Code: faker.word.sample(), - Conclusion: faker.word.sample(), - Created_By: faker.helpers.arrayElement([ +export const getBeleidsregelsRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/beleidsregels/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsregelsRelationsLineageIdPutResponseMock() + ), { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Created_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, - Explanation: faker.word.sample(), - Modified_By: faker.helpers.arrayElement([ + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getBeleidsregelStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/beleidsregel/static/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getBeleidsregelStaticLineageIdPostResponseMock() + ), { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - undefined, - ]), - Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, - Module_ID: faker.number.int({ min: undefined, max: undefined }), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - Original_Adjust_On: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) }) +} -export const getModulesModuleIdObjectContextObjectTypeLineageIdPostMock = - () => ({ message: faker.word.sample() }) +export const getModulesModuleIdObjectBeleidsregelLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseBeleidsregelExtended +) => { + return http.get( + '*/modules/:moduleId/object/beleidsregel/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidsregelLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} -export const getModulesModuleIdRemoveObjectTypeLineageIdDeleteMock = () => ({ - message: faker.word.sample(), -}) +export const getModulesModuleIdObjectBeleidsregelLineageIdPatchMockHandler = ( + overrideResponse?: BeleidsregelUUID +) => { + return http.patch( + '*/modules/:moduleId/object/beleidsregel/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidsregelLineageIdPatchResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} -export const getModulesModuleIdSnapshotStatusIdGetMock = () => ({ - Objects: Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({})), -}) +export const getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMockHandler = + (overrideResponse?: BeleidsregelFull) => { + return http.get( + '*/modules/:moduleId/object/beleidsregel/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidsregelLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } -export const getModulesObjectsLatestGetMock = () => ({ - limit: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - offset: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - results: Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Code: faker.word.sample(), - Modified_Date: `${faker.date.past().toISOString().split('.')[0]}Z`, - Module_ID: faker.number.int({ min: undefined, max: undefined }), - ModuleObjectContext: faker.helpers.arrayElement([ - { - Action: faker.word.sample(), - Original_Adjust_On: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - }, - undefined, - ]), - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - ObjectStatics: faker.helpers.arrayElement([ +export const getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMockHandler = + (overrideResponse?: BeleidsregelFull) => { + return http.get( + '*/modules/:moduleId/object/beleidsregel/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesObjectsBeleidsregelActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get( + '*/modules/objects/beleidsregel/active/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesObjectsBeleidsregelActiveLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getRevisionsModuleIdBeleidsregelVersionObjectUuidGetMockHandler = ( + overrideResponse?: BeleidsregelFull +) => { + return http.get( + '*/revisions/:moduleId/beleidsregel/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdBeleidsregelVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getGebiedsprogrammasValidGetMockHandler = ( + overrideResponse?: PagedResponseGebiedsprogrammaBasic +) => { + return http.get('*/gebiedsprogrammas/valid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getGebiedsprogrammasValidGetResponseMock() + ), { - Client_1_UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - Owner_1_UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - Owner_2_UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - Portfolio_Holder_1_UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - Portfolio_Holder_2_UUID: faker.helpers.arrayElement([ - faker.string.uuid(), - undefined, - ]), - }, - undefined, - ]), - Status: faker.word.sample(), - Title: faker.word.sample(), - UUID: faker.string.uuid(), - })), - total: faker.number.int({ min: undefined, max: undefined }), -}) + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getObjectsValidCountGetMock = () => - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Count: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - })) +export const getGebiedsprogrammasValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseGebiedsprogrammaBasic +) => { + return http.get('*/gebiedsprogrammas/valid/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getGebiedsprogrammasValidLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getObjectsValidGetMock = () => ({ - limit: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - offset: faker.helpers.arrayElement([ - faker.number.int({ min: undefined, max: undefined }), - undefined, - ]), - results: Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1 - ).map(() => ({ - Object_ID: faker.number.int({ min: undefined, max: undefined }), - Object_Type: faker.word.sample(), - Title: faker.helpers.arrayElement([faker.word.sample(), undefined]), - UUID: faker.string.uuid(), - })), - total: faker.number.int({ min: undefined, max: undefined }), -}) +export const getGebiedsprogrammasVersionObjectUuidGetMockHandler = ( + overrideResponse?: GebiedsprogrammaFull +) => { + return http.get('*/gebiedsprogrammas/version/:objectUuid', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getGebiedsprogrammasVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getLoginAccessTokenPostMock = () => ({ - access_token: faker.word.sample(), - identifier: { - Gebruikersnaam: faker.word.sample(), - Rol: faker.word.sample(), - UUID: faker.string.uuid(), - }, - token_type: faker.word.sample(), -}) +export const getGebiedsprogrammasLatestLineageIdGetMockHandler = ( + overrideResponse?: GebiedsprogrammaFull +) => { + return http.get('*/gebiedsprogrammas/latest/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getGebiedsprogrammasLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getPasswordResetPostMock = () => ({ message: faker.word.sample() }) +export const getGebiedsprogrammasRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/gebiedsprogrammas/relations/:lineageId', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getGebiedsprogrammasRelationsLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} -export const getOmgevingsbeleidAPIMock = () => [ - http.get('*/ambities/valid', async () => { +export const getGebiedsprogrammasRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/gebiedsprogrammas/relations/:lineageId', async () => { await delay(1000) - return new HttpResponse(JSON.stringify(getAmbitiesValidGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/ambities/valid/:lineageId', async () => { + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getGebiedsprogrammasRelationsLineageIdPutResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getGebiedsprogrammasStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/gebiedsprogrammas/static/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getAmbitiesValidLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getGebiedsprogrammasStaticLineageIdPostResponseMock() + ), { status: 200, headers: { @@ -11881,11 +15290,159 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/ambities/version/:objectUuid', async () => { + }) +} + +export const getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMockHandler = + (overrideResponse?: PagedResponseGebiedsprogrammaExtended) => { + return http.get( + '*/modules/:moduleId/object/gebiedsprogrammas/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectGebiedsprogrammasLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdObjectGebiedsprogrammasLineageIdPatchMockHandler = + (overrideResponse?: GebiedsprogrammaUUID) => { + return http.patch( + '*/modules/:moduleId/object/gebiedsprogrammas/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectGebiedsprogrammasLineageIdPatchResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMockHandler = + (overrideResponse?: GebiedsprogrammaFull) => { + return http.get( + '*/modules/:moduleId/object/gebiedsprogrammas/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMockHandler = + (overrideResponse?: GebiedsprogrammaFull) => { + return http.get( + '*/modules/:moduleId/object/gebiedsprogrammas/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesObjectsGebiedsprogrammaActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get( + '*/modules/objects/gebiedsprogramma/active/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesObjectsGebiedsprogrammaActiveLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMockHandler = + (overrideResponse?: GebiedsprogrammaFull) => { + return http.get( + '*/revisions/:moduleId/gebiedsprogramma/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getMaatregelenValidGetMockHandler = ( + overrideResponse?: PagedResponseMaatregelBasic +) => { + return http.get('*/maatregelen/valid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getAmbitiesVersionObjectUuidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getMaatregelenValidGetResponseMock() + ), { status: 200, headers: { @@ -11893,11 +15450,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/ambities/latest/:lineageId', async () => { + }) +} + +export const getMaatregelenValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseMaatregelBasic +) => { + return http.get('*/maatregelen/valid/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getAmbitiesLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getMaatregelenValidLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -11905,11 +15471,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/ambities/relations/:lineageId', async () => { + }) +} + +export const getMaatregelenVersionObjectUuidGetMockHandler = ( + overrideResponse?: MaatregelFull +) => { + return http.get('*/maatregelen/version/:objectUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getAmbitiesRelationsLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getMaatregelenVersionObjectUuidGetResponseMock() + ), { status: 200, headers: { @@ -11917,11 +15492,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.put('*/ambities/relations/:lineageId', async () => { + }) +} + +export const getMaatregelenLatestLineageIdGetMockHandler = ( + overrideResponse?: MaatregelFull +) => { + return http.get('*/maatregelen/latest/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getAmbitiesRelationsLineageIdPutMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getMaatregelenLatestLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -11929,11 +15513,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/ambitie/static/:lineageId', async () => { + }) +} + +export const getMaatregelenRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/maatregelen/relations/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getAmbitieStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getMaatregelenRelationsLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -11941,11 +15534,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/modules/:moduleId/object/ambitie/:lineageId', async () => { + }) +} + +export const getMaatregelenRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/maatregelen/relations/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdObjectAmbitieLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getMaatregelenRelationsLineageIdPutResponseMock() + ), { status: 200, headers: { @@ -11953,11 +15555,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.patch('*/modules/:moduleId/object/ambitie/:lineageId', async () => { + }) +} + +export const getMaatregelStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/maatregel/static/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdObjectAmbitieLineageIdPatchMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getMaatregelStaticLineageIdPostResponseMock() + ), { status: 200, headers: { @@ -11965,14 +15576,116 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/modules/:moduleId/object/ambitie/latest/:lineageId', + }) +} + +export const getModulesModuleIdObjectMaatregelLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseMaatregelExtended +) => { + return http.get( + '*/modules/:moduleId/object/maatregel/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectMaatregelLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectMaatregelLineageIdPatchMockHandler = ( + overrideResponse?: MaatregelUUID +) => { + return http.patch( + '*/modules/:moduleId/object/maatregel/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectMaatregelLineageIdPatchResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectMaatregelLatestLineageIdGetMockHandler = ( + overrideResponse?: MaatregelFull +) => { + return http.get( + '*/modules/:moduleId/object/maatregel/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectMaatregelLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getModulesModuleIdObjectMaatregelVersionObjectUuidGetMockHandler = + (overrideResponse?: MaatregelFull) => { + return http.get( + '*/modules/:moduleId/object/maatregel/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectMaatregelVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesObjectsMaatregelActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get( + '*/modules/objects/maatregel/active/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectAmbitieLatestLineageIdGetMock() + overrideResponse + ? overrideResponse + : getModulesObjectsMaatregelActiveLineageIdGetResponseMock() ), { status: 200, @@ -11982,14 +15695,21 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get( - '*/modules/:moduleId/object/ambitie/version/:objectUuid', + ) +} + +export const getRevisionsModuleIdMaatregelVersionObjectUuidGetMockHandler = ( + overrideResponse?: MaatregelFull +) => { + return http.get( + '*/revisions/:moduleId/maatregel/version/:objectUuid', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectAmbitieVersionObjectUuidGetMock() + overrideResponse + ? overrideResponse + : getRevisionsModuleIdMaatregelVersionObjectUuidGetResponseMock() ), { status: 200, @@ -11999,11 +15719,20 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get('*/modules/object/ambitie/active/:lineageId', async () => { + ) +} + +export const getNationaalBelangPostMockHandler = ( + overrideResponse?: NationaalBelangUUID +) => { + return http.post('*/nationaal-belang', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesObjectAmbitieActiveLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getNationaalBelangPostResponseMock() + ), { status: 200, headers: { @@ -12011,12 +15740,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/revisions/:moduleId/ambitie/version/:objectUuid', async () => { + }) +} + +export const getNationaalBelangLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/nationaal-belang/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getRevisionsModuleIdAmbitieVersionObjectUuidGetMock() + overrideResponse + ? overrideResponse + : getNationaalBelangLineageIdPostResponseMock() ), { status: 200, @@ -12025,11 +15761,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsdoelen/valid', async () => { + }) +} + +export const getNationaalBelangLineageIdDeleteMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.delete('*/nationaal-belang/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsdoelenValidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getNationaalBelangLineageIdDeleteResponseMock() + ), { status: 200, headers: { @@ -12037,11 +15782,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsdoelen/valid/:lineageId', async () => { + }) +} + +export const getNationaalBelangValidGetMockHandler = ( + overrideResponse?: PagedResponseNationaalBelangBasic +) => { + return http.get('*/nationaal-belang/valid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsdoelenValidLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getNationaalBelangValidGetResponseMock() + ), { status: 200, headers: { @@ -12049,11 +15803,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsdoelen/version/:objectUuid', async () => { + }) +} + +export const getNationaalBelangLatestLineageIdGetMockHandler = ( + overrideResponse?: NationaalBelangFull +) => { + return http.get('*/nationaal-belang/latest/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsdoelenVersionObjectUuidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getNationaalBelangLatestLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12061,11 +15824,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsdoelen/latest/:lineageId', async () => { + }) +} + +export const getNationaalBelangRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/nationaal-belang/relations/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsdoelenLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getNationaalBelangRelationsLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12073,11 +15845,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsdoelen/relations/:lineageId', async () => { + }) +} + +export const getNationaalBelangRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/nationaal-belang/relations/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsdoelenRelationsLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getNationaalBelangRelationsLineageIdPutResponseMock() + ), { status: 200, headers: { @@ -12085,11 +15866,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.put('*/beleidsdoelen/relations/:lineageId', async () => { + }) +} + +export const getNationaalBelangStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/nationaal-belang/static/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsdoelenRelationsLineageIdPutMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getNationaalBelangStaticLineageIdPostResponseMock() + ), { status: 200, headers: { @@ -12097,11 +15887,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/beleidsdoel/static/:lineageId', async () => { + }) +} + +export const getProgrammasAlgemeenValidGetMockHandler = ( + overrideResponse?: PagedResponseProgrammaAlgemeenBasic +) => { + return http.get('*/programmas-algemeen/valid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsdoelStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getProgrammasAlgemeenValidGetResponseMock() + ), { status: 200, headers: { @@ -12109,12 +15908,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/modules/:moduleId/object/beleidsdoel/:lineageId', async () => { + }) +} + +export const getProgrammasAlgemeenValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseProgrammaAlgemeenBasic +) => { + return http.get('*/programmas-algemeen/valid/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectBeleidsdoelLineageIdGetMock() + overrideResponse + ? overrideResponse + : getProgrammasAlgemeenValidLineageIdGetResponseMock() ), { status: 200, @@ -12123,62 +15929,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.patch( - '*/modules/:moduleId/object/beleidsdoel/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectBeleidsdoelLineageIdPatchMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/beleidsdoel/latest/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/beleidsdoel/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get('*/modules/object/beleidsdoel/active/:lineageId', async () => { + }) +} + +export const getProgrammasAlgemeenVersionObjectUuidGetMockHandler = ( + overrideResponse?: ProgrammaAlgemeenFull +) => { + return http.get('*/programmas-algemeen/version/:objectUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesObjectBeleidsdoelActiveLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getProgrammasAlgemeenVersionObjectUuidGetResponseMock() + ), { status: 200, headers: { @@ -12186,28 +15950,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/revisions/:moduleId/beleidsdoel/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get('*/beleidskeuzes/valid', async () => { + }) +} + +export const getProgrammasAlgemeenLatestLineageIdGetMockHandler = ( + overrideResponse?: ProgrammaAlgemeenFull +) => { + return http.get('*/programmas-algemeen/latest/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidskeuzesValidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getProgrammasAlgemeenLatestLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12215,11 +15971,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidskeuzes/valid/:lineageId', async () => { + }) +} + +export const getProgrammaAlgemeenStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/programma-algemeen/static/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidskeuzesValidLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getProgrammaAlgemeenStaticLineageIdPostResponseMock() + ), { status: 200, headers: { @@ -12227,59 +15992,159 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidskeuzes/version/:objectUuid', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getBeleidskeuzesVersionObjectUuidGetMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, + }) +} + +export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMockHandler = + (overrideResponse?: PagedResponseProgrammaAlgemeenExtended) => { + return http.get( + '*/modules/:moduleId/object/programma-algemeen/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) } ) - }), - http.get('*/beleidskeuzes/latest/:lineageId', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getBeleidskeuzesLatestLineageIdGetMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, + } + +export const getModulesModuleIdObjectProgrammaAlgemeenLineageIdPatchMockHandler = + (overrideResponse?: ProgrammaAlgemeenUUID) => { + return http.patch( + '*/modules/:moduleId/object/programma-algemeen/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectProgrammaAlgemeenLineageIdPatchResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) } ) - }), - http.get('*/beleidskeuzes/relations/:lineageId', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getBeleidskeuzesRelationsLineageIdGetMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, + } + +export const getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMockHandler = + (overrideResponse?: ProgrammaAlgemeenFull) => { + return http.get( + '*/modules/:moduleId/object/programma-algemeen/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) } ) - }), - http.put('*/beleidskeuzes/relations/:lineageId', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getBeleidskeuzesRelationsLineageIdPutMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, + } + +export const getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMockHandler = + (overrideResponse?: ProgrammaAlgemeenFull) => { + return http.get( + '*/modules/:moduleId/object/programma-algemeen/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesObjectProgrammaAlgemeenActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get( + '*/modules/object/programma-algemeen/active/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesObjectProgrammaAlgemeenActiveLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMockHandler = + (overrideResponse?: ProgrammaAlgemeenFull) => { + return http.get( + '*/revisions/:moduleId/programma-algemeen/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) } ) - }), - http.post('*/beleidskeuze/static/:lineageId', async () => { + } + +export const getVerplichtProgrammaPostMockHandler = ( + overrideResponse?: VerplichtProgrammaUUID +) => { + return http.post('*/verplicht-programma', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidskeuzeStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getVerplichtProgrammaPostResponseMock() + ), { status: 200, headers: { @@ -12287,12 +16152,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidskeuze/acknowledged-relations/:lineageId', async () => { + }) +} + +export const getVerplichtProgrammaLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/verplicht-programma/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getBeleidskeuzeAcknowledgedRelationsLineageIdGetMock() + overrideResponse + ? overrideResponse + : getVerplichtProgrammaLineageIdPostResponseMock() ), { status: 200, @@ -12301,12 +16173,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/beleidskeuze/acknowledged-relations/:lineageId', async () => { + }) +} + +export const getVerplichtProgrammaLineageIdDeleteMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.delete('*/verplicht-programma/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getBeleidskeuzeAcknowledgedRelationsLineageIdPostMock() + overrideResponse + ? overrideResponse + : getVerplichtProgrammaLineageIdDeleteResponseMock() ), { status: 200, @@ -12315,29 +16194,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post( - '*/beleidskeuze/acknowledged-relations/:lineageId/edit', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getBeleidskeuzeAcknowledgedRelationsLineageIdEditPostMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get('*/modules/:moduleId/object/beleidskeuze/:lineageId', async () => { + }) +} + +export const getVerplichtProgrammaValidGetMockHandler = ( + overrideResponse?: PagedResponseVerplichtProgrammaBasic +) => { + return http.get('*/verplicht-programma/valid', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectBeleidskeuzeLineageIdGetMock() + overrideResponse + ? overrideResponse + : getVerplichtProgrammaValidGetResponseMock() ), { status: 200, @@ -12346,63 +16215,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.patch( - '*/modules/:moduleId/object/beleidskeuze/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectBeleidskeuzeLineageIdPatchMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/beleidskeuze/latest/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/beleidskeuze/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get('*/modules/objects/beleidskeuze/active/:lineageId', async () => { + }) +} + +export const getVerplichtProgrammaLatestLineageIdGetMockHandler = ( + overrideResponse?: VerplichtProgrammaFull +) => { + return http.get('*/verplicht-programma/latest/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesObjectsBeleidskeuzeActiveLineageIdGetMock() + overrideResponse + ? overrideResponse + : getVerplichtProgrammaLatestLineageIdGetResponseMock() ), { status: 200, @@ -12411,28 +16236,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/revisions/:moduleId/beleidskeuze/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getRevisionsModuleIdBeleidskeuzeVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get('*/beleidsregels/valid', async () => { + }) +} + +export const getVerplichtProgrammaRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/verplicht-programma/relations/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsregelsValidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getVerplichtProgrammaRelationsLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12440,11 +16257,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsregels/valid/:lineageId', async () => { + }) +} + +export const getVerplichtProgrammaRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/verplicht-programma/relations/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsregelsValidLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getVerplichtProgrammaRelationsLineageIdPutResponseMock() + ), { status: 200, headers: { @@ -12452,11 +16278,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsregels/version/:objectUuid', async () => { + }) +} + +export const getVerplichtProgrammaStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/verplicht-programma/static/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsregelsVersionObjectUuidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getVerplichtProgrammaStaticLineageIdPostResponseMock() + ), { status: 200, headers: { @@ -12464,11 +16299,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsregels/latest/:lineageId', async () => { + }) +} + +export const getVisiesAlgemeenValidGetMockHandler = ( + overrideResponse?: PagedResponseVisieAlgemeenBasic +) => { + return http.get('*/visies-algemeen/valid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsregelsLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getVisiesAlgemeenValidGetResponseMock() + ), { status: 200, headers: { @@ -12476,11 +16320,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/beleidsregels/relations/:lineageId', async () => { + }) +} + +export const getVisiesAlgemeenValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseVisieAlgemeenBasic +) => { + return http.get('*/visies-algemeen/valid/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsregelsRelationsLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getVisiesAlgemeenValidLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12488,11 +16341,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.put('*/beleidsregels/relations/:lineageId', async () => { + }) +} + +export const getVisiesAlgemeenVersionObjectUuidGetMockHandler = ( + overrideResponse?: VisieAlgemeenFull +) => { + return http.get('*/visies-algemeen/version/:objectUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsregelsRelationsLineageIdPutMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getVisiesAlgemeenVersionObjectUuidGetResponseMock() + ), { status: 200, headers: { @@ -12500,11 +16362,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/beleidsregel/static/:lineageId', async () => { + }) +} + +export const getVisiesAlgemeenLatestLineageIdGetMockHandler = ( + overrideResponse?: VisieAlgemeenFull +) => { + return http.get('*/visies-algemeen/latest/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getBeleidsregelStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getVisiesAlgemeenLatestLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12512,12 +16383,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/modules/:moduleId/object/beleidsregel/:lineageId', async () => { + }) +} + +export const getVisieAlgemeenStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/visie-algemeen/static/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectBeleidsregelLineageIdGetMock() + overrideResponse + ? overrideResponse + : getVisieAlgemeenStaticLineageIdPostResponseMock() ), { status: 200, @@ -12526,31 +16404,21 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.patch( - '*/modules/:moduleId/object/beleidsregel/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectBeleidsregelLineageIdPatchMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/beleidsregel/latest/:lineageId', + }) +} + +export const getModulesModuleIdObjectVisieAlgemeenLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseVisieAlgemeenExtended +) => { + return http.get( + '*/modules/:moduleId/object/visie-algemeen/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMock() + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectVisieAlgemeenLineageIdGetResponseMock() ), { status: 200, @@ -12560,14 +16428,21 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get( - '*/modules/:moduleId/object/beleidsregel/version/:objectUuid', + ) +} + +export const getModulesModuleIdObjectVisieAlgemeenLineageIdPatchMockHandler = ( + overrideResponse?: VisieAlgemeenUUID +) => { + return http.patch( + '*/modules/:moduleId/object/visie-algemeen/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMock() + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectVisieAlgemeenLineageIdPatchResponseMock() ), { status: 200, @@ -12577,28 +16452,67 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get('*/modules/objects/beleidsregel/active/:lineageId', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesObjectsBeleidsregelActiveLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, + ) +} + +export const getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMockHandler = + (overrideResponse?: VisieAlgemeenFull) => { + return http.get( + '*/modules/:moduleId/object/visie-algemeen/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) } ) - }), - http.get( - '*/revisions/:moduleId/beleidsregel/version/:objectUuid', + } + +export const getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMockHandler = + (overrideResponse?: VisieAlgemeenFull) => { + return http.get( + '*/modules/:moduleId/object/visie-algemeen/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesObjectVisieAlgemeenActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get( + '*/modules/object/visie-algemeen/active/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getRevisionsModuleIdBeleidsregelVersionObjectUuidGetMock() + overrideResponse + ? overrideResponse + : getModulesObjectVisieAlgemeenActiveLineageIdGetResponseMock() ), { status: 200, @@ -12608,35 +16522,43 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get('*/gebiedsprogrammas/valid', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getGebiedsprogrammasValidGetMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - }), - http.get('*/gebiedsprogrammas/valid/:lineageId', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getGebiedsprogrammasValidLineageIdGetMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, + ) +} + +export const getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMockHandler = + (overrideResponse?: VisieAlgemeenFull) => { + return http.get( + '*/revisions/:moduleId/visie-algemeen/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) } ) - }), - http.get('*/gebiedsprogrammas/version/:objectUuid', async () => { + } + +export const getWerkingsgebiedenValidGetMockHandler = ( + overrideResponse?: PagedResponseWerkingsgebiedBasic +) => { + return http.get('*/werkingsgebieden/valid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getGebiedsprogrammasVersionObjectUuidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWerkingsgebiedenValidGetResponseMock() + ), { status: 200, headers: { @@ -12644,11 +16566,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/gebiedsprogrammas/latest/:lineageId', async () => { + }) +} + +export const getWerkingsgebiedenValidLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseWerkingsgebiedBasic +) => { + return http.get('*/werkingsgebieden/valid/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getGebiedsprogrammasLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWerkingsgebiedenValidLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12656,11 +16587,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/gebiedsprogrammas/relations/:lineageId', async () => { + }) +} + +export const getWerkingsgebiedenVersionObjectUuidGetMockHandler = ( + overrideResponse?: WerkingsgebiedFull +) => { + return http.get('*/werkingsgebieden/version/:objectUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getGebiedsprogrammasRelationsLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWerkingsgebiedenVersionObjectUuidGetResponseMock() + ), { status: 200, headers: { @@ -12668,11 +16608,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.put('*/gebiedsprogrammas/relations/:lineageId', async () => { + }) +} + +export const getWerkingsgebiedenLatestLineageIdGetMockHandler = ( + overrideResponse?: WerkingsgebiedFull +) => { + return http.get('*/werkingsgebieden/latest/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getGebiedsprogrammasRelationsLineageIdPutMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWerkingsgebiedenLatestLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12680,11 +16629,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/gebiedsprogrammas/static/:lineageId', async () => { + }) +} + +export const getWerkingsgebiedStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/werkingsgebied/static/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getGebiedsprogrammasStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWerkingsgebiedStaticLineageIdPostResponseMock() + ), { status: 200, headers: { @@ -12692,65 +16650,21 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/modules/:moduleId/object/gebiedsprogrammas/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.patch( - '*/modules/:moduleId/object/gebiedsprogrammas/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectGebiedsprogrammasLineageIdPatchMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/gebiedsprogrammas/latest/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/gebiedsprogrammas/version/:objectUuid', + }) +} + +export const getModulesModuleIdObjectWerkingsgebiedLineageIdGetMockHandler = ( + overrideResponse?: PagedResponseWerkingsgebiedExtended +) => { + return http.get( + '*/modules/:moduleId/object/werkingsgebied/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMock() + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectWerkingsgebiedLineageIdGetResponseMock() ), { status: 200, @@ -12760,14 +16674,21 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get( - '*/modules/objects/gebiedsprogramma/active/:lineageId', + ) +} + +export const getModulesModuleIdObjectWerkingsgebiedLineageIdPatchMockHandler = ( + overrideResponse?: WerkingsgebiedUUID +) => { + return http.patch( + '*/modules/:moduleId/object/werkingsgebied/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesObjectsGebiedsprogrammaActiveLineageIdGetMock() + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectWerkingsgebiedLineageIdPatchResponseMock() ), { status: 200, @@ -12777,14 +16698,67 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get( - '*/revisions/:moduleId/gebiedsprogramma/version/:objectUuid', + ) +} + +export const getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMockHandler = + (overrideResponse?: WerkingsgebiedFull) => { + return http.get( + '*/modules/:moduleId/object/werkingsgebied/latest/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMockHandler = + (overrideResponse?: WerkingsgebiedFull) => { + return http.get( + '*/modules/:moduleId/object/werkingsgebied/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesObjectWerkingsgebiedActiveLineageIdGetMockHandler = ( + overrideResponse?: ActiveModuleObjectWrapper[] +) => { + return http.get( + '*/modules/object/werkingsgebied/active/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMock() + overrideResponse + ? overrideResponse + : getModulesObjectWerkingsgebiedActiveLineageIdGetResponseMock() ), { status: 200, @@ -12794,56 +16768,43 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get('*/maatregelen/valid', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getMaatregelenValidGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/maatregelen/valid/:lineageId', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getMaatregelenValidLineageIdGetMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - }), - http.get('*/maatregelen/version/:objectUuid', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getMaatregelenVersionObjectUuidGetMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - }), - http.get('*/maatregelen/latest/:lineageId', async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify(getMaatregelenLatestLineageIdGetMock()), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, + ) +} + +export const getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMockHandler = + (overrideResponse?: WerkingsgebiedFull) => { + return http.get( + '*/revisions/:moduleId/werkingsgebied/version/:objectUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) } ) - }), - http.get('*/maatregelen/relations/:lineageId', async () => { + } + +export const getWettelijkeTaakPostMockHandler = ( + overrideResponse?: WettelijkeTaakUUID +) => { + return http.post('*/wettelijke-taak', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getMaatregelenRelationsLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWettelijkeTaakPostResponseMock() + ), { status: 200, headers: { @@ -12851,11 +16812,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.put('*/maatregelen/relations/:lineageId', async () => { + }) +} + +export const getWettelijkeTaakLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/wettelijke-taak/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getMaatregelenRelationsLineageIdPutMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWettelijkeTaakLineageIdPostResponseMock() + ), { status: 200, headers: { @@ -12863,11 +16833,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/maatregel/static/:lineageId', async () => { + }) +} + +export const getWettelijkeTaakLineageIdDeleteMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.delete('*/wettelijke-taak/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getMaatregelStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWettelijkeTaakLineageIdDeleteResponseMock() + ), { status: 200, headers: { @@ -12875,11 +16854,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/modules/:moduleId/object/maatregel/:lineageId', async () => { + }) +} + +export const getWettelijkeTaakValidGetMockHandler = ( + overrideResponse?: PagedResponseWettelijkeTaakBasic +) => { + return http.get('*/wettelijke-taak/valid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdObjectMaatregelLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWettelijkeTaakValidGetResponseMock() + ), { status: 200, headers: { @@ -12887,12 +16875,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.patch('*/modules/:moduleId/object/maatregel/:lineageId', async () => { + }) +} + +export const getWettelijkeTaakLatestLineageIdGetMockHandler = ( + overrideResponse?: WettelijkeTaakFull +) => { + return http.get('*/wettelijke-taak/latest/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectMaatregelLineageIdPatchMock() + overrideResponse + ? overrideResponse + : getWettelijkeTaakLatestLineageIdGetResponseMock() ), { status: 200, @@ -12901,45 +16896,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/modules/:moduleId/object/maatregel/latest/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectMaatregelLatestLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/maatregel/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectMaatregelVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get('*/modules/objects/maatregel/active/:lineageId', async () => { + }) +} + +export const getWettelijkeTaakRelationsLineageIdGetMockHandler = ( + overrideResponse?: ReadRelation[] +) => { + return http.get('*/wettelijke-taak/relations/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesObjectsMaatregelActiveLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWettelijkeTaakRelationsLineageIdGetResponseMock() + ), { status: 200, headers: { @@ -12947,37 +16917,41 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/revisions/:moduleId/maatregel/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getRevisionsModuleIdMaatregelVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.post('*/nationaal-belang', async () => { + }) +} + +export const getWettelijkeTaakRelationsLineageIdPutMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.put('*/wettelijke-taak/relations/:lineageId', async () => { await delay(1000) - return new HttpResponse(JSON.stringify(getNationaalBelangPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/nationaal-belang/:lineageId', async () => { + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getWettelijkeTaakRelationsLineageIdPutResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getWettelijkeTaakStaticLineageIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/wettelijke-taak/static/:lineageId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getNationaalBelangLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getWettelijkeTaakStaticLineageIdPostResponseMock() + ), { status: 200, headers: { @@ -12985,11 +16959,18 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.delete('*/nationaal-belang/:lineageId', async () => { + }) +} + +export const getUsersGetMockHandler = ( + overrideResponse?: PagedResponseUser +) => { + return http.get('*/users', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getNationaalBelangLineageIdDeleteMock()), + JSON.stringify( + overrideResponse ? overrideResponse : getUsersGetResponseMock() + ), { status: 200, headers: { @@ -12997,11 +16978,18 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/nationaal-belang/valid', async () => { + }) +} + +export const getUsersPostMockHandler = ( + overrideResponse?: UserCreateResponse +) => { + return http.post('*/users', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getNationaalBelangValidGetMock()), + JSON.stringify( + overrideResponse ? overrideResponse : getUsersPostResponseMock() + ), { status: 200, headers: { @@ -13009,11 +16997,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/nationaal-belang/latest/:lineageId', async () => { + }) +} + +export const getUsersSearchGetMockHandler = ( + overrideResponse?: PagedResponseUser +) => { + return http.get('*/users/search', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getNationaalBelangLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getUsersSearchGetResponseMock() + ), { status: 200, headers: { @@ -13021,11 +17018,18 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/nationaal-belang/relations/:lineageId', async () => { + }) +} + +export const getUsersUserUuidGetMockHandler = (overrideResponse?: User) => { + return http.get('*/users/:userUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getNationaalBelangRelationsLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getUsersUserUuidGetResponseMock() + ), { status: 200, headers: { @@ -13033,11 +17037,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.put('*/nationaal-belang/relations/:lineageId', async () => { + }) +} + +export const getUsersUserUuidPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/users/:userUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getNationaalBelangRelationsLineageIdPutMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getUsersUserUuidPostResponseMock() + ), { status: 200, headers: { @@ -13045,11 +17058,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/nationaal-belang/static/:lineageId', async () => { + }) +} + +export const getUsersUserUuidResetPasswordPostMockHandler = ( + overrideResponse?: ResetPasswordResponse +) => { + return http.post('*/users/:userUuid/reset-password', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getNationaalBelangStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getUsersUserUuidResetPasswordPostResponseMock() + ), { status: 200, headers: { @@ -13057,11 +17079,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/programmas-algemeen/valid', async () => { + }) +} + +export const getSourceWerkingsgebiedenGetMockHandler = ( + overrideResponse?: PagedResponseWerkingsgebied +) => { + return http.get('*/source-werkingsgebieden', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getProgrammasAlgemeenValidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getSourceWerkingsgebiedenGetResponseMock() + ), { status: 200, headers: { @@ -13069,11 +17100,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/programmas-algemeen/valid/:lineageId', async () => { + }) +} + +export const getSearchSourceGeoPostMockHandler = ( + overrideResponse?: PagedResponseGeoSearchResult +) => { + return http.post('*/search/source-geo', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getProgrammasAlgemeenValidLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getSearchSourceGeoPostResponseMock() + ), { status: 200, headers: { @@ -13081,11 +17121,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/programmas-algemeen/version/:objectUuid', async () => { + }) +} + +export const getSearchSourceGeometryPostMockHandler = ( + overrideResponse?: PagedResponseGeoSearchResult +) => { + return http.post('*/search/source-geometry', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getProgrammasAlgemeenVersionObjectUuidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getSearchSourceGeometryPostResponseMock() + ), { status: 200, headers: { @@ -13093,11 +17142,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/programmas-algemeen/latest/:lineageId', async () => { + }) +} + +export const getSearchPostMockHandler = ( + overrideResponse?: PagedResponseSearchObject +) => { + return http.post('*/search', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getProgrammasAlgemeenLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getSearchPostResponseMock() + ), { status: 200, headers: { @@ -13105,11 +17163,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/programma-algemeen/static/:lineageId', async () => { + }) +} + +export const getSearchValidPostMockHandler = ( + overrideResponse?: PagedResponseValidSearchObject +) => { + return http.post('*/search/valid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getProgrammaAlgemeenStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getSearchValidPostResponseMock() + ), { status: 200, headers: { @@ -13117,113 +17184,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/modules/:moduleId/object/programma-algemeen/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.patch( - '*/modules/:moduleId/object/programma-algemeen/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectProgrammaAlgemeenLineageIdPatchMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/programma-algemeen/latest/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/programma-algemeen/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/object/programma-algemeen/active/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesObjectProgrammaAlgemeenActiveLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/revisions/:moduleId/programma-algemeen/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.post('*/verplicht-programma', async () => { + }) +} + +export const getFullGraphGetMockHandler = ( + overrideResponse?: GraphResponse +) => { + return http.get('*/full-graph', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVerplichtProgrammaPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getFullGraphGetResponseMock() + ), { status: 200, headers: { @@ -13231,11 +17205,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/verplicht-programma/:lineageId', async () => { + }) +} + +export const getObjectGraphGetMockHandler = ( + overrideResponse?: GraphResponse +) => { + return http.get('*/object-graph', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVerplichtProgrammaLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getObjectGraphGetResponseMock() + ), { status: 200, headers: { @@ -13243,11 +17226,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.delete('*/verplicht-programma/:lineageId', async () => { + }) +} + +export const getRevisionsGetMockHandler = ( + overrideResponse?: PagedResponsePublicModuleShort +) => { + return http.get('*/revisions', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVerplichtProgrammaLineageIdDeleteMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsGetResponseMock() + ), { status: 200, headers: { @@ -13255,11 +17247,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/verplicht-programma/valid', async () => { + }) +} + +export const getRevisionsModuleIdGetMockHandler = ( + overrideResponse?: PublicModuleOverview +) => { + return http.get('*/revisions/:moduleId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVerplichtProgrammaValidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getRevisionsModuleIdGetResponseMock() + ), { status: 200, headers: { @@ -13267,11 +17268,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/verplicht-programma/latest/:lineageId', async () => { + }) +} + +export const getModulesGetMockHandler = ( + overrideResponse?: PagedResponseModule +) => { + return http.get('*/modules', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVerplichtProgrammaLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesGetResponseMock() + ), { status: 200, headers: { @@ -13279,11 +17289,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/verplicht-programma/relations/:lineageId', async () => { + }) +} + +export const getModulesPostMockHandler = ( + overrideResponse?: ModuleCreatedResponse +) => { + return http.post('*/modules', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVerplichtProgrammaRelationsLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesPostResponseMock() + ), { status: 200, headers: { @@ -13291,11 +17310,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.put('*/verplicht-programma/relations/:lineageId', async () => { + }) +} + +export const getModulesModuleIdGetMockHandler = ( + overrideResponse?: ModuleOverview +) => { + return http.get('*/modules/:moduleId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVerplichtProgrammaRelationsLineageIdPutMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdGetResponseMock() + ), { status: 200, headers: { @@ -13303,11 +17331,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/verplicht-programma/static/:lineageId', async () => { + }) +} + +export const getModulesModuleIdPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/modules/:moduleId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVerplichtProgrammaStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdPostResponseMock() + ), { status: 200, headers: { @@ -13315,11 +17352,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/visies-algemeen/valid', async () => { + }) +} + +export const getModulesModuleIdActivatePostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/modules/:moduleId/activate', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVisiesAlgemeenValidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdActivatePostResponseMock() + ), { status: 200, headers: { @@ -13327,11 +17373,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/visies-algemeen/valid/:lineageId', async () => { + }) +} + +export const getModulesModuleIdCompletePostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/modules/:moduleId/complete', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVisiesAlgemeenValidLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdCompletePostResponseMock() + ), { status: 200, headers: { @@ -13339,11 +17394,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/visies-algemeen/version/:objectUuid', async () => { + }) +} + +export const getModulesModuleIdClosePostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/modules/:moduleId/close', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVisiesAlgemeenVersionObjectUuidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdClosePostResponseMock() + ), { status: 200, headers: { @@ -13351,11 +17415,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/visies-algemeen/latest/:lineageId', async () => { + }) +} + +export const getModulesModuleIdStatusGetMockHandler = ( + overrideResponse?: ModuleStatus[] +) => { + return http.get('*/modules/:moduleId/status', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVisiesAlgemeenLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdStatusGetResponseMock() + ), { status: 200, headers: { @@ -13363,11 +17436,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/visie-algemeen/static/:lineageId', async () => { + }) +} + +export const getModulesModuleIdStatusPatchMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.patch('*/modules/:moduleId/status', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getVisieAlgemeenStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdStatusPatchResponseMock() + ), { status: 200, headers: { @@ -13375,80 +17457,52 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/modules/:moduleId/object/visie-algemeen/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectVisieAlgemeenLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.patch( - '*/modules/:moduleId/object/visie-algemeen/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectVisieAlgemeenLineageIdPatchMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/visie-algemeen/latest/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/visie-algemeen/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get('*/modules/object/visie-algemeen/active/:lineageId', async () => { + }) +} + +export const getModulesModuleIdDiffGetMockHandler = () => { + return http.get('*/modules/:moduleId/diff', async () => { + await delay(1000) + return new HttpResponse(null, { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + }) + }) +} + +export const getModulesModuleIdAddNewObjectPostMockHandler = ( + overrideResponse?: NewObjectStaticResponse +) => { + return http.post('*/modules/:moduleId/add-new-object', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdAddNewObjectPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getModulesModuleIdAddExistingObjectPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/modules/:moduleId/add-existing-object', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesObjectVisieAlgemeenActiveLineageIdGetMock() + overrideResponse + ? overrideResponse + : getModulesModuleIdAddExistingObjectPostResponseMock() ), { status: 200, @@ -13457,14 +17511,67 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/revisions/:moduleId/visie-algemeen/version/:objectUuid', + }) +} + +export const getModulesModuleIdObjectContextObjectTypeLineageIdGetMockHandler = + (overrideResponse?: ModuleObjectContext) => { + return http.get( + '*/modules/:moduleId/object-context/:objectType/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectContextObjectTypeLineageIdGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdObjectContextObjectTypeLineageIdPostMockHandler = + (overrideResponse?: ResponseOK) => { + return http.post( + '*/modules/:moduleId/object-context/:objectType/:lineageId', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdObjectContextObjectTypeLineageIdPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getModulesModuleIdRemoveObjectTypeLineageIdDeleteMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.delete( + '*/modules/:moduleId/remove/:objectType/:lineageId', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMock() + overrideResponse + ? overrideResponse + : getModulesModuleIdRemoveObjectTypeLineageIdDeleteResponseMock() ), { status: 200, @@ -13474,11 +17581,20 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get('*/werkingsgebieden/valid', async () => { + ) +} + +export const getModulesModuleIdSnapshotStatusIdGetMockHandler = ( + overrideResponse?: ModuleSnapshot +) => { + return http.get('*/modules/:moduleId/snapshot/:statusId', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWerkingsgebiedenValidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesModuleIdSnapshotStatusIdGetResponseMock() + ), { status: 200, headers: { @@ -13486,11 +17602,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/werkingsgebieden/valid/:lineageId', async () => { + }) +} + +export const getModulesObjectsLatestGetMockHandler = ( + overrideResponse?: PagedResponseModuleObjectShortStatus +) => { + return http.get('*/modules/objects/latest', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWerkingsgebiedenValidLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getModulesObjectsLatestGetResponseMock() + ), { status: 200, headers: { @@ -13498,11 +17623,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/werkingsgebieden/version/:objectUuid', async () => { + }) +} + +export const getObjectsValidCountGetMockHandler = ( + overrideResponse?: ObjectCount[] +) => { + return http.get('*/objects/valid/count', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWerkingsgebiedenVersionObjectUuidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getObjectsValidCountGetResponseMock() + ), { status: 200, headers: { @@ -13510,11 +17644,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/werkingsgebieden/latest/:lineageId', async () => { + }) +} + +export const getObjectsValidGetMockHandler = ( + overrideResponse?: PagedResponseGenericObjectShort +) => { + return http.get('*/objects/valid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWerkingsgebiedenLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getObjectsValidGetResponseMock() + ), { status: 200, headers: { @@ -13522,11 +17665,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/werkingsgebied/static/:lineageId', async () => { + }) +} + +export const getPublicationAojGetMockHandler = ( + overrideResponse?: PagedResponsePublicationAOJ +) => { + return http.get('*/publication-aoj', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWerkingsgebiedStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAojGetResponseMock() + ), { status: 200, headers: { @@ -13534,80 +17686,19 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/modules/:moduleId/object/werkingsgebied/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectWerkingsgebiedLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.patch( - '*/modules/:moduleId/object/werkingsgebied/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectWerkingsgebiedLineageIdPatchMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/werkingsgebied/latest/:lineageId', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get( - '*/modules/:moduleId/object/werkingsgebied/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.get('*/modules/object/werkingsgebied/active/:lineageId', async () => { + }) +} + +export const getPublicationAojPostMockHandler = ( + overrideResponse?: AOJCreatedResponse +) => { + return http.post('*/publication-aoj', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesObjectWerkingsgebiedActiveLineageIdGetMock() + overrideResponse + ? overrideResponse + : getPublicationAojPostResponseMock() ), { status: 200, @@ -13616,37 +17707,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/revisions/:moduleId/werkingsgebied/version/:objectUuid', - async () => { - await delay(1000) - return new HttpResponse( - JSON.stringify( - getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMock() - ), - { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - } - ) - } - ), - http.post('*/wettelijke-taak', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getWettelijkeTaakPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/wettelijke-taak/:lineageId', async () => { + }) +} + +export const getPublicationTemplatesGetMockHandler = ( + overrideResponse?: PagedResponsePublicationTemplate +) => { + return http.get('*/publication-templates', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWettelijkeTaakLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationTemplatesGetResponseMock() + ), { status: 200, headers: { @@ -13654,11 +17728,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.delete('*/wettelijke-taak/:lineageId', async () => { + }) +} + +export const getPublicationTemplatesPostMockHandler = ( + overrideResponse?: TemplateCreatedResponse +) => { + return http.post('*/publication-templates', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWettelijkeTaakLineageIdDeleteMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationTemplatesPostResponseMock() + ), { status: 200, headers: { @@ -13666,11 +17749,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/wettelijke-taak/valid', async () => { + }) +} + +export const getPublicationTemplatesTemplateUuidGetMockHandler = ( + overrideResponse?: PublicationTemplate +) => { + return http.get('*/publication-templates/:templateUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWettelijkeTaakValidGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationTemplatesTemplateUuidGetResponseMock() + ), { status: 200, headers: { @@ -13678,11 +17770,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/wettelijke-taak/latest/:lineageId', async () => { + }) +} + +export const getPublicationTemplatesTemplateUuidPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/publication-templates/:templateUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWettelijkeTaakLatestLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationTemplatesTemplateUuidPostResponseMock() + ), { status: 200, headers: { @@ -13690,11 +17791,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/wettelijke-taak/relations/:lineageId', async () => { + }) +} + +export const getPublicationActsGetMockHandler = ( + overrideResponse?: PagedResponsePublicationActShort +) => { + return http.get('*/publication-acts', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWettelijkeTaakRelationsLineageIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActsGetResponseMock() + ), { status: 200, headers: { @@ -13702,11 +17812,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.put('*/wettelijke-taak/relations/:lineageId', async () => { + }) +} + +export const getPublicationActsPostMockHandler = ( + overrideResponse?: ActCreatedResponse +) => { + return http.post('*/publication-acts', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWettelijkeTaakRelationsLineageIdPutMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActsPostResponseMock() + ), { status: 200, headers: { @@ -13714,11 +17833,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/wettelijke-taak/static/:lineageId', async () => { + }) +} + +export const getPublicationActsActUuidGetMockHandler = ( + overrideResponse?: PublicationAct +) => { + return http.get('*/publication-acts/:actUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getWettelijkeTaakStaticLineageIdPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActsActUuidGetResponseMock() + ), { status: 200, headers: { @@ -13726,56 +17854,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/users', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getUsersGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/users', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getUsersPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/users/search', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getUsersSearchGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/users/:userUuid', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getUsersUserUuidGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/users/:userUuid', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getUsersUserUuidPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/users/:userUuid/reset-password', async () => { + }) +} + +export const getPublicationActsActUuidPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/publication-acts/:actUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getUsersUserUuidResetPasswordPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActsActUuidPostResponseMock() + ), { status: 200, headers: { @@ -13783,11 +17875,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/source-werkingsgebieden', async () => { + }) +} + +export const getPublicationEnvironmentsGetMockHandler = ( + overrideResponse?: PagedResponsePublicationEnvironment +) => { + return http.get('*/publication-environments', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getSourceWerkingsgebiedenGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationEnvironmentsGetResponseMock() + ), { status: 200, headers: { @@ -13795,20 +17896,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/search/source-geo', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getSearchSourceGeoPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/search/source-geometry', async () => { + }) +} + +export const getPublicationEnvironmentsPostMockHandler = ( + overrideResponse?: EnvironmentCreatedResponse +) => { + return http.post('*/publication-environments', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getSearchSourceGeometryPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationEnvironmentsPostResponseMock() + ), { status: 200, headers: { @@ -13816,101 +17917,44 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/search', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getSearchPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/search/valid', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getSearchValidPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/full-graph', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getFullGraphGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/object-graph', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getObjectGraphGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/revisions', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getRevisionsGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/revisions/:moduleId', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getRevisionsModuleIdGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/modules', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getModulesGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/modules', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getModulesPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/modules/:moduleId', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getModulesModuleIdGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/modules/:moduleId', async () => { - await delay(1000) - return new HttpResponse(JSON.stringify(getModulesModuleIdPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/modules/:moduleId/activate', async () => { + }) +} + +export const getPublicationEnvironmentsEnvironmentUuidPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post( + '*/publication-environments/:environmentUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationEnvironmentsEnvironmentUuidPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getPublicationsGetMockHandler = ( + overrideResponse?: PagedResponsePublication +) => { + return http.get('*/publications', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdActivatePostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationsGetResponseMock() + ), { status: 200, headers: { @@ -13918,11 +17962,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/modules/:moduleId/complete', async () => { + }) +} + +export const getPublicationsPostMockHandler = ( + overrideResponse?: PublicationCreatedResponse +) => { + return http.post('*/publications', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdCompletePostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationsPostResponseMock() + ), { status: 200, headers: { @@ -13930,11 +17983,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/modules/:moduleId/close', async () => { + }) +} + +export const getPublicationsPublicationUuidGetMockHandler = ( + overrideResponse?: Publication +) => { + return http.get('*/publications/:publicationUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdClosePostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationsPublicationUuidGetResponseMock() + ), { status: 200, headers: { @@ -13942,11 +18004,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/modules/:moduleId/status', async () => { + }) +} + +export const getPublicationsPublicationUuidPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/publications/:publicationUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdStatusGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationsPublicationUuidPostResponseMock() + ), { status: 200, headers: { @@ -13954,11 +18025,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.patch('*/modules/:moduleId/status', async () => { + }) +} + +export const getPublicationsPublicationUuidVersionPostMockHandler = ( + overrideResponse?: PublicationVersionCreatedResponse +) => { + return http.post('*/publications/:publicationUuid/version', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdStatusPatchMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationsPublicationUuidVersionPostResponseMock() + ), { status: 200, headers: { @@ -13966,20 +18046,41 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/modules/:moduleId/diff', async () => { + }) +} + +export const getPublicationsPublicationUuidVersionsGetMockHandler = ( + overrideResponse?: PagedResponsePublicationVersionShort +) => { + return http.get('*/publications/:publicationUuid/versions', async () => { await delay(1000) - return new HttpResponse(null, { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/modules/:moduleId/add-new-object', async () => { + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationsPublicationUuidVersionsGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getPublicationVersionsVersionUuidGetMockHandler = ( + overrideResponse?: PublicationVersion +) => { + return http.get('*/publication-versions/:versionUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdAddNewObjectPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationVersionsVersionUuidGetResponseMock() + ), { status: 200, headers: { @@ -13987,11 +18088,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.post('*/modules/:moduleId/add-existing-object', async () => { + }) +} + +export const getPublicationVersionsVersionUuidPostMockHandler = ( + overrideResponse?: PublicationVersionEditResponse +) => { + return http.post('*/publication-versions/:versionUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdAddExistingObjectPostMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationVersionsVersionUuidPostResponseMock() + ), { status: 200, headers: { @@ -13999,14 +18109,21 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get( - '*/modules/:moduleId/object-context/:objectType/:lineageId', + }) +} + +export const getPublicationVersionsVersionUuidPackagesPostMockHandler = ( + overrideResponse?: PublicationPackageCreatedResponse +) => { + return http.post( + '*/publication-versions/:versionUuid/packages', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectContextObjectTypeLineageIdGetMock() + overrideResponse + ? overrideResponse + : getPublicationVersionsVersionUuidPackagesPostResponseMock() ), { status: 200, @@ -14016,14 +18133,42 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.post( - '*/modules/:moduleId/object-context/:objectType/:lineageId', + ) +} + +export const getPublicationActPackagesGetMockHandler = ( + overrideResponse?: PagedResponsePublicationPackage +) => { + return http.get('*/publication-act-packages', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActPackagesGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getPublicationActPackagesActPackageUuidDownloadGetMockHandler = ( + overrideResponse?: PublicationActPackagesActPackageUuidDownloadGet200 +) => { + return http.get( + '*/publication-act-packages/:actPackageUuid/download', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdObjectContextObjectTypeLineageIdPostMock() + overrideResponse + ? overrideResponse + : getPublicationActPackagesActPackageUuidDownloadGetResponseMock() ), { status: 200, @@ -14033,14 +18178,21 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.delete( - '*/modules/:moduleId/remove/:objectType/:lineageId', + ) +} + +export const getPublicationActPackagesActPackageUuidReportPostMockHandler = ( + overrideResponse?: AppExtensionsPublicationsEndpointsPublicationsActReportsUploadActPackageReportUploadPackageReportResponse +) => { + return http.post( + '*/publication-act-packages/:actPackageUuid/report', async () => { await delay(1000) return new HttpResponse( JSON.stringify( - getModulesModuleIdRemoveObjectTypeLineageIdDeleteMock() + overrideResponse + ? overrideResponse + : getPublicationActPackagesActPackageUuidReportPostResponseMock() ), { status: 200, @@ -14050,11 +18202,20 @@ export const getOmgevingsbeleidAPIMock = () => [ } ) } - ), - http.get('*/modules/:moduleId/snapshot/:statusId', async () => { + ) +} + +export const getPublicationActReportsGetMockHandler = ( + overrideResponse?: PagedResponsePublicationActPackageReportShort +) => { + return http.get('*/publication-act-reports', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesModuleIdSnapshotStatusIdGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActReportsGetResponseMock() + ), { status: 200, headers: { @@ -14062,11 +18223,20 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/modules/objects/latest', async () => { + }) +} + +export const getPublicationActReportsActReportUuidGetMockHandler = ( + overrideResponse?: PublicationActPackageReport +) => { + return http.get('*/publication-act-reports/:actReportUuid', async () => { await delay(1000) return new HttpResponse( - JSON.stringify(getModulesObjectsLatestGetMock()), + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActReportsActReportUuidGetResponseMock() + ), { status: 200, headers: { @@ -14074,50 +18244,563 @@ export const getOmgevingsbeleidAPIMock = () => [ }, } ) - }), - http.get('*/objects/valid/count', async () => { + }) +} + +export const getPublicationActReportsActReportUuidDownloadGetMockHandler = ( + overrideResponse?: PublicationActReportsActReportUuidDownloadGet200 +) => { + return http.get( + '*/publication-act-reports/:actReportUuid/download', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActReportsActReportUuidDownloadGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getPublicationActPackagesActPackageUuidCreateAnnouncementPostMockHandler = + (overrideResponse?: AnnouncementCreatedResponse) => { + return http.post( + '*/publication-act-packages/:actPackageUuid/create-announcement', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationActPackagesActPackageUuidCreateAnnouncementPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getPublicationAnnouncementsGetMockHandler = ( + overrideResponse?: PagedResponsePublicationAnnouncementShort +) => { + return http.get('*/publication-announcements', async () => { await delay(1000) - return new HttpResponse(JSON.stringify(getObjectsValidCountGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/objects/valid', async () => { + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementsGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getPublicationAnnouncementsAnnouncementUuidGetMockHandler = ( + overrideResponse?: PublicationAnnouncement +) => { + return http.get( + '*/publication-announcements/:announcementUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementsAnnouncementUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getPublicationAnnouncementsAnnouncementUuidPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post( + '*/publication-announcements/:announcementUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementsAnnouncementUuidPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) +} + +export const getPublicationAnnouncementsAnnouncementUuidPackagesPostMockHandler = + (overrideResponse?: PublicationAnnouncementPackageCreatedResponse) => { + return http.post( + '*/publication-announcements/:announcementUuid/packages', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementsAnnouncementUuidPackagesPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getPublicationAnnouncementPackagesGetMockHandler = ( + overrideResponse?: PagedResponsePublicationPackage +) => { + return http.get('*/publication-announcement-packages', async () => { await delay(1000) - return new HttpResponse(JSON.stringify(getObjectsValidGetMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/login/access-token', async () => { + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementPackagesGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getPublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetMockHandler = + ( + overrideResponse?: PublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet200 + ) => { + return http.get( + '*/publication-announcement-packages/:announcementPackageUuid/download', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getPublicationAnnouncementPackagesAnnouncementPackageUuidReportPostMockHandler = + ( + overrideResponse?: AppExtensionsPublicationsEndpointsPublicationsAnnouncementReportsUploadAnnouncementPackageReportUploadPackageReportResponse + ) => { + return http.post( + '*/publication-announcement-packages/:announcementPackageUuid/report', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementPackagesAnnouncementPackageUuidReportPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getPublicationAnnouncementReportsGetMockHandler = ( + overrideResponse?: PagedResponsePublicationAnnouncementPackageReportShort +) => { + return http.get('*/publication-announcement-reports', async () => { await delay(1000) - return new HttpResponse(JSON.stringify(getLoginAccessTokenPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.post('*/password-reset', async () => { + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementReportsGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getPublicationAnnouncementReportsAnnouncementReportUuidGetMockHandler = + (overrideResponse?: PublicationAnnouncementPackageReport) => { + return http.get( + '*/publication-announcement-reports/:announcementReportUuid', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementReportsAnnouncementReportUuidGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getPublicationAnnouncementReportsAnnouncementReportUuidDownloadGetMockHandler = + ( + overrideResponse?: PublicationAnnouncementReportsAnnouncementReportUuidDownloadGet200 + ) => { + return http.get( + '*/publication-announcement-reports/:announcementReportUuid/download', + async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPublicationAnnouncementReportsAnnouncementReportUuidDownloadGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + } + ) + } + +export const getLoginAccessTokenPostMockHandler = ( + overrideResponse?: AuthToken +) => { + return http.post('*/login/access-token', async () => { await delay(1000) - return new HttpResponse(JSON.stringify(getPasswordResetPostMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), - http.get('*/health', async () => { + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getLoginAccessTokenPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getPasswordResetPostMockHandler = ( + overrideResponse?: ResponseOK +) => { + return http.post('*/password-reset', async () => { await delay(1000) - return new HttpResponse(null, { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }) - }), + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getPasswordResetPostResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} + +export const getHealthCheckHealthGetMockHandler = ( + overrideResponse?: HealthCheckHealthGet200 +) => { + return http.get('*/health', async () => { + await delay(1000) + return new HttpResponse( + JSON.stringify( + overrideResponse + ? overrideResponse + : getHealthCheckHealthGetResponseMock() + ), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + }, + } + ) + }) +} +export const getOmgevingsbeleidAPIMock = () => [ + getAmbitiesValidGetMockHandler(), + getAmbitiesValidLineageIdGetMockHandler(), + getAmbitiesVersionObjectUuidGetMockHandler(), + getAmbitiesLatestLineageIdGetMockHandler(), + getAmbitiesRelationsLineageIdGetMockHandler(), + getAmbitiesRelationsLineageIdPutMockHandler(), + getAmbitieStaticLineageIdPostMockHandler(), + getModulesModuleIdObjectAmbitieLineageIdGetMockHandler(), + getModulesModuleIdObjectAmbitieLineageIdPatchMockHandler(), + getModulesModuleIdObjectAmbitieLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectAmbitieVersionObjectUuidGetMockHandler(), + getModulesObjectAmbitieActiveLineageIdGetMockHandler(), + getRevisionsModuleIdAmbitieVersionObjectUuidGetMockHandler(), + getBeleidsdoelenValidGetMockHandler(), + getBeleidsdoelenValidLineageIdGetMockHandler(), + getBeleidsdoelenVersionObjectUuidGetMockHandler(), + getBeleidsdoelenLatestLineageIdGetMockHandler(), + getBeleidsdoelenRelationsLineageIdGetMockHandler(), + getBeleidsdoelenRelationsLineageIdPutMockHandler(), + getBeleidsdoelStaticLineageIdPostMockHandler(), + getModulesModuleIdObjectBeleidsdoelLineageIdGetMockHandler(), + getModulesModuleIdObjectBeleidsdoelLineageIdPatchMockHandler(), + getModulesModuleIdObjectBeleidsdoelLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectBeleidsdoelVersionObjectUuidGetMockHandler(), + getModulesObjectBeleidsdoelActiveLineageIdGetMockHandler(), + getRevisionsModuleIdBeleidsdoelVersionObjectUuidGetMockHandler(), + getBeleidskeuzesValidGetMockHandler(), + getBeleidskeuzesValidLineageIdGetMockHandler(), + getBeleidskeuzesVersionObjectUuidGetMockHandler(), + getBeleidskeuzesLatestLineageIdGetMockHandler(), + getBeleidskeuzesRelationsLineageIdGetMockHandler(), + getBeleidskeuzesRelationsLineageIdPutMockHandler(), + getBeleidskeuzeStaticLineageIdPostMockHandler(), + getBeleidskeuzeAcknowledgedRelationsLineageIdGetMockHandler(), + getBeleidskeuzeAcknowledgedRelationsLineageIdPostMockHandler(), + getBeleidskeuzeAcknowledgedRelationsLineageIdEditPostMockHandler(), + getModulesModuleIdObjectBeleidskeuzeLineageIdGetMockHandler(), + getModulesModuleIdObjectBeleidskeuzeLineageIdPatchMockHandler(), + getModulesModuleIdObjectBeleidskeuzeLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectBeleidskeuzeVersionObjectUuidGetMockHandler(), + getModulesObjectsBeleidskeuzeActiveLineageIdGetMockHandler(), + getRevisionsModuleIdBeleidskeuzeVersionObjectUuidGetMockHandler(), + getBeleidsregelsValidGetMockHandler(), + getBeleidsregelsValidLineageIdGetMockHandler(), + getBeleidsregelsVersionObjectUuidGetMockHandler(), + getBeleidsregelsLatestLineageIdGetMockHandler(), + getBeleidsregelsRelationsLineageIdGetMockHandler(), + getBeleidsregelsRelationsLineageIdPutMockHandler(), + getBeleidsregelStaticLineageIdPostMockHandler(), + getModulesModuleIdObjectBeleidsregelLineageIdGetMockHandler(), + getModulesModuleIdObjectBeleidsregelLineageIdPatchMockHandler(), + getModulesModuleIdObjectBeleidsregelLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectBeleidsregelVersionObjectUuidGetMockHandler(), + getModulesObjectsBeleidsregelActiveLineageIdGetMockHandler(), + getRevisionsModuleIdBeleidsregelVersionObjectUuidGetMockHandler(), + getGebiedsprogrammasValidGetMockHandler(), + getGebiedsprogrammasValidLineageIdGetMockHandler(), + getGebiedsprogrammasVersionObjectUuidGetMockHandler(), + getGebiedsprogrammasLatestLineageIdGetMockHandler(), + getGebiedsprogrammasRelationsLineageIdGetMockHandler(), + getGebiedsprogrammasRelationsLineageIdPutMockHandler(), + getGebiedsprogrammasStaticLineageIdPostMockHandler(), + getModulesModuleIdObjectGebiedsprogrammasLineageIdGetMockHandler(), + getModulesModuleIdObjectGebiedsprogrammasLineageIdPatchMockHandler(), + getModulesModuleIdObjectGebiedsprogrammasLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectGebiedsprogrammasVersionObjectUuidGetMockHandler(), + getModulesObjectsGebiedsprogrammaActiveLineageIdGetMockHandler(), + getRevisionsModuleIdGebiedsprogrammaVersionObjectUuidGetMockHandler(), + getMaatregelenValidGetMockHandler(), + getMaatregelenValidLineageIdGetMockHandler(), + getMaatregelenVersionObjectUuidGetMockHandler(), + getMaatregelenLatestLineageIdGetMockHandler(), + getMaatregelenRelationsLineageIdGetMockHandler(), + getMaatregelenRelationsLineageIdPutMockHandler(), + getMaatregelStaticLineageIdPostMockHandler(), + getModulesModuleIdObjectMaatregelLineageIdGetMockHandler(), + getModulesModuleIdObjectMaatregelLineageIdPatchMockHandler(), + getModulesModuleIdObjectMaatregelLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectMaatregelVersionObjectUuidGetMockHandler(), + getModulesObjectsMaatregelActiveLineageIdGetMockHandler(), + getRevisionsModuleIdMaatregelVersionObjectUuidGetMockHandler(), + getNationaalBelangPostMockHandler(), + getNationaalBelangLineageIdPostMockHandler(), + getNationaalBelangLineageIdDeleteMockHandler(), + getNationaalBelangValidGetMockHandler(), + getNationaalBelangLatestLineageIdGetMockHandler(), + getNationaalBelangRelationsLineageIdGetMockHandler(), + getNationaalBelangRelationsLineageIdPutMockHandler(), + getNationaalBelangStaticLineageIdPostMockHandler(), + getProgrammasAlgemeenValidGetMockHandler(), + getProgrammasAlgemeenValidLineageIdGetMockHandler(), + getProgrammasAlgemeenVersionObjectUuidGetMockHandler(), + getProgrammasAlgemeenLatestLineageIdGetMockHandler(), + getProgrammaAlgemeenStaticLineageIdPostMockHandler(), + getModulesModuleIdObjectProgrammaAlgemeenLineageIdGetMockHandler(), + getModulesModuleIdObjectProgrammaAlgemeenLineageIdPatchMockHandler(), + getModulesModuleIdObjectProgrammaAlgemeenLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectProgrammaAlgemeenVersionObjectUuidGetMockHandler(), + getModulesObjectProgrammaAlgemeenActiveLineageIdGetMockHandler(), + getRevisionsModuleIdProgrammaAlgemeenVersionObjectUuidGetMockHandler(), + getVerplichtProgrammaPostMockHandler(), + getVerplichtProgrammaLineageIdPostMockHandler(), + getVerplichtProgrammaLineageIdDeleteMockHandler(), + getVerplichtProgrammaValidGetMockHandler(), + getVerplichtProgrammaLatestLineageIdGetMockHandler(), + getVerplichtProgrammaRelationsLineageIdGetMockHandler(), + getVerplichtProgrammaRelationsLineageIdPutMockHandler(), + getVerplichtProgrammaStaticLineageIdPostMockHandler(), + getVisiesAlgemeenValidGetMockHandler(), + getVisiesAlgemeenValidLineageIdGetMockHandler(), + getVisiesAlgemeenVersionObjectUuidGetMockHandler(), + getVisiesAlgemeenLatestLineageIdGetMockHandler(), + getVisieAlgemeenStaticLineageIdPostMockHandler(), + getModulesModuleIdObjectVisieAlgemeenLineageIdGetMockHandler(), + getModulesModuleIdObjectVisieAlgemeenLineageIdPatchMockHandler(), + getModulesModuleIdObjectVisieAlgemeenLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectVisieAlgemeenVersionObjectUuidGetMockHandler(), + getModulesObjectVisieAlgemeenActiveLineageIdGetMockHandler(), + getRevisionsModuleIdVisieAlgemeenVersionObjectUuidGetMockHandler(), + getWerkingsgebiedenValidGetMockHandler(), + getWerkingsgebiedenValidLineageIdGetMockHandler(), + getWerkingsgebiedenVersionObjectUuidGetMockHandler(), + getWerkingsgebiedenLatestLineageIdGetMockHandler(), + getWerkingsgebiedStaticLineageIdPostMockHandler(), + getModulesModuleIdObjectWerkingsgebiedLineageIdGetMockHandler(), + getModulesModuleIdObjectWerkingsgebiedLineageIdPatchMockHandler(), + getModulesModuleIdObjectWerkingsgebiedLatestLineageIdGetMockHandler(), + getModulesModuleIdObjectWerkingsgebiedVersionObjectUuidGetMockHandler(), + getModulesObjectWerkingsgebiedActiveLineageIdGetMockHandler(), + getRevisionsModuleIdWerkingsgebiedVersionObjectUuidGetMockHandler(), + getWettelijkeTaakPostMockHandler(), + getWettelijkeTaakLineageIdPostMockHandler(), + getWettelijkeTaakLineageIdDeleteMockHandler(), + getWettelijkeTaakValidGetMockHandler(), + getWettelijkeTaakLatestLineageIdGetMockHandler(), + getWettelijkeTaakRelationsLineageIdGetMockHandler(), + getWettelijkeTaakRelationsLineageIdPutMockHandler(), + getWettelijkeTaakStaticLineageIdPostMockHandler(), + getUsersGetMockHandler(), + getUsersPostMockHandler(), + getUsersSearchGetMockHandler(), + getUsersUserUuidGetMockHandler(), + getUsersUserUuidPostMockHandler(), + getUsersUserUuidResetPasswordPostMockHandler(), + getSourceWerkingsgebiedenGetMockHandler(), + getSearchSourceGeoPostMockHandler(), + getSearchSourceGeometryPostMockHandler(), + getSearchPostMockHandler(), + getSearchValidPostMockHandler(), + getFullGraphGetMockHandler(), + getObjectGraphGetMockHandler(), + getRevisionsGetMockHandler(), + getRevisionsModuleIdGetMockHandler(), + getModulesGetMockHandler(), + getModulesPostMockHandler(), + getModulesModuleIdGetMockHandler(), + getModulesModuleIdPostMockHandler(), + getModulesModuleIdActivatePostMockHandler(), + getModulesModuleIdCompletePostMockHandler(), + getModulesModuleIdClosePostMockHandler(), + getModulesModuleIdStatusGetMockHandler(), + getModulesModuleIdStatusPatchMockHandler(), + getModulesModuleIdDiffGetMockHandler(), + getModulesModuleIdAddNewObjectPostMockHandler(), + getModulesModuleIdAddExistingObjectPostMockHandler(), + getModulesModuleIdObjectContextObjectTypeLineageIdGetMockHandler(), + getModulesModuleIdObjectContextObjectTypeLineageIdPostMockHandler(), + getModulesModuleIdRemoveObjectTypeLineageIdDeleteMockHandler(), + getModulesModuleIdSnapshotStatusIdGetMockHandler(), + getModulesObjectsLatestGetMockHandler(), + getObjectsValidCountGetMockHandler(), + getObjectsValidGetMockHandler(), + getPublicationAojGetMockHandler(), + getPublicationAojPostMockHandler(), + getPublicationTemplatesGetMockHandler(), + getPublicationTemplatesPostMockHandler(), + getPublicationTemplatesTemplateUuidGetMockHandler(), + getPublicationTemplatesTemplateUuidPostMockHandler(), + getPublicationActsGetMockHandler(), + getPublicationActsPostMockHandler(), + getPublicationActsActUuidGetMockHandler(), + getPublicationActsActUuidPostMockHandler(), + getPublicationEnvironmentsGetMockHandler(), + getPublicationEnvironmentsPostMockHandler(), + getPublicationEnvironmentsEnvironmentUuidPostMockHandler(), + getPublicationsGetMockHandler(), + getPublicationsPostMockHandler(), + getPublicationsPublicationUuidGetMockHandler(), + getPublicationsPublicationUuidPostMockHandler(), + getPublicationsPublicationUuidVersionPostMockHandler(), + getPublicationsPublicationUuidVersionsGetMockHandler(), + getPublicationVersionsVersionUuidGetMockHandler(), + getPublicationVersionsVersionUuidPostMockHandler(), + getPublicationVersionsVersionUuidPackagesPostMockHandler(), + getPublicationActPackagesGetMockHandler(), + getPublicationActPackagesActPackageUuidDownloadGetMockHandler(), + getPublicationActPackagesActPackageUuidReportPostMockHandler(), + getPublicationActReportsGetMockHandler(), + getPublicationActReportsActReportUuidGetMockHandler(), + getPublicationActReportsActReportUuidDownloadGetMockHandler(), + getPublicationActPackagesActPackageUuidCreateAnnouncementPostMockHandler(), + getPublicationAnnouncementsGetMockHandler(), + getPublicationAnnouncementsAnnouncementUuidGetMockHandler(), + getPublicationAnnouncementsAnnouncementUuidPostMockHandler(), + getPublicationAnnouncementsAnnouncementUuidPackagesPostMockHandler(), + getPublicationAnnouncementPackagesGetMockHandler(), + getPublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetMockHandler(), + getPublicationAnnouncementPackagesAnnouncementPackageUuidReportPostMockHandler(), + getPublicationAnnouncementReportsGetMockHandler(), + getPublicationAnnouncementReportsAnnouncementReportUuidGetMockHandler(), + getPublicationAnnouncementReportsAnnouncementReportUuidDownloadGetMockHandler(), + getLoginAccessTokenPostMockHandler(), + getPasswordResetPostMockHandler(), + getHealthCheckHealthGetMockHandler(), ] diff --git a/src/api/fetchers.schemas.ts b/src/api/fetchers.schemas.ts index 0536d1499..ee31b0c12 100644 --- a/src/api/fetchers.schemas.ts +++ b/src/api/fetchers.schemas.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.23.0 🍺 + * Generated by orval v6.25.0 🍺 * Do not edit manually. * Omgevingsbeleid API * @@ -8,11 +8,93 @@ * OpenAPI spec version: 3.0-alpha */ +export type HealthCheckHealthGet200 = {} + export type PasswordResetPostParams = { password: string new_password: string } +export type PublicationAnnouncementReportsAnnouncementReportUuidDownloadGet200 = + {} + +export type PublicationAnnouncementReportsGetParams = { + announcement_package_uuid?: string + report_status?: ReportStatusType + offset?: number + limit?: number +} + +export type PublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet200 = + {} + +export type PublicationAnnouncementPackagesGetParams = { + announcement_uuid?: string + offset?: number + limit?: number +} + +export type PublicationAnnouncementsGetParams = { + act_package_uuid?: string + offset?: number + limit?: number +} + +export type PublicationActReportsActReportUuidDownloadGet200 = {} + +export type PublicationActReportsGetParams = { + act_package_uuid?: string + report_status?: ReportStatusType + offset?: number + limit?: number +} + +export type PublicationActPackagesActPackageUuidDownloadGet200 = {} + +export type PublicationActPackagesGetParams = { + version_uuid?: string + offset?: number + limit?: number +} + +export type PublicationsPublicationUuidVersionsGetParams = { + offset?: number + limit?: number +} + +export type PublicationsGetParams = { + document_type?: DocumentType + module_id?: number + offset?: number + limit?: number +} + +export type PublicationEnvironmentsGetParams = { + is_active?: boolean + offset?: number + limit?: number +} + +export type PublicationActsGetParams = { + is_active?: boolean + environment_uuid?: string + document_type?: DocumentType + procedure_type?: ProcedureType + offset?: number + limit?: number +} + +export type PublicationTemplatesGetParams = { + is_active?: boolean + offset?: number + limit?: number +} + +export type PublicationAojGetParams = { + offset?: number + limit?: number +} + export type ObjectsValidGetParams = { owner_uuid?: string object_type?: string @@ -420,6 +502,16 @@ export type AmbitiesValidGetParams = { sort_order?: SortOrder } +export interface AppExtensionsPublicationsEndpointsPublicationsAnnouncementReportsUploadAnnouncementPackageReportUploadPackageReportResponse { + Duplicate_Count: number + Status: ReportStatusType +} + +export interface AppExtensionsPublicationsEndpointsPublicationsActReportsUploadActPackageReportUploadPackageReportResponse { + Duplicate_Count: number + Status: ReportStatusType +} + export interface WriteRelation { Description?: string | null Object_ID: number @@ -589,7 +681,7 @@ export interface WerkingsgebiedBasic { export interface Werkingsgebied { Created_Date: string End_Validity?: string - ID: number + ID?: number Modified_Date: string Start_Validity?: string Title: string @@ -791,6 +883,37 @@ export interface User { UUID: string } +export type TemplateEditObjectTemplates = { [key: string]: string } | null + +export type TemplateEditDocumentType = DocumentType | null + +export interface TemplateEdit { + Description?: string | null + Document_Type?: TemplateEditDocumentType + Field_Map?: string[] | null + Is_Active?: boolean | null + Object_Templates?: TemplateEditObjectTemplates + Object_Types?: string[] | null + Text_Template?: string | null + Title?: string | null +} + +export interface TemplateCreatedResponse { + UUID: string +} + +export type TemplateCreateObjectTemplates = { [key: string]: string } + +export interface TemplateCreate { + Description: string + Document_Type: DocumentType + Field_Map: string[] + Object_Templates: TemplateCreateObjectTemplates + Object_Types: string[] + Text_Template: string + Title: string +} + /** * An enumeration. */ @@ -838,6 +961,20 @@ export interface RequestAcknowledgedRelation { Object_Type: string } +/** + * An enumeration. + */ +export type ReportStatusType = + (typeof ReportStatusType)[keyof typeof ReportStatusType] + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ReportStatusType = { + not_applicable: 'not_applicable', + pending: 'pending', + valid: 'valid', + failed: 'failed', +} as const + export interface ReadRelationShort { Description?: string | null Object_ID: number @@ -891,23 +1028,310 @@ export interface ReadRelation { Title?: string | null } -export interface PublicModuleShort { +export type PublicationVersionShortBillMetadata = { [key: string]: any } + +export interface PublicationVersionShort { + Announcement_Date?: string + Bill_Metadata: PublicationVersionShortBillMetadata + Created_Date: string + Effective_Date?: string + Is_Locked: boolean + Modified_Date: string + Module_Status: ModuleStatus + Publication_UUID: string + UUID: string +} + +export interface PublicationVersionEditResponse { + Is_Valid: boolean +} + +export interface PublicationVersionEdit { + Announcement_Date?: string + Bill_Compact?: BillCompact + Bill_Metadata?: BillMetadata + Effective_Date?: string + Procedural?: Procedural +} + +export interface PublicationVersionCreatedResponse { + UUID: string +} + +export interface PublicationVersionCreate { + Module_Status_ID: number +} + +export type PublicationVersionProcedural = { [key: string]: any } + +export type PublicationVersionBillMetadata = { [key: string]: any } + +export type PublicationVersionBillCompact = { [key: string]: any } + +export type PublicationTemplateObjectTemplates = { [key: string]: string } + +export interface PublicationTemplate { + Created_Date: string Description: string + Document_Type: string + Field_Map: string[] + Is_Active: boolean + Modified_Date: string + Object_Templates: PublicationTemplateObjectTemplates + Object_Types: string[] + Text_Template: string + Title: string + UUID: string +} + +export interface PublicationShort { + Act_UUID?: string + Created_Date: string + Document_Type: string + Environment_UUID?: string + Is_Locked: boolean + Modified_Date: string Module_ID: number - Status?: ModuleStatus + Procedure_Type: string + Template_UUID?: string Title: string + UUID: string } -export interface PublicModuleObjectRevision { +export interface PublicationVersion { + Announcement_Date?: string + Bill_Compact: PublicationVersionBillCompact + Bill_Metadata: PublicationVersionBillMetadata + Created_Date: string + Effective_Date?: string + Is_Locked: boolean + Is_Valid?: boolean + Modified_Date: string + Module_Status: ModuleStatus + Procedural: PublicationVersionProcedural + Publication: PublicationShort + UUID: string +} + +export interface PublicationPackageShort { + Created_By_UUID: string + Created_Date: string + Delivery_ID: string + Modified_By_UUID: string + Modified_Date: string + Package_Type: string + Report_Status: string + UUID: string +} + +export interface PublicationPackageCreatedResponse { + Package_UUID: string + Zip_UUID: string +} + +export interface PublicationPackageCreate { + Package_Type: PackageType +} + +export interface PublicationPackage { + Created_By_UUID: string + Created_Date: string + Delivery_ID: string + Modified_By_UUID: string + Modified_Date: string + Package_Type: string + Report_Status: string + UUID: string + Zip: PackageZipShort +} + +export interface PublicationEnvironment { + Authority_ID: string + Can_Publicate: boolean + Can_Validate: boolean + Created_Date: string + Description: string + Frbr_Country: string + Frbr_Language: string + Governing_Body_Type: string + Has_State: boolean + Is_Active: boolean + Modified_Date: string + Province_ID: string + Submitter_ID: string + Title: string + UUID: string +} + +export interface PublicationEdit { + Template_UUID?: string + Title?: string +} + +export interface PublicationCreatedResponse { + UUID: string +} + +export interface PublicationCreate { + Act_UUID: string + Document_Type: DocumentType + Environment_UUID: string Module_ID: number - Module_Object_UUID: string - Module_Status: string - Module_Title: string + Procedure_Type: ProcedureType + Template_UUID: string + Title: string } -export interface PublicModuleObjectContextShort { - Action: string - Original_Adjust_On?: string +export type PublicationAnnouncementShortMetadata = { [key: string]: any } + +export interface PublicationAnnouncementShort { + Announcement_Date?: string + Created_Date: string + Is_Locked: boolean + Metadata: PublicationAnnouncementShortMetadata + Modified_Date: string + UUID: string +} + +export interface PublicationAnnouncementPackageReportShort { + Announcement_Package_UUID: string + Created_Date: string + Filename: string + Main_Outcome: string + Report_Status: string + UUID: string +} + +export interface PublicationAnnouncementPackageReport { + Announcement_Package_UUID: string + Created_Date: string + Filename: string + Main_Outcome: string + Report_Status: string + Source_Document: string + Sub_Delivery_ID: string + Sub_Outcome: string + Sub_Progress: string + UUID: string +} + +export interface PublicationAnnouncementPackageCreatedResponse { + Package_UUID: string + Zip_UUID: string +} + +export interface PublicationAnnouncementPackageCreate { + Package_Type: PackageType +} + +export interface PublicationAnnouncementEdit { + Announcement_Date?: string + Content?: AnnouncementContent + Metadata?: AnnouncementMetadata + Procedural?: AnnouncementProcedural +} + +export type PublicationAnnouncementProcedural = { [key: string]: any } + +export type PublicationAnnouncementMetadata = { [key: string]: any } + +export type PublicationAnnouncementContent = { [key: string]: any } + +export interface PublicationAnnouncement { + Act_Package: PublicationPackageShort + Announcement_Date?: string + Content: PublicationAnnouncementContent + Created_Date: string + Is_Locked: boolean + Metadata: PublicationAnnouncementMetadata + Modified_Date: string + Procedural: PublicationAnnouncementProcedural + Publication: PublicationShort + UUID: string +} + +export interface PublicationActShort { + Created_Date: string + Document_Type: string + Environment_UUID: string + Is_Active: boolean + Modified_Date: string + Procedure_Type: string + Title: string + UUID: string + Work_Country: string + Work_Date: string + Work_Other: string + Work_Province_ID: string +} + +export interface PublicationActPackageReportShort { + Act_Package_UUID: string + Created_Date: string + Filename: string + Main_Outcome: string + Report_Status: string + UUID: string +} + +export interface PublicationActPackageReport { + Act_Package_UUID: string + Created_Date: string + Filename: string + Main_Outcome: string + Report_Status: string + Source_Document: string + Sub_Delivery_ID: string + Sub_Outcome: string + Sub_Progress: string + UUID: string +} + +export type PublicationActMetadata = { [key: string]: any } + +export interface PublicationAct { + Created_Date: string + Document_Type: string + Environment: PublicationEnvironment + Is_Active: boolean + Metadata: PublicationActMetadata + Modified_Date: string + Procedure_Type: string + Title: string + UUID: string + Work_Country: string + Work_Date: string + Work_Other: string + Work_Province_ID: string +} + +export interface PublicationAOJ { + Administrative_Borders_Date: string + Administrative_Borders_Domain: string + Administrative_Borders_ID: string + Created_Date: string + UUID: string +} + +export interface Publication { + Act_UUID?: string + Created_Date: string + Document_Type: string + Environment_UUID?: string + Is_Locked: boolean + Modified_Date: string + Module_ID: number + Procedure_Type: string + Template_UUID?: string + Title: string + UUID: string +} + +export interface PublicModuleShort { + Description: string + Module_ID: number + Status?: ModuleStatus + Title: string } export interface PublicModuleObjectShort { @@ -927,6 +1351,18 @@ export interface PublicModuleOverview { Objects: PublicModuleObjectShort[] } +export interface PublicModuleObjectRevision { + Module_ID: number + Module_Object_UUID: string + Module_Status: string + Module_Title: string +} + +export interface PublicModuleObjectContextShort { + Action: string + Original_Adjust_On?: string +} + export interface ProgrammaAlgemeenUUID { Object_ID?: number UUID?: string @@ -1002,6 +1438,23 @@ export interface ProgrammaAlgemeenBasic { UUID?: string } +/** + * An enumeration. + */ +export type ProcedureType = (typeof ProcedureType)[keyof typeof ProcedureType] + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ProcedureType = { + draft: 'draft', + final: 'final', +} as const + +export interface Procedural { + Enactment_Date?: string + Procedural_Announcement_Date?: string + Signed_Date?: string +} + /** * Wrap any response schema and add pagination metadata. */ @@ -1102,6 +1555,106 @@ export interface PagedResponseSearchObject { total: number } +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublication { + limit?: number + offset?: number + results: Publication[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationVersionShort { + limit?: number + offset?: number + results: PublicationVersionShort[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationTemplate { + limit?: number + offset?: number + results: PublicationTemplate[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationPackage { + limit?: number + offset?: number + results: PublicationPackage[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationEnvironment { + limit?: number + offset?: number + results: PublicationEnvironment[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationAnnouncementShort { + limit?: number + offset?: number + results: PublicationAnnouncementShort[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationAnnouncementPackageReportShort { + limit?: number + offset?: number + results: PublicationAnnouncementPackageReportShort[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationActShort { + limit?: number + offset?: number + results: PublicationActShort[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationActPackageReportShort { + limit?: number + offset?: number + results: PublicationActPackageReportShort[] + total: number +} + +/** + * Wrap any response schema and add pagination metadata. + */ +export interface PagedResponsePublicationAOJ { + limit?: number + offset?: number + results: PublicationAOJ[] + total: number +} + /** * Wrap any response schema and add pagination metadata. */ @@ -1132,17 +1685,6 @@ export interface PagedResponseProgrammaAlgemeenBasic { total: number } -export interface NationaalBelangBasic { - Code?: string - Created_Date?: string - Modified_Date?: string - Object_ID?: number - Object_Type?: string - Title?: string - UUID?: string - Weblink?: string -} - /** * Wrap any response schema and add pagination metadata. */ @@ -1313,6 +1855,24 @@ export interface PagedResponseAmbitieBasic { total: number } +export interface PackageZipShort { + Filename: string + Latest_Download_By_UUID?: string + Latest_Download_Date?: string + UUID: string +} + +/** + * An enumeration. + */ +export type PackageType = (typeof PackageType)[keyof typeof PackageType] + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const PackageType = { + validation: 'validation', + publication: 'publication', +} as const + export interface ObjectStaticShort { Client_1_UUID?: string Owner_1_UUID?: string @@ -1402,6 +1962,17 @@ export interface NationaalBelangCreate { Weblink?: string | null } +export interface NationaalBelangBasic { + Code?: string + Created_Date?: string + Modified_Date?: string + Object_ID?: number + Object_Type?: string + Title?: string + UUID?: string + Weblink?: string +} + /** * An enumeration. */ @@ -1696,12 +2267,6 @@ export interface MaatregelBasic { UUID?: string } -export interface ListObjectsByGeometryRequestData { - Function?: GeometryFunctions - Geometry: string - Object_Types?: string[] -} - export interface HierarchyStatics { Cached_Title: string Code: string @@ -1757,6 +2322,12 @@ export const GeometryFunctions = { INTERSECTS: 'INTERSECTS', } as const +export interface ListObjectsByGeometryRequestData { + Function?: GeometryFunctions + Geometry: string + Object_Types?: string[] +} + export type GeoSearchResultUUID = string | string export type GeoSearchResultGebied = string | string @@ -1886,6 +2457,36 @@ export const Format = { pdf: 'pdf', } as const +export interface EnvironmentEdit { + Authority_ID?: string | null + Can_Publicate?: boolean | null + Can_Validate?: boolean | null + Description?: string | null + Frbr_Country?: string | null + Frbr_Language?: string | null + Is_Active?: boolean | null + Province_ID?: string | null + Submitter_ID?: string | null + Title?: string | null +} + +export interface EnvironmentCreatedResponse { + UUID: string +} + +export interface EnvironmentCreate { + Authority_ID: string + Can_Publicate: boolean + Can_Validate: boolean + Description: string + Frbr_Country: string + Frbr_Language: string + Has_State: boolean + Province_ID: string + Submitter_ID: string + Title: string +} + export interface EditUser { Email?: string | null Gebruikersnaam?: string | null @@ -1902,6 +2503,17 @@ export interface EditAcknowledgedRelation { Object_Type: string } +/** + * An enumeration. + */ +export type DocumentType = (typeof DocumentType)[keyof typeof DocumentType] + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DocumentType = { + omgevingsvisie: 'omgevingsvisie', + programma: 'programma', +} as const + export interface CompleteModule { Decision_Number: string Default_Start_Validity?: string | null @@ -1910,6 +2522,14 @@ export interface CompleteModule { ObjectSpecifiekeGeldigheden?: ObjectSpecifiekeGeldigheid[] } +export interface BodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost { + uploaded_files: Blob[] +} + +export interface BodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost { + uploaded_files: Blob[] +} + export interface BodyFastapiHandlerLoginAccessTokenPost { client_id?: string client_secret?: string @@ -1919,6 +2539,23 @@ export interface BodyFastapiHandlerLoginAccessTokenPost { username: string } +export interface BillMetadata { + Jurisdictions?: string[] + Official_Title?: string + Quote_Title?: string + Subjects?: string[] +} + +export interface BillCompact { + Amendment_Article?: string + Closing?: string + Component_Name?: string + Custom_Articles?: Article[] + Preamble?: string + Signed?: string + Time_Article?: string +} + export interface BeleidsregelUUID { Object_ID?: number UUID?: string @@ -2229,6 +2866,11 @@ export interface AuthToken { token_type: string } +export interface Article { + Content: string + Label: string +} + export interface AreaBasic { Created_By_UUID: string Created_Date: string @@ -2238,6 +2880,32 @@ export interface AreaBasic { UUID: string } +export interface AnnouncementText { + Description: string + Title: string +} + +export interface AnnouncementProcedural { + Begin_Inspection_Period_Date?: string + Enactment_Date?: string + End_Inspection_Period_Date?: string + Procedural_Announcement_Date?: string + Signed_Date?: string +} + +export interface AnnouncementMetadata { + Official_Title?: string + Subjects?: string[] +} + +export interface AnnouncementCreatedResponse { + UUID: string +} + +export interface AnnouncementContent { + Texts: AnnouncementText[] +} + export interface AmbitieUUID { Object_ID?: number UUID?: string @@ -2340,6 +3008,29 @@ export interface ActiveModuleObjectWrapper { Module_Object: ActiveModuleObject } +export interface ActMetadata { + Jurisdictions?: string[] + Official_Title?: string + Quote_Title?: string + Subjects?: string[] +} + +export interface ActEdit { + Metadata?: ActMetadata + Title?: string | null +} + +export interface ActCreatedResponse { + UUID: string +} + +export interface ActCreate { + Document_Type: DocumentType + Environment_UUID: string + Procedure_Type: ProcedureType + Title: string +} + export interface AcknowledgedRelationSide { Acknowledged?: string Acknowledged_By_UUID?: string @@ -2361,3 +3052,13 @@ export interface AcknowledgedRelation { Side_B: AcknowledgedRelationSide Version: number } + +export interface AOJCreatedResponse { + UUID: string +} + +export interface AOJCreate { + Administrative_Borders_Date: string + Administrative_Borders_Domain: string + Administrative_Borders_ID: string +} diff --git a/src/api/fetchers.ts b/src/api/fetchers.ts index 75f219c5d..e41815804 100644 --- a/src/api/fetchers.ts +++ b/src/api/fetchers.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.23.0 🍺 + * Generated by orval v6.25.0 🍺 * Do not edit manually. * Omgevingsbeleid API * @@ -19,7 +19,12 @@ import type { import { useMutation, useQuery } from '@tanstack/react-query' import type { + AOJCreate, + AOJCreatedResponse, AcknowledgedRelation, + ActCreate, + ActCreatedResponse, + ActEdit, ActiveModuleObjectWrapper, AmbitieFull, AmbitiePatch, @@ -27,6 +32,9 @@ import type { AmbitieUUID, AmbitiesValidGetParams, AmbitiesValidLineageIdGetParams, + AnnouncementCreatedResponse, + AppExtensionsPublicationsEndpointsPublicationsActReportsUploadActPackageReportUploadPackageReportResponse, + AppExtensionsPublicationsEndpointsPublicationsAnnouncementReportsUploadAnnouncementPackageReportUploadPackageReportResponse, AuthToken, BeleidsdoelFull, BeleidsdoelPatch, @@ -48,9 +56,14 @@ import type { BeleidsregelsValidGetParams, BeleidsregelsValidLineageIdGetParams, BodyFastapiHandlerLoginAccessTokenPost, + BodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost, + BodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost, CompleteModule, EditAcknowledgedRelation, EditUser, + EnvironmentCreate, + EnvironmentCreatedResponse, + EnvironmentEdit, GebiedsprogrammaFull, GebiedsprogrammaPatch, GebiedsprogrammaStaticPostStatics, @@ -59,6 +72,7 @@ import type { GebiedsprogrammasValidLineageIdGetParams, GraphResponse, HTTPValidationError, + HealthCheckHealthGet200, ListObjectsByGeometryRequestData, MaatregelFull, MaatregelPatch, @@ -128,6 +142,16 @@ import type { PagedResponseProgrammaAlgemeenBasic, PagedResponseProgrammaAlgemeenExtended, PagedResponsePublicModuleShort, + PagedResponsePublication, + PagedResponsePublicationAOJ, + PagedResponsePublicationActPackageReportShort, + PagedResponsePublicationActShort, + PagedResponsePublicationAnnouncementPackageReportShort, + PagedResponsePublicationAnnouncementShort, + PagedResponsePublicationEnvironment, + PagedResponsePublicationPackage, + PagedResponsePublicationTemplate, + PagedResponsePublicationVersionShort, PagedResponseSearchObject, PagedResponseUser, PagedResponseValidSearchObject, @@ -146,6 +170,40 @@ import type { ProgrammasAlgemeenValidGetParams, ProgrammasAlgemeenValidLineageIdGetParams, PublicModuleOverview, + Publication, + PublicationAct, + PublicationActPackageReport, + PublicationActPackagesActPackageUuidDownloadGet200, + PublicationActPackagesGetParams, + PublicationActReportsActReportUuidDownloadGet200, + PublicationActReportsGetParams, + PublicationActsGetParams, + PublicationAnnouncement, + PublicationAnnouncementEdit, + PublicationAnnouncementPackageCreate, + PublicationAnnouncementPackageCreatedResponse, + PublicationAnnouncementPackageReport, + PublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet200, + PublicationAnnouncementPackagesGetParams, + PublicationAnnouncementReportsAnnouncementReportUuidDownloadGet200, + PublicationAnnouncementReportsGetParams, + PublicationAnnouncementsGetParams, + PublicationAojGetParams, + PublicationCreate, + PublicationCreatedResponse, + PublicationEdit, + PublicationEnvironmentsGetParams, + PublicationPackageCreate, + PublicationPackageCreatedResponse, + PublicationTemplate, + PublicationTemplatesGetParams, + PublicationVersion, + PublicationVersionCreate, + PublicationVersionCreatedResponse, + PublicationVersionEdit, + PublicationVersionEditResponse, + PublicationsGetParams, + PublicationsPublicationUuidVersionsGetParams, ReadRelation, RequestAcknowledgedRelation, ResetPasswordResponse, @@ -158,6 +216,9 @@ import type { SearchSourceGeometryPostParams, SearchValidPostParams, SourceWerkingsgebiedenGetParams, + TemplateCreate, + TemplateCreatedResponse, + TemplateEdit, User, UserCreate, UserCreateResponse, @@ -17086,6 +17147,3582 @@ export const useObjectsValidGet = < return query } +/** + * @summary List the publication area of jurisdictions + */ +export const publicationAojGet = ( + params?: PublicationAojGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-aoj`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationAojGetQueryKey = ( + params?: PublicationAojGetParams +) => { + return [`/publication-aoj`, ...(params ? [params] : [])] as const +} + +export const getPublicationAojGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationAojGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationAojGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationAojGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationAojGetQueryResult = NonNullable< + Awaited> +> +export type PublicationAojGetQueryError = HTTPValidationError + +/** + * @summary List the publication area of jurisdictions + */ +export const usePublicationAojGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationAojGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationAojGetQueryOptions(params, options) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Create new publication area of jurisdictions + */ +export const publicationAojPost = (aOJCreate: AOJCreate) => { + return customInstance({ + url: `/publication-aoj`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: aOJCreate, + }) +} + +export const getPublicationAojPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AOJCreate }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { data: AOJCreate }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { data: AOJCreate } + > = props => { + const { data } = props ?? {} + + return publicationAojPost(data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationAojPostMutationResult = NonNullable< + Awaited> +> +export type PublicationAojPostMutationBody = AOJCreate +export type PublicationAojPostMutationError = HTTPValidationError + +/** + * @summary Create new publication area of jurisdictions + */ +export const usePublicationAojPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AOJCreate }, + TContext + > +}) => { + const mutationOptions = getPublicationAojPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary List the publication templates + */ +export const publicationTemplatesGet = ( + params?: PublicationTemplatesGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-templates`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationTemplatesGetQueryKey = ( + params?: PublicationTemplatesGetParams +) => { + return [`/publication-templates`, ...(params ? [params] : [])] as const +} + +export const getPublicationTemplatesGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationTemplatesGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationTemplatesGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationTemplatesGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationTemplatesGetQueryResult = NonNullable< + Awaited> +> +export type PublicationTemplatesGetQueryError = HTTPValidationError + +/** + * @summary List the publication templates + */ +export const usePublicationTemplatesGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationTemplatesGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationTemplatesGetQueryOptions(params, options) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Create new publication template + */ +export const publicationTemplatesPost = (templateCreate: TemplateCreate) => { + return customInstance({ + url: `/publication-templates`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: templateCreate, + }) +} + +export const getPublicationTemplatesPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TemplateCreate }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { data: TemplateCreate }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { data: TemplateCreate } + > = props => { + const { data } = props ?? {} + + return publicationTemplatesPost(data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationTemplatesPostMutationResult = NonNullable< + Awaited> +> +export type PublicationTemplatesPostMutationBody = TemplateCreate +export type PublicationTemplatesPostMutationError = HTTPValidationError + +/** + * @summary Create new publication template + */ +export const usePublicationTemplatesPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TemplateCreate }, + TContext + > +}) => { + const mutationOptions = getPublicationTemplatesPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary Get details of a publication template + */ +export const publicationTemplatesTemplateUuidGet = ( + templateUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-templates/${templateUuid}`, + method: 'GET', + signal, + }) +} + +export const getPublicationTemplatesTemplateUuidGetQueryKey = ( + templateUuid: string +) => { + return [`/publication-templates/${templateUuid}`] as const +} + +export const getPublicationTemplatesTemplateUuidGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + templateUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationTemplatesTemplateUuidGetQueryKey(templateUuid) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => + publicationTemplatesTemplateUuidGet(templateUuid, signal) + + return { + queryKey, + queryFn, + enabled: !!templateUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationTemplatesTemplateUuidGetQueryResult = NonNullable< + Awaited> +> +export type PublicationTemplatesTemplateUuidGetQueryError = HTTPValidationError + +/** + * @summary Get details of a publication template + */ +export const usePublicationTemplatesTemplateUuidGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + templateUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationTemplatesTemplateUuidGetQueryOptions( + templateUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Edit publication template + */ +export const publicationTemplatesTemplateUuidPost = ( + templateUuid: string, + templateEdit: TemplateEdit +) => { + return customInstance({ + url: `/publication-templates/${templateUuid}`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: templateEdit, + }) +} + +export const getPublicationTemplatesTemplateUuidPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { templateUuid: string; data: TemplateEdit }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { templateUuid: string; data: TemplateEdit }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { templateUuid: string; data: TemplateEdit } + > = props => { + const { templateUuid, data } = props ?? {} + + return publicationTemplatesTemplateUuidPost(templateUuid, data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationTemplatesTemplateUuidPostMutationResult = NonNullable< + Awaited> +> +export type PublicationTemplatesTemplateUuidPostMutationBody = TemplateEdit +export type PublicationTemplatesTemplateUuidPostMutationError = + HTTPValidationError + +/** + * @summary Edit publication template + */ +export const usePublicationTemplatesTemplateUuidPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { templateUuid: string; data: TemplateEdit }, + TContext + > +}) => { + const mutationOptions = + getPublicationTemplatesTemplateUuidPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary List the publication acts + */ +export const publicationActsGet = ( + params?: PublicationActsGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-acts`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationActsGetQueryKey = ( + params?: PublicationActsGetParams +) => { + return [`/publication-acts`, ...(params ? [params] : [])] as const +} + +export const getPublicationActsGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationActsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationActsGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationActsGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationActsGetQueryResult = NonNullable< + Awaited> +> +export type PublicationActsGetQueryError = HTTPValidationError + +/** + * @summary List the publication acts + */ +export const usePublicationActsGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationActsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationActsGetQueryOptions(params, options) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Create new Act + */ +export const publicationActsPost = (actCreate: ActCreate) => { + return customInstance({ + url: `/publication-acts`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: actCreate, + }) +} + +export const getPublicationActsPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: ActCreate }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { data: ActCreate }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { data: ActCreate } + > = props => { + const { data } = props ?? {} + + return publicationActsPost(data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationActsPostMutationResult = NonNullable< + Awaited> +> +export type PublicationActsPostMutationBody = ActCreate +export type PublicationActsPostMutationError = HTTPValidationError + +/** + * @summary Create new Act + */ +export const usePublicationActsPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: ActCreate }, + TContext + > +}) => { + const mutationOptions = getPublicationActsPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary Get details of a publication act + */ +export const publicationActsActUuidGet = ( + actUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-acts/${actUuid}`, + method: 'GET', + signal, + }) +} + +export const getPublicationActsActUuidGetQueryKey = (actUuid: string) => { + return [`/publication-acts/${actUuid}`] as const +} + +export const getPublicationActsActUuidGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + actUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationActsActUuidGetQueryKey(actUuid) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationActsActUuidGet(actUuid, signal) + + return { + queryKey, + queryFn, + enabled: !!actUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationActsActUuidGetQueryResult = NonNullable< + Awaited> +> +export type PublicationActsActUuidGetQueryError = HTTPValidationError + +/** + * @summary Get details of a publication act + */ +export const usePublicationActsActUuidGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + actUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationActsActUuidGetQueryOptions( + actUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Edit publication act + */ +export const publicationActsActUuidPost = ( + actUuid: string, + actEdit: ActEdit +) => { + return customInstance({ + url: `/publication-acts/${actUuid}`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: actEdit, + }) +} + +export const getPublicationActsActUuidPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { actUuid: string; data: ActEdit }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { actUuid: string; data: ActEdit }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { actUuid: string; data: ActEdit } + > = props => { + const { actUuid, data } = props ?? {} + + return publicationActsActUuidPost(actUuid, data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationActsActUuidPostMutationResult = NonNullable< + Awaited> +> +export type PublicationActsActUuidPostMutationBody = ActEdit +export type PublicationActsActUuidPostMutationError = HTTPValidationError + +/** + * @summary Edit publication act + */ +export const usePublicationActsActUuidPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { actUuid: string; data: ActEdit }, + TContext + > +}) => { + const mutationOptions = + getPublicationActsActUuidPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary List the publication environments + */ +export const publicationEnvironmentsGet = ( + params?: PublicationEnvironmentsGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-environments`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationEnvironmentsGetQueryKey = ( + params?: PublicationEnvironmentsGetParams +) => { + return [`/publication-environments`, ...(params ? [params] : [])] as const +} + +export const getPublicationEnvironmentsGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationEnvironmentsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationEnvironmentsGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationEnvironmentsGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationEnvironmentsGetQueryResult = NonNullable< + Awaited> +> +export type PublicationEnvironmentsGetQueryError = HTTPValidationError + +/** + * @summary List the publication environments + */ +export const usePublicationEnvironmentsGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationEnvironmentsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationEnvironmentsGetQueryOptions( + params, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Create new publication environment + */ +export const publicationEnvironmentsPost = ( + environmentCreate: EnvironmentCreate +) => { + return customInstance({ + url: `/publication-environments`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: environmentCreate, + }) +} + +export const getPublicationEnvironmentsPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: EnvironmentCreate }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { data: EnvironmentCreate }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { data: EnvironmentCreate } + > = props => { + const { data } = props ?? {} + + return publicationEnvironmentsPost(data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationEnvironmentsPostMutationResult = NonNullable< + Awaited> +> +export type PublicationEnvironmentsPostMutationBody = EnvironmentCreate +export type PublicationEnvironmentsPostMutationError = HTTPValidationError + +/** + * @summary Create new publication environment + */ +export const usePublicationEnvironmentsPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: EnvironmentCreate }, + TContext + > +}) => { + const mutationOptions = + getPublicationEnvironmentsPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary Edit publication environment + */ +export const publicationEnvironmentsEnvironmentUuidPost = ( + environmentUuid: string, + environmentEdit: EnvironmentEdit +) => { + return customInstance({ + url: `/publication-environments/${environmentUuid}`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: environmentEdit, + }) +} + +export const getPublicationEnvironmentsEnvironmentUuidPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { environmentUuid: string; data: EnvironmentEdit }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { environmentUuid: string; data: EnvironmentEdit }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { environmentUuid: string; data: EnvironmentEdit } + > = props => { + const { environmentUuid, data } = props ?? {} + + return publicationEnvironmentsEnvironmentUuidPost(environmentUuid, data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationEnvironmentsEnvironmentUuidPostMutationResult = + NonNullable< + Awaited> + > +export type PublicationEnvironmentsEnvironmentUuidPostMutationBody = + EnvironmentEdit +export type PublicationEnvironmentsEnvironmentUuidPostMutationError = + HTTPValidationError + +/** + * @summary Edit publication environment + */ +export const usePublicationEnvironmentsEnvironmentUuidPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { environmentUuid: string; data: EnvironmentEdit }, + TContext + > +}) => { + const mutationOptions = + getPublicationEnvironmentsEnvironmentUuidPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary List the existing Publication + */ +export const publicationsGet = ( + params?: PublicationsGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publications`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationsGetQueryKey = (params?: PublicationsGetParams) => { + return [`/publications`, ...(params ? [params] : [])] as const +} + +export const getPublicationsGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationsGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationsGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationsGetQueryResult = NonNullable< + Awaited> +> +export type PublicationsGetQueryError = HTTPValidationError + +/** + * @summary List the existing Publication + */ +export const usePublicationsGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationsGetQueryOptions(params, options) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Create a new publication + */ +export const publicationsPost = (publicationCreate: PublicationCreate) => { + return customInstance({ + url: `/publications`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: publicationCreate, + }) +} + +export const getPublicationsPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: PublicationCreate }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { data: PublicationCreate }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { data: PublicationCreate } + > = props => { + const { data } = props ?? {} + + return publicationsPost(data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationsPostMutationResult = NonNullable< + Awaited> +> +export type PublicationsPostMutationBody = PublicationCreate +export type PublicationsPostMutationError = HTTPValidationError + +/** + * @summary Create a new publication + */ +export const usePublicationsPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: PublicationCreate }, + TContext + > +}) => { + const mutationOptions = getPublicationsPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary Get details of a publication + */ +export const publicationsPublicationUuidGet = ( + publicationUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publications/${publicationUuid}`, + method: 'GET', + signal, + }) +} + +export const getPublicationsPublicationUuidGetQueryKey = ( + publicationUuid: string +) => { + return [`/publications/${publicationUuid}`] as const +} + +export const getPublicationsPublicationUuidGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + publicationUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationsPublicationUuidGetQueryKey(publicationUuid) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationsPublicationUuidGet(publicationUuid, signal) + + return { + queryKey, + queryFn, + enabled: !!publicationUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationsPublicationUuidGetQueryResult = NonNullable< + Awaited> +> +export type PublicationsPublicationUuidGetQueryError = HTTPValidationError + +/** + * @summary Get details of a publication + */ +export const usePublicationsPublicationUuidGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + publicationUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationsPublicationUuidGetQueryOptions( + publicationUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Edit an existing publication + */ +export const publicationsPublicationUuidPost = ( + publicationUuid: string, + publicationEdit: PublicationEdit +) => { + return customInstance({ + url: `/publications/${publicationUuid}`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: publicationEdit, + }) +} + +export const getPublicationsPublicationUuidPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { publicationUuid: string; data: PublicationEdit }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { publicationUuid: string; data: PublicationEdit }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { publicationUuid: string; data: PublicationEdit } + > = props => { + const { publicationUuid, data } = props ?? {} + + return publicationsPublicationUuidPost(publicationUuid, data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationsPublicationUuidPostMutationResult = NonNullable< + Awaited> +> +export type PublicationsPublicationUuidPostMutationBody = PublicationEdit +export type PublicationsPublicationUuidPostMutationError = HTTPValidationError + +/** + * @summary Edit an existing publication + */ +export const usePublicationsPublicationUuidPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { publicationUuid: string; data: PublicationEdit }, + TContext + > +}) => { + const mutationOptions = + getPublicationsPublicationUuidPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary Create new publication version + */ +export const publicationsPublicationUuidVersionPost = ( + publicationUuid: string, + publicationVersionCreate: PublicationVersionCreate +) => { + return customInstance({ + url: `/publications/${publicationUuid}/version`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: publicationVersionCreate, + }) +} + +export const getPublicationsPublicationUuidVersionPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { publicationUuid: string; data: PublicationVersionCreate }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { publicationUuid: string; data: PublicationVersionCreate }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { publicationUuid: string; data: PublicationVersionCreate } + > = props => { + const { publicationUuid, data } = props ?? {} + + return publicationsPublicationUuidVersionPost(publicationUuid, data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationsPublicationUuidVersionPostMutationResult = NonNullable< + Awaited> +> +export type PublicationsPublicationUuidVersionPostMutationBody = + PublicationVersionCreate +export type PublicationsPublicationUuidVersionPostMutationError = + HTTPValidationError + +/** + * @summary Create new publication version + */ +export const usePublicationsPublicationUuidVersionPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { publicationUuid: string; data: PublicationVersionCreate }, + TContext + > +}) => { + const mutationOptions = + getPublicationsPublicationUuidVersionPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary List the existing Publication versions + */ +export const publicationsPublicationUuidVersionsGet = ( + publicationUuid: string, + params?: PublicationsPublicationUuidVersionsGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publications/${publicationUuid}/versions`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationsPublicationUuidVersionsGetQueryKey = ( + publicationUuid: string, + params?: PublicationsPublicationUuidVersionsGetParams +) => { + return [ + `/publications/${publicationUuid}/versions`, + ...(params ? [params] : []), + ] as const +} + +export const getPublicationsPublicationUuidVersionsGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + publicationUuid: string, + params?: PublicationsPublicationUuidVersionsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType + >, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationsPublicationUuidVersionsGetQueryKey( + publicationUuid, + params + ) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => + publicationsPublicationUuidVersionsGet(publicationUuid, params, signal) + + return { + queryKey, + queryFn, + enabled: !!publicationUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationsPublicationUuidVersionsGetQueryResult = NonNullable< + Awaited> +> +export type PublicationsPublicationUuidVersionsGetQueryError = + HTTPValidationError + +/** + * @summary List the existing Publication versions + */ +export const usePublicationsPublicationUuidVersionsGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + publicationUuid: string, + params?: PublicationsPublicationUuidVersionsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType + >, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationsPublicationUuidVersionsGetQueryOptions( + publicationUuid, + params, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Get details of a publication version + */ +export const publicationVersionsVersionUuidGet = ( + versionUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-versions/${versionUuid}`, + method: 'GET', + signal, + }) +} + +export const getPublicationVersionsVersionUuidGetQueryKey = ( + versionUuid: string +) => { + return [`/publication-versions/${versionUuid}`] as const +} + +export const getPublicationVersionsVersionUuidGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + versionUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationVersionsVersionUuidGetQueryKey(versionUuid) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationVersionsVersionUuidGet(versionUuid, signal) + + return { + queryKey, + queryFn, + enabled: !!versionUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationVersionsVersionUuidGetQueryResult = NonNullable< + Awaited> +> +export type PublicationVersionsVersionUuidGetQueryError = HTTPValidationError + +/** + * @summary Get details of a publication version + */ +export const usePublicationVersionsVersionUuidGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + versionUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationVersionsVersionUuidGetQueryOptions( + versionUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Edit an existing publication version + */ +export const publicationVersionsVersionUuidPost = ( + versionUuid: string, + publicationVersionEdit: PublicationVersionEdit +) => { + return customInstance({ + url: `/publication-versions/${versionUuid}`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: publicationVersionEdit, + }) +} + +export const getPublicationVersionsVersionUuidPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { versionUuid: string; data: PublicationVersionEdit }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { versionUuid: string; data: PublicationVersionEdit }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { versionUuid: string; data: PublicationVersionEdit } + > = props => { + const { versionUuid, data } = props ?? {} + + return publicationVersionsVersionUuidPost(versionUuid, data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationVersionsVersionUuidPostMutationResult = NonNullable< + Awaited> +> +export type PublicationVersionsVersionUuidPostMutationBody = + PublicationVersionEdit +export type PublicationVersionsVersionUuidPostMutationError = + HTTPValidationError + +/** + * @summary Edit an existing publication version + */ +export const usePublicationVersionsVersionUuidPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { versionUuid: string; data: PublicationVersionEdit }, + TContext + > +}) => { + const mutationOptions = + getPublicationVersionsVersionUuidPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary Create new Publication Act Package + */ +export const publicationVersionsVersionUuidPackagesPost = ( + versionUuid: string, + publicationPackageCreate: PublicationPackageCreate +) => { + return customInstance({ + url: `/publication-versions/${versionUuid}/packages`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: publicationPackageCreate, + }) +} + +export const getPublicationVersionsVersionUuidPackagesPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { versionUuid: string; data: PublicationPackageCreate }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { versionUuid: string; data: PublicationPackageCreate }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited>, + { versionUuid: string; data: PublicationPackageCreate } + > = props => { + const { versionUuid, data } = props ?? {} + + return publicationVersionsVersionUuidPackagesPost(versionUuid, data) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationVersionsVersionUuidPackagesPostMutationResult = + NonNullable< + Awaited> + > +export type PublicationVersionsVersionUuidPackagesPostMutationBody = + PublicationPackageCreate +export type PublicationVersionsVersionUuidPackagesPostMutationError = + HTTPValidationError + +/** + * @summary Create new Publication Act Package + */ +export const usePublicationVersionsVersionUuidPackagesPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { versionUuid: string; data: PublicationPackageCreate }, + TContext + > +}) => { + const mutationOptions = + getPublicationVersionsVersionUuidPackagesPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary List the existing publication act packages of a publication version + */ +export const publicationActPackagesGet = ( + params?: PublicationActPackagesGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-act-packages`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationActPackagesGetQueryKey = ( + params?: PublicationActPackagesGetParams +) => { + return [`/publication-act-packages`, ...(params ? [params] : [])] as const +} + +export const getPublicationActPackagesGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationActPackagesGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationActPackagesGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationActPackagesGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationActPackagesGetQueryResult = NonNullable< + Awaited> +> +export type PublicationActPackagesGetQueryError = HTTPValidationError + +/** + * @summary List the existing publication act packages of a publication version + */ +export const usePublicationActPackagesGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationActPackagesGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationActPackagesGetQueryOptions( + params, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Download a generated publication act package ZIP file + */ +export const publicationActPackagesActPackageUuidDownloadGet = ( + actPackageUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-act-packages/${actPackageUuid}/download`, + method: 'GET', + signal, + }) +} + +export const getPublicationActPackagesActPackageUuidDownloadGetQueryKey = ( + actPackageUuid: string +) => { + return [`/publication-act-packages/${actPackageUuid}/download`] as const +} + +export const getPublicationActPackagesActPackageUuidDownloadGetQueryOptions = < + TData = Awaited< + ReturnType + >, + TError = HTTPValidationError +>( + actPackageUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidDownloadGet + > + >, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationActPackagesActPackageUuidDownloadGetQueryKey( + actPackageUuid + ) + + const queryFn: QueryFunction< + Awaited< + ReturnType + > + > = ({ signal }) => + publicationActPackagesActPackageUuidDownloadGet(actPackageUuid, signal) + + return { + queryKey, + queryFn, + enabled: !!actPackageUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited< + ReturnType + >, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationActPackagesActPackageUuidDownloadGetQueryResult = + NonNullable< + Awaited< + ReturnType + > + > +export type PublicationActPackagesActPackageUuidDownloadGetQueryError = + HTTPValidationError + +/** + * @summary Download a generated publication act package ZIP file + */ +export const usePublicationActPackagesActPackageUuidDownloadGet = < + TData = Awaited< + ReturnType + >, + TError = HTTPValidationError +>( + actPackageUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidDownloadGet + > + >, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = + getPublicationActPackagesActPackageUuidDownloadGetQueryOptions( + actPackageUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Record the submission response from lvbb of a publication package + */ +export const publicationActPackagesActPackageUuidReportPost = ( + actPackageUuid: string, + bodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost: BodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost +) => { + const formData = new FormData() + bodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost.uploaded_files.forEach( + value => formData.append('uploaded_files', value) + ) + + return customInstance( + { + url: `/publication-act-packages/${actPackageUuid}/report`, + method: 'POST', + headers: { 'Content-Type': 'multipart/form-data' }, + data: formData, + } + ) +} + +export const getPublicationActPackagesActPackageUuidReportPostMutationOptions = + (options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidReportPost + > + >, + TError, + { + actPackageUuid: string + data: BodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost + }, + TContext + > + }): UseMutationOptions< + Awaited< + ReturnType + >, + TError, + { + actPackageUuid: string + data: BodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost + }, + TContext + > => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidReportPost + > + >, + { + actPackageUuid: string + data: BodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost + } + > = props => { + const { actPackageUuid, data } = props ?? {} + + return publicationActPackagesActPackageUuidReportPost( + actPackageUuid, + data + ) + } + + return { mutationFn, ...mutationOptions } + } + +export type PublicationActPackagesActPackageUuidReportPostMutationResult = + NonNullable< + Awaited< + ReturnType + > + > +export type PublicationActPackagesActPackageUuidReportPostMutationBody = + BodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost +export type PublicationActPackagesActPackageUuidReportPostMutationError = + HTTPValidationError + +/** + * @summary Record the submission response from lvbb of a publication package + */ +export const usePublicationActPackagesActPackageUuidReportPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType + >, + TError, + { + actPackageUuid: string + data: BodyFastapiHandlerPublicationActPackagesActPackageUuidReportPost + }, + TContext + > +}) => { + const mutationOptions = + getPublicationActPackagesActPackageUuidReportPostMutationOptions( + options + ) + + return useMutation(mutationOptions) +} + +/** + * @summary List the existing Publication Act reports + */ +export const publicationActReportsGet = ( + params?: PublicationActReportsGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-act-reports`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationActReportsGetQueryKey = ( + params?: PublicationActReportsGetParams +) => { + return [`/publication-act-reports`, ...(params ? [params] : [])] as const +} + +export const getPublicationActReportsGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationActReportsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationActReportsGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationActReportsGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationActReportsGetQueryResult = NonNullable< + Awaited> +> +export type PublicationActReportsGetQueryError = HTTPValidationError + +/** + * @summary List the existing Publication Act reports + */ +export const usePublicationActReportsGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationActReportsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationActReportsGetQueryOptions( + params, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Get details of a publication report + */ +export const publicationActReportsActReportUuidGet = ( + actReportUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-act-reports/${actReportUuid}`, + method: 'GET', + signal, + }) +} + +export const getPublicationActReportsActReportUuidGetQueryKey = ( + actReportUuid: string +) => { + return [`/publication-act-reports/${actReportUuid}`] as const +} + +export const getPublicationActReportsActReportUuidGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + actReportUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType + >, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationActReportsActReportUuidGetQueryKey(actReportUuid) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => + publicationActReportsActReportUuidGet(actReportUuid, signal) + + return { + queryKey, + queryFn, + enabled: !!actReportUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationActReportsActReportUuidGetQueryResult = NonNullable< + Awaited> +> +export type PublicationActReportsActReportUuidGetQueryError = + HTTPValidationError + +/** + * @summary Get details of a publication report + */ +export const usePublicationActReportsActReportUuidGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + actReportUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType + >, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationActReportsActReportUuidGetQueryOptions( + actReportUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Download publication package report + */ +export const publicationActReportsActReportUuidDownloadGet = ( + actReportUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-act-reports/${actReportUuid}/download`, + method: 'GET', + signal, + }) +} + +export const getPublicationActReportsActReportUuidDownloadGetQueryKey = ( + actReportUuid: string +) => { + return [`/publication-act-reports/${actReportUuid}/download`] as const +} + +export const getPublicationActReportsActReportUuidDownloadGetQueryOptions = < + TData = Awaited< + ReturnType + >, + TError = HTTPValidationError +>( + actReportUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationActReportsActReportUuidDownloadGet + > + >, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationActReportsActReportUuidDownloadGetQueryKey(actReportUuid) + + const queryFn: QueryFunction< + Awaited< + ReturnType + > + > = ({ signal }) => + publicationActReportsActReportUuidDownloadGet(actReportUuid, signal) + + return { + queryKey, + queryFn, + enabled: !!actReportUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited< + ReturnType + >, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationActReportsActReportUuidDownloadGetQueryResult = + NonNullable< + Awaited< + ReturnType + > + > +export type PublicationActReportsActReportUuidDownloadGetQueryError = + HTTPValidationError + +/** + * @summary Download publication package report + */ +export const usePublicationActReportsActReportUuidDownloadGet = < + TData = Awaited< + ReturnType + >, + TError = HTTPValidationError +>( + actReportUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationActReportsActReportUuidDownloadGet + > + >, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = + getPublicationActReportsActReportUuidDownloadGetQueryOptions( + actReportUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Create new publication announcement + */ +export const publicationActPackagesActPackageUuidCreateAnnouncementPost = ( + actPackageUuid: string +) => { + return customInstance({ + url: `/publication-act-packages/${actPackageUuid}/create-announcement`, + method: 'POST', + }) +} + +export const getPublicationActPackagesActPackageUuidCreateAnnouncementPostMutationOptions = + (options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidCreateAnnouncementPost + > + >, + TError, + { actPackageUuid: string }, + TContext + > + }): UseMutationOptions< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidCreateAnnouncementPost + > + >, + TError, + { actPackageUuid: string }, + TContext + > => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidCreateAnnouncementPost + > + >, + { actPackageUuid: string } + > = props => { + const { actPackageUuid } = props ?? {} + + return publicationActPackagesActPackageUuidCreateAnnouncementPost( + actPackageUuid + ) + } + + return { mutationFn, ...mutationOptions } + } + +export type PublicationActPackagesActPackageUuidCreateAnnouncementPostMutationResult = + NonNullable< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidCreateAnnouncementPost + > + > + > + +export type PublicationActPackagesActPackageUuidCreateAnnouncementPostMutationError = + HTTPValidationError + +/** + * @summary Create new publication announcement + */ +export const usePublicationActPackagesActPackageUuidCreateAnnouncementPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType< + typeof publicationActPackagesActPackageUuidCreateAnnouncementPost + > + >, + TError, + { actPackageUuid: string }, + TContext + > +}) => { + const mutationOptions = + getPublicationActPackagesActPackageUuidCreateAnnouncementPostMutationOptions( + options + ) + + return useMutation(mutationOptions) +} + +/** + * @summary List the existing Publication announcements + */ +export const publicationAnnouncementsGet = ( + params?: PublicationAnnouncementsGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-announcements`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationAnnouncementsGetQueryKey = ( + params?: PublicationAnnouncementsGetParams +) => { + return [`/publication-announcements`, ...(params ? [params] : [])] as const +} + +export const getPublicationAnnouncementsGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationAnnouncementsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? getPublicationAnnouncementsGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationAnnouncementsGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationAnnouncementsGetQueryResult = NonNullable< + Awaited> +> +export type PublicationAnnouncementsGetQueryError = HTTPValidationError + +/** + * @summary List the existing Publication announcements + */ +export const usePublicationAnnouncementsGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationAnnouncementsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationAnnouncementsGetQueryOptions( + params, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Get details of a publication announcement + */ +export const publicationAnnouncementsAnnouncementUuidGet = ( + announcementUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-announcements/${announcementUuid}`, + method: 'GET', + signal, + }) +} + +export const getPublicationAnnouncementsAnnouncementUuidGetQueryKey = ( + announcementUuid: string +) => { + return [`/publication-announcements/${announcementUuid}`] as const +} + +export const getPublicationAnnouncementsAnnouncementUuidGetQueryOptions = < + TData = Awaited< + ReturnType + >, + TError = HTTPValidationError +>( + announcementUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementsAnnouncementUuidGet + > + >, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationAnnouncementsAnnouncementUuidGetQueryKey(announcementUuid) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => + publicationAnnouncementsAnnouncementUuidGet(announcementUuid, signal) + + return { + queryKey, + queryFn, + enabled: !!announcementUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationAnnouncementsAnnouncementUuidGetQueryResult = + NonNullable< + Awaited> + > +export type PublicationAnnouncementsAnnouncementUuidGetQueryError = + HTTPValidationError + +/** + * @summary Get details of a publication announcement + */ +export const usePublicationAnnouncementsAnnouncementUuidGet = < + TData = Awaited< + ReturnType + >, + TError = HTTPValidationError +>( + announcementUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementsAnnouncementUuidGet + > + >, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = + getPublicationAnnouncementsAnnouncementUuidGetQueryOptions( + announcementUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Edit an existing publication announcement + */ +export const publicationAnnouncementsAnnouncementUuidPost = ( + announcementUuid: string, + publicationAnnouncementEdit: PublicationAnnouncementEdit +) => { + return customInstance({ + url: `/publication-announcements/${announcementUuid}`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: publicationAnnouncementEdit, + }) +} + +export const getPublicationAnnouncementsAnnouncementUuidPostMutationOptions = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType + >, + TError, + { announcementUuid: string; data: PublicationAnnouncementEdit }, + TContext + > +}): UseMutationOptions< + Awaited>, + TError, + { announcementUuid: string; data: PublicationAnnouncementEdit }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited< + ReturnType + >, + { announcementUuid: string; data: PublicationAnnouncementEdit } + > = props => { + const { announcementUuid, data } = props ?? {} + + return publicationAnnouncementsAnnouncementUuidPost( + announcementUuid, + data + ) + } + + return { mutationFn, ...mutationOptions } +} + +export type PublicationAnnouncementsAnnouncementUuidPostMutationResult = + NonNullable< + Awaited> + > +export type PublicationAnnouncementsAnnouncementUuidPostMutationBody = + PublicationAnnouncementEdit +export type PublicationAnnouncementsAnnouncementUuidPostMutationError = + HTTPValidationError + +/** + * @summary Edit an existing publication announcement + */ +export const usePublicationAnnouncementsAnnouncementUuidPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType + >, + TError, + { announcementUuid: string; data: PublicationAnnouncementEdit }, + TContext + > +}) => { + const mutationOptions = + getPublicationAnnouncementsAnnouncementUuidPostMutationOptions(options) + + return useMutation(mutationOptions) +} + +/** + * @summary Create new Publication Announcement Package + */ +export const publicationAnnouncementsAnnouncementUuidPackagesPost = ( + announcementUuid: string, + publicationAnnouncementPackageCreate: PublicationAnnouncementPackageCreate +) => { + return customInstance({ + url: `/publication-announcements/${announcementUuid}/packages`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: publicationAnnouncementPackageCreate, + }) +} + +export const getPublicationAnnouncementsAnnouncementUuidPackagesPostMutationOptions = + (options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementsAnnouncementUuidPackagesPost + > + >, + TError, + { + announcementUuid: string + data: PublicationAnnouncementPackageCreate + }, + TContext + > + }): UseMutationOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementsAnnouncementUuidPackagesPost + > + >, + TError, + { + announcementUuid: string + data: PublicationAnnouncementPackageCreate + }, + TContext + > => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited< + ReturnType< + typeof publicationAnnouncementsAnnouncementUuidPackagesPost + > + >, + { + announcementUuid: string + data: PublicationAnnouncementPackageCreate + } + > = props => { + const { announcementUuid, data } = props ?? {} + + return publicationAnnouncementsAnnouncementUuidPackagesPost( + announcementUuid, + data + ) + } + + return { mutationFn, ...mutationOptions } + } + +export type PublicationAnnouncementsAnnouncementUuidPackagesPostMutationResult = + NonNullable< + Awaited< + ReturnType< + typeof publicationAnnouncementsAnnouncementUuidPackagesPost + > + > + > +export type PublicationAnnouncementsAnnouncementUuidPackagesPostMutationBody = + PublicationAnnouncementPackageCreate +export type PublicationAnnouncementsAnnouncementUuidPackagesPostMutationError = + HTTPValidationError + +/** + * @summary Create new Publication Announcement Package + */ +export const usePublicationAnnouncementsAnnouncementUuidPackagesPost = < + TError = HTTPValidationError, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementsAnnouncementUuidPackagesPost + > + >, + TError, + { + announcementUuid: string + data: PublicationAnnouncementPackageCreate + }, + TContext + > +}) => { + const mutationOptions = + getPublicationAnnouncementsAnnouncementUuidPackagesPostMutationOptions( + options + ) + + return useMutation(mutationOptions) +} + +/** + * @summary List the existing publication announcement packages of a publication version + */ +export const publicationAnnouncementPackagesGet = ( + params?: PublicationAnnouncementPackagesGetParams, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-announcement-packages`, + method: 'GET', + params, + signal, + }) +} + +export const getPublicationAnnouncementPackagesGetQueryKey = ( + params?: PublicationAnnouncementPackagesGetParams +) => { + return [ + `/publication-announcement-packages`, + ...(params ? [params] : []), + ] as const +} + +export const getPublicationAnnouncementPackagesGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationAnnouncementPackagesGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationAnnouncementPackagesGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationAnnouncementPackagesGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationAnnouncementPackagesGetQueryResult = NonNullable< + Awaited> +> +export type PublicationAnnouncementPackagesGetQueryError = HTTPValidationError + +/** + * @summary List the existing publication announcement packages of a publication version + */ +export const usePublicationAnnouncementPackagesGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationAnnouncementPackagesGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationAnnouncementPackagesGetQueryOptions( + params, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Download a generated publication announcement package ZIP file + */ +export const publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet = + (announcementPackageUuid: string, signal?: AbortSignal) => { + return customInstance( + { + url: `/publication-announcement-packages/${announcementPackageUuid}/download`, + method: 'GET', + signal, + } + ) + } + +export const getPublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetQueryKey = + (announcementPackageUuid: string) => { + return [ + `/publication-announcement-packages/${announcementPackageUuid}/download`, + ] as const + } + +export const getPublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetQueryOptions = + < + TData = Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet + > + >, + TError = HTTPValidationError + >( + announcementPackageUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet + > + >, + TError, + TData + > + > + } + ) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetQueryKey( + announcementPackageUuid + ) + + const queryFn: QueryFunction< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet + > + > + > = ({ signal }) => + publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet( + announcementPackageUuid, + signal + ) + + return { + queryKey, + queryFn, + enabled: !!announcementPackageUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet + > + >, + TError, + TData + > & { queryKey: QueryKey } + } + +export type PublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetQueryResult = + NonNullable< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet + > + > + > +export type PublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetQueryError = + HTTPValidationError + +/** + * @summary Download a generated publication announcement package ZIP file + */ +export const usePublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet = + < + TData = Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet + > + >, + TError = HTTPValidationError + >( + announcementPackageUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidDownloadGet + > + >, + TError, + TData + > + > + } + ): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = + getPublicationAnnouncementPackagesAnnouncementPackageUuidDownloadGetQueryOptions( + announcementPackageUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult< + TData, + TError + > & { queryKey: QueryKey } + + query.queryKey = queryOptions.queryKey + + return query + } + +/** + * @summary Record the submission response from lvbb of a publication announcement package + */ +export const publicationAnnouncementPackagesAnnouncementPackageUuidReportPost = + ( + announcementPackageUuid: string, + bodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost: BodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost + ) => { + const formData = new FormData() + bodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost.uploaded_files.forEach( + value => formData.append('uploaded_files', value) + ) + + return customInstance( + { + url: `/publication-announcement-packages/${announcementPackageUuid}/report`, + method: 'POST', + headers: { 'Content-Type': 'multipart/form-data' }, + data: formData, + } + ) + } + +export const getPublicationAnnouncementPackagesAnnouncementPackageUuidReportPostMutationOptions = + (options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidReportPost + > + >, + TError, + { + announcementPackageUuid: string + data: BodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost + }, + TContext + > + }): UseMutationOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidReportPost + > + >, + TError, + { + announcementPackageUuid: string + data: BodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost + }, + TContext + > => { + const { mutation: mutationOptions } = options ?? {} + + const mutationFn: MutationFunction< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidReportPost + > + >, + { + announcementPackageUuid: string + data: BodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost + } + > = props => { + const { announcementPackageUuid, data } = props ?? {} + + return publicationAnnouncementPackagesAnnouncementPackageUuidReportPost( + announcementPackageUuid, + data + ) + } + + return { mutationFn, ...mutationOptions } + } + +export type PublicationAnnouncementPackagesAnnouncementPackageUuidReportPostMutationResult = + NonNullable< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidReportPost + > + > + > +export type PublicationAnnouncementPackagesAnnouncementPackageUuidReportPostMutationBody = + BodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost +export type PublicationAnnouncementPackagesAnnouncementPackageUuidReportPostMutationError = + HTTPValidationError + +/** + * @summary Record the submission response from lvbb of a publication announcement package + */ +export const usePublicationAnnouncementPackagesAnnouncementPackageUuidReportPost = + (options?: { + mutation?: UseMutationOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementPackagesAnnouncementPackageUuidReportPost + > + >, + TError, + { + announcementPackageUuid: string + data: BodyFastapiHandlerPublicationAnnouncementPackagesAnnouncementPackageUuidReportPost + }, + TContext + > + }) => { + const mutationOptions = + getPublicationAnnouncementPackagesAnnouncementPackageUuidReportPostMutationOptions( + options + ) + + return useMutation(mutationOptions) + } + +/** + * @summary List the existing Publication Announcement reports + */ +export const publicationAnnouncementReportsGet = ( + params?: PublicationAnnouncementReportsGetParams, + signal?: AbortSignal +) => { + return customInstance( + { + url: `/publication-announcement-reports`, + method: 'GET', + params, + signal, + } + ) +} + +export const getPublicationAnnouncementReportsGetQueryKey = ( + params?: PublicationAnnouncementReportsGetParams +) => { + return [ + `/publication-announcement-reports`, + ...(params ? [params] : []), + ] as const +} + +export const getPublicationAnnouncementReportsGetQueryOptions = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationAnnouncementReportsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationAnnouncementReportsGetQueryKey(params) + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => publicationAnnouncementReportsGet(params, signal) + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey } +} + +export type PublicationAnnouncementReportsGetQueryResult = NonNullable< + Awaited> +> +export type PublicationAnnouncementReportsGetQueryError = HTTPValidationError + +/** + * @summary List the existing Publication Announcement reports + */ +export const usePublicationAnnouncementReportsGet = < + TData = Awaited>, + TError = HTTPValidationError +>( + params?: PublicationAnnouncementReportsGetParams, + options?: { + query?: Partial< + UseQueryOptions< + Awaited>, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getPublicationAnnouncementReportsGetQueryOptions( + params, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Get details of a publication announcement report + */ +export const publicationAnnouncementReportsAnnouncementReportUuidGet = ( + announcementReportUuid: string, + signal?: AbortSignal +) => { + return customInstance({ + url: `/publication-announcement-reports/${announcementReportUuid}`, + method: 'GET', + signal, + }) +} + +export const getPublicationAnnouncementReportsAnnouncementReportUuidGetQueryKey = + (announcementReportUuid: string) => { + return [ + `/publication-announcement-reports/${announcementReportUuid}`, + ] as const + } + +export const getPublicationAnnouncementReportsAnnouncementReportUuidGetQueryOptions = + < + TData = Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidGet + > + >, + TError = HTTPValidationError + >( + announcementReportUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidGet + > + >, + TError, + TData + > + > + } + ) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationAnnouncementReportsAnnouncementReportUuidGetQueryKey( + announcementReportUuid + ) + + const queryFn: QueryFunction< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidGet + > + > + > = ({ signal }) => + publicationAnnouncementReportsAnnouncementReportUuidGet( + announcementReportUuid, + signal + ) + + return { + queryKey, + queryFn, + enabled: !!announcementReportUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidGet + > + >, + TError, + TData + > & { queryKey: QueryKey } + } + +export type PublicationAnnouncementReportsAnnouncementReportUuidGetQueryResult = + NonNullable< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidGet + > + > + > +export type PublicationAnnouncementReportsAnnouncementReportUuidGetQueryError = + HTTPValidationError + +/** + * @summary Get details of a publication announcement report + */ +export const usePublicationAnnouncementReportsAnnouncementReportUuidGet = < + TData = Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidGet + > + >, + TError = HTTPValidationError +>( + announcementReportUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidGet + > + >, + TError, + TData + > + > + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = + getPublicationAnnouncementReportsAnnouncementReportUuidGetQueryOptions( + announcementReportUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey + } + + query.queryKey = queryOptions.queryKey + + return query +} + +/** + * @summary Download publication announcement package report + */ +export const publicationAnnouncementReportsAnnouncementReportUuidDownloadGet = ( + announcementReportUuid: string, + signal?: AbortSignal +) => { + return customInstance( + { + url: `/publication-announcement-reports/${announcementReportUuid}/download`, + method: 'GET', + signal, + } + ) +} + +export const getPublicationAnnouncementReportsAnnouncementReportUuidDownloadGetQueryKey = + (announcementReportUuid: string) => { + return [ + `/publication-announcement-reports/${announcementReportUuid}/download`, + ] as const + } + +export const getPublicationAnnouncementReportsAnnouncementReportUuidDownloadGetQueryOptions = + < + TData = Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidDownloadGet + > + >, + TError = HTTPValidationError + >( + announcementReportUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidDownloadGet + > + >, + TError, + TData + > + > + } + ) => { + const { query: queryOptions } = options ?? {} + + const queryKey = + queryOptions?.queryKey ?? + getPublicationAnnouncementReportsAnnouncementReportUuidDownloadGetQueryKey( + announcementReportUuid + ) + + const queryFn: QueryFunction< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidDownloadGet + > + > + > = ({ signal }) => + publicationAnnouncementReportsAnnouncementReportUuidDownloadGet( + announcementReportUuid, + signal + ) + + return { + queryKey, + queryFn, + enabled: !!announcementReportUuid, + ...queryOptions, + } as UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidDownloadGet + > + >, + TError, + TData + > & { queryKey: QueryKey } + } + +export type PublicationAnnouncementReportsAnnouncementReportUuidDownloadGetQueryResult = + NonNullable< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidDownloadGet + > + > + > +export type PublicationAnnouncementReportsAnnouncementReportUuidDownloadGetQueryError = + HTTPValidationError + +/** + * @summary Download publication announcement package report + */ +export const usePublicationAnnouncementReportsAnnouncementReportUuidDownloadGet = + < + TData = Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidDownloadGet + > + >, + TError = HTTPValidationError + >( + announcementReportUuid: string, + options?: { + query?: Partial< + UseQueryOptions< + Awaited< + ReturnType< + typeof publicationAnnouncementReportsAnnouncementReportUuidDownloadGet + > + >, + TError, + TData + > + > + } + ): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = + getPublicationAnnouncementReportsAnnouncementReportUuidDownloadGetQueryOptions( + announcementReportUuid, + options + ) + + const query = useQuery(queryOptions) as UseQueryResult< + TData, + TError + > & { queryKey: QueryKey } + + query.queryKey = queryOptions.queryKey + + return query + } + /** * @summary Login an user and receive a JWT token */ @@ -17260,7 +20897,11 @@ export const usePasswordResetPost = < * @summary Health Check */ export const healthCheckHealthGet = (signal?: AbortSignal) => { - return customInstance({ url: `/health`, method: 'GET', signal }) + return customInstance({ + url: `/health`, + method: 'GET', + signal, + }) } export const getHealthCheckHealthGetQueryKey = () => { diff --git a/src/api/instance.ts b/src/api/instance.ts index 6491530b2..2eaca24f0 100644 --- a/src/api/instance.ts +++ b/src/api/instance.ts @@ -1,12 +1,15 @@ import axios, { AxiosError, AxiosRequestConfig } from 'axios' import getApiUrl from '@/utils/getApiUrl' +import globalErrorBoundary from '@/utils/globalErrorBoundary' +import globalRouter from '@/utils/globalRouter' +import { toastNotification } from '@/utils/toastNotification' export type Environment = 'dev' | 'test' | 'acc' | 'main' const environment = import.meta.env.VITE_API_ENV as Environment -const getAccessToken = () => +export const getAccessToken = () => localStorage.getItem(import.meta.env.VITE_KEY_API_ACCESS_TOKEN || '') const instance = axios.create({ @@ -27,13 +30,13 @@ instance.interceptors.request.use(async config => { instance.interceptors.response.use( response => response, (error: AxiosError) => { - if ( - (error.response?.status === 401 || - error.response?.status === 403) && - location.pathname !== '/login' - ) { - window.location.href = '/login' + if (error.response?.status === 401 || error.response?.status === 403) { + toastNotification('notLoggedIn') + globalRouter.navigate?.('/login') + } else if (error.response?.status === 500) { + globalErrorBoundary.showBoundary?.(error) } + return Promise.reject(error) } ) diff --git a/src/components/Accordion/Accordion.tsx b/src/components/Accordion/Accordion.tsx deleted file mode 100644 index 0ec8a5c7c..000000000 --- a/src/components/Accordion/Accordion.tsx +++ /dev/null @@ -1,154 +0,0 @@ -import { AngleDown } from '@pzh-ui/icons' -import { useUpdateEffect } from '@react-hookz/web' -import classNames from 'classnames' -import { - Children, - HTMLAttributes, - ReactNode, - cloneElement, - isValidElement, - useState, -} from 'react' - -interface AccordionProps { - className?: string - children: ReactNode | ReactNode[] - activeItem?: string - onClickCallback?: (item: string) => void -} - -const Accordion = ({ - className, - children, - activeItem, - onClickCallback, -}: AccordionProps) => { - const [openItemId, setOpenItemId] = useState( - activeItem || null - ) - - const handleItemClick = (itemId: string) => { - setOpenItemId(prevItemId => (prevItemId === itemId ? null : itemId)) - onClickCallback?.(itemId) - } - - useUpdateEffect(() => { - if (activeItem && activeItem !== openItemId) { - handleItemClick(activeItem) - } - }, [activeItem]) - - const processedChildren = Children.map(children, child => { - if (isValidElement(child) && child.type === AccordionItem) { - const itemId = child.props.uuid - const itemProps = { - ...(child.props as AccordionItemProps), - isOpen: itemId === openItemId, - onToggle: () => - !child.props.isDisabled && handleItemClick(itemId), - } - return cloneElement(child, itemProps) - } - return child - }) - - return
    {processedChildren}
-} - -interface AccordionItemProps extends AccordionProps { - uuid?: string - isOpen?: boolean - isDisabled?: boolean - onToggle?: () => void -} - -const AccordionItem = ({ - className, - children, - isOpen, - isDisabled, - onToggle, - ...rest -}: AccordionItemProps & HTMLAttributes) => { - const processedChildren = Children.map(children, child => { - if (isValidElement(child)) { - const itemProps = { - ...(child.props as AccordionProps), - isOpen, - isDisabled, - onToggle, - } - return cloneElement(child, itemProps) - } - return child - }) - - return ( -
  • - {processedChildren} -
  • - ) -} - -const AccordionTrigger = ({ - className, - classNameButton, - children, - isOpen, - isDisabled, - onToggle, - ...rest -}: AccordionItemProps & - HTMLAttributes & { classNameButton?: string }) => { - const processedChildren = Children.map(children, child => { - if (isValidElement(child)) { - const itemProps = { - ...(child.props as AccordionProps), - isOpen, - } - return cloneElement(child, itemProps) - } - return child - }) - - return ( -
    - {processedChildren} - {!isDisabled && ( - - )} -
    - ) -} - -const AccordionContent = ({ - className, - children, - isOpen, -}: AccordionItemProps) => { - if (!isOpen) return null - - return
    {children}
    -} - -export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } diff --git a/src/components/Accordion/index.ts b/src/components/Accordion/index.ts deleted file mode 100644 index 5d69eaa81..000000000 --- a/src/components/Accordion/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './Accordion' diff --git a/src/components/AreaCard/AreaCard.tsx b/src/components/AreaCard/AreaCard.tsx index a1655944d..8e6472681 100644 --- a/src/components/AreaCard/AreaCard.tsx +++ b/src/components/AreaCard/AreaCard.tsx @@ -1,4 +1,5 @@ import { Button, Heading } from '@pzh-ui/components' +import { Link } from 'react-router-dom' interface AreaCardProps { image?: string | null @@ -18,8 +19,8 @@ const AreaCard = ({ image, title, link }: AreaCardProps) => ( {title}
    -
    diff --git a/src/components/Avatar/Avatar.tsx b/src/components/Avatar/Avatar.tsx index 6de15bdd5..473b77857 100644 --- a/src/components/Avatar/Avatar.tsx +++ b/src/components/Avatar/Avatar.tsx @@ -1,5 +1,5 @@ import { Tooltip } from '@pzh-ui/components' -import classNames from 'classnames' +import classNames from 'clsx' interface AvatarProps { name: string @@ -30,7 +30,7 @@ const Avatar = ({ name, prefix, className, isSmall }: AvatarProps) => { }>
    ( + + + {items.map((item, index) => ( + + {item.to ? ( + {item.name} + ) : ( + item.name + )} + + ))} + + + + {items[items.length - 2].name} + + + +) + +export default Breadcrumbs diff --git a/src/components/Breadcrumbs/index.ts b/src/components/Breadcrumbs/index.ts new file mode 100644 index 000000000..04223fc92 --- /dev/null +++ b/src/components/Breadcrumbs/index.ts @@ -0,0 +1 @@ +export { default } from './Breadcrumbs' diff --git a/src/components/Container/ContainerMapSearch/ContainerMapSearch.tsx b/src/components/Container/ContainerMapSearch/ContainerMapSearch.tsx index c3b6e253b..e18ddff9d 100644 --- a/src/components/Container/ContainerMapSearch/ContainerMapSearch.tsx +++ b/src/components/Container/ContainerMapSearch/ContainerMapSearch.tsx @@ -1,4 +1,4 @@ -import classNames from 'classnames' +import classNames from 'clsx' import { ReactNode } from 'react' import useBreakpoint from '@/hooks/useBreakpoint' diff --git a/src/components/Dashboard/DashboardAdmin/DashboardAdmin.tsx b/src/components/Dashboard/DashboardAdmin/DashboardAdmin.tsx index 8b266d243..bceff8abc 100644 --- a/src/components/Dashboard/DashboardAdmin/DashboardAdmin.tsx +++ b/src/components/Dashboard/DashboardAdmin/DashboardAdmin.tsx @@ -57,12 +57,13 @@ const DashboardAdmin = () => { Modules
    @@ -75,7 +76,7 @@ const DashboardAdmin = () => { -
    +
    {modulesLoading ? ( @@ -99,8 +100,8 @@ const DashboardAdmin = () => { modules.total > modules.limit && (
    @@ -119,13 +120,13 @@ const ModelTile = ({ model }: { model: Model }) => {
    - + {pluralCapitalize}
    - +
    diff --git a/src/components/Dashboard/DashboardUser/DashboardUser.tsx b/src/components/Dashboard/DashboardUser/DashboardUser.tsx index dc5ce36ba..5ce7d7b79 100644 --- a/src/components/Dashboard/DashboardUser/DashboardUser.tsx +++ b/src/components/Dashboard/DashboardUser/DashboardUser.tsx @@ -12,7 +12,7 @@ import { ModuleObjectShort, PagedResponseGenericObjectShort, } from '@/api/fetchers.schemas' -import ObjectCard from '@/components/DynamicObject/ObjectCard' +import ObjectCard from '@/components/DynamicObject/ObjectActiveModules/ObjectCard' import { LoaderCard } from '@/components/Loader' import ModuleCard from '@/components/Modules/ModuleCard' import * as models from '@/config/objects' @@ -77,8 +77,8 @@ const UserModules = () => { modules.total > modules.limit && (
    @@ -138,8 +138,8 @@ const UserObject = () => { objects.total > objects.limit && (
    diff --git a/src/components/Draggable/Draggable.tsx b/src/components/Draggable/Draggable.tsx index fa07fc398..6a6d01c82 100644 --- a/src/components/Draggable/Draggable.tsx +++ b/src/components/Draggable/Draggable.tsx @@ -1,10 +1,12 @@ +import classNames from 'clsx' +import { ArrayHelpers } from 'formik' +import { ElementType, cloneElement } from 'react' + import { DragResult } from '@/hooks/useDrag' import useRegulationStore from '@/store/regulationStore' import equalArrays from '@/utils/equalArrays' import handleViewTransition from '@/utils/handleViewTransition' -import classNames from 'classnames' -import { ArrayHelpers } from 'formik' -import { ElementType, cloneElement } from 'react' + import DropArea from '../DropArea' interface DraggableProps extends DragResult { diff --git a/src/components/DropArea/DropArea.tsx b/src/components/DropArea/DropArea.tsx index a815b8196..ca896ea88 100644 --- a/src/components/DropArea/DropArea.tsx +++ b/src/components/DropArea/DropArea.tsx @@ -1,4 +1,4 @@ -import classNames from 'classnames' +import classNames from 'clsx' import { useState } from 'react' interface DropAreaProps { @@ -20,7 +20,7 @@ const DropArea = ({ onDrop, position, className }: DropAreaProps) => { }} onDragOver={ev => ev.preventDefault()} className={classNames( - 'after:content-[` `] absolute left-0 z-1 h-2 w-full py-2 transition-[opacity] after:absolute after:h-1 after:w-full after:animate-pulse after:bg-pzh-blue-light', + 'after:content-[` `] absolute left-0 z-1 h-2 w-full py-2 transition-[opacity] after:absolute after:h-1 after:w-full after:animate-pulse after:bg-pzh-blue-100', { '-top-2 after:top-2': position === 'top' && !className, '-bottom-2 after:bottom-2': diff --git a/src/components/Dropdown/Dropdown.tsx b/src/components/Dropdown/Dropdown.tsx index 8b058e347..91b5d3695 100644 --- a/src/components/Dropdown/Dropdown.tsx +++ b/src/components/Dropdown/Dropdown.tsx @@ -1,6 +1,6 @@ import { Transition } from '@headlessui/react' import { useClickOutside } from '@react-hookz/web' -import classNames from 'classnames' +import classNames from 'clsx' import { ReactNode, useRef } from 'react' import { Link } from 'react-router-dom' diff --git a/src/components/DynamicObject/DynamicObjectForm/DynamicField/DynamicField.tsx b/src/components/DynamicObject/DynamicObjectForm/DynamicField/DynamicField.tsx index a01e21558..de39b20db 100644 --- a/src/components/DynamicObject/DynamicObjectForm/DynamicField/DynamicField.tsx +++ b/src/components/DynamicObject/DynamicObjectForm/DynamicField/DynamicField.tsx @@ -7,6 +7,7 @@ import { } from '@pzh-ui/components' import { useFormikContext } from 'formik' +import FieldArray from '@/components/Form/FieldArray' import FieldConnections from '@/components/Form/FieldConnections' import FieldSelectArea from '@/components/Form/FieldSelectArea' import { Model } from '@/config/objects/types' @@ -25,6 +26,7 @@ const inputFieldMap = { image: FormikFileUpload, connections: FieldConnections, search: DynamicObjectSearch, + array: FieldArray, } const DynamicField = ({ @@ -35,7 +37,7 @@ const DynamicField = ({ }: DynamicFieldProps & { isFirst?: boolean isLocked?: boolean - model: Model + model?: Model }) => { const { setFieldValue, values } = useFormikContext() diff --git a/src/components/DynamicObject/DynamicObjectForm/DynamicObjectForm.tsx b/src/components/DynamicObject/DynamicObjectForm/DynamicObjectForm.tsx index 2fc9f375b..adb3a2d4f 100644 --- a/src/components/DynamicObject/DynamicObjectForm/DynamicObjectForm.tsx +++ b/src/components/DynamicObject/DynamicObjectForm/DynamicObjectForm.tsx @@ -20,6 +20,7 @@ interface DynamicObjectFormProps { defaultValues?: { [key: string]: FieldSelectProps['defaultValue'] } + canEdit?: boolean } const DynamicObjectForm = ({ @@ -39,7 +40,8 @@ const DynamicObjectForm = ({ } validateOnMount onSubmit={handleSubmit} - enableReinitialize> + enableReinitialize + validateOnBlur={false}> {props => ( ({ isSubmitting, dirty, defaultValues, + canEdit = true, }: Omit, 'initialData' | 'handleSubmit'> & FormikProps) => { const sections = model.dynamicSections @@ -94,7 +97,7 @@ const ObjectForm = ({ diff --git a/src/components/DynamicObject/DynamicObjectForm/DynamicSection/DynamicSection.tsx b/src/components/DynamicObject/DynamicObjectForm/DynamicSection/DynamicSection.tsx index fe817bb09..2d80b82e3 100644 --- a/src/components/DynamicObject/DynamicObjectForm/DynamicSection/DynamicSection.tsx +++ b/src/components/DynamicObject/DynamicObjectForm/DynamicSection/DynamicSection.tsx @@ -27,7 +27,7 @@ const DynamicSection = ({ level="2" size="s" className="mb-3" - color="text-pzh-blue-dark"> + color="text-pzh-blue-900"> {title} diff --git a/src/components/DynamicObject/DynamicObjectSearch/DynamicObjectSearch.tsx b/src/components/DynamicObject/DynamicObjectSearch/DynamicObjectSearch.tsx index 3c35e3fcc..06ddc6c27 100644 --- a/src/components/DynamicObject/DynamicObjectSearch/DynamicObjectSearch.tsx +++ b/src/components/DynamicObject/DynamicObjectSearch/DynamicObjectSearch.tsx @@ -139,7 +139,7 @@ const DynamicObjectSearch = ({
    ), diff --git a/src/components/DynamicObject/ObjectAcknowledgedRelationPart/ObjectAcknowledgedRelationPart.tsx b/src/components/DynamicObject/ObjectAcknowledgedRelationPart/ObjectAcknowledgedRelationPart.tsx index 09370cece..4b81998c4 100644 --- a/src/components/DynamicObject/ObjectAcknowledgedRelationPart/ObjectAcknowledgedRelationPart.tsx +++ b/src/components/DynamicObject/ObjectAcknowledgedRelationPart/ObjectAcknowledgedRelationPart.tsx @@ -8,7 +8,7 @@ import { MessageXmark, Share, } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' import { useMemo, useState } from 'react' import { AcknowledgedRelation } from '@/api/fetchers.schemas' @@ -64,10 +64,10 @@ const ObjectAcknowledgedRelationPart = ({ diff --git a/src/components/DynamicObject/ObjectCard/ObjectCard.tsx b/src/components/DynamicObject/ObjectActiveModules/ObjectCard/ObjectCard.tsx similarity index 77% rename from src/components/DynamicObject/ObjectCard/ObjectCard.tsx rename to src/components/DynamicObject/ObjectActiveModules/ObjectCard/ObjectCard.tsx index 8ef89a5f5..e5c5d3a0a 100644 --- a/src/components/DynamicObject/ObjectCard/ObjectCard.tsx +++ b/src/components/DynamicObject/ObjectActiveModules/ObjectCard/ObjectCard.tsx @@ -1,4 +1,5 @@ import { Button, Heading, Text } from '@pzh-ui/components' +import { Link } from 'react-router-dom' import * as models from '@/config/objects' import { ModelReturnType, ModelType } from '@/config/objects/types' @@ -18,12 +19,10 @@ const ObjectCard = ({ Object_Type, Object_ID, Title }: ModelReturnType) => { {Title}
    -
    diff --git a/src/components/DynamicObject/ObjectCard/index.ts b/src/components/DynamicObject/ObjectActiveModules/ObjectCard/index.ts similarity index 100% rename from src/components/DynamicObject/ObjectCard/index.ts rename to src/components/DynamicObject/ObjectActiveModules/ObjectCard/index.ts diff --git a/src/components/DynamicObject/ObjectArea/ObjectArea.tsx b/src/components/DynamicObject/ObjectArea/ObjectArea.tsx index 1962c6561..d34452edc 100644 --- a/src/components/DynamicObject/ObjectArea/ObjectArea.tsx +++ b/src/components/DynamicObject/ObjectArea/ObjectArea.tsx @@ -1,5 +1,4 @@ -import { Heading, Notification, Text } from '@pzh-ui/components' -import { LayerGroup, Lightbulb } from '@pzh-ui/icons' +import { Heading, Text } from '@pzh-ui/components' import { useModulesModuleIdObjectWerkingsgebiedLatestLineageIdGet, @@ -67,17 +66,17 @@ const ObjectArea = ({ {!!data && ( <> - + {/* <> Tip! Gebruik het icoon{' '} {' '} om de kaartlagen binnen dit werkingsgebied te bekijken - + */}
    diff --git a/src/components/DynamicObject/ObjectConnectionPart/ObjectConnectionPart.tsx b/src/components/DynamicObject/ObjectConnectionPart/ObjectConnectionPart.tsx index 7f6b68d91..14dd0d508 100644 --- a/src/components/DynamicObject/ObjectConnectionPart/ObjectConnectionPart.tsx +++ b/src/components/DynamicObject/ObjectConnectionPart/ObjectConnectionPart.tsx @@ -60,7 +60,7 @@ const ObjectConnectionPart = ({ return (
    -
    +
    {amount}
    @@ -86,11 +86,11 @@ const ObjectConnectionPart = ({ className="animate-spin text-pzh-gray-600" /> ) : amount === 0 ? ( -
    +
    ) : ( - + ))}
    diff --git a/src/components/DynamicObject/ObjectConnectionsPublic/ObjectConnectionsPublic.tsx b/src/components/DynamicObject/ObjectConnectionsPublic/ObjectConnectionsPublic.tsx index 2575c8a0d..6d2cce38d 100644 --- a/src/components/DynamicObject/ObjectConnectionsPublic/ObjectConnectionsPublic.tsx +++ b/src/components/DynamicObject/ObjectConnectionsPublic/ObjectConnectionsPublic.tsx @@ -1,4 +1,5 @@ import { Heading, ListLink, Text } from '@pzh-ui/components' +import { Link } from 'react-router-dom' import * as models from '@/config/objects' import { Model, ModelReturnType } from '@/config/objects/types' @@ -36,13 +37,16 @@ const ObjectConnectionsPublic = ({ {(items as any[]).map(item => (
  • + asChild + className="text-pzh-green-500 hover:text-pzh-green-900"> + + {item.Object.Title} + +
  • ))} diff --git a/src/components/DynamicObject/ObjectContent/ObjectContent.tsx b/src/components/DynamicObject/ObjectContent/ObjectContent.tsx index 369f1edf7..7b9df04c8 100644 --- a/src/components/DynamicObject/ObjectContent/ObjectContent.tsx +++ b/src/components/DynamicObject/ObjectContent/ObjectContent.tsx @@ -1,5 +1,5 @@ import { Heading } from '@pzh-ui/components' -import classNames from 'classnames' +import classNames from 'clsx' import DOMPurify from 'dompurify' import { @@ -67,7 +67,7 @@ const Content = ({ title, value, hidden, html, customTitle }: ContentProps) => { if (value === 'Weblink') { cleanHtml = cleanHtml.replace( /\bhttps?:\/\/\S+/gi, - '$&' + '$&' ) } @@ -86,7 +86,7 @@ const Content = ({ title, value, hidden, html, customTitle }: ContentProps) => { )} @@ -106,7 +106,7 @@ interface ListProps { const List = ({ title, description, items, hidden }: ListProps) => (
    + className="prose prose-neutral mb-4 max-w-full whitespace-pre-line text-m text-pzh-blue-900 marker:text-pzh-blue-900 prose-li:my-0 md:mb-8">
    ) diff --git a/src/components/DynamicObject/ObjectNetwork/ObjectNetwork.tsx b/src/components/DynamicObject/ObjectNetwork/ObjectNetwork.tsx index cb3bb7c8c..22a4cf8c4 100644 --- a/src/components/DynamicObject/ObjectNetwork/ObjectNetwork.tsx +++ b/src/components/DynamicObject/ObjectNetwork/ObjectNetwork.tsx @@ -49,10 +49,10 @@ const ObjectNetwork = ({ data }: ObjectNetworkProps) => { if (type === 'enter') { element.classList.add('font-bold') - el?.classList.add('stroke-pzh-blue-dark') + el?.classList.add('!stroke-pzh-blue-900') } else { element.classList.remove('font-bold') - el?.classList.remove('stroke-pzh-blue-dark') + el?.classList.remove('!stroke-pzh-blue-900') } }, [] @@ -63,7 +63,7 @@ const ObjectNetwork = ({ data }: ObjectNetworkProps) => { return (
    - + Beleidsnetwerk
    @@ -128,15 +128,22 @@ const getObjectIcon = (key: ModelType) => { switch (key) { case 'ambitie': return ( - + ) case 'beleidsdoel': - return
    + return ( +
    + ) case 'beleidskeuze': - return
    + return ( +
    + ) case 'maatregel': return ( -
    +
    ) } } diff --git a/src/components/DynamicObject/ObjectRelationPart/ObjectRelationPart.tsx b/src/components/DynamicObject/ObjectRelationPart/ObjectRelationPart.tsx index 032e7a7e5..9f71e01c2 100644 --- a/src/components/DynamicObject/ObjectRelationPart/ObjectRelationPart.tsx +++ b/src/components/DynamicObject/ObjectRelationPart/ObjectRelationPart.tsx @@ -1,5 +1,5 @@ import { Eye, Spinner } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' interface ObjectRelationPartProps { /** Title */ @@ -30,9 +30,10 @@ const ObjectRelationPart = ({ className={classNames( 'relative flex h-6 w-6 items-center justify-center rounded-full', { - 'after:content-[" "] bg-pzh-blue text-pzh-white after:absolute after:-left-1 after:-top-1 after:h-3 after:w-3 after:rounded-full after:border after:border-pzh-white after:bg-pzh-red': + 'after:content-[" "] bg-pzh-blue-500 text-pzh-white after:absolute after:-left-1 after:-top-1 after:h-3 after:w-3 after:rounded-full after:border after:border-pzh-white after:bg-pzh-red-500': hasNotification, - 'bg-pzh-blue-light/50 text-pzh-blue': !hasNotification, + 'bg-pzh-blue-100/50 text-pzh-blue-500': + !hasNotification, } )}> {amount} @@ -53,7 +54,7 @@ const ObjectRelationPart = ({ className="animate-spin text-pzh-gray-600" /> ) : ( - + ))} Bekijken diff --git a/src/components/DynamicObject/ObjectRelations/ObjectRelations.tsx b/src/components/DynamicObject/ObjectRelations/ObjectRelations.tsx index 6e5286989..a83f81126 100644 --- a/src/components/DynamicObject/ObjectRelations/ObjectRelations.tsx +++ b/src/components/DynamicObject/ObjectRelations/ObjectRelations.tsx @@ -106,7 +106,7 @@ const ObjectRelations = ({ model }: ObjectRelationsProps) => { }) setActiveModal('objectRelationAdd') }} - className="flex h-[18px] w-[18px] items-center justify-center rounded-full bg-pzh-green"> + className="flex h-[18px] w-[18px] items-center justify-center rounded-full bg-pzh-green-500"> Beleidsrelatie toevoegen diff --git a/src/components/DynamicObject/ObjectRelationsPublic/ObjectRelationsPublic.tsx b/src/components/DynamicObject/ObjectRelationsPublic/ObjectRelationsPublic.tsx index 97b5a79e7..731fe5fe2 100644 --- a/src/components/DynamicObject/ObjectRelationsPublic/ObjectRelationsPublic.tsx +++ b/src/components/DynamicObject/ObjectRelationsPublic/ObjectRelationsPublic.tsx @@ -11,10 +11,10 @@ interface ObjectRelationsPublicProps { const ObjectRelationsPublic = ({ model, data }: ObjectRelationsPublicProps) => (
    - + Koppelingen & Relaties - + {model.connectionsDescription} diff --git a/src/components/DynamicObject/ObjectRevision/ObjectRevision.tsx b/src/components/DynamicObject/ObjectRevision/ObjectRevision.tsx index cfc245693..7083cbb92 100644 --- a/src/components/DynamicObject/ObjectRevision/ObjectRevision.tsx +++ b/src/components/DynamicObject/ObjectRevision/ObjectRevision.tsx @@ -1,5 +1,5 @@ import { Divider, Heading, Text, getHeadingStyles } from '@pzh-ui/components' -import classNames from 'classnames' +import classNames from 'clsx' import htmlDiff from 'node-htmldiff' import { useMemo } from 'react' @@ -56,7 +56,7 @@ const ObjectRevision = ({

    -
    {' '} +
    {' '} Verwijderd werkingsgebied -
    {' '} +
    {' '} Toegevoegd werkingsgebied -
    {' '} +
    {' '} Ongewijzigd werkingsgebied
    @@ -165,7 +165,7 @@ const Content = ({ {customTitle?.[value] || title}

    diff --git a/src/components/DynamicObject/ObjectSidebar/ObjectSidebar.tsx b/src/components/DynamicObject/ObjectSidebar/ObjectSidebar.tsx index a26ac33bf..2bfb35b4c 100644 --- a/src/components/DynamicObject/ObjectSidebar/ObjectSidebar.tsx +++ b/src/components/DynamicObject/ObjectSidebar/ObjectSidebar.tsx @@ -1,6 +1,6 @@ import { Heading, Hyperlink, Text, formatDate } from '@pzh-ui/components' import { useMemo } from 'react' -import { useParams } from 'react-router-dom' +import { Link, useParams } from 'react-router-dom' import Avatar from '@/components/Avatar/Avatar' import { LoaderCard } from '@/components/Loader' @@ -86,7 +86,7 @@ const ObjectSidebar = ({ ) : !!revisions && revisions > 0 ? (

    )} diff --git a/src/components/DynamicObject/ObjectValidArchived/ObjectValidArchived.tsx b/src/components/DynamicObject/ObjectValidArchived/ObjectValidArchived.tsx index 4b4915a1e..6a857900b 100644 --- a/src/components/DynamicObject/ObjectValidArchived/ObjectValidArchived.tsx +++ b/src/components/DynamicObject/ObjectValidArchived/ObjectValidArchived.tsx @@ -84,7 +84,7 @@ const ObjectValidArchived = ({ model }: ObjectValidArchivedProps) => { 'dd-MM-yyyy' )} - +
    ))} diff --git a/src/components/Filter/Filter.tsx b/src/components/Filter/Filter.tsx index da6f6c3e2..1b3aa1c8b 100644 --- a/src/components/Filter/Filter.tsx +++ b/src/components/Filter/Filter.tsx @@ -1,6 +1,5 @@ -import classNames from 'classnames' - import { FieldSelect, FieldSelectProps } from '@pzh-ui/components' +import classNames from 'clsx' import { ModelType } from '@/config/objects/types' @@ -30,7 +29,7 @@ const Filter = ({ ...rest }: FilterProps) => (
    - + {activeFilters}
    - + Krachtig Zuid-Holland
    {!userIsInMuteerEnvironment && (
    -
    diff --git a/src/components/LoginForm/LoginForm.tsx b/src/components/LoginForm/LoginForm.tsx index cb9ce6ab7..f8170b318 100644 --- a/src/components/LoginForm/LoginForm.tsx +++ b/src/components/LoginForm/LoginForm.tsx @@ -54,14 +54,13 @@ const LoginForm = () => { initialValues={{ email: '', password: '' }} onSubmit={handleFormSubmit} validationSchema={toFormikValidationSchema(loginForm.SCHEMA)}> - {({ values, handleSubmit, isValid, dirty }) => ( + {({ handleSubmit, isValid, dirty }) => (
    { name="password" type="password" placeholder="Vul hier je wachtwoord in" - value={values.password} />
    @@ -81,7 +79,7 @@ const LoginForm = () => {
    {error && (
    - {error} + + {error} +
    )} @@ -115,7 +115,7 @@ const PopupPasswordForgot = ({ onClose }: PopupPasswordForgotProps) => ( moet het nog met een e-mailadres en een wachtwoord. -

    +

    Wachtwoord vergeten? Stuur dan een e-mail naar het team Omgevingsbeleid door op de link te klikken. Je ontvangt dan binnen één werkdag een nieuw wachtwoord. diff --git a/src/components/Modals/ModuleModals/ModuleCompleteModal/steps/StepTwo.tsx b/src/components/Modals/ModuleModals/ModuleCompleteModal/steps/StepTwo.tsx index 10df210a3..c81308228 100644 --- a/src/components/Modals/ModuleModals/ModuleCompleteModal/steps/StepTwo.tsx +++ b/src/components/Modals/ModuleModals/ModuleCompleteModal/steps/StepTwo.tsx @@ -1,18 +1,17 @@ -import { useFormikContext } from 'formik' -import { useMemo, useState } from 'react' - import { Divider, FieldCheckbox, FormikDate, FormikInput, Text, + formatDate, } from '@pzh-ui/components' +import { useFormikContext } from 'formik' +import { useMemo, useState } from 'react' import { CompleteModule, ModuleObjectShort } from '@/api/fetchers.schemas' import useModule from '@/hooks/useModule' import { getObjectActionText } from '@/utils/dynamicObject' -import formatDate from '@/utils/formatDate' export const StepTwo = () => { const { values } = useFormikContext() @@ -40,7 +39,9 @@ export const StepTwo = () => { hebben, geef dit per object aan. - {objects?.map(object => )} + {objects?.map(object => ( + + ))} ) } diff --git a/src/components/Modals/ModuleModals/ModuleContentsModal/steps/StepThree.tsx b/src/components/Modals/ModuleModals/ModuleContentsModal/steps/StepThree.tsx index 0b926e3a2..106da6ede 100644 --- a/src/components/Modals/ModuleModals/ModuleContentsModal/steps/StepThree.tsx +++ b/src/components/Modals/ModuleModals/ModuleContentsModal/steps/StepThree.tsx @@ -1,6 +1,3 @@ -import { useFormikContext } from 'formik' -import { useMemo } from 'react' - import { FormikInput, FormikSelect, @@ -8,6 +5,8 @@ import { Heading, Text, } from '@pzh-ui/components' +import { useFormikContext } from 'formik' +import { useMemo } from 'react' import { useUsersGet } from '@/api/fetchers' import { ModuleAddNewObject } from '@/api/fetchers.schemas' diff --git a/src/components/Modals/ModuleModals/ModuleEditObjectModal/ModuleEditObjectModal.tsx b/src/components/Modals/ModuleModals/ModuleEditObjectModal/ModuleEditObjectModal.tsx index d7f398a22..531af8293 100644 --- a/src/components/Modals/ModuleModals/ModuleEditObjectModal/ModuleEditObjectModal.tsx +++ b/src/components/Modals/ModuleModals/ModuleEditObjectModal/ModuleEditObjectModal.tsx @@ -21,14 +21,17 @@ import useModalStore from '@/store/modalStore' import { toastNotification } from '@/utils/toastNotification' import * as modules from '@/validation/modules' -interface ModuleEditObjectModalProps { - object: ModuleObjectShort -} +import { ModalStateMap } from '../../types' -const ModuleEditObjectModal = ({ object }: ModuleEditObjectModalProps) => { +const ModuleEditObjectModal = () => { const queryClient = useQueryClient() const setActiveModal = useModalStore(state => state.setActiveModal) + const modalState = useModalStore( + state => state.modalStates['moduleEditObject'] + ) as ModalStateMap['moduleEditObject'] + + const { object = {} as ModuleObjectShort } = modalState || {} const model = models[object.Object_Type as ModelType] || {} const { singularReadable, singularCapitalize, prefixSingular } = diff --git a/src/components/Modals/ModuleModals/ModuleObjectDeleteConfirmationModal/ModuleObjectDeleteConfirmationModal.tsx b/src/components/Modals/ModuleModals/ModuleObjectDeleteConfirmationModal/ModuleObjectDeleteConfirmationModal.tsx index 7a919a982..d95949410 100644 --- a/src/components/Modals/ModuleModals/ModuleObjectDeleteConfirmationModal/ModuleObjectDeleteConfirmationModal.tsx +++ b/src/components/Modals/ModuleModals/ModuleObjectDeleteConfirmationModal/ModuleObjectDeleteConfirmationModal.tsx @@ -7,16 +7,16 @@ import { ModelType } from '@/config/objects/types' import useModule from '@/hooks/useModule' import useModalStore from '@/store/modalStore' -interface ModuleObjectDeleteConfirmationModalProps { - object: ModuleObjectShort - module: Module -} +import { ModalStateMap } from '../../types' -const ModuleObjectDeleteConfirmationModal = ({ - object, - module, -}: ModuleObjectDeleteConfirmationModalProps) => { +const ModuleObjectDeleteConfirmationModal = () => { const setActiveModal = useModalStore(state => state.setActiveModal) + const modalState = useModalStore( + state => state.modalStates['moduleDeleteObject'] + ) as ModalStateMap['moduleDeleteObject'] + + const { object = {} as ModuleObjectShort, module = {} as Module } = + modalState || {} const { useRemoveObjectFromModule } = useModule() const { mutate } = useRemoveObjectFromModule(() => setActiveModal(null)) @@ -28,7 +28,7 @@ const ModuleObjectDeleteConfirmationModal = ({ lineageId: object.Object_ID, }) - const model = models[object.Object_Type as ModelType] + const model = models[object?.Object_Type as ModelType] return ( diff --git a/src/components/Modals/NetworkModal/NetworkModal.tsx b/src/components/Modals/NetworkModal/NetworkModal.tsx index a1bebfdee..b074171bc 100644 --- a/src/components/Modals/NetworkModal/NetworkModal.tsx +++ b/src/components/Modals/NetworkModal/NetworkModal.tsx @@ -35,7 +35,7 @@ const NetworkModal = () => {
  • + className="flex items-center justify-between border-b border-pzh-blue-900/35 px-2 pb-1 pt-2">

    {connection.Title}

    @@ -49,10 +49,12 @@ const NetworkModal = () => { )} - + + + Bekijk de detailpagina van {demonstrative} {singular} in het + digitaal omgevingsbeleid + + ) } diff --git a/src/components/Modals/ObjectModals/ObjectConnectionModal/steps/StepOne.tsx b/src/components/Modals/ObjectModals/ObjectConnectionModal/steps/StepOne.tsx index c893012ec..3182512e2 100644 --- a/src/components/Modals/ObjectModals/ObjectConnectionModal/steps/StepOne.tsx +++ b/src/components/Modals/ObjectModals/ObjectConnectionModal/steps/StepOne.tsx @@ -1,6 +1,6 @@ import { Button, Divider, Heading, Text } from '@pzh-ui/components' import { PenToSquare, TrashCan } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' import { useFormikContext } from 'formik' import { useMemo } from 'react' @@ -120,7 +120,10 @@ const Connection = ({ setStep(3) }} aria-label="Wijzigen"> - + )} diff --git a/src/components/Modals/ObjectModals/ObjectConnectionModal/steps/StepTwo.tsx b/src/components/Modals/ObjectModals/ObjectConnectionModal/steps/StepTwo.tsx index bc786edd6..9ae558878 100644 --- a/src/components/Modals/ObjectModals/ObjectConnectionModal/steps/StepTwo.tsx +++ b/src/components/Modals/ObjectModals/ObjectConnectionModal/steps/StepTwo.tsx @@ -86,7 +86,7 @@ export const StepTwo = ({
    ), diff --git a/src/components/Modals/ObjectModals/ObjectDeleteModal/ObjectDeleteModal.tsx b/src/components/Modals/ObjectModals/ObjectDeleteModal/ObjectDeleteModal.tsx index 89f65f509..56b47915a 100644 --- a/src/components/Modals/ObjectModals/ObjectDeleteModal/ObjectDeleteModal.tsx +++ b/src/components/Modals/ObjectModals/ObjectDeleteModal/ObjectDeleteModal.tsx @@ -60,7 +60,7 @@ const ObjectDeleteModal = ({ object, model }: ObjectDeleteModalProps) => { id="objectDelete" title={`${singularCapitalize} verwijderen`} size="xl"> -
    +
    Weet je zeker dat je {singularReadable}:{' '} {object?.Title} wilt diff --git a/src/components/Modals/ObjectModals/ObjectPersonModal/ObjectPersonModal.tsx b/src/components/Modals/ObjectModals/ObjectPersonModal/ObjectPersonModal.tsx index ac5622b33..de6a7cd63 100644 --- a/src/components/Modals/ObjectModals/ObjectPersonModal/ObjectPersonModal.tsx +++ b/src/components/Modals/ObjectModals/ObjectPersonModal/ObjectPersonModal.tsx @@ -1,50 +1,63 @@ import { Button, FormikSelect } from '@pzh-ui/components' import { Form, Formik } from 'formik' -import { useMemo } from 'react' +import { useCallback, useMemo } from 'react' import { useParams } from 'react-router-dom' +import { toFormikValidationSchema } from 'zod-formik-adapter' import { useUsersGet } from '@/api/fetchers' import Modal from '@/components/Modal' -import { ModelPatchStaticType } from '@/config/objects/types' +import { Model, ModelPatchStaticType } from '@/config/objects/types' +import { Role } from '@/context/AuthContext' import useObject from '@/hooks/useObject' import useModalStore from '@/store/modalStore' +import { + getStaticDataFilterRoles, + getStaticDataLabel, + getStaticDataPropertyKey, + getStaticDataPropertyRequired, +} from '@/utils/dynamicObject' +import { generateSchema } from '@/validation/objectGeneralInformation' -import { ObjectPersonModalActions } from '../types' +interface ObjectPersonModalProps { + model: Model +} -const ObjectPersonModal = ({ person, isEdit }: ObjectPersonModalActions) => { +const ObjectPersonModal = ({ model }: ObjectPersonModalProps) => { const { objectId } = useParams() const activeModal = useModalStore(state => state.activeModal) const setActiveModal = useModalStore(state => state.setActiveModal) + const { staticData } = model + + const { data: object } = useObject() + const data = useMemo(() => object?.ObjectStatics, [object?.ObjectStatics]) + const { data: users, isFetching, isLoading: loadingUsers, } = useUsersGet( { limit: 500 }, - { query: { enabled: activeModal === 'objectPerson' } } + { query: { enabled: activeModal === 'objectGeneralInformation' } } ) /** * Format user options */ - const userOptions = useMemo( - () => + const getUserOptions = useCallback( + (filterRoles?: Role[]) => users?.results - ?.filter(user => user.UUID !== person?.filter) - ?.filter(user => person?.filterRoles?.includes(user.Rol)) + ?.filter(user => filterRoles?.includes(user.Rol)) ?.map(user => ({ label: user.Gebruikersnaam, value: user.UUID, })), - [users, person?.filter, person?.filterRoles] + [users] ) const { usePostObjectStatic } = useObject() - const { mutate, isPending } = usePostObjectStatic(() => - setActiveModal(null) - ) + const { mutate } = usePostObjectStatic(() => setActiveModal(null)) /** * Update person @@ -53,60 +66,93 @@ const ObjectPersonModal = ({ person, isEdit }: ObjectPersonModalActions) => { mutate({ lineageId: parseInt(objectId!), data: payload }) } + if (!!!staticData?.length) return null + + const initialValues = staticData.reduce( + (acc: ModelPatchStaticType, item) => { + const key = getStaticDataPropertyKey(item) + const user = data?.[key] + + acc[item] = user?.UUID + + return acc + }, + {} + ) + return ( - + -
    - ({ - ...base, - position: 'relative', - zIndex: 9999, - marginTop: 2, - boxShadow: '0px 10px 30px rgba(0, 0, 0, 0.10)', - }), - }} - noOptionsMessage={({ inputValue }) => - !!inputValue && 'Geen resultaten gevonden' - } - isClearable={!person?.required} - required={person?.required} - blurInputOnSelect - /> - -
    - - -
    - + {({ isValid, isSubmitting, dirty }) => ( +
    +
    + {staticData.map(item => { + const label = getStaticDataLabel(item) + const required = + getStaticDataPropertyRequired(item) + const filterRoles = + getStaticDataFilterRoles(item) + + const userOptions = getUserOptions(filterRoles) + + return ( +
    + ({ + ...base, + position: 'relative', + zIndex: 9999, + marginTop: 2, + boxShadow: + '0px 10px 30px rgba(0, 0, 0, 0.10)', + }), + }} + noOptionsMessage={({ + inputValue, + }) => + !!inputValue && + 'Geen resultaten gevonden' + } + isClearable={!required} + required={required} + blurInputOnSelect + /> +
    + ) + })} +
    + +
    + + +
    +
    + )}
    ) diff --git a/src/components/Modals/ObjectModals/ObjectRelationApprovedModal/steps/StepOne.tsx b/src/components/Modals/ObjectModals/ObjectRelationApprovedModal/steps/StepOne.tsx index ffd3bfadd..e111d61f7 100644 --- a/src/components/Modals/ObjectModals/ObjectRelationApprovedModal/steps/StepOne.tsx +++ b/src/components/Modals/ObjectModals/ObjectRelationApprovedModal/steps/StepOne.tsx @@ -51,7 +51,7 @@ export const StepOne = ({ relation.Side_B.Title ) }> - + Wijzigen
    diff --git a/src/components/Modals/ObjectModals/ObjectRelationSentModal/steps/StepOne.tsx b/src/components/Modals/ObjectModals/ObjectRelationSentModal/steps/StepOne.tsx index ea7ecd5be..de1cc1947 100644 --- a/src/components/Modals/ObjectModals/ObjectRelationSentModal/steps/StepOne.tsx +++ b/src/components/Modals/ObjectModals/ObjectRelationSentModal/steps/StepOne.tsx @@ -1,7 +1,6 @@ -import { useMemo } from 'react' - import { Divider, Heading, Text } from '@pzh-ui/components' import { PenToSquare } from '@pzh-ui/icons' +import { useMemo } from 'react' import ObjectAcknowledgedRelationPart from '@/components/DynamicObject/ObjectAcknowledgedRelationPart' @@ -52,7 +51,7 @@ export const StepOne = ({ type="button" className="px-3" onClick={() => handleEdit(relation)}> - + Wijzigen
    diff --git a/src/components/Modals/PasswordChangeModal/PasswordChangeModal.tsx b/src/components/Modals/PasswordChangeModal/PasswordChangeModal.tsx index 087687edd..5b561a798 100644 --- a/src/components/Modals/PasswordChangeModal/PasswordChangeModal.tsx +++ b/src/components/Modals/PasswordChangeModal/PasswordChangeModal.tsx @@ -52,7 +52,7 @@ export default function PasswordChangeModal() { validationSchema={toFormikValidationSchema( passwordReset.SCHEMA )}> - {({ values, handleSubmit, isValid, isSubmitting }) => ( + {({ handleSubmit, isValid, isSubmitting }) => (
    - + Het nieuwe wachtwoord moet minimaal 12 karakters bevatten en moet ten minste 1 cijfer, 1 speciaal karakter en 1 hoofdletter bevatten. @@ -77,7 +76,6 @@ export default function PasswordChangeModal() { name="newPassword" type="password" placeholder="Geef hier het nieuwe wachtwoord op" - value={values.newPassword} />
    @@ -111,7 +108,7 @@ export default function PasswordChangeModal() { )} - + <> Ben je je huidige wachtwoord vergeten? Neem dan contact op met diff --git a/src/components/Modals/PublicationModals/PublicationAddModal/PublicationAddModal.tsx b/src/components/Modals/PublicationModals/PublicationAddModal/PublicationAddModal.tsx new file mode 100644 index 000000000..629aeca05 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationAddModal/PublicationAddModal.tsx @@ -0,0 +1,57 @@ +import { useQueryClient } from '@tanstack/react-query' +import { useParams } from 'react-router-dom' + +import { getPublicationsGetQueryKey, usePublicationsPost } from '@/api/fetchers' +import { PublicationCreate } from '@/api/fetchers.schemas' +import Modal from '@/components/Modal/Modal' +import PublicationForm from '@/components/Publications/PublicationForm' +import useModalStore from '@/store/modalStore' + +import { ModalStateMap } from '../../types' + +const PublicationAddModal = () => { + const queryClient = useQueryClient() + const { moduleId } = useParams() + + const modalState = useModalStore( + state => state.modalStates['publicationAdd'] + ) as ModalStateMap['publicationAdd'] + const setActiveModal = useModalStore(state => state.setActiveModal) + + const { mutate } = usePublicationsPost({ + mutation: { + onSuccess: () => { + queryClient.invalidateQueries({ + queryKey: getPublicationsGetQueryKey({ + document_type: modalState?.documentType, + }), + }) + + setActiveModal(null) + }, + }, + }) + + const initialValues = { + Module_ID: parseInt(moduleId!), + Document_Type: modalState?.documentType, + Procedure_Type: modalState?.procedureType, + Environment_UUID: modalState?.environmentUUID, + } as PublicationCreate + + const handleFormSubmit = (payload: PublicationCreate) => { + mutate({ data: payload }) + } + + return ( + + + + ) +} + +export default PublicationAddModal diff --git a/src/components/Modals/PublicationModals/PublicationAddModal/index.ts b/src/components/Modals/PublicationModals/PublicationAddModal/index.ts new file mode 100644 index 000000000..cd83af753 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationAddModal/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationAddModal' diff --git a/src/components/Modals/PublicationModals/PublicationEditModal/PublicationEditModal.tsx b/src/components/Modals/PublicationModals/PublicationEditModal/PublicationEditModal.tsx new file mode 100644 index 000000000..d898480fb --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationEditModal/PublicationEditModal.tsx @@ -0,0 +1,74 @@ +import { useQueryClient } from '@tanstack/react-query' + +import { + getPublicationsGetQueryKey, + usePublicationsPublicationUuidGet, + usePublicationsPublicationUuidPost, +} from '@/api/fetchers' +import { DocumentType, PublicationEdit } from '@/api/fetchers.schemas' +import { LoaderSpinner } from '@/components/Loader' +import Modal from '@/components/Modal/Modal' +import PublicationForm from '@/components/Publications/PublicationForm' +import useModalStore from '@/store/modalStore' + +import { ModalStateMap } from '../../types' + +const PublicationEditModal = () => { + const queryClient = useQueryClient() + + const modalState = useModalStore( + state => state.modalStates['publicationEdit'] + ) as ModalStateMap['publicationEdit'] + const setActiveModal = useModalStore(state => state.setActiveModal) + + const { data, isFetching, queryKey } = usePublicationsPublicationUuidGet( + modalState?.publication.UUID, + { + query: { + enabled: !!modalState?.publication.UUID, + }, + } + ) + + const { mutate } = usePublicationsPublicationUuidPost({ + mutation: { + onSuccess: () => { + queryClient.invalidateQueries({ queryKey }) + queryClient.invalidateQueries({ + queryKey: getPublicationsGetQueryKey({ + document_type: modalState.publication + .Document_Type as DocumentType, + }), + }) + + setActiveModal(null) + }, + }, + }) + + const initialValues = { + ...data, + } as PublicationEdit + + const handleFormSubmit = (payload: PublicationEdit) => { + mutate({ publicationUuid: modalState?.publication.UUID, data: payload }) + } + + return ( + + {isFetching ? ( +
    + +
    + ) : ( + + )} +
    + ) +} + +export default PublicationEditModal diff --git a/src/components/Modals/PublicationModals/PublicationEditModal/index.ts b/src/components/Modals/PublicationModals/PublicationEditModal/index.ts new file mode 100644 index 000000000..116903709 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationEditModal/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationEditModal' diff --git a/src/components/Modals/PublicationModals/PublicationPackagesModal/PublicationPackagesModal.tsx b/src/components/Modals/PublicationModals/PublicationPackagesModal/PublicationPackagesModal.tsx new file mode 100644 index 000000000..c4f43874d --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationPackagesModal/PublicationPackagesModal.tsx @@ -0,0 +1,44 @@ +import { useState } from 'react' + +import Modal from '@/components/Modal' +import useModalStore from '@/store/modalStore' + +import { StepOne, StepTwo } from './steps' + +const steps = [StepOne, StepTwo] + +interface PublicationPackagesModalProps { + initialStep?: number +} + +const PublicationPackagesModal = ({ + initialStep = 1, +}: PublicationPackagesModalProps) => { + const setActiveModal = useModalStore(state => state.setActiveModal) + + const [step, setStep] = useState(initialStep) + + const CurrentStep = steps[step - 1] + + const handleClose = () => { + setActiveModal(null) + + // Wait for modal animation to finish before resetting step + setTimeout(() => { + setStep(initialStep) + }, 300) + } + + return ( + + + + ) +} + +export default PublicationPackagesModal diff --git a/src/components/Modals/PublicationModals/PublicationPackagesModal/index.ts b/src/components/Modals/PublicationModals/PublicationPackagesModal/index.ts new file mode 100644 index 000000000..bc5b16896 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationPackagesModal/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationPackagesModal' diff --git a/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/StepOne.tsx b/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/StepOne.tsx new file mode 100644 index 000000000..b25dfef26 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/StepOne.tsx @@ -0,0 +1,65 @@ +import { Button, Divider, Heading, Text } from '@pzh-ui/components' +import { useParams } from 'react-router-dom' + +import { + useModulesModuleIdStatusGet, + usePublicationEnvironmentsGet, +} from '@/api/fetchers' +import { ModalStateMap } from '@/components/Modals/types' +import PublicationPackages from '@/components/Publications/PublicationPackages' +import useModalStore from '@/store/modalStore' + +import { StepProps } from './types' + +export const StepOne = ({ setStep }: StepProps) => { + const { moduleId } = useParams() + + const modalState = useModalStore( + state => state.modalStates['publicationPackages'] + ) as ModalStateMap['publicationPackages'] + const setActiveModal = useModalStore(state => state.setActiveModal) + + const { data: status } = useModulesModuleIdStatusGet(parseInt(moduleId!), { + query: { + enabled: !!moduleId, + select: data => + data.find( + item => item.ID === modalState?.version.Module_Status.ID + ), + }, + }) + + const { data: environment } = usePublicationEnvironmentsGet(undefined, { + query: { + select: data => + data.results.find( + environment => + environment.UUID === + modalState.publication.Environment_UUID + ), + }, + }) + + return ( +
    + Levering + + + {status?.Status} -{' '} + {modalState?.version.Bill_Metadata.Official_Title} ( + {environment?.Can_Publicate ? 'Officiële' : 'Interne'}{' '} + publicatie) + + setStep(2)} + {...modalState?.version} + /> + +
    + +
    +
    + ) +} diff --git a/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/StepTwo.tsx b/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/StepTwo.tsx new file mode 100644 index 000000000..9a5018e5c --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/StepTwo.tsx @@ -0,0 +1,201 @@ +import { + Button, + Divider, + FormikDate, + FormikInput, + FormikRte, + Heading, +} from '@pzh-ui/components' +import { useQueryClient } from '@tanstack/react-query' +import { Form, Formik } from 'formik' +import { isNull, isUndefined, mergeWith } from 'lodash' + +import { + usePublicationAnnouncementsAnnouncementUuidGet, + usePublicationAnnouncementsAnnouncementUuidPost, +} from '@/api/fetchers' +import { PublicationAnnouncementEdit } from '@/api/fetchers.schemas' +import { LoaderSpinner } from '@/components/Loader' +import { ModalStateMap } from '@/components/Modals/types' +import useModalStore from '@/store/modalStore' + +import { StepProps } from './types' + +export const StepTwo = ({ setStep }: StepProps) => { + const queryClient = useQueryClient() + + const modalState = useModalStore( + state => state.modalStates['publicationPackages'] + ) as ModalStateMap['publicationPackages'] + + const { data, isFetching, queryKey } = + usePublicationAnnouncementsAnnouncementUuidGet( + modalState?.announcementUuid, + { + query: { + enabled: !!modalState?.announcementUuid, + }, + } + ) + + const { mutate, isError } = usePublicationAnnouncementsAnnouncementUuidPost( + { + mutation: { + onSuccess: () => { + queryClient + .invalidateQueries({ queryKey }) + .finally(() => setStep(1)) + }, + }, + } + ) + + const handleSubmit = (payload: PublicationAnnouncementEdit) => { + mutate({ + announcementUuid: modalState?.announcementUuid, + data: payload, + }) + } + + const initialValues = { + Content: { + Texts: [ + { + Title: null, + }, + { + Title: 'Planning', + }, + { + Title: 'Reageren', + }, + { + Title: 'Inzien', + }, + { + Title: 'Sluiting', + }, + ], + }, + } as PublicationAnnouncementEdit + + const mergedValues = mergeWith( + initialValues, + data, + (objValue, srcValue) => { + if (isUndefined(objValue) || isNull(objValue)) { + return srcValue + } + } + ) + + return ( + <> + + Kennisgeving + + + {isFetching ? ( +
    + +
    + ) : ( + + {({ isSubmitting }) => ( + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + +
    + + +
    + + )} +
    + )} + + ) +} diff --git a/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/index.ts b/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/index.ts new file mode 100644 index 000000000..33a926f09 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/index.ts @@ -0,0 +1,2 @@ +export * from './StepOne' +export * from './StepTwo' diff --git a/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/types.ts b/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/types.ts new file mode 100644 index 000000000..5d0e798d7 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationPackagesModal/steps/types.ts @@ -0,0 +1,3 @@ +export interface StepProps { + setStep: (step: number) => void +} diff --git a/src/components/Modals/PublicationModals/PublicationVersionAbortModal/PublicationVersionAbortModal.tsx b/src/components/Modals/PublicationModals/PublicationVersionAbortModal/PublicationVersionAbortModal.tsx new file mode 100644 index 000000000..fb6273e32 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationVersionAbortModal/PublicationVersionAbortModal.tsx @@ -0,0 +1,67 @@ +import { Button, Divider, Text } from '@pzh-ui/components' +import { useParams } from 'react-router-dom' + +import { + useModulesModuleIdStatusGet, + usePublicationEnvironmentsGet, +} from '@/api/fetchers' +import Modal from '@/components/Modal/Modal' +import useModalStore from '@/store/modalStore' + +import { ModalStateMap } from '../../types' + +const PublicationVersionAbortModal = () => { + const { moduleId } = useParams() + + const setActiveModal = useModalStore(state => state.setActiveModal) + const modalState = useModalStore( + state => state.modalStates['publicationVersionAbort'] + ) as ModalStateMap['publicationVersionAbort'] + + const { data: status } = useModulesModuleIdStatusGet(parseInt(moduleId!), { + query: { + enabled: !!moduleId, + select: data => + data.find( + item => item.ID === modalState?.version.Module_Status.ID + ), + }, + }) + + const { data: environment } = usePublicationEnvironmentsGet(undefined, { + query: { + select: data => + data.results.find( + environment => + environment.UUID === + modalState.publication.Environment_UUID + ), + }, + }) + + return ( + +
    + + {status?.Status} -{' '} + {modalState?.version.Bill_Metadata.Official_Title} ( + {environment?.Can_Publicate ? 'Officiële' : 'Interne'}{' '} + publicatie) + + {/* */} +
    + +
    + +
    +
    + ) +} + +export default PublicationVersionAbortModal diff --git a/src/components/Modals/PublicationModals/PublicationVersionAbortModal/index.ts b/src/components/Modals/PublicationModals/PublicationVersionAbortModal/index.ts new file mode 100644 index 000000000..328d4e50b --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationVersionAbortModal/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationVersionAbortModal' diff --git a/src/components/Modals/PublicationModals/PublicationVersionAddModal/PublicationVersionAddModal.tsx b/src/components/Modals/PublicationModals/PublicationVersionAddModal/PublicationVersionAddModal.tsx new file mode 100644 index 000000000..8803823e2 --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationVersionAddModal/PublicationVersionAddModal.tsx @@ -0,0 +1,56 @@ +import { useQueryClient } from '@tanstack/react-query' +import { toFormikValidationSchema } from 'zod-formik-adapter' + +import { + getPublicationsPublicationUuidVersionsGetQueryKey, + usePublicationsPublicationUuidVersionPost, +} from '@/api/fetchers' +import { PublicationVersionCreate } from '@/api/fetchers.schemas' +import Modal from '@/components/Modal/Modal' +import PublicationVersionForm from '@/components/Publications/PublicationVersionForm' +import useModalStore from '@/store/modalStore' +import { PUBLICATION_VERSION_ADD_SCHEMA } from '@/validation/publication' + +import { ModalStateMap } from '../../types' + +const PublicationVersionAddModal = () => { + const queryClient = useQueryClient() + + const setActiveModal = useModalStore(state => state.setActiveModal) + const modalState = useModalStore( + state => state.modalStates['publicationVersionAdd'] + ) as ModalStateMap['publicationVersionAdd'] + + const { mutate } = usePublicationsPublicationUuidVersionPost({ + mutation: { + onSuccess: () => { + queryClient.invalidateQueries({ + queryKey: getPublicationsPublicationUuidVersionsGetQueryKey( + modalState.publication.UUID + ), + }) + + setActiveModal(null) + }, + }, + }) + + const handleFormSubmit = (payload: PublicationVersionCreate) => { + mutate({ publicationUuid: modalState.publication.UUID, data: payload }) + } + + return ( + + + + ) +} + +export default PublicationVersionAddModal diff --git a/src/components/Modals/PublicationModals/PublicationVersionAddModal/index.ts b/src/components/Modals/PublicationModals/PublicationVersionAddModal/index.ts new file mode 100644 index 000000000..7fe4fbd3f --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationVersionAddModal/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationVersionAddModal' diff --git a/src/components/Modals/PublicationModals/PublicationVersionEditModal/PublicationVersionEditModal.tsx b/src/components/Modals/PublicationModals/PublicationVersionEditModal/PublicationVersionEditModal.tsx new file mode 100644 index 000000000..d98baf5ad --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationVersionEditModal/PublicationVersionEditModal.tsx @@ -0,0 +1,93 @@ +import { useQueryClient } from '@tanstack/react-query' +import { toFormikValidationSchema } from 'zod-formik-adapter' + +import { + getPublicationVersionsVersionUuidGetQueryKey, + getPublicationsPublicationUuidVersionsGetQueryKey, + usePublicationVersionsVersionUuidGet, + usePublicationVersionsVersionUuidPost, +} from '@/api/fetchers' +import { PublicationVersionEdit } from '@/api/fetchers.schemas' +import { LoaderSpinner } from '@/components/Loader' +import Modal from '@/components/Modal/Modal' +import PublicationVersionForm from '@/components/Publications/PublicationVersionForm' +import useModalStore from '@/store/modalStore' +import { PUBLICATION_VERSION_EDIT_SCHEMA } from '@/validation/publication' + +import { ModalStateMap } from '../../types' + +const PublicationVersionEditModal = () => { + const queryClient = useQueryClient() + + const setActiveModal = useModalStore(state => state.setActiveModal) + const modalState = useModalStore( + state => state.modalStates['publicationVersionEdit'] + ) as ModalStateMap['publicationVersionEdit'] + + const { data, isFetching } = usePublicationVersionsVersionUuidGet( + modalState?.UUID, + { + query: { + enabled: !!modalState?.publication.UUID && !!modalState?.UUID, + }, + } + ) + + const { mutate } = usePublicationVersionsVersionUuidPost({ + mutation: { + onSuccess: () => { + queryClient.invalidateQueries({ + queryKey: getPublicationsPublicationUuidVersionsGetQueryKey( + modalState.publication.UUID + ), + }) + queryClient.invalidateQueries({ + queryKey: getPublicationVersionsVersionUuidGetQueryKey( + modalState.UUID + ), + }) + + setActiveModal(null) + }, + }, + }) + + const handleFormSubmit = (payload: PublicationVersionEdit) => { + if (payload.Announcement_Date && payload.Procedural) { + payload.Procedural.Procedural_Announcement_Date = + payload.Announcement_Date + } + + mutate({ + versionUuid: modalState.UUID, + data: payload, + }) + } + + const initialValues = { + ...data, + Module_Status_ID: data?.Module_Status.ID, + } as PublicationVersionEdit + + return ( + + {isFetching ? ( +
    + +
    + ) : ( + + )} +
    + ) +} + +export default PublicationVersionEditModal diff --git a/src/components/Modals/PublicationModals/PublicationVersionEditModal/index.ts b/src/components/Modals/PublicationModals/PublicationVersionEditModal/index.ts new file mode 100644 index 000000000..3fdfc207d --- /dev/null +++ b/src/components/Modals/PublicationModals/PublicationVersionEditModal/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationVersionEditModal' diff --git a/src/components/Modals/PublicationModals/index.ts b/src/components/Modals/PublicationModals/index.ts new file mode 100644 index 000000000..5fffe1aca --- /dev/null +++ b/src/components/Modals/PublicationModals/index.ts @@ -0,0 +1,15 @@ +import PublicationAddModal from './PublicationAddModal' +import PublicationEditModal from './PublicationEditModal' +import PublicationPackagesModal from './PublicationPackagesModal' +import PublicationVersionAbortModal from './PublicationVersionAbortModal' +import PublicationVersionAddModal from './PublicationVersionAddModal' +import PublicationVersionEditModal from './PublicationVersionEditModal' + +export { + PublicationAddModal, + PublicationEditModal, + PublicationPackagesModal, + PublicationVersionAbortModal, + PublicationVersionAddModal, + PublicationVersionEditModal, +} diff --git a/src/components/Modals/UserModals/UserAddModal/steps/StepTwo.tsx b/src/components/Modals/UserModals/UserAddModal/steps/StepTwo.tsx index 69cb06b45..8feaea5ed 100644 --- a/src/components/Modals/UserModals/UserAddModal/steps/StepTwo.tsx +++ b/src/components/Modals/UserModals/UserAddModal/steps/StepTwo.tsx @@ -5,7 +5,7 @@ import { StepProps } from './types' export const StepTwo = ({ createdUser }: StepProps) => { const mailTo = { subject: 'Nieuw wachtwoord', - body: `Je wachtwoord voor https://omgevingsbeleid.zuid-holland.nl is aangepast, je nieuwe wachtwoord is:\n${createdUser?.Password}`, + body: `Je wachtwoord voor https://omgevingsbeleid.zuid-holland.nl is aangepast, je nieuwe wachtwoord is:%0D%0A${createdUser?.Password}`, } return ( @@ -21,7 +21,7 @@ export const StepTwo = ({ createdUser }: StepProps) => {
    + className="text-pzh-green-500 underline hover:text-pzh-green-900"> E-mail naar {createdUser?.Email} diff --git a/src/components/Modals/UserModals/UserGeneratePasswordModal/steps/StepTwo.tsx b/src/components/Modals/UserModals/UserGeneratePasswordModal/steps/StepTwo.tsx index de2ba2ecd..b90fc1a04 100644 --- a/src/components/Modals/UserModals/UserGeneratePasswordModal/steps/StepTwo.tsx +++ b/src/components/Modals/UserModals/UserGeneratePasswordModal/steps/StepTwo.tsx @@ -5,7 +5,7 @@ import { StepProps } from './types' export const StepTwo = ({ newPassword, user }: StepProps) => { const mailTo = { subject: 'Nieuw wachtwoord', - body: `Je wachtwoord voor https://omgevingsbeleid.zuid-holland.nl is aangepast, je nieuwe wachtwoord is:\n${newPassword}`, + body: `Je wachtwoord voor https://omgevingsbeleid.zuid-holland.nl is aangepast, je nieuwe wachtwoord is:%0D%0A${newPassword}`, } return ( @@ -21,7 +21,7 @@ export const StepTwo = ({ newPassword, user }: StepProps) => {
    + className="text-pzh-green-500 underline hover:text-pzh-green-900"> E-mail naar {user?.Email} diff --git a/src/components/Modals/types.ts b/src/components/Modals/types.ts index 918e2f766..7186a2a41 100644 --- a/src/components/Modals/types.ts +++ b/src/components/Modals/types.ts @@ -1,3 +1,13 @@ +import { + DocumentType, + Module, + ModuleObjectShort, + ProcedureType, + Publication, + PublicationEnvironment, + PublicationVersionShort, +} from '@/api/fetchers.schemas' + export type ModalType = | 'regulationAdd' | 'regulationDelete' @@ -15,7 +25,7 @@ export type ModalType = | 'objectDetails' | 'objectAddConnection' | 'objectDelete' - | 'objectPerson' + | 'objectGeneralInformation' | 'objectRelationAdd' | 'objectRelationApproved' | 'objectRelationReceived' @@ -23,3 +33,42 @@ export type ModalType = | 'userAdd' | 'userEdit' | 'userPasswordReset' + | 'publicationAdd' + | 'publicationEdit' + | 'publicationVersionAdd' + | 'publicationVersionEdit' + | 'publicationPackages' + | 'publicationVersionAbort' + | 'publicationAnnouncementPackages' + +export interface ModalStateMap { + moduleEditObject: { + object: ModuleObjectShort + } + moduleDeleteObject: { + object: ModuleObjectShort + module: Module + } + publicationAdd: { + documentType: DocumentType + procedureType: ProcedureType + environmentUUID: string + } + publicationEdit: { publication: Publication } + publicationVersionAdd: { publication: Publication } + publicationVersionEdit: { publication: Publication; UUID: string } + publicationPackages: { + publication: Publication + version: PublicationVersionShort + announcementUuid: string + } + publicationAnnouncementPackages: { + environment?: PublicationEnvironment + version: PublicationVersionShort + announcementUuid: string + } + publicationVersionAbort: { + publication: Publication + version: PublicationVersionShort + } +} diff --git a/src/components/Modules/ModuleCard/ModuleCard.test.tsx b/src/components/Modules/ModuleCard/ModuleCard.test.tsx index b422a89cb..a46246772 100644 --- a/src/components/Modules/ModuleCard/ModuleCard.test.tsx +++ b/src/components/Modules/ModuleCard/ModuleCard.test.tsx @@ -1,12 +1,12 @@ import { render, screen } from '@testing-library/react' import { MemoryRouter } from 'react-router-dom' -import { getModulesModuleIdGetMock } from '@/api/fetchers.msw' +import { getModulesModuleIdGetResponseMock } from '@/api/fetchers.msw' import ModuleCard from './ModuleCard' describe('ModuleCard', () => { - const props = getModulesModuleIdGetMock().Module + const props = getModulesModuleIdGetResponseMock().Module const setup = () => { render( diff --git a/src/components/Modules/ModuleCard/ModuleCard.tsx b/src/components/Modules/ModuleCard/ModuleCard.tsx index 446162344..f02ecc48e 100644 --- a/src/components/Modules/ModuleCard/ModuleCard.tsx +++ b/src/components/Modules/ModuleCard/ModuleCard.tsx @@ -1,4 +1,5 @@ import { Badge, Button, Heading, Text } from '@pzh-ui/components' +import { Link } from 'react-router-dom' import { Module, ModuleShort } from '@/api/fetchers.schemas' import Avatar from '@/components/Avatar' @@ -41,12 +42,13 @@ const ModuleCard = (props: Module | ModuleShort) => {
    {!Closed && ( )}
    diff --git a/src/components/Modules/ModuleCompleteCard/ModuleCompleteCard.tsx b/src/components/Modules/ModuleCompleteCard/ModuleCompleteCard.tsx index adac28a26..bb24e48f0 100644 --- a/src/components/Modules/ModuleCompleteCard/ModuleCompleteCard.tsx +++ b/src/components/Modules/ModuleCompleteCard/ModuleCompleteCard.tsx @@ -1,4 +1,5 @@ -import { Button, Text } from '@pzh-ui/components' +import { Button, Text, Tooltip } from '@pzh-ui/components' +import { CircleInfo } from '@pzh-ui/icons' import useModalStore from '@/store/modalStore' @@ -9,18 +10,28 @@ const ModuleCompleteCard = () => {
    - + Module afsluiten + Is er een besluit vastgesteld? Sluit dan de module af. - +
    + + + + +
    ) } diff --git a/src/components/Modules/ModuleItem/ModuleItem.tsx b/src/components/Modules/ModuleItem/ModuleItem.tsx index b2d34dfb4..bbb24c3cd 100644 --- a/src/components/Modules/ModuleItem/ModuleItem.tsx +++ b/src/components/Modules/ModuleItem/ModuleItem.tsx @@ -1,6 +1,7 @@ import { Divider, Hyperlink, Text } from '@pzh-ui/components' import { CircleInfo, EllipsisVertical } from '@pzh-ui/icons' import { useMemo, useState } from 'react' +import { Link } from 'react-router-dom' import { ModuleObjectShort } from '@/api/fetchers.schemas' import Dropdown, { DropdownItem } from '@/components/Dropdown' @@ -149,16 +150,20 @@ const ModuleItem = ({ canPatchObjectInModule && !isLocked && isActive && ( - + + + Bewerken + + )} {hasViewButton && !hasRights && ( - + + + Bekijken + + )} {!!dropdownItems.length ? ( @@ -170,6 +175,7 @@ const ModuleItem = ({ data-testid="module-item-menu"> + void } const ModuleItemList = ({ objects, ...rest }: ModuleItemListProps) => { const { user } = useAuth() - const { canEditModule, canPatchObjectInModule, canAddNewObjectToModule } = usePermissions() + const { canEditModule, canPatchObjectInModule, canAddNewObjectToModule } = + usePermissions() const { isLocked } = useModule() /** @@ -66,7 +64,9 @@ const ModuleItemList = ({ objects, ...rest }: ModuleItemListProps) => { title="Jouw onderdelen in deze module" noResultsText="Je hebt nog geen onderdelen in deze module" hasEditButton={canPatchObjectInModule && !isLocked} - hasViewButton={canPatchObjectInModule && !canAddNewObjectToModule} + hasViewButton={ + canPatchObjectInModule && !canAddNewObjectToModule + } {...rest} /> @@ -105,7 +105,6 @@ interface ItemListProps extends ModuleItemListProps { const ItemList = ({ objects, - setModuleContext, module, title, noResultsText, @@ -116,7 +115,7 @@ const ItemList = ({ return ( <> - + {title} {!!objects?.length ? ( @@ -131,19 +130,17 @@ const ItemList = ({ return ( { - setModuleContext({ + editCallback={() => + setActiveModal('moduleEditObject', { object, }) - setActiveModal('moduleEditObject') - }} - deleteCallback={() => { - setModuleContext({ + } + deleteCallback={() => + setActiveModal('moduleDeleteObject', { object, module, }) - setActiveModal('moduleDeleteObject') - }} + } viewCallback={() => window .open( diff --git a/src/components/Modules/ModuleLock/ModuleLock.tsx b/src/components/Modules/ModuleLock/ModuleLock.tsx index 6aa733c2a..d502ce6e8 100644 --- a/src/components/Modules/ModuleLock/ModuleLock.tsx +++ b/src/components/Modules/ModuleLock/ModuleLock.tsx @@ -20,7 +20,7 @@ const ModuleLock = () => { if (!canEditModule && !isModuleManager && isLocked) { return } else if (!canEditModule && !isModuleManager && !isLocked) { - return + return } return ( @@ -64,10 +64,11 @@ interface LockedNotificationProps { export const LockedNotification = ({ isDetail }: LockedNotificationProps) => ( <> {!isDetail && } - - De module is op dit moment gelockt, er kunnen geen wijzigingen - worden aangebracht. - + ) diff --git a/src/components/Modules/ModulePart/ModulePart.tsx b/src/components/Modules/ModulePart/ModulePart.tsx index 7f1348912..3be88be09 100644 --- a/src/components/Modules/ModulePart/ModulePart.tsx +++ b/src/components/Modules/ModulePart/ModulePart.tsx @@ -1,6 +1,6 @@ import { Text, Tooltip } from '@pzh-ui/components' import { TrashCan } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' import { ModuleObjectShort } from '@/api/fetchers.schemas' import { getObjectActionText } from '@/utils/dynamicObject' @@ -40,7 +40,7 @@ const ModulePart = ({ onClick={handleRemove} className="col-span-1 ml-auto"> verwijderen - + diff --git a/src/components/Modules/ModuleTile/ModuleTile.tsx b/src/components/Modules/ModuleTile/ModuleTile.tsx index e837439c5..cc289f688 100644 --- a/src/components/Modules/ModuleTile/ModuleTile.tsx +++ b/src/components/Modules/ModuleTile/ModuleTile.tsx @@ -29,7 +29,10 @@ const ModuleTile = ({ Title, Status, Module_ID, Closed }: Module) => { {!Closed && (
    - +
    )} diff --git a/src/components/Modules/ModuleTimeline/ModuleTimeline.tsx b/src/components/Modules/ModuleTimeline/ModuleTimeline.tsx index 2507a03b8..9a1bbecd9 100644 --- a/src/components/Modules/ModuleTimeline/ModuleTimeline.tsx +++ b/src/components/Modules/ModuleTimeline/ModuleTimeline.tsx @@ -1,9 +1,8 @@ -import { Badge, Text } from '@pzh-ui/components' -import classNames from 'classnames' +import { Badge, Text, formatDate } from '@pzh-ui/components' +import classNames from 'clsx' import { useMemo } from 'react' import { ModuleStatus } from '@/api/fetchers.schemas' -import formatDate from '@/utils/formatDate' import { getModuleStatusColor } from '@/utils/module' interface ModuleTimelineProps { @@ -19,7 +18,7 @@ const ModuleTimeline = ({ statusHistory }: ModuleTimelineProps) => { return (
    - + Tijdlijn @@ -41,9 +40,9 @@ const ModuleTimeline = ({ statusHistory }: ModuleTimelineProps) => { 'dd-MM-yyyy' )} -
    +
    {hasPeer && ( -
    +
    )}
    diff --git a/src/components/Modules/ModuleVersionCard/ModuleVersionCard.tsx b/src/components/Modules/ModuleVersionCard/ModuleVersionCard.tsx index fbde96b5d..a66e96a00 100644 --- a/src/components/Modules/ModuleVersionCard/ModuleVersionCard.tsx +++ b/src/components/Modules/ModuleVersionCard/ModuleVersionCard.tsx @@ -75,7 +75,7 @@ const ModuleVersionCard = () => { return (
    - + Versie aanmaken diff --git a/src/components/Navigation/Navigation.tsx b/src/components/Navigation/Navigation.tsx index 4b6362e94..21edf91c0 100644 --- a/src/components/Navigation/Navigation.tsx +++ b/src/components/Navigation/Navigation.tsx @@ -1,7 +1,7 @@ import { Badge } from '@pzh-ui/components' import { ArrowRightFromBracket, Eye } from '@pzh-ui/icons' import { useClickOutside } from '@react-hookz/web' -import classNames from 'classnames' +import classNames from 'clsx' import { ReactNode, useRef, useState } from 'react' import { Link } from 'react-router-dom' @@ -44,7 +44,7 @@ const Navigation = () => { { sticky: !isAdvancedSearchPage, relative: isAdvancedSearchPage, - 'bg-pzh-blue': isOpen || userIsInMuteerEnvironment, + 'bg-pzh-blue-500': isOpen || userIsInMuteerEnvironment, 'bg-white': !isOpen && !userIsInMuteerEnvironment, } )} @@ -160,7 +160,7 @@ const MenuIcon = ({ className={classNames( 'flex items-center justify-center rounded font-bold transition duration-300 ease-in', { - 'text-pzh-blue hover:text-pzh-blue-dark': color === 'blue', + 'text-pzh-blue hover:text-pzh-blue-900': color === 'blue', 'text-pzh-white': color === 'white', } )} diff --git a/src/components/NavigationPopupMenu/NavigationPopupMenu.tsx b/src/components/NavigationPopupMenu/NavigationPopupMenu.tsx index c60958b07..8517c32ae 100644 --- a/src/components/NavigationPopupMenu/NavigationPopupMenu.tsx +++ b/src/components/NavigationPopupMenu/NavigationPopupMenu.tsx @@ -1,7 +1,7 @@ import { Heading, Text } from '@pzh-ui/components' import { AngleRight, Bars, Xmark } from '@pzh-ui/icons' import { useKeyboardEvent, useWindowSize } from '@react-hookz/web' -import classNames from 'classnames' +import classNames from 'clsx' import { useEffect, useState } from 'react' import { Link } from 'react-router-dom' @@ -58,7 +58,7 @@ const NavigationPopupMenu = ({ {isMobile ? (
    setIsOpen(!isOpen)}> {isOpen ? ( setIsOpen(false)} - className="text-pzh-green underline hover:text-pzh-green-dark"> + className="text-pzh-green-500 underline hover:text-pzh-green-900"> Zoek op de kaart @@ -169,8 +169,9 @@ const ToggleMenuButton = ({ 'relative mb-1 flex items-center justify-center rounded px-2 pb-1 pt-2 transition-colors duration-100 ease-in lg:-mr-6', { hidden: isMobile, - 'text-white hover:bg-pzh-gray-100 hover:text-pzh-blue': isOpen, - 'text-pzh-blue hover:bg-pzh-gray-100 hover:text-pzh-blue-dark': + 'text-white hover:bg-pzh-gray-100 hover:text-pzh-blue-500': + isOpen, + 'text-pzh-blue-500 hover:bg-pzh-gray-100 hover:text-pzh-blue-900': !isOpen, } )} @@ -204,7 +205,7 @@ const ListItem = ({ }: ListItemProps) => { if (targetBlank) { return ( -
  • +
  • +
  • {
    ), diff --git a/src/components/Network/NetworkGraphButtons/NetworkGraphButtons.tsx b/src/components/Network/NetworkGraphButtons/NetworkGraphButtons.tsx index 7ceed0cfb..bf35297b3 100644 --- a/src/components/Network/NetworkGraphButtons/NetworkGraphButtons.tsx +++ b/src/components/Network/NetworkGraphButtons/NetworkGraphButtons.tsx @@ -1,6 +1,6 @@ import { Divider } from '@pzh-ui/components' import { Minus, Plus, RotateLeft } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' import useNetworkStore from '@/store/networkStore' @@ -11,7 +11,7 @@ const NetworkGraphButtons = () => {
    + )} + {canViewPublicationPackage && ( + + )} + +
    +
    +
    +
    + + + ) +} + +export default PublicationVersions diff --git a/src/components/Publications/PublicationVersions/index.ts b/src/components/Publications/PublicationVersions/index.ts new file mode 100644 index 000000000..fff16603f --- /dev/null +++ b/src/components/Publications/PublicationVersions/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationVersions' diff --git a/src/components/Publications/Publications.tsx b/src/components/Publications/Publications.tsx new file mode 100644 index 000000000..4cf183394 --- /dev/null +++ b/src/components/Publications/Publications.tsx @@ -0,0 +1,165 @@ +import { Button, Heading } from '@pzh-ui/components' +import { Minus, Plus } from '@pzh-ui/icons' +import classNames from 'clsx' +import { useState } from 'react' +import { useParams } from 'react-router-dom' + +import { + usePublicationEnvironmentsGet, + usePublicationsGet, +} from '@/api/fetchers' +import { DocumentType, ProcedureType } from '@/api/fetchers.schemas' + +import { LoaderCard } from '../Loader' +import Publication from './Publication' +import PublicationEnvironmentAction from './PublicationEnvironmentAction' + +const PROCEDURE_TYPE = { + draft: 'Ontwerp', + final: 'Definitief', +} + +interface PublicationsProps { + type: DocumentType +} + +const Publications = ({ type }: PublicationsProps) => ( +
    + + {type} + + +
    + {Object.entries(ProcedureType).map(([key, value]) => ( + + ))} +
    +
    +) + +interface PublicationCollection { + procedureType: ProcedureType + documentType: DocumentType +} + +const PublicationCollection = ({ + procedureType, + documentType, +}: PublicationCollection) => { + const { moduleId } = useParams() + + const [isOpen, setIsOpen] = useState(false) + + const { data: environments, isFetching: environmentsFetching } = + usePublicationEnvironmentsGet({ + is_active: true, + }) + + const { data, isFetching: publicationsFetching } = usePublicationsGet( + { document_type: documentType, module_id: parseInt(moduleId!) }, + { + query: { + enabled: !!moduleId, + select: data => + data.results.filter( + publication => + publication.Procedure_Type === procedureType + ), + }, + } + ) + + return ( +
    +
    + + {PROCEDURE_TYPE[procedureType]} + +
    + + {environmentsFetching || publicationsFetching ? ( + + ) : !isOpen ? ( +
    + {environments?.results.map(environment => ( +
    + + publication.Environment_UUID === + environment.UUID + ) + ? data?.find( + publication => + publication.Environment_UUID === + environment.UUID + )?.Is_Locked + ? 'success' + : 'pending' + : undefined + } + onClick={() => setIsOpen(true)} + {...environment} + /> +
    + ))} +
    + ) : ( + <> + {!!data?.length && + data.map(publication => ( + + ))} + {environments?.results + .filter( + environment => + !data?.find( + publication => + publication.Environment_UUID === + environment.UUID + ) + ) + .map(environment => ( + + ))} + + )} +
    + ) +} + +export default Publications diff --git a/src/components/Publications/index.ts b/src/components/Publications/index.ts new file mode 100644 index 000000000..53ba79442 --- /dev/null +++ b/src/components/Publications/index.ts @@ -0,0 +1 @@ +export { default } from './Publications' diff --git a/src/components/Regulations/RecursiveAccordion/RecursiveAccordion.tsx b/src/components/Regulations/RecursiveAccordion/RecursiveAccordion.tsx index 39d0700ac..d932b9a33 100644 --- a/src/components/Regulations/RecursiveAccordion/RecursiveAccordion.tsx +++ b/src/components/Regulations/RecursiveAccordion/RecursiveAccordion.tsx @@ -1,11 +1,11 @@ -import classNames from 'classnames' - import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, -} from '@/components/Accordion' +} from '@pzh-ui/components' +import classNames from 'clsx' + import DropArea from '@/components/DropArea' import * as sections from '@/config/regulations/sections' import { Structure } from '@/config/regulations/types' @@ -51,9 +51,10 @@ const RecursiveAccordion = ({ return ( + value={(hasCallback && activeItem) || undefined} + collapsible> {structure.map( ( { @@ -81,8 +82,7 @@ const RecursiveAccordion = ({ return ( )} setActiveItem(uuid) + : undefined + } className={classNames('overflow-hidden py-2', { - 'active:animate-pulse active:cursor-grabbing active:bg-pzh-blue-light/10': + 'active:animate-pulse active:cursor-grabbing active:bg-pzh-blue-100/10': expanded && structure.length > 1, 'pr-4': !!!section.children?.length, })} - classNameButton={classNames({ - 'after:w-full': structure.length <= 1, - 'after:w-[calc(100%-36px)]': - structure.length > 1, - hidden: !expanded, - })} {...dragProps([...parentIndices, index])}> 1} @@ -136,7 +135,7 @@ const RecursiveAccordion = ({ className={classNames( structure.length > 1 ? 'pl-[72px]' - : 'pl-[40px]', + : 'pl-10', { hidden: !expanded } )}> {!!children?.length && ( diff --git a/src/components/Regulations/RecursiveAccordion/components/AddItem/AddItem.tsx b/src/components/Regulations/RecursiveAccordion/components/AddItem/AddItem.tsx index d8e7b0db2..15d89b763 100644 --- a/src/components/Regulations/RecursiveAccordion/components/AddItem/AddItem.tsx +++ b/src/components/Regulations/RecursiveAccordion/components/AddItem/AddItem.tsx @@ -28,7 +28,7 @@ const AddItem = ({ return (
    - + Invoegen in {section.defaults.demonstrative}{' '} {section.defaults.singular}: diff --git a/src/components/Regulations/RecursiveAccordion/components/Handle/Handle.tsx b/src/components/Regulations/RecursiveAccordion/components/Handle/Handle.tsx index 5f82091cb..f0457f0a5 100644 --- a/src/components/Regulations/RecursiveAccordion/components/Handle/Handle.tsx +++ b/src/components/Regulations/RecursiveAccordion/components/Handle/Handle.tsx @@ -1,6 +1,6 @@ import { Button, Text } from '@pzh-ui/components' import { GripDotsVertical, PenToSquare, TrashCan } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' import { Section, SectionType } from '@/config/regulations/sections/types' import useModalStore from '@/store/modalStore' @@ -50,7 +50,7 @@ const Handle = ({ {isDraggable && expanded && ( )}
    @@ -94,14 +97,16 @@ const Handle = ({
    diff --git a/src/components/Regulations/RegulationForm/RegulationForm.tsx b/src/components/Regulations/RegulationForm/RegulationForm.tsx index 663a2c593..7739db08e 100644 --- a/src/components/Regulations/RegulationForm/RegulationForm.tsx +++ b/src/components/Regulations/RegulationForm/RegulationForm.tsx @@ -52,7 +52,7 @@ const RegulationForm = ({ {title} @@ -73,7 +73,7 @@ const RegulationForm = ({ {section.contents?.length && ( <> - + Inhoud diff --git a/src/components/Regulations/RegulationForm/components/FieldGroup.tsx b/src/components/Regulations/RegulationForm/components/FieldGroup.tsx index 81c32bb2e..998c1fb24 100644 --- a/src/components/Regulations/RegulationForm/components/FieldGroup.tsx +++ b/src/components/Regulations/RegulationForm/components/FieldGroup.tsx @@ -70,7 +70,7 @@ const FieldGroup = ({ name, label, index, ...props }: RegulationFieldProps) => { })}
    - + Invoegen in deze groep: {children?.map(child => { diff --git a/src/components/Regulations/RegulationForm/components/FieldLabel.tsx b/src/components/Regulations/RegulationForm/components/FieldLabel.tsx index 75beca25f..a1b38023f 100644 --- a/src/components/Regulations/RegulationForm/components/FieldLabel.tsx +++ b/src/components/Regulations/RegulationForm/components/FieldLabel.tsx @@ -1,6 +1,6 @@ import { Text } from '@pzh-ui/components' import { GripDotsVertical, Xmark } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' import { RegulationFieldProps } from './types' @@ -14,7 +14,7 @@ const FieldLabel = ({ }: Omit & { name?: string }) => (
    @@ -22,7 +22,7 @@ const FieldLabel = ({ {isDraggable && ( )} @@ -31,11 +31,11 @@ const FieldLabel = ({
    ) diff --git a/src/components/Regulations/RegulationPreview/RegulationPreview.tsx b/src/components/Regulations/RegulationPreview/RegulationPreview.tsx index f60e5a206..69cd81eb8 100644 --- a/src/components/Regulations/RegulationPreview/RegulationPreview.tsx +++ b/src/components/Regulations/RegulationPreview/RegulationPreview.tsx @@ -48,7 +48,7 @@ const Preview = ({ {section.defaults.singularCapitalize} {parentIndex}: {title}
    ) : ( - + {section.defaults.singularCapitalize} {index}: {title} )} diff --git a/src/components/Regulations/Sidebar/Sidebar.tsx b/src/components/Regulations/Sidebar/Sidebar.tsx index e027f75d4..db199c3b3 100644 --- a/src/components/Regulations/Sidebar/Sidebar.tsx +++ b/src/components/Regulations/Sidebar/Sidebar.tsx @@ -1,6 +1,6 @@ import { Button, Heading, PillButton } from '@pzh-ui/components' import { AngleRight, Plus } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' import { useCallback, useState } from 'react' import regulation from '@/config/regulations' @@ -51,7 +51,7 @@ const Sidebar = () => { ) : ( activeTab !== 'latest' && ( @@ -303,6 +302,7 @@ const TabTable = ({ type, activeTab, model, query }: TabTableProps) => { enableMultiSort={false} limit={!query ? PAGE_LIMIT : undefined} total={!query ? data?.total : undefined} + current={pageIndex} onPaginationChange={setPagination} state={{ sorting: sortBy, diff --git a/src/pages/protected/Modules/ModuleDetail/ModuleDetail.tsx b/src/pages/protected/Modules/ModuleDetail/ModuleDetail.tsx index 6615f96b9..35616af68 100644 --- a/src/pages/protected/Modules/ModuleDetail/ModuleDetail.tsx +++ b/src/pages/protected/Modules/ModuleDetail/ModuleDetail.tsx @@ -1,16 +1,20 @@ import { Badge, - Breadcrumbs, Button, Divider, Heading, Hyperlink, + TabItem, + Tabs, Text, } from '@pzh-ui/components' -import { useState } from 'react' +import classNames from 'clsx' +import { Fragment } from 'react' +import { Link } from 'react-router-dom' -import { Module, ModuleObjectShort } from '@/api/fetchers.schemas' +import { DocumentType, Module, ModuleObjectShort } from '@/api/fetchers.schemas' import Avatar from '@/components/Avatar' +import Breadcrumbs from '@/components/Breadcrumbs' import { LoaderContent } from '@/components/Loader' import { ModuleActivateModal, @@ -20,12 +24,20 @@ import { ModuleLockModal, ModuleObjectDeleteConfirmationModal, } from '@/components/Modals/ModuleModals' +import { + PublicationAddModal, + PublicationEditModal, + PublicationPackagesModal, + PublicationVersionAddModal, + PublicationVersionEditModal, +} from '@/components/Modals/PublicationModals' import ModuleCompleteCard from '@/components/Modules/ModuleCompleteCard' import ModuleInactiveCard from '@/components/Modules/ModuleInactiveCard' import ModuleItemList from '@/components/Modules/ModuleItemList' import ModuleLock from '@/components/Modules/ModuleLock' import ModuleTimeline from '@/components/Modules/ModuleTimeline' import ModuleVersionCard from '@/components/Modules/ModuleVersionCard' +import Publications from '@/components/Publications' import useModule from '@/hooks/useModule' import useModuleManagers from '@/hooks/useModuleManagers' import usePermissions from '@/hooks/usePermissions' @@ -40,50 +52,36 @@ export interface ModuleContext { } const ModuleDetail = () => { - const setActiveModal = useModalStore(state => state.setActiveModal) - - const { - canEditModule, - canPatchModuleStatus, - canAddExistingObjectToModule, - canAddNewObjectToModule, - } = usePermissions() - const pathName = location.pathname || '' - - const [moduleContext, setModuleContext] = useState({}) + const { canEditModule } = usePermissions() const { - data: { - Module: module, - Objects: objects, - StatusHistory: statusHistory, - } = {}, + data: { Module: module } = {}, isLoading, isModuleManager, - isLocked, - canComplete, } = useModule() const managers = useModuleManagers(module) const breadcrumbPaths = [ - { name: 'Dashboard', path: '/muteer' }, - { name: 'Modules', path: '/muteer' }, - { name: module?.Title || '', path: pathName }, + { name: 'Dashboard', to: '/muteer' }, + { name: 'Modules', to: '/muteer' }, + { name: module?.Title || '' }, ] if (isLoading || !module) return return ( -
    +
    {(canEditModule || isModuleManager) && ( - + + + Module bewerken + + )}
    @@ -105,7 +103,9 @@ const ModuleDetail = () => { />
    - + {module.Description}
    @@ -122,26 +122,70 @@ const ModuleDetail = () => { )}
    - {module.Activated ? ( - - ) : ( - - )} +
    + + + {module.Activated ? ( + + ) : ( + !canEditModule && + !isModuleManager && + )} +
    + +
    +
    + +
    + +
    +
    +
    +
    +
    + ) +} + +const TabObjects = () => { + const setActiveModal = useModalStore(state => state.setActiveModal) + + const { + canPatchModuleStatus, + canAddExistingObjectToModule, + canAddNewObjectToModule, + } = usePermissions() + + const { + data: { + Module: module, + Objects: objects, + StatusHistory: statusHistory, + } = {}, + isLoading, + isModuleManager, + isLocked, + canComplete, + } = useModule() + + if (isLoading || !module) return + + return ( + <>
    - + {(canAddExistingObjectToModule || canAddNewObjectToModule) && !isLocked && ( )} @@ -169,43 +213,54 @@ const ModuleDetail = () => { )}
    - - + + + + + + + + + + + + ) } -interface ModalsProps { - module: Module - moduleContext: ModuleContext -} +const TabDecisions = () => { + const documentTypes = Object.keys(DocumentType) as Array -const Modals = ({ moduleContext, module }: ModalsProps) => ( - <> - - - - - - - - - - - - -) + return ( + <> +
    + {documentTypes.map((type, index) => ( + + + + {index + 1 !== documentTypes.length && ( + + )} + + ))} +
    + + + + + + + {/* */} + + ) +} export default ModuleDetail diff --git a/src/pages/protected/PublicationTemplates/PublicationTemplateCreate/PublicationTemplateCreate.tsx b/src/pages/protected/PublicationTemplates/PublicationTemplateCreate/PublicationTemplateCreate.tsx new file mode 100644 index 000000000..ed5411fe0 --- /dev/null +++ b/src/pages/protected/PublicationTemplates/PublicationTemplateCreate/PublicationTemplateCreate.tsx @@ -0,0 +1,94 @@ +import { Heading } from '@pzh-ui/components' +import { useQueryClient } from '@tanstack/react-query' +import { FormikHelpers } from 'formik' +import { useMemo } from 'react' +import { useNavigate } from 'react-router-dom' + +import { + getPublicationTemplatesGetQueryKey, + usePublicationTemplatesPost, +} from '@/api/fetchers' +import { TemplateCreate } from '@/api/fetchers.schemas' +import DynamicObjectForm from '@/components/DynamicObject/DynamicObjectForm' +import { Model } from '@/config/objects/types' +import model from '@/config/publicationTemplates' +import MutateLayout from '@/templates/MutateLayout' +import handleError from '@/utils/handleError' +import { toastNotification } from '@/utils/toastNotification' + +const PublicationTemplateCreate = () => { + const queryClient = useQueryClient() + + const navigate = useNavigate() + + const { plural, pluralCapitalize, singularCapitalize } = model.defaults + + const { mutateAsync } = usePublicationTemplatesPost() + + /** + * Format initialData based on object fields + */ + const initialData = useMemo(() => { + const fields = model.dynamicSections.flatMap(section => + section.fields.map(field => field.name) + ) + + const objectData = {} as { [key in (typeof fields)[number]]: any } + + fields?.forEach(field => { + return (objectData[field] = null) + }) + + return objectData + }, []) + + const handleSubmit = ( + payload: TemplateCreate, + helpers: FormikHelpers + ) => { + mutateAsync( + { data: payload }, + { + onSuccess: () => { + queryClient.invalidateQueries({ + queryKey: getPublicationTemplatesGetQueryKey(), + refetchType: 'all', + }) + + toastNotification('saved') + navigate('/muteer/publicatietemplates') + }, + } + ).catch(err => handleError(err.response, helpers)) + } + + const breadcrumbPaths = [ + { name: 'Dashboard', path: '/muteer' }, + { + name: pluralCapitalize, + path: `/muteer/${plural}`, + }, + { name: `${singularCapitalize} toevoegen`, isCurrent: true }, + ] + + return ( + +
    + + {singularCapitalize} toevoegen + + + navigate(`/muteer/${plural}`)} + /> +
    +
    + ) +} + +export default PublicationTemplateCreate diff --git a/src/pages/protected/PublicationTemplates/PublicationTemplateCreate/index.ts b/src/pages/protected/PublicationTemplates/PublicationTemplateCreate/index.ts new file mode 100644 index 000000000..e878a328e --- /dev/null +++ b/src/pages/protected/PublicationTemplates/PublicationTemplateCreate/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationTemplateCreate' diff --git a/src/pages/protected/PublicationTemplates/PublicationTemplateEdit/PublicationTemplateEdit.tsx b/src/pages/protected/PublicationTemplates/PublicationTemplateEdit/PublicationTemplateEdit.tsx new file mode 100644 index 000000000..1c46a6e6a --- /dev/null +++ b/src/pages/protected/PublicationTemplates/PublicationTemplateEdit/PublicationTemplateEdit.tsx @@ -0,0 +1,175 @@ +import { Badge, Heading } from '@pzh-ui/components' +import { useQueryClient } from '@tanstack/react-query' +import { FormikHelpers } from 'formik' +import { useMemo } from 'react' +import { useNavigate, useParams } from 'react-router-dom' + +import { + getPublicationTemplatesGetQueryKey, + usePublicationTemplatesTemplateUuidGet, + usePublicationTemplatesTemplateUuidPost, +} from '@/api/fetchers' +import { TemplateEdit } from '@/api/fetchers.schemas' +import DynamicObjectForm from '@/components/DynamicObject/DynamicObjectForm' +import ToggleSwitch from '@/components/ToggleSwitch' +import { Model } from '@/config/objects/types' +import model from '@/config/publicationTemplates' +import usePermissions from '@/hooks/usePermissions' +import MutateLayout from '@/templates/MutateLayout' +import handleError from '@/utils/handleError' +import { toastNotification } from '@/utils/toastNotification' + +const PublicationTemplateEdit = () => { + const queryClient = useQueryClient() + + const { uuid } = useParams() + + const navigate = useNavigate() + + const { canEditPublicationTemplate } = usePermissions() + + const { plural, pluralCapitalize, singularCapitalize } = model.defaults + + const { data, isFetching, queryKey } = + usePublicationTemplatesTemplateUuidGet(uuid!, { + query: { + enabled: !!uuid, + }, + }) + + const { mutate, mutateAsync } = usePublicationTemplatesTemplateUuidPost() + + /** + * Format initialData based on object fields + */ + const initialData = useMemo(() => { + const fields = model.dynamicSections.flatMap(section => + section.fields.map(field => field.name) + ) + + const objectData = {} as { [key in (typeof fields)[number]]: any } + + fields?.forEach(field => { + if ( + field === 'Object_Templates' && + !!data?.[field as keyof typeof data] + ) { + return (objectData[field] = Object.keys(data[field]).map( + template => ({ + key: template, + value: data[field][template], + }) + )) + } + + return (objectData[field] = data?.[field as keyof typeof data]) + }) + + return objectData + }, [data]) + + const handleSubmit = ( + payload: TemplateEdit, + helpers: FormikHelpers + ) => { + if (!!payload.Object_Templates?.length) { + payload.Object_Templates = (payload.Object_Templates as any).reduce( + (acc: any, curr: { key: string; value: string }) => ( + (acc[curr.key] = curr.value), acc + ), + {} + ) + } + + mutateAsync({ templateUuid: uuid!, data: payload }) + .then(() => { + Promise.all([ + queryClient.invalidateQueries({ + queryKey: getPublicationTemplatesGetQueryKey(), + refetchType: 'all', + }), + queryClient.invalidateQueries({ queryKey }), + ]).then(() => navigate('/muteer/publicatietemplates')) + }) + .catch(err => + handleError(err.response, helpers) + ) + } + + const handleTemplateStatus = (activate: boolean) => { + if (!data) return + + mutate( + { templateUuid: uuid!, data: { Is_Active: activate } }, + { + onSuccess: () => + Promise.all([ + queryClient.invalidateQueries({ + queryKey: getPublicationTemplatesGetQueryKey(), + refetchType: 'all', + }), + queryClient.invalidateQueries({ queryKey }), + ]).then(() => + toastNotification( + activate + ? 'templateActivated' + : 'templateDeactivated' + ) + ), + } + ) + } + + const breadcrumbPaths = [ + { name: 'Dashboard', path: '/muteer' }, + { + name: pluralCapitalize, + path: `/muteer/${plural}`, + }, + { name: `${singularCapitalize} bewerken`, isCurrent: true }, + ] + + return ( + +
    + + {singularCapitalize} bewerken + + +
    +
    + + +
    +
    +
    + +
    + navigate(`/muteer/${plural}`)} + isLoading={isFetching} + canEdit={canEditPublicationTemplate} + /> +
    +
    + ) +} + +export default PublicationTemplateEdit diff --git a/src/pages/protected/PublicationTemplates/PublicationTemplateEdit/index.ts b/src/pages/protected/PublicationTemplates/PublicationTemplateEdit/index.ts new file mode 100644 index 000000000..01d0c5a1f --- /dev/null +++ b/src/pages/protected/PublicationTemplates/PublicationTemplateEdit/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationTemplateEdit' diff --git a/src/pages/protected/PublicationTemplates/PublicationTemplateOverview/PublicationTemplateOverview.tsx b/src/pages/protected/PublicationTemplates/PublicationTemplateOverview/PublicationTemplateOverview.tsx new file mode 100644 index 000000000..9414834bf --- /dev/null +++ b/src/pages/protected/PublicationTemplates/PublicationTemplateOverview/PublicationTemplateOverview.tsx @@ -0,0 +1,171 @@ +import { + Button, + Heading, + TabItem, + Table, + Tabs, + formatDate, +} from '@pzh-ui/components' +import { AngleRight } from '@pzh-ui/icons' +import { keepPreviousData } from '@tanstack/react-query' +import { useMemo, useState } from 'react' +import { Link, useNavigate } from 'react-router-dom' + +import { usePublicationTemplatesGet } from '@/api/fetchers' +import model from '@/config/publicationTemplates' +import usePermissions from '@/hooks/usePermissions' +import MutateLayout from '@/templates/MutateLayout' + +const PAGE_LIMIT = 20 + +type TabType = 'active' | 'inactive' + +const PublicationTemplateOverview = () => { + const { canCreatePublicationTemplate } = usePermissions() + + const [activeTab, setActiveTab] = useState('active') + + const { plural, pluralCapitalize, prefixNewObject, singularReadable } = + model.defaults + + const breadcrumbPaths = [ + { name: 'Dashboard', path: '/muteer' }, + { name: pluralCapitalize, isCurrent: true }, + ] + + return ( + +
    +
    + {pluralCapitalize} + + {canCreatePublicationTemplate && ( + + )} +
    + + + setActiveTab(key as typeof activeTab) + }> + + + + + + + +
    +
    + ) +} + +interface TabTableProps { + type: TabType + activeTab: TabType +} + +const TabTable = ({ type, activeTab }: TabTableProps) => { + const navigate = useNavigate() + + const { canViewPublicationTemplate } = usePermissions() + + const { plural } = model.defaults + + const [{ pageIndex }, setPagination] = useState({ + pageIndex: 1, + pageSize: PAGE_LIMIT, + }) + + const { data, isFetching } = usePublicationTemplatesGet( + { + limit: PAGE_LIMIT, + offset: (pageIndex - 1) * PAGE_LIMIT, + is_active: activeTab === 'active', + }, + { + query: { + placeholderData: keepPreviousData, + }, + } + ) + + /** + * Setup Table columns + */ + const columns = useMemo( + () => [ + { + header: 'Titel', + accessorKey: 'Title', + }, + { + header: 'Instrument', + accessorKey: 'Document_Type', + }, + { + header: 'Aanmaakdatum', + accessorKey: 'Created_Date', + }, + ], + [] + ) + + /** + * Format data before passing to Table + */ + const formattedData = useMemo( + () => + data?.results.map( + ({ Title, Document_Type, Created_Date, UUID }) => ({ + Title, + Document_Type, + Created_Date: ( + + {formatDate( + new Date(Created_Date + 'Z'), + 'cccccc d MMMM yyyy, p' + )} + + + ), + ...(canViewPublicationTemplate && { + onClick: () => navigate(`/muteer/${plural}/${UUID}`), + }), + }) + ) || [], + [data, plural, navigate, canViewPublicationTemplate] + ) + + return ( +
    + {!!formattedData?.length ? ( + + ) : ( + + {`Er zijn geen ${ + type === 'active' ? 'actieve' : 'inactieve' + } templates gevonden`} + + )} + + ) +} + +export default PublicationTemplateOverview diff --git a/src/pages/protected/PublicationTemplates/PublicationTemplateOverview/index.ts b/src/pages/protected/PublicationTemplates/PublicationTemplateOverview/index.ts new file mode 100644 index 000000000..c32faa631 --- /dev/null +++ b/src/pages/protected/PublicationTemplates/PublicationTemplateOverview/index.ts @@ -0,0 +1 @@ +export { default } from './PublicationTemplateOverview' diff --git a/src/pages/protected/Users/UserDetail/UserDetail.tsx b/src/pages/protected/Users/UserDetail/UserDetail.tsx index 5dacba937..cb4641e32 100644 --- a/src/pages/protected/Users/UserDetail/UserDetail.tsx +++ b/src/pages/protected/Users/UserDetail/UserDetail.tsx @@ -77,7 +77,7 @@ const UserDetail = () => { + color="text-pzh-blue-500"> Gebruiker status
    @@ -108,7 +108,7 @@ const UserDetail = () => {
    @@ -127,7 +127,7 @@ const UserDetail = () => {
    - + Wachtwoord diff --git a/src/pages/protected/Users/UsersOverview/UsersOverview.tsx b/src/pages/protected/Users/UsersOverview/UsersOverview.tsx index 300be2615..9956ad0cb 100644 --- a/src/pages/protected/Users/UsersOverview/UsersOverview.tsx +++ b/src/pages/protected/Users/UsersOverview/UsersOverview.tsx @@ -155,6 +155,7 @@ const TabTable = ({ type, activeTab }: TabTableProps) => { enableMultiSort={false} limit={PAGE_LIMIT} total={data?.total} + current={pageIndex} onPaginationChange={setPagination} state={{ sorting: sortBy, diff --git a/src/pages/protected/index.ts b/src/pages/protected/index.ts index 4ffb3ecd3..868661e0c 100644 --- a/src/pages/protected/index.ts +++ b/src/pages/protected/index.ts @@ -7,21 +7,27 @@ import DynamicOverview from './DynamicOverview' import ModuleCreate from './Modules/ModuleCreate' import ModuleDetail from './Modules/ModuleDetail' import ModuleEdit from './Modules/ModuleEdit' +import PublicationTemplateCreate from './PublicationTemplates/PublicationTemplateCreate' +import PublicationTemplateEdit from './PublicationTemplates/PublicationTemplateEdit' +import PublicationTemplateOverview from './PublicationTemplates/PublicationTemplateOverview' import Regulations from './Regulations' import UserDetail from './Users/UserDetail' import UsersOverview from './Users/UsersOverview' export { Dashboard, - ObjectEdit, - ObjectDetail, - ObjectCreate, - ObjectWrite, DynamicOverview, ModuleCreate, ModuleDetail, ModuleEdit, + ObjectCreate, + ObjectDetail, + ObjectEdit, + ObjectWrite, + PublicationTemplateCreate, + PublicationTemplateEdit, + PublicationTemplateOverview, Regulations, - UsersOverview, UserDetail, + UsersOverview, } diff --git a/src/pages/public/Accessibility/Accessibility.tsx b/src/pages/public/Accessibility/Accessibility.tsx index 6fbb895f1..a8dffeef8 100644 --- a/src/pages/public/Accessibility/Accessibility.tsx +++ b/src/pages/public/Accessibility/Accessibility.tsx @@ -1,13 +1,14 @@ -import { Breadcrumbs, Heading, Text } from '@pzh-ui/components' +import { Heading, Text } from '@pzh-ui/components' import { Helmet } from 'react-helmet-async' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import imgDigiToegankelijkheid from '@/images/digi-toegankelijkheid.webp' function Accessibility() { const breadcrumbPaths = [ - { name: 'Home', path: '/' }, - { name: 'Digitale toegankelijkheid', path: '/digi-toegankelijkheid' }, + { name: 'Home', to: '/' }, + { name: 'Digitale toegankelijkheid', to: '/digi-toegankelijkheid' }, ] return ( @@ -17,7 +18,7 @@ function Accessibility() { @@ -54,14 +55,14 @@ function Accessibility() { dan contact op met ons Contact Centrum via{' '} + className="text-pzh-green-500 underline hover:text-pzh-green-900"> zuidholland@pzh.nl {' '} of kijk op{' '} www.zuid-holland.nl/contact diff --git a/src/pages/public/AreaDetail/AreaDetail.test.tsx b/src/pages/public/AreaDetail/AreaDetail.test.tsx index 7fa8377f0..8448b26f5 100644 --- a/src/pages/public/AreaDetail/AreaDetail.test.tsx +++ b/src/pages/public/AreaDetail/AreaDetail.test.tsx @@ -2,14 +2,14 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { render, screen, waitFor } from '@testing-library/react' import { MemoryRouter, Route, Routes } from 'react-router-dom' -import { getGebiedsprogrammasValidGetMock } from '@/api/fetchers.msw' +import { getGebiedsprogrammasValidGetResponseMock } from '@/api/fetchers.msw' import AreaDetail from './AreaDetail' const queryClient = new QueryClient() describe('AreaDetail', () => { - const gebiedsprogrammas = getGebiedsprogrammasValidGetMock() + const gebiedsprogrammas = getGebiedsprogrammasValidGetResponseMock() const defaultProps = {} const setup = (customProps?: any) => { diff --git a/src/pages/public/AreaDetail/AreaDetail.tsx b/src/pages/public/AreaDetail/AreaDetail.tsx index b631f9622..24d4c0a2f 100644 --- a/src/pages/public/AreaDetail/AreaDetail.tsx +++ b/src/pages/public/AreaDetail/AreaDetail.tsx @@ -1,7 +1,8 @@ -import { Breadcrumbs, Heading, Text } from '@pzh-ui/components' +import { Heading, Text } from '@pzh-ui/components' import { useMemo } from 'react' import { useParams } from 'react-router-dom' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import { LoaderContent } from '@/components/Loader' import ObjectList from '@/components/ObjectList' @@ -39,15 +40,14 @@ function AreaDetail() { ) const breadcrumbPaths = [ - { name: 'Home', path: '/' }, - { name: 'Omgevingsprogramma', path: '/omgevingsprogramma' }, + { name: 'Home', to: '/' }, + { name: 'Omgevingsprogramma', to: '/omgevingsprogramma' }, { name: 'Gebiedsprogramma’s', - path: '/omgevingsprogramma/gebiedsprogrammas', + to: '/omgevingsprogramma/gebiedsprogrammas', }, { name: data?.Title || '', - path: `/omgevingsprogramma/gebiedsprogrammas/${data?.UUID}`, }, ] @@ -65,7 +65,7 @@ function AreaDetail() { {data?.Description && ( {data?.Title} -
    +
    Indicatieve weergave gebied ‘{data?.Title}’.
    diff --git a/src/pages/public/AreaOverview/AreaOverview.tsx b/src/pages/public/AreaOverview/AreaOverview.tsx index 660027e11..506990e4d 100644 --- a/src/pages/public/AreaOverview/AreaOverview.tsx +++ b/src/pages/public/AreaOverview/AreaOverview.tsx @@ -1,8 +1,9 @@ -import { Breadcrumbs, Heading, Text } from '@pzh-ui/components' +import { Heading, Text } from '@pzh-ui/components' import { Helmet } from 'react-helmet-async' import { useGebiedsprogrammasValidGet } from '@/api/fetchers' import AreaCard from '@/components/AreaCard' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import { LoaderContent, LoaderSpinner } from '@/components/Loader' @@ -10,11 +11,10 @@ function AreaOverview() { const { data, isLoading } = useGebiedsprogrammasValidGet() const breadcrumbPaths = [ - { name: 'Home', path: '/' }, - { name: 'Omgevingsprogramma', path: '/omgevingsprogramma' }, + { name: 'Home', to: '/' }, + { name: 'Omgevingsprogramma', to: '/omgevingsprogramma' }, { name: 'Gebiedsprogramma’s', - path: '/omgevingsprogramma/gebiedsprogrammas', }, ] diff --git a/src/pages/public/AtemportalObject/AtemportalObject.tsx b/src/pages/public/AtemportalObject/AtemportalObject.tsx index 7f3fd5de9..634358d20 100644 --- a/src/pages/public/AtemportalObject/AtemportalObject.tsx +++ b/src/pages/public/AtemportalObject/AtemportalObject.tsx @@ -1,9 +1,10 @@ -import { Breadcrumbs, Heading, Text } from '@pzh-ui/components' +import { Heading, Text } from '@pzh-ui/components' import groupBy from 'lodash.groupby' import { useMemo } from 'react' import { Helmet } from 'react-helmet-async' import { useParams } from 'react-router-dom' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import { LoaderContent } from '@/components/Loader' import ObjectList from '@/components/ObjectList' @@ -54,13 +55,13 @@ const AtemportalObject = ({ model }: DynamicObjectProps) => { }, [data, model.allowedConnections]) const breadcrumbPaths = [ - { name: 'Omgevingsbeleid', path: '/' }, + { name: 'Omgevingsbeleid', to: '/' }, { name: slugOverview || '', - path: `/${slugOverview}`, + to: `/${slugOverview}`, }, - { name: pluralCapitalize, path: `/${slugOverview}/${plural}` || '' }, - { name: data.Title || '', path: pathName }, + { name: pluralCapitalize, to: `/${slugOverview}/${plural}` || '' }, + { name: data.Title || '', isCurrent: true }, ] if (isLoading) return @@ -84,7 +85,7 @@ const AtemportalObject = ({ model }: DynamicObjectProps) => { {data?.Description && ( { const { moduleId, uuid } = useParams() - const pathName = location.pathname || '' const { setInitialObject, setRevisionFrom, setRevisionTo } = useRevisionStore(state => ({ ...state })) @@ -107,23 +102,23 @@ const DynamicObject = ({ model, isRevision }: DynamicObjectProps) => { ) const breadcrumbPaths = [ - { name: 'Omgevingsbeleid', path: '/' }, + { name: 'Omgevingsbeleid', to: '/' }, { name: slugOverview || '', - path: slugOverviewPublic ? `/${slugOverview}` : '/', + to: slugOverviewPublic ? `/${slugOverview}` : '/', }, - { name: pluralCapitalize, path: `/${slugOverview}/${plural}` }, + { name: pluralCapitalize, to: `/${slugOverview}/${plural}` }, ...(isRevision ? [ { name: 'Ontwerpversie', - path: !latestIsError + to: !latestIsError ? `/${slugOverview}/${plural}/${latest?.UUID}` : `/${slugOverview}/${plural}`, }, ] : []), - { name: data?.Title || '', path: pathName }, + { name: data?.Title || '' }, ] /** @@ -181,10 +176,12 @@ const DynamicObject = ({ model, isRevision }: DynamicObjectProps) => { ? 'ontwerpversie' : 'verouderde versie'}{' '} van {demonstrative} {singularReadable},{' '} - + + + bekijk hier de vigerende versie + + )} @@ -232,7 +229,7 @@ const DynamicObject = ({ model, isRevision }: DynamicObjectProps) => {
    )} - {model.allowedConnections && + {!!model.allowedConnections && !model.acknowledgedRelation && (
    {
    )} - {model.allowedConnections && model.acknowledgedRelation && ( -
    - -
    - )} + {!!model.allowedConnections && + !!model.acknowledgedRelation && ( +
    + +
    + )}
    diff --git a/src/pages/public/DynamicOverview/DynamicOverview.tsx b/src/pages/public/DynamicOverview/DynamicOverview.tsx index 4e34242a2..fa256a068 100644 --- a/src/pages/public/DynamicOverview/DynamicOverview.tsx +++ b/src/pages/public/DynamicOverview/DynamicOverview.tsx @@ -1,9 +1,10 @@ -import { Breadcrumbs, Heading, Text } from '@pzh-ui/components' +import { Heading, Text } from '@pzh-ui/components' import { useUpdateEffect } from '@react-hookz/web' import { keepPreviousData } from '@tanstack/react-query' import { useMemo, useState } from 'react' import { Helmet } from 'react-helmet-async' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import ObjectList from '@/components/ObjectList' import { Model } from '@/config/objects/types' @@ -16,8 +17,6 @@ interface DynamicOverviewProps { } function DynamicOverview({ model }: DynamicOverviewProps) { - const pathName = location.pathname || '' - const { get, set, remove } = useSearchParam() const [page] = get(['page']) @@ -76,12 +75,12 @@ function DynamicOverview({ model }: DynamicOverviewProps) { }, [plural]) const breadcrumbPaths = [ - { name: 'Omgevingsbeleid', path: '/' }, + { name: 'Omgevingsbeleid', to: '/' }, { name: slugOverview || '', - path: slugOverviewPublic ? `/${slugOverview}` : '/', + to: slugOverviewPublic ? `/${slugOverview}` : '/', }, - { name: pluralCapitalize || '', path: pathName }, + { name: pluralCapitalize || '' }, ] return ( @@ -108,7 +107,7 @@ function DynamicOverview({ model }: DynamicOverviewProps) { limit={PAGE_LIMIT} onPageChange={handlePageChange} total={data?.total} - currPage={currPage - 1} + currPage={currPage} /> diff --git a/src/pages/public/EnvironmentProgram/EnvironmentProgram.tsx b/src/pages/public/EnvironmentProgram/EnvironmentProgram.tsx index d396007f3..9cd3b3b37 100644 --- a/src/pages/public/EnvironmentProgram/EnvironmentProgram.tsx +++ b/src/pages/public/EnvironmentProgram/EnvironmentProgram.tsx @@ -1,19 +1,20 @@ -import { Breadcrumbs, Heading, Text } from '@pzh-ui/components' +import { Heading, Text } from '@pzh-ui/components' import { Link } from 'react-router-dom' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import imgEnvironmentProgram from '@/images/environment-program.webp' function EnvironmentProgram() { const breadcrumbPaths = [ - { name: 'Home', path: '/' }, - { name: 'Omgevingsprogramma', path: '/omgevingsprogramma' }, + { name: 'Home', to: '/' }, + { name: 'Omgevingsprogramma' }, ] return (
    Bekijk de verplichte programma’s @@ -64,7 +65,7 @@ function EnvironmentProgram() { beleidsdoelen vindt u hier. Bekijk de thematische programma’s @@ -78,7 +79,7 @@ function EnvironmentProgram() { gebieden (welke soms overlappen) is hieronder te vinden. Bekijk de gebiedsprogramma’s @@ -92,7 +93,7 @@ function EnvironmentProgram() { Omgevingsprogramma. Bekijk de maatregelen diff --git a/src/pages/public/Home/DocumentLink/DocumentLink.tsx b/src/pages/public/Home/DocumentLink/DocumentLink.tsx index 4c3063488..ca1f11669 100644 --- a/src/pages/public/Home/DocumentLink/DocumentLink.tsx +++ b/src/pages/public/Home/DocumentLink/DocumentLink.tsx @@ -14,7 +14,7 @@ const DocumentLink = ({ className = '', }: DocumentLinkProps) => (
  • + className={`pb-2 text-pzh-green-500 transition-colors duration-100 ease-in ${className}`}> {iconLeft} {title} diff --git a/src/pages/public/Home/Home.tsx b/src/pages/public/Home/Home.tsx index 1b646837e..360d2eb1d 100644 --- a/src/pages/public/Home/Home.tsx +++ b/src/pages/public/Home/Home.tsx @@ -86,7 +86,7 @@ const Home = () => ( -
    +
    @@ -136,20 +136,21 @@ const Home = () => ( provincie voor staat. Het beschrijft hoe de provincie de toekomst van Zuid-Holland voor zich ziet. De Omgevingsvisie bevat verschillende onderdelen: in de{' '} - {' '} + + ambities + {' '} wordt omschreven waar we als provincie heen willen, de{' '} - {' '} + + + beleidsdoelen + + {' '} geven hier richting aan en de{' '} - {' '} + + + beleidskeuzes + + {' '} bepalen hoe de ambities bereikt dienen te worden.
    @@ -173,13 +174,13 @@ const Home = () => ( In het{' '} Omgevingsprogramma {' '} staat beschreven welke{' '} maatregelen {' '} @@ -221,7 +222,7 @@ const Home = () => ( Al deze regels van de provincie over de fysieke leefomgeving zijn ondergebracht in de{' '}
    diff --git a/src/pages/public/Home/SearchSection/SearchSection.tsx b/src/pages/public/Home/SearchSection/SearchSection.tsx index 1d0c23326..4ca0f0da8 100644 --- a/src/pages/public/Home/SearchSection/SearchSection.tsx +++ b/src/pages/public/Home/SearchSection/SearchSection.tsx @@ -32,7 +32,7 @@ const SearchSection = () => (
    + className="text-pzh-green-500 underline hover:text-pzh-green-900"> Wilt u uitgebreider zoeken op de kaart?
    diff --git a/src/pages/public/Login/Login.tsx b/src/pages/public/Login/Login.tsx index 0c6d03268..5004bb2dd 100644 --- a/src/pages/public/Login/Login.tsx +++ b/src/pages/public/Login/Login.tsx @@ -1,5 +1,5 @@ import { Heading, Text } from '@pzh-ui/components' -import classNames from 'classnames' +import classNames from 'clsx' import { Helmet } from 'react-helmet-async' import { Link } from 'react-router-dom' @@ -40,7 +40,7 @@ const Login = () => {
    -
    +
    @@ -54,7 +54,7 @@ const Login = () => { Zuid-Holland inzien. Ga naar de raadpleegomgeving @@ -68,7 +68,7 @@ const Login = () => { afdeling omgevingsbeleid via{' '} omgevingsbeleid@pzh.nl diff --git a/src/pages/public/Login/index.ts b/src/pages/public/Login/index.ts index 393a6df40..626bc075a 100644 --- a/src/pages/public/Login/index.ts +++ b/src/pages/public/Login/index.ts @@ -1,3 +1 @@ -import Login from './Login' - -export default Login +export { default } from './Login' diff --git a/src/pages/public/MaintenancePage/MaintenancePage.tsx b/src/pages/public/MaintenancePage/MaintenancePage.tsx new file mode 100644 index 000000000..1ae682c8e --- /dev/null +++ b/src/pages/public/MaintenancePage/MaintenancePage.tsx @@ -0,0 +1,38 @@ +import { Heading } from '@pzh-ui/components' +import { PersonDigging } from '@pzh-ui/icons' +import { Helmet } from 'react-helmet-async' + +import { Container } from '@/components/Container' + +const MaintenancePage = () => ( + <> + + + + +
    + +
    + + + Deze applicatie is even aan het updaten + + + Excuses voor het ongemak + +
    +
    +
    + +) + +export default MaintenancePage diff --git a/src/pages/public/MaintenancePage/index.ts b/src/pages/public/MaintenancePage/index.ts new file mode 100644 index 000000000..a45d75420 --- /dev/null +++ b/src/pages/public/MaintenancePage/index.ts @@ -0,0 +1,3 @@ +import ErrorPage from './MaintenancePage' + +export default ErrorPage diff --git a/src/pages/public/MapSearch/MapSearch.tsx b/src/pages/public/MapSearch/MapSearch.tsx index 09ba23748..a824d84b4 100644 --- a/src/pages/public/MapSearch/MapSearch.tsx +++ b/src/pages/public/MapSearch/MapSearch.tsx @@ -1,5 +1,5 @@ import { useMountEffect, useUpdateEffect } from '@react-hookz/web' -import classNames from 'classnames' +import classNames from 'clsx' import { point } from 'leaflet' import Proj from 'proj4leaflet' import { useEffect, useMemo, useRef, useState } from 'react' diff --git a/src/pages/public/MapSearch/SidebarInformation/SidebarInformation.tsx b/src/pages/public/MapSearch/SidebarInformation/SidebarInformation.tsx index 082a6c842..fc9934eef 100644 --- a/src/pages/public/MapSearch/SidebarInformation/SidebarInformation.tsx +++ b/src/pages/public/MapSearch/SidebarInformation/SidebarInformation.tsx @@ -178,7 +178,7 @@ const SidebarInformation = ({ onDraw }: SidebarInformationProps) => { } menuPlacement="auto" isLoading={isLoading} - onChange={val => { + onChange={(val: any) => { remove('geoQuery') set( 'werkingsgebied', diff --git a/src/pages/public/MapSearch/SidebarResults/SidebarResults.tsx b/src/pages/public/MapSearch/SidebarResults/SidebarResults.tsx index 573ed789a..ade0bde0c 100644 --- a/src/pages/public/MapSearch/SidebarResults/SidebarResults.tsx +++ b/src/pages/public/MapSearch/SidebarResults/SidebarResults.tsx @@ -233,7 +233,7 @@ const SidebarResults = () => { Resultaten {!isLoading && !geoLoading ? ( - + {!data?.total ? 'Er zijn geen resultaten' : data.total === 1 @@ -307,9 +307,10 @@ const SidebarResults = () => { pagination.total > pagination.limit && (
    )} diff --git a/src/pages/public/Network/Network.tsx b/src/pages/public/Network/Network.tsx index a65f6849e..0a7b329f8 100644 --- a/src/pages/public/Network/Network.tsx +++ b/src/pages/public/Network/Network.tsx @@ -1,7 +1,8 @@ -import { Breadcrumbs, Heading, TabItem, Tabs, Text } from '@pzh-ui/components' -import classNames from 'classnames' +import { Heading, TabItem, Tabs, Text } from '@pzh-ui/components' +import classNames from 'clsx' import { Helmet } from 'react-helmet-async' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import NetworkGraph from '@/components/Network/NetworkGraph' import useNetworkStore from '@/store/networkStore' @@ -10,11 +11,9 @@ const Network = () => { const activeTab = useNetworkStore(state => state.activeTab) const setActiveTab = useNetworkStore(state => state.setActiveTab) - const pathName = location.pathname || '' - const breadcrumbPaths = [ - { name: 'Omgevingsbeleid', path: '/' }, - { name: 'Beleidsnetwerk' || '', path: pathName }, + { name: 'Omgevingsbeleid', to: '/' }, + { name: 'Beleidsnetwerk' || '' }, ] return ( diff --git a/src/pages/public/NotFoundPage/NotFoundPage.tsx b/src/pages/public/NotFoundPage/NotFoundPage.tsx index df4451a15..80646e9cd 100644 --- a/src/pages/public/NotFoundPage/NotFoundPage.tsx +++ b/src/pages/public/NotFoundPage/NotFoundPage.tsx @@ -1,14 +1,13 @@ -import { Breadcrumbs, Heading, Text } from '@pzh-ui/components' +import { Heading, Text } from '@pzh-ui/components' import { Helmet } from 'react-helmet-async' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' const NotFoundPage = () => { - const pathName = location.pathname || '' - const breadcrumbPaths = [ - { name: 'Omgevingsbeleid', path: '/' }, - { name: 'Pagina niet gevonden', path: pathName }, + { name: 'Omgevingsbeleid', to: '/' }, + { name: 'Pagina niet gevonden' }, ] return ( @@ -31,7 +30,7 @@ const NotFoundPage = () => { Je kunt het volgende proberen: -
    +
    @@ -256,11 +256,11 @@ const OntwikkelingenListItem = ({ icon?: JSX.Element }) => (
  • - + {icon ? icon : }
    - + {title}

    {children}

    diff --git a/src/pages/public/Revisions/Revisions.tsx b/src/pages/public/Revisions/Revisions.tsx index e3bf50c09..ffb0f0d92 100644 --- a/src/pages/public/Revisions/Revisions.tsx +++ b/src/pages/public/Revisions/Revisions.tsx @@ -10,9 +10,10 @@ import { Tooltip, } from '@pzh-ui/components' import { Plus } from '@pzh-ui/icons' -import classNames from 'classnames' +import classNames from 'clsx' import { Fragment, useMemo } from 'react' import { Helmet } from 'react-helmet-async' +import { Link } from 'react-router-dom' import { useRevisionsGet, useRevisionsModuleIdGet } from '@/api/fetchers' import { @@ -65,7 +66,7 @@ const Revisions = () => { href="https://www.zuid-holland.nl/onderwerpen/omgevingsbeleid/voortgang-wijzigingen-omgevingsbeleid/" target="_blank" rel="noopener noreferrer" - className="text-pzh-green underline hover:text-pzh-green-dark"> + className="text-pzh-green-500 underline hover:text-pzh-green-900"> provinciale website {' '} zie je precies welk beleid ter inzage ligt en hoe je een @@ -200,7 +201,7 @@ const Dropdown = ({ {({ open }) => ( <> {buttonText} @@ -212,7 +213,7 @@ const Dropdown = ({ }`} /> - + {panelText} @@ -339,13 +340,13 @@ const RevisionItem = ({ className={classNames( 'flex h-4 w-4 cursor-help items-center justify-center rounded', { - 'bg-pzh-green': + 'bg-pzh-green-500': ModuleObjectContext?.Action === 'Create', - 'bg-pzh-red': + 'bg-pzh-red-500': ModuleObjectContext?.Action === 'Terminate', - 'bg-pzh-blue': + 'bg-pzh-blue-500': ModuleObjectContext?.Action === 'Edit', } @@ -364,10 +365,12 @@ const RevisionItem = ({ {singularCapitalize}
  • - + + + {Title} + +
    ) } diff --git a/src/pages/public/SearchResults/SearchResults.tsx b/src/pages/public/SearchResults/SearchResults.tsx index 97d62004a..82edafbec 100644 --- a/src/pages/public/SearchResults/SearchResults.tsx +++ b/src/pages/public/SearchResults/SearchResults.tsx @@ -5,7 +5,7 @@ import { Text, } from '@pzh-ui/components' import { useUpdateEffect } from '@react-hookz/web' -import classNames from 'classnames' +import classNames from 'clsx' import { useEffect, useMemo, useState } from 'react' import { Helmet } from 'react-helmet-async' @@ -140,7 +140,7 @@ const SearchResults = () => { <> -
    +
    { className={classNames({ 'mb-6': index + 1 !== filters.length, })}> - + {filter.label} @@ -216,9 +216,10 @@ const SearchResults = () => {
    )} diff --git a/src/pages/public/ThemeDetail/ThemeDetail.test.tsx b/src/pages/public/ThemeDetail/ThemeDetail.test.tsx index 8c138c2d6..7a1a01eac 100644 --- a/src/pages/public/ThemeDetail/ThemeDetail.test.tsx +++ b/src/pages/public/ThemeDetail/ThemeDetail.test.tsx @@ -2,14 +2,14 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { render, screen, waitFor } from '@testing-library/react' import { MemoryRouter, Route, Routes } from 'react-router-dom' -import { getBeleidsdoelenValidGetMock } from '@/api/fetchers.msw' +import { getBeleidsdoelenValidGetResponseMock } from '@/api/fetchers.msw' import ThemeDetail from './ThemeDetail' const queryClient = new QueryClient() describe('ThemeDetail', () => { - const beleidsdoelen = getBeleidsdoelenValidGetMock() + const beleidsdoelen = getBeleidsdoelenValidGetResponseMock() const defaultProps = {} const setup = (customProps?: any) => { diff --git a/src/pages/public/ThemeDetail/ThemeDetail.tsx b/src/pages/public/ThemeDetail/ThemeDetail.tsx index 400c81bc1..8293063de 100644 --- a/src/pages/public/ThemeDetail/ThemeDetail.tsx +++ b/src/pages/public/ThemeDetail/ThemeDetail.tsx @@ -1,14 +1,9 @@ -import { - Breadcrumbs, - Heading, - Hyperlink, - ListLink, - Text, -} from '@pzh-ui/components' -import { useParams } from 'react-router-dom' +import { Heading, Hyperlink, ListLink, Text } from '@pzh-ui/components' +import { Link, useParams } from 'react-router-dom' import { useBeleidsdoelenVersionObjectUuidGet } from '@/api/fetchers' import { ReadRelationShortBeleidskeuzeMinimal } from '@/api/fetchers.schemas' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import { LoaderContent } from '@/components/Loader' import TableOfContents from '@/components/TableOfContents' @@ -21,15 +16,14 @@ function ThemeDetail() { const { data, isLoading } = useBeleidsdoelenVersionObjectUuidGet(uuid!) const breadcrumbPaths = [ - { name: 'Home', path: '/' }, - { name: 'Omgevingsprogramma', path: '/omgevingsprogramma' }, + { name: 'Home', to: '/' }, + { name: 'Omgevingsprogramma', to: '/omgevingsprogramma' }, { name: 'Thematische programma’s', - path: '/omgevingsprogramma/thematische-programmas', + to: '/omgevingsprogramma/thematische-programmas', }, { name: data?.Title || '', - path: `/omgevingsprogramma/thematische-programmas/${data?.UUID}`, }, ] @@ -64,16 +58,18 @@ function ThemeDetail() {
    {data?.Description && ( )} - + + + Lees meer informatie over dit beleidsdoel + +
    {data?.Beleidskeuzes?.map(object => ( @@ -102,19 +98,22 @@ const ConnectedObject = ({ Object }: ReadRelationShortBeleidskeuzeMinimal) => {
    {!!data?.Maatregelen?.length ? ( -
    +
    {data.Maatregelen.map(item => { const model = models[item.Object.Object_Type as ModelType] - const { slugOverview } = model.defaults + const { slugOverview, plural } = model.defaults return ( + className="text-pzh-green-500 hover:text-pzh-blue-500"> + + {item.Object.Title} + + ) })}
    @@ -124,10 +123,12 @@ const ConnectedObject = ({ Object }: ReadRelationShortBeleidskeuzeMinimal) => { )} - + + + Lees meer informatie over {prefixSingular}{' '} + {singularReadable} '{Object.Title}' + +
    ) } diff --git a/src/pages/public/ThemeOverview/ThemeOverview.tsx b/src/pages/public/ThemeOverview/ThemeOverview.tsx index 325afb906..63cc371a9 100644 --- a/src/pages/public/ThemeOverview/ThemeOverview.tsx +++ b/src/pages/public/ThemeOverview/ThemeOverview.tsx @@ -1,9 +1,10 @@ -import { Breadcrumbs, Heading, Text } from '@pzh-ui/components' +import { Heading, Text } from '@pzh-ui/components' import { keepPreviousData } from '@tanstack/react-query' import { useMemo, useState } from 'react' import { Helmet } from 'react-helmet-async' import { useBeleidsdoelenValidGet } from '@/api/fetchers' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import { LoaderContent } from '@/components/Loader' import ObjectList from '@/components/ObjectList' @@ -26,9 +27,9 @@ function ThemeOverview() { ) const breadcrumbPaths = [ - { name: 'Home', path: '/' }, - { name: 'Omgevingsprogramma', path: '/omgevingsprogramma' }, - { name: 'Thematische programma’s', path: '/thematische-programmas' }, + { name: 'Home', to: '/' }, + { name: 'Omgevingsprogramma', to: '/omgevingsprogramma' }, + { name: 'Thematische programma’s' }, ] const transformedData = useMemo( diff --git a/src/store/modalStore.ts b/src/store/modalStore.ts index 6bf248b06..bcab57848 100644 --- a/src/store/modalStore.ts +++ b/src/store/modalStore.ts @@ -1,17 +1,40 @@ import { create } from 'zustand' -import { ModalType } from '@/components/Modals/types' +import { ModalStateMap, ModalType } from '@/components/Modals/types' interface ModalState { /** Active modal id */ activeModal: ModalType | null + /** State of modals */ + modalStates: Partial> /** Set active modal id */ - setActiveModal: (id: ModalType | null) => void + setActiveModal: ( + id: ModalType | null, + state?: Partial + ) => void } const useModalStore = create(set => ({ activeModal: null, - setActiveModal: activeModal => set(state => ({ ...state, activeModal })), + modalStates: {}, + setActiveModal: (activeModal, modalState) => + set(state => ({ + ...state, + activeModal, + modalStates: { + ...state.modalStates, + ...(activeModal !== null + ? { + [activeModal]: state.modalStates[activeModal] + ? { + ...state.modalStates[activeModal], + ...modalState, + } + : modalState, + } + : {}), + }, + })), })) export default useModalStore diff --git a/src/store/regulationStore.ts b/src/store/regulationStore.ts index 91c41d4d7..beb3a4640 100644 --- a/src/store/regulationStore.ts +++ b/src/store/regulationStore.ts @@ -27,9 +27,9 @@ interface RegulationState { /** Set dragging item */ setDraggingItem: (item: number[] | null) => void /** Active item */ - activeItem?: string + activeItem?: string | null /** Set active item */ - setActiveItem: (item?: string) => void + setActiveItem: (item?: string | null) => void /** Active item */ itemAction?: RegulationAction /** Set active item */ diff --git a/src/templates/MutateLayout.tsx b/src/templates/MutateLayout.tsx index 44e9fd036..daa72e76e 100644 --- a/src/templates/MutateLayout.tsx +++ b/src/templates/MutateLayout.tsx @@ -1,8 +1,8 @@ -import { Breadcrumbs } from '@pzh-ui/components' -import classNames from 'classnames' +import classNames from 'clsx' import { ReactNode, useMemo } from 'react' import { Helmet } from 'react-helmet-async' +import Breadcrumbs from '@/components/Breadcrumbs' import { Container } from '@/components/Container' import RegulationSidebar from '@/components/Regulations/Sidebar' import Sidebar from '@/components/Sidebar' @@ -38,7 +38,7 @@ const MutateLayout = ({ () => breadcrumbs?.map(breadcrumb => ({ name: breadcrumb?.name, - path: breadcrumb?.isCurrent ? pathName : breadcrumb?.path || '', + to: breadcrumb?.isCurrent ? pathName : breadcrumb?.path || '', })), [breadcrumbs, pathName] ) diff --git a/src/utils/d3.ts b/src/utils/d3.ts index f049a8e75..9384f805e 100644 --- a/src/utils/d3.ts +++ b/src/utils/d3.ts @@ -43,7 +43,7 @@ export const generateNodes = ( .attr('stroke-width', 1.5) .attr( 'class', - 'cursor-pointer stroke-pzh-white hover:stroke-pzh-blue-dark data-[active=true]:stroke-pzh-blue-dark' + 'cursor-pointer stroke-pzh-white hover:stroke-pzh-blue-900 data-[active=true]:stroke-pzh-blue-900' ) .attr('data-code-shape', d => d.Code) diff --git a/src/utils/dynamicObject.tsx b/src/utils/dynamicObject.tsx index cd72d9e1d..bb1654033 100644 --- a/src/utils/dynamicObject.tsx +++ b/src/utils/dynamicObject.tsx @@ -1,5 +1,6 @@ import { Hyperlink } from '@pzh-ui/components' import { Pencil, Plus, Xmark } from '@pzh-ui/icons' +import { Link } from 'react-router-dom' import * as models from '@/config/objects' import { ModelPatchStaticType, ModelType } from '@/config/objects/types' @@ -49,12 +50,12 @@ export const getStaticDataPropertyRequired = ( key: keyof ModelPatchStaticType ) => { switch (key) { - case 'Client_1_UUID': case 'Owner_2_UUID': - case 'Portfolio_Holder_1_UUID': case 'Portfolio_Holder_2_UUID': return false case 'Owner_1_UUID': + case 'Client_1_UUID': + case 'Portfolio_Holder_1_UUID': return true default: throw new Error( @@ -161,7 +162,10 @@ export const getObjectRevisionBannerText = ( Op dit moment ligt er in de module '{revision.Module_Title}' een nieuwe versie van {model.defaults.demonstrative}{' '} {model.defaults.singularReadable} ter inzage,{' '} - . + + bekijk deze versie hier + + . ) case 'Definitief ontwerp GS Concept': @@ -177,7 +181,10 @@ export const getObjectRevisionBannerText = ( gewerkt aan een nieuwe versie van{' '} {model.defaults.demonstrative}{' '} {model.defaults.singularReadable},{' '} - . + + bekijk deze versie hier + + . ) default: diff --git a/src/utils/file.ts b/src/utils/file.ts index 8e8cb49fb..aaa58e6e7 100644 --- a/src/utils/file.ts +++ b/src/utils/file.ts @@ -1,3 +1,7 @@ +import { getAccessToken } from '@/api/instance' + +import getApiUrl from './getApiUrl' + export const fileToBase64 = async (file: File): Promise => await new Promise((resolve, reject) => { const reader = new FileReader() @@ -21,3 +25,38 @@ export async function base64ToFile( return new File([blob], fileName, { type: 'image/png' }) } + +export const downloadFile = async (path: string) => { + try { + const response = await fetch(`${getApiUrl()}/${path}`, { + method: 'GET', + headers: { + Authorization: `Bearer ${getAccessToken()}`, + }, + }) + + if (!response.ok) { + throw new Error(`HTTP error! status: ${response.status}`) + } + + const blob = await response.blob() + const contentDisposition = response.headers.get('content-disposition') + let fileName = 'downloaded_file' + if (contentDisposition) { + fileName = contentDisposition.split('=')[1] + } + + const url = URL.createObjectURL(blob) + const link = document.createElement('a') + link.href = url + link.setAttribute('download', fileName) + document.body.appendChild(link) + link.click() + + // Clean up + link.parentNode?.removeChild(link) + URL.revokeObjectURL(url) + } catch (error) { + console.error(`Error fetching data: ${error}`) + } +} diff --git a/src/utils/formatDate.ts b/src/utils/formatDate.ts deleted file mode 100644 index 6fec2b64b..000000000 --- a/src/utils/formatDate.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Eslint needs to be disabled for these imports, - * otherwise eslint will merge them together causing a conflict. - */ - -// eslint-disable-next-line -import { format } from 'date-fns' -// eslint-disable-next-line -import nlLocale from 'date-fns/locale/nl' - -const formatDate = (date: Date, dateFormat: string) => - format(date, dateFormat, { locale: nlLocale }) - -export default formatDate diff --git a/src/utils/globalErrorBoundary.ts b/src/utils/globalErrorBoundary.ts new file mode 100644 index 000000000..5dfb7efc8 --- /dev/null +++ b/src/utils/globalErrorBoundary.ts @@ -0,0 +1,5 @@ +const globalErrorBoundary = { showBoundary: null } as { + showBoundary: ((error: any) => void) | null +} + +export default globalErrorBoundary diff --git a/src/utils/globalRouter.ts b/src/utils/globalRouter.ts new file mode 100644 index 000000000..dfe99cccb --- /dev/null +++ b/src/utils/globalRouter.ts @@ -0,0 +1,7 @@ +import { NavigateFunction } from 'react-router-dom' + +const globalRouter = { navigate: null } as { + navigate: null | NavigateFunction +} + +export default globalRouter diff --git a/src/validation/dynamicObject.ts b/src/validation/dynamicObject.ts index d0ecd8b42..832ccd172 100644 --- a/src/validation/dynamicObject.ts +++ b/src/validation/dynamicObject.ts @@ -14,10 +14,10 @@ const generateDynamicSchema = (sections: DynamicSection[]) => { switch (field.type) { case 'text': case 'textarea': - case 'wysiwyg': case 'select': case 'image': case 'search': + case 'array': return (dynamicSchema = dynamicSchema.extend({ [field.name]: field.validation || @@ -25,6 +25,14 @@ const generateDynamicSchema = (sections: DynamicSection[]) => { ? schemaDefaults.requiredString() : schemaDefaults.optionalString) as any), })) + case 'wysiwyg': + return (dynamicSchema = dynamicSchema.extend({ + [field.name]: + field.validation || + ((field.required + ? schemaDefaults.rte() + : schemaDefaults.optionalRte()) as any), + })) case 'url': return (dynamicSchema = dynamicSchema.extend({ [field.name]: diff --git a/src/validation/modules.ts b/src/validation/modules.ts index 2c1cc9e72..7bf3c56da 100644 --- a/src/validation/modules.ts +++ b/src/validation/modules.ts @@ -59,7 +59,7 @@ export const SCHEMA_COMPLETE_MODULE = object({ object({ Object_Type: schemaDefaults.requiredString(), Object_ID: schemaDefaults.requiredNumber(), - Start_Validity: schemaDefaults.date, + Start_Validity: schemaDefaults.date(), }).partial({ Start_Validity: true, }) @@ -68,7 +68,7 @@ export const SCHEMA_COMPLETE_MODULE = object({ export const SCHEMA_COMPLETE_MODULE_STEPS = [ object({ - Default_Start_Validity: schemaDefaults.date, + Default_Start_Validity: schemaDefaults.date(), IDMS_Link: schemaDefaults.url(), Decision_Number: schemaDefaults.requiredString(), Link_To_Decision_Document: schemaDefaults.url(), @@ -78,7 +78,7 @@ export const SCHEMA_COMPLETE_MODULE_STEPS = [ object({ Object_Type: schemaDefaults.requiredString(), Object_ID: schemaDefaults.requiredNumber(), - Start_Validity: schemaDefaults.date, + Start_Validity: schemaDefaults.date(), }).partial({ Start_Validity: true, }) diff --git a/src/validation/objectGeneralInformation.ts b/src/validation/objectGeneralInformation.ts new file mode 100644 index 000000000..221cf4d01 --- /dev/null +++ b/src/validation/objectGeneralInformation.ts @@ -0,0 +1,75 @@ +import { object } from 'zod' + +import { ModelPatchStaticType } from '@/config/objects/types' +import { getStaticDataPropertyRequired } from '@/utils/dynamicObject' +import { schemaDefaults, zodAlwaysRefine } from '@/validation/zodSchema' + +/** + * Create SCHEMA based on provided values + */ +const generateSchema = (values: (keyof ModelPatchStaticType)[]) => { + let schema = object({}) + + values.forEach(val => { + const required = getStaticDataPropertyRequired(val) + + return (schema = schema.extend({ + [val]: required + ? schemaDefaults.requiredString() + : schemaDefaults.optionalString, + })) + }) + + return zodAlwaysRefine(schema).superRefine((data, ctx) => { + // Cast data to a type with optional properties to handle the case where they might not exist + const { + Owner_1_UUID, + Owner_2_UUID, + Portfolio_Holder_1_UUID, + Portfolio_Holder_2_UUID, + } = data as { + Owner_1_UUID?: string + Owner_2_UUID?: string + Portfolio_Holder_1_UUID?: string + Portfolio_Holder_2_UUID?: string + } + + if (!!Owner_1_UUID && !!Owner_2_UUID && Owner_1_UUID === Owner_2_UUID) { + ctx.addIssue({ + code: 'custom', + message: + 'De eerste en tweede eigenaar mogen niet dezelfde persoon zijn', + path: ['Owner_1_UUID'], + }) + + ctx.addIssue({ + code: 'custom', + message: + 'De eerste en tweede eigenaar mogen niet dezelfde persoon zijn', + path: ['Owner_2_UUID'], + }) + } + + if ( + !!Portfolio_Holder_1_UUID && + !!Portfolio_Holder_2_UUID && + Portfolio_Holder_1_UUID === Portfolio_Holder_2_UUID + ) { + ctx.addIssue({ + code: 'custom', + message: + 'De eerste en tweede portefeuillehouder mogen niet dezelfde persoon zijn', + path: ['Portfolio_Holder_1_UUID'], + }) + + ctx.addIssue({ + code: 'custom', + message: + 'De eerste en tweede portefeuillehouder mogen niet dezelfde persoon zijn', + path: ['Portfolio_Holder_2_UUID'], + }) + } + }) +} + +export { generateSchema } diff --git a/src/validation/passwordReset.ts b/src/validation/passwordReset.ts index 246806bff..b13e813d5 100644 --- a/src/validation/passwordReset.ts +++ b/src/validation/passwordReset.ts @@ -1,4 +1,4 @@ -import { string, object } from 'zod' +import { ZodIssueCode, object, string } from 'zod' export const SCHEMA = object({ currentPassword: string({ @@ -16,7 +16,7 @@ export const SCHEMA = object({ }).superRefine(({ currentPassword, newPassword, newPasswordCopy }, ctx) => { if (currentPassword === newPassword) { ctx.addIssue({ - code: 'custom', + code: ZodIssueCode.custom, message: 'Het nieuwe wachtwoord mag niet gelijk zijn aan het oude wachtwoord', path: ['newPassword'], @@ -25,7 +25,7 @@ export const SCHEMA = object({ if (newPassword !== newPasswordCopy) { ctx.addIssue({ - code: 'custom', + code: ZodIssueCode.custom, message: 'Het herhaalde wachtwoord komt niet overeen', path: ['newPasswordCopy'], }) diff --git a/src/validation/publication.ts b/src/validation/publication.ts new file mode 100644 index 000000000..6b224bda1 --- /dev/null +++ b/src/validation/publication.ts @@ -0,0 +1,61 @@ +import { array, object, ZodIssueCode } from 'zod' + +import { schemaDefaults } from '@/validation/zodSchema' + +export const PUBLICATION_SCHEMA = object({ + Title: schemaDefaults.requiredString(), + Document_Type: schemaDefaults.requiredString(), + Template_UUID: schemaDefaults.requiredString(), +}) + +export const PUBLICATION_VERSION_ADD_SCHEMA = object({ + Module_Status_ID: schemaDefaults.requiredNumber(), +}) + +export const PUBLICATION_VERSION_EDIT_SCHEMA = object({ + Module_Status_ID: schemaDefaults.requiredNumber(), + Effective_Date: schemaDefaults.optionalString + .refine(date => { + return date && new Date(date) > new Date(Date.now()) + }, 'De inwerkingtredingsdatum moet in de toekomst liggen') + .nullable(), + Announcement_Date: schemaDefaults.optionalString + .refine(date => { + return date && new Date(date) > new Date(Date.now()) + }, 'De bekendmakingsdatum moet in de toekomst liggen') + .nullable(), + Bill_Metadata: object({ + Official_Title: schemaDefaults.requiredString(), + }), + Bill_Compact: object({ + Preamble: schemaDefaults.optionalString, + Amendment_Article: schemaDefaults.requiredString(), + Time_Article: schemaDefaults.requiredString(), + Custom_Articles: array( + object({ + Label: schemaDefaults.requiredString(), + Content: schemaDefaults.requiredString(), + }) + ).optional(), + Closing: schemaDefaults.optionalString, + Signed: schemaDefaults.optionalString, + }), + Procedural: object({ + Enactment_Date: schemaDefaults.optionalString, + Signed_Date: schemaDefaults.optionalString, + Procedural_Announcement_Date: schemaDefaults.optionalString, + }), +}).superRefine(({ Effective_Date, Announcement_Date }, ctx) => { + if ( + Effective_Date && + Announcement_Date && + new Date(Announcement_Date) >= new Date(Effective_Date) + ) { + ctx.addIssue({ + code: ZodIssueCode.custom, + message: + 'De bekendmakingsdatum moet eerder zijn dan de inwerkingtredingsdatum', + path: ['Announcement_Date'], + }) + } +}) diff --git a/src/validation/zodSchema.ts b/src/validation/zodSchema.ts index db0a89a40..39a799dbe 100644 --- a/src/validation/zodSchema.ts +++ b/src/validation/zodSchema.ts @@ -1,4 +1,11 @@ -import { instanceof as instanceOf, number, string } from 'zod' +import { + ZodTypeAny, + any, + custom, + instanceof as instanceOf, + number, + string, +} from 'zod' export const schemaDefaults = { requiredString: (msg = 'Dit veld is verplicht.') => @@ -12,6 +19,7 @@ export const schemaDefaults = { required_error: msg, invalid_type_error: msg, }), + optionalNumber: number().optional().nullable(), email: (msg = 'Dit veld is verplicht.') => string({ required_error: msg, @@ -32,12 +40,44 @@ export const schemaDefaults = { .trim() .min(4, 'Vul een titel in van minimaal 4 karakters') .max(220, 'Vul een titel in van maximaal 220 karakters'), - date: string({ required_error: 'Selecteer een datum' }).datetime( - 'Onjuiste datum' - ), + date: (msg = 'Selecteer een datum') => + string({ required_error: msg, invalid_type_error: msg }).datetime( + 'Onjuiste datum' + ), + optionalDate: string().datetime().optional().nullable(), file: instanceOf(File), + rte: () => + customRteValidation().and( + string({ + required_error: 'Dit veld is verplicht.', + invalid_type_error: 'Dit veld is verplicht.', + }) + ), + optionalRte: () => customRteValidation().optional().nullable(), } +const customRteValidation = () => + custom(html => { + const doc = new DOMParser().parseFromString(html as string, 'text/html') + + const containsEmptyParagraphs = Array.from( + doc.querySelectorAll('p') + ).some(p => p.innerHTML.trim() === '
    ' || p.innerHTML.trim() === '') + + return !containsEmptyParagraphs + }, 'Lege paragrafen zijn niet toegestaan. Vul ze in of verwijder ze.') + export type Validation = { [K in keyof typeof schemaDefaults]?: (typeof schemaDefaults)[K] } + +export function zodAlwaysRefine(zodType: T) { + return any().superRefine(async (value, ctx) => { + const res = await zodType.safeParseAsync(value) + + if (res.success === false) + for (const issue of res.error.issues) { + ctx.addIssue(issue) + } + }) as unknown as T +} diff --git a/vite.config.ts b/vite.config.ts index 7ecf414e2..67a8e0403 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -34,9 +34,7 @@ export default defineConfig({ '@tiptap/extension-placeholder', '@tiptap/extension-text', '@tiptap/extension-underline', - '@tiptap/react', ], - 'react-select': ['react-select'], leaflet: [ 'leaflet', 'leaflet-draw', @@ -46,7 +44,6 @@ export default defineConfig({ zod: ['zod', 'zod-formik-adapter'], dompurify: ['dompurify'], formik: ['formik'], - 'date-fns': ['date-fns/esm'], pzh: ['@pzh-ui/components', '@pzh-ui/icons'], }, }, @@ -80,5 +77,10 @@ export default defineConfig({ }, restoreMocks: true, mockReset: true, + server: { + deps: { + inline: ['@pzh-ui/components'], + }, + }, }, }) diff --git a/yarn.lock b/yarn.lock index 1bb34ecb4..f1710aeb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13,9 +13,9 @@ __metadata: linkType: hard "@adobe/css-tools@npm:^4.3.2": - version: 4.3.2 - resolution: "@adobe/css-tools@npm:4.3.2" - checksum: 973dcb7ba5141f57ec726ddec2e94e8947361bb0c5f0e8ebd1e8aa3a84b28e66db4ad843908825f99730d59784ff3c43868b014a7268676a65950cdb850c42cc + version: 4.3.3 + resolution: "@adobe/css-tools@npm:4.3.3" + checksum: 0e77057efb4e18182560855503066b75edca98671be327d3f8a7ae89ec3da6821e693114b55225909fca00d7e7ed8422f3d79d71fe95dd4d5df1f2026a9fda02 languageName: node linkType: hard @@ -88,16 +88,16 @@ __metadata: linkType: hard "@axe-core/react@npm:^4.8.2": - version: 4.8.3 - resolution: "@axe-core/react@npm:4.8.3" + version: 4.8.5 + resolution: "@axe-core/react@npm:4.8.5" dependencies: - axe-core: "npm:~4.8.3" + axe-core: "npm:~4.8.4" requestidlecallback: "npm:^0.3.0" - checksum: 9c570b5cd615f6ab1b991b1c3ce800be79898390f7c10b00d9bb69c7b66bc77a90a1ff0db1cdea194ad4b8fa063c31f9d4fa9c1ea0c9bb102398f1eb0b0c1c09 + checksum: 0d103fde320962c9551359739372fd608585bdd88d109dae0875c3e8c7bff9738c6915357f6722ced5e3d56a6003191cb8b1725b8ad85f2c58299d457b2f5ed1 languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.23.5": version: 7.23.5 resolution: "@babel/code-frame@npm:7.23.5" dependencies: @@ -115,31 +115,31 @@ __metadata: linkType: hard "@babel/core@npm:^7.21.3, @babel/core@npm:^7.23.5": - version: 7.23.7 - resolution: "@babel/core@npm:7.23.7" + version: 7.23.9 + resolution: "@babel/core@npm:7.23.9" dependencies: "@ampproject/remapping": "npm:^2.2.0" "@babel/code-frame": "npm:^7.23.5" "@babel/generator": "npm:^7.23.6" "@babel/helper-compilation-targets": "npm:^7.23.6" "@babel/helper-module-transforms": "npm:^7.23.3" - "@babel/helpers": "npm:^7.23.7" - "@babel/parser": "npm:^7.23.6" - "@babel/template": "npm:^7.22.15" - "@babel/traverse": "npm:^7.23.7" - "@babel/types": "npm:^7.23.6" + "@babel/helpers": "npm:^7.23.9" + "@babel/parser": "npm:^7.23.9" + "@babel/template": "npm:^7.23.9" + "@babel/traverse": "npm:^7.23.9" + "@babel/types": "npm:^7.23.9" convert-source-map: "npm:^2.0.0" debug: "npm:^4.1.0" gensync: "npm:^1.0.0-beta.2" json5: "npm:^2.2.3" semver: "npm:^6.3.1" - checksum: 956841695ea801c8b4196d01072e6c1062335960715a6fcfd4009831003b526b00627c78b373ed49b1658c3622c71142f7ff04235fe839cac4a1a25ed51b90aa + checksum: 268cdbb86bef1b8ea5b1300f2f325e56a1740a5051360cb228ffeaa0f80282b6674f3a2b4d6466adb0691183759b88d4c37b4a4f77232c84a49ed771c84cdc27 languageName: node linkType: hard "@babel/eslint-parser@npm:^7.17.0": - version: 7.23.3 - resolution: "@babel/eslint-parser@npm:7.23.3" + version: 7.23.10 + resolution: "@babel/eslint-parser@npm:7.23.10" dependencies: "@nicolo-ribaudo/eslint-scope-5-internals": "npm:5.1.1-v1" eslint-visitor-keys: "npm:^2.1.0" @@ -147,7 +147,7 @@ __metadata: peerDependencies: "@babel/core": ^7.11.0 eslint: ^7.5.0 || ^8.0.0 - checksum: bc487f67aac64f1f8b351b8ec5e83bd1de5770e2e39c648d4df486e4079110f8594ef5b60b6e8379a9bb944dbbe5d96295f04fa47ef17901186568875b804b99 + checksum: eb62ad6a1098836331317be978ebd5991a9257d58118062f252b002e995b4f35b76a5dc976b07d84d21e64c8395587a044c5e6e444b3b69ab53e50a18facf2af languageName: node linkType: hard @@ -195,8 +195,8 @@ __metadata: linkType: hard "@babel/helper-create-class-features-plugin@npm:^7.22.15, @babel/helper-create-class-features-plugin@npm:^7.23.6": - version: 7.23.7 - resolution: "@babel/helper-create-class-features-plugin@npm:7.23.7" + version: 7.23.10 + resolution: "@babel/helper-create-class-features-plugin@npm:7.23.10" dependencies: "@babel/helper-annotate-as-pure": "npm:^7.22.5" "@babel/helper-environment-visitor": "npm:^7.22.20" @@ -209,7 +209,7 @@ __metadata: semver: "npm:^6.3.1" peerDependencies: "@babel/core": ^7.0.0 - checksum: c8b3ef58fca399a25f00d703b0fb2ac1d86642d9e3bd7af04df77857641ed08aaca042ffb271ef93771f9272481fd1cf102a9bddfcee407fb126c927deeef6a7 + checksum: 8b9f02526eeb03ef1d2bc89e3554377ae966b33a74078ab1f88168dfa725dc206ea5ecf4cf417c3651d8a6b3c70204f6939a9aa0401be3d0d32ddbf6024ea3c7 languageName: node linkType: hard @@ -226,9 +226,9 @@ __metadata: languageName: node linkType: hard -"@babel/helper-define-polyfill-provider@npm:^0.4.4": - version: 0.4.4 - resolution: "@babel/helper-define-polyfill-provider@npm:0.4.4" +"@babel/helper-define-polyfill-provider@npm:^0.5.0": + version: 0.5.0 + resolution: "@babel/helper-define-polyfill-provider@npm:0.5.0" dependencies: "@babel/helper-compilation-targets": "npm:^7.22.6" "@babel/helper-plugin-utils": "npm:^7.22.5" @@ -237,7 +237,7 @@ __metadata: resolve: "npm:^1.14.2" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 16c312e40ecf2ead81f3ab7275387079071012d2363022c04cf16d56fe0d781185f3a517b928f4556c716ae45e0567b817b636d5cd2fee8fb2ce2b18a04c5bcd + checksum: f849e816ec4b182a3e8fa8e09ff016f88bb95259cd6b2190b815c48f83c3d3b68e973a8ec72acc5086bfe93705cbd46ec089c06476421d858597780e42235a03 languageName: node linkType: hard @@ -401,14 +401,14 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.23.7": - version: 7.23.8 - resolution: "@babel/helpers@npm:7.23.8" +"@babel/helpers@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/helpers@npm:7.23.9" dependencies: - "@babel/template": "npm:^7.22.15" - "@babel/traverse": "npm:^7.23.7" - "@babel/types": "npm:^7.23.6" - checksum: 4c392351910102403b6a7c922319077b179c276e422a4e45b243b45610f813a05a043b6b116cbf5eb4b437fb51b9a2dfc2b7c65f38a0de7fde1f97d08a675313 + "@babel/template": "npm:^7.23.9" + "@babel/traverse": "npm:^7.23.9" + "@babel/types": "npm:^7.23.9" + checksum: dd56daac8bbd7ed174bb00fd185926fd449e591d9a00edaceb7ac6edbdd7a8db57e2cb365b4fafda382201752789ced2f7ae010f667eab0f198a4571cda4d2c5 languageName: node linkType: hard @@ -423,12 +423,12 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.6": - version: 7.23.6 - resolution: "@babel/parser@npm:7.23.6" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.6, @babel/parser@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/parser@npm:7.23.9" bin: parser: ./bin/babel-parser.js - checksum: 6be3a63d3c9d07b035b5a79c022327cb7e16cbd530140ecb731f19a650c794c315a72c699a22413ebeafaff14aa8f53435111898d59e01a393d741b85629fa7d + checksum: 727a7a807100f6a26df859e2f009c4ddbd0d3363287b45daa50bd082ccd0d431d0c4d0e610a91f806e04a1918726cd0f5a0592c9b902a815337feed12e1cafd9 languageName: node linkType: hard @@ -709,9 +709,9 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-async-generator-functions@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.7" +"@babel/plugin-transform-async-generator-functions@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.9" dependencies: "@babel/helper-environment-visitor": "npm:^7.22.20" "@babel/helper-plugin-utils": "npm:^7.22.5" @@ -719,7 +719,7 @@ __metadata: "@babel/plugin-syntax-async-generators": "npm:^7.8.4" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b1f66b23423933c27336b1161ac92efef46683321caea97e2255a666f992979376f47a5559f64188d3831fa66a4b24c2a7a40838cc0e9737e90eebe20e8e6372 + checksum: d402494087a6b803803eb5ab46b837aab100a04c4c5148e38bfa943ea1bbfc1ecfb340f1ced68972564312d3580f550c125f452372e77607a558fbbaf98c31c0 languageName: node linkType: hard @@ -979,9 +979,9 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.23.3" +"@babel/plugin-transform-modules-systemjs@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.23.9" dependencies: "@babel/helper-hoist-variables": "npm:^7.22.5" "@babel/helper-module-transforms": "npm:^7.23.3" @@ -989,7 +989,7 @@ __metadata: "@babel/helper-validator-identifier": "npm:^7.22.20" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 051112de7585fff4ffd67865066401f01f90745d41f26b0edbeec0981342c10517ce1a6b4d7051b583a3e513088eece6a3f57b1663f1dd9418071cd05f14fef9 + checksum: 4bb800e5a9d0d668d7421ae3672fccff7d5f2a36621fd87414d7ece6d6f4d93627f9644cfecacae934bc65ffc131c8374242aaa400cca874dcab9b281a21aff0 languageName: node linkType: hard @@ -1364,8 +1364,8 @@ __metadata: linkType: hard "@babel/preset-env@npm:^7.16.11": - version: 7.23.8 - resolution: "@babel/preset-env@npm:7.23.8" + version: 7.23.9 + resolution: "@babel/preset-env@npm:7.23.9" dependencies: "@babel/compat-data": "npm:^7.23.5" "@babel/helper-compilation-targets": "npm:^7.23.6" @@ -1394,7 +1394,7 @@ __metadata: "@babel/plugin-syntax-top-level-await": "npm:^7.14.5" "@babel/plugin-syntax-unicode-sets-regex": "npm:^7.18.6" "@babel/plugin-transform-arrow-functions": "npm:^7.23.3" - "@babel/plugin-transform-async-generator-functions": "npm:^7.23.7" + "@babel/plugin-transform-async-generator-functions": "npm:^7.23.9" "@babel/plugin-transform-async-to-generator": "npm:^7.23.3" "@babel/plugin-transform-block-scoped-functions": "npm:^7.23.3" "@babel/plugin-transform-block-scoping": "npm:^7.23.4" @@ -1416,7 +1416,7 @@ __metadata: "@babel/plugin-transform-member-expression-literals": "npm:^7.23.3" "@babel/plugin-transform-modules-amd": "npm:^7.23.3" "@babel/plugin-transform-modules-commonjs": "npm:^7.23.3" - "@babel/plugin-transform-modules-systemjs": "npm:^7.23.3" + "@babel/plugin-transform-modules-systemjs": "npm:^7.23.9" "@babel/plugin-transform-modules-umd": "npm:^7.23.3" "@babel/plugin-transform-named-capturing-groups-regex": "npm:^7.22.5" "@babel/plugin-transform-new-target": "npm:^7.23.3" @@ -1442,14 +1442,14 @@ __metadata: "@babel/plugin-transform-unicode-regex": "npm:^7.23.3" "@babel/plugin-transform-unicode-sets-regex": "npm:^7.23.3" "@babel/preset-modules": "npm:0.1.6-no-external-plugins" - babel-plugin-polyfill-corejs2: "npm:^0.4.7" - babel-plugin-polyfill-corejs3: "npm:^0.8.7" - babel-plugin-polyfill-regenerator: "npm:^0.5.4" + babel-plugin-polyfill-corejs2: "npm:^0.4.8" + babel-plugin-polyfill-corejs3: "npm:^0.9.0" + babel-plugin-polyfill-regenerator: "npm:^0.5.5" core-js-compat: "npm:^3.31.0" semver: "npm:^6.3.1" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 74493faa8b3e4bdd07ab3fbde80d7b13cc05321877f997698177c0bb082669c9b6a87397bd79ca6656df3c80c05e514ffed6d81510e2d8719a6e9647c038b7b9 + checksum: 0214ac9434a2496eac7f56c0c91164421232ff2083a66e1ccab633ca91e262828e54a5cbdb9036e8fe53d53530b6597aa98c99de8ff07b5193ffd95f21dc9d2c languageName: node linkType: hard @@ -1505,28 +1505,46 @@ __metadata: linkType: hard "@babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": - version: 7.23.8 - resolution: "@babel/runtime@npm:7.23.8" + version: 7.23.9 + resolution: "@babel/runtime@npm:7.23.9" dependencies: regenerator-runtime: "npm:^0.14.0" - checksum: ec8f1967a36164da6cac868533ffdff97badd76d23d7d820cc84f0818864accef972f22f9c6a710185db1e3810e353fc18c3da721e5bb3ee8bc61bdbabce03ff + checksum: 9a520fe1bf72249f7dd60ff726434251858de15cccfca7aa831bd19d0d3fb17702e116ead82724659b8da3844977e5e13de2bae01eb8a798f2823a669f122be6 languageName: node linkType: hard -"@babel/template@npm:^7.22.15": - version: 7.22.15 - resolution: "@babel/template@npm:7.22.15" +"@babel/runtime@npm:^7.13.10": + version: 7.24.7 + resolution: "@babel/runtime@npm:7.24.7" dependencies: - "@babel/code-frame": "npm:^7.22.13" - "@babel/parser": "npm:^7.22.15" - "@babel/types": "npm:^7.22.15" - checksum: 21e768e4eed4d1da2ce5d30aa51db0f4d6d8700bc1821fec6292587df7bba2fe1a96451230de8c64b989740731888ebf1141138bfffb14cacccf4d05c66ad93f + regenerator-runtime: "npm:^0.14.0" + checksum: 7b77f566165dee62db3db0296e71d08cafda3f34e1b0dcefcd68427272e17c1704f4e4369bff76651b07b6e49d3ea5a0ce344818af9116e9292e4381e0918c76 languageName: node linkType: hard -"@babel/traverse@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/traverse@npm:7.23.7" +"@babel/runtime@npm:^7.24.0": + version: 7.24.4 + resolution: "@babel/runtime@npm:7.24.4" + dependencies: + regenerator-runtime: "npm:^0.14.0" + checksum: 8ec8ce2c145bc7e31dd39ab66df124f357f65c11489aefacb30f431bae913b9aaa66aa5efe5321ea2bf8878af3fcee338c87e7599519a952e3a6f83aa1b03308 + languageName: node + linkType: hard + +"@babel/template@npm:^7.22.15, @babel/template@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/template@npm:7.23.9" + dependencies: + "@babel/code-frame": "npm:^7.23.5" + "@babel/parser": "npm:^7.23.9" + "@babel/types": "npm:^7.23.9" + checksum: 1b011ba9354dc2e646561d54b6862e0df51760e6179faadd79be05825b0b6da04911e4e192df943f1766748da3037fd8493615b38707f7cadb0cf0c96601c170 + languageName: node + linkType: hard + +"@babel/traverse@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/traverse@npm:7.23.9" dependencies: "@babel/code-frame": "npm:^7.23.5" "@babel/generator": "npm:^7.23.6" @@ -1534,11 +1552,11 @@ __metadata: "@babel/helper-function-name": "npm:^7.23.0" "@babel/helper-hoist-variables": "npm:^7.22.5" "@babel/helper-split-export-declaration": "npm:^7.22.6" - "@babel/parser": "npm:^7.23.6" - "@babel/types": "npm:^7.23.6" + "@babel/parser": "npm:^7.23.9" + "@babel/types": "npm:^7.23.9" debug: "npm:^4.3.1" globals: "npm:^11.1.0" - checksum: 3215e59429963c8dac85c26933372cdd322952aa9930e4bc5ef2d0e4bd7a1510d1ecf8f8fd860ace5d4d9fe496d23805a1ea019a86410aee4111de5f63ee84f9 + checksum: e2bb845f7f229feb7c338f7e150f5f1abc5395dcd3a6a47f63a25242ec3ec6b165f04a6df7d4849468547faee34eb3cf52487eb0bd867a7d3c42fec2a648266f languageName: node linkType: hard @@ -1553,6 +1571,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/types@npm:7.23.9" + dependencies: + "@babel/helper-string-parser": "npm:^7.23.4" + "@babel/helper-validator-identifier": "npm:^7.22.20" + to-fast-properties: "npm:^2.0.0" + checksum: bed9634e5fd0f9dc63c84cfa83316c4cb617192db9fedfea464fca743affe93736d7bf2ebf418ee8358751a9d388e303af87a0c050cb5d87d5870c1b0154f6cb + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -1569,15 +1598,6 @@ __metadata: languageName: node linkType: hard -"@bundled-es-modules/js-levenshtein@npm:^2.0.1": - version: 2.0.1 - resolution: "@bundled-es-modules/js-levenshtein@npm:2.0.1" - dependencies: - js-levenshtein: "npm:^1.1.6" - checksum: 13d0cbd2b00e563e09a797559dcff8c7e208c1f71e1787535a3d248f7e3d33ef3f0809b9f498d41788ab5fd399882dcca79917d70d97921b7dde94a282c1b7d8 - languageName: node - linkType: hard - "@bundled-es-modules/statuses@npm:^1.0.1": version: 1.0.1 resolution: "@bundled-es-modules/statuses@npm:1.0.1" @@ -1711,6 +1731,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/aix-ppc64@npm:0.19.12" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/aix-ppc64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/aix-ppc64@npm:0.20.2" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/android-arm64@npm:0.19.11" @@ -1718,6 +1752,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-arm64@npm:0.19.12" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/android-arm64@npm:0.20.2" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/android-arm@npm:0.19.11" @@ -1725,6 +1773,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-arm@npm:0.19.12" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/android-arm@npm:0.20.2" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/android-x64@npm:0.19.11" @@ -1732,6 +1794,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/android-x64@npm:0.19.12" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/android-x64@npm:0.20.2" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/darwin-arm64@npm:0.19.11" @@ -1739,6 +1815,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/darwin-arm64@npm:0.19.12" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/darwin-arm64@npm:0.20.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/darwin-x64@npm:0.19.11" @@ -1746,6 +1836,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/darwin-x64@npm:0.19.12" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/darwin-x64@npm:0.20.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/freebsd-arm64@npm:0.19.11" @@ -1753,6 +1857,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/freebsd-arm64@npm:0.19.12" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/freebsd-arm64@npm:0.20.2" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/freebsd-x64@npm:0.19.11" @@ -1760,6 +1878,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/freebsd-x64@npm:0.19.12" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/freebsd-x64@npm:0.20.2" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-arm64@npm:0.19.11" @@ -1767,6 +1899,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-arm64@npm:0.19.12" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-arm64@npm:0.20.2" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-arm@npm:0.19.11" @@ -1774,6 +1920,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-arm@npm:0.19.12" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-arm@npm:0.20.2" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-ia32@npm:0.19.11" @@ -1781,6 +1941,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-ia32@npm:0.19.12" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-ia32@npm:0.20.2" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-loong64@npm:0.19.11" @@ -1788,6 +1962,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-loong64@npm:0.19.12" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-loong64@npm:0.20.2" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-mips64el@npm:0.19.11" @@ -1795,6 +1983,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-mips64el@npm:0.19.12" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-mips64el@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-mips64el@npm:0.20.2" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-ppc64@npm:0.19.11" @@ -1802,6 +2004,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-ppc64@npm:0.19.12" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-ppc64@npm:0.20.2" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-riscv64@npm:0.19.11" @@ -1809,6 +2025,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-riscv64@npm:0.19.12" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-riscv64@npm:0.20.2" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-s390x@npm:0.19.11" @@ -1816,6 +2046,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-s390x@npm:0.19.12" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-s390x@npm:0.20.2" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/linux-x64@npm:0.19.11" @@ -1823,6 +2067,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/linux-x64@npm:0.19.12" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-x64@npm:0.20.2" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/netbsd-x64@npm:0.19.11" @@ -1830,6 +2088,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/netbsd-x64@npm:0.19.12" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/netbsd-x64@npm:0.20.2" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/openbsd-x64@npm:0.19.11" @@ -1837,6 +2109,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/openbsd-x64@npm:0.19.12" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/openbsd-x64@npm:0.20.2" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/sunos-x64@npm:0.19.11" @@ -1844,6 +2130,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/sunos-x64@npm:0.19.12" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/sunos-x64@npm:0.20.2" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/win32-arm64@npm:0.19.11" @@ -1851,6 +2151,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-arm64@npm:0.19.12" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/win32-arm64@npm:0.20.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/win32-ia32@npm:0.19.11" @@ -1858,6 +2172,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-ia32@npm:0.19.12" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/win32-ia32@npm:0.20.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.19.11": version: 0.19.11 resolution: "@esbuild/win32-x64@npm:0.19.11" @@ -1865,6 +2193,20 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.19.12": + version: 0.19.12 + resolution: "@esbuild/win32-x64@npm:0.19.12" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/win32-x64@npm:0.20.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -1915,40 +2257,40 @@ __metadata: linkType: hard "@faker-js/faker@npm:^8.3.1": - version: 8.3.1 - resolution: "@faker-js/faker@npm:8.3.1" - checksum: 66b25cb82af907ff127767b54a5d6e95919c8051cd2de9131a6f5dd45dc539ebfbafad66e590e603e347e4c411f0f83c28e70043024af66faebba49d9868c263 + version: 8.4.1 + resolution: "@faker-js/faker@npm:8.4.1" + checksum: 5983c2ea64f26055ad6648de748878e11ebe2fb751e3c7435ae141cdffabc2dccfe4c4f49da69a3d2add71e21b415c683ac5fba196fab0d5ed6779fbec436c80 languageName: node linkType: hard -"@floating-ui/core@npm:^1.5.3": - version: 1.5.3 - resolution: "@floating-ui/core@npm:1.5.3" +"@floating-ui/core@npm:^1.0.0": + version: 1.6.0 + resolution: "@floating-ui/core@npm:1.6.0" dependencies: - "@floating-ui/utils": "npm:^0.2.0" - checksum: 7d9feaca2565a2a71bf03d23cd292c03def63097d7fde7d62909cdb8ddb84664781f3922086bcf10443f3310cb92381a0ecf745b2774edb917fa74fe61015c56 + "@floating-ui/utils": "npm:^0.2.1" + checksum: d6a47cacde193cd8ccb4c268b91ccc4ca254dffaec6242b07fd9bcde526044cc976d27933a7917f9a671de0a0e27f8d358f46400677dbd0c8199de293e9746e1 languageName: node linkType: hard -"@floating-ui/dom@npm:^1.0.1, @floating-ui/dom@npm:^1.5.4": - version: 1.5.4 - resolution: "@floating-ui/dom@npm:1.5.4" +"@floating-ui/dom@npm:^1.0.1, @floating-ui/dom@npm:^1.6.1": + version: 1.6.3 + resolution: "@floating-ui/dom@npm:1.6.3" dependencies: - "@floating-ui/core": "npm:^1.5.3" + "@floating-ui/core": "npm:^1.0.0" "@floating-ui/utils": "npm:^0.2.0" - checksum: 3ba02ba2b4227c1e18df6ccdd029a1c100058db2e76ca1dac60a593ec72b2d4d995fa5c2d1639a5c38adb17e12398fbfe4f6cf5fd45f2ee6170ed0cf64acea06 + checksum: 83e97076c7a5f55c3506f574bc53f03d38bed6eb8181920c8733076889371e287e9ae6f28c520a076967759b9b6ff425362832a5cdf16a999069530dbb9cce53 languageName: node linkType: hard -"@floating-ui/react-dom@npm:^2.0.1": - version: 2.0.6 - resolution: "@floating-ui/react-dom@npm:2.0.6" +"@floating-ui/react-dom@npm:^2.0.1, @floating-ui/react-dom@npm:^2.0.8": + version: 2.0.8 + resolution: "@floating-ui/react-dom@npm:2.0.8" dependencies: - "@floating-ui/dom": "npm:^1.5.4" + "@floating-ui/dom": "npm:^1.6.1" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 4a3f828370c1b14af0e4d24df18de7b2cfd6695c189532d5949daaa43cba13ce7f231c71783b47e8c54baefcc2542650d82a4a6cebcf3d9091673f2a53d3a2cb + checksum: e57b2a498aecf8de0ec28adf434257fca7893bd9bd7e78b63ac98c63b29b9fc086fc175630154352f3610f5c4a0d329823837f4f6c235cc0459fde6417065590 languageName: node linkType: hard @@ -1966,8 +2308,22 @@ __metadata: languageName: node linkType: hard -"@floating-ui/utils@npm:^0.2.0": - version: 0.2.1 +"@floating-ui/react@npm:^0.26.2": + version: 0.26.9 + resolution: "@floating-ui/react@npm:0.26.9" + dependencies: + "@floating-ui/react-dom": "npm:^2.0.8" + "@floating-ui/utils": "npm:^0.2.1" + tabbable: "npm:^6.0.1" + peerDependencies: + react: ">=16.8.0" + react-dom: ">=16.8.0" + checksum: 997f5a471ac6080c5162ad86fbb8e5bc0eca9335c40d8445597a90ba645e5d35ee796c29bdc66d868182afe5901804ecd52b82560332ae123b0c269400421e63 + languageName: node + linkType: hard + +"@floating-ui/utils@npm:^0.2.0, @floating-ui/utils@npm:^0.2.1": + version: 0.2.1 resolution: "@floating-ui/utils@npm:0.2.1" checksum: 33c9ab346e7b05c5a1e6a95bc902aafcfc2c9d513a147e2491468843bd5607531b06d0b9aa56aa491cbf22a6c2495c18ccfc4c0344baec54a689a7bb8e4898d6 languageName: node @@ -1992,24 +2348,24 @@ __metadata: languageName: node linkType: hard -"@formatjs/icu-messageformat-parser@npm:2.7.5": - version: 2.7.5 - resolution: "@formatjs/icu-messageformat-parser@npm:2.7.5" +"@formatjs/icu-messageformat-parser@npm:2.7.6": + version: 2.7.6 + resolution: "@formatjs/icu-messageformat-parser@npm:2.7.6" dependencies: "@formatjs/ecma402-abstract": "npm:1.18.2" - "@formatjs/icu-skeleton-parser": "npm:1.7.2" + "@formatjs/icu-skeleton-parser": "npm:1.8.0" tslib: "npm:^2.4.0" - checksum: b8b2b5e01cf5091ca61278ff0e6945b2fd7b10a5ac5c2b3b35b73c44675a75c482f29e3fadbe5662ecbfe630fff4fa4f540d0c7ae50c0173b00a72b965a43d6c + checksum: 5baf9c1cf4b3f70d95bbac602b0695fcf67c6e2ff098e39dd53bdad0a16d192b9b5fe74dbdbeb76404bbdcdc95628d2623d24f786736074751fef13490cb6237 languageName: node linkType: hard -"@formatjs/icu-skeleton-parser@npm:1.7.2": - version: 1.7.2 - resolution: "@formatjs/icu-skeleton-parser@npm:1.7.2" +"@formatjs/icu-skeleton-parser@npm:1.8.0": + version: 1.8.0 + resolution: "@formatjs/icu-skeleton-parser@npm:1.8.0" dependencies: "@formatjs/ecma402-abstract": "npm:1.18.2" tslib: "npm:^2.4.0" - checksum: 321b2ab5fc87277e31b9be654ed283ca5b7fdd5865d606052bc2ae3ffb6caf53ae158c90cb0d54e5f374fdba32e2ad91e2a462feff108cc7931a1765e5ab6096 + checksum: 8cd96d9075d1d369e4746dfaea6e3f478d21ed0672f4b777c4ee53b2660ef8c9a081976e6a8c73bba889eddc7edc52dba6eeea5fd62a8c03aa73e266b3cd89e9 languageName: node linkType: hard @@ -2022,13 +2378,6 @@ __metadata: languageName: node linkType: hard -"@gar/promisify@npm:^1.0.1, @gar/promisify@npm:^1.1.3": - version: 1.1.3 - resolution: "@gar/promisify@npm:1.1.3" - checksum: 052dd232140fa60e81588000cbe729a40146579b361f1070bce63e2a761388a22a16d00beeffc504bd3601cb8e055c57b21a185448b3ed550cf50716f4fd442e - languageName: node - linkType: hard - "@headlessui/react@npm:^1.5.0, @headlessui/react@npm:^1.7.17": version: 1.7.18 resolution: "@headlessui/react@npm:1.7.18" @@ -2075,8 +2424,8 @@ __metadata: linkType: hard "@ibm-cloud/openapi-ruleset@npm:^1.14.2": - version: 1.14.2 - resolution: "@ibm-cloud/openapi-ruleset@npm:1.14.2" + version: 1.15.2 + resolution: "@ibm-cloud/openapi-ruleset@npm:1.15.2" dependencies: "@ibm-cloud/openapi-ruleset-utilities": "npm:1.3.0" "@stoplight/spectral-formats": "npm:^1.5.0" @@ -2088,44 +2437,120 @@ __metadata: loglevel-plugin-prefix: "npm:0.8.4" minimatch: "npm:^6.1.6" validator: "npm:^13.7.0" - checksum: 94c9f366107e7b93648cdf44129b5a2a9f61fb3bfdcd377b962c7a4a08c28e35867265c10da3b8b5f5980ebcabb55ea0ced04394fe2c4aa99624f63a5b70a0dd + checksum: 4118beb2d1415ad4a0b81f317499d694af7787dadf175778c9cb5884864b78f8fe72e155f849e3798651559ed3fee583d1f90dbe8ad63802708da93fbf8fc45c languageName: node linkType: hard -"@internationalized/date@npm:^3.5.1": - version: 3.5.1 - resolution: "@internationalized/date@npm:3.5.1" +"@inquirer/confirm@npm:^3.0.0": + version: 3.0.0 + resolution: "@inquirer/confirm@npm:3.0.0" + dependencies: + "@inquirer/core": "npm:^7.0.0" + "@inquirer/type": "npm:^1.2.0" + checksum: ed16dc0e5b22115474853ca57dbe3dacdcd15bcb37cc50020e8e76ff8d0875d62d8b63b93b3092c653faeb6c83a139eac997ff05638b0f1f78ae919f29ee29d4 + languageName: node + linkType: hard + +"@inquirer/core@npm:^7.0.0": + version: 7.0.0 + resolution: "@inquirer/core@npm:7.0.0" + dependencies: + "@inquirer/type": "npm:^1.2.0" + "@types/mute-stream": "npm:^0.0.4" + "@types/node": "npm:^20.11.16" + "@types/wrap-ansi": "npm:^3.0.0" + ansi-escapes: "npm:^4.3.2" + chalk: "npm:^4.1.2" + cli-spinners: "npm:^2.9.2" + cli-width: "npm:^4.1.0" + figures: "npm:^3.2.0" + mute-stream: "npm:^1.0.0" + run-async: "npm:^3.0.0" + signal-exit: "npm:^4.1.0" + strip-ansi: "npm:^6.0.1" + wrap-ansi: "npm:^6.2.0" + checksum: 78c0ef4bb82cb7be23f16a80c9cff02839c77e378d272327f49878788a4c3b1cc00137387317053d242a87634954850a4d2546b3e48b1abd27130a21f598afef + languageName: node + linkType: hard + +"@inquirer/type@npm:^1.2.0": + version: 1.2.0 + resolution: "@inquirer/type@npm:1.2.0" + checksum: 12f68a16d8995efb409bd243d6ccc501b366e8009630a075071a9d9497cebd36bbd6c46d7d59b37435629e5e50236394679f414f7676b68b913ecc28a85cba0a + languageName: node + linkType: hard + +"@internationalized/date@npm:^3.5.2": + version: 3.5.2 + resolution: "@internationalized/date@npm:3.5.2" dependencies: "@swc/helpers": "npm:^0.5.0" - checksum: 38bce4ca2123dc4a3a7ef62ea44a86e0619764d42c3895ae5f0c4f17e7320dc945d61691dd0bc0f4dff6cda834113d1fe55253afebf4a46bf21e7b0e9f890096 + checksum: e37cdea4efa6214e72148f55f42782b3e8cd40bdca29705e52e6c490855f9ccbf38d0182632be005d9555463b50e8bf5fdb0d759cadff1baf7bae4fdaa28e96f languageName: node linkType: hard -"@internationalized/message@npm:^3.1.1": - version: 3.1.1 - resolution: "@internationalized/message@npm:3.1.1" +"@internationalized/date@npm:^3.5.4": + version: 3.5.4 + resolution: "@internationalized/date@npm:3.5.4" + dependencies: + "@swc/helpers": "npm:^0.5.0" + checksum: 0e38a3be70fbbbce291ec5a977fadb5f3a7dc2ca9a921494bd892e9ff6c8bba9cd44cd8767e5f50cf2d7e422ab2d5323da2eb7595142d8b487c83500ab135abe + languageName: node + linkType: hard + +"@internationalized/message@npm:^3.1.2": + version: 3.1.2 + resolution: "@internationalized/message@npm:3.1.2" dependencies: "@swc/helpers": "npm:^0.5.0" intl-messageformat: "npm:^10.1.0" - checksum: b73b443e75ab1d95e0d406a75107b1899d221883463de95769f3d63836bf91e7ac1ce07bd141121b9ccb89ff24d469aa424ba47e85b02dc8a8e0827b991bf801 + checksum: c6b8f9983f1922f27c45586d82500a8fd4e75cab622c367b70047bb9f45749ab8153c77b02fd3da635e3d6649d8609ae6d1df6da710a166361078e32b4516d2e languageName: node linkType: hard -"@internationalized/number@npm:^3.5.0": - version: 3.5.0 - resolution: "@internationalized/number@npm:3.5.0" +"@internationalized/message@npm:^3.1.4": + version: 3.1.4 + resolution: "@internationalized/message@npm:3.1.4" dependencies: "@swc/helpers": "npm:^0.5.0" - checksum: 8272b5da8afd4e1379767765f9ef24283e7ccb7c077646ded17fe7de11d72d2fd8f6e41f4ea21f101d084133f670059f062c3929ff18cf171f8f768151502bf5 + intl-messageformat: "npm:^10.1.0" + checksum: 1b895871cbf81cab360046aca07d7d1433aed5f8904abed03fb5e581516403c7b9b075a0e497d1095368329a5980e0ff38a14103b6d9fdb0621fbeeded8b71aa languageName: node linkType: hard -"@internationalized/string@npm:^3.2.0": - version: 3.2.0 - resolution: "@internationalized/string@npm:3.2.0" +"@internationalized/number@npm:^3.5.1": + version: 3.5.1 + resolution: "@internationalized/number@npm:3.5.1" + dependencies: + "@swc/helpers": "npm:^0.5.0" + checksum: 4ad68d98285a18a910d19455a0fa9c3960a919a139f0b01d2d589bfda1a2ebb8378b8c912e17c0d82cf756e7b3f48b0bff8a6decef1644c6c2f894da4e1e7c79 + languageName: node + linkType: hard + +"@internationalized/number@npm:^3.5.3": + version: 3.5.3 + resolution: "@internationalized/number@npm:3.5.3" + dependencies: + "@swc/helpers": "npm:^0.5.0" + checksum: 2b154a82f1150224ce0ae0e97a87e3eff5c60111342a89f0360d3146f8ca3b482b704d25d370a7233e4ff21eeb62cff8fb6e9594dc79984d05459f03a0d348f7 + languageName: node + linkType: hard + +"@internationalized/string@npm:^3.2.1": + version: 3.2.1 + resolution: "@internationalized/string@npm:3.2.1" + dependencies: + "@swc/helpers": "npm:^0.5.0" + checksum: 69603641a90fee37fc539adc8f3f5cbdd61909da486515bd4580fcce05495a9f0f303e6d8a36a8accb86c95845d84e78b088e4680ca087928b6b588756eb879b + languageName: node + linkType: hard + +"@internationalized/string@npm:^3.2.3": + version: 3.2.3 + resolution: "@internationalized/string@npm:3.2.3" dependencies: "@swc/helpers": "npm:^0.5.0" - checksum: ebe3cf9394baa5cc134eb6956f57785ddaaae79e9f66400783a0560541747fef170a59fd05923dc0c41e3f860343cc1175b3435412a616570d3247199f10c0e0 + checksum: d7ff86646e8cd10696fadd43f59eae767b7bcced652ecc70afaddcea396d6cebc34f8e08af274a32324a923f9a88f1ecf477b1cd2a64954fed8bc1111808f0d7 languageName: node linkType: hard @@ -2192,12 +2617,12 @@ __metadata: linkType: hard "@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.9": - version: 0.3.21 - resolution: "@jridgewell/trace-mapping@npm:0.3.21" + version: 0.3.22 + resolution: "@jridgewell/trace-mapping@npm:0.3.22" dependencies: "@jridgewell/resolve-uri": "npm:^3.1.0" "@jridgewell/sourcemap-codec": "npm:^1.4.14" - checksum: 925dda0620887e5a24f11b5a3a106f4e8b1a66155b49be6ceee61432174df33a17c243d8a89b2cd79ccebd281d817878759236a2fc42c47325ae9f73dfbfb90d + checksum: 48d3e3db00dbecb211613649a1849876ba5544a3f41cf5e6b99ea1130272d6cf18591b5b67389bce20f1c871b4ede5900c3b6446a7aab6d0a3b2fe806a834db7 languageName: node linkType: hard @@ -2233,9 +2658,9 @@ __metadata: languageName: node linkType: hard -"@mswjs/interceptors@npm:^0.25.14": - version: 0.25.14 - resolution: "@mswjs/interceptors@npm:0.25.14" +"@mswjs/interceptors@npm:^0.25.16": + version: 0.25.16 + resolution: "@mswjs/interceptors@npm:0.25.16" dependencies: "@open-draft/deferred-promise": "npm:^2.2.0" "@open-draft/logger": "npm:^0.3.0" @@ -2243,7 +2668,7 @@ __metadata: is-node-process: "npm:^1.2.0" outvariant: "npm:^1.2.1" strict-event-emitter: "npm:^0.5.1" - checksum: 6554d795ab9c88bf56c195b3ce0ec381abbbb66380a65007481044d177c22a2822683befc31d6cf32c02700ed925ff377b58b215ad2e8eaa29d9ea911d4ecd59 + checksum: d8fb74db45a63971e9da7367c8d120343c8f49fec7bcc3f0c77c04c3f628d307b70875f52e4a99df561547b92d0d53edacc421e42d69940d44999254b5d028b5 languageName: node linkType: hard @@ -2284,35 +2709,15 @@ __metadata: linkType: hard "@npmcli/agent@npm:^2.0.0": - version: 2.2.0 - resolution: "@npmcli/agent@npm:2.2.0" + version: 2.2.1 + resolution: "@npmcli/agent@npm:2.2.1" dependencies: agent-base: "npm:^7.1.0" http-proxy-agent: "npm:^7.0.0" https-proxy-agent: "npm:^7.0.1" lru-cache: "npm:^10.0.1" socks-proxy-agent: "npm:^8.0.1" - checksum: 822ea077553cd9cfc5cbd6d92380b0950fcb054a7027cd1b63a33bd0cbb16b0c6626ea75d95ec0e804643c8904472d3361d2da8c2444b1fb02a9b525d9c07c41 - languageName: node - linkType: hard - -"@npmcli/fs@npm:^1.0.0": - version: 1.1.1 - resolution: "@npmcli/fs@npm:1.1.1" - dependencies: - "@gar/promisify": "npm:^1.0.1" - semver: "npm:^7.3.5" - checksum: 8b5e6d75759b9f1a8b7885913df274c8cbbb1221176872615f2aecedf47b2c36e5dfbf4046ff1a905c9f3592fbd32051b3050b8a897bf03514a1a404b39af074 - languageName: node - linkType: hard - -"@npmcli/fs@npm:^2.1.0": - version: 2.1.2 - resolution: "@npmcli/fs@npm:2.1.2" - dependencies: - "@gar/promisify": "npm:^1.1.3" - semver: "npm:^7.3.5" - checksum: c5d4dfee80de2236e1e4ed595d17e217aada72ebd8215183fc46096fa010f583dd2aaaa486758de7cc0b89440dbc31cfe8b276269d75d47af35c716e896f78ec + checksum: d4a48128f61e47f2f5c89315a5350e265dc619987e635bd62b52b29c7ed93536e724e721418c0ce352ceece86c13043c67aba1b70c3f5cc72fce6bb746706162 languageName: node linkType: hard @@ -2325,26 +2730,6 @@ __metadata: languageName: node linkType: hard -"@npmcli/move-file@npm:^1.0.1": - version: 1.1.2 - resolution: "@npmcli/move-file@npm:1.1.2" - dependencies: - mkdirp: "npm:^1.0.4" - rimraf: "npm:^3.0.2" - checksum: c96381d4a37448ea280951e46233f7e541058cf57a57d4094dd4bdcaae43fa5872b5f2eb6bfb004591a68e29c5877abe3cdc210cb3588cbf20ab2877f31a7de7 - languageName: node - linkType: hard - -"@npmcli/move-file@npm:^2.0.0": - version: 2.0.1 - resolution: "@npmcli/move-file@npm:2.0.1" - dependencies: - mkdirp: "npm:^1.0.4" - rimraf: "npm:^3.0.2" - checksum: 52dc02259d98da517fae4cb3a0a3850227bdae4939dda1980b788a7670636ca2b4a01b58df03dd5f65c1e3cb70c50fa8ce5762b582b3f499ec30ee5ce1fd9380 - languageName: node - linkType: hard - "@open-draft/deferred-promise@npm:^2.2.0": version: 2.2.0 resolution: "@open-draft/deferred-promise@npm:2.2.0" @@ -2369,27 +2754,27 @@ __metadata: languageName: node linkType: hard -"@orval/angular@npm:6.23.0": - version: 6.23.0 - resolution: "@orval/angular@npm:6.23.0" +"@orval/angular@npm:6.25.0": + version: 6.25.0 + resolution: "@orval/angular@npm:6.25.0" dependencies: - "@orval/core": "npm:6.23.0" - checksum: 532290a2ea384366fc88b9715b33c70517f2ebdab8152a20efe5db481c4f04ccec92ebfb195e1c6f9604d7120c588d7edab3ec2ab6da68a5bbe4383deb794c32 + "@orval/core": "npm:6.25.0" + checksum: 6b9e604f865449d52b94bb763bbc1e8ed9d012b317ff79cffc46fd168f8610201341d44fb78caf97ecb7e0f62e24628be0afc758ffa8c4e18f2f19d13ae57738 languageName: node linkType: hard -"@orval/axios@npm:6.23.0": - version: 6.23.0 - resolution: "@orval/axios@npm:6.23.0" +"@orval/axios@npm:6.25.0": + version: 6.25.0 + resolution: "@orval/axios@npm:6.25.0" dependencies: - "@orval/core": "npm:6.23.0" - checksum: a65d4e73d2b0aec3a26a3e8cc9728a175a16ae5bb68395fe4756b32e250fa78630be36aefbfe9e6c6488ff6d7950338c2f19c3e8b8bc373706103956aa93a3de + "@orval/core": "npm:6.25.0" + checksum: 5c0c3d8bcbdc4592c7a6f45aec78ced9e5fac8958cd4593912674b6e2075abeffe38fb2eaf80cd459d4607f49b63a63cd6e186f6b1185628943802860bbb956f languageName: node linkType: hard -"@orval/core@npm:6.23.0": - version: 6.23.0 - resolution: "@orval/core@npm:6.23.0" +"@orval/core@npm:6.25.0": + version: 6.25.0 + resolution: "@orval/core@npm:6.25.0" dependencies: "@apidevtools/swagger-parser": "npm:^10.1.0" "@ibm-cloud/openapi-ruleset": "npm:^1.14.2" @@ -2398,7 +2783,7 @@ __metadata: chalk: "npm:^4.1.2" compare-versions: "npm:^6.1.0" debug: "npm:^4.3.4" - esbuild: "npm:^0.19.5" + esbuild: "npm:^0.19.11" esutils: "npm:2.0.3" fs-extra: "npm:^11.2.0" globby: "npm:11.1.0" @@ -2409,52 +2794,50 @@ __metadata: lodash.uniqby: "npm:^4.7.0" lodash.uniqwith: "npm:^4.5.0" micromatch: "npm:^4.0.5" - openapi-types: "npm:^12.1.3" - openapi3-ts: "npm:^3.2.0" + openapi3-ts: "npm:4.2.1" swagger2openapi: "npm:^7.0.8" - checksum: e527c07b24cfa8d1f74db1c49bda58e4f21ab91d46a05dc6d2c9f9f1838eb98c3717d3890abad00e3f2a24e53dd866b5164f3a663e84e72fd55bb7f90f179b13 + checksum: d66e2d8c412e8934e7e84b835e52733a08d7635b3757a9c2341fd5fc8c744d28a7f358abcf8c24e413b6bcc5e4622433d7edb259cddffd601f7a5b2e1ad13452 languageName: node linkType: hard -"@orval/mock@npm:6.23.0": - version: 6.23.0 - resolution: "@orval/mock@npm:6.23.0" +"@orval/mock@npm:6.25.0": + version: 6.25.0 + resolution: "@orval/mock@npm:6.25.0" dependencies: - "@orval/core": "npm:6.23.0" + "@orval/core": "npm:6.25.0" lodash.get: "npm:^4.4.2" lodash.omit: "npm:^4.5.0" - openapi3-ts: "npm:^3.0.0" - checksum: d408fd5057fcb3eb9b6d848a5e84822e1e7f92b69802f11dde733eab9c10c4dfa7705c4405ddf5fec675d85d61ccd0b899daa5e71bedfb547fc0f71ee1e3f7d3 + openapi3-ts: "npm:^4.2.1" + checksum: 05a165bbd3c757c13a50bec58b28b11a5ddd83c52333682ccd2e7f9b6bd70f8cbe5a904d1b36593ed574d40c5a00fb772c1fa64fbdcc91aab63f161bd0a515c9 languageName: node linkType: hard -"@orval/query@npm:6.23.0": - version: 6.23.0 - resolution: "@orval/query@npm:6.23.0" +"@orval/query@npm:6.25.0": + version: 6.25.0 + resolution: "@orval/query@npm:6.25.0" dependencies: - "@orval/core": "npm:6.23.0" + "@orval/core": "npm:6.25.0" lodash.omitby: "npm:^4.6.0" - vitest: "npm:^0.34.6" - checksum: da81755d3ef146e80c2c614b2a3e2f14617042ab44795d72911566274fb7898ad2feb25505c31ef51c014cea28f6668e59e4461e2f27e79f95bd27d4c2090103 + checksum: edbb35f6b183d1cdafebb368e3e0cf4d5631e7db8891f17a149b4f92456c7518ad41ddf897345063a3f5c58bee531d1a3326802f0d73ad60764a7c899cfa3a10 languageName: node linkType: hard -"@orval/swr@npm:6.23.0": - version: 6.23.0 - resolution: "@orval/swr@npm:6.23.0" +"@orval/swr@npm:6.25.0": + version: 6.25.0 + resolution: "@orval/swr@npm:6.25.0" dependencies: - "@orval/core": "npm:6.23.0" - checksum: 688b78647c0eea86589718132ad35d0942128208a624da5b929ac06b06e53ccf06e86dc97bf439ef3826f335279713ed1e39548241229ac14f46e5d50e462a1e + "@orval/core": "npm:6.25.0" + checksum: 1134b9b7cf5426b688447c8d4d13c6937168cafabeca97b76dfa1a7fce93c74596bbc049fcffb0887e873bd6d129bfe61601d9be1bed729c3b3854a6c9d9504b languageName: node linkType: hard -"@orval/zod@npm:6.23.0": - version: 6.23.0 - resolution: "@orval/zod@npm:6.23.0" +"@orval/zod@npm:6.25.0": + version: 6.25.0 + resolution: "@orval/zod@npm:6.25.0" dependencies: - "@orval/core": "npm:6.23.0" + "@orval/core": "npm:6.25.0" lodash.uniq: "npm:^4.5.0" - checksum: 624684e2c84b3531a965521086f41433188885e02c2bd6f51867dc842cf9f0d1108f8aa58a6e8ab461f68dd711dafa9e18d7a6b016b1a4b9bfe65cc2a6451796 + checksum: ef6984fee902721332e78a787c3a53a111ddbf539a84eb879d41ef3c39693bf4a8b1732ce595d9675c26065c2e9df88a5afdc5e3c39e01a3f2020b2475c698aa languageName: node linkType: hard @@ -2479,17 +2862,20 @@ __metadata: languageName: node linkType: hard -"@pzh-ui/components@npm:^0.0.452": - version: 0.0.452 - resolution: "@pzh-ui/components@npm:0.0.452" +"@pzh-ui/components@npm:^0.0.541": + version: 0.0.541 + resolution: "@pzh-ui/components@npm:0.0.541" dependencies: "@floating-ui/react": "npm:^0.24.8" "@headlessui/react": "npm:^1.5.0" - "@pzh-ui/icons": "npm:^0.0.47" - "@react-aria/utils": "npm:^3.19.0" - "@react-hookz/web": "npm:^23.1.0" + "@pzh-ui/icons": "npm:^0.0.60" + "@radix-ui/react-accordion": "npm:^1.1.2" + "@radix-ui/react-slot": "npm:^1.0.2" + "@react-aria/utils": "npm:^3.23.2" + "@react-hookz/web": "npm:^24.0.4" "@react-types/shared": "npm:^3.19.0" - "@tanstack/react-table": "npm:^8.9.9" + "@storybook/test": "npm:^8.1.1" + "@tanstack/react-table": "npm:^8.13.2" "@tiptap/core": "npm:^2.1.7" "@tiptap/extension-bold": "npm:^2.1.7" "@tiptap/extension-bullet-list": "npm:^2.1.7" @@ -2516,28 +2902,27 @@ __metadata: "@tiptap/pm": "npm:^2.0.3" "@tiptap/react": "npm:^2.0.3" "@types/react-table": "npm:^7.7.15" - classnames: "npm:^2.3.2" - date-fns: "npm:^2.30.0" - focus-trap-react: "npm:^10.1.1" - formik: "npm:^2.4.2" - react: "npm:^18.2.0" - react-aria: "npm:^3.26.0" - react-datepicker: "npm:^4.16.0" - react-dom: "npm:^18.2.0" - react-dropzone: "npm:^14.2.3" - react-paginate: "npm:^8.2.0" - react-router-dom: "npm:^6.14.2" - react-select: "npm:^5.7.3" - react-stately: "npm:^3.18.0" - react-table: "npm:^7.8.0" + clsx: "npm:^2.1.0" + date-fns: "npm:^3.3.1" + formik: "npm:^2.4.6" + react: "npm:^18.3.1" + react-aria: "npm:^3.32.1" + react-aria-components: "npm:^1.1.1" + react-datepicker: "npm:^6.9.0" + react-dom: "npm:^18.3.1" + react-dropzone-esm: "npm:^15.0.1" + react-responsive-pagination: "npm:^2.4.2" + react-select: "npm:^5.8.0" + react-stately: "npm:^3.30.1" react-toastify: "npm:^9.1.2" - checksum: 63dcd0d4e425dee788102bec43f5d4899843fe81c0961d8d0f9e238e23cce738868e152a42491f03f91a61b1b2dccbe0fee9740b29a815f692cc02eb64d4f7dc + tailwind-merge: "npm:^2.2.2" + checksum: 7834bafa7ab9d27cfbea017177b117f3cf777c57cf42bc3679ce686f5a61f2a6834d7e9d7f9b936724fa81f8b16a9c29565dde1b5d7ca608e68e363642523ab9 languageName: node linkType: hard -"@pzh-ui/config@npm:^0.0.56": - version: 0.0.56 - resolution: "@pzh-ui/config@npm:0.0.56" +"@pzh-ui/config@npm:^0.0.69": + version: 0.0.69 + resolution: "@pzh-ui/config@npm:0.0.69" dependencies: "@babel/eslint-parser": "npm:^7.17.0" "@babel/preset-env": "npm:^7.16.11" @@ -2559,13 +2944,13 @@ __metadata: prettier-plugin-organize-imports: "npm:^3.2.3" prettier-plugin-tailwindcss: "npm:^0.4.1" react-toastify: "npm:^9.1.2" - checksum: ef96b60953f637613c949ce05a7f51c9ac1fc5a01a8603fbdb06e84eeb4a4af750dc47f705ff4740a16177c2e43f5d5b212adeb1a7c658352b4bb1fc1f8046ec + checksum: 8064dfb0869d006363fbf5448fc20e7d55a40eb4bf0cf5d79d49c190346d3d1d95e7b3664d4f1a48438794ad23d22d9411e2c120a694d76e6c4fe4807d919404 languageName: node linkType: hard -"@pzh-ui/css@npm:^0.0.75": - version: 0.0.75 - resolution: "@pzh-ui/css@npm:0.0.75" +"@pzh-ui/css@npm:^0.0.96": + version: 0.0.96 + resolution: "@pzh-ui/css@npm:0.0.96" dependencies: "@rollup/plugin-typescript": "npm:^8.3.1" "@tailwindcss/custom-forms": "npm:^0.2.1" @@ -2574,750 +2959,1155 @@ __metadata: "@tailwindcss/typography": "npm:^0.5.9" react-datepicker: "npm:^4.7.0" react-toastify: "npm:^9.1.2" - checksum: 98534c48dbaafe7f7a0c2b2cb5e57c374763e4279b1882f29cd094744fd5f2c827adfc53a60cdcde4524a70451d4a0021fa761133633c29492ba5a586f131358 + checksum: d5ccc854f77f5b21711716c0d67a235142b8b0ee3d32062cb28de13e0ae9d39683a74611a16319c9677946035b64b51cc0b10dfa90b5d16e565176a035d00898 languageName: node linkType: hard -"@pzh-ui/icons@npm:^0.0.47": - version: 0.0.47 - resolution: "@pzh-ui/icons@npm:0.0.47" +"@pzh-ui/icons@npm:^0.0.60": + version: 0.0.60 + resolution: "@pzh-ui/icons@npm:0.0.60" dependencies: - react: "npm:^18.0.0" + react: "npm:^18.2.0" react-toastify: "npm:^9.1.2" - checksum: 1d677dd9d1d36cf9608d2778fcf1efff423e9c2e1fc0324d750b7c1541c3aca3e61cf459810aa300d9d4fde0ebd8fe8526ec852a22f8f9a8987ab7758f18f4ca + checksum: 46c2c4e9072d33a71a91b6e97c193dbce6689060ac92d334f4e3bb3eba56c68ed7ba5af208f0577ee6e942d10032c2dbb47d5fd437148bf61ac2f664294244ff + languageName: node + linkType: hard + +"@radix-ui/primitive@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/primitive@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + checksum: 2b93e161d3fdabe9a64919def7fa3ceaecf2848341e9211520c401181c9eaebb8451c630b066fad2256e5c639c95edc41de0ba59c40eff37e799918d019822d1 + languageName: node + linkType: hard + +"@radix-ui/react-accordion@npm:^1.1.2": + version: 1.1.2 + resolution: "@radix-ui/react-accordion@npm:1.1.2" + dependencies: + "@babel/runtime": "npm:^7.13.10" + "@radix-ui/primitive": "npm:1.0.1" + "@radix-ui/react-collapsible": "npm:1.0.3" + "@radix-ui/react-collection": "npm:1.0.3" + "@radix-ui/react-compose-refs": "npm:1.0.1" + "@radix-ui/react-context": "npm:1.0.1" + "@radix-ui/react-direction": "npm:1.0.1" + "@radix-ui/react-id": "npm:1.0.1" + "@radix-ui/react-primitive": "npm:1.0.3" + "@radix-ui/react-use-controllable-state": "npm:1.0.1" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 3c2b8fc686b3c6bc6f81e567c1d3933b8ffb35c060eeee113237ee69121b5e4d7c48bb354dbd2626bd101c1f6a1b6612e8cde2de8f72519732fb6c1a1d4cac28 + languageName: node + linkType: hard + +"@radix-ui/react-collapsible@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-collapsible@npm:1.0.3" + dependencies: + "@babel/runtime": "npm:^7.13.10" + "@radix-ui/primitive": "npm:1.0.1" + "@radix-ui/react-compose-refs": "npm:1.0.1" + "@radix-ui/react-context": "npm:1.0.1" + "@radix-ui/react-id": "npm:1.0.1" + "@radix-ui/react-presence": "npm:1.0.1" + "@radix-ui/react-primitive": "npm:1.0.3" + "@radix-ui/react-use-controllable-state": "npm:1.0.1" + "@radix-ui/react-use-layout-effect": "npm:1.0.1" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: e9c90f9c9f4bcf8beac7d57cf09d5bf3eb99f868b17bd53025b7c81ffcf500efbba9cd92d137661efd7d191f29609e986e3b0577b11a6000e6b513e4403ebb09 + languageName: node + linkType: hard + +"@radix-ui/react-collection@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-collection@npm:1.0.3" + dependencies: + "@babel/runtime": "npm:^7.13.10" + "@radix-ui/react-compose-refs": "npm:1.0.1" + "@radix-ui/react-context": "npm:1.0.1" + "@radix-ui/react-primitive": "npm:1.0.3" + "@radix-ui/react-slot": "npm:1.0.2" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 2ac740ab746f411942dc95100f1eb60b9a3670960a805e266533fa1bc7dec31a6dabddd746ab788ebd5a9c22b468e38922f39d30447925515f8e44f0a3b2e56c + languageName: node + linkType: hard + +"@radix-ui/react-compose-refs@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-compose-refs@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 2b9a613b6db5bff8865588b6bf4065f73021b3d16c0a90b2d4c23deceeb63612f1f15de188227ebdc5f88222cab031be617a9dd025874c0487b303be3e5cc2a8 + languageName: node + linkType: hard + +"@radix-ui/react-context@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-context@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: a02187a3bae3a0f1be5fab5ad19c1ef06ceff1028d957e4d9994f0186f594a9c3d93ee34bacb86d1fa8eb274493362944398e1c17054d12cb3b75384f9ae564b + languageName: node + linkType: hard + +"@radix-ui/react-direction@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-direction@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 5336a8b0d4f1cde585d5c2b4448af7b3d948bb63a1aadb37c77771b0e5902dc6266e409cf35fd0edaca7f33e26424be19e64fb8f9d7f7be2d6f1714ea2764210 + languageName: node + linkType: hard + +"@radix-ui/react-id@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-id@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + "@radix-ui/react-use-layout-effect": "npm:1.0.1" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 446a453d799cc790dd2a1583ff8328da88271bff64530b5a17c102fa7fb35eece3cf8985359d416f65e330cd81aa7b8fe984ea125fc4f4eaf4b3801d698e49fe + languageName: node + linkType: hard + +"@radix-ui/react-presence@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-presence@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + "@radix-ui/react-compose-refs": "npm:1.0.1" + "@radix-ui/react-use-layout-effect": "npm:1.0.1" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 406f0b5a54ea4e7881e15bddc3863234bb14bf3abd4a6e56ea57c6df6f9265a9ad5cfa158e3a98614f0dcbbb7c5f537e1f7158346e57cc3f29b522d62cf28823 + languageName: node + linkType: hard + +"@radix-ui/react-primitive@npm:1.0.3": + version: 1.0.3 + resolution: "@radix-ui/react-primitive@npm:1.0.3" + dependencies: + "@babel/runtime": "npm:^7.13.10" + "@radix-ui/react-slot": "npm:1.0.2" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: bedb934ac07c710dc5550a7bfc7065d47e099d958cde1d37e4b1947ae5451f1b7e6f8ff5965e242578bf2c619065e6038c3a3aa779e5eafa7da3e3dbc685799f + languageName: node + linkType: hard + +"@radix-ui/react-slot@npm:1.0.2, @radix-ui/react-slot@npm:^1.0.2": + version: 1.0.2 + resolution: "@radix-ui/react-slot@npm:1.0.2" + dependencies: + "@babel/runtime": "npm:^7.13.10" + "@radix-ui/react-compose-refs": "npm:1.0.1" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 734866561e991438fbcf22af06e56b272ed6ee8f7b536489ee3bf2f736f8b53bf6bc14ebde94834aa0aceda854d018a0ce20bb171defffbaed1f566006cbb887 + languageName: node + linkType: hard + +"@radix-ui/react-use-callback-ref@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-callback-ref@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: b9fd39911c3644bbda14a84e4fca080682bef84212b8d8931fcaa2d2814465de242c4cfd8d7afb3020646bead9c5e539d478cea0a7031bee8a8a3bb164f3bc4c + languageName: node + linkType: hard + +"@radix-ui/react-use-controllable-state@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-controllable-state@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + "@radix-ui/react-use-callback-ref": "npm:1.0.1" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: dee2be1937d293c3a492cb6d279fc11495a8f19dc595cdbfe24b434e917302f9ac91db24e8cc5af9a065f3f209c3423115b5442e65a5be9fd1e9091338972be9 + languageName: node + linkType: hard + +"@radix-ui/react-use-layout-effect@npm:1.0.1": + version: 1.0.1 + resolution: "@radix-ui/react-use-layout-effect@npm:1.0.1" + dependencies: + "@babel/runtime": "npm:^7.13.10" + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: bed9c7e8de243a5ec3b93bb6a5860950b0dba359b6680c84d57c7a655e123dec9b5891c5dfe81ab970652e7779fe2ad102a23177c7896dde95f7340817d47ae5 languageName: node linkType: hard -"@react-aria/breadcrumbs@npm:^3.5.9": - version: 3.5.9 - resolution: "@react-aria/breadcrumbs@npm:3.5.9" +"@react-aria/breadcrumbs@npm:^3.5.13": + version: 3.5.13 + resolution: "@react-aria/breadcrumbs@npm:3.5.13" dependencies: - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/link": "npm:^3.6.3" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/breadcrumbs": "npm:^3.7.2" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/link": "npm:^3.7.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/breadcrumbs": "npm:^3.7.5" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 28be0194f434c79c3414d9e549cc51c38ff8b84794508a0abc0211752e828c53b69b53b6b23d7566797c7e303724616e0c0e4e7d00cd9b33206ccc685eac6f01 + checksum: 9bb2797fcfca7706aa391bbdef6a5775baa18b5e28d9545e4ac2723517c2e7b9f620d0c0ef833bfb4b04f7257a00dcd20573aeb8ca4dc15af5e382377b9c5e83 languageName: node linkType: hard -"@react-aria/button@npm:^3.9.1": - version: 3.9.1 - resolution: "@react-aria/button@npm:3.9.1" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/toggle": "npm:^3.7.0" - "@react-types/button": "npm:^3.9.1" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/button@npm:^3.9.5": + version: 3.9.5 + resolution: "@react-aria/button@npm:3.9.5" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/toggle": "npm:^3.7.4" + "@react-types/button": "npm:^3.9.4" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 15739bb1e09d7999c0fe58545a1f514a999553dfdda336a45e1c51a4e9fc928f83683a7dd142420f5e3f225c248a62b98d9367ab0144269db190cb3b1c435898 + checksum: 044eace71b00039336d5282481f38476da662d243404ef35ea5648641a297f65141e889b982d4b59c3e1f34bf1b9e422da0c04310eac1b86df51ff5774365a77 languageName: node linkType: hard -"@react-aria/calendar@npm:^3.5.4": - version: 3.5.4 - resolution: "@react-aria/calendar@npm:3.5.4" - dependencies: - "@internationalized/date": "npm:^3.5.1" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/live-announcer": "npm:^3.3.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/calendar": "npm:^3.4.3" - "@react-types/button": "npm:^3.9.1" - "@react-types/calendar": "npm:^3.4.3" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/calendar@npm:^3.5.8": + version: 3.5.8 + resolution: "@react-aria/calendar@npm:3.5.8" + dependencies: + "@internationalized/date": "npm:^3.5.4" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/live-announcer": "npm:^3.3.4" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/calendar": "npm:^3.5.1" + "@react-types/button": "npm:^3.9.4" + "@react-types/calendar": "npm:^3.4.6" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 9f192ed7ee613ca9c15ba4bc36b3a01a525424341b1edb454d7fe5b941be9159852467714275e993e8dc82b9621db858983596aee8a77bbaf23da6a4c717703e + checksum: af8365cda1e6afaa527df4a9872ce4c1e2702b49e8375f0fe2610d5e9c67dee068df949aa5a5f2d0060b5f505258e8c17a521fc22dbb20bf2b6bf30d8d6d1723 languageName: node linkType: hard -"@react-aria/checkbox@npm:^3.13.0": - version: 3.13.0 - resolution: "@react-aria/checkbox@npm:3.13.0" +"@react-aria/checkbox@npm:^3.14.3": + version: 3.14.3 + resolution: "@react-aria/checkbox@npm:3.14.3" dependencies: - "@react-aria/form": "npm:^3.0.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/toggle": "npm:^3.10.0" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/checkbox": "npm:^3.6.1" - "@react-stately/form": "npm:^3.0.0" - "@react-stately/toggle": "npm:^3.7.0" - "@react-types/checkbox": "npm:^3.6.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/form": "npm:^3.0.5" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/toggle": "npm:^3.10.4" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/checkbox": "npm:^3.6.5" + "@react-stately/form": "npm:^3.0.3" + "@react-stately/toggle": "npm:^3.7.4" + "@react-types/checkbox": "npm:^3.8.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 208e8b095710f5140654f2a0bac14ae046e7a44ddca1200fe4fc6ddf09af95189446c6e2fc0f72d5de34098ea39e5b653c5830350eae2db577de69ea2c52caee - languageName: node - linkType: hard - -"@react-aria/combobox@npm:^3.8.2": - version: 3.8.2 - resolution: "@react-aria/combobox@npm:3.8.2" - dependencies: - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/listbox": "npm:^3.11.3" - "@react-aria/live-announcer": "npm:^3.3.1" - "@react-aria/menu": "npm:^3.12.0" - "@react-aria/overlays": "npm:^3.20.0" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/textfield": "npm:^3.14.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/combobox": "npm:^3.8.1" - "@react-stately/form": "npm:^3.0.0" - "@react-types/button": "npm:^3.9.1" - "@react-types/combobox": "npm:^3.10.0" - "@react-types/shared": "npm:^3.22.0" + checksum: 4484a177f95d1d20872592ec6edf06413517e08d8b0a406bb7b4ff697d24ea3098159b100607c73a84833e5c32b22a7d511d1008bec7543cd2127de88563148d + languageName: node + linkType: hard + +"@react-aria/combobox@npm:^3.9.1": + version: 3.9.1 + resolution: "@react-aria/combobox@npm:3.9.1" + dependencies: + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/listbox": "npm:^3.12.1" + "@react-aria/live-announcer": "npm:^3.3.4" + "@react-aria/menu": "npm:^3.14.1" + "@react-aria/overlays": "npm:^3.22.1" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/textfield": "npm:^3.14.5" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/combobox": "npm:^3.8.4" + "@react-stately/form": "npm:^3.0.3" + "@react-types/button": "npm:^3.9.4" + "@react-types/combobox": "npm:^3.11.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 2b3758d337af9d45cd929be2e38bd7c96e6ec8af377c8f3210d7bba89aec6cf4c8001e3f66261467f54509d586668aabd80b24bde7aa9f074a87ffb7a0ca0cf9 + checksum: a0ac563b353e2c72c2d0661bdd80a01a640bfe97bbae7294c4eecc34416cb027b5d6d8fefeed02adf3c3fb80bbbd95c02ddf107e9d0080522442a0b55ad807d0 languageName: node linkType: hard -"@react-aria/datepicker@npm:^3.9.1": - version: 3.9.1 - resolution: "@react-aria/datepicker@npm:3.9.1" - dependencies: - "@internationalized/date": "npm:^3.5.1" - "@internationalized/number": "npm:^3.5.0" - "@internationalized/string": "npm:^3.2.0" - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/form": "npm:^3.0.1" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/spinbutton": "npm:^3.6.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/datepicker": "npm:^3.9.1" - "@react-stately/form": "npm:^3.0.0" - "@react-types/button": "npm:^3.9.1" - "@react-types/calendar": "npm:^3.4.3" - "@react-types/datepicker": "npm:^3.7.1" - "@react-types/dialog": "npm:^3.5.7" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/datepicker@npm:^3.10.1": + version: 3.10.1 + resolution: "@react-aria/datepicker@npm:3.10.1" + dependencies: + "@internationalized/date": "npm:^3.5.4" + "@internationalized/number": "npm:^3.5.3" + "@internationalized/string": "npm:^3.2.3" + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/form": "npm:^3.0.5" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/spinbutton": "npm:^3.6.5" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/datepicker": "npm:^3.9.4" + "@react-stately/form": "npm:^3.0.3" + "@react-types/button": "npm:^3.9.4" + "@react-types/calendar": "npm:^3.4.6" + "@react-types/datepicker": "npm:^3.7.4" + "@react-types/dialog": "npm:^3.5.10" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 13c4e3dbcf358cddb34022fb58e0d6259f40a47bc36f790fba8cb0545d5cfc5b17652e18f6fe0857e764b446f8c53663b3b2160ea1722096e016918e2ceb5190 + checksum: 0e3c87063e839e24bb91ed0d852112c4872c9a580ec9f5986b5ea92bdfc787c1d9365390158bdc0a9cc8b6e76fac82be4bbefbbfa3035f789bf704f5d5de5cd7 languageName: node linkType: hard -"@react-aria/dialog@npm:^3.5.10": - version: 3.5.10 - resolution: "@react-aria/dialog@npm:3.5.10" +"@react-aria/dialog@npm:^3.5.14": + version: 3.5.14 + resolution: "@react-aria/dialog@npm:3.5.14" dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/overlays": "npm:^3.20.0" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/dialog": "npm:^3.5.7" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/overlays": "npm:^3.22.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/dialog": "npm:^3.5.10" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: f9a514a5fb36cf3bb1545f4d4d8162ec143e7d9c8f6e7f8c0510f3767639b16a24d43013909606067fe5a103cf11c80a772fa0b4902f28bb70b974d5144c0120 + checksum: daae893065fe73b1c02c02572fa146ffa13280a39b4fedbab5a9581952ff021728673dd35f1e64d03413e8ace43eeef55f62aeabcc17a7600f987788895b1416 languageName: node linkType: hard -"@react-aria/dnd@npm:^3.5.1": - version: 3.5.1 - resolution: "@react-aria/dnd@npm:3.5.1" - dependencies: - "@internationalized/string": "npm:^3.2.0" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/live-announcer": "npm:^3.3.1" - "@react-aria/overlays": "npm:^3.20.0" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/dnd": "npm:^3.2.7" - "@react-types/button": "npm:^3.9.1" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/dnd@npm:^3.6.1": + version: 3.6.1 + resolution: "@react-aria/dnd@npm:3.6.1" + dependencies: + "@internationalized/string": "npm:^3.2.3" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/live-announcer": "npm:^3.3.4" + "@react-aria/overlays": "npm:^3.22.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/dnd": "npm:^3.3.1" + "@react-types/button": "npm:^3.9.4" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 3d7fbb5388b55227d71c201edfa9c3d60fb8c65e6129d136d15f4120d8d07f7f9db61d5c0e749fc671c0727c211013cb369715d1018d970bcbb22bb09084ff0d + checksum: 53d44c58300f5a96d7e528c2df8cc454f9b3d558ff6e6aa2a878f68cae827321034753b2a27a717e2d8bc2888b02976697803da75a34677b541be5db7e6c61c6 languageName: node linkType: hard -"@react-aria/focus@npm:^3.16.0": - version: 3.16.0 - resolution: "@react-aria/focus@npm:3.16.0" +"@react-aria/focus@npm:^3.16.2": + version: 3.16.2 + resolution: "@react-aria/focus@npm:3.16.2" dependencies: - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/interactions": "npm:^3.21.1" + "@react-aria/utils": "npm:^3.23.2" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" clsx: "npm:^2.0.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 1c01a56bf29e21b95f05f9e97ec8b4cb5ea4024702103e8222c36ef9e0ff62e67b5419cc9003c91f79a41420d1d26a17c7f126392372b6b441657b6c0a7c395e + checksum: da25d79534443652ed2ad560ce1e56653a28ac5ccbd5a7be2822c11b748f46e8a544f37bea0bff8ad1a82493c77c6f17c418c86c995abe45df36fbe33bae0156 languageName: node linkType: hard -"@react-aria/form@npm:^3.0.1": - version: 3.0.1 - resolution: "@react-aria/form@npm:3.0.1" +"@react-aria/focus@npm:^3.17.1": + version: 3.17.1 + resolution: "@react-aria/focus@npm:3.17.1" dependencies: - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/form": "npm:^3.0.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" + clsx: "npm:^2.0.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: b3d8e1e0abba4acd107814157e14af8ebe0f5989326574b6a8bf132046f5b76678018b44ffd093393eba60aefb970673f76f549f6ed8aaec4cf9cc794b6b31f8 - languageName: node - linkType: hard - -"@react-aria/grid@npm:^3.8.6": - version: 3.8.6 - resolution: "@react-aria/grid@npm:3.8.6" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/live-announcer": "npm:^3.3.1" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/grid": "npm:^3.8.4" - "@react-stately/selection": "npm:^3.14.2" - "@react-stately/virtualizer": "npm:^3.6.6" - "@react-types/checkbox": "npm:^3.6.0" - "@react-types/grid": "npm:^3.2.3" - "@react-types/shared": "npm:^3.22.0" + checksum: 4c3c7b26c983c83119a5ff1595e339b8bf68dcb6ea4349dc3b6bb26af41bbae4be50df8a96b12beea9b9f700c4508addfa4fd4626e7955bce667ec7620693af8 + languageName: node + linkType: hard + +"@react-aria/form@npm:^3.0.5": + version: 3.0.5 + resolution: "@react-aria/form@npm:3.0.5" + dependencies: + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/form": "npm:^3.0.3" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: f428113530658498b143670fa775feb2839ad259b90db957ecb8f7094523e1c3f7b2357f9b4f9b26639d14b9889137566fa8ca750e053bfffb1b837b666c1eb2 + languageName: node + linkType: hard + +"@react-aria/grid@npm:^3.9.1": + version: 3.9.1 + resolution: "@react-aria/grid@npm:3.9.1" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/live-announcer": "npm:^3.3.4" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/grid": "npm:^3.8.7" + "@react-stately/selection": "npm:^3.15.1" + "@react-stately/virtualizer": "npm:^3.7.1" + "@react-types/checkbox": "npm:^3.8.1" + "@react-types/grid": "npm:^3.2.6" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: e0f5942c598551f6b50807217e61c8d2d2340abaa468df969409fd71a9e7c7d782b26fbd03a70a04e3396900b78f5b9cf356832f0008ed44a34a0d03c700dcc3 + checksum: b07dbd270ba829cca6631a8261798204ed31e6e0670e5d214f220a0dd66fa851e33729b2982aae0ab0dd5518e9ca1dfe88d8abc6051fc98e21b0d356de314e79 languageName: node linkType: hard -"@react-aria/gridlist@npm:^3.7.3": - version: 3.7.3 - resolution: "@react-aria/gridlist@npm:3.7.3" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/grid": "npm:^3.8.6" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/list": "npm:^3.10.2" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/gridlist@npm:^3.8.1": + version: 3.8.1 + resolution: "@react-aria/gridlist@npm:3.8.1" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/grid": "npm:^3.9.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/list": "npm:^3.10.5" + "@react-stately/tree": "npm:^3.8.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: ce1bb4764fcc100d3f22432f9651622b9e396f88c04c71e62ff6f428f97c503c8793ace2d52145ff22501d3c2486e11a35cf7726a57bb02ab863804e7ecd4d44 + checksum: a345b3d6819c1ce1b7fe8b0cce48230c73e83e7491d402c9df11bbd5d05106ba4700b823283e05608bec24e4dd8200324b6af839355eacff92058167dd926174 languageName: node linkType: hard -"@react-aria/i18n@npm:^3.10.0": - version: 3.10.0 - resolution: "@react-aria/i18n@npm:3.10.0" +"@react-aria/i18n@npm:^3.10.2": + version: 3.10.2 + resolution: "@react-aria/i18n@npm:3.10.2" + dependencies: + "@internationalized/date": "npm:^3.5.2" + "@internationalized/message": "npm:^3.1.2" + "@internationalized/number": "npm:^3.5.1" + "@internationalized/string": "npm:^3.2.1" + "@react-aria/ssr": "npm:^3.9.2" + "@react-aria/utils": "npm:^3.23.2" + "@react-types/shared": "npm:^3.22.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: e24558e3f659246b59e5a2862a99debec7cd9ec152c74fbfbfc15c0816a77448d455a131790b954697fcc0bf8633bc102c1b27121a8b7043820563c7b5987095 + languageName: node + linkType: hard + +"@react-aria/i18n@npm:^3.11.1": + version: 3.11.1 + resolution: "@react-aria/i18n@npm:3.11.1" dependencies: - "@internationalized/date": "npm:^3.5.1" - "@internationalized/message": "npm:^3.1.1" - "@internationalized/number": "npm:^3.5.0" - "@internationalized/string": "npm:^3.2.0" - "@react-aria/ssr": "npm:^3.9.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/shared": "npm:^3.22.0" + "@internationalized/date": "npm:^3.5.4" + "@internationalized/message": "npm:^3.1.4" + "@internationalized/number": "npm:^3.5.3" + "@internationalized/string": "npm:^3.2.3" + "@react-aria/ssr": "npm:^3.9.4" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 911ea23df89d303ef2a25fffec8d9d272dc9949bf76615b8219e3484178de19cf6aa77d05ac67de6fa1d40e7adde9c029bea3cdcee20ce7099f83899c4eea966 + checksum: b193d4b7382343c2d15510fa490c3c2f6d10f43cb8f43b29f5313a3144221e2849e93cc1d94c56c9590f398739f8bad826cc1299f23aea0ef4e974feb71d9dfa languageName: node linkType: hard -"@react-aria/interactions@npm:^3.20.1": - version: 3.20.1 - resolution: "@react-aria/interactions@npm:3.20.1" +"@react-aria/interactions@npm:^3.21.1": + version: 3.21.1 + resolution: "@react-aria/interactions@npm:3.21.1" dependencies: - "@react-aria/ssr": "npm:^3.9.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/ssr": "npm:^3.9.2" + "@react-aria/utils": "npm:^3.23.2" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 17fbbab6bfb0e0860fa0250ba644b1e6aaf23023e143a7f9f816c37d164813f858be592644cc89f06f6a1baa9dffdfa8bd5a2db12246f0837dce4a9169217932 + checksum: ca0918dca1ee41e7ac9129eeb5a23f02a9043cae55f0ee381dc93bd763ac31928a809e029e8bd144223b0f44275736b29079d99fbd22891c244f09c50d16665b languageName: node linkType: hard -"@react-aria/label@npm:^3.7.4": - version: 3.7.4 - resolution: "@react-aria/label@npm:3.7.4" +"@react-aria/interactions@npm:^3.21.3": + version: 3.21.3 + resolution: "@react-aria/interactions@npm:3.21.3" dependencies: - "@react-aria/utils": "npm:^3.23.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/ssr": "npm:^3.9.4" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 30c14e5e985d671e49a162392e890b9d86c1fcc7758d6c80196158209fe62ee4a48392a496940e18065a6682a5271e02d68ec4afc8c3a553f624fda8338806a2 + checksum: 84fe368a40631f02fb9b9fcc103820a7659132b74a029a3bac3939f4a8bee05c9fe1f023f2d170760adaf3cc110793c6b8db396f016bab740922ffc823f99833 languageName: node linkType: hard -"@react-aria/link@npm:^3.6.3": - version: 3.6.3 - resolution: "@react-aria/link@npm:3.6.3" +"@react-aria/label@npm:^3.7.8": + version: 3.7.8 + resolution: "@react-aria/label@npm:3.7.8" dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/link": "npm:^3.5.2" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 647c85cdb07f7a4a7244a5fb6baf4d634a8031542a2336ef71dea9f733c52e95fdf59ef94cb556f29c68e07f4c14469f988c6b3200d15f565e205500b0ecf08b + checksum: 7bbbc8afe2947dcb427734b7ddc482e8e3c6df6963e5be95744942e44fcba209c87b23cc87fff753e3ff872f2796afeb35901ac48a3c89a5d6e40f41160820f0 languageName: node linkType: hard -"@react-aria/listbox@npm:^3.11.3": - version: 3.11.3 - resolution: "@react-aria/listbox@npm:3.11.3" - dependencies: - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/list": "npm:^3.10.2" - "@react-types/listbox": "npm:^3.4.6" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/link@npm:^3.7.1": + version: 3.7.1 + resolution: "@react-aria/link@npm:3.7.1" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/link": "npm:^3.5.5" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 4cc2d1795308fa26728dc23863ed4863a3e70161fe8ac0f541e9a439fea54a6d3791a42ec2cf120968465ecd5f1e9ceffca3d81708604529ec4bf9b3d1a4cacf + languageName: node + linkType: hard + +"@react-aria/listbox@npm:^3.12.1": + version: 3.12.1 + resolution: "@react-aria/listbox@npm:3.12.1" + dependencies: + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/list": "npm:^3.10.5" + "@react-types/listbox": "npm:^3.4.9" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 7b79433489afcd20178529e43227b3a7d45157d0a0832bca5c7b8925d57fcfce2502b126a05eef73d1e2ca58386afc04d6dffc3e89acfffeecf0ba326d748c28 + checksum: 1c873b36737fccca63f19088d69f6132c8d90c16c7532200c1943e25f08f5e374a76572e590ba1b3840b96e7273bf37c761ca3985a066c2b61f6c142261b58d6 languageName: node linkType: hard -"@react-aria/live-announcer@npm:^3.3.1": - version: 3.3.1 - resolution: "@react-aria/live-announcer@npm:3.3.1" +"@react-aria/live-announcer@npm:^3.3.4": + version: 3.3.4 + resolution: "@react-aria/live-announcer@npm:3.3.4" dependencies: "@swc/helpers": "npm:^0.5.0" - checksum: ec87c553a49510197bf2d7eb9c654cf4116240fb276d76c3766d5d2f76e2c83ba99c30c79b620c6941c07997ad43ee9c10f793eaf9dcfafd41d8af42bf45bf4f - languageName: node - linkType: hard - -"@react-aria/menu@npm:^3.12.0": - version: 3.12.0 - resolution: "@react-aria/menu@npm:3.12.0" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/overlays": "npm:^3.20.0" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/menu": "npm:^3.6.0" - "@react-stately/tree": "npm:^3.7.5" - "@react-types/button": "npm:^3.9.1" - "@react-types/menu": "npm:^3.9.6" - "@react-types/shared": "npm:^3.22.0" + checksum: 8cc5d07116c0c3f088fe727df83b7847bd62b35af25e9cbf2d5373b17cd3900a751235bf69ab12d480814a92faab992e3a9d43ed4eeb57491231ce8cb6f5e6e4 + languageName: node + linkType: hard + +"@react-aria/menu@npm:^3.13.1": + version: 3.13.1 + resolution: "@react-aria/menu@npm:3.13.1" + dependencies: + "@react-aria/focus": "npm:^3.16.2" + "@react-aria/i18n": "npm:^3.10.2" + "@react-aria/interactions": "npm:^3.21.1" + "@react-aria/overlays": "npm:^3.21.1" + "@react-aria/selection": "npm:^3.17.5" + "@react-aria/utils": "npm:^3.23.2" + "@react-stately/collections": "npm:^3.10.5" + "@react-stately/menu": "npm:^3.6.1" + "@react-stately/tree": "npm:^3.7.6" + "@react-types/button": "npm:^3.9.2" + "@react-types/menu": "npm:^3.9.7" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 574e4e5eaecd2267ddf7f5cc27af8f51d7a142f343db7cc1638edb7dabed8bc2ef39a72d0fdafb64f947af2b521523936b8bf644b3232e85c310c3def602931e + checksum: 16ff5650950580688f752487126f6637f9f4fb0c44c753f205e43d676fb87dede868b013135795ca66b1a9c4e4ba70fc3a9dbcdbeb124c9231bacfa4a90d2360 languageName: node linkType: hard -"@react-aria/meter@npm:^3.4.9": - version: 3.4.9 - resolution: "@react-aria/meter@npm:3.4.9" +"@react-aria/menu@npm:^3.14.1": + version: 3.14.1 + resolution: "@react-aria/menu@npm:3.14.1" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/overlays": "npm:^3.22.1" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/menu": "npm:^3.7.1" + "@react-stately/tree": "npm:^3.8.1" + "@react-types/button": "npm:^3.9.4" + "@react-types/menu": "npm:^3.9.9" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 75ba7461017de8358066a92fd7545c886dec6cf31ce7f42bf8e90228ab8c68e95747a7b6da428a3805f1a0d7fe1a4699d8891f8dae7afb6df4c036e5ab25b0a7 + languageName: node + linkType: hard + +"@react-aria/meter@npm:^3.4.13": + version: 3.4.13 + resolution: "@react-aria/meter@npm:3.4.13" dependencies: - "@react-aria/progress": "npm:^3.4.9" - "@react-types/meter": "npm:^3.3.6" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/progress": "npm:^3.4.13" + "@react-types/meter": "npm:^3.4.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 59f776b87a61a19d488cfb41f3f09a8a66e50c0342108ac5272bdff05eeade5b3c2f9aea79b1995b0d22b86413035fec6e36284dc6d1fde108c46cf1893ce046 + checksum: d25fb6cc18ae4001f9e4b877cb53a79a887cb00d1bd39004c641b00d8255eaac157c85ab3a11dfc2837ae0f9f376383236e9e57335360c5e4c3fe268d517eb6f languageName: node linkType: hard -"@react-aria/numberfield@npm:^3.10.2": - version: 3.10.2 - resolution: "@react-aria/numberfield@npm:3.10.2" - dependencies: - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/spinbutton": "npm:^3.6.1" - "@react-aria/textfield": "npm:^3.14.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/form": "npm:^3.0.0" - "@react-stately/numberfield": "npm:^3.8.0" - "@react-types/button": "npm:^3.9.1" - "@react-types/numberfield": "npm:^3.7.0" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/numberfield@npm:^3.11.3": + version: 3.11.3 + resolution: "@react-aria/numberfield@npm:3.11.3" + dependencies: + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/spinbutton": "npm:^3.6.5" + "@react-aria/textfield": "npm:^3.14.5" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/form": "npm:^3.0.3" + "@react-stately/numberfield": "npm:^3.9.3" + "@react-types/button": "npm:^3.9.4" + "@react-types/numberfield": "npm:^3.8.3" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 297a8f91f93ba7daf12648aa0c3bab61db1151a1a8f4ed79d990a046439747622811422df5583050c802e67e5dcde9a59b942b3f3b2cd5bb10dc13f818182427 + checksum: 36d192b6e4ae86e0ba8b5e194aea34392018d81ecd269c0d2343f4a8c7bdc00398e4822422b27b04763bf59e4b9de994688b9dad18677f20034917d32cb3e8ff languageName: node linkType: hard -"@react-aria/overlays@npm:^3.20.0": - version: 3.20.0 - resolution: "@react-aria/overlays@npm:3.20.0" +"@react-aria/overlays@npm:^3.21.1": + version: 3.21.1 + resolution: "@react-aria/overlays@npm:3.21.1" dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/ssr": "npm:^3.9.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-aria/visually-hidden": "npm:^3.8.8" - "@react-stately/overlays": "npm:^3.6.4" - "@react-types/button": "npm:^3.9.1" - "@react-types/overlays": "npm:^3.8.4" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/focus": "npm:^3.16.2" + "@react-aria/i18n": "npm:^3.10.2" + "@react-aria/interactions": "npm:^3.21.1" + "@react-aria/ssr": "npm:^3.9.2" + "@react-aria/utils": "npm:^3.23.2" + "@react-aria/visually-hidden": "npm:^3.8.10" + "@react-stately/overlays": "npm:^3.6.5" + "@react-types/button": "npm:^3.9.2" + "@react-types/overlays": "npm:^3.8.5" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 9103beae43a92b13ef4745585aef2d03f6c690ec9d24bd66151ae4bfb101c08fdad7d09278ed19ac3c0068fd25c72080c58750d2e0c60aec20174f392c6bd4ef + checksum: 3143558dfb6e266194c0581475d10827d1296bb517e3cb3b50e4fe09a5e44a5616440a8f857389ab83572bbb507d738976651fcbf8eec9df0730a93aca159eb7 languageName: node linkType: hard -"@react-aria/progress@npm:^3.4.9": - version: 3.4.9 - resolution: "@react-aria/progress@npm:3.4.9" +"@react-aria/overlays@npm:^3.22.1": + version: 3.22.1 + resolution: "@react-aria/overlays@npm:3.22.1" dependencies: - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/progress": "npm:^3.5.1" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/ssr": "npm:^3.9.4" + "@react-aria/utils": "npm:^3.24.1" + "@react-aria/visually-hidden": "npm:^3.8.12" + "@react-stately/overlays": "npm:^3.6.7" + "@react-types/button": "npm:^3.9.4" + "@react-types/overlays": "npm:^3.8.7" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 8ec633e71ed35189fc1d950cf5aa5cbe7830bcebb5a86d2cdfb785b8435602c8ec310956e8684e213ab2aee6cabd8940311bd3d0544db0028403ea6a76db32d9 + react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 1bcddb0c9406fdf594f164f2a465461c9e44a3cb84ccb1e640e397778ba243b755bfc4501ff8476fbe756bc43fc1aded1d61b3e7d9cdd6d9937b92c42ca82f46 languageName: node linkType: hard -"@react-aria/radio@npm:^3.10.0": - version: 3.10.0 - resolution: "@react-aria/radio@npm:3.10.0" +"@react-aria/progress@npm:^3.4.13": + version: 3.4.13 + resolution: "@react-aria/progress@npm:3.4.13" dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/form": "npm:^3.0.1" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/radio": "npm:^3.10.1" - "@react-types/radio": "npm:^3.7.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/progress": "npm:^3.5.4" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: e4078d95d20af82eb12029a10cd617eaa45f22c52913d0a1591a8cf48c76d7c3d9b81c9414bc53bf9eafb0a71125a93d575308063d9a20ff50171c50a5be7de5 + checksum: 84cebddc9068634f0dd3ed181eaf9be3c302b6883632171796cabacac78459f68f237ac8808428682707379d1acce5ac93f4d08a4157bbd56aa03220d7b450f0 languageName: node linkType: hard -"@react-aria/searchfield@npm:^3.7.1": - version: 3.7.1 - resolution: "@react-aria/searchfield@npm:3.7.1" - dependencies: - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/textfield": "npm:^3.14.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/searchfield": "npm:^3.5.0" - "@react-types/button": "npm:^3.9.1" - "@react-types/searchfield": "npm:^3.5.2" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/radio@npm:^3.10.4": + version: 3.10.4 + resolution: "@react-aria/radio@npm:3.10.4" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/form": "npm:^3.0.5" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/radio": "npm:^3.10.4" + "@react-types/radio": "npm:^3.8.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: f2b1183fbfa5c533391a7a29abe793b704d430ef57f8eb43a65a9967e5595959ebdb19967423b03c39174ed1d316e6666910a416534eb1b0bf4a4e70ee7d942a + checksum: 5fa0d6a9858a84cfd4dce0f2d40a52dcd31fa507df489f83b5ef010f6f0de3df7f5bdb54897968f805c2da4e6121fef3f9031575f5bc80b836e9d1ce83dbeb45 languageName: node linkType: hard -"@react-aria/select@npm:^3.14.1": - version: 3.14.1 - resolution: "@react-aria/select@npm:3.14.1" - dependencies: - "@react-aria/form": "npm:^3.0.1" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/listbox": "npm:^3.11.3" - "@react-aria/menu": "npm:^3.12.0" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/utils": "npm:^3.23.0" - "@react-aria/visually-hidden": "npm:^3.8.8" - "@react-stately/select": "npm:^3.6.1" - "@react-types/button": "npm:^3.9.1" - "@react-types/select": "npm:^3.9.1" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/searchfield@npm:^3.7.5": + version: 3.7.5 + resolution: "@react-aria/searchfield@npm:3.7.5" + dependencies: + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/textfield": "npm:^3.14.5" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/searchfield": "npm:^3.5.3" + "@react-types/button": "npm:^3.9.4" + "@react-types/searchfield": "npm:^3.5.5" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: f1aeccfe38d921da8f892e12ea26ed9d83dc8d015569b64d13817f2777da1aef8fa742ca7e73bc740019b9831d19b16ff5c4ad30aa51eb40b3b1323ce1e62a34 + languageName: node + linkType: hard + +"@react-aria/select@npm:^3.14.5": + version: 3.14.5 + resolution: "@react-aria/select@npm:3.14.5" + dependencies: + "@react-aria/form": "npm:^3.0.5" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/listbox": "npm:^3.12.1" + "@react-aria/menu": "npm:^3.14.1" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-aria/visually-hidden": "npm:^3.8.12" + "@react-stately/select": "npm:^3.6.4" + "@react-types/button": "npm:^3.9.4" + "@react-types/select": "npm:^3.9.4" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 4f2192b513e49a920fbc54343c734d855dda207a71fe31a84852d01a19aba4c4862f82e33c08ac814551938be709336b6546411a427b19972c5a628c1b831730 + checksum: 76af6d008d72702b12eb76ebd4e0ee59aa59c2e95dae7a35c8d96fe0e4b1fe56c84f6a4ae8696e99bfd5978fdc1681a524d14b70cf08e02dc74a6447fb29b724 languageName: node linkType: hard -"@react-aria/selection@npm:^3.17.3": - version: 3.17.3 - resolution: "@react-aria/selection@npm:3.17.3" +"@react-aria/selection@npm:^3.17.5": + version: 3.17.5 + resolution: "@react-aria/selection@npm:3.17.5" dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/selection": "npm:^3.14.2" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/focus": "npm:^3.16.2" + "@react-aria/i18n": "npm:^3.10.2" + "@react-aria/interactions": "npm:^3.21.1" + "@react-aria/utils": "npm:^3.23.2" + "@react-stately/selection": "npm:^3.14.3" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 9e15db4919fb483fb2303901133cc317d8c2b13cc990e864f7da4b4445388697edc2cb056189977af36f33d7f04237e1f30a717e9db924fcb6065a159c92d4b1 + checksum: d6fb38e79a2cac200dc46f22cdf1131188cbbe765a28d815b3503166339987bdebb37ba79b9f4abecdd8b83c2b26669064b8dbfc8913a665105a444d21cab0e5 languageName: node linkType: hard -"@react-aria/separator@npm:^3.3.9": - version: 3.3.9 - resolution: "@react-aria/separator@npm:3.3.9" +"@react-aria/selection@npm:^3.18.1": + version: 3.18.1 + resolution: "@react-aria/selection@npm:3.18.1" dependencies: - "@react-aria/utils": "npm:^3.23.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/selection": "npm:^3.15.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 670c74708705e56daa6907f48bb7fe429cd4c7470dad4bb4555a4324c1755e429b93059112cc0919bf799adf452747983b216515f10ed54d3243ae348cdd154f + react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 233ed769f9539b5e70cb0f8f81c269153386b3d6f2d15a60c331bcf9f4fc78aac2b608f539ef3772caffa8f44fd081eec46af0ec8e577633cb3c6e130509d060 languageName: node linkType: hard -"@react-aria/slider@npm:^3.7.4": - version: 3.7.4 - resolution: "@react-aria/slider@npm:3.7.4" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/slider": "npm:^3.5.0" - "@react-types/shared": "npm:^3.22.0" - "@react-types/slider": "npm:^3.7.0" +"@react-aria/separator@npm:^3.3.13": + version: 3.3.13 + resolution: "@react-aria/separator@npm:3.3.13" + dependencies: + "@react-aria/utils": "npm:^3.24.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 5ff6b579076ad88918463e06a8664ed94adfcb5a5d8ee24f9948d546b1ef255d1f0691f25947cc8308202b6ce216737cc277493d4e4cf70785d17b051707fb14 + checksum: 2938cc88047f274d898d3ec9026b2a2aebbfe3a27fbb9cec7f4444596bab4708417fabfd5388181e511fa2ee814a8fed5099031af391f55f966080e48b20b435 languageName: node linkType: hard -"@react-aria/spinbutton@npm:^3.6.1": - version: 3.6.1 - resolution: "@react-aria/spinbutton@npm:3.6.1" +"@react-aria/slider@npm:^3.7.8": + version: 3.7.8 + resolution: "@react-aria/slider@npm:3.7.8" dependencies: - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/live-announcer": "npm:^3.3.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/button": "npm:^3.9.1" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/slider": "npm:^3.5.4" + "@react-types/shared": "npm:^3.23.1" + "@react-types/slider": "npm:^3.7.3" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: aefa070af4241848be09cf66afef893a9279368692a1e505883a37d9630ab959b9ec65aad47e53a68cef627fe6dd25bb0f90c96d617c13bcc0006cf5a826d477 + languageName: node + linkType: hard + +"@react-aria/spinbutton@npm:^3.6.5": + version: 3.6.5 + resolution: "@react-aria/spinbutton@npm:3.6.5" + dependencies: + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/live-announcer": "npm:^3.3.4" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/button": "npm:^3.9.4" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 64ecdc11d666220b9a08577d7d010e1898e7a0496d8d54b6d4454e208f2d8a4da54aa9d56c331e52893ebc83632de66188100f4204ea61ef501035d4cf0865a9 + checksum: 5567e91640ab71cdc621d91dacacaeef4ca9d1d3bd1a9f89402de2db0eb9adf1e7ec594a6c48e432003ebacf5964186e54220f7c00bcfb975ea3e12a633f0dbc languageName: node linkType: hard -"@react-aria/ssr@npm:^3.9.1": - version: 3.9.1 - resolution: "@react-aria/ssr@npm:3.9.1" +"@react-aria/ssr@npm:^3.9.2": + version: 3.9.2 + resolution: "@react-aria/ssr@npm:3.9.2" dependencies: "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: a42bf23241b022e2e55ca95aeec5cafb3aa276b4586373f4b85834655ab05068d5af81707bf1d4548f2f5b29c80a02ef920c0711b2d1a8b189effca2c72ca5f9 + checksum: fe4ce0ccc647d14f158724c0605433291f1403a73c82cb6654c323b5153fa3afbf0d36618bb3ecac38217b56837c27490c32b7d2082034b1171de6e95a4382a8 languageName: node linkType: hard -"@react-aria/switch@npm:^3.6.0": - version: 3.6.0 - resolution: "@react-aria/switch@npm:3.6.0" +"@react-aria/ssr@npm:^3.9.4": + version: 3.9.4 + resolution: "@react-aria/ssr@npm:3.9.4" + dependencies: + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: c55e5e0bf86bc39c7c0c9f86f4166e923cf62304903b7b5e700619bff64edc4fbeec5a66741aa39635445ff0b26d80ee03d6471c5df02ec764b9a71938dd17de + languageName: node + linkType: hard + +"@react-aria/switch@npm:^3.6.4": + version: 3.6.4 + resolution: "@react-aria/switch@npm:3.6.4" dependencies: - "@react-aria/toggle": "npm:^3.10.0" - "@react-stately/toggle": "npm:^3.7.0" - "@react-types/switch": "npm:^3.5.0" + "@react-aria/toggle": "npm:^3.10.4" + "@react-stately/toggle": "npm:^3.7.4" + "@react-types/switch": "npm:^3.5.3" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: e6c76700841d77ca72e1917a3c240c9057dd0e6842efa22fae8f44f9a7677a1c7345331a3cbeb0b7a1fcb240039d1cad1f363e026345917433a919dacd840f4f - languageName: node - linkType: hard - -"@react-aria/table@npm:^3.13.3": - version: 3.13.3 - resolution: "@react-aria/table@npm:3.13.3" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/grid": "npm:^3.8.6" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/live-announcer": "npm:^3.3.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-aria/visually-hidden": "npm:^3.8.8" - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/flags": "npm:^3.0.0" - "@react-stately/table": "npm:^3.11.4" - "@react-stately/virtualizer": "npm:^3.6.6" - "@react-types/checkbox": "npm:^3.6.0" - "@react-types/grid": "npm:^3.2.3" - "@react-types/shared": "npm:^3.22.0" - "@react-types/table": "npm:^3.9.2" + checksum: 97a26a41126beb4df20ff857a7e6af78242ea8ec864d86a60082826f0cbce40bc2288af50c705da237f6ef9eafc4aa9bc775e5a6b67ccd2b2dacb6754abc2fcc + languageName: node + linkType: hard + +"@react-aria/table@npm:^3.14.1": + version: 3.14.1 + resolution: "@react-aria/table@npm:3.14.1" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/grid": "npm:^3.9.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/live-announcer": "npm:^3.3.4" + "@react-aria/utils": "npm:^3.24.1" + "@react-aria/visually-hidden": "npm:^3.8.12" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/flags": "npm:^3.0.3" + "@react-stately/table": "npm:^3.11.8" + "@react-stately/virtualizer": "npm:^3.7.1" + "@react-types/checkbox": "npm:^3.8.1" + "@react-types/grid": "npm:^3.2.6" + "@react-types/shared": "npm:^3.23.1" + "@react-types/table": "npm:^3.9.5" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 9fe1170d5100f035e1d92d20b0838e699a75872a67cf6244744a5be7c331ebe0e2e0c1561c07eeed95516ea7fd32858562e076858fe0770b56aee61b20590e6f + checksum: 3b20885aefbecf40e76d2d594a4c6cd3894878c031041bd3c398d440cad6cc938098c9fcc112bc0a1744478d0e8e241acd2e1641129dceab54f04e9e1bd2e5b2 languageName: node linkType: hard -"@react-aria/tabs@npm:^3.8.3": - version: 3.8.3 - resolution: "@react-aria/tabs@npm:3.8.3" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/tabs": "npm:^3.6.3" - "@react-types/shared": "npm:^3.22.0" - "@react-types/tabs": "npm:^3.3.4" +"@react-aria/tabs@npm:^3.9.1": + version: 3.9.1 + resolution: "@react-aria/tabs@npm:3.9.1" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/tabs": "npm:^3.6.6" + "@react-types/shared": "npm:^3.23.1" + "@react-types/tabs": "npm:^3.3.7" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 086a3edca6250966592feac07eea6963457688f4e4984309fb082752c22907237270aed6e211c3e600254a51b3fcabf172389570956fce4320e4badce4962c60 + checksum: 69d0f482ce94ed34a587eb9da6bf7c62911040a4c02c37fe768710d043ffcd6750bed506dc7cbe16881db2cf6b271cbef2dc91ac4e7be70965f3f8bf56ba1918 languageName: node linkType: hard -"@react-aria/tag@npm:^3.3.1": - version: 3.3.1 - resolution: "@react-aria/tag@npm:3.3.1" - dependencies: - "@react-aria/gridlist": "npm:^3.7.3" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/list": "npm:^3.10.2" - "@react-types/button": "npm:^3.9.1" - "@react-types/shared": "npm:^3.22.0" +"@react-aria/tag@npm:^3.4.1": + version: 3.4.1 + resolution: "@react-aria/tag@npm:3.4.1" + dependencies: + "@react-aria/gridlist": "npm:^3.8.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/list": "npm:^3.10.5" + "@react-types/button": "npm:^3.9.4" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 188b6394f0a95bc4362d85ec9a456c55483778f7b91acc40f5287276a1f69d8babd22fc40bc6fd5d11096426ef39061bcfe9078cbdb64ae3147bba52dd30bd9b + checksum: d85ac6ea1dec19f51acfde677cb3fd6da799d2a022468c984b1ed3d0cb7e6820e8fc5e8b9b12a2617d9830343a232b5d39a21c268d10d7a411d5d27d06c72055 languageName: node linkType: hard -"@react-aria/textfield@npm:^3.14.1": - version: 3.14.1 - resolution: "@react-aria/textfield@npm:3.14.1" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/form": "npm:^3.0.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/form": "npm:^3.0.0" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/shared": "npm:^3.22.0" - "@react-types/textfield": "npm:^3.9.0" +"@react-aria/textfield@npm:^3.14.5": + version: 3.14.5 + resolution: "@react-aria/textfield@npm:3.14.5" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/form": "npm:^3.0.5" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/form": "npm:^3.0.3" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/shared": "npm:^3.23.1" + "@react-types/textfield": "npm:^3.9.3" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 131885917122c34bb5a124e3b120fbd175fe1eefdb5020ac786ec4ffdd8f370c4fd2d2a0e69257d6e337c99ab14548c51f43d677a26836c66433374b3d47bae5 + checksum: db1a3270a6d7b7947567554a56748a6960a2f83f1f4b4b3649896777ef7d02ba3a6b657dba93860c89b11fa2abe0ea94b47aa499c15751be11a092e494f4c016 languageName: node linkType: hard -"@react-aria/toggle@npm:^3.10.0": - version: 3.10.0 - resolution: "@react-aria/toggle@npm:3.10.0" +"@react-aria/toggle@npm:^3.10.4": + version: 3.10.4 + resolution: "@react-aria/toggle@npm:3.10.4" dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/toggle": "npm:^3.7.0" - "@react-types/checkbox": "npm:^3.6.0" + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/toggle": "npm:^3.7.4" + "@react-types/checkbox": "npm:^3.8.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: c22e29f1e8d87b9963183272098bc0f40e40668f08e28193e21b3880166872dc525e52efb1c80ee1b5abd51cdefacb9bb3f9161e8c2eded37eac51eed5e0740f + checksum: 66f59d898399977ed640d40c40634c9f5f95d50a1241c8a604d04b652c261353377f1a8c1a05ffbd49090ff8c120ead4f2567e4732c07c0dfc4368fa3399c2c9 languageName: node linkType: hard -"@react-aria/tooltip@npm:^3.7.0": - version: 3.7.0 - resolution: "@react-aria/tooltip@npm:3.7.0" - dependencies: - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-stately/tooltip": "npm:^3.4.6" - "@react-types/shared": "npm:^3.22.0" - "@react-types/tooltip": "npm:^3.4.6" +"@react-aria/toolbar@npm:3.0.0-beta.3": + version: 3.0.0-beta.3 + resolution: "@react-aria/toolbar@npm:3.0.0-beta.3" + dependencies: + "@react-aria/focus": "npm:^3.16.2" + "@react-aria/i18n": "npm:^3.10.2" + "@react-aria/utils": "npm:^3.23.2" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 335190e8e009144e979e03fbdc92f02ad0ba070719c71410ee4a34a4a1f533823165e0fcf389d3e215cf98f61559b7c822d6ead2fb53cbcfd65d8ea712462e19 + checksum: 4d6541aa2ce3126c0705aa9edd44a305c7a37818c915ddd06efd1812f258b1d3a515225b651af4973ed2aa41268607338a9c929128fa9eaeab0510fd7b25717c languageName: node linkType: hard -"@react-aria/utils@npm:^3.19.0, @react-aria/utils@npm:^3.23.0": - version: 3.23.0 - resolution: "@react-aria/utils@npm:3.23.0" +"@react-aria/tooltip@npm:^3.7.4": + version: 3.7.4 + resolution: "@react-aria/tooltip@npm:3.7.4" + dependencies: + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/utils": "npm:^3.24.1" + "@react-stately/tooltip": "npm:^3.4.9" + "@react-types/shared": "npm:^3.23.1" + "@react-types/tooltip": "npm:^3.4.9" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: b184bded727abc4b85c53de6b348bae2bada8ad1bba167ce998c1fc9ace4d2b9e9c4362352ece91e321e0ce4da88795d60c1e96298203cedfb8553a9f4e50ebc + languageName: node + linkType: hard + +"@react-aria/utils@npm:^3.23.2, @react-aria/utils@npm:^3.24.1": + version: 3.24.1 + resolution: "@react-aria/utils@npm:3.24.1" dependencies: - "@react-aria/ssr": "npm:^3.9.1" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/ssr": "npm:^3.9.4" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" clsx: "npm:^2.0.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 7be5f852fb80b4cdb0a983542804534ce14bbd3809c8e81786507335d457202a5cd57a4a437c32aabb1b678902405da00f5ba9d697c7ab6f33cf0840bb1978be + checksum: 7acf52f3cdf66aaa0c55bde86959a3772bc266682389bf19865739ca8b77a652db8d9f970dc37600c69b8a7cce78b821913f3d7f066bdcb1224599e3fe35afce + languageName: node + linkType: hard + +"@react-aria/visually-hidden@npm:^3.8.10": + version: 3.8.10 + resolution: "@react-aria/visually-hidden@npm:3.8.10" + dependencies: + "@react-aria/interactions": "npm:^3.21.1" + "@react-aria/utils": "npm:^3.23.2" + "@react-types/shared": "npm:^3.22.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: a7f9d8dccfeefb035d01ad8d9db4576f6acf7f0fcb94aad717cec177f113f6507f0dca0c7ee157abe40b358685b4cb84f9bce0c24dab2af753698ec8c1504264 languageName: node linkType: hard -"@react-aria/visually-hidden@npm:^3.8.8": - version: 3.8.8 - resolution: "@react-aria/visually-hidden@npm:3.8.8" +"@react-aria/visually-hidden@npm:^3.8.12": + version: 3.8.12 + resolution: "@react-aria/visually-hidden@npm:3.8.12" dependencies: - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/utils": "npm:^3.23.0" - "@react-types/shared": "npm:^3.22.0" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 08f0390968af92ad77ab0c606dfa47e2e9e45dffe21c7472ac2659424aa79665338afeea475a2b3b2fdae0f064596fb9cb22edd1bddc873e408c882bb48c9ddf + checksum: 2b3c43f713e37b5536ecd1dd4d975b98fbec5287d06ff462ac4aaea9ed5136a0939e5b6cd5857c2db57b94e41b49aa2c5cfd25d1c87c580d3e204c07fde80895 languageName: node linkType: hard @@ -3328,9 +4118,9 @@ __metadata: languageName: node linkType: hard -"@react-hookz/web@npm:^23.1.0": - version: 23.1.0 - resolution: "@react-hookz/web@npm:23.1.0" +"@react-hookz/web@npm:^24.0.4": + version: 24.0.4 + resolution: "@react-hookz/web@npm:24.0.4" dependencies: "@react-hookz/deep-equal": "npm:^1.0.4" peerDependencies: @@ -3340,611 +4130,773 @@ __metadata: peerDependenciesMeta: js-cookie: optional: true - checksum: 7f345fc286ee3bae74b76b909898213a589250856783805d0356d8ef9ca0e3d1638e7499d8b77ae1dff6350dec230fda468e0e4c8fc05a9997902569d3d81b49 + checksum: 6a841c648edbc54b11fd90de9bb61c3059255598fc4a714c508c269a03c4ca9bbf32cf017d3bd2b3a1bf7cd1d9bf4bb56028f64ad455f796079632f4a7cd4f00 languageName: node linkType: hard -"@react-hookz/web@npm:^24.0.2": - version: 24.0.2 - resolution: "@react-hookz/web@npm:24.0.2" +"@react-leaflet/core@npm:^2.1.0": + version: 2.1.0 + resolution: "@react-leaflet/core@npm:2.1.0" + peerDependencies: + leaflet: ^1.9.0 + react: ^18.0.0 + react-dom: ^18.0.0 + checksum: 12ce28b85cf6712a1a7b7c49466b941fc619bc7b1535308bc5711a35f7e89eb16298babfd62f6b3a92e64abf94dcf517b2bc460f59fcf20599821bc6ab3b3048 + languageName: node + linkType: hard + +"@react-stately/calendar@npm:^3.5.1": + version: 3.5.1 + resolution: "@react-stately/calendar@npm:3.5.1" dependencies: - "@react-hookz/deep-equal": "npm:^1.0.4" + "@internationalized/date": "npm:^3.5.4" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/calendar": "npm:^3.4.6" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" peerDependencies: - js-cookie: ^3.0.5 - react: ^16.8 || ^17 || ^18 - react-dom: ^16.8 || ^17 || ^18 - peerDependenciesMeta: - js-cookie: - optional: true - checksum: 90ee7d03a81944cc5ee4b36762baecf4853b6e09dfb12a4c3f84b0444f3696d5a616173ae3e4e75efeb15e867248e5afc8660223d75fa938c1c96ddb142c8236 + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: b410874e1a028f889e4b98b6488be7c10d04a918df73493754a92fcae9020f0fa1891a7663d0295aee45fb010c50ed92f9379564ec1bd45479d2be2ec4bf62ca + languageName: node + linkType: hard + +"@react-stately/checkbox@npm:^3.6.5": + version: 3.6.5 + resolution: "@react-stately/checkbox@npm:3.6.5" + dependencies: + "@react-stately/form": "npm:^3.0.3" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/checkbox": "npm:^3.8.1" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: fa9c1c0376fca5ac384f6a02dfc6543945dde81458d0466fa9e788ec61a71d0e84e1f6749a12917e02638f6d887df2eb7cba597e161eacd16ae907c8c75da2f6 + languageName: node + linkType: hard + +"@react-stately/collections@npm:^3.10.5": + version: 3.10.5 + resolution: "@react-stately/collections@npm:3.10.5" + dependencies: + "@react-types/shared": "npm:^3.22.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: bf447652b19f16831b43c6cc2aa877c638756e08566f574a3b0d7c21cc60c523e90cc0ea7a2c3616dbf1d3b0724c2f354e99ae993c1633ab99b93e4bf35e09eb + languageName: node + linkType: hard + +"@react-stately/collections@npm:^3.10.7": + version: 3.10.7 + resolution: "@react-stately/collections@npm:3.10.7" + dependencies: + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: f52ee5478a4473accd828798d29a21542d9ce340eab49ce631bcb25f99963aee2696338be3798fcb5d90172759dd7dd547e73f12127a48533dd84d3f9fd7e4cf + languageName: node + linkType: hard + +"@react-stately/combobox@npm:^3.8.4": + version: 3.8.4 + resolution: "@react-stately/combobox@npm:3.8.4" + dependencies: + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/form": "npm:^3.0.3" + "@react-stately/list": "npm:^3.10.5" + "@react-stately/overlays": "npm:^3.6.7" + "@react-stately/select": "npm:^3.6.4" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/combobox": "npm:^3.11.1" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 0a5863a6d82eab95d0e08a8ffcd92cc6a3f7c35589feeb9bad615d9cbe105f4abcfe1e641898b334b1c34ab84d8d97cf7e3c942175306808eb1b291f1bbc753a + languageName: node + linkType: hard + +"@react-stately/data@npm:^3.11.4": + version: 3.11.4 + resolution: "@react-stately/data@npm:3.11.4" + dependencies: + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 79ae8819cac2cdf0888dbf50bac646ed1d5183b7e565d27894ca2fea8066b4b259acb04d41af21cf8abe9bbf1b96c743c6e05c5b53158888c2917fd482e8e3e2 + languageName: node + linkType: hard + +"@react-stately/datepicker@npm:^3.9.4": + version: 3.9.4 + resolution: "@react-stately/datepicker@npm:3.9.4" + dependencies: + "@internationalized/date": "npm:^3.5.4" + "@internationalized/string": "npm:^3.2.3" + "@react-stately/form": "npm:^3.0.3" + "@react-stately/overlays": "npm:^3.6.7" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/datepicker": "npm:^3.7.4" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: a50188bb2a15b7cddadc2bd6b5a9b81c297bba6820df874472c67fdd66c590cf4ce21fc4af8b2e02e08c3284246deb674743456c8b5d85c20490efcc6491a785 + languageName: node + linkType: hard + +"@react-stately/dnd@npm:^3.3.1": + version: 3.3.1 + resolution: "@react-stately/dnd@npm:3.3.1" + dependencies: + "@react-stately/selection": "npm:^3.15.1" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 100a5a32ade132ae18887354547d704c2cd78e0b8e572009e589563a1947f9c72bfcbc62c46598692106c733107a53033144f288e82db99557137d144b0465bb + languageName: node + linkType: hard + +"@react-stately/flags@npm:^3.0.1": + version: 3.0.1 + resolution: "@react-stately/flags@npm:3.0.1" + dependencies: + "@swc/helpers": "npm:^0.4.14" + checksum: 9fd6731a3bb74c613d427a5457a8e1dcec1c596352d912e006005ecf9aeefa51f76b553993456dde927cdbb3237cc6d95bcd7dbd60b2917638c9cd05ad019460 + languageName: node + linkType: hard + +"@react-stately/flags@npm:^3.0.3": + version: 3.0.3 + resolution: "@react-stately/flags@npm:3.0.3" + dependencies: + "@swc/helpers": "npm:^0.5.0" + checksum: a5e8d2ce3a2d535d96e20b8a495641b41c242bfbcec9e0c2f4fa82531654a04d4ffb709fbe2a71f1d9e3bba612f8dcd1fbb8c03888e7600549882f40f3cd1897 + languageName: node + linkType: hard + +"@react-stately/form@npm:^3.0.3": + version: 3.0.3 + resolution: "@react-stately/form@npm:3.0.3" + dependencies: + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: d89c2099455e84cd0c77f6c8f3204f790aaab90a4e713f77269ab1a13229daa222906b7bf5d12188380cebb041a48c7d4c60676c920d5f2d27c577ee90a86b5e languageName: node linkType: hard -"@react-leaflet/core@npm:^2.1.0": - version: 2.1.0 - resolution: "@react-leaflet/core@npm:2.1.0" +"@react-stately/grid@npm:^3.8.5": + version: 3.8.5 + resolution: "@react-stately/grid@npm:3.8.5" + dependencies: + "@react-stately/collections": "npm:^3.10.5" + "@react-stately/selection": "npm:^3.14.3" + "@react-types/grid": "npm:^3.2.4" + "@react-types/shared": "npm:^3.22.1" + "@swc/helpers": "npm:^0.5.0" peerDependencies: - leaflet: ^1.9.0 - react: ^18.0.0 - react-dom: ^18.0.0 - checksum: 12ce28b85cf6712a1a7b7c49466b941fc619bc7b1535308bc5711a35f7e89eb16298babfd62f6b3a92e64abf94dcf517b2bc460f59fcf20599821bc6ab3b3048 + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 5d38d707f090d5a1e84038ce0145ca72d509d12bd825407952767842f4b6db1c995f2bd95bb7206f506d4f67c35bde66b89172aaba7f2f495867d0950aaa96b8 languageName: node linkType: hard -"@react-stately/calendar@npm:^3.4.3": - version: 3.4.3 - resolution: "@react-stately/calendar@npm:3.4.3" +"@react-stately/grid@npm:^3.8.7": + version: 3.8.7 + resolution: "@react-stately/grid@npm:3.8.7" dependencies: - "@internationalized/date": "npm:^3.5.1" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/calendar": "npm:^3.4.3" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/selection": "npm:^3.15.1" + "@react-types/grid": "npm:^3.2.6" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 8bf9e67390d71f79ff4d685a7e7b34b33bc714fc78747e108c88f611fedca197c676ad8f8648c6f98068ae9aef1eb0fa654cbfaa502cf161bbd00a57cc3c6b70 + checksum: 9f727ef1129ec03b4ab311e56e6ea46bd042e25a4b8adec89a1177c67dbc13b67e15191d69d10d328478d1460651c6bee2afa212a3de1951fd49cbe8ee6f4231 languageName: node linkType: hard -"@react-stately/checkbox@npm:^3.6.1": - version: 3.6.1 - resolution: "@react-stately/checkbox@npm:3.6.1" +"@react-stately/list@npm:^3.10.5": + version: 3.10.5 + resolution: "@react-stately/list@npm:3.10.5" dependencies: - "@react-stately/form": "npm:^3.0.0" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/checkbox": "npm:^3.6.0" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/selection": "npm:^3.15.1" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 2aefb0b42063f13e89e9eac4ea9a52b4d7e68fb528064549067bd680a8887b400e13e5303a190552b3543e899170bd6474bfc04fa46d4fb5b8e6c8bb50a15c71 + checksum: 14ce16f56ed8614701a2eb1dd6f31b17ec1ae87775576ff9d24a80079634c706590b77de07bfa0da7d20424f83fa33e12365df749ab893680ab163fa899e68fb languageName: node linkType: hard -"@react-stately/collections@npm:^3.10.4": - version: 3.10.4 - resolution: "@react-stately/collections@npm:3.10.4" +"@react-stately/menu@npm:^3.6.1": + version: 3.6.1 + resolution: "@react-stately/menu@npm:3.6.1" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-stately/overlays": "npm:^3.6.5" + "@react-types/menu": "npm:^3.9.7" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: d82209a198c1cfcc7a7b67ea33a0990cb2a4e371bb838a533b3a95ba9c7ae2a80d1ac5957fdecc77e8e90c711b1beb9d4e8c65073e5826d20d8492990979098a + checksum: 21c7c4c1415ce78573aee4dc8e4c64bd5c500ee0203a819a6da5188e12232776eff25111c6fc76214285dcc3778a174f830606173ad08f97958cf585924f3fcb languageName: node linkType: hard -"@react-stately/combobox@npm:^3.8.1": - version: 3.8.1 - resolution: "@react-stately/combobox@npm:3.8.1" - dependencies: - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/form": "npm:^3.0.0" - "@react-stately/list": "npm:^3.10.2" - "@react-stately/overlays": "npm:^3.6.4" - "@react-stately/select": "npm:^3.6.1" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/combobox": "npm:^3.10.0" - "@react-types/shared": "npm:^3.22.0" +"@react-stately/menu@npm:^3.7.1": + version: 3.7.1 + resolution: "@react-stately/menu@npm:3.7.1" + dependencies: + "@react-stately/overlays": "npm:^3.6.7" + "@react-types/menu": "npm:^3.9.9" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: ad4ded0fe656e0786c169be662b91254eaa5721ff0eff265a0bc71ddb9cc6226486ca6b84cd4c98f9374029f59228a490537b3e805dab0de942af741e7eaf4d2 + checksum: 7574fbc461ce6686650aceeec6a6af1758983938cdeb0a67e808c389b6867970da75048c5c4cdca807e3ed4c58408e569216bb1b8903a98f232e69c5ed79faf9 languageName: node linkType: hard -"@react-stately/data@npm:^3.11.0": - version: 3.11.0 - resolution: "@react-stately/data@npm:3.11.0" +"@react-stately/numberfield@npm:^3.9.3": + version: 3.9.3 + resolution: "@react-stately/numberfield@npm:3.9.3" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@internationalized/number": "npm:^3.5.3" + "@react-stately/form": "npm:^3.0.3" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/numberfield": "npm:^3.8.3" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: ca7873a58a19be51863384f738a69efc369cc0db262564f8842b251fefecbad74b9b74e8cd17230b1e300a5de3574f1b5f09253b88d949541af1066e5df28da7 + checksum: e67979f4327b951b63720ae5ef00a42c2358f2c6a7ecd87aab218a891bc192a369b330f8cdb00d9d9c086e36a2eb96c3faa001225e636c68cbb5efdd865997a2 languageName: node linkType: hard -"@react-stately/datepicker@npm:^3.9.1": - version: 3.9.1 - resolution: "@react-stately/datepicker@npm:3.9.1" - dependencies: - "@internationalized/date": "npm:^3.5.1" - "@internationalized/string": "npm:^3.2.0" - "@react-stately/form": "npm:^3.0.0" - "@react-stately/overlays": "npm:^3.6.4" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/datepicker": "npm:^3.7.1" - "@react-types/shared": "npm:^3.22.0" +"@react-stately/overlays@npm:^3.6.5": + version: 3.6.5 + resolution: "@react-stately/overlays@npm:3.6.5" + dependencies: + "@react-stately/utils": "npm:^3.9.1" + "@react-types/overlays": "npm:^3.8.5" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 14b816140c158fb6986eb14d18f79b75d859d06f7d5c93854d6cfdc699cd537e90b50356e0b2c1e2c0d684173abc1e1fee51c15488167f4c6a29ca3dd369c43f + checksum: 83805f078eb42290ddb9f88d8cbd7403a4d5f15177fce4c9f8cec91acf177af1d5a414472c58029fc1f8bf6730d5ca9716a8b3cd750f2afd6b57e592a7f09ef7 languageName: node linkType: hard -"@react-stately/dnd@npm:^3.2.7": - version: 3.2.7 - resolution: "@react-stately/dnd@npm:3.2.7" +"@react-stately/overlays@npm:^3.6.7": + version: 3.6.7 + resolution: "@react-stately/overlays@npm:3.6.7" dependencies: - "@react-stately/selection": "npm:^3.14.2" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/overlays": "npm:^3.8.7" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 308fb88db9d650a9d306da5fd51fe1500598a75e22d8e488165224735a0300658cd05645f48f2b1dbf3aeb35fc162e9ce9e38c122a0005d53b4b7733851a1673 + checksum: 061f54d71de0f9c436393d48d21af7780003f48719e87e21fdbddd7b01abfb200dd91ca5a4dcce0498e9683780cd1f3f9470be9a365250aa82911ba184279bb5 languageName: node linkType: hard -"@react-stately/flags@npm:^3.0.0": - version: 3.0.0 - resolution: "@react-stately/flags@npm:3.0.0" +"@react-stately/radio@npm:^3.10.4": + version: 3.10.4 + resolution: "@react-stately/radio@npm:3.10.4" dependencies: - "@swc/helpers": "npm:^0.4.14" - checksum: 7a65481abb3093766d5912d0f428214481047d52c350879c62306829b3f0127389b338a1fc5262400dd7d5d6847b8fa5bf02da766c1474bbddb30cb58384d38a + "@react-stately/form": "npm:^3.0.3" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/radio": "npm:^3.8.1" + "@react-types/shared": "npm:^3.23.1" + "@swc/helpers": "npm:^0.5.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 9be023632c4bdeeef958d0aae4cc61644bb1f2f9700dbb0d5cf0fbfced58ed2c2c449a22e95bed8830647ad4a02ebfb8695bd3c381acd6e4574ced498a92b5d8 languageName: node linkType: hard -"@react-stately/form@npm:^3.0.0": - version: 3.0.0 - resolution: "@react-stately/form@npm:3.0.0" +"@react-stately/searchfield@npm:^3.5.3": + version: 3.5.3 + resolution: "@react-stately/searchfield@npm:3.5.3" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/searchfield": "npm:^3.5.5" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 6c55818e846df74ac18ac7a6249c5967010440d6148017c100456eace6fd88d9472e99feec27fe41e7c4c8289a028266d7b619cdc16da0ca164dd492fa4c0d78 + checksum: c26168cb48b6fed1afecda2bc096aad983666b3ebcce1e90e683807c491cd6927dfe2f630f0a1a785de8de16775897ad6682040a0102b84f8ab312e53873f8c0 languageName: node linkType: hard -"@react-stately/grid@npm:^3.8.4": - version: 3.8.4 - resolution: "@react-stately/grid@npm:3.8.4" +"@react-stately/select@npm:^3.6.4": + version: 3.6.4 + resolution: "@react-stately/select@npm:3.6.4" dependencies: - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/selection": "npm:^3.14.2" - "@react-types/grid": "npm:^3.2.3" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/form": "npm:^3.0.3" + "@react-stately/list": "npm:^3.10.5" + "@react-stately/overlays": "npm:^3.6.7" + "@react-types/select": "npm:^3.9.4" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: d50a721f2487efc96306a76b9b9d7de973533c6ad79597d13d3635a05e5262421394d94ae0ec06bb9ea8b1dbe58af6f80dc01fde04544c1c4b8ef9ab864d0012 + checksum: 25ed84df9f2b56a7e03fa6214845d88b4090ebfb3868a0a29c507e24879bd2db7abb24df0f6aeacabd3ea0b0e9759c0e1b2689634b82a4a1c856f47dabc3383a languageName: node linkType: hard -"@react-stately/list@npm:^3.10.2": - version: 3.10.2 - resolution: "@react-stately/list@npm:3.10.2" +"@react-stately/selection@npm:^3.14.3": + version: 3.14.3 + resolution: "@react-stately/selection@npm:3.14.3" dependencies: - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/selection": "npm:^3.14.2" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/collections": "npm:^3.10.5" + "@react-stately/utils": "npm:^3.9.1" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 64523ed6842a64204d86478c416aae164a40f47593fa4eb374c2f291b262d5a28ec1c245992a142722278022f8603851dfa1371d023bb2857bd078074087466c + checksum: 43bc7c6c21198d93037fdf107e86149ecdbd6f8618d7c0469cfdfc30db450b9b04e9ec9ef238e7e473e04cdfc127af822553eed5d7e2d69921adbb2131bd2cc6 languageName: node linkType: hard -"@react-stately/menu@npm:^3.6.0": - version: 3.6.0 - resolution: "@react-stately/menu@npm:3.6.0" +"@react-stately/selection@npm:^3.15.1": + version: 3.15.1 + resolution: "@react-stately/selection@npm:3.15.1" dependencies: - "@react-stately/overlays": "npm:^3.6.4" - "@react-types/menu": "npm:^3.9.6" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 21c7f04cb910005fbc6b1f6b78bbf24f98e0b8c37f27bbb8d4b91161c76b823b049aae831b38d0bce15585ab78ffbb10762760e0bdb3a956b4f3a290be2d16b5 + checksum: 4926d0c67b92ced4b9fcc2c092e693fd12e9a3b94bdd4a1ba0c5cdb76d399c5cc45ba814901bf9547a031e1af1e0d7ca21d2be7e5539d17b6a20f47044469276 languageName: node linkType: hard -"@react-stately/numberfield@npm:^3.8.0": - version: 3.8.0 - resolution: "@react-stately/numberfield@npm:3.8.0" +"@react-stately/slider@npm:^3.5.4": + version: 3.5.4 + resolution: "@react-stately/slider@npm:3.5.4" dependencies: - "@internationalized/number": "npm:^3.5.0" - "@react-stately/form": "npm:^3.0.0" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/numberfield": "npm:^3.7.0" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/shared": "npm:^3.23.1" + "@react-types/slider": "npm:^3.7.3" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 758d6d90a62fa33416be5c7d6b18fa998c31b1bc16b626d61682a6d39b33e96bb93a6af9f6224af6afe233ac490e496286c3fcf6a5b421fdb04326375bf20ad7 + checksum: 9af16a9b69d2899827ca1a79630978999784a08ab800998486e0788bd37168d98dab75cc66a92679dbe26db1ae9b2b7af84459e4f35d0a57455322cba3c03483 languageName: node linkType: hard -"@react-stately/overlays@npm:^3.6.4": - version: 3.6.4 - resolution: "@react-stately/overlays@npm:3.6.4" +"@react-stately/table@npm:^3.11.6": + version: 3.11.6 + resolution: "@react-stately/table@npm:3.11.6" dependencies: - "@react-stately/utils": "npm:^3.9.0" - "@react-types/overlays": "npm:^3.8.4" + "@react-stately/collections": "npm:^3.10.5" + "@react-stately/flags": "npm:^3.0.1" + "@react-stately/grid": "npm:^3.8.5" + "@react-stately/selection": "npm:^3.14.3" + "@react-stately/utils": "npm:^3.9.1" + "@react-types/grid": "npm:^3.2.4" + "@react-types/shared": "npm:^3.22.1" + "@react-types/table": "npm:^3.9.3" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 80205ef3a99c80ebc43c14f55287de45a71185acdb5243d0194ee8fe963f3ea4acc4abc877ed445e457df5b0c8cc5812b7d8181d425f9b28c895cfd7d05e6a55 + checksum: 4af9888ee1ec0bde3d683aa81a0e768ddca2589323386327bf36328bb47729589b58e81ea504cae69f6193b520cd8fe73e253ea5dbc9f6a9bc7feefc76185550 languageName: node linkType: hard -"@react-stately/radio@npm:^3.10.1": - version: 3.10.1 - resolution: "@react-stately/radio@npm:3.10.1" +"@react-stately/table@npm:^3.11.8": + version: 3.11.8 + resolution: "@react-stately/table@npm:3.11.8" dependencies: - "@react-stately/form": "npm:^3.0.0" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/radio": "npm:^3.7.0" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/flags": "npm:^3.0.3" + "@react-stately/grid": "npm:^3.8.7" + "@react-stately/selection": "npm:^3.15.1" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/grid": "npm:^3.2.6" + "@react-types/shared": "npm:^3.23.1" + "@react-types/table": "npm:^3.9.5" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 345a844e24c037dd50c2eb05bec77151bf1988755ce451bb996bfaa7bbd84ce33be42fd79351048d560fe5900da089b6f62972e9b602026d859f33f826371106 + checksum: a473010b2a8c6674192a3b7d0cacca18174600f5dc0c0320eb4575a5d2b973b2c57b8757fc154a2f8c97367b7e306f8e2ab6a51bfa6357f861adc50f1ff69503 languageName: node linkType: hard -"@react-stately/searchfield@npm:^3.5.0": - version: 3.5.0 - resolution: "@react-stately/searchfield@npm:3.5.0" +"@react-stately/tabs@npm:^3.6.6": + version: 3.6.6 + resolution: "@react-stately/tabs@npm:3.6.6" dependencies: - "@react-stately/utils": "npm:^3.9.0" - "@react-types/searchfield": "npm:^3.5.2" + "@react-stately/list": "npm:^3.10.5" + "@react-types/shared": "npm:^3.23.1" + "@react-types/tabs": "npm:^3.3.7" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: c6b350390de0e6ab5a7749f45da44547460424c497024291375ef5702083e7d787484c3d1191e73a54cb5b5b20eab6e4e8f4cf2d38c9326a0d84f74dad0c5363 + checksum: cd46ac05290f235a566cd8b67bf471e435e6effc5fa8b0cfa3ed4d3bcbaeb991d22c49e161f95aa177e5a1366d7b81dc4ac54a6e82d7aa9c17ee412ea4bb4fce languageName: node linkType: hard -"@react-stately/select@npm:^3.6.1": - version: 3.6.1 - resolution: "@react-stately/select@npm:3.6.1" +"@react-stately/toggle@npm:^3.7.4": + version: 3.7.4 + resolution: "@react-stately/toggle@npm:3.7.4" dependencies: - "@react-stately/form": "npm:^3.0.0" - "@react-stately/list": "npm:^3.10.2" - "@react-stately/overlays": "npm:^3.6.4" - "@react-types/select": "npm:^3.9.1" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/checkbox": "npm:^3.8.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: e355aa78a7d3f9670a7e8882169e0ddbc330bd828920e392dcbc5c8604b9d4fb58bea2db365e58371f0df26d0ec4703c3562f8eeccbfce32c4182f1db135501e + checksum: d0d4260e9434120699fe25266ce1db8ebd74bf0c2b18c838db23e9f2f7337b5e8fc9eff7a0d1edc210a947b3b87e8bda70b095c26cd32d226ff64ae1f561be63 languageName: node linkType: hard -"@react-stately/selection@npm:^3.14.2": - version: 3.14.2 - resolution: "@react-stately/selection@npm:3.14.2" +"@react-stately/tooltip@npm:^3.4.9": + version: 3.4.9 + resolution: "@react-stately/tooltip@npm:3.4.9" dependencies: - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/shared": "npm:^3.22.0" + "@react-stately/overlays": "npm:^3.6.7" + "@react-types/tooltip": "npm:^3.4.9" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: ff596df1e8bb42bad29e8f6f7613ff86bf938ecdc066dd69bb10daae4e55b3180f36fce1b826deb3abe24fd19733b468a8ae7ae87d47fff3e55077b8ab07645d + checksum: f5ec609a90970926833cc29e626a26e485ef51a3a1315ac7f4e52708b4cbbb1c33f95952dc901e8b9bb439ac663195ed5ab2db8ac39918562a8427aba1fb9f99 languageName: node linkType: hard -"@react-stately/slider@npm:^3.5.0": - version: 3.5.0 - resolution: "@react-stately/slider@npm:3.5.0" +"@react-stately/tree@npm:^3.7.6": + version: 3.7.6 + resolution: "@react-stately/tree@npm:3.7.6" dependencies: - "@react-stately/utils": "npm:^3.9.0" - "@react-types/shared": "npm:^3.22.0" - "@react-types/slider": "npm:^3.7.0" + "@react-stately/collections": "npm:^3.10.5" + "@react-stately/selection": "npm:^3.14.3" + "@react-stately/utils": "npm:^3.9.1" + "@react-types/shared": "npm:^3.22.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 9dc3413bdbc4dee764dc274b7636c5cd794ab3d847dce47179701d09fe4e0dbd4d8aa21d763e7a4726332c4df6033b55b4038e5d658c8ae1cc191f17687d3015 + checksum: e8e2d5f874e50312b06b41702cbd5a301601b72df37b6edeb4199f64069dd2c07de946316e1150a7a167292c133bb95dd6e6d3a086c82bd4c5c44e1862c47a8e languageName: node linkType: hard -"@react-stately/table@npm:^3.11.4": - version: 3.11.4 - resolution: "@react-stately/table@npm:3.11.4" - dependencies: - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/flags": "npm:^3.0.0" - "@react-stately/grid": "npm:^3.8.4" - "@react-stately/selection": "npm:^3.14.2" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/grid": "npm:^3.2.3" - "@react-types/shared": "npm:^3.22.0" - "@react-types/table": "npm:^3.9.2" +"@react-stately/tree@npm:^3.8.1": + version: 3.8.1 + resolution: "@react-stately/tree@npm:3.8.1" + dependencies: + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/selection": "npm:^3.15.1" + "@react-stately/utils": "npm:^3.10.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 2becaf04ef06e2e61e5834a383ed322f8f0b01ede285adacb5efdb1318589bf357071a639c2f63d753b3c7d6049c7f253f2a6ec4a2526c2efef873a5a5c02be0 + checksum: 24ab312778bb49f612047e889afbed5a47a790bb2b6952c0181bb5fae15fadc6ab3ee18dbd22176b56a9701c41dbc1ca96b46bc3218dbc1b517b7b1dbc9a9d20 languageName: node linkType: hard -"@react-stately/tabs@npm:^3.6.3": - version: 3.6.3 - resolution: "@react-stately/tabs@npm:3.6.3" +"@react-stately/utils@npm:^3.10.1": + version: 3.10.1 + resolution: "@react-stately/utils@npm:3.10.1" dependencies: - "@react-stately/list": "npm:^3.10.2" - "@react-types/shared": "npm:^3.22.0" - "@react-types/tabs": "npm:^3.3.4" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: d2b776e0481d9497e2b1c9610d55412afa36e1ce5cf2fb28bc6b5a5b454941f587bcf948ff0307990d8b7f7d4c6ee1a739fc997cf639343cab7fb8ac17647b8a + checksum: b3fc1367eb26afa1d7a4e3d5cf5cf215be4a4698296db25d34a9096a9eb79cff5c3770da48989970e6b6734199bfb9a10c31cd62a39b20980b2ede78061f8ee9 languageName: node linkType: hard -"@react-stately/toggle@npm:^3.7.0": - version: 3.7.0 - resolution: "@react-stately/toggle@npm:3.7.0" +"@react-stately/utils@npm:^3.9.1": + version: 3.9.1 + resolution: "@react-stately/utils@npm:3.9.1" dependencies: - "@react-stately/utils": "npm:^3.9.0" - "@react-types/checkbox": "npm:^3.6.0" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: f366a41c92948d1631ad7fed699115bc0c2c6f134a29b3b1b5d0cdc083f72a1862cd0f447e4a1a1b37c2013f1b859d00583a1c8691a7e1d93ba9db0cacffe36a + checksum: 17ddef6415db0950c474c6ad87a0d7b20a98aac817771887922ea6c6a90b9b91eb49205adf021349034f8da012fc0e3c30f6c9b378265ae6d0df93c3b4104b53 languageName: node linkType: hard -"@react-stately/tooltip@npm:^3.4.6": - version: 3.4.6 - resolution: "@react-stately/tooltip@npm:3.4.6" +"@react-stately/virtualizer@npm:^3.7.1": + version: 3.7.1 + resolution: "@react-stately/virtualizer@npm:3.7.1" dependencies: - "@react-stately/overlays": "npm:^3.6.4" - "@react-types/tooltip": "npm:^3.4.6" + "@react-aria/utils": "npm:^3.24.1" + "@react-types/shared": "npm:^3.23.1" "@swc/helpers": "npm:^0.5.0" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: a9fef79f850592a9eb418edc800cc4ecd92f00d918796472fb65d7eaa4541496bdad8d9327a131db585b1c7bdb7b9ed882d5c9e78bb84127f3ea8217c217996b + checksum: b40b095cd57d87f2db0533ca19cd5572d47b020cca1410b3e9627003426f3be0cd3fab48d20ef30b541e852eeea285993e8ed65c09a32ff199240c4196999812 languageName: node linkType: hard -"@react-stately/tree@npm:^3.7.5": +"@react-types/breadcrumbs@npm:^3.7.5": version: 3.7.5 - resolution: "@react-stately/tree@npm:3.7.5" + resolution: "@react-types/breadcrumbs@npm:3.7.5" dependencies: - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/selection": "npm:^3.14.2" - "@react-stately/utils": "npm:^3.9.0" - "@react-types/shared": "npm:^3.22.0" - "@swc/helpers": "npm:^0.5.0" + "@react-types/link": "npm:^3.5.5" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 46a81a00c2aa0f7b90a436e0dd25893934f4d63f3103284d865f5ab0fc5d84a38e2bf99149b18ed715077bff24f4fa2ef6d7db6ce191d0599547b258e205849d + checksum: bf9a7e5f3eafaf007d0ba561f20849c2d1ad07ea973f6ee05ecb0826d4175fb49c86c4d0a2aaa56e343ed5b00c347661eef98dd2870c46130b1e1e843bc80747 languageName: node linkType: hard -"@react-stately/utils@npm:^3.9.0": - version: 3.9.0 - resolution: "@react-stately/utils@npm:3.9.0" +"@react-types/button@npm:^3.9.2": + version: 3.9.2 + resolution: "@react-types/button@npm:3.9.2" dependencies: - "@swc/helpers": "npm:^0.5.0" + "@react-types/shared": "npm:^3.22.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 66bb72441c289c334cf626ac789bb601db8b765e3f522181f8ff38b281bede9d1b2474dc6d5f17b6b31c12f48425797151eb2d4df5922e05c2e467ee195b7ade + checksum: 8393ba87dfd6ca73fedf8f7ab3567361f1d6057f640346f2a0cc631e9659ad7c1aa2ddb255e1df6b880d8f6cd209e8c9d1d01c73e2ee2a149f180d8ebaabf1db languageName: node linkType: hard -"@react-stately/virtualizer@npm:^3.6.6": - version: 3.6.6 - resolution: "@react-stately/virtualizer@npm:3.6.6" +"@react-types/button@npm:^3.9.4": + version: 3.9.4 + resolution: "@react-types/button@npm:3.9.4" dependencies: - "@react-aria/utils": "npm:^3.23.0" - "@react-types/shared": "npm:^3.22.0" - "@swc/helpers": "npm:^0.5.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 45fd982fb3c0c52af3e5c4c6ab8a79f14b6b2c768cfd13754ee1397fb9459a97a4a28db666df144c3f569ac5d82bb6d8832de8e2f017c17ab986fc0437888017 + checksum: aebbbbb61320c78ea41ebc51ce8b1bf4a08952dde17e2de96a5f0e1f49e9d9a3d9fc74862448f28eedde0230f2d07c25ed06138964d5c1b3892ced1d80470872 languageName: node linkType: hard -"@react-types/breadcrumbs@npm:^3.7.2": - version: 3.7.2 - resolution: "@react-types/breadcrumbs@npm:3.7.2" +"@react-types/calendar@npm:^3.4.6": + version: 3.4.6 + resolution: "@react-types/calendar@npm:3.4.6" dependencies: - "@react-types/link": "npm:^3.5.2" - "@react-types/shared": "npm:^3.22.0" + "@internationalized/date": "npm:^3.5.4" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: f911a57124652dd1ae7f30b4e5158a9accaec166a244f3c98942c26250997a28e4e2aaa2e66923738ee8fe832e95babcae14bc3dd1f20c9eeed533ef597de2cc + checksum: 347f800f056c90e8bd6928fcb7377c6cbaf596296ea7f20059d650ae7a192a5aa83deb874edd85955453e03a5112cbb2e586f66652158044dba3035aa653674a languageName: node linkType: hard -"@react-types/button@npm:^3.9.1": - version: 3.9.1 - resolution: "@react-types/button@npm:3.9.1" +"@react-types/checkbox@npm:^3.8.1": + version: 3.8.1 + resolution: "@react-types/checkbox@npm:3.8.1" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 712eb4dbd3bf1afe96a4d1438c95e54b44117bb1cef31a1984d678ef716672d47ebbbbbb1736a2083e47e435e652aa70384f4cf9e9e302d7f1d0878d176ace68 + checksum: a5dc85c06aed4e96f39dd2357bebf866f3abb59c5966b7307a1d6702d54aa0b252e3eba428af49cd0cd9e575961272ec307b1a4e09d72a936880b7388313bb26 languageName: node linkType: hard -"@react-types/calendar@npm:^3.4.3": - version: 3.4.3 - resolution: "@react-types/calendar@npm:3.4.3" +"@react-types/combobox@npm:^3.11.1": + version: 3.11.1 + resolution: "@react-types/combobox@npm:3.11.1" dependencies: - "@internationalized/date": "npm:^3.5.1" - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 965fbe34431e8296cc3d14a647e528c31079ee5d07a5cd0cbb83c7ca7c873d0c69f7f779f5fa2ada704610f75a757e51b7589928e67fe371f0b6947c8a1bc1f1 + checksum: 0f5539a2c721b4f1d8cf343924f269dc7b82502b6f7aa032b79521320f4dd1761e3908c5d671fb207866c1652ffb67ecab4c8baba7be521f54fb04713478c9e3 languageName: node linkType: hard -"@react-types/checkbox@npm:^3.6.0": - version: 3.6.0 - resolution: "@react-types/checkbox@npm:3.6.0" +"@react-types/datepicker@npm:^3.7.4": + version: 3.7.4 + resolution: "@react-types/datepicker@npm:3.7.4" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@internationalized/date": "npm:^3.5.4" + "@react-types/calendar": "npm:^3.4.6" + "@react-types/overlays": "npm:^3.8.7" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: c3e945a666922384ebc868e5eb56b8861c302824fd73e8c109fbd5d0b9ff6752014f411b998c3ee4e4ae636f84b0c124ee97dbbf6a6c0d343c1092bd9b2a2b21 + checksum: d323c6d8e8e8162cb59e1b8ef65c54271cf36f7b6e04c6279712294a2d0a47c037d9b93501950bfcb527a24ee97c9196201357ce74577386762b9effb0dc5e67 languageName: node linkType: hard -"@react-types/combobox@npm:^3.10.0": - version: 3.10.0 - resolution: "@react-types/combobox@npm:3.10.0" +"@react-types/dialog@npm:^3.5.10": + version: 3.5.10 + resolution: "@react-types/dialog@npm:3.5.10" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/overlays": "npm:^3.8.7" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: ae8841fc55cb19ab25a876e2afd05e06d6ab51fdfaeec6ab7cd6c577ff26c16d506ed628c20750db2596ea86eb990c731ca61e89f7fda03d2f65feb10a306cd7 + checksum: 56d49adb78bfdcf4252ca784c7f0a7ccfc1e766f909a24d2864ab988e948c0f82b7bd04be3d023dcc1f69395502fbbf09214f00624499e0c6342d5167420d5bd languageName: node linkType: hard -"@react-types/datepicker@npm:^3.7.1": - version: 3.7.1 - resolution: "@react-types/datepicker@npm:3.7.1" +"@react-types/form@npm:^3.7.2": + version: 3.7.2 + resolution: "@react-types/form@npm:3.7.2" + dependencies: + "@react-types/shared": "npm:^3.22.1" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: caead2f12d6c784b12e80be1de5a4521f7229897b8ed762e6af5bd31e3aa2343f8d33183c493e29c82637f40b652ba8bf2c249788b10b42113eb7cb1b3b1f522 + languageName: node + linkType: hard + +"@react-types/grid@npm:^3.2.4": + version: 3.2.4 + resolution: "@react-types/grid@npm:3.2.4" dependencies: - "@internationalized/date": "npm:^3.5.1" - "@react-types/calendar": "npm:^3.4.3" - "@react-types/overlays": "npm:^3.8.4" - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.22.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: afe84b362d041c3559847b564c44a3468ff957fb86feec1c28a222e9d4724601d608b504619033bc325f880dcb8aae25779379770b4c2e6c1d8d0091d4cc4199 + checksum: 44246cd315f339ed3d1ea5cecf8b56b6677d6c15c26e6bda77cf256b5f148adcc4bbbbfb3adc949e408a5118039474c69038526cf5ff65ec2ff2fccc75b45666 languageName: node linkType: hard -"@react-types/dialog@npm:^3.5.7": - version: 3.5.7 - resolution: "@react-types/dialog@npm:3.5.7" +"@react-types/grid@npm:^3.2.6": + version: 3.2.6 + resolution: "@react-types/grid@npm:3.2.6" dependencies: - "@react-types/overlays": "npm:^3.8.4" - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 4f79ee1eb4e935435c2f04571900ac83fd0638f0d15fe4ac1b5acac6057718a37fdec0b735c3b44439f09b905552c241107c1b14fac57dcb7e14bc68127f0e9c + checksum: a1da4fe93186c32b59c9f3f8506bf92c01a909d72de136ec277c877a26ebdae7d9fae1505de2b90ed3cfa118c300d58192eaf8cb0f2bb1a48b27329e37c5ee16 languageName: node linkType: hard -"@react-types/grid@npm:^3.2.3": - version: 3.2.3 - resolution: "@react-types/grid@npm:3.2.3" +"@react-types/link@npm:^3.5.5": + version: 3.5.5 + resolution: "@react-types/link@npm:3.5.5" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: ab2abf027d1a5364bfb3957732dfea9485f739ba50e86eb4c75be5cce1a9b374191d8a1664dea3487504207ffed93a1fbc395fb01d7c503ab34f52f8a6adcd0e + checksum: 45ed617810314eaddc1a0472a360de8e1ca9c955baa319d51e22e822fb0194e62fc1fee225d6e9a9a8fba7f044d607cb510cd6d20bb53dd144fd751dc550fa81 languageName: node linkType: hard -"@react-types/link@npm:^3.5.2": - version: 3.5.2 - resolution: "@react-types/link@npm:3.5.2" +"@react-types/listbox@npm:^3.4.9": + version: 3.4.9 + resolution: "@react-types/listbox@npm:3.4.9" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: c3268a83614f2d10274a93ebbab77bb586f3e8c9050eea96a74646e1a456d77b844c4f0e2437277dd932ba260806aea2327ffc5f3351b6279808e599c8c2f5eb + checksum: 6f536c06d1a9fe9e2fa24b7bae3cabfec1474e65e3a9bea41eef128984cf5a83ab8f8dd0f22033a61f09e0f725024687590c9d2a8430024c96a583196d97f1c6 languageName: node linkType: hard -"@react-types/listbox@npm:^3.4.6": - version: 3.4.6 - resolution: "@react-types/listbox@npm:3.4.6" +"@react-types/menu@npm:^3.9.7": + version: 3.9.7 + resolution: "@react-types/menu@npm:3.9.7" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/overlays": "npm:^3.8.5" + "@react-types/shared": "npm:^3.22.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 12e2f6eb27692b9af7095101ebf84910d65743615c0fadf21bbf60d2f2dd4fe8f1c885137b7237062fe774704889e3645b22d27b74ef5490e518db63dbba7ffa + checksum: 97cec66432e6c53909dab25d9a7d5c2646d484caeb6c4eff402f152baf667079ef5774c31098f29d66045a1b0f841b0cd579aaa1948353631739ddf61042a0e7 languageName: node linkType: hard -"@react-types/menu@npm:^3.9.6": - version: 3.9.6 - resolution: "@react-types/menu@npm:3.9.6" +"@react-types/menu@npm:^3.9.9": + version: 3.9.9 + resolution: "@react-types/menu@npm:3.9.9" dependencies: - "@react-types/overlays": "npm:^3.8.4" - "@react-types/shared": "npm:^3.22.0" + "@react-types/overlays": "npm:^3.8.7" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 14812700f810a75a1b6f85077c35292c50783fbaf404d6ee3ab21ca73151cb95f527824e45cb4c0dd02ce5b99d5a4eba21f78da53093000a003e848b06690b86 + checksum: efa730a42a7152613e15bf967f6cda74dcd365d81cbda3a018f926f546d19f6c09f1eaf7a2e834f2cdfccccde68d1e909413e058a61f15e1f98695b26a103ea6 languageName: node linkType: hard -"@react-types/meter@npm:^3.3.6": - version: 3.3.6 - resolution: "@react-types/meter@npm:3.3.6" +"@react-types/meter@npm:^3.4.1": + version: 3.4.1 + resolution: "@react-types/meter@npm:3.4.1" dependencies: - "@react-types/progress": "npm:^3.5.1" + "@react-types/progress": "npm:^3.5.4" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 7e6b97cc18ec0fbb23bc8ee6e486f41bdeb1c1ee6852c303c01403c13598b4613b2025f0b40d0b539a8f3c00cd840d9d9fa0abe9aed4e59cef6e91faecee42f6 + checksum: 553c823cfa591f512e11fb2cb269cd88ee629da267cf0e98ee0fbafcbf4537a582dde0070f2d783d349c12813ed797e95b83bf56e9bfc380a14ba3680578655b languageName: node linkType: hard -"@react-types/numberfield@npm:^3.7.0": - version: 3.7.0 - resolution: "@react-types/numberfield@npm:3.7.0" +"@react-types/numberfield@npm:^3.8.3": + version: 3.8.3 + resolution: "@react-types/numberfield@npm:3.8.3" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: b34c5d3433968b9cc40e23bcdccd5da25c4a322ddc0c31adb7519d379480c5f5c5cd283e3878092aa41fb534f73542fe0b773bf2dff3bc65c40e8a17900dd165 + checksum: 4ed826ea05a90cb798b267007ec6ab3aa03844c71b04ca01113ac6ddef10d3d278909e4388454f41558f91ea51c25977a9bc02c02aa834104b0a1ec643af9297 languageName: node linkType: hard -"@react-types/overlays@npm:^3.8.4": - version: 3.8.4 - resolution: "@react-types/overlays@npm:3.8.4" +"@react-types/overlays@npm:^3.8.5": + version: 3.8.5 + resolution: "@react-types/overlays@npm:3.8.5" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.22.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 14b7ab6b24d322c37fc23571dacb2cba7a144902f7421f65c9809029a573e40144ad4db1a583d807e52d4f4e40f1a8785eca303d1a79edf9bb390bb482a5707f + checksum: 6c952fdbe7724b07cade95e8d3fe6bf61cb6e993b730051c1ada33da2afe246e3124a8981127977cc55f6df32124b049504fda7d19593446895559ca00a9f0b9 languageName: node linkType: hard -"@react-types/progress@npm:^3.5.1": - version: 3.5.1 - resolution: "@react-types/progress@npm:3.5.1" +"@react-types/overlays@npm:^3.8.7": + version: 3.8.7 + resolution: "@react-types/overlays@npm:3.8.7" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 4f177805e16d6ee3df51e18f0df07b12dffae746f3c065958939cddbec13d3307bf63f43c27e2e74a6eae1b08b24a14a24ceaf64232b166e368f25cef5da7fa0 + checksum: 758eed6a2a13128c40585dd4e47bdc807d49ecf7b12822ec9aa84c5797604c67fe4750300253805a4206feddb0f0bbc01e8f70666aff299dce51b3aeda46c4d2 languageName: node linkType: hard -"@react-types/radio@npm:^3.7.0": - version: 3.7.0 - resolution: "@react-types/radio@npm:3.7.0" +"@react-types/progress@npm:^3.5.4": + version: 3.5.4 + resolution: "@react-types/progress@npm:3.5.4" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 5ab509b7cc377599be000c74f7f0ce6458a82d951f45edd72df499c7b598cd1c2dcb47ebdf9f5aecfbe57b1d900863909289e24646291b93153590de358b414d + checksum: 756cf6b1a2b697f4a2152e454da679ce5ed98172ddc68e86433db8d047a4623b6b00808436e4f65ce5253343cd566cf6fe94d486476fb6e55849d182fd182590 languageName: node linkType: hard -"@react-types/searchfield@npm:^3.5.2": - version: 3.5.2 - resolution: "@react-types/searchfield@npm:3.5.2" +"@react-types/radio@npm:^3.8.1": + version: 3.8.1 + resolution: "@react-types/radio@npm:3.8.1" dependencies: - "@react-types/shared": "npm:^3.22.0" - "@react-types/textfield": "npm:^3.9.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: c70a534cffc4e19c2acc5613becbd77b71527b8befcf4e6cf2000a9328f8985195ef662a3cfdf61a4c05d996636b8f462b0b22e33ccbedf54b181e6bf1633cb4 + checksum: 6caa15aafc76f4c09be63a307c7ff02ebc6404c4ef3b64b4c43a904be49f8640ba91845cffe0c05e7e77d84a63aa1ac6332d30f2fcf560d3c6d15ea58833910a languageName: node linkType: hard -"@react-types/select@npm:^3.9.1": - version: 3.9.1 - resolution: "@react-types/select@npm:3.9.1" +"@react-types/searchfield@npm:^3.5.5": + version: 3.5.5 + resolution: "@react-types/searchfield@npm:3.5.5" + dependencies: + "@react-types/shared": "npm:^3.23.1" + "@react-types/textfield": "npm:^3.9.3" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 455c9a2d8e76194dcae9ec216c05472646c998e9bce6a53cc7b119f2df9b9b139de4acf31485d9137c49dce7f2468ae48aa647a3bb8a644080f143718f0b4658 + languageName: node + linkType: hard + +"@react-types/select@npm:^3.9.4": + version: 3.9.4 + resolution: "@react-types/select@npm:3.9.4" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 7faa872468e2d4789cc35903410582141743c8b327dd44816a5f888d53bba28e44fa040f79b031545754477fd82e1bb8e5cfe86ac6051076e18d2f92eedf0c7d + checksum: 630f1ac7381e61e91546ee1dd567928d1b0cd151d699c1b3e7a5ad7824aa1f786c1d4efd70ff6626f8cf80eac2ae9666a1d18b7fd72c31ff41073da50abac622 languageName: node linkType: hard -"@react-types/shared@npm:^3.19.0, @react-types/shared@npm:^3.22.0": +"@react-types/shared@npm:^3.19.0": version: 3.22.0 resolution: "@react-types/shared@npm:3.22.0" peerDependencies: @@ -3953,71 +4905,101 @@ __metadata: languageName: node linkType: hard -"@react-types/slider@npm:^3.7.0": - version: 3.7.0 - resolution: "@react-types/slider@npm:3.7.0" +"@react-types/shared@npm:^3.22.1": + version: 3.22.1 + resolution: "@react-types/shared@npm:3.22.1" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: da5fc6775a79ae8148d80a6cd7025ff0d44462c5b8923cdd072ac34626ac7416049f297ec078ebed29fd49d65fd356f21ede9587517b88f20f9d6236107c1333 + languageName: node + linkType: hard + +"@react-types/shared@npm:^3.23.1": + version: 3.23.1 + resolution: "@react-types/shared@npm:3.23.1" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 1ea30702a408554e45b827e66ebf2a9674aec7d7d04a4f3723f2fe1c677be36701d5f08d4914d6018c4bcb6f2fe07d8c3a5840dfe3299ee69092b78c723c9c03 + languageName: node + linkType: hard + +"@react-types/slider@npm:^3.7.3": + version: 3.7.3 + resolution: "@react-types/slider@npm:3.7.3" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: d1683f71e872db02fbe8c699b4647cb3b729bde94077e4f01d19c0f3ad8be3a137c8be927bc4fe5b2f5a96dfa669ef411f82baa0af93f986c77545e99882c258 + checksum: 583cf97a5fd8150cff44ef9449192a10d5dc3111ad401cc72e6f961158e3369f8115e5858e5998687f5e936ffa8ff037d043ffaa3caf93dfe3f4a37d613fc6aa languageName: node linkType: hard -"@react-types/switch@npm:^3.5.0": - version: 3.5.0 - resolution: "@react-types/switch@npm:3.5.0" +"@react-types/switch@npm:^3.5.3": + version: 3.5.3 + resolution: "@react-types/switch@npm:3.5.3" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: c562dea2175236ce2f77f969a6db87fcd77ab4f32331556f76c4004688d9da485dcfaa387f835d354fd8661b7a9c9422d850e67cbcf75ded2b3ac6f6a21c271e + checksum: b9ceadf6f2e0a18653f6762359767620c7381cba147da71180e3bc15f4f5df1b7e874bcd313f6a93bbeda40ebfd2daa5f5e6bd58f4bde07aefc965fae78cf9b8 languageName: node linkType: hard -"@react-types/table@npm:^3.9.2": - version: 3.9.2 - resolution: "@react-types/table@npm:3.9.2" +"@react-types/table@npm:^3.9.3": + version: 3.9.3 + resolution: "@react-types/table@npm:3.9.3" dependencies: - "@react-types/grid": "npm:^3.2.3" - "@react-types/shared": "npm:^3.22.0" + "@react-types/grid": "npm:^3.2.4" + "@react-types/shared": "npm:^3.22.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: c7ad042ba7a3daffbfb1b278fec198e19a102ffb28117505294ce5f4fe10581062e9190a32ccfd9ee132225d438509e214d68a8df26ec25739db26de882321ee + checksum: 6483078311ad6fe16cbe3ae1896962ff95509b843641dbb2b2cc0c437fe8a4b1493aecb6cff5b5364f76e43b591e13837c14daef12b6dac087d5395e828594e8 languageName: node linkType: hard -"@react-types/tabs@npm:^3.3.4": - version: 3.3.4 - resolution: "@react-types/tabs@npm:3.3.4" +"@react-types/table@npm:^3.9.5": + version: 3.9.5 + resolution: "@react-types/table@npm:3.9.5" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/grid": "npm:^3.2.6" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 4a314f24879205d48d12b558a3af03da67d827d7c5f1a3b161a38efdf796b2394b01945ca48ff4452f818c8d07a5ada9c90a0a760fcc7105ea5799dc0e64da1b + checksum: e982e76fd87e0d6c9b0a15ca7c7315aac03ab14eba469385e9974237af18d5f7ee937682b62d4e9851e2ed4c0a1504e13b5cf57df848ad622ef9a7a1aa250546 languageName: node linkType: hard -"@react-types/textfield@npm:^3.9.0": - version: 3.9.0 - resolution: "@react-types/textfield@npm:3.9.0" +"@react-types/tabs@npm:^3.3.7": + version: 3.3.7 + resolution: "@react-types/tabs@npm:3.3.7" dependencies: - "@react-types/shared": "npm:^3.22.0" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 993cc525649e5a7be67580b18b5539c77915c75902d23fe7a7fbc572ee35dccba8128a53bd6a82069751bc21611937d06492b518f2acd9aa80a86075dd336afb + checksum: 83ca1ddb6890c00c7920c81b8aedfbfe940776f430ceb78651897ded54e1f478dc6f9e755a8a92796dd4607296a53dd54ec298f7dede1e2b4ca593b6c210c484 languageName: node linkType: hard -"@react-types/tooltip@npm:^3.4.6": - version: 3.4.6 - resolution: "@react-types/tooltip@npm:3.4.6" +"@react-types/textfield@npm:^3.9.3": + version: 3.9.3 + resolution: "@react-types/textfield@npm:3.9.3" + dependencies: + "@react-types/shared": "npm:^3.23.1" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: 8fc6f551d57ae0ea31f1386475d613444835253abc04e2acaa00a3779c0e8755a501f0756276fbfc00190e194f7b2350e00a60bf0defeaff3fd29f5b8ca7dd4d + languageName: node + linkType: hard + +"@react-types/tooltip@npm:^3.4.9": + version: 3.4.9 + resolution: "@react-types/tooltip@npm:3.4.9" dependencies: - "@react-types/overlays": "npm:^3.8.4" - "@react-types/shared": "npm:^3.22.0" + "@react-types/overlays": "npm:^3.8.7" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: d312ae556488949101cc462a69091a7174b2b0d8937efc32a0da6d385135f2fefeaa813b7c86bf7cbe4256f503b8b99f312d4399aa71c00b77706c222fc142c0 + checksum: 9f25925f182d3827c96e4f3a3e71379ec362e12c637744830785480cbf57ad64fbb529090bf2f871ec6c1213adacfeb30e25135a882ec1f171a0c75b053c02d4 languageName: node linkType: hard @@ -4058,10 +5040,10 @@ __metadata: languageName: node linkType: hard -"@remix-run/router@npm:1.14.2": - version: 1.14.2 - resolution: "@remix-run/router@npm:1.14.2" - checksum: 422844e88b985f1e287301b302c6cf8169c9eea792f80d40464f97b25393bb2e697228ebd7a7b61444d5a51c5873c4a637aad20acde5886a5caf62e833c5ceee +"@remix-run/router@npm:1.15.2": + version: 1.15.2 + resolution: "@remix-run/router@npm:1.15.2" + checksum: 2a2c9c062228130d0383328de2757301e878fc268a72f813b60b8463bb7ed2c1fa4018072883af8096982a4b2741ec6eb349587cd7f95acfdf09588d93adea67 languageName: node linkType: hard @@ -4111,93 +5093,205 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.9.5" +"@rollup/rollup-android-arm-eabi@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.10.0" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-android-arm-eabi@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.17.2" conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-android-arm64@npm:4.9.5" +"@rollup/rollup-android-arm64@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-android-arm64@npm:4.10.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-android-arm64@npm:4.17.2" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-darwin-arm64@npm:4.9.5" +"@rollup/rollup-darwin-arm64@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.10.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-darwin-arm64@npm:4.17.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-darwin-x64@npm:4.9.5" +"@rollup/rollup-darwin-x64@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.10.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-darwin-x64@npm:4.17.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.5" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.10.0" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.9.5" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.17.2" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-musleabihf@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.17.2" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.10.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.17.2" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.9.5" +"@rollup/rollup-linux-arm64-musl@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.10.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.17.2" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.9.5" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.17.2" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.10.0" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.17.2" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.9.5" +"@rollup/rollup-linux-s390x-gnu@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.17.2" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.10.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.17.2" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.9.5" +"@rollup/rollup-linux-x64-musl@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.10.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.17.2" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.9.5" +"@rollup/rollup-win32-arm64-msvc@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.10.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.17.2" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.9.5" +"@rollup/rollup-win32-ia32-msvc@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.10.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.17.2" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.9.5": - version: 4.9.5 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.9.5" +"@rollup/rollup-win32-x64-msvc@npm:4.10.0": + version: 4.10.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.10.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.17.2": + version: 4.17.2 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.17.2" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -4448,6 +5542,120 @@ __metadata: languageName: node linkType: hard +"@storybook/channels@npm:8.1.1": + version: 8.1.1 + resolution: "@storybook/channels@npm:8.1.1" + dependencies: + "@storybook/client-logger": "npm:8.1.1" + "@storybook/core-events": "npm:8.1.1" + "@storybook/global": "npm:^5.0.0" + telejson: "npm:^7.2.0" + tiny-invariant: "npm:^1.3.1" + checksum: c60349f3ea1306d17eee43cca352b5d1dc1431ebdbce80181da3f45e49fb479090094f73c6f55a10763951917ad0bbae02558fc392712a4a098d1a79710080d6 + languageName: node + linkType: hard + +"@storybook/client-logger@npm:8.1.1": + version: 8.1.1 + resolution: "@storybook/client-logger@npm:8.1.1" + dependencies: + "@storybook/global": "npm:^5.0.0" + checksum: 0255552c93c66e2d11fa282a76e813861427e7cb0c3dc860e8d686bfd4cbceb37f04589d3540db39eb1e37761761d964e1d0266cbe3074e1dcc80af26cd5f153 + languageName: node + linkType: hard + +"@storybook/core-events@npm:8.1.1": + version: 8.1.1 + resolution: "@storybook/core-events@npm:8.1.1" + dependencies: + "@storybook/csf": "npm:^0.1.7" + ts-dedent: "npm:^2.0.0" + checksum: 46d88ff57ecb4a1ebb4698354bf52e5191b8ca676f41b467ccd8d56b63e55455aa38835f2d88b7ddcfc61f60e4ce45fab7453bc644562c0fd4b81887934d0e99 + languageName: node + linkType: hard + +"@storybook/csf@npm:^0.1.7": + version: 0.1.7 + resolution: "@storybook/csf@npm:0.1.7" + dependencies: + type-fest: "npm:^2.19.0" + checksum: 19dbd5c72a0c60e4b7cf0255fbbb74452172c03911d0236a0bd26c5e1d1453870800ebfbcd6afd455384fac30bbb5d261193ee2d455bd863344ceb96265139e3 + languageName: node + linkType: hard + +"@storybook/global@npm:^5.0.0": + version: 5.0.0 + resolution: "@storybook/global@npm:5.0.0" + checksum: 0e7b495f4fe7f36447e793926f1c0460ec07fd66f0da68e3150da5878f6043c9eeb9b41614a45c5ec0d48d5d383c59ca8f88b6dc7882a2a784ac9b20375d8edb + languageName: node + linkType: hard + +"@storybook/instrumenter@npm:8.1.1": + version: 8.1.1 + resolution: "@storybook/instrumenter@npm:8.1.1" + dependencies: + "@storybook/channels": "npm:8.1.1" + "@storybook/client-logger": "npm:8.1.1" + "@storybook/core-events": "npm:8.1.1" + "@storybook/global": "npm:^5.0.0" + "@storybook/preview-api": "npm:8.1.1" + "@vitest/utils": "npm:^1.3.1" + util: "npm:^0.12.4" + checksum: 293aaf7425525791cc024edf6ad709cce4cbf44f4a92912cd9356741e7652a0faf7b3a26e6d5ddf1f0c983da40b40c9915db569b3d459f2bfad4dbdf00926127 + languageName: node + linkType: hard + +"@storybook/preview-api@npm:8.1.1": + version: 8.1.1 + resolution: "@storybook/preview-api@npm:8.1.1" + dependencies: + "@storybook/channels": "npm:8.1.1" + "@storybook/client-logger": "npm:8.1.1" + "@storybook/core-events": "npm:8.1.1" + "@storybook/csf": "npm:^0.1.7" + "@storybook/global": "npm:^5.0.0" + "@storybook/types": "npm:8.1.1" + "@types/qs": "npm:^6.9.5" + dequal: "npm:^2.0.2" + lodash: "npm:^4.17.21" + memoizerific: "npm:^1.11.3" + qs: "npm:^6.10.0" + tiny-invariant: "npm:^1.3.1" + ts-dedent: "npm:^2.0.0" + util-deprecate: "npm:^1.0.2" + checksum: fb6c9e38d86f039075b80ec1b8b5eccd2ef624b4f393760de243a79b60e108e6afb25ce50a3b01eb749575f104ebeeae6829b76216273b1e81e226e3e0c08745 + languageName: node + linkType: hard + +"@storybook/test@npm:^8.1.1": + version: 8.1.1 + resolution: "@storybook/test@npm:8.1.1" + dependencies: + "@storybook/client-logger": "npm:8.1.1" + "@storybook/core-events": "npm:8.1.1" + "@storybook/instrumenter": "npm:8.1.1" + "@storybook/preview-api": "npm:8.1.1" + "@testing-library/dom": "npm:^9.3.4" + "@testing-library/jest-dom": "npm:^6.4.2" + "@testing-library/user-event": "npm:^14.5.2" + "@vitest/expect": "npm:1.3.1" + "@vitest/spy": "npm:^1.3.1" + util: "npm:^0.12.4" + checksum: 5a1a66241d0a9267e783161071d7aa6e7b77a129a041db9127b3546997affc2855bdb185b7fb6dad0e9673d1246821d5b91cde3ba69f273da3bbf905505f9947 + languageName: node + linkType: hard + +"@storybook/types@npm:8.1.1": + version: 8.1.1 + resolution: "@storybook/types@npm:8.1.1" + dependencies: + "@storybook/channels": "npm:8.1.1" + "@types/express": "npm:^4.7.0" + file-system-cache: "npm:2.3.0" + checksum: f367334074e3f4464bcd0efdad75a0110a11d72265f8dc398d2e53a62b9d77dc159006a0db50bd63f0844c3466d7c7a099a0a81cddb87acfeb2e3d178d6cbfbb + languageName: node + linkType: hard + "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0": version: 8.0.0 resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0" @@ -4586,11 +5794,11 @@ __metadata: linkType: hard "@swc/helpers@npm:^0.5.0": - version: 0.5.3 - resolution: "@swc/helpers@npm:0.5.3" + version: 0.5.6 + resolution: "@swc/helpers@npm:0.5.6" dependencies: tslib: "npm:^2.4.0" - checksum: 5ed4329cd36106e4c3c9c9fa710fae5b80521accce697d81030c42798c4653237f719269c24c26adf42579e15e1f720f31cd63983dea30debd298582a6cbd20a + checksum: 16f0a18367b1248317dcc3e5f32411da1a2906f983f4f072e394dfed37523385bc4d7bf71bab204cc8b3875c024a91421dd5c1f9c5bad1b1172fcb50aa2ec96f languageName: node linkType: hard @@ -4641,52 +5849,52 @@ __metadata: languageName: node linkType: hard -"@tanstack/query-core@npm:5.17.15": - version: 5.17.15 - resolution: "@tanstack/query-core@npm:5.17.15" - checksum: be189a57b9ad3fc2a7cf310a2f3188b56a9dedd81c52ebbf15679998e5fd043f8862dbe4ae84fae6fbe7bbfff8e731f3063fa214216bb3ffac87fe8ca66fd4e2 +"@tanstack/query-core@npm:5.24.7": + version: 5.24.7 + resolution: "@tanstack/query-core@npm:5.24.7" + checksum: 7fa647dfdb7fb17184652ef81af4a29eab542a1070c9054f28a67054e251da479c1dd52037336e6277d2608f3246343a530cda2eefe84b74c7058e9940f8d37d languageName: node linkType: hard -"@tanstack/react-query@npm:^5.14.2": - version: 5.17.15 - resolution: "@tanstack/react-query@npm:5.17.15" +"@tanstack/react-query@npm:^5.24.7": + version: 5.24.7 + resolution: "@tanstack/react-query@npm:5.24.7" dependencies: - "@tanstack/query-core": "npm:5.17.15" + "@tanstack/query-core": "npm:5.24.7" peerDependencies: react: ^18.0.0 - checksum: ed8540aa56a9fd12f9725b23d895212712565cd3e4fe1ffc7e8ae57fac5e540de7e1e29eefdbd4489fd88a6180808fd78dd9c9b8c8eb10be06f2343e828232df + checksum: a401b4fd81fd032c266e44a5f1dcf667ee6aaaa494cf4814fb5c0a126a45c364ac508fab10e025135c01ff543b3cf332632c4e15abcadbfa2349b74b629c617d languageName: node linkType: hard -"@tanstack/react-table@npm:^8.9.9": - version: 8.11.6 - resolution: "@tanstack/react-table@npm:8.11.6" +"@tanstack/react-table@npm:^8.13.2": + version: 8.13.2 + resolution: "@tanstack/react-table@npm:8.13.2" dependencies: - "@tanstack/table-core": "npm:8.11.6" + "@tanstack/table-core": "npm:8.13.2" peerDependencies: react: ">=16" react-dom: ">=16" - checksum: b8b73d987d3656c3046697d89884438c4dcecfd7a567d6492823d067cb3c7466030065b3e970f59bbd9e413e829f179601353a31ff426a06f7a955c7dd4add5a + checksum: b91d5fc04a9a0b43c38da00a5a5c2fcfe0c3b3ec521c97f5e2eb2893a7f3446209fe4d07950b8179a0ab10b7b49230abce3d2db2a56fdc9d8fdb27023afea639 languageName: node linkType: hard "@tanstack/react-virtual@npm:^3.0.0-beta.60": - version: 3.0.1 - resolution: "@tanstack/react-virtual@npm:3.0.1" + version: 3.0.4 + resolution: "@tanstack/react-virtual@npm:3.0.4" dependencies: "@tanstack/virtual-core": "npm:3.0.0" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: c923a524964a5d1da68464edff26267b5c5f84809ed6f2001f6a3d36219bba97c779633d801e4801b1653969a24b714b8262593355a3e7036fb510d8ac40963d + checksum: d99a18c78cbe2ab0618f9fd75b626bb9db36794dab62a4273922fd887996b01a36bc324a69047e4449c7b9aa0f11f2a19d02d70a94fb6255eaf924a619548322 languageName: node linkType: hard -"@tanstack/table-core@npm:8.11.6": - version: 8.11.6 - resolution: "@tanstack/table-core@npm:8.11.6" - checksum: f3a286f2f6bc4831d076cc4a59036b92309e2e9286256704bfb69c06c22a28172417e403422c31a9199f0a82a799d6252f60e5c211994afb84e73be95af96d87 +"@tanstack/table-core@npm:8.13.2": + version: 8.13.2 + resolution: "@tanstack/table-core@npm:8.13.2" + checksum: 7381147fd9d50905cb581e1498f2924a3b46646872248b25cb4f287419b0819919211da983873921497efb82e4ca40b20db86dac332027a371df4d84cddc9532 languageName: node linkType: hard @@ -4697,7 +5905,7 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^9.0.0, @testing-library/dom@npm:^9.3.3": +"@testing-library/dom@npm:^9.0.0, @testing-library/dom@npm:^9.3.3, @testing-library/dom@npm:^9.3.4": version: 9.3.4 resolution: "@testing-library/dom@npm:9.3.4" dependencies: @@ -4713,9 +5921,42 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:^6.1.5": - version: 6.2.0 - resolution: "@testing-library/jest-dom@npm:6.2.0" +"@testing-library/jest-dom@npm:^6.1.5": + version: 6.4.2 + resolution: "@testing-library/jest-dom@npm:6.4.2" + dependencies: + "@adobe/css-tools": "npm:^4.3.2" + "@babel/runtime": "npm:^7.9.2" + aria-query: "npm:^5.0.0" + chalk: "npm:^3.0.0" + css.escape: "npm:^1.5.1" + dom-accessibility-api: "npm:^0.6.3" + lodash: "npm:^4.17.15" + redent: "npm:^3.0.0" + peerDependencies: + "@jest/globals": ">= 28" + "@types/bun": "*" + "@types/jest": ">= 28" + jest: ">= 28" + vitest: ">= 0.32" + peerDependenciesMeta: + "@jest/globals": + optional: true + "@types/bun": + optional: true + "@types/jest": + optional: true + jest: + optional: true + vitest: + optional: true + checksum: 7ee1e51caffad032734a4a43a00bf72d49080cf1bbf53021b443e91c7fa3762a66f55ce68f1c6643590fe66fbc4df92142659b8cf17c92166a3fb22691987e0d + languageName: node + linkType: hard + +"@testing-library/jest-dom@npm:^6.4.2": + version: 6.4.5 + resolution: "@testing-library/jest-dom@npm:6.4.5" dependencies: "@adobe/css-tools": "npm:^4.3.2" "@babel/runtime": "npm:^7.9.2" @@ -4723,29 +5964,32 @@ __metadata: chalk: "npm:^3.0.0" css.escape: "npm:^1.5.1" dom-accessibility-api: "npm:^0.6.3" - lodash: "npm:^4.17.15" + lodash: "npm:^4.17.21" redent: "npm:^3.0.0" peerDependencies: "@jest/globals": ">= 28" + "@types/bun": "*" "@types/jest": ">= 28" jest: ">= 28" vitest: ">= 0.32" peerDependenciesMeta: "@jest/globals": optional: true + "@types/bun": + optional: true "@types/jest": optional: true jest: optional: true vitest: optional: true - checksum: 4af88d4b6208eda58fad47a520057893a381b972e7b043d7787c0111c887bdc82ed959bed07c21700f2816d4a1e315a519a0aabce120708ad7ba79577374f0fd + checksum: 6d9e6cc01ec9111ea631657d93596fa9505d294fdfc4172fbd750b8df6268f02d55900626423b195dac5b067a302557453894a5814bdf4e770dee37cdb1c0f2d languageName: node linkType: hard "@testing-library/react@npm:^14.1.2": - version: 14.1.2 - resolution: "@testing-library/react@npm:14.1.2" + version: 14.2.1 + resolution: "@testing-library/react@npm:14.2.1" dependencies: "@babel/runtime": "npm:^7.12.5" "@testing-library/dom": "npm:^9.0.0" @@ -4753,11 +5997,11 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 1664990ad9673403ee1d74c1c1b60ec30591d42a3fe1e2175c28cb935cd49bc9a4ba398707f702acc3278c3b0cb492ee57fe66f41ceb040c5da57de98cba5414 + checksum: e02b2f32ae79665a79fc4d8ee053fd3832bfcd4753aa1dba05cdece1a9f59c72a0fae91e0a9387597dcb686d631a722729f2878e38dc95e6f23b291ad8d09b6c languageName: node linkType: hard -"@testing-library/user-event@npm:^14.5.1": +"@testing-library/user-event@npm:^14.5.1, @testing-library/user-event@npm:^14.5.2": version: 14.5.2 resolution: "@testing-library/user-event@npm:14.5.2" peerDependencies: @@ -4767,287 +6011,280 @@ __metadata: linkType: hard "@tiptap/core@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/core@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/core@npm:2.2.2" peerDependencies: "@tiptap/pm": ^2.0.0 - checksum: 8f2d51eee05e21e2cb35d62a3e314097b9bf04c1ea46b5bc517dbb0832f90ad94ff71bfd95f336a2ee4923f2b8ce872e2ffe770e6f3ea43d066ce98a5b94c650 + checksum: db1e0a26f07d7a2a839315464a00301ef1204aad40834e283dc4abe3e9fb64e9e45020b7b8bcbe2d4b0bf934346ec1b815afd126a9036ebaa4f5ff513df10e53 languageName: node linkType: hard "@tiptap/extension-bold@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-bold@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-bold@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 41fb89d1f70f7bc912dc80d95485abb95f8440f94fea2c54d476c8762d06f1788b1aa8ba16fb8b801174fa6a0811bc99b3837ad0446de7d497b7ae6869270d0c + checksum: 4d14e12f1099341d80a554952f268614a9224c5ab8261d96bf61114d2957493032ac238eca3643677f712358871a78d39232b56aa052187d4618abce6786c97d languageName: node linkType: hard -"@tiptap/extension-bubble-menu@npm:^2.1.16": - version: 2.1.16 - resolution: "@tiptap/extension-bubble-menu@npm:2.1.16" +"@tiptap/extension-bubble-menu@npm:^2.2.2": + version: 2.2.2 + resolution: "@tiptap/extension-bubble-menu@npm:2.2.2" dependencies: tippy.js: "npm:^6.3.7" peerDependencies: "@tiptap/core": ^2.0.0 "@tiptap/pm": ^2.0.0 - checksum: 8f0486b091404290eec1a1ca8996682f0e697d763054387d6aef7b93eef7914448748aa731ac8d9c3690b2bd002ac8ee5025c39de47b874d595190b1eb537d1a + checksum: eaed5f13c9079ddfc64468ab1899c2b59fd1ed80ae07ff7f3fc03d26707124dd34d18f572e831bec5c38b3ab9f4f4eaa30d44b4fc624b48ae42a5cebc6affb7a languageName: node linkType: hard "@tiptap/extension-bullet-list@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-bullet-list@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-bullet-list@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 82aad0cae7b93e12d4ea42805561352749e6ab813531c34d6edf5cc9f4b164e7f15c447c221090e455981261989a96e240e5dd4f856f07e7d4ec9bae0d7d43c8 + checksum: 2d4b1c2cf09fb7ece423fdc963404452859350f378122eb5d1aa283de7819d598eac6e2279a6863a38b04007d6a40aa19370617df773ac8294a15c2980bda187 languageName: node linkType: hard "@tiptap/extension-document@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-document@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-document@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 6181ecf5d4a2be7fcfd4380f2ad6e532405daced5bfbc54c023bb2e906bb28060e80c4446021b58501aefbc00d0309f6d35eed06b1656a48f271c9eb2164d993 + checksum: 249f4b95e52cd9fbd9b20d7393254a8acbb047d90b93a6f1a8b4c0812b2b0a70d5541b58124aa94b072d9d64fc8caa419c9f06436d00605008cc0cde063ebd64 languageName: node linkType: hard -"@tiptap/extension-floating-menu@npm:^2.1.16": - version: 2.1.16 - resolution: "@tiptap/extension-floating-menu@npm:2.1.16" +"@tiptap/extension-floating-menu@npm:^2.2.2": + version: 2.2.2 + resolution: "@tiptap/extension-floating-menu@npm:2.2.2" dependencies: tippy.js: "npm:^6.3.7" peerDependencies: "@tiptap/core": ^2.0.0 "@tiptap/pm": ^2.0.0 - checksum: c49c30eac7eb86e9456e4a4871b009aec1aa81b816ea0d8b84eefe9215885bbfd01e62cb3a291debf24c96aafa599f90f70168fe36cca235009f9b9b691da681 + checksum: 8c73b42b0933caeada53c64dd6132b14ae57ecfcf0874815cdce09e9a6cc9323a1d3bcc51f03237629dc0c910d3e0e3e94a145d36a10c61ede98f1cecb0f6f64 languageName: node linkType: hard "@tiptap/extension-hard-break@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-hard-break@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-hard-break@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: bc997dd345fc0032b9cf876587cc4ae884fe3899b1472738ca204126f69d386e39dd3c96e3d057f7bc6fd290940c6e7bf5764981b244b59d06d0a5d978c89417 + checksum: f659a0a1d39b0c637deedd8dc0f004ed62f9e116497849e3f2c6294e30ec60ee1f145912dcbf5d591aeb2bbf1512c7f9b6502b2868a5a1afc7a1142ef9bc59c7 languageName: node linkType: hard "@tiptap/extension-heading@npm:^2.1.12": - version: 2.1.16 - resolution: "@tiptap/extension-heading@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-heading@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: d58086ca165c56c2bb296ca67112d99714b38db5eec7c9faf15dab85ac090a2d2478b5ed7b7ae46b6f6ba31f9538525358178061effd35140cabedd66557b2ed + checksum: 05e0c1cd917a0d7c5f64fcf80d174a05f8e8ccb7bc53cf78f0df4135ad661aef64e9a9d9c0becd80e0bcb173c095da256e7ee7813757444d687f52182b563032 languageName: node linkType: hard "@tiptap/extension-history@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-history@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-history@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 "@tiptap/pm": ^2.0.0 - checksum: 941d6e0052edc12abea1b30c702891915a9aea2232bc6afe25dca383f35def6b6300c04541e76ee19392058df3daf8966517b6a600135217904596ce9f53959c + checksum: 716036566c5d8acd70eb4799f70fc12b76162484b8028b9d8004511301eb94107e62d6d5c221e45b6737aef3ac3009f794aeb7ebbfdfab8e835c585b87c178d1 languageName: node linkType: hard "@tiptap/extension-image@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-image@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-image@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: cc84527fb7506a71614bce905b783d378569168e60556993ce0e9387cd354964680b78f0cada0a00e1053b905ae8111630c0349343a27e30ecb93cee82b7bcbb + checksum: 4445e7227d8f4613547bb865007ef32665f7562851d7dedb6740db582638be2f63faa52fccfee54d56a62d44656be49de3504464a0371fb0afc9d2bd0320afb4 languageName: node linkType: hard "@tiptap/extension-italic@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-italic@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-italic@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 4092a712274bb3d22b94432ca74ce772b95c2d835e295c9cc700fe370aad838a391c4a95bacad8c4f73c1679847d4ab95924ed0812d164238a756aaf7558109b + checksum: 4ed975750c976134684c28faca2730771cdd0161179af8685a19333cb27d083bb30c7dcbbe9bb5183a51dab5305240ee43f12000d8618bda6e9699d42e1a63df languageName: node linkType: hard "@tiptap/extension-link@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-link@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-link@npm:2.2.2" dependencies: linkifyjs: "npm:^4.1.0" peerDependencies: "@tiptap/core": ^2.0.0 "@tiptap/pm": ^2.0.0 - checksum: a211a85dec1b8c3af8e27ea068bb82e74599a8a00090a1c71303a84249e46ff7a6d9f7a0866435bbec14237aa8b500b716a2bf3d1551952934fc7795c7c42605 + checksum: 063f8313dde3fda2c05e45de0523b09d1a8b81b808bd5668898b2f467b63968e4e9803527da8262f832e70539bbec89b3a9d2569cd01dd3efa5ac10ff75c55a0 languageName: node linkType: hard "@tiptap/extension-list-item@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-list-item@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-list-item@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: b640c6d4378994f5fcfef3a29f024c3d164c39a3608b63a216bafdc6252bb765fc83c519a130ba2be91094d3b085280d7e7f5ba16e93089069c55d333b96d7aa + checksum: 5cc4471b4ba1f3159b1315aee70e019e3c232233fb95bcf1afe825b66b65217b587dba88c57599c6155604b2fb3542efb139e01ec567d8326c291d0577fb6794 languageName: node linkType: hard "@tiptap/extension-ordered-list@npm:^2.1.12": - version: 2.1.16 - resolution: "@tiptap/extension-ordered-list@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-ordered-list@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: e3ea59555f00d050256cdc6eb86eae68775f751f10fccb9fc5398a9243d42945344852669b8100d2713c35938daf83a6ce1e7d20c475d00557fe09e7d77419cc + checksum: ec831c59f7aa46b275fff5041733cfb9e39ee01151657b875a03d16f66722c36f8d842a4dde314b24a5124d2f63d5cf43b2502adda7bbeb7d3eb70f28abfbe8f languageName: node linkType: hard "@tiptap/extension-paragraph@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-paragraph@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-paragraph@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: ad510e479f9377f25eb7735b770ac556d9b2c6fca27acaf98f158a0efc27bec668b4b874d31370243f573d6dc8bfbc6792e00976cebc958bc6922be974959522 + checksum: 3061f5fcebece46aec029fea9e6e57199acd45b63c87464e519797d18b94f2eb3289aee03935259bc09caad5c3b87384998bddc9b4ad94e171189df40ef25534 languageName: node linkType: hard "@tiptap/extension-placeholder@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-placeholder@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-placeholder@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 "@tiptap/pm": ^2.0.0 - checksum: d98f159d92efc93aafc9ed33d5d682247785a075948fdcca306ef103912bbb53c79ee17a6531451e2dd19ebbd18ad95818a44856145d5ce681652e2a5537c70e + checksum: 20b1b59af87880b4d900757a1df81b9789b56d1b97087e0a2f03da72cdf0320d1e2e899fe6321fb6b4c6cd878c61fe8e486929b44a5448304735cc06019f65aa languageName: node linkType: hard "@tiptap/extension-subscript@npm:^2.1.12": - version: 2.1.16 - resolution: "@tiptap/extension-subscript@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-subscript@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 2eeea5639d58448a707ed257ed243d73f85bfd54bf450e13d1028938b9242269bbc3b69725f1e954c1e2062d44a811fd39e2a7ad9b61d711744e9eda79890323 + checksum: f3a2fe6909867887c31792f768a56735c7f6e4605ecc5a74bea28e836db574e9267944a9c43e5bb5df4caf5456c6ce749247db4ddf438ea11dbcbcae455216fa languageName: node linkType: hard "@tiptap/extension-superscript@npm:^2.1.12": - version: 2.1.16 - resolution: "@tiptap/extension-superscript@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-superscript@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 8084c4d7a8413463e19e2729b4ff5554bf81ecb8d70658948296d3531cb9f0986906a1db0b59b224873b9a47fe9e714fac06d0b25c339d4523d5bfdb78c93094 + checksum: 09361338767113260c34c13955a3d4080a11ca59626c0057e4ae24f34e2a0906a24b1fa51f17d4ff035e904cccd8ec3084ddfa937a386f588b0fd1d9dc3df92b languageName: node linkType: hard "@tiptap/extension-table-cell@npm:^2.1.12": - version: 2.1.16 - resolution: "@tiptap/extension-table-cell@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-table-cell@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: d39b5bfa6decd4d07bb1bae39d56cc3dbe7d6716589d070927e326045a9dd56ec35ae6224901961e57dc2b82d9646965ff83ff29a7825aa5bd321e1f16df9ecd + checksum: 23181ce0e7bce0d354eb62db3b474d3c4f61810a781aed28b6b07058388533e6a18cec41c4a11ac30d5185c7abdb6f137375e0708c99ab621f7406b74bae08a8 languageName: node linkType: hard "@tiptap/extension-table-header@npm:^2.1.12": - version: 2.1.16 - resolution: "@tiptap/extension-table-header@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-table-header@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 7ce735d363c5d62c16cc1264fe1b79152b9537c4ab07ddae243b83c9351d8ad06dee0874d771c8815c1b985467c0dcbb387fecefe7fe6abdf9f020c73ef9ee07 + checksum: b91fe3f1ed093fbd70c45c960f9dddd0e128fc1e3e37e134e74631ca30a68dd5012cae7bc17c3129a70cf2059edcfece82fa6fd93eeeb32ae254d3b0e53cb0c1 languageName: node linkType: hard "@tiptap/extension-table-row@npm:^2.1.12": - version: 2.1.16 - resolution: "@tiptap/extension-table-row@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-table-row@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 0645e9cd1aea0a048529e2c306ba8983a8591c78ae5f26d7638033bfd01082ac3bf7e338fab2a1749f7a511f8d273283b8db4bcc300910656e693d4f57393eb0 + checksum: 58196af47aaaf93d1f49ea5d9ca402465831fdf68c4827770189f2dba4e35aed5eb09cca75344ed92fd1217c6edb62d3c630e5a40921e7e6bf78ccd97fabe847 languageName: node linkType: hard "@tiptap/extension-table@npm:^2.1.12": - version: 2.1.16 - resolution: "@tiptap/extension-table@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-table@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 "@tiptap/pm": ^2.0.0 - checksum: 5a770d39d128b392aa897ffa8b312f1621e3fdf15892e15f69ef7a634bf64d45096a8e9702de4feea56545f1fcbbc756583b782dbdcad03d06c20de99ea1561a + checksum: 0ebf676ccc65ac085b901c814fa61065b6e3a8b14eb1a1a16305d6a5b7b5b8e7853cf21f229b25b360c57f706683f182703eac4c3ff70cf5d93b5b6665afe60d languageName: node linkType: hard "@tiptap/extension-text-style@npm:^2.1.10": - version: 2.1.16 - resolution: "@tiptap/extension-text-style@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-text-style@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: e900b82aa59084f15149eca6e42493f54d17207e1101f751609e862e887f799c99c9967731604d54d3358e41af46c00cf623bb9b281b5b879fc75b2201b524f0 + checksum: 8a0049b339a53439c11c8f565386b77b363c055d4531cb05d13f7cc37833ee3b38714bf4e8bda73031432c7d5df9d6b5f73594ce7a7fb041a8942a4f2f8a4725 languageName: node linkType: hard "@tiptap/extension-text@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-text@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-text@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 2ffc6cfd851106e31af8ae65cf4dff4cad75f39e2a773c792348e21f6e128569b8b2a44a557875df60a0cfb17623321943c5c82b7e7a28542004506a92cead71 + checksum: 2827800bbca558131ee34286b705e07f9f509079848d4c71e80988e4d6c68cf633bc5a780de6b3bc5be7c7d7b6a9d9c11145f1335a3b6a9c10bcbbef936a4971 languageName: node linkType: hard "@tiptap/extension-underline@npm:^2.1.7": - version: 2.1.16 - resolution: "@tiptap/extension-underline@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/extension-underline@npm:2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 - checksum: 5af41d379a1f6d02f3e1d653c4923732f55325897dcb814688c0340da636a6a8d82852cab940436f79d4db26ad1d85322b171622d4bbb3440dc0f37bfba5df45 + checksum: e833f083bf6d0718f28c12aeb1d2e26c3eddcf1c466daa2f7e3e800a7d11de6700705f9043abf9af7f0489453d4e2af96142f743295e8c99d5027e5290ba2c2f languageName: node linkType: hard "@tiptap/pm@npm:^2.0.3": - version: 2.1.16 - resolution: "@tiptap/pm@npm:2.1.16" - dependencies: - prosemirror-changeset: "npm:^2.2.0" - prosemirror-collab: "npm:^1.3.0" - prosemirror-commands: "npm:^1.3.1" - prosemirror-dropcursor: "npm:^1.5.0" - prosemirror-gapcursor: "npm:^1.3.1" - prosemirror-history: "npm:^1.3.0" - prosemirror-inputrules: "npm:^1.2.0" - prosemirror-keymap: "npm:^1.2.0" - prosemirror-markdown: "npm:^1.10.1" - prosemirror-menu: "npm:^1.2.1" - prosemirror-model: "npm:^1.18.1" - prosemirror-schema-basic: "npm:^1.2.0" - prosemirror-schema-list: "npm:^1.2.2" - prosemirror-state: "npm:^1.4.1" - prosemirror-tables: "npm:^1.3.0" - prosemirror-trailing-node: "npm:^2.0.2" - prosemirror-transform: "npm:^1.7.0" - prosemirror-view: "npm:^1.28.2" - checksum: 9099e9be79cd9eedbfff2aa7115de2e62f1ce099706c30396d0eac53e955afc077c4b752f71b8f20f9d2cd23fdd279bff6a15446932378648d2307693b7ade10 + version: 2.2.2 + resolution: "@tiptap/pm@npm:2.2.2" + dependencies: + prosemirror-changeset: "npm:^2.2.1" + prosemirror-collab: "npm:^1.3.1" + prosemirror-commands: "npm:^1.5.2" + prosemirror-dropcursor: "npm:^1.8.1" + prosemirror-gapcursor: "npm:^1.3.2" + prosemirror-history: "npm:^1.3.2" + prosemirror-inputrules: "npm:^1.3.0" + prosemirror-keymap: "npm:^1.2.2" + prosemirror-markdown: "npm:^1.12.0" + prosemirror-menu: "npm:^1.2.4" + prosemirror-model: "npm:^1.19.4" + prosemirror-schema-basic: "npm:^1.2.2" + prosemirror-schema-list: "npm:^1.3.0" + prosemirror-state: "npm:^1.4.3" + prosemirror-tables: "npm:^1.3.5" + prosemirror-trailing-node: "npm:^2.0.7" + prosemirror-transform: "npm:^1.8.0" + prosemirror-view: "npm:^1.32.7" + checksum: bc234b5d66d5b0f7f33f36af72effdc8cae895e2817446c95ed2307bcf6a46e180cc510bcb13a0ca8913d8c5bb186293d6dc669133e71dad5d26f5638e3ba7af languageName: node linkType: hard "@tiptap/react@npm:^2.0.3": - version: 2.1.16 - resolution: "@tiptap/react@npm:2.1.16" + version: 2.2.2 + resolution: "@tiptap/react@npm:2.2.2" dependencies: - "@tiptap/extension-bubble-menu": "npm:^2.1.16" - "@tiptap/extension-floating-menu": "npm:^2.1.16" + "@tiptap/extension-bubble-menu": "npm:^2.2.2" + "@tiptap/extension-floating-menu": "npm:^2.2.2" peerDependencies: "@tiptap/core": ^2.0.0 "@tiptap/pm": ^2.0.0 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 - checksum: 921dec6683c458aed85893bdee3100254b02a4fe4b403a7d42e09985884121d45d8b14644924bab9caf24c767da1bd13c1680cfac91660e14890c5f275981fcd - languageName: node - linkType: hard - -"@tootallnate/once@npm:1": - version: 1.1.2 - resolution: "@tootallnate/once@npm:1.1.2" - checksum: e1fb1bbbc12089a0cb9433dc290f97bddd062deadb6178ce9bcb93bb7c1aecde5e60184bc7065aec42fe1663622a213493c48bbd4972d931aae48315f18e1be9 + checksum: 6a4de68fc8b79bd77630a11952a1aadb716dd1af6a5b7dbe36c0673eb37c61c7dc2638b2529e0705bdc3ee972410fe6f697527478a8a1684ca3e387c78a0cd69 languageName: node linkType: hard @@ -5113,19 +6350,22 @@ __metadata: languageName: node linkType: hard -"@types/chai-subset@npm:^1.3.3": - version: 1.3.5 - resolution: "@types/chai-subset@npm:1.3.5" +"@types/body-parser@npm:*": + version: 1.19.5 + resolution: "@types/body-parser@npm:1.19.5" dependencies: - "@types/chai": "npm:*" - checksum: 715c46d3e90f87482c2769389d560456bb257b225716ff44c275c231bdb62c8a30629f355f412bac0ecab07ebc036c1806d9ed9dde9792254f8ef4f07f76033b + "@types/connect": "npm:*" + "@types/node": "npm:*" + checksum: 1e251118c4b2f61029cc43b0dc028495f2d1957fe8ee49a707fb940f86a9bd2f9754230805598278fe99958b49e9b7e66eec8ef6a50ab5c1f6b93e1ba2aaba82 languageName: node linkType: hard -"@types/chai@npm:*, @types/chai@npm:^4.3.5": - version: 4.3.11 - resolution: "@types/chai@npm:4.3.11" - checksum: c83a00359684bf06114d5ad0ffa62c78b2fbfe09a985eda56e55cd3c191fe176052aef6e297a8c8a3608efb8ea7a44598cf7e0ae1a3a9311af892417e95b0b28 +"@types/connect@npm:*": + version: 3.4.38 + resolution: "@types/connect@npm:3.4.38" + dependencies: + "@types/node": "npm:*" + checksum: 7eb1bc5342a9604facd57598a6c62621e244822442976c443efb84ff745246b10d06e8b309b6e80130026a396f19bf6793b7cecd7380169f369dac3bfc46fb99 languageName: node linkType: hard @@ -5271,9 +6511,9 @@ __metadata: linkType: hard "@types/d3-path@npm:*": - version: 3.0.2 - resolution: "@types/d3-path@npm:3.0.2" - checksum: fc974ffd75ff9268ea689cec764fffdd582d96f6f113db5bd2aba6d5d4a843eccc7919730fbca9134bd97ba6c91c13018a0c7c3f0813b73259f3603d140e0cb5 + version: 3.1.0 + resolution: "@types/d3-path@npm:3.1.0" + checksum: 7348d65c9b37c7023590d4e5ef11e37f9eee62df9fa23e0758da1fbd66a1cbff40e37cbe0b85e9388ab900451e9c18a5a973469e9fd725c8c85c4a3f84647b9d languageName: node linkType: hard @@ -5440,10 +6680,34 @@ __metadata: languageName: node linkType: hard +"@types/express-serve-static-core@npm:^4.17.33": + version: 4.19.0 + resolution: "@types/express-serve-static-core@npm:4.19.0" + dependencies: + "@types/node": "npm:*" + "@types/qs": "npm:*" + "@types/range-parser": "npm:*" + "@types/send": "npm:*" + checksum: 3e803822f90106158e2c7598d0a44e078e22fad67806eadb1e9f00261fa2be7ea65725d9d177157225d2b0ab22793a84039a433c2d97910586ae6f79e9d04c2f + languageName: node + linkType: hard + +"@types/express@npm:^4.7.0": + version: 4.17.21 + resolution: "@types/express@npm:4.17.21" + dependencies: + "@types/body-parser": "npm:*" + "@types/express-serve-static-core": "npm:^4.17.33" + "@types/qs": "npm:*" + "@types/serve-static": "npm:*" + checksum: 7a6d26cf6f43d3151caf4fec66ea11c9d23166e4f3102edfe45a94170654a54ea08cf3103d26b3928d7ebcc24162c90488e33986b7e3a5f8941225edd5eb18c7 + languageName: node + linkType: hard + "@types/geojson@npm:*": - version: 7946.0.13 - resolution: "@types/geojson@npm:7946.0.13" - checksum: b3b68457c89bc3f0445dc9eb54d07e6f89658672867c54989bc7f71f87d54e562195b291d43e1b84476493351271d7ccb9f5c6ab2012b29fbafbb0e8e43c4bca + version: 7946.0.14 + resolution: "@types/geojson@npm:7946.0.14" + checksum: ae511bee6488ae3bd5a3a3347aedb0371e997b14225b8983679284e22fa4ebd88627c6e3ff8b08bf4cc35068cb29310c89427311ffc9322c255615821a922e71 languageName: node linkType: hard @@ -5464,6 +6728,13 @@ __metadata: languageName: node linkType: hard +"@types/http-errors@npm:*": + version: 2.0.4 + resolution: "@types/http-errors@npm:2.0.4" + checksum: 1f3d7c3b32c7524811a45690881736b3ef741bf9849ae03d32ad1ab7062608454b150a4e7f1351f83d26a418b2d65af9bdc06198f1c079d75578282884c4e8e3 + languageName: node + linkType: hard + "@types/istanbul-lib-coverage@npm:^2.0.1": version: 2.0.6 resolution: "@types/istanbul-lib-coverage@npm:2.0.6" @@ -5471,13 +6742,6 @@ __metadata: languageName: node linkType: hard -"@types/js-levenshtein@npm:^1.1.3": - version: 1.1.3 - resolution: "@types/js-levenshtein@npm:1.1.3" - checksum: eb338696da976925ea8448a42d775d7615a14323dceeb08909f187d0b3d3b4c1f67a1c36ef586b1c2318b70ab141bba8fc58311ba1c816711704605aec09db8b - languageName: node - linkType: hard - "@types/json-schema@npm:^7.0.11, @types/json-schema@npm:^7.0.4, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" @@ -5544,26 +6808,28 @@ __metadata: languageName: node linkType: hard -"@types/minimist@npm:^1.2.0": - version: 1.2.5 - resolution: "@types/minimist@npm:1.2.5" - checksum: 477047b606005058ab0263c4f58097136268007f320003c348794f74adedc3166ffc47c80ec3e94687787f2ab7f4e72c468223946e79892cf0fd9e25e9970a90 +"@types/mime@npm:^1": + version: 1.3.5 + resolution: "@types/mime@npm:1.3.5" + checksum: e29a5f9c4776f5229d84e525b7cd7dd960b51c30a0fb9a028c0821790b82fca9f672dab56561e2acd9e8eed51d431bde52eafdfef30f643586c4162f1aecfc78 languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^20.10.5": - version: 20.11.5 - resolution: "@types/node@npm:20.11.5" +"@types/mute-stream@npm:^0.0.4": + version: 0.0.4 + resolution: "@types/mute-stream@npm:0.0.4" dependencies: - undici-types: "npm:~5.26.4" - checksum: 9f31c471047d7b3e240ce7b77ff29b0d15e83be7e3feafb3d0b0d0931122b438b1eefa302a5a2e1e9849914ff3fd76aafbd8ccb372efb1331ba048da63bce6f8 + "@types/node": "npm:*" + checksum: af8d83ad7b68ea05d9357985daf81b6c9b73af4feacb2f5c2693c7fd3e13e5135ef1bd083ce8d5bdc8e97acd28563b61bb32dec4e4508a8067fcd31b8a098632 languageName: node linkType: hard -"@types/normalize-package-data@npm:^2.4.0": - version: 2.4.4 - resolution: "@types/normalize-package-data@npm:2.4.4" - checksum: 65dff72b543997b7be8b0265eca7ace0e34b75c3e5fee31de11179d08fa7124a7a5587265d53d0409532ecb7f7fba662c2012807963e1f9b059653ec2c83ee05 +"@types/node@npm:*, @types/node@npm:^20.11.16": + version: 20.11.17 + resolution: "@types/node@npm:20.11.17" + dependencies: + undici-types: "npm:~5.26.4" + checksum: 3342df87258d1c56154bcd4b85180f48675427b235971e6e6e2e037353f5a2ae9aaa05ba5df0fe1e2d2f1022c8d856fd39056b9d7f50ea30c0ca3214137cae1d languageName: node linkType: hard @@ -5613,7 +6879,21 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.2.7": +"@types/qs@npm:*, @types/qs@npm:^6.9.5": + version: 6.9.15 + resolution: "@types/qs@npm:6.9.15" + checksum: 97d8208c2b82013b618e7a9fc14df6bd40a73e1385ac479b6896bafc7949a46201c15f42afd06e86a05e914f146f495f606b6fb65610cc60cf2e0ff743ec38a2 + languageName: node + linkType: hard + +"@types/range-parser@npm:*": + version: 1.2.7 + resolution: "@types/range-parser@npm:1.2.7" + checksum: 95640233b689dfbd85b8c6ee268812a732cf36d5affead89e806fe30da9a430767af8ef2cd661024fd97e19d61f3dec75af2df5e80ec3bea000019ab7028629a + languageName: node + linkType: hard + +"@types/react-dom@npm:^18.0.0": version: 18.2.18 resolution: "@types/react-dom@npm:18.2.18" dependencies: @@ -5622,6 +6902,15 @@ __metadata: languageName: node linkType: hard +"@types/react-dom@npm:^18.3.0": + version: 18.3.0 + resolution: "@types/react-dom@npm:18.3.0" + dependencies: + "@types/react": "npm:*" + checksum: 6ff53f5a7b7fba952a68e114d3b542ebdc1e87a794234785ebab0bcd9bde7fb4885f21ebaf93d26dc0a1b5b93287f42cad68b78ae04dddf6b20da7aceff0beaf + languageName: node + linkType: hard + "@types/react-leaflet@npm:^3.0.0": version: 3.0.0 resolution: "@types/react-leaflet@npm:3.0.0" @@ -5631,7 +6920,7 @@ __metadata: languageName: node linkType: hard -"@types/react-router-dom@npm:^5.3.2": +"@types/react-router-dom@npm:^5.3.3": version: 5.3.3 resolution: "@types/react-router-dom@npm:5.3.3" dependencies: @@ -5670,7 +6959,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18.2.15": +"@types/react@npm:*": version: 18.2.48 resolution: "@types/react@npm:18.2.48" dependencies: @@ -5681,6 +6970,16 @@ __metadata: languageName: node linkType: hard +"@types/react@npm:^18.3.3": + version: 18.3.3 + resolution: "@types/react@npm:18.3.3" + dependencies: + "@types/prop-types": "npm:*" + csstype: "npm:^3.0.2" + checksum: 68e203b7f1f91d6cf21f33fc7af9d6d228035a26c83f514981e54aa3da695d0ec6af10c277c6336de1dd76c4adbe9563f3a21f80c4462000f41e5f370b46e96c + languageName: node + linkType: hard + "@types/scheduler@npm:*": version: 0.16.8 resolution: "@types/scheduler@npm:0.16.8" @@ -5689,9 +6988,30 @@ __metadata: linkType: hard "@types/semver@npm:^7.3.12": - version: 7.5.6 - resolution: "@types/semver@npm:7.5.6" - checksum: e77282b17f74354e17e771c0035cccb54b94cc53d0433fa7e9ba9d23fd5d7edcd14b6c8b7327d58bbd89e83b1c5eda71dfe408e06b929007e2b89586e9b63459 + version: 7.5.7 + resolution: "@types/semver@npm:7.5.7" + checksum: 535d88ec577fe59e38211881f79a1e2ba391e9e1516f8fff74e7196a5ba54315bace9c67a4616c334c830c89027d70a9f473a4ceb634526086a9da39180f2f9a + languageName: node + linkType: hard + +"@types/send@npm:*": + version: 0.17.4 + resolution: "@types/send@npm:0.17.4" + dependencies: + "@types/mime": "npm:^1" + "@types/node": "npm:*" + checksum: 28320a2aa1eb704f7d96a65272a07c0bf3ae7ed5509c2c96ea5e33238980f71deeed51d3631927a77d5250e4091b3e66bce53b42d770873282c6a20bb8b0280d + languageName: node + linkType: hard + +"@types/serve-static@npm:*": + version: 1.15.7 + resolution: "@types/serve-static@npm:1.15.7" + dependencies: + "@types/http-errors": "npm:*" + "@types/node": "npm:*" + "@types/send": "npm:*" + checksum: c5a7171d5647f9fbd096ed1a26105759f3153ccf683824d99fee4c7eb9cde2953509621c56a070dd9fb1159e799e86d300cbe4e42245ebc5b0c1767e8ca94a67 languageName: node linkType: hard @@ -5724,9 +7044,16 @@ __metadata: linkType: hard "@types/uuid@npm:^9.0.3": - version: 9.0.7 - resolution: "@types/uuid@npm:9.0.7" - checksum: c7321194aeba9ea173efd1e721403bdf4e7ae6945f8f8cdbc87c791f4b505ccf3dbc4a8883d90b394ef13b7c2dc778045792b05dbb23b3c746f8ea347804d448 + version: 9.0.8 + resolution: "@types/uuid@npm:9.0.8" + checksum: b8c60b7ba8250356b5088302583d1704a4e1a13558d143c549c408bf8920535602ffc12394ede77f8a8083511b023704bc66d1345792714002bfa261b17c5275 + languageName: node + linkType: hard + +"@types/wrap-ansi@npm:^3.0.0": + version: 3.0.0 + resolution: "@types/wrap-ansi@npm:3.0.0" + checksum: 8aa644946ca4e859668c36b8e2bcf2ac4bdee59dac760414730ea57be8a93ae9166ebd40a088f2ab714843aaea2a2a67f0e6e6ec11cfc9c8701b2466ca1c4089 languageName: node linkType: hard @@ -5873,9 +7200,9 @@ __metadata: languageName: node linkType: hard -"@vitest/coverage-v8@npm:^1.0.4": - version: 1.2.0 - resolution: "@vitest/coverage-v8@npm:1.2.0" +"@vitest/coverage-v8@npm:^1.2.2": + version: 1.2.2 + resolution: "@vitest/coverage-v8@npm:1.2.2" dependencies: "@ampproject/remapping": "npm:^2.2.1" "@bcoe/v8-coverage": "npm:^0.2.3" @@ -5885,121 +7212,121 @@ __metadata: istanbul-lib-source-maps: "npm:^4.0.1" istanbul-reports: "npm:^3.1.6" magic-string: "npm:^0.30.5" - magicast: "npm:^0.3.2" + magicast: "npm:^0.3.3" picocolors: "npm:^1.0.0" std-env: "npm:^3.5.0" test-exclude: "npm:^6.0.0" v8-to-istanbul: "npm:^9.2.0" peerDependencies: vitest: ^1.0.0 - checksum: abac8eb1e7dc25210ae9d6347b9330260ffbd6d79ca78b9ffebcefc3cf4eda4cc214011cc148124e05f248761563a393cc15ae54ed33bee79c421d12b7abdf86 + checksum: 006468751dc3bebdbb833691a4713dd3fa0eda94a797f2c86eaf0b6ca7fa3e4d2574af37f9fe319ba9cba736b5c3ad2a97843ad78bac112db035e94940716e37 languageName: node linkType: hard -"@vitest/expect@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/expect@npm:0.34.6" +"@vitest/expect@npm:1.2.2": + version: 1.2.2 + resolution: "@vitest/expect@npm:1.2.2" dependencies: - "@vitest/spy": "npm:0.34.6" - "@vitest/utils": "npm:0.34.6" + "@vitest/spy": "npm:1.2.2" + "@vitest/utils": "npm:1.2.2" chai: "npm:^4.3.10" - checksum: c5dbd3db4d914857287dcff5dd7084070a2f73ed616197c80acaa54c27e5563cecf7a11e86d6aeef002e38f2ca52626f4b9c765db9b56add736f4e94a7fb0954 + checksum: 409bf9984a2901cd13bd8644d1dcc61a3b85a122e70f842626c83995b806c6fb1ed5a81685493e88df8bf76557e599bdeed5fd5e908d84a4cb0fa4947b90b631 languageName: node linkType: hard -"@vitest/expect@npm:1.2.0": - version: 1.2.0 - resolution: "@vitest/expect@npm:1.2.0" +"@vitest/expect@npm:1.3.1": + version: 1.3.1 + resolution: "@vitest/expect@npm:1.3.1" dependencies: - "@vitest/spy": "npm:1.2.0" - "@vitest/utils": "npm:1.2.0" + "@vitest/spy": "npm:1.3.1" + "@vitest/utils": "npm:1.3.1" chai: "npm:^4.3.10" - checksum: 279aff5e6c62794b3ad00aacf67e0003dfb40f2e4e54a5811145163711ec0ca6da7fbcf96e775184f7170948fca34508c260fbc31169d1d83a0c9a11a0547fbf + checksum: 7c2818b2080ec107cffcc1566195132695c8e87cba883e878c2f36ac4d8107bb0a1f8d3823ccc0da5989e245ea114b8afffe790512aebcde8537ac8c1bcf3454 languageName: node linkType: hard -"@vitest/runner@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/runner@npm:0.34.6" +"@vitest/runner@npm:1.2.2": + version: 1.2.2 + resolution: "@vitest/runner@npm:1.2.2" dependencies: - "@vitest/utils": "npm:0.34.6" - p-limit: "npm:^4.0.0" + "@vitest/utils": "npm:1.2.2" + p-limit: "npm:^5.0.0" pathe: "npm:^1.1.1" - checksum: 3525d8e4f8cd8a8b3f8f43a7b2604cda891fe31cfa1604e179628ced89d21114a55d6bb3bf192c02b4419e760eb15188d490e861cb46ddab2786193f8a999b0e + checksum: e12a758a8c9ce762af470fc5a33e42a416b1e16469b69a077bc021044c460c468ed24fa892e80cba4bfc0448df8484d1bfc43a271db09560347455aa392cc8aa languageName: node linkType: hard -"@vitest/runner@npm:1.2.0": - version: 1.2.0 - resolution: "@vitest/runner@npm:1.2.0" +"@vitest/snapshot@npm:1.2.2": + version: 1.2.2 + resolution: "@vitest/snapshot@npm:1.2.2" dependencies: - "@vitest/utils": "npm:1.2.0" - p-limit: "npm:^5.0.0" + magic-string: "npm:^0.30.5" pathe: "npm:^1.1.1" - checksum: 0d2798c5c768195d63f441566ccab1bf361bf0a2f9f2616d1800788c2f8cc72939b3fe3af1c92170b9489f716526bf70e4a0e8b805b85fdef5d4ab723256a88a + pretty-format: "npm:^29.7.0" + checksum: 73e669efdf8ba7270a2b71b988ca93fc9cbc9f9b4ad4cb7c7f8d44dbedfef3109fc8896867b8e1f22cd95494ce18cbc1026a0f89ef4a2e7e4546cf8e613ed302 languageName: node linkType: hard -"@vitest/snapshot@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/snapshot@npm:0.34.6" +"@vitest/spy@npm:1.2.2": + version: 1.2.2 + resolution: "@vitest/spy@npm:1.2.2" dependencies: - magic-string: "npm:^0.30.1" - pathe: "npm:^1.1.1" - pretty-format: "npm:^29.5.0" - checksum: a9a321a089b22a383253b8cf3092c3af9b35453bb1c0ba0762760644a6ab0f727a4083872c7fd5a7d18c9a4fc4a798c4392872e337858a7c8ccc25ada6bf4d96 + tinyspy: "npm:^2.2.0" + checksum: 8cf453f2b0c519b27d783dafbca8a4df6945b8f4723077e7ae153ef06bcb1422af608d2a09912284c3bd7bd1e66555d82d889497780295c73a14876807755a79 languageName: node linkType: hard -"@vitest/snapshot@npm:1.2.0": - version: 1.2.0 - resolution: "@vitest/snapshot@npm:1.2.0" +"@vitest/spy@npm:1.3.1": + version: 1.3.1 + resolution: "@vitest/spy@npm:1.3.1" dependencies: - magic-string: "npm:^0.30.5" - pathe: "npm:^1.1.1" - pretty-format: "npm:^29.7.0" - checksum: c3115bbd23695803a22d89c10074f0fa5cf325160a7015d470bebf41abe8f902b46de33aaa9e08688e5bd49fb5ceb7c1c7f7942bb3c62582a929db2f677b03d7 + tinyspy: "npm:^2.2.0" + checksum: 544c8a30fdeb32fb7bf2c2b5816519be943f5ef90668c306b14efdde7676771d0e83cf0e0a5c79fad722be3839432226bcf74173110a032299821e00b67f47e6 languageName: node linkType: hard -"@vitest/spy@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/spy@npm:0.34.6" +"@vitest/spy@npm:^1.3.1": + version: 1.6.0 + resolution: "@vitest/spy@npm:1.6.0" dependencies: - tinyspy: "npm:^2.1.1" - checksum: 9de152ac928c31e21bb4d8e1262b70db50dd11479efe8babce6bd993cc89957b974a584414a99d66ca188775b50baea1b934fdfb8d0d53c66fc2feb6dc2e348d + tinyspy: "npm:^2.2.0" + checksum: 1c9698272a58aa47708bb8a1672d655fcec3285b02067cc3f70bfe76f4eda7a756eb379f8c945ccbe61677f5189aeb5ba93c2737a9d7db2de8c4e7bbdffcd372 languageName: node linkType: hard -"@vitest/spy@npm:1.2.0": - version: 1.2.0 - resolution: "@vitest/spy@npm:1.2.0" +"@vitest/utils@npm:1.2.2": + version: 1.2.2 + resolution: "@vitest/utils@npm:1.2.2" dependencies: - tinyspy: "npm:^2.2.0" - checksum: cb277034b709a31b66b87f79285cf757ee818b91bbd0cdcd7368b3af97ac09b56e0d4d8420e0c4f305524b1901a04c9781a32360e704ed5a0807d8b3b5f227c6 + diff-sequences: "npm:^29.6.3" + estree-walker: "npm:^3.0.3" + loupe: "npm:^2.3.7" + pretty-format: "npm:^29.7.0" + checksum: f9a62bc8cbe05475b99e1f8bd96e0ee48cf819ca2e532ba18f071bf0371f044dffa006c33a69b1b276097e6b50f91342a776c830cfac19456b24a9bdad29abe5 languageName: node linkType: hard -"@vitest/utils@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/utils@npm:0.34.6" +"@vitest/utils@npm:1.3.1": + version: 1.3.1 + resolution: "@vitest/utils@npm:1.3.1" dependencies: - diff-sequences: "npm:^29.4.3" - loupe: "npm:^2.3.6" - pretty-format: "npm:^29.5.0" - checksum: 09a1b2122ceb5541b4f3d64410088e363a36d6e4addf208b6458615ac856adf36c1c9b5431a45ea13a78c30e6a7dcb0696854abe69a710089ffa229356a5202b + diff-sequences: "npm:^29.6.3" + estree-walker: "npm:^3.0.3" + loupe: "npm:^2.3.7" + pretty-format: "npm:^29.7.0" + checksum: 170c62e6c348562f611d8caddc893e8cba75ed89986e09aa2f0fe6812c96664e8d0f6e329f7a96a4c9cdecf147f4853e4054c3db597b111ec993d3cdd546eddc languageName: node linkType: hard -"@vitest/utils@npm:1.2.0": - version: 1.2.0 - resolution: "@vitest/utils@npm:1.2.0" +"@vitest/utils@npm:^1.3.1": + version: 1.6.0 + resolution: "@vitest/utils@npm:1.6.0" dependencies: diff-sequences: "npm:^29.6.3" estree-walker: "npm:^3.0.3" loupe: "npm:^2.3.7" pretty-format: "npm:^29.7.0" - checksum: 514397c7d68dc4928561cdb4ebe7b8d2ef5b14cf512c66ee07a0114fa785d1db0870df134a8bdcd8fbdadc371ff6a71d1233db3ebed9c1f048918e8b10bf1d8b + checksum: 5c5d7295ac13fcea1da039232bcc7c3fc6f070070fe12ba2ad152456af6e216e48a3ae169016cfcd5055706a00dc567b8f62e4a9b1914f069f52b8f0a3c25e60 languageName: node linkType: hard @@ -6010,13 +7337,6 @@ __metadata: languageName: node linkType: hard -"abbrev@npm:1": - version: 1.1.1 - resolution: "abbrev@npm:1.1.1" - checksum: 2d882941183c66aa665118bafdab82b7a177e9add5eb2776c33e960a4f3c89cff88a1b38aba13a456de01d0dd9d66a8bea7c903268b21ea91dd1097e1e2e8243 - languageName: node - linkType: hard - "abbrev@npm:^2.0.0": version: 2.0.0 resolution: "abbrev@npm:2.0.0" @@ -6042,7 +7362,7 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.2.0, acorn-walk@npm:^8.3.1": +"acorn-walk@npm:^8.3.2": version: 8.3.2 resolution: "acorn-walk@npm:8.3.2" checksum: 57dbe2fd8cf744f562431775741c5c087196cd7a65ce4ccb3f3981cdfad25cd24ad2bad404997b88464ac01e789a0a61e5e355b2a84876f13deef39fb39686ca @@ -6065,7 +7385,7 @@ __metadata: languageName: node linkType: hard -"agent-base@npm:6, agent-base@npm:^6.0.2": +"agent-base@npm:6": version: 6.0.2 resolution: "agent-base@npm:6.0.2" dependencies: @@ -6083,15 +7403,6 @@ __metadata: languageName: node linkType: hard -"agentkeepalive@npm:^4.1.3, agentkeepalive@npm:^4.2.1": - version: 4.5.0 - resolution: "agentkeepalive@npm:4.5.0" - dependencies: - humanize-ms: "npm:^1.2.1" - checksum: dd210ba2a2e2482028f027b1156789744aadbfd773a6c9dd8e4e8001930d5af82382abe19a69240307b1d8003222ce6b0542935038313434b900e351914fc15f - languageName: node - linkType: hard - "aggregate-error@npm:^3.0.0": version: 3.1.0 resolution: "aggregate-error@npm:3.1.0" @@ -6168,7 +7479,7 @@ __metadata: languageName: node linkType: hard -"ansi-escapes@npm:^4.2.1": +"ansi-escapes@npm:^4.3.2": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" dependencies: @@ -6240,23 +7551,6 @@ __metadata: languageName: node linkType: hard -"aproba@npm:^1.0.3 || ^2.0.0": - version: 2.0.0 - resolution: "aproba@npm:2.0.0" - checksum: c2b9a631298e8d6f3797547e866db642f68493808f5b37cd61da778d5f6ada890d16f668285f7d60bd4fc3b03889bd590ffe62cf81b700e9bb353431238a0a7b - languageName: node - linkType: hard - -"are-we-there-yet@npm:^3.0.0": - version: 3.0.1 - resolution: "are-we-there-yet@npm:3.0.1" - dependencies: - delegates: "npm:^1.0.0" - readable-stream: "npm:^3.6.0" - checksum: 390731720e1bf9ed5d0efc635ea7df8cbc4c90308b0645a932f06e8495a0bf1ecc7987d3b97e805f62a17d6c4b634074b25200aa4d149be2a7b17250b9744bc4 - languageName: node - linkType: hard - "arg@npm:^5.0.2": version: 5.0.2 resolution: "arg@npm:5.0.2" @@ -6307,13 +7601,13 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "array-buffer-byte-length@npm:1.0.0" +"array-buffer-byte-length@npm:^1.0.0, array-buffer-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "array-buffer-byte-length@npm:1.0.1" dependencies: - call-bind: "npm:^1.0.2" - is-array-buffer: "npm:^3.0.1" - checksum: 044e101ce150f4804ad19c51d6c4d4cfa505c5b2577bd179256e4aa3f3f6a0a5e9874c78cd428ee566ac574c8a04d7ce21af9fe52e844abfdccb82b33035a7c3 + call-bind: "npm:^1.0.5" + is-array-buffer: "npm:^3.0.4" + checksum: 53524e08f40867f6a9f35318fafe467c32e45e9c682ba67b11943e167344d2febc0f6977a17e699b05699e805c3e8f073d876f8bbf1b559ed494ad2cd0fae09e languageName: node linkType: hard @@ -6337,16 +7631,29 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.3": - version: 1.2.3 - resolution: "array.prototype.findlastindex@npm:1.2.3" +"array.prototype.filter@npm:^1.0.3": + version: 1.0.3 + resolution: "array.prototype.filter@npm:1.0.3" dependencies: call-bind: "npm:^1.0.2" define-properties: "npm:^1.2.0" es-abstract: "npm:^1.22.1" - es-shim-unscopables: "npm:^1.0.0" - get-intrinsic: "npm:^1.2.1" - checksum: 063cbab8eeac3aa01f3e980eecb9a8c5d87723032b49f7f814ecc6d75c33c03c17e3f43a458127a62e16303cab412f95d6ad9dc7e0ae6d9dc27a9bb76c24df7a + es-array-method-boxes-properly: "npm:^1.0.0" + is-string: "npm:^1.0.7" + checksum: 3da2189afb00f95559cc73fc3c50f17a071a65bb705c0b2f2e2a2b2142781215b622442368c8b4387389b6ab251adf09ad347f9a8a4cf29d24404cc5ea1e295c + languageName: node + linkType: hard + +"array.prototype.findlastindex@npm:^1.2.3": + version: 1.2.4 + resolution: "array.prototype.findlastindex@npm:1.2.4" + dependencies: + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.3.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 12d7de8da619065b9d4c40550d11c13f2fbbc863c4270ef01d022f49ef16fbe9022441ee9d60b1e952853c661dd4b3e05c21e4348d4631c6d93ddf802a252296 languageName: node linkType: hard @@ -6375,37 +7682,31 @@ __metadata: linkType: hard "array.prototype.tosorted@npm:^1.1.1": - version: 1.1.2 - resolution: "array.prototype.tosorted@npm:1.1.2" + version: 1.1.3 + resolution: "array.prototype.tosorted@npm:1.1.3" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - es-shim-unscopables: "npm:^1.0.0" - get-intrinsic: "npm:^1.2.1" - checksum: aadb7725bb923f594be8121c80def8193ff2871ce1bfa1180b7e7ef705b8a7b32327fcc0d998c5569bb0cabc1c11ad93b1ef11443a26091e8bd1a55b382ab715 + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.1.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 9a5b7909a9ddd02a5f5489911766c314a11fb40f8f5106bdbedf6c21898763faeb78ba3af53f7038f288de9161d2605ad10d8b720e07f71a7ed1de49f39c0897 languageName: node linkType: hard "arraybuffer.prototype.slice@npm:^1.0.2": - version: 1.0.2 - resolution: "arraybuffer.prototype.slice@npm:1.0.2" + version: 1.0.3 + resolution: "arraybuffer.prototype.slice@npm:1.0.3" dependencies: - array-buffer-byte-length: "npm:^1.0.0" - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" - is-array-buffer: "npm:^3.0.2" + array-buffer-byte-length: "npm:^1.0.1" + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.2.1" + get-intrinsic: "npm:^1.2.3" + is-array-buffer: "npm:^3.0.4" is-shared-array-buffer: "npm:^1.0.2" - checksum: c200faf437786f5b2c80d4564ff5481c886a16dee642ef02abdc7306c7edd523d1f01d1dd12b769c7eb42ac9bc53874510db19a92a2c035c0f6696172aafa5d3 - languageName: node - linkType: hard - -"arrify@npm:^1.0.1": - version: 1.0.1 - resolution: "arrify@npm:1.0.1" - checksum: 745075dd4a4624ff0225c331dacb99be501a515d39bcb7c84d24660314a6ec28e68131b137e6f7e16318170842ce97538cd298fc4cd6b2cc798e0b957f2747e7 + checksum: 0221f16c1e3ec7b67da870ee0e1f12b825b5f9189835392b59a22990f715827561a4f4cd5330dc7507de272d8df821be6cd4b0cb569babf5ea4be70e365a2f3d languageName: node linkType: hard @@ -6432,13 +7733,6 @@ __metadata: languageName: node linkType: hard -"async-foreach@npm:^0.1.3": - version: 0.1.3 - resolution: "async-foreach@npm:0.1.3" - checksum: 8023859043cfade478d3637adb3083eeb713b0da28752db26a9095bed05632782d3545a04be3a4f2d28583216742689552ba32538c72f4a35bf2211141edebf4 - languageName: node - linkType: hard - "asynciterator.prototype@npm:^1.0.0": version: 1.0.0 resolution: "asynciterator.prototype@npm:1.0.0" @@ -6455,20 +7749,13 @@ __metadata: languageName: node linkType: hard -"attr-accept@npm:^2.2.2": - version: 2.2.2 - resolution: "attr-accept@npm:2.2.2" - checksum: c867ed41ed749988ad2a6fc70eb2498b9c3c2d58aaad2a8d05422a383058f9d29e50c4bca363c5ee7433df738a7920cc95377bbce8678e817fb498299dd82010 - languageName: node - linkType: hard - "autoprefixer@npm:^10.4.4": - version: 10.4.16 - resolution: "autoprefixer@npm:10.4.16" + version: 10.4.17 + resolution: "autoprefixer@npm:10.4.17" dependencies: - browserslist: "npm:^4.21.10" - caniuse-lite: "npm:^1.0.30001538" - fraction.js: "npm:^4.3.6" + browserslist: "npm:^4.22.2" + caniuse-lite: "npm:^1.0.30001578" + fraction.js: "npm:^4.3.7" normalize-range: "npm:^0.1.2" picocolors: "npm:^1.0.0" postcss-value-parser: "npm:^4.2.0" @@ -6476,14 +7763,23 @@ __metadata: postcss: ^8.1.0 bin: autoprefixer: bin/autoprefixer - checksum: 3514a4ae63f1f55006c96eb93acef4a0284d78b640d8f27d3178d40b302576e346619001ca139b4ddc5e7b0c5e66921aa45d8e3752d8d521598119aab8ff4997 + checksum: ac4416e72643bf92c2a346af5a6a437eb39e3b852e5d48e1a0a3204a81cbf8eecc5489a9386cf63a288b7183fae3ad52cf3c24c458d7cbb5463e55e21dc7e6ed languageName: node linkType: hard -"available-typed-arrays@npm:^1.0.5": - version: 1.0.5 - resolution: "available-typed-arrays@npm:1.0.5" - checksum: 4d4d5e86ea0425696f40717882f66a570647b94ac8d273ddc7549a9b61e5da099e149bf431530ccbd776bd74e02039eb8b5edf426e3e2211ee61af16698a9064 +"available-typed-arrays@npm:^1.0.5, available-typed-arrays@npm:^1.0.6": + version: 1.0.6 + resolution: "available-typed-arrays@npm:1.0.6" + checksum: c1e2e3d3a694f21bf60e0a048d8275fa7358131a0b8e6b57714318d618b59522416db67fb9f56973af0ce596f4333ef1336ca12c37a41d5a72ef79885373a7fd + languageName: node + linkType: hard + +"available-typed-arrays@npm:^1.0.7": + version: 1.0.7 + resolution: "available-typed-arrays@npm:1.0.7" + dependencies: + possible-typed-array-names: "npm:^1.0.0" + checksum: 6c9da3a66caddd83c875010a1ca8ef11eac02ba15fb592dc9418b2b5e7b77b645fa7729380a92d9835c2f05f2ca1b6251f39b993e0feb3f1517c74fa1af02cab languageName: node linkType: hard @@ -6494,21 +7790,21 @@ __metadata: languageName: node linkType: hard -"axe-core@npm:~4.8.3": - version: 4.8.3 - resolution: "axe-core@npm:4.8.3" - checksum: 86d72bcdff867b8a4f223b910f90d1c963ddab1db3bdc5290e111453bae4e319ed14d667cd7a6ac97185ffa141261c88ac9a586aa007d007ffc19ed9ae81ee1d +"axe-core@npm:~4.8.4": + version: 4.8.4 + resolution: "axe-core@npm:4.8.4" + checksum: c8b3972b17afac33b9e151556fa500b9218086ca763866942de30e7f51ac50582902ad03ec16381796c95afaacfa8c33efb2d02ab4f09b6c09d6be58b95da978 languageName: node linkType: hard -"axios@npm:^1.6.2": - version: 1.6.5 - resolution: "axios@npm:1.6.5" +"axios@npm:^1.6.7": + version: 1.6.7 + resolution: "axios@npm:1.6.7" dependencies: follow-redirects: "npm:^1.15.4" form-data: "npm:^4.0.0" proxy-from-env: "npm:^1.1.0" - checksum: 465489d9bf8f039b9adbc8103b6299d6a5e26de77b27f0e4173d814d39bca8f4b4659d94e09ee40461aedccd8c2452f1e2b3edace1c9f81220060d2974ff9dc7 + checksum: a1932b089ece759cd261f175d9ebf4d41c8994cf0c0767cda86055c7a19bcfdade8ae3464bf4cec4c8b142f4a657dc664fb77a41855e8376cf38b86d7a86518f languageName: node linkType: hard @@ -6541,39 +7837,39 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-corejs2@npm:^0.4.7": - version: 0.4.7 - resolution: "babel-plugin-polyfill-corejs2@npm:0.4.7" +"babel-plugin-polyfill-corejs2@npm:^0.4.8": + version: 0.4.8 + resolution: "babel-plugin-polyfill-corejs2@npm:0.4.8" dependencies: "@babel/compat-data": "npm:^7.22.6" - "@babel/helper-define-polyfill-provider": "npm:^0.4.4" + "@babel/helper-define-polyfill-provider": "npm:^0.5.0" semver: "npm:^6.3.1" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 3b61cdb275592f61b29d582ee8c738a13d9897c5dd201cddb0610b381f3ae139ebc988ac96f72978fc143c3d50c15d46618df865822e282c8e76c236e7378b63 + checksum: 6b5a79bdc1c43edf857fd3a82966b3c7ff4a90eee00ca8d663e0a98304d6e285a05759d64a4dbc16e04a2a5ea1f248673d8bf789711be5e694e368f19884887c languageName: node linkType: hard -"babel-plugin-polyfill-corejs3@npm:^0.8.7": - version: 0.8.7 - resolution: "babel-plugin-polyfill-corejs3@npm:0.8.7" +"babel-plugin-polyfill-corejs3@npm:^0.9.0": + version: 0.9.0 + resolution: "babel-plugin-polyfill-corejs3@npm:0.9.0" dependencies: - "@babel/helper-define-polyfill-provider": "npm:^0.4.4" - core-js-compat: "npm:^3.33.1" + "@babel/helper-define-polyfill-provider": "npm:^0.5.0" + core-js-compat: "npm:^3.34.0" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: defbc6de3d309c9639dd31223b5011707fcc0384037ac5959a1aefe16eb314562e1c1e5cfbce0af14a220d639ef92dfe5baf66664e9e6054656aca2841677622 + checksum: efdf9ba82e7848a2c66e0522adf10ac1646b16f271a9006b61a22f976b849de22a07c54c8826887114842ccd20cc9a4617b61e8e0789227a74378ab508e715cd languageName: node linkType: hard -"babel-plugin-polyfill-regenerator@npm:^0.5.4": - version: 0.5.4 - resolution: "babel-plugin-polyfill-regenerator@npm:0.5.4" +"babel-plugin-polyfill-regenerator@npm:^0.5.5": + version: 0.5.5 + resolution: "babel-plugin-polyfill-regenerator@npm:0.5.5" dependencies: - "@babel/helper-define-polyfill-provider": "npm:^0.4.4" + "@babel/helper-define-polyfill-provider": "npm:^0.5.0" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 461b735c6c0eca3c7b4434d14bfa98c2ab80f00e2bdc1c69eb46d1d300092a9786d76bbd3ee55e26d2d1a2380c14592d8d638e271dfd2a2b78a9eacffa3645d1 + checksum: 3a9b4828673b23cd648dcfb571eadcd9d3fadfca0361d0a7c6feeb5a30474e92faaa49f067a6e1c05e49b6a09812879992028ff3ef3446229ff132d6e1de7eb6 languageName: node linkType: hard @@ -6584,13 +7880,6 @@ __metadata: languageName: node linkType: hard -"base64-js@npm:^1.3.1": - version: 1.5.1 - resolution: "base64-js@npm:1.5.1" - checksum: 669632eb3745404c2f822a18fc3a0122d2f9a7a13f7fb8b5823ee19d1d2ff9ee5b52c53367176ea4ad093c332fd5ab4bd0ebae5a8e27917a4105a4cfc86b1005 - languageName: node - linkType: hard - "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -6598,17 +7887,6 @@ __metadata: languageName: node linkType: hard -"bl@npm:^4.1.0": - version: 4.1.0 - resolution: "bl@npm:4.1.0" - dependencies: - buffer: "npm:^5.5.0" - inherits: "npm:^2.0.4" - readable-stream: "npm:^3.4.0" - checksum: b7904e66ed0bdfc813c06ea6c3e35eafecb104369dbf5356d0f416af90c1546de3b74e5b63506f0629acf5e16a6f87c3798f16233dcff086e9129383aa02ab55 - languageName: node - linkType: hard - "brace-expansion@npm:^1.1.7": version: 1.1.11 resolution: "brace-expansion@npm:1.1.11" @@ -6637,27 +7915,17 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.21.10, browserslist@npm:^4.22.2": - version: 4.22.2 - resolution: "browserslist@npm:4.22.2" +"browserslist@npm:^4.22.2": + version: 4.22.3 + resolution: "browserslist@npm:4.22.3" dependencies: - caniuse-lite: "npm:^1.0.30001565" - electron-to-chromium: "npm:^1.4.601" + caniuse-lite: "npm:^1.0.30001580" + electron-to-chromium: "npm:^1.4.648" node-releases: "npm:^2.0.14" update-browserslist-db: "npm:^1.0.13" bin: browserslist: cli.js - checksum: e3590793db7f66ad3a50817e7b7f195ce61e029bd7187200244db664bfbe0ac832f784e4f6b9c958aef8ea4abe001ae7880b7522682df521f4bc0a5b67660b5e - languageName: node - linkType: hard - -"buffer@npm:^5.5.0": - version: 5.7.1 - resolution: "buffer@npm:5.7.1" - dependencies: - base64-js: "npm:^1.3.1" - ieee754: "npm:^1.1.13" - checksum: 997434d3c6e3b39e0be479a80288875f71cd1c07d75a3855e6f08ef848a3c966023f79534e22e415ff3a5112708ce06127277ab20e527146d55c84566405c7c6 + checksum: d46a906c79dfe95d9702c020afbe5b7b4dbe2019b85432e7a020326adff27e63e3c0a52dc8d4e73247060bbe2c13f000714741903cf96a16baae9c216dc74c75 languageName: node linkType: hard @@ -6690,58 +7958,6 @@ __metadata: languageName: node linkType: hard -"cacache@npm:^15.2.0": - version: 15.3.0 - resolution: "cacache@npm:15.3.0" - dependencies: - "@npmcli/fs": "npm:^1.0.0" - "@npmcli/move-file": "npm:^1.0.1" - chownr: "npm:^2.0.0" - fs-minipass: "npm:^2.0.0" - glob: "npm:^7.1.4" - infer-owner: "npm:^1.0.4" - lru-cache: "npm:^6.0.0" - minipass: "npm:^3.1.1" - minipass-collect: "npm:^1.0.2" - minipass-flush: "npm:^1.0.5" - minipass-pipeline: "npm:^1.2.2" - mkdirp: "npm:^1.0.3" - p-map: "npm:^4.0.0" - promise-inflight: "npm:^1.0.1" - rimraf: "npm:^3.0.2" - ssri: "npm:^8.0.1" - tar: "npm:^6.0.2" - unique-filename: "npm:^1.1.1" - checksum: 1432d84f3f4b31421cf47c15e6956e5e736a93c65126b0fd69ae5f70643d29be8996f33d4995204f578850de5d556268540911c04ecc1c026375b18600534f08 - languageName: node - linkType: hard - -"cacache@npm:^16.1.0": - version: 16.1.3 - resolution: "cacache@npm:16.1.3" - dependencies: - "@npmcli/fs": "npm:^2.1.0" - "@npmcli/move-file": "npm:^2.0.0" - chownr: "npm:^2.0.0" - fs-minipass: "npm:^2.1.0" - glob: "npm:^8.0.1" - infer-owner: "npm:^1.0.4" - lru-cache: "npm:^7.7.1" - minipass: "npm:^3.1.6" - minipass-collect: "npm:^1.0.2" - minipass-flush: "npm:^1.0.5" - minipass-pipeline: "npm:^1.2.4" - mkdirp: "npm:^1.0.4" - p-map: "npm:^4.0.0" - promise-inflight: "npm:^1.0.1" - rimraf: "npm:^3.0.2" - ssri: "npm:^9.0.0" - tar: "npm:^6.1.11" - unique-filename: "npm:^2.0.0" - checksum: a14524d90e377ee691d63a81173b33c473f8bc66eb299c64290b58e1d41b28842397f8d6c15a01b4c57ca340afcec019ae112a45c2f67a79f76130d326472e92 - languageName: node - linkType: hard - "cacache@npm:^18.0.0": version: 18.0.2 resolution: "cacache@npm:18.0.2" @@ -6762,7 +7978,20 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.4, call-bind@npm:^1.0.5": +"call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.6, call-bind@npm:^1.0.7": + version: 1.0.7 + resolution: "call-bind@npm:1.0.7" + dependencies: + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" + function-bind: "npm:^1.1.2" + get-intrinsic: "npm:^1.2.4" + set-function-length: "npm:^1.2.1" + checksum: cd6fe658e007af80985da5185bff7b55e12ef4c2b6f41829a26ed1eef254b1f1c12e3dfd5b2b068c6ba8b86aba62390842d81752e67dcbaec4f6f76e7113b6b7 + languageName: node + linkType: hard + +"call-bind@npm:^1.0.4": version: 1.0.5 resolution: "call-bind@npm:1.0.5" dependencies: @@ -6794,24 +8023,6 @@ __metadata: languageName: node linkType: hard -"camelcase-keys@npm:^6.2.2": - version: 6.2.2 - resolution: "camelcase-keys@npm:6.2.2" - dependencies: - camelcase: "npm:^5.3.1" - map-obj: "npm:^4.0.0" - quick-lru: "npm:^4.0.1" - checksum: c1999f5b6d03bee7be9a36e48eef3da9e93e51b000677348ec8d15d51fc4418375890fb6c7155e387322d2ebb2a2cdebf9cd96607a6753d1d6c170d9b1e2eed5 - languageName: node - linkType: hard - -"camelcase@npm:^5.3.1": - version: 5.3.1 - resolution: "camelcase@npm:5.3.1" - checksum: e6effce26b9404e3c0f301498184f243811c30dfe6d0b9051863bd8e4034d09c8c2923794f280d6827e5aa055f6c434115ff97864a16a963366fb35fd673024b - languageName: node - linkType: hard - "camelcase@npm:^6.2.0": version: 6.3.0 resolution: "camelcase@npm:6.3.0" @@ -6819,10 +8030,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001538, caniuse-lite@npm:^1.0.30001565": - version: 1.0.30001578 - resolution: "caniuse-lite@npm:1.0.30001578" - checksum: 3b1c41e70270839c958c3fefa3430d74021e15f019667c53f44894eff7382c03c1464e68c4aced284a212c1f157888b09f5b7fd5cae163efdc916202ec71a59d +"caniuse-lite@npm:^1.0.30001578, caniuse-lite@npm:^1.0.30001580": + version: 1.0.30001587 + resolution: "caniuse-lite@npm:1.0.30001587" + checksum: 960e26927ad876971021186337df1df2d37d7ed4fc7907098c060f56ae8de737d471791e51387ca55bea07f56b0a76553a90125f88a2f958ca1f4f715013cf71 languageName: node linkType: hard @@ -6879,13 +8090,6 @@ __metadata: languageName: node linkType: hard -"chardet@npm:^0.7.0": - version: 0.7.0 - resolution: "chardet@npm:0.7.0" - checksum: b0ec668fba5eeec575ed2559a0917ba41a6481f49063c8445400e476754e0957ee09e44dc032310f526182b8f1bf25e9d4ed371f74050af7be1383e06bc44952 - languageName: node - linkType: hard - "check-error@npm:^1.0.3": version: 1.0.3 resolution: "check-error@npm:1.0.3" @@ -6895,9 +8099,9 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.4.2, chokidar@npm:^3.5.3": - version: 3.5.3 - resolution: "chokidar@npm:3.5.3" +"chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.5.3": + version: 3.6.0 + resolution: "chokidar@npm:3.6.0" dependencies: anymatch: "npm:~3.1.2" braces: "npm:~3.0.2" @@ -6910,7 +8114,7 @@ __metadata: dependenciesMeta: fsevents: optional: true - checksum: 863e3ff78ee7a4a24513d2a416856e84c8e4f5e60efbe03e8ab791af1a183f569b62fc6f6b8044e2804966cb81277ddbbc1dc374fba3265bd609ea8efd62f5b3 + checksum: c327fb07704443f8d15f7b4a7ce93b2f0bc0e6cea07ec28a7570aa22cd51fcf0379df589403976ea956c369f25aa82d84561947e227cd925902e1751371658df languageName: node linkType: hard @@ -6921,7 +8125,7 @@ __metadata: languageName: node linkType: hard -"classnames@npm:^2.2.6, classnames@npm:^2.3.2": +"classnames@npm:^2.2.6": version: 2.5.1 resolution: "classnames@npm:2.5.1" checksum: 58eb394e8817021b153bb6e7d782cfb667e4ab390cb2e9dac2fc7c6b979d1cc2b2a733093955fc5c94aa79ef5c8c89f11ab77780894509be6afbb91dddd79d15 @@ -6935,26 +8139,17 @@ __metadata: languageName: node linkType: hard -"cli-cursor@npm:^3.1.0": - version: 3.1.0 - resolution: "cli-cursor@npm:3.1.0" - dependencies: - restore-cursor: "npm:^3.1.0" - checksum: 2692784c6cd2fd85cfdbd11f53aea73a463a6d64a77c3e098b2b4697a20443f430c220629e1ca3b195ea5ac4a97a74c2ee411f3807abf6df2b66211fec0c0a29 - languageName: node - linkType: hard - -"cli-spinners@npm:^2.5.0": +"cli-spinners@npm:^2.9.2": version: 2.9.2 resolution: "cli-spinners@npm:2.9.2" checksum: a0a863f442df35ed7294424f5491fa1756bd8d2e4ff0c8736531d886cec0ece4d85e8663b77a5afaf1d296e3cbbebff92e2e99f52bbea89b667cbe789b994794 languageName: node linkType: hard -"cli-width@npm:^3.0.0": - version: 3.0.0 - resolution: "cli-width@npm:3.0.0" - checksum: 8730848b04fb189666ab037a35888d191c8f05b630b1d770b0b0e4c920b47bb5cc14bddf6b8ffe5bfc66cee97c8211d4d18e756c1ffcc75d7dbe7e1186cd7826 +"cli-width@npm:^4.1.0": + version: 4.1.0 + resolution: "cli-width@npm:4.1.0" + checksum: b58876fbf0310a8a35c79b72ecfcf579b354e18ad04e6b20588724ea2b522799a758507a37dfe132fafaf93a9922cafd9514d9e1598e6b2cd46694853aed099f languageName: node linkType: hard @@ -6976,13 +8171,6 @@ __metadata: languageName: node linkType: hard -"clone@npm:^1.0.2": - version: 1.0.4 - resolution: "clone@npm:1.0.4" - checksum: d06418b7335897209e77bdd430d04f882189582e67bd1f75a04565f3f07f5b3f119a9d670c943b6697d0afb100f03b866b3b8a1f91d4d02d72c4ecf2bb64b5dd - languageName: node - linkType: hard - "clsx@npm:^1.1.1": version: 1.2.1 resolution: "clsx@npm:1.2.1" @@ -6997,6 +8185,13 @@ __metadata: languageName: node linkType: hard +"clsx@npm:^2.1.0": + version: 2.1.1 + resolution: "clsx@npm:2.1.1" + checksum: cdfb57fa6c7649bbff98d9028c2f0de2f91c86f551179541cf784b1cfdc1562dcb951955f46d54d930a3879931a980e32a46b598acaea274728dbe068deca919 + languageName: node + linkType: hard + "color-convert@npm:^1.9.0": version: 1.9.3 resolution: "color-convert@npm:1.9.3" @@ -7029,15 +8224,6 @@ __metadata: languageName: node linkType: hard -"color-support@npm:^1.1.3": - version: 1.1.3 - resolution: "color-support@npm:1.1.3" - bin: - color-support: bin.js - checksum: 4bcfe30eea1498fe1cabc852bbda6c9770f230ea0e4faf4611c5858b1b9e4dde3730ac485e65f54ca182f4c50b626c1bea7c8441ceda47367a54a818c248aa7a - languageName: node - linkType: hard - "combined-stream@npm:^1.0.8": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -7095,13 +8281,6 @@ __metadata: languageName: node linkType: hard -"console-control-strings@npm:^1.1.0": - version: 1.1.0 - resolution: "console-control-strings@npm:1.1.0" - checksum: 27b5fa302bc8e9ae9e98c03c66d76ca289ad0c61ce2fe20ab288d288bee875d217512d2edb2363fc83165e88f1c405180cf3f5413a46e51b4fe1a004840c6cdb - languageName: node - linkType: hard - "convert-source-map@npm:^1.5.0": version: 1.9.0 resolution: "convert-source-map@npm:1.9.0" @@ -7123,19 +8302,12 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.33.1": - version: 3.35.0 - resolution: "core-js-compat@npm:3.35.0" +"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.34.0": + version: 3.35.1 + resolution: "core-js-compat@npm:3.35.1" dependencies: browserslist: "npm:^4.22.2" - checksum: aa21ad2f0c946be7a8ecef92233bc003a38fa27e43a925fcd9b79e32ae49b879e0f5c23459ffc310df38ee547389b8e5e43a6a8be0b2369b9b9ebf3d04ae69b9 - languageName: node - linkType: hard - -"core-util-is@npm:~1.0.0": - version: 1.0.3 - resolution: "core-util-is@npm:1.0.3" - checksum: 9de8597363a8e9b9952491ebe18167e3b36e7707569eed0ebf14f8bba773611376466ae34575bca8cfe3c767890c859c74056084738f09d4e4a6f902b2ad7d99 + checksum: 9a153c66591e23703e182b258ec6bdaff0a7c578dc5f9ac152fdfef2d09e8ec277f192e28d4634a8b576c8e1a6d3b1ac76ff6b8776e72b71b334e609e177a05e languageName: node linkType: hard @@ -7212,10 +8384,10 @@ __metadata: languageName: node linkType: hard -"csstype@npm:3.1.2": - version: 3.1.2 - resolution: "csstype@npm:3.1.2" - checksum: 1f39c541e9acd9562996d88bc9fb62d1cb234786ef11ed275567d4b2bd82e1ceacde25debc8de3d3b4871ae02c2933fa02614004c97190711caebad6347debc2 +"csstype@npm:^3.0.2": + version: 3.1.3 + resolution: "csstype@npm:3.1.3" + checksum: f593cce41ff5ade23f44e77521e3a1bcc2c64107041e1bf6c3c32adc5187d0d60983292fda326154d20b01079e24931aa5b08e4467cc488b60bb1e7f6d478ade languageName: node linkType: hard @@ -7562,7 +8734,7 @@ __metadata: languageName: node linkType: hard -"date-fns@npm:^2.23.0, date-fns@npm:^2.30.0": +"date-fns@npm:^2.30.0": version: 2.30.0 resolution: "date-fns@npm:2.30.0" dependencies: @@ -7571,7 +8743,14 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": +"date-fns@npm:^3.3.1": + version: 3.3.1 + resolution: "date-fns@npm:3.3.1" + checksum: 98231936765dfb6fc6897676319b500a06a39f051b2c3ecbdd541a07ce9b1344b770277b8bfb1049fb7a2f70bf365ac8e6f1e2bb452b10e1a8101d518ca7f95d + languageName: node + linkType: hard + +"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -7592,23 +8771,6 @@ __metadata: languageName: node linkType: hard -"decamelize-keys@npm:^1.1.0": - version: 1.1.1 - resolution: "decamelize-keys@npm:1.1.1" - dependencies: - decamelize: "npm:^1.1.0" - map-obj: "npm:^1.0.0" - checksum: 71d5898174f17a8d2303cecc98ba0236e842948c4d042a8180d5e749be8442220bca2d16dd93bebd7b49e86c807814273212e4da0fae67be7c58c282ff76057a - languageName: node - linkType: hard - -"decamelize@npm:^1.1.0, decamelize@npm:^1.2.0": - version: 1.2.0 - resolution: "decamelize@npm:1.2.0" - checksum: ad8c51a7e7e0720c70ec2eeb1163b66da03e7616d7b98c9ef43cce2416395e84c1e9548dd94f5f6ffecfee9f8b94251fc57121a8b021f2ff2469b2bae247b8aa - languageName: node - linkType: hard - "decimal.js@npm:^10.4.3": version: 10.4.3 resolution: "decimal.js@npm:10.4.3" @@ -7672,23 +8834,15 @@ __metadata: languageName: node linkType: hard -"defaults@npm:^1.0.3": - version: 1.0.4 - resolution: "defaults@npm:1.0.4" - dependencies: - clone: "npm:^1.0.2" - checksum: 3a88b7a587fc076b84e60affad8b85245c01f60f38fc1d259e7ac1d89eb9ce6abb19e27215de46b98568dd5bc48471730b327637e6f20b0f1bc85cf00440c80a - languageName: node - linkType: hard - -"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.0, define-data-property@npm:^1.1.1": - version: 1.1.1 - resolution: "define-data-property@npm:1.1.1" +"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.1, define-data-property@npm:^1.1.2": + version: 1.1.3 + resolution: "define-data-property@npm:1.1.3" dependencies: - get-intrinsic: "npm:^1.2.1" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" gopd: "npm:^1.0.1" - has-property-descriptors: "npm:^1.0.0" - checksum: 5573c8df96b5857408cad64d9b91b69152e305ce4b06218e5f49b59c6cafdbb90a8bd8a0bb83c7bc67a8d479c04aa697063c9bc28d849b7282f9327586d6bc7b + has-property-descriptors: "npm:^1.0.1" + checksum: 99c97937af456b5290283a77c3b014735794b594f4f01d310fb700c94f70a5e19fd3006886669c8c740270e9b22736e029eedd46d01a9d98703fd245d3595244 languageName: node linkType: hard @@ -7711,11 +8865,11 @@ __metadata: linkType: hard "delaunator@npm:5": - version: 5.0.0 - resolution: "delaunator@npm:5.0.0" + version: 5.0.1 + resolution: "delaunator@npm:5.0.1" dependencies: - robust-predicates: "npm:^3.0.0" - checksum: 87f9aa5e2378036377ad924418181261ffb58607f303480b4615a5ef6fe2ecefc79f90db217353f2b79e06ee959bba65940429d4484aa36350bd6bde0fbf5010 + robust-predicates: "npm:^3.0.2" + checksum: c378a55138d81d471a7214635b1a2c5e74f8ee06582f558df72f0c7c82c25868599ce9a18fb25a245c6c03cab886d17fb574681c78371b539dd069818703f53a languageName: node linkType: hard @@ -7726,13 +8880,6 @@ __metadata: languageName: node linkType: hard -"delegates@npm:^1.0.0": - version: 1.0.0 - resolution: "delegates@npm:1.0.0" - checksum: a51744d9b53c164ba9c0492471a1a2ffa0b6727451bdc89e31627fdf4adda9d51277cfcbfb20f0a6f08ccb3c436f341df3e92631a3440226d93a8971724771fd - languageName: node - linkType: hard - "dependency-graph@npm:0.11.0, dependency-graph@npm:~0.11.0": version: 0.11.0 resolution: "dependency-graph@npm:0.11.0" @@ -7740,7 +8887,7 @@ __metadata: languageName: node linkType: hard -"dequal@npm:^2.0.3": +"dequal@npm:^2.0.2, dequal@npm:^2.0.3": version: 2.0.3 resolution: "dequal@npm:2.0.3" checksum: 6ff05a7561f33603df87c45e389c9ac0a95e3c056be3da1a0c4702149e3a7f6fe5ffbb294478687ba51a9e95f3a60e8b6b9005993acd79c292c7d15f71964b6b @@ -7754,7 +8901,7 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^29.4.3, diff-sequences@npm:^29.6.3": +"diff-sequences@npm:^29.6.3": version: 29.6.3 resolution: "diff-sequences@npm:29.6.3" checksum: 179daf9d2f9af5c57ad66d97cb902a538bcf8ed64963fa7aa0c329b3de3665ce2eb6ffdc2f69f29d445fa4af2517e5e55e5b6e00c00a9ae4f43645f97f7078cb @@ -7828,10 +8975,10 @@ __metadata: languageName: node linkType: hard -"dompurify@npm:^3.0.5": - version: 3.0.8 - resolution: "dompurify@npm:3.0.8" - checksum: 671fa18bd4bcb1a6ff2e59ecf919f807615b551e7add8834b27751d4e0f3d754a67725482d1efdd259317cadcaaccb72a8afc3aba829ac59730e760041591a1a +"dompurify@npm:^3.0.9": + version: 3.0.9 + resolution: "dompurify@npm:3.0.9" + checksum: cfb8ed92672e7ddfa43a9ce5bfcd4b3c91287454402672da930b0ecfc8c86d0d2133116607e6c7c77a07ddd8c6baec6d11fa07d9fddebd8701572e3cace2ecea languageName: node linkType: hard @@ -7846,9 +8993,9 @@ __metadata: linkType: hard "dotenv@npm:^16.3.1": - version: 16.3.1 - resolution: "dotenv@npm:16.3.1" - checksum: dbb778237ef8750e9e3cd1473d3c8eaa9cc3600e33a75c0e36415d0fa0848197f56c3800f77924c70e7828f0b03896818cd52f785b07b9ad4d88dba73fbba83f + version: 16.4.3 + resolution: "dotenv@npm:16.4.3" + checksum: f07db902c62c239aef7a7b696b21dfab8e95bf5883bcf23c6b9b55f42578d18b842e6257b4f4ecfdbd024a3ee9949fbaaa4c84807de7ba037c74fe3c70785198 languageName: node linkType: hard @@ -7859,10 +9006,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.601": - version: 1.4.635 - resolution: "electron-to-chromium@npm:1.4.635" - checksum: c3be3fc5d4bde640eebe631768835ed63e9957f24d898961d2710f561f68b6b82bad6533a97e03b52a485721453efabfc9a7167d0e1ba109f3374c008986fcd5 +"electron-to-chromium@npm:^1.4.648": + version: 1.4.667 + resolution: "electron-to-chromium@npm:1.4.667" + checksum: ec7c1ea6eb74b0909b011639ce8e7f3c6faa7b98225176fbb85bf4a03ffeb14ef69c99d710d9f9891e426552faaa8f0df5a5118a5ac0dc2f2ab29ab22a9196ce languageName: node linkType: hard @@ -7880,7 +9027,7 @@ __metadata: languageName: node linkType: hard -"encoding@npm:^0.1.12, encoding@npm:^0.1.13": +"encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" dependencies: @@ -7929,7 +9076,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.22.1": +"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3": version: 1.22.3 resolution: "es-abstract@npm:1.22.3" dependencies: @@ -7977,18 +9124,41 @@ __metadata: linkType: hard "es-aggregate-error@npm:^1.0.7": - version: 1.0.11 - resolution: "es-aggregate-error@npm:1.0.11" + version: 1.0.12 + resolution: "es-aggregate-error@npm:1.0.12" dependencies: - define-data-property: "npm:^1.1.0" + define-data-property: "npm:^1.1.1" define-properties: "npm:^1.2.1" - es-abstract: "npm:^1.22.1" - function-bind: "npm:^1.1.1" - get-intrinsic: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.1.0" + function-bind: "npm:^1.1.2" globalthis: "npm:^1.0.3" - has-property-descriptors: "npm:^1.0.0" + has-property-descriptors: "npm:^1.0.1" set-function-name: "npm:^2.0.1" - checksum: b0dff08a0b72f1bae1e4d751c31d28d24e5f19402b607457af852c2dd1f51bc32b543a0a63b76909baf4305ec51d42e1cb9ded22ce67d812d1b7e90c134632d4 + checksum: c7658d8531aed3d261dd887cdd4af5a246d6b3779a9a7c2570daafa07ba0a0fc80b49c2e65bb1dcda2dd36d871308b8d0333c780c1df4d01aeaff0b8dabb65f3 + languageName: node + linkType: hard + +"es-array-method-boxes-properly@npm:^1.0.0": + version: 1.0.0 + resolution: "es-array-method-boxes-properly@npm:1.0.0" + checksum: 27a8a21acf20f3f51f69dce8e643f151e380bffe569e95dc933b9ded9fcd89a765ee21b5229c93f9206c93f87395c6b75f80be8ac8c08a7ceb8771e1822ff1fb + languageName: node + linkType: hard + +"es-define-property@npm:^1.0.0": + version: 1.0.0 + resolution: "es-define-property@npm:1.0.0" + dependencies: + get-intrinsic: "npm:^1.2.4" + checksum: f66ece0a887b6dca71848fa71f70461357c0e4e7249696f81bad0a1f347eed7b31262af4a29f5d726dc026426f085483b6b90301855e647aa8e21936f07293c6 + languageName: node + linkType: hard + +"es-errors@npm:^1.0.0, es-errors@npm:^1.1.0, es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": + version: 1.3.0 + resolution: "es-errors@npm:1.3.0" + checksum: 96e65d640156f91b707517e8cdc454dd7d47c32833aa3e85d79f24f9eb7ea85f39b63e36216ef0114996581969b59fe609a94e30316b08f5f4df1d44134cf8d5 languageName: node linkType: hard @@ -8010,28 +9180,29 @@ __metadata: linkType: hard "es-iterator-helpers@npm:^1.0.12, es-iterator-helpers@npm:^1.0.15": - version: 1.0.15 - resolution: "es-iterator-helpers@npm:1.0.15" + version: 1.0.16 + resolution: "es-iterator-helpers@npm:1.0.16" dependencies: asynciterator.prototype: "npm:^1.0.0" - call-bind: "npm:^1.0.2" + call-bind: "npm:^1.0.6" define-properties: "npm:^1.2.1" - es-abstract: "npm:^1.22.1" - es-set-tostringtag: "npm:^2.0.1" - function-bind: "npm:^1.1.1" - get-intrinsic: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.3.0" + es-set-tostringtag: "npm:^2.0.2" + function-bind: "npm:^1.1.2" + get-intrinsic: "npm:^1.2.4" globalthis: "npm:^1.0.3" - has-property-descriptors: "npm:^1.0.0" + has-property-descriptors: "npm:^1.0.1" has-proto: "npm:^1.0.1" has-symbols: "npm:^1.0.3" - internal-slot: "npm:^1.0.5" + internal-slot: "npm:^1.0.7" iterator.prototype: "npm:^1.1.2" - safe-array-concat: "npm:^1.0.1" - checksum: 78535c00c49d81df603e650886d3806f3cd8d288e2c07703cfb145725753a3d2df19bff9feeb14cd1baed02252d1f85c4bbc922c8db02841722ab3ec02e78339 + safe-array-concat: "npm:^1.1.0" + checksum: 979eeca89ef150f3797b1143d4cac2e0670fa50a63aea534845130495e35779ab328ed0d550d619541bda39f7afc3a7a9564749cbb616f4f15aa3efbd042b99e languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.1": +"es-set-tostringtag@npm:^2.0.1, es-set-tostringtag@npm:^2.0.2": version: 2.0.2 resolution: "es-set-tostringtag@npm:2.0.2" dependencies: @@ -8042,7 +9213,7 @@ __metadata: languageName: node linkType: hard -"es-shim-unscopables@npm:^1.0.0": +"es-shim-unscopables@npm:^1.0.0, es-shim-unscopables@npm:^1.0.2": version: 1.0.2 resolution: "es-shim-unscopables@npm:1.0.2" dependencies: @@ -8069,7 +9240,87 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.19.3, esbuild@npm:^0.19.5": +"esbuild@npm:^0.19.11": + version: 0.19.12 + resolution: "esbuild@npm:0.19.12" + dependencies: + "@esbuild/aix-ppc64": "npm:0.19.12" + "@esbuild/android-arm": "npm:0.19.12" + "@esbuild/android-arm64": "npm:0.19.12" + "@esbuild/android-x64": "npm:0.19.12" + "@esbuild/darwin-arm64": "npm:0.19.12" + "@esbuild/darwin-x64": "npm:0.19.12" + "@esbuild/freebsd-arm64": "npm:0.19.12" + "@esbuild/freebsd-x64": "npm:0.19.12" + "@esbuild/linux-arm": "npm:0.19.12" + "@esbuild/linux-arm64": "npm:0.19.12" + "@esbuild/linux-ia32": "npm:0.19.12" + "@esbuild/linux-loong64": "npm:0.19.12" + "@esbuild/linux-mips64el": "npm:0.19.12" + "@esbuild/linux-ppc64": "npm:0.19.12" + "@esbuild/linux-riscv64": "npm:0.19.12" + "@esbuild/linux-s390x": "npm:0.19.12" + "@esbuild/linux-x64": "npm:0.19.12" + "@esbuild/netbsd-x64": "npm:0.19.12" + "@esbuild/openbsd-x64": "npm:0.19.12" + "@esbuild/sunos-x64": "npm:0.19.12" + "@esbuild/win32-arm64": "npm:0.19.12" + "@esbuild/win32-ia32": "npm:0.19.12" + "@esbuild/win32-x64": "npm:0.19.12" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 861fa8eb2428e8d6521a4b7c7930139e3f45e8d51a86985cc29408172a41f6b18df7b3401e7e5e2d528cdf83742da601ddfdc77043ddc4f1c715a8ddb2d8a255 + languageName: node + linkType: hard + +"esbuild@npm:^0.19.3": version: 0.19.11 resolution: "esbuild@npm:0.19.11" dependencies: @@ -8149,10 +9400,90 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.20.1": + version: 0.20.2 + resolution: "esbuild@npm:0.20.2" + dependencies: + "@esbuild/aix-ppc64": "npm:0.20.2" + "@esbuild/android-arm": "npm:0.20.2" + "@esbuild/android-arm64": "npm:0.20.2" + "@esbuild/android-x64": "npm:0.20.2" + "@esbuild/darwin-arm64": "npm:0.20.2" + "@esbuild/darwin-x64": "npm:0.20.2" + "@esbuild/freebsd-arm64": "npm:0.20.2" + "@esbuild/freebsd-x64": "npm:0.20.2" + "@esbuild/linux-arm": "npm:0.20.2" + "@esbuild/linux-arm64": "npm:0.20.2" + "@esbuild/linux-ia32": "npm:0.20.2" + "@esbuild/linux-loong64": "npm:0.20.2" + "@esbuild/linux-mips64el": "npm:0.20.2" + "@esbuild/linux-ppc64": "npm:0.20.2" + "@esbuild/linux-riscv64": "npm:0.20.2" + "@esbuild/linux-s390x": "npm:0.20.2" + "@esbuild/linux-x64": "npm:0.20.2" + "@esbuild/netbsd-x64": "npm:0.20.2" + "@esbuild/openbsd-x64": "npm:0.20.2" + "@esbuild/sunos-x64": "npm:0.20.2" + "@esbuild/win32-arm64": "npm:0.20.2" + "@esbuild/win32-ia32": "npm:0.20.2" + "@esbuild/win32-x64": "npm:0.20.2" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 663215ab7e599651e00d61b528a63136e1f1d397db8b9c3712540af928c9476d61da95aefa81b7a8dfc7a9fdd7616fcf08395c27be68be8c99953fb461863ce4 + languageName: node + linkType: hard + "escalade@npm:^3.1.1": - version: 3.1.1 - resolution: "escalade@npm:3.1.1" - checksum: afa618e73362576b63f6ca83c975456621095a1ed42ff068174e3f5cea48afc422814dda548c96e6ebb5333e7265140c7292abcc81bbd6ccb1757d50d3a4e182 + version: 3.1.2 + resolution: "escalade@npm:3.1.2" + checksum: a1e07fea2f15663c30e40b9193d658397846ffe28ce0a3e4da0d8e485fedfeca228ab846aee101a05015829adf39f9934ff45b2a3fca47bed37a29646bd05cd3 languageName: node linkType: hard @@ -8556,17 +9887,6 @@ __metadata: languageName: node linkType: hard -"external-editor@npm:^3.0.3": - version: 3.1.0 - resolution: "external-editor@npm:3.1.0" - dependencies: - chardet: "npm:^0.7.0" - iconv-lite: "npm:^0.4.24" - tmp: "npm:^0.0.33" - checksum: 776dff1d64a1d28f77ff93e9e75421a81c062983fd1544279d0a32f563c0b18c52abbb211f31262e2827e48edef5c9dc8f960d06dd2d42d1654443b88568056b - languageName: node - linkType: hard - "fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -8623,15 +9943,15 @@ __metadata: linkType: hard "fastq@npm:^1.6.0": - version: 1.16.0 - resolution: "fastq@npm:1.16.0" + version: 1.17.1 + resolution: "fastq@npm:1.17.1" dependencies: reusify: "npm:^1.0.4" - checksum: de151543aab9d91900ed5da88860c46987ece925c628df586fac664235f25e020ec20729e1c032edb5fd2520fd4aa5b537d69e39b689e65e82112cfbecb4479e + checksum: a443180068b527dd7b3a63dc7f2a47ceca2f3e97b9c00a1efe5538757e6cc4056a3526df94308075d7727561baf09ebaa5b67da8dcbddb913a021c5ae69d1f69 languageName: node linkType: hard -"figures@npm:^3.0.0": +"figures@npm:^3.2.0": version: 3.2.0 resolution: "figures@npm:3.2.0" dependencies: @@ -8649,12 +9969,13 @@ __metadata: languageName: node linkType: hard -"file-selector@npm:^0.6.0": - version: 0.6.0 - resolution: "file-selector@npm:0.6.0" +"file-system-cache@npm:2.3.0": + version: 2.3.0 + resolution: "file-system-cache@npm:2.3.0" dependencies: - tslib: "npm:^2.4.0" - checksum: 6add4098ae07fd1e9050b1e8d3fd9f128680c1d6648c0676af54ace4586e6e5bfcb8fdfa45b69e9131ffd8175bf630d54a445a5facf9be244f85b99ce309183e + fs-extra: "npm:11.1.1" + ramda: "npm:0.29.0" + checksum: 8f0530aaa8bed115ef1b00f69accde8d1311d0eaffc6e37bb0b5057b8be79e6e960823025ea3c980a58147eed0ba690b9906c2229e132f5d96158e9b635a052c languageName: node linkType: hard @@ -8684,16 +10005,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^4.1.0": - version: 4.1.0 - resolution: "find-up@npm:4.1.0" - dependencies: - locate-path: "npm:^5.0.0" - path-exists: "npm:^4.0.0" - checksum: 4c172680e8f8c1f78839486e14a43ef82e9decd0e74145f40707cc42e7420506d5ec92d9a11c22bd2c48fb0c384ea05dd30e10dd152fefeec6f2f75282a8b844 - languageName: node - linkType: hard - "flat-cache@npm:^3.0.4": version: 3.2.0 resolution: "flat-cache@npm:3.2.0" @@ -8712,29 +10023,6 @@ __metadata: languageName: node linkType: hard -"focus-trap-react@npm:^10.1.1": - version: 10.2.3 - resolution: "focus-trap-react@npm:10.2.3" - dependencies: - focus-trap: "npm:^7.5.4" - tabbable: "npm:^6.2.0" - peerDependencies: - prop-types: ^15.8.1 - react: ">=16.3.0" - react-dom: ">=16.3.0" - checksum: 64c39cbc44c37319ac5c96c9b105798ac7d36e477878adca3cf9c9099edd72db960ce97a7b281ef612d5c1bca7d425331c25dec030e3e34120003a948c8553a8 - languageName: node - linkType: hard - -"focus-trap@npm:^7.5.4": - version: 7.5.4 - resolution: "focus-trap@npm:7.5.4" - dependencies: - tabbable: "npm:^6.2.0" - checksum: e9059aae46b8f18721e868bd73e1fec3d8cbb4f6e4e89feb9a708af505a2dd5c93f87468895f1d908cd4dec1b2f35824dfcd1623cf3adbfb5c6c8c589ed59dcf - languageName: node - linkType: hard - "follow-redirects@npm:^1.15.4": version: 1.15.5 resolution: "follow-redirects@npm:1.15.5" @@ -8785,9 +10073,9 @@ __metadata: languageName: node linkType: hard -"formik@npm:^2.4.2": - version: 2.4.5 - resolution: "formik@npm:2.4.5" +"formik@npm:^2.4.6": + version: 2.4.6 + resolution: "formik@npm:2.4.6" dependencies: "@types/hoist-non-react-statics": "npm:^3.3.1" deepmerge: "npm:^2.1.1" @@ -8799,17 +10087,28 @@ __metadata: tslib: "npm:^2.0.0" peerDependencies: react: ">=16.8.0" - checksum: 223fb3e6b0a7803221c030364a015b9adb01b61f7aed7c64e28ef8341a3e7c94c7a70aef7ed9f65d03ac44e4e19972c1247fb0e39538e4e084833fd1fa3b11c4 + checksum: 65d6845d913cfceebdbb1e34d498725965e07abd4c17f3ea9eeba77d9fab7d3b0f726fdfcae73f002b660ba56b236abc8d8aa6670a9c7cc0db27afebf6e48f4b languageName: node linkType: hard -"fraction.js@npm:^4.3.6": +"fraction.js@npm:^4.3.7": version: 4.3.7 resolution: "fraction.js@npm:4.3.7" checksum: bb5ebcdeeffcdc37b68ead3bdfc244e68de188e0c64e9702197333c72963b95cc798883ad16adc21588088b942bca5b6a6ff4aeb1362d19f6f3b629035dc15f5 languageName: node linkType: hard +"fs-extra@npm:11.1.1": + version: 11.1.1 + resolution: "fs-extra@npm:11.1.1" + dependencies: + graceful-fs: "npm:^4.2.0" + jsonfile: "npm:^6.0.1" + universalify: "npm:^2.0.0" + checksum: c4e9fabf9762a70d1403316b7faa899f3d3303c8afa765b891c2210fdeba368461e04ae1203920b64ef6a7d066a39ab8cef2160b5ce8d1011bb4368688cd9bb7 + languageName: node + linkType: hard + "fs-extra@npm:^11.2.0": version: 11.2.0 resolution: "fs-extra@npm:11.2.0" @@ -8821,7 +10120,7 @@ __metadata: languageName: node linkType: hard -"fs-minipass@npm:^2.0.0, fs-minipass@npm:^2.1.0": +"fs-minipass@npm:^2.0.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" dependencies: @@ -8865,7 +10164,7 @@ __metadata: languageName: node linkType: hard -"function-bind@npm:^1.1.1, function-bind@npm:^1.1.2": +"function-bind@npm:^1.1.2": version: 1.1.2 resolution: "function-bind@npm:1.1.2" checksum: 185e20d20f10c8d661d59aac0f3b63b31132d492e1b11fcc2a93cb2c47257ebaee7407c38513efd2b35cafdf972d9beb2ea4593c1e0f3bf8f2744836928d7454 @@ -8891,31 +10190,6 @@ __metadata: languageName: node linkType: hard -"gauge@npm:^4.0.3": - version: 4.0.4 - resolution: "gauge@npm:4.0.4" - dependencies: - aproba: "npm:^1.0.3 || ^2.0.0" - color-support: "npm:^1.1.3" - console-control-strings: "npm:^1.1.0" - has-unicode: "npm:^2.0.1" - signal-exit: "npm:^3.0.7" - string-width: "npm:^4.2.3" - strip-ansi: "npm:^6.0.1" - wide-align: "npm:^1.1.5" - checksum: 09535dd53b5ced6a34482b1fa9f3929efdeac02f9858569cde73cef3ed95050e0f3d095706c1689614059898924b7a74aa14042f51381a1ccc4ee5c29d2389c4 - languageName: node - linkType: hard - -"gaze@npm:^1.0.0": - version: 1.1.3 - resolution: "gaze@npm:1.1.3" - dependencies: - globule: "npm:^1.0.0" - checksum: 9ff1110aae5c7d96cbd49812883558971c2f9eba00bdd20e326b5644e262956464fa67edcad03f2cb2ae6ca4f26c80cb1fb5b4a610280a77fca51046acc7749c - languageName: node - linkType: hard - "gensync@npm:^1.0.0-beta.2": version: 1.0.0-beta.2 resolution: "gensync@npm:1.0.0-beta.2" @@ -8937,22 +10211,16 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": - version: 1.2.2 - resolution: "get-intrinsic@npm:1.2.2" +"get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": + version: 1.2.4 + resolution: "get-intrinsic@npm:1.2.4" dependencies: + es-errors: "npm:^1.3.0" function-bind: "npm:^1.1.2" has-proto: "npm:^1.0.1" has-symbols: "npm:^1.0.3" hasown: "npm:^2.0.0" - checksum: aa96db4f809734d26d49b59bc8669d73a0ae792da561514e987735573a1dfaede516cd102f217a078ea2b42d4c4fb1f83d487932cb15d49826b726cc9cd4470b - languageName: node - linkType: hard - -"get-stdin@npm:^4.0.1": - version: 4.0.1 - resolution: "get-stdin@npm:4.0.1" - checksum: 4f73d3fe0516bc1f3dc7764466a68ad7c2ba809397a02f56c2a598120e028430fcff137a648a01876b2adfb486b4bc164119f98f1f7d7c0abd63385bdaa0113f + checksum: 85bbf4b234c3940edf8a41f4ecbd4e25ce78e5e6ad4e24ca2f77037d983b9ef943fd72f00f3ee97a49ec622a506b67db49c36246150377efcda1c9eb03e5f06d languageName: node linkType: hard @@ -8971,12 +10239,13 @@ __metadata: linkType: hard "get-symbol-description@npm:^1.0.0": - version: 1.0.0 - resolution: "get-symbol-description@npm:1.0.0" + version: 1.0.2 + resolution: "get-symbol-description@npm:1.0.2" dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.1" - checksum: 7e5f298afe0f0872747dce4a949ce490ebc5d6dd6aefbbe5044543711c9b19a4dfaebdbc627aee99e1299d58a435b2fbfa083458c1d58be6dc03a3bada24d359 + call-bind: "npm:^1.0.5" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + checksum: e1cb53bc211f9dbe9691a4f97a46837a553c4e7caadd0488dc24ac694db8a390b93edd412b48dcdd0b4bbb4c595de1709effc75fc87c0839deedc6968f5bd973 languageName: node linkType: hard @@ -9013,7 +10282,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0": +"glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -9027,33 +10296,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.1": - version: 8.1.0 - resolution: "glob@npm:8.1.0" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^5.0.1" - once: "npm:^1.3.0" - checksum: 9aab1c75eb087c35dbc41d1f742e51d0507aa2b14c910d96fb8287107a10a22f4bbdce26fc0a3da4c69a20f7b26d62f1640b346a4f6e6becfff47f335bb1dc5e - languageName: node - linkType: hard - -"glob@npm:~7.1.1": - version: 7.1.7 - resolution: "glob@npm:7.1.7" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^3.0.4" - once: "npm:^1.3.0" - path-is-absolute: "npm:^1.0.0" - checksum: ff5aab0386e9cace92b0550d42085b71013c5ea382982dd7fdded998a559635f61413b8ba6fb7294eef289c83b52f4e64136f888300ac8afc4f3e5623182d6c8 - languageName: node - linkType: hard - "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -9100,17 +10342,6 @@ __metadata: languageName: node linkType: hard -"globule@npm:^1.0.0": - version: 1.3.4 - resolution: "globule@npm:1.3.4" - dependencies: - glob: "npm:~7.1.1" - lodash: "npm:^4.17.21" - minimatch: "npm:~3.0.2" - checksum: 04ac30656f9fc34e7e30a700ef39bfc357629a9214e2e228ee714bc0f1be60c5e4e2a78facafa5588889b02d25f02012d9e8c057704040e19e86b920effe54d5 - languageName: node - linkType: hard - "gopd@npm:^1.0.1": version: 1.0.1 resolution: "gopd@npm:1.0.1" @@ -9141,13 +10372,6 @@ __metadata: languageName: node linkType: hard -"hard-rejection@npm:^2.1.0": - version: 2.1.0 - resolution: "hard-rejection@npm:2.1.0" - checksum: 7baaf80a0c7fff4ca79687b4060113f1529589852152fa935e6787a2bc96211e784ad4588fb3048136ff8ffc9dfcf3ae385314a5b24db32de20bea0d1597f9dc - languageName: node - linkType: hard - "has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": version: 1.0.2 resolution: "has-bigints@npm:1.0.2" @@ -9170,11 +10394,11 @@ __metadata: linkType: hard "has-property-descriptors@npm:^1.0.0, has-property-descriptors@npm:^1.0.1": - version: 1.0.1 - resolution: "has-property-descriptors@npm:1.0.1" + version: 1.0.2 + resolution: "has-property-descriptors@npm:1.0.2" dependencies: - get-intrinsic: "npm:^1.2.2" - checksum: 21a47bb080a24e79594aef1ce71e1a18a1c5ab4120308e218088f67ebb7f6f408847541e2d96e5bd00e90eef5c5a49e4ebbdc8fc2d5b365a2c379aef071642f0 + es-define-property: "npm:^1.0.0" + checksum: 2d8c9ab8cebb572e3362f7d06139a4592105983d4317e68f7adba320fe6ddfc8874581e0971e899e633fd5f72e262830edce36d5a0bc863dad17ad20572484b2 languageName: node linkType: hard @@ -9192,28 +10416,21 @@ __metadata: languageName: node linkType: hard -"has-tostringtag@npm:^1.0.0": - version: 1.0.0 - resolution: "has-tostringtag@npm:1.0.0" +"has-tostringtag@npm:^1.0.0, has-tostringtag@npm:^1.0.1, has-tostringtag@npm:^1.0.2": + version: 1.0.2 + resolution: "has-tostringtag@npm:1.0.2" dependencies: - has-symbols: "npm:^1.0.2" - checksum: 95546e7132efc895a9ae64a8a7cf52588601fc3d52e0304ed228f336992cdf0baaba6f3519d2655e560467db35a1ed79f6420c286cc91a13aa0647a31ed92570 - languageName: node - linkType: hard - -"has-unicode@npm:^2.0.1": - version: 2.0.1 - resolution: "has-unicode@npm:2.0.1" - checksum: 041b4293ad6bf391e21c5d85ed03f412506d6623786b801c4ab39e4e6ca54993f13201bceb544d92963f9e0024e6e7fbf0cb1d84c9d6b31cb9c79c8c990d13d8 + has-symbols: "npm:^1.0.3" + checksum: c74c5f5ceee3c8a5b8bc37719840dc3749f5b0306d818974141dda2471a1a2ca6c8e46b9d6ac222c5345df7a901c9b6f350b1e6d62763fec877e26609a401bfe languageName: node linkType: hard "hasown@npm:^2.0.0": - version: 2.0.0 - resolution: "hasown@npm:2.0.0" + version: 2.0.1 + resolution: "hasown@npm:2.0.1" dependencies: function-bind: "npm:^1.1.2" - checksum: c330f8d93f9d23fe632c719d4db3d698ef7d7c367d51548b836069e06a90fa9151e868c8e67353cfe98d67865bf7354855db28fa36eb1b18fa5d4a3f4e7f1c90 + checksum: b7f9107387ee68abed88e965c2b99e868b5e0e9d289db1ddd080706ffafb69533b4f538b0e6362585bae8d6cbd080249f65e79702f74c225990f66d6106be3f6 languageName: node linkType: hard @@ -9233,22 +10450,6 @@ __metadata: languageName: node linkType: hard -"hosted-git-info@npm:^2.1.4": - version: 2.8.9 - resolution: "hosted-git-info@npm:2.8.9" - checksum: 96da7d412303704af41c3819207a09ea2cab2de97951db4cf336bb8bce8d8e36b9a6821036ad2e55e67d3be0af8f967a7b57981203fbfb88bc05cd803407b8c3 - languageName: node - linkType: hard - -"hosted-git-info@npm:^4.0.1": - version: 4.1.0 - resolution: "hosted-git-info@npm:4.1.0" - dependencies: - lru-cache: "npm:^6.0.0" - checksum: 4dc67022b7ecb12829966bd731fb9a5f14d351547aafc6520ef3c8e7211f4f0e69452d24e29eae3d9b17df924d660052e53d8ca321cf3008418fb7e6c7c47d6f - languageName: node - linkType: hard - "html-encoding-sniffer@npm:^3.0.0": version: 3.0.0 resolution: "html-encoding-sniffer@npm:3.0.0" @@ -9265,24 +10466,13 @@ __metadata: languageName: node linkType: hard -"http-cache-semantics@npm:^4.1.0, http-cache-semantics@npm:^4.1.1": +"http-cache-semantics@npm:^4.1.1": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" checksum: 362d5ed66b12ceb9c0a328fb31200b590ab1b02f4a254a697dc796850cc4385603e75f53ec59f768b2dad3bfa1464bd229f7de278d2899a0e3beffc634b6683f languageName: node linkType: hard -"http-proxy-agent@npm:^4.0.1": - version: 4.0.1 - resolution: "http-proxy-agent@npm:4.0.1" - dependencies: - "@tootallnate/once": "npm:1" - agent-base: "npm:6" - debug: "npm:4" - checksum: 2e17f5519f2f2740b236d1d14911ea4be170c67419dc15b05ea9a860a22c5d9c6ff4da270972117067cc2cefeba9df5f7cd5e7818fdc6ae52b6acf2a533e5fdd - languageName: node - linkType: hard - "http-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "http-proxy-agent@npm:5.0.0" @@ -9295,12 +10485,12 @@ __metadata: linkType: hard "http-proxy-agent@npm:^7.0.0": - version: 7.0.0 - resolution: "http-proxy-agent@npm:7.0.0" + version: 7.0.1 + resolution: "http-proxy-agent@npm:7.0.1" dependencies: agent-base: "npm:^7.1.0" debug: "npm:^4.3.4" - checksum: dbaaf3d9f3fc4df4a5d7ec45d456ec50f575240b557160fa63427b447d1f812dd7fe4a4f17d2e1ba003d231f07edf5a856ea6d91cb32d533062ff20a7803ccac + checksum: d82c1cde756b8e1a0464f1e3761fe98a4b62ccde09a84f225ae61e1ec6c6321aad714ce7f8a05e4bee38cab7c4bc688e1bd1b8463ff879b433a097f485675ba2 languageName: node linkType: hard @@ -9311,7 +10501,7 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:^5.0.0, https-proxy-agent@npm:^5.0.1": +"https-proxy-agent@npm:^5.0.1": version: 5.0.1 resolution: "https-proxy-agent@npm:5.0.1" dependencies: @@ -9322,12 +10512,12 @@ __metadata: linkType: hard "https-proxy-agent@npm:^7.0.1": - version: 7.0.2 - resolution: "https-proxy-agent@npm:7.0.2" + version: 7.0.3 + resolution: "https-proxy-agent@npm:7.0.3" dependencies: agent-base: "npm:^7.0.2" debug: "npm:4" - checksum: 9ec844f78fd643608239c9c3f6819918631df5cd3e17d104cc507226a39b5d4adda9d790fc9fd63ac0d2bb8a761b2f9f60faa80584a9bf9d7f2e8c5ed0acd330 + checksum: 32eb80fe7a414c13246440972059ce2d590d2ff52707f5b0ad927a5fe336714f39d0baa46d25baff87554cb10a463ca218ea4713651302591e2b3beb964c495e languageName: node linkType: hard @@ -9345,15 +10535,6 @@ __metadata: languageName: node linkType: hard -"humanize-ms@npm:^1.2.1": - version: 1.2.1 - resolution: "humanize-ms@npm:1.2.1" - dependencies: - ms: "npm:^2.0.0" - checksum: 9c7a74a2827f9294c009266c82031030eae811ca87b0da3dceb8d6071b9bde22c9f3daef0469c3c533cc67a97d8a167cd9fc0389350e5f415f61a79b171ded16 - languageName: node - linkType: hard - "iconv-lite@npm:0.6, iconv-lite@npm:0.6.3, iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -9363,26 +10544,10 @@ __metadata: languageName: node linkType: hard -"iconv-lite@npm:^0.4.24": - version: 0.4.24 - resolution: "iconv-lite@npm:0.4.24" - dependencies: - safer-buffer: "npm:>= 2.1.2 < 3" - checksum: 6d3a2dac6e5d1fb126d25645c25c3a1209f70cceecc68b8ef51ae0da3cdc078c151fade7524a30b12a3094926336831fca09c666ef55b37e2c69638b5d6bd2e3 - languageName: node - linkType: hard - -"ieee754@npm:^1.1.13": - version: 1.2.1 - resolution: "ieee754@npm:1.2.1" - checksum: d9f2557a59036f16c282aaeb107832dc957a93d73397d89bbad4eb1130560560eb695060145e8e6b3b498b15ab95510226649a0b8f52ae06583575419fe10fc4 - languageName: node - linkType: hard - "ignore@npm:^5.2.0": - version: 5.3.0 - resolution: "ignore@npm:5.3.0" - checksum: 51594355cea4c6ad6b28b3b85eb81afa7b988a1871feefd7062baf136c95aa06760ee934fa9590e43d967bd377ce84a4cf6135fbeb6063e063f1182a0e9a3bcd + version: 5.3.1 + resolution: "ignore@npm:5.3.1" + checksum: 0a884c2fbc8c316f0b9f92beaf84464253b73230a4d4d286697be45fca081199191ca33e1c2e82d9e5f851f5e9a48a78e25a35c951e7eb41e59f150db3530065 languageName: node linkType: hard @@ -9394,9 +10559,9 @@ __metadata: linkType: hard "immutable@npm:^4.0.0": - version: 4.3.4 - resolution: "immutable@npm:4.3.4" - checksum: ea187acc1eec9dcfaa0823bae59e1ae0ea82e7a40d2ace9fb84d467875d5506ced684a79b68e70451f1e1761a387a958ba724171f93aa10330998b026fcb5d29 + version: 4.3.5 + resolution: "immutable@npm:4.3.5" + checksum: dbc1b8c808b9aa18bfce2e0c7bc23714a47267bc311f082145cc9220b2005e9b9cd2ae78330f164a19266a2b0f78846c60f4f74893853ac16fd68b5ae57092d2 languageName: node linkType: hard @@ -9424,13 +10589,6 @@ __metadata: languageName: node linkType: hard -"infer-owner@npm:^1.0.4": - version: 1.0.4 - resolution: "infer-owner@npm:1.0.4" - checksum: 181e732764e4a0611576466b4b87dac338972b839920b2a8cde43642e4ed6bd54dc1fb0b40874728f2a2df9a1b097b8ff83b56d5f8f8e3927f837fdcb47d8a89 - languageName: node - linkType: hard - "inflight@npm:^1.0.4": version: 1.0.6 resolution: "inflight@npm:1.0.6" @@ -9441,44 +10599,21 @@ __metadata: languageName: node linkType: hard -"inherits@npm:2, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3": +"inherits@npm:2, inherits@npm:^2.0.3": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: cd45e923bee15186c07fa4c89db0aace24824c482fb887b528304694b2aa6ff8a898da8657046a5dcf3e46cd6db6c61629551f9215f208d7c3f157cf9b290521 languageName: node linkType: hard -"inquirer@npm:^8.2.0": - version: 8.2.6 - resolution: "inquirer@npm:8.2.6" - dependencies: - ansi-escapes: "npm:^4.2.1" - chalk: "npm:^4.1.1" - cli-cursor: "npm:^3.1.0" - cli-width: "npm:^3.0.0" - external-editor: "npm:^3.0.3" - figures: "npm:^3.0.0" - lodash: "npm:^4.17.21" - mute-stream: "npm:0.0.8" - ora: "npm:^5.4.1" - run-async: "npm:^2.4.0" - rxjs: "npm:^7.5.5" - string-width: "npm:^4.1.0" - strip-ansi: "npm:^6.0.0" - through: "npm:^2.3.6" - wrap-ansi: "npm:^6.0.1" - checksum: f642b9e5a94faaba54f277bdda2af0e0a6b592bd7f88c60e1614b5795b19336c7025e0c2923915d5f494f600a02fe8517413779a794415bb79a9563b061d68ab - languageName: node - linkType: hard - -"internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.5": - version: 1.0.6 - resolution: "internal-slot@npm:1.0.6" +"internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.5, internal-slot@npm:^1.0.7": + version: 1.0.7 + resolution: "internal-slot@npm:1.0.7" dependencies: - get-intrinsic: "npm:^1.2.2" + es-errors: "npm:^1.3.0" hasown: "npm:^2.0.0" side-channel: "npm:^1.0.4" - checksum: bc2022eb1f277f2fcb2a60e7ced451c7ffc7a769b12e63c7a3fb247af8b5a1bed06428ce724046a8bca39ed6eb5b6832501a42f2e9a5ec4a9a7dc4e634431616 + checksum: 3e66720508831153ecf37d13def9f6856f9f2960989ec8a0a0476c98f887fca9eff0163127466485cb825c900c2d6fc601aa9117b7783b90ffce23a71ea5d053 languageName: node linkType: hard @@ -9490,14 +10625,14 @@ __metadata: linkType: hard "intl-messageformat@npm:^10.1.0": - version: 10.5.10 - resolution: "intl-messageformat@npm:10.5.10" + version: 10.5.11 + resolution: "intl-messageformat@npm:10.5.11" dependencies: "@formatjs/ecma402-abstract": "npm:1.18.2" "@formatjs/fast-memoize": "npm:2.2.0" - "@formatjs/icu-messageformat-parser": "npm:2.7.5" + "@formatjs/icu-messageformat-parser": "npm:2.7.6" tslib: "npm:^2.4.0" - checksum: 6c413b28d1249282179dc7954ef034738cfb806f4991fad165219e0ef127f570b19f43fdcc91885b92d48778555b2545b27898f088ce95a8dda40f56005c310b + checksum: 2146f4d3e2c4bcf2c4fa343e4ee070fe1124d3821caa2fa0e7112a68fdefbedbbda6a3778f3ba04e38bbce3db33511ca9eecbb0a7e06013e6699255c153813ce languageName: node linkType: hard @@ -9510,14 +10645,17 @@ __metadata: languageName: node linkType: hard -"ip@npm:^2.0.0": - version: 2.0.0 - resolution: "ip@npm:2.0.0" - checksum: 1270b11e534a466fb4cf4426cbcc3a907c429389f7f4e4e3b288b42823562e88d6a509ceda8141a507de147ca506141f745005c0aa144569d94cf24a54eb52bc +"ip-address@npm:^9.0.5": + version: 9.0.5 + resolution: "ip-address@npm:9.0.5" + dependencies: + jsbn: "npm:1.1.0" + sprintf-js: "npm:^1.1.3" + checksum: 1ed81e06721af012306329b31f532b5e24e00cb537be18ddc905a84f19fe8f83a09a1699862bf3a1ec4b9dea93c55a3fa5faf8b5ea380431469df540f38b092c languageName: node linkType: hard -"is-arguments@npm:^1.1.1": +"is-arguments@npm:^1.0.4, is-arguments@npm:^1.1.1": version: 1.1.1 resolution: "is-arguments@npm:1.1.1" dependencies: @@ -9527,14 +10665,13 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": - version: 3.0.2 - resolution: "is-array-buffer@npm:3.0.2" +"is-array-buffer@npm:^3.0.2, is-array-buffer@npm:^3.0.4": + version: 3.0.4 + resolution: "is-array-buffer@npm:3.0.4" dependencies: call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.0" - is-typed-array: "npm:^1.1.10" - checksum: dcac9dda66ff17df9cabdc58214172bf41082f956eab30bb0d86bc0fab1e44b690fc8e1f855cf2481245caf4e8a5a006a982a71ddccec84032ed41f9d8da8c14 + get-intrinsic: "npm:^1.2.1" + checksum: 34a26213d981d58b30724ef37a1e0682f4040d580fa9ff58fdfdd3cefcb2287921718c63971c1c404951e7b747c50fdc7caf6e867e951353fa71b369c04c969b languageName: node linkType: hard @@ -9589,7 +10726,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.5.0": +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" dependencies: @@ -9648,7 +10785,7 @@ __metadata: languageName: node linkType: hard -"is-generator-function@npm:^1.0.10": +"is-generator-function@npm:^1.0.10, is-generator-function@npm:^1.0.7": version: 1.0.10 resolution: "is-generator-function@npm:1.0.10" dependencies: @@ -9666,13 +10803,6 @@ __metadata: languageName: node linkType: hard -"is-interactive@npm:^1.0.0": - version: 1.0.0 - resolution: "is-interactive@npm:1.0.0" - checksum: 824808776e2d468b2916cdd6c16acacebce060d844c35ca6d82267da692e92c3a16fdba624c50b54a63f38bdc4016055b6f443ce57d7147240de4f8cdabaf6f9 - languageName: node - linkType: hard - "is-lambda@npm:^1.0.1": version: 1.0.1 resolution: "is-lambda@npm:1.0.1" @@ -9724,13 +10854,6 @@ __metadata: languageName: node linkType: hard -"is-plain-obj@npm:^1.1.0": - version: 1.1.0 - resolution: "is-plain-obj@npm:1.1.0" - checksum: 0ee04807797aad50859652a7467481816cbb57e5cc97d813a7dcd8915da8195dc68c436010bf39d195226cde6a2d352f4b815f16f26b7bf486a5754290629931 - languageName: node - linkType: hard - "is-plain-object@npm:^2.0.4": version: 2.0.4 resolution: "is-plain-object@npm:2.0.4" @@ -9814,10 +10937,12 @@ __metadata: languageName: node linkType: hard -"is-unicode-supported@npm:^0.1.0": - version: 0.1.0 - resolution: "is-unicode-supported@npm:0.1.0" - checksum: a2aab86ee7712f5c2f999180daaba5f361bdad1efadc9610ff5b8ab5495b86e4f627839d085c6530363c6d6d4ecbde340fb8e54bdb83da4ba8e0865ed5513c52 +"is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.3": + version: 1.1.13 + resolution: "is-typed-array@npm:1.1.13" + dependencies: + which-typed-array: "npm:^1.1.14" + checksum: f850ba08286358b9a11aee6d93d371a45e3c59b5953549ee1c1a9a55ba5c1dd1bd9952488ae194ad8f32a9cf5e79c8fa5f0cc4d78c00720aa0bbcf238b38062d languageName: node linkType: hard @@ -9863,13 +10988,6 @@ __metadata: languageName: node linkType: hard -"isarray@npm:~1.0.0": - version: 1.0.0 - resolution: "isarray@npm:1.0.0" - checksum: f032df8e02dce8ec565cf2eb605ea939bdccea528dbcf565cdf92bfa2da9110461159d86a537388ef1acef8815a330642d7885b29010e8f7eac967c9993b65ab - languageName: node - linkType: hard - "isexe@npm:^2.0.0": version: 2.0.0 resolution: "isexe@npm:2.0.0" @@ -9965,20 +11083,6 @@ __metadata: languageName: node linkType: hard -"js-base64@npm:^2.4.9": - version: 2.6.4 - resolution: "js-base64@npm:2.6.4" - checksum: c1a740a34fbb0ad0a528c2ab8749d7f873b1856a0638826306fcd98502e3c8c833334dff233085407e3201be543e5e71bf9692da7891ca680d9b03d027247a6a - languageName: node - linkType: hard - -"js-levenshtein@npm:^1.1.6": - version: 1.1.6 - resolution: "js-levenshtein@npm:1.1.6" - checksum: bb034043fdebab606122fe5b5c0316036f1bb0ea352038af8b0ba4cda4b016303b24f64efb59d9918f66e3680eea97ff421396ff3c153cb00a6f982908f61f8a - languageName: node - linkType: hard - "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -10009,6 +11113,13 @@ __metadata: languageName: node linkType: hard +"jsbn@npm:1.1.0": + version: 1.1.0 + resolution: "jsbn@npm:1.1.0" + checksum: bebe7ae829bbd586ce8cbe83501dd8cb8c282c8902a8aeeed0a073a89dc37e8103b1244f3c6acd60278bcbfe12d93a3f83c9ac396868a3b3bbc3c5e5e3b648ef + languageName: node + linkType: hard + "jsdom@npm:^22.1.0": version: 22.1.0 resolution: "jsdom@npm:22.1.0" @@ -10126,9 +11237,9 @@ __metadata: linkType: hard "jsonc-parser@npm:^3.2.0": - version: 3.2.0 - resolution: "jsonc-parser@npm:3.2.0" - checksum: bd68b902e5f9394f01da97921f49c5084b2dc03a0c5b4fdb2a429f8d6f292686c1bf87badaeb0a8148d024192a88f5ad2e57b2918ba43fe25cf15f3371db64d4 + version: 3.2.1 + resolution: "jsonc-parser@npm:3.2.1" + checksum: fe2df6f39e21653781d52cae20c5b9e0ab62461918d97f9430b216cea9b6500efc1d8b42c6584cc0a7548b4c996055e9cdc39f09b9782fa6957af2f45306c530 languageName: node linkType: hard @@ -10201,13 +11312,6 @@ __metadata: languageName: node linkType: hard -"kind-of@npm:^6.0.3": - version: 6.0.3 - resolution: "kind-of@npm:6.0.3" - checksum: 5873d303fb36aad875b7538798867da2ae5c9e328d67194b0162a3659a627d22f742fc9c4ae95cd1704132a24b00cae5041fc00c0f6ef937dc17080dc4dbb962 - languageName: node - linkType: hard - "language-subtag-registry@npm:^0.3.20": version: 0.3.22 resolution: "language-subtag-registry@npm:0.3.22" @@ -10301,13 +11405,6 @@ __metadata: languageName: node linkType: hard -"local-pkg@npm:^0.4.3": - version: 0.4.3 - resolution: "local-pkg@npm:0.4.3" - checksum: 48f38c12721881370bca50ed3b5e3cc6fef741cfb4de7e48666f6ded07c1aaea53cf770cfef84a89bed286c17631111bf99a86241ddf6f679408c79c56f29560 - languageName: node - linkType: hard - "local-pkg@npm:^0.5.0": version: 0.5.0 resolution: "local-pkg@npm:0.5.0" @@ -10318,15 +11415,6 @@ __metadata: languageName: node linkType: hard -"locate-path@npm:^5.0.0": - version: 5.0.0 - resolution: "locate-path@npm:5.0.0" - dependencies: - p-locate: "npm:^4.1.0" - checksum: 83e51725e67517287d73e1ded92b28602e3ae5580b301fe54bfb76c0c723e3f285b19252e375712316774cf52006cb236aed5704692c32db0d5d089b69696e30 - languageName: node - linkType: hard - "locate-path@npm:^6.0.0": version: 6.0.0 resolution: "locate-path@npm:6.0.0" @@ -10448,16 +11536,6 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:^4.1.0": - version: 4.1.0 - resolution: "log-symbols@npm:4.1.0" - dependencies: - chalk: "npm:^4.1.0" - is-unicode-supported: "npm:^0.1.0" - checksum: fce1497b3135a0198803f9f07464165e9eb83ed02ceb2273930a6f8a508951178d8cf4f0378e9d28300a2ed2bc49050995d2bd5f53ab716bb15ac84d58c6ef74 - languageName: node - linkType: hard - "loglevel-plugin-prefix@npm:0.8.4": version: 0.8.4 resolution: "loglevel-plugin-prefix@npm:0.8.4" @@ -10466,9 +11544,9 @@ __metadata: linkType: hard "loglevel@npm:^1.8.1": - version: 1.8.1 - resolution: "loglevel@npm:1.8.1" - checksum: 36a786082a7e4f1d962de330122291da3a102b88dbde81a45eb92a045c38b0903783958ba39dce641440c0413da303410e7f2565f897bccad828853bd5974c86 + version: 1.9.1 + resolution: "loglevel@npm:1.9.1" + checksum: 863cbbcddf850a937482c604e2d11586574a5110b746bb49c7cc04739e01f6035f6db841d25377106dd330bca7142d74995f15a97c5f3ea0af86d9472d4a99f4 languageName: node linkType: hard @@ -10502,9 +11580,9 @@ __metadata: linkType: hard "lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": - version: 10.1.0 - resolution: "lru-cache@npm:10.1.0" - checksum: 207278d6fa711fb1f94a0835d4d4737441d2475302482a14785b10515e4c906a57ebf9f35bf060740c9560e91c7c1ad5a04fd7ed030972a9ba18bce2a228e95b + version: 10.2.0 + resolution: "lru-cache@npm:10.2.0" + checksum: 502ec42c3309c0eae1ce41afca471f831c278566d45a5273a0c51102dee31e0e250a62fa9029c3370988df33a14188a38e682c16143b794de78668de3643e302 languageName: node linkType: hard @@ -10526,13 +11604,6 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^7.7.1": - version: 7.18.3 - resolution: "lru-cache@npm:7.18.3" - checksum: 6029ca5aba3aacb554e919d7ef804fffd4adfc4c83db00fac8248c7c78811fb6d4b6f70f7fd9d55032b3823446546a007edaa66ad1f2377ae833bd983fac5d98 - languageName: node - linkType: hard - "lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" @@ -10542,16 +11613,16 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.30.1, magic-string@npm:^0.30.5": - version: 0.30.5 - resolution: "magic-string@npm:0.30.5" +"magic-string@npm:^0.30.5": + version: 0.30.7 + resolution: "magic-string@npm:0.30.7" dependencies: "@jridgewell/sourcemap-codec": "npm:^1.4.15" - checksum: c8a6b25f813215ca9db526f3a407d6dc0bf35429c2b8111d6f1c2cf6cf6afd5e2d9f9cd189416a0e3959e20ecd635f73639f9825c73de1074b29331fe36ace59 + checksum: 883eaaf6792a3263e44f4bcdcd35ace272268e4b98ed5a770ad711947958d2f9fc683e474945e306e2bdc152b7e44d369ee312690d87025b9879fc63fbe1409c languageName: node linkType: hard -"magicast@npm:^0.3.2": +"magicast@npm:^0.3.3": version: 0.3.3 resolution: "magicast@npm:0.3.3" dependencies: @@ -10578,30 +11649,6 @@ __metadata: languageName: node linkType: hard -"make-fetch-happen@npm:^10.0.4": - version: 10.2.1 - resolution: "make-fetch-happen@npm:10.2.1" - dependencies: - agentkeepalive: "npm:^4.2.1" - cacache: "npm:^16.1.0" - http-cache-semantics: "npm:^4.1.0" - http-proxy-agent: "npm:^5.0.0" - https-proxy-agent: "npm:^5.0.0" - is-lambda: "npm:^1.0.1" - lru-cache: "npm:^7.7.1" - minipass: "npm:^3.1.6" - minipass-collect: "npm:^1.0.2" - minipass-fetch: "npm:^2.0.3" - minipass-flush: "npm:^1.0.5" - minipass-pipeline: "npm:^1.2.4" - negotiator: "npm:^0.6.3" - promise-retry: "npm:^2.0.1" - socks-proxy-agent: "npm:^7.0.0" - ssri: "npm:^9.0.0" - checksum: fef5acb865a46f25ad0b5ad7d979799125db5dbb24ea811ffa850fbb804bc8e495df2237a8ec3a4fc6250e73c2f95549cca6d6d36a73b1faa61224504eb1188f - languageName: node - linkType: hard - "make-fetch-happen@npm:^13.0.0": version: 13.0.0 resolution: "make-fetch-happen@npm:13.0.0" @@ -10621,41 +11668,10 @@ __metadata: languageName: node linkType: hard -"make-fetch-happen@npm:^9.1.0": - version: 9.1.0 - resolution: "make-fetch-happen@npm:9.1.0" - dependencies: - agentkeepalive: "npm:^4.1.3" - cacache: "npm:^15.2.0" - http-cache-semantics: "npm:^4.1.0" - http-proxy-agent: "npm:^4.0.1" - https-proxy-agent: "npm:^5.0.0" - is-lambda: "npm:^1.0.1" - lru-cache: "npm:^6.0.0" - minipass: "npm:^3.1.3" - minipass-collect: "npm:^1.0.2" - minipass-fetch: "npm:^1.3.2" - minipass-flush: "npm:^1.0.5" - minipass-pipeline: "npm:^1.2.4" - negotiator: "npm:^0.6.2" - promise-retry: "npm:^2.0.1" - socks-proxy-agent: "npm:^6.0.0" - ssri: "npm:^8.0.0" - checksum: a868e74fc223a78afb7a1f8115133befdffae84f07a5f5dd9317cbf9f784a8373f28829a73ae3f31060e1b0cb4944e73257733c3b10c314354060fab412b6028 - languageName: node - linkType: hard - -"map-obj@npm:^1.0.0": - version: 1.0.1 - resolution: "map-obj@npm:1.0.1" - checksum: f8e6fc7f6137329c376c4524f6d25b3c243c17019bc8f621d15a2dcb855919e482a9298a78ae58b00dbd0e76b640bf6533aa343a9e993cfc16e0346a2507e7f8 - languageName: node - linkType: hard - -"map-obj@npm:^4.0.0": - version: 4.3.0 - resolution: "map-obj@npm:4.3.0" - checksum: fbc554934d1a27a1910e842bc87b177b1a556609dd803747c85ece420692380827c6ae94a95cce4407c054fa0964be3bf8226f7f2cb2e9eeee432c7c1985684e +"map-or-similar@npm:^1.5.0": + version: 1.5.0 + resolution: "map-or-similar@npm:1.5.0" + checksum: 3cf43bcd0e7af41d7bade5f8b5be6bb9d021cc47e6008ad545d071cf3a709ba782884002f9eec6ccd51f572fc17841e07bf74628e0bc3694c33f4622b03e4b4c languageName: node linkType: hard @@ -10689,23 +11705,12 @@ __metadata: languageName: node linkType: hard -"meow@npm:^9.0.0": - version: 9.0.0 - resolution: "meow@npm:9.0.0" +"memoizerific@npm:^1.11.3": + version: 1.11.3 + resolution: "memoizerific@npm:1.11.3" dependencies: - "@types/minimist": "npm:^1.2.0" - camelcase-keys: "npm:^6.2.2" - decamelize: "npm:^1.2.0" - decamelize-keys: "npm:^1.1.0" - hard-rejection: "npm:^2.1.0" - minimist-options: "npm:4.1.0" - normalize-package-data: "npm:^3.0.0" - read-pkg-up: "npm:^7.0.1" - redent: "npm:^3.0.0" - trim-newlines: "npm:^3.0.0" - type-fest: "npm:^0.18.0" - yargs-parser: "npm:^20.2.3" - checksum: 3d0f199b9ccd81856a112f651290676f6816833626df53cee72b8e2c9acbd95beea4fa1f9fa729a553b5a0e74b18954f9fbc74c3ab837b3fc44e57de98f6c18f + map-or-similar: "npm:^1.5.0" + checksum: 72b6b80699777d000f03db6e15fdabcd4afe77feb45be51fe195cb230c64a368fcfcfbb976375eac3283bd8193d6b1a67ac3081cae07f64fca73f1aa568d59e3 languageName: node linkType: hard @@ -10795,15 +11800,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^5.0.1": - version: 5.1.6 - resolution: "minimatch@npm:5.1.6" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 126b36485b821daf96d33b5c821dac600cc1ab36c87e7a532594f9b1652b1fa89a1eebcaad4dff17c764dce1a7ac1531327f190fed5f97d8f6e5f889c116c429 - languageName: node - linkType: hard - "minimatch@npm:^6.1.6": version: 6.2.0 resolution: "minimatch@npm:6.2.0" @@ -10822,26 +11818,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:~3.0.2": - version: 3.0.8 - resolution: "minimatch@npm:3.0.8" - dependencies: - brace-expansion: "npm:^1.1.7" - checksum: 6df5373cb1ea79020beb6887ff5576c58cfabcfd32c5a65c2cf58f326e4ee8eae84f129e5fa50b8a4347fa1d1e583f931285c9fb3040d984bdfb5109ef6607ec - languageName: node - linkType: hard - -"minimist-options@npm:4.1.0": - version: 4.1.0 - resolution: "minimist-options@npm:4.1.0" - dependencies: - arrify: "npm:^1.0.1" - is-plain-obj: "npm:^1.1.0" - kind-of: "npm:^6.0.3" - checksum: 8c040b3068811e79de1140ca2b708d3e203c8003eb9a414c1ab3cd467fc5f17c9ca02a5aef23bedc51a7f8bfbe77f87e9a7e31ec81fba304cda675b019496f4e - languageName: node - linkType: hard - "minimist@npm:^1.2.0, minimist@npm:^1.2.6": version: 1.2.8 resolution: "minimist@npm:1.2.8" @@ -10849,15 +11825,6 @@ __metadata: languageName: node linkType: hard -"minipass-collect@npm:^1.0.2": - version: 1.0.2 - resolution: "minipass-collect@npm:1.0.2" - dependencies: - minipass: "npm:^3.0.0" - checksum: 14df761028f3e47293aee72888f2657695ec66bd7d09cae7ad558da30415fdc4752bbfee66287dcc6fd5e6a2fa3466d6c484dc1cbd986525d9393b9523d97f10 - languageName: node - linkType: hard - "minipass-collect@npm:^2.0.1": version: 2.0.1 resolution: "minipass-collect@npm:2.0.1" @@ -10867,36 +11834,6 @@ __metadata: languageName: node linkType: hard -"minipass-fetch@npm:^1.3.2": - version: 1.4.1 - resolution: "minipass-fetch@npm:1.4.1" - dependencies: - encoding: "npm:^0.1.12" - minipass: "npm:^3.1.0" - minipass-sized: "npm:^1.0.3" - minizlib: "npm:^2.0.0" - dependenciesMeta: - encoding: - optional: true - checksum: 4c6f678d2c976c275ba35735aa18e341401d1fb94bbf38a36bb2c2d01835ac699f15b7ab1adaf4ee40a751361527d312a18853feaf9c0121f4904f811656575a - languageName: node - linkType: hard - -"minipass-fetch@npm:^2.0.3": - version: 2.1.2 - resolution: "minipass-fetch@npm:2.1.2" - dependencies: - encoding: "npm:^0.1.13" - minipass: "npm:^3.1.6" - minipass-sized: "npm:^1.0.3" - minizlib: "npm:^2.1.2" - dependenciesMeta: - encoding: - optional: true - checksum: 8cfc589563ae2a11eebbf79121ef9a526fd078fca949ed3f1e4a51472ca4a4aad89fcea1738982ce9d7d833116ecc9c6ae9ebbd844832a94e3f4a3d4d1b9d3b9 - languageName: node - linkType: hard - "minipass-fetch@npm:^3.0.0": version: 3.0.4 resolution: "minipass-fetch@npm:3.0.4" @@ -10921,7 +11858,7 @@ __metadata: languageName: node linkType: hard -"minipass-pipeline@npm:^1.2.2, minipass-pipeline@npm:^1.2.4": +"minipass-pipeline@npm:^1.2.4": version: 1.2.4 resolution: "minipass-pipeline@npm:1.2.4" dependencies: @@ -10939,7 +11876,7 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^3.0.0, minipass@npm:^3.1.0, minipass@npm:^3.1.1, minipass@npm:^3.1.3, minipass@npm:^3.1.6": +"minipass@npm:^3.0.0": version: 3.3.6 resolution: "minipass@npm:3.3.6" dependencies: @@ -10962,7 +11899,7 @@ __metadata: languageName: node linkType: hard -"minizlib@npm:^2.0.0, minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": +"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" dependencies: @@ -10972,7 +11909,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": +"mkdirp@npm:^1.0.3": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" bin: @@ -10981,7 +11918,7 @@ __metadata: languageName: node linkType: hard -"mlly@npm:^1.2.0, mlly@npm:^1.4.0, mlly@npm:^1.4.2": +"mlly@npm:^1.2.0, mlly@npm:^1.4.2": version: 1.5.0 resolution: "mlly@npm:1.5.0" dependencies: @@ -11000,7 +11937,7 @@ __metadata: languageName: node linkType: hard -"ms@npm:^2.0.0, ms@npm:^2.1.1": +"ms@npm:^2.1.1": version: 2.1.3 resolution: "ms@npm:2.1.3" checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d @@ -11008,25 +11945,21 @@ __metadata: linkType: hard "msw@npm:^2.0.6": - version: 2.1.1 - resolution: "msw@npm:2.1.1" + version: 2.2.0 + resolution: "msw@npm:2.2.0" dependencies: "@bundled-es-modules/cookie": "npm:^2.0.0" - "@bundled-es-modules/js-levenshtein": "npm:^2.0.1" "@bundled-es-modules/statuses": "npm:^1.0.1" + "@inquirer/confirm": "npm:^3.0.0" "@mswjs/cookies": "npm:^1.1.0" - "@mswjs/interceptors": "npm:^0.25.14" + "@mswjs/interceptors": "npm:^0.25.16" "@open-draft/until": "npm:^2.1.0" "@types/cookie": "npm:^0.6.0" - "@types/js-levenshtein": "npm:^1.1.3" "@types/statuses": "npm:^2.0.4" chalk: "npm:^4.1.2" - chokidar: "npm:^3.4.2" graphql: "npm:^16.8.1" headers-polyfill: "npm:^4.0.2" - inquirer: "npm:^8.2.0" is-node-process: "npm:^1.2.0" - js-levenshtein: "npm:^1.1.6" outvariant: "npm:^1.4.2" path-to-regexp: "npm:^6.2.0" strict-event-emitter: "npm:^0.5.1" @@ -11039,14 +11972,14 @@ __metadata: optional: true bin: msw: cli/index.js - checksum: 854434e3bfc3d7594e5d8ace221ac0d03c87a1daca32d340c968a43476713af86063119bd3eaceb391fc050eecf01910eb7e9fe7fb1d9206dc9077d6b7356b22 + checksum: 36e6a1f0bc89d1c84bf24c1cf7ca7c3fe5d5b032c825d52a832e9b815830976a86c17a8c3f1f506db720f44e99d04c9302e014cf569b51b2d2af62562a9fe62a languageName: node linkType: hard -"mute-stream@npm:0.0.8": - version: 0.0.8 - resolution: "mute-stream@npm:0.0.8" - checksum: a2d2e79dde87e3424ffc8c334472c7f3d17b072137734ca46e6f221131f1b014201cc593b69a38062e974fb2394d3d1cb4349f80f012bbf8b8ac1b28033e515f +"mute-stream@npm:^1.0.0": + version: 1.0.0 + resolution: "mute-stream@npm:1.0.0" + checksum: 36fc968b0e9c9c63029d4f9dc63911950a3bdf55c9a87f58d3a266289b67180201cade911e7699f8b2fa596b34c9db43dad37649e3f7fdd13c3bb9edb0017ee7 languageName: node linkType: hard @@ -11061,15 +11994,6 @@ __metadata: languageName: node linkType: hard -"nan@npm:^2.17.0": - version: 2.18.0 - resolution: "nan@npm:2.18.0" - dependencies: - node-gyp: "npm:latest" - checksum: 5520e22c64e2b5b495b1d765d6334c989b848bbe1502fec89c5857cabcc7f9f0474563377259e7574bff1c8a041d3b90e9ffa1f5e15502ffddee7b2550cc26a0 - languageName: node - linkType: hard - "nanoid@npm:^3.3.7": version: 3.3.7 resolution: "nanoid@npm:3.3.7" @@ -11093,7 +12017,7 @@ __metadata: languageName: node linkType: hard -"negotiator@npm:^0.6.2, negotiator@npm:^0.6.3": +"negotiator@npm:^0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3" checksum: 2723fb822a17ad55c93a588a4bc44d53b22855bf4be5499916ca0cab1e7165409d0b288ba2577d7b029f10ce18cf2ed8e703e5af31c984e1e2304277ef979837 @@ -11142,33 +12066,13 @@ __metadata: version: 2.7.0 resolution: "node-fetch@npm:2.7.0" dependencies: - whatwg-url: "npm:^5.0.0" - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - checksum: b24f8a3dc937f388192e59bcf9d0857d7b6940a2496f328381641cb616efccc9866e89ec43f2ec956bbd6c3d3ee05524ce77fe7b29ccd34692b3a16f237d6676 - languageName: node - linkType: hard - -"node-gyp@npm:^8.4.1": - version: 8.4.1 - resolution: "node-gyp@npm:8.4.1" - dependencies: - env-paths: "npm:^2.2.0" - glob: "npm:^7.1.4" - graceful-fs: "npm:^4.2.6" - make-fetch-happen: "npm:^9.1.0" - nopt: "npm:^5.0.0" - npmlog: "npm:^6.0.0" - rimraf: "npm:^3.0.2" - semver: "npm:^7.3.5" - tar: "npm:^6.1.2" - which: "npm:^2.0.2" - bin: - node-gyp: bin/node-gyp.js - checksum: 5ac19a7f6212c787f33bb72f889fafb1ce9d80b7ecb87b3785aebb0ff94a70cd5dbb3ecb435a308eaeb26d037c6edaf173951a9edacaadf0f4c3ae189f1e5077 + whatwg-url: "npm:^5.0.0" + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + checksum: b24f8a3dc937f388192e59bcf9d0857d7b6940a2496f328381641cb616efccc9866e89ec43f2ec956bbd6c3d3ee05524ce77fe7b29ccd34692b3a16f237d6676 languageName: node linkType: hard @@ -11217,41 +12121,6 @@ __metadata: languageName: node linkType: hard -"node-sass@npm:9.0.0": - version: 9.0.0 - resolution: "node-sass@npm:9.0.0" - dependencies: - async-foreach: "npm:^0.1.3" - chalk: "npm:^4.1.2" - cross-spawn: "npm:^7.0.3" - gaze: "npm:^1.0.0" - get-stdin: "npm:^4.0.1" - glob: "npm:^7.0.3" - lodash: "npm:^4.17.15" - make-fetch-happen: "npm:^10.0.4" - meow: "npm:^9.0.0" - nan: "npm:^2.17.0" - node-gyp: "npm:^8.4.1" - sass-graph: "npm:^4.0.1" - stdout-stream: "npm:^1.4.0" - true-case-path: "npm:^2.2.1" - bin: - node-sass: bin/node-sass - checksum: 614abdcadb3f3112ab8f68d10abcc5abdd87285865c1ffca031071338a40ecb3055e842ab2bc509c50ca389948da8bba3ff6c31c704b4a71349b7fdd67eb98e4 - languageName: node - linkType: hard - -"nopt@npm:^5.0.0": - version: 5.0.0 - resolution: "nopt@npm:5.0.0" - dependencies: - abbrev: "npm:1" - bin: - nopt: bin/nopt.js - checksum: 00f9bb2d16449469ba8ffcf9b8f0eae6bae285ec74b135fec533e5883563d2400c0cd70902d0a7759e47ac031ccf206ace4e86556da08ed3f1c66dda206e9ccd - languageName: node - linkType: hard - "nopt@npm:^7.0.0": version: 7.2.0 resolution: "nopt@npm:7.2.0" @@ -11263,30 +12132,6 @@ __metadata: languageName: node linkType: hard -"normalize-package-data@npm:^2.5.0": - version: 2.5.0 - resolution: "normalize-package-data@npm:2.5.0" - dependencies: - hosted-git-info: "npm:^2.1.4" - resolve: "npm:^1.10.0" - semver: "npm:2 || 3 || 4 || 5" - validate-npm-package-license: "npm:^3.0.1" - checksum: 644f830a8bb9b7cc9bf2f6150618727659ee27cdd0840d1c1f97e8e6cab0803a098a2c19f31c6247ad9d3a0792e61521a13a6e8cd87cc6bb676e3150612c03d4 - languageName: node - linkType: hard - -"normalize-package-data@npm:^3.0.0": - version: 3.0.3 - resolution: "normalize-package-data@npm:3.0.3" - dependencies: - hosted-git-info: "npm:^4.0.1" - is-core-module: "npm:^2.5.0" - semver: "npm:^7.3.4" - validate-npm-package-license: "npm:^3.0.1" - checksum: 3cd3b438c9c7b15d72ed2d1bbf0f8cc2d07bfe27702fc9e95d039f0af4e069dc75c0646e75068f9f9255a8aae64b59aa4fe2177e65787145fb996c3d38d48acb - languageName: node - linkType: hard - "normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": version: 3.0.0 resolution: "normalize-path@npm:3.0.0" @@ -11319,18 +12164,6 @@ __metadata: languageName: node linkType: hard -"npmlog@npm:^6.0.0": - version: 6.0.2 - resolution: "npmlog@npm:6.0.2" - dependencies: - are-we-there-yet: "npm:^3.0.0" - console-control-strings: "npm:^1.1.0" - gauge: "npm:^4.0.3" - set-blocking: "npm:^2.0.0" - checksum: 82b123677e62deb9e7472e27b92386c09e6e254ee6c8bcd720b3011013e4168bc7088e984f4fbd53cb6e12f8b4690e23e4fa6132689313e0d0dc4feea45489bb - languageName: node - linkType: hard - "nwsapi@npm:^2.2.4": version: 2.2.7 resolution: "nwsapi@npm:2.2.7" @@ -11410,7 +12243,7 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.13.1, object-inspect@npm:^1.9.0": +"object-inspect@npm:^1.13.1": version: 1.13.1 resolution: "object-inspect@npm:1.13.1" checksum: 92f4989ed83422d56431bc39656d4c780348eb15d397ce352ade6b7fec08f973b53744bd41b94af021901e61acaf78fcc19e65bf464ecc0df958586a672700f0 @@ -11469,14 +12302,15 @@ __metadata: linkType: hard "object.groupby@npm:^1.0.1": - version: 1.0.1 - resolution: "object.groupby@npm:1.0.1" + version: 1.0.2 + resolution: "object.groupby@npm:1.0.2" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" - checksum: b7123d91403f95d63978513b23a6079c30f503311f64035fafc863c291c787f287b58df3b21ef002ce1d0b820958c9009dd5a8ab696e0eca325639d345e41524 + array.prototype.filter: "npm:^1.0.3" + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.0.0" + checksum: 07c1bea1772c45f7967a63358a683ef7b0bd99cabe0563e6fee3e8acc061cc5984d2f01a46472ebf10b2cb439298c46776b2134550dce457fd7240baaaa4f592 languageName: node linkType: hard @@ -11528,7 +12362,7 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^5.1.0, onetime@npm:^5.1.2": +"onetime@npm:^5.1.2": version: 5.1.2 resolution: "onetime@npm:5.1.2" dependencies: @@ -11557,19 +12391,12 @@ __metadata: languageName: node linkType: hard -"openapi-types@npm:^12.1.3": - version: 12.1.3 - resolution: "openapi-types@npm:12.1.3" - checksum: 9d1d7ed848622b63d0a4c3f881689161b99427133054e46b8e3241e137f1c78bb0031c5d80b420ee79ac2e91d2e727ffd6fc13c553d1b0488ddc8ad389dcbef8 - languageName: node - linkType: hard - -"openapi3-ts@npm:^3.0.0, openapi3-ts@npm:^3.2.0": - version: 3.2.0 - resolution: "openapi3-ts@npm:3.2.0" +"openapi3-ts@npm:4.2.1, openapi3-ts@npm:^4.2.1": + version: 4.2.1 + resolution: "openapi3-ts@npm:4.2.1" dependencies: - yaml: "npm:^2.2.1" - checksum: f3aee3ee2ce600bd945561cd8b69c5447f8c4b8f3e9c09bd1751ad8f20bbf601d5ccfca4cc0402693b74c5bd7b71a8e3890b32c37ab8cbafc98214265fcb362b + yaml: "npm:^2.3.4" + checksum: aac091f1e37b53af8f6de1cf77b247c4eebdbca7c769a46c8c89b772f014f1fcf68030b7ec0ea77c59b0408aa6b2e2a5e6a5b21cd04c7dc10937614b8ed75f0c languageName: node linkType: hard @@ -11587,23 +12414,6 @@ __metadata: languageName: node linkType: hard -"ora@npm:^5.4.1": - version: 5.4.1 - resolution: "ora@npm:5.4.1" - dependencies: - bl: "npm:^4.1.0" - chalk: "npm:^4.1.0" - cli-cursor: "npm:^3.1.0" - cli-spinners: "npm:^2.5.0" - is-interactive: "npm:^1.0.0" - is-unicode-supported: "npm:^0.1.0" - log-symbols: "npm:^4.1.0" - strip-ansi: "npm:^6.0.0" - wcwidth: "npm:^1.0.1" - checksum: 8d071828f40090a8e1c6e8f350c6eb065808e9ab2b3e57fa37e0d5ae78cb46dac00117c8f12c3c8b8da2923454afbd8265e08c10b69881170c5b269f451e7fef - languageName: node - linkType: hard - "orderedmap@npm:^2.0.0": version: 2.1.1 resolution: "orderedmap@npm:2.1.1" @@ -11611,18 +12421,18 @@ __metadata: languageName: node linkType: hard -"orval@npm:^6.22.1": - version: 6.23.0 - resolution: "orval@npm:6.23.0" +"orval@npm:^6.25.0": + version: 6.25.0 + resolution: "orval@npm:6.25.0" dependencies: "@apidevtools/swagger-parser": "npm:^10.1.0" - "@orval/angular": "npm:6.23.0" - "@orval/axios": "npm:6.23.0" - "@orval/core": "npm:6.23.0" - "@orval/mock": "npm:6.23.0" - "@orval/query": "npm:6.23.0" - "@orval/swr": "npm:6.23.0" - "@orval/zod": "npm:6.23.0" + "@orval/angular": "npm:6.25.0" + "@orval/axios": "npm:6.25.0" + "@orval/core": "npm:6.25.0" + "@orval/mock": "npm:6.25.0" + "@orval/query": "npm:6.25.0" + "@orval/swr": "npm:6.25.0" + "@orval/zod": "npm:6.25.0" ajv: "npm:^8.12.0" cac: "npm:^6.7.14" chalk: "npm:^4.1.2" @@ -11632,20 +12442,12 @@ __metadata: find-up: "npm:5.0.0" fs-extra: "npm:^11.2.0" lodash.uniq: "npm:^4.5.0" - openapi-types: "npm:^12.1.3" - openapi3-ts: "npm:^3.2.0" + openapi3-ts: "npm:4.2.1" string-argv: "npm:^0.3.2" tsconfck: "npm:^2.0.1" bin: orval: dist/bin/orval.js - checksum: c1749f0bfef81454424f77c9b251b90847a5dbc97094f84872d84593e5bab0432abfbdf14ce8c4de7e073c9905661e9a0515b5ace5d50eee3b6870642c80009d - languageName: node - linkType: hard - -"os-tmpdir@npm:~1.0.2": - version: 1.0.2 - resolution: "os-tmpdir@npm:1.0.2" - checksum: 5666560f7b9f10182548bf7013883265be33620b1c1b4a4d405c25be2636f970c5488ff3e6c48de75b55d02bde037249fe5dbfbb4c0fb7714953d56aed062e6d + checksum: edf2aba2f63d105337697d56097c3e6e8167cbaf83f762275493ee0289fd4b48d07f5ebb2ae5d3aaa4466d6522dd1370b4f8fd7b3dca8015c5906336b284ad44 languageName: node linkType: hard @@ -11656,15 +12458,6 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^2.2.0": - version: 2.3.0 - resolution: "p-limit@npm:2.3.0" - dependencies: - p-try: "npm:^2.0.0" - checksum: 84ff17f1a38126c3314e91ecfe56aecbf36430940e2873dadaa773ffe072dc23b7af8e46d4b6485d302a11673fe94c6b67ca2cfbb60c989848b02100d0594ac1 - languageName: node - linkType: hard - "p-limit@npm:^3.0.2": version: 3.1.0 resolution: "p-limit@npm:3.1.0" @@ -11674,15 +12467,6 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^4.0.0": - version: 4.0.0 - resolution: "p-limit@npm:4.0.0" - dependencies: - yocto-queue: "npm:^1.0.0" - checksum: 01d9d70695187788f984226e16c903475ec6a947ee7b21948d6f597bed788e3112cc7ec2e171c1d37125057a5f45f3da21d8653e04a3a793589e12e9e80e756b - languageName: node - linkType: hard - "p-limit@npm:^5.0.0": version: 5.0.0 resolution: "p-limit@npm:5.0.0" @@ -11692,15 +12476,6 @@ __metadata: languageName: node linkType: hard -"p-locate@npm:^4.1.0": - version: 4.1.0 - resolution: "p-locate@npm:4.1.0" - dependencies: - p-limit: "npm:^2.2.0" - checksum: 513bd14a455f5da4ebfcb819ef706c54adb09097703de6aeaa5d26fe5ea16df92b48d1ac45e01e3944ce1e6aa2a66f7f8894742b8c9d6e276e16cd2049a2b870 - languageName: node - linkType: hard - "p-locate@npm:^5.0.0": version: 5.0.0 resolution: "p-locate@npm:5.0.0" @@ -11719,13 +12494,6 @@ __metadata: languageName: node linkType: hard -"p-try@npm:^2.0.0": - version: 2.2.0 - resolution: "p-try@npm:2.2.0" - checksum: f8a8e9a7693659383f06aec604ad5ead237c7a261c18048a6e1b5b85a5f8a067e469aa24f5bc009b991ea3b058a87f5065ef4176793a200d4917349881216cae - languageName: node - linkType: hard - "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -11875,6 +12643,13 @@ __metadata: languageName: node linkType: hard +"possible-typed-array-names@npm:^1.0.0": + version: 1.0.0 + resolution: "possible-typed-array-names@npm:1.0.0" + checksum: 8ed3e96dfeea1c5880c1f4c9cb707e5fb26e8be22f14f82ef92df20fd2004e635c62ba47fbe8f2bb63bfd80dac1474be2fb39798da8c2feba2815435d1f749af + languageName: node + linkType: hard + "postcss-import@npm:^15.1.0": version: 15.1.0 resolution: "postcss-import@npm:15.1.0" @@ -11955,14 +12730,25 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.23, postcss@npm:^8.4.32": - version: 8.4.33 - resolution: "postcss@npm:8.4.33" +"postcss@npm:^8.4.23, postcss@npm:^8.4.35": + version: 8.4.35 + resolution: "postcss@npm:8.4.35" dependencies: nanoid: "npm:^3.3.7" picocolors: "npm:^1.0.0" source-map-js: "npm:^1.0.2" - checksum: e22a4594c255f26117f38419fb494d7ecab0f596cd409f7aadc8a6173abf180ed7ea970cd13fd366ab12b5840be901d2a09b25197700c2ebcb5a8077326bf519 + checksum: 93a7ce50cd6188f5f486a9ca98950ad27c19dfed996c45c414fa242944497e4d084a8760d3537f078630226f2bd3c6ab84b813b488740f4432e7c7039cd73a20 + languageName: node + linkType: hard + +"postcss@npm:^8.4.38": + version: 8.4.38 + resolution: "postcss@npm:8.4.38" + dependencies: + nanoid: "npm:^3.3.7" + picocolors: "npm:^1.0.0" + source-map-js: "npm:^1.2.0" + checksum: 6e44a7ed835ffa9a2b096e8d3e5dfc6bcf331a25c48aeb862dd54e3aaecadf814fa22be224fd308f87d08adf2299164f88c5fd5ab1c4ef6cbd693ceb295377f4 languageName: node linkType: hard @@ -12074,7 +12860,7 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^29.5.0, pretty-format@npm:^29.7.0": +"pretty-format@npm:^29.7.0": version: 29.7.0 resolution: "pretty-format@npm:29.7.0" dependencies: @@ -12092,13 +12878,6 @@ __metadata: languageName: node linkType: hard -"process-nextick-args@npm:~2.0.0": - version: 2.0.1 - resolution: "process-nextick-args@npm:2.0.1" - checksum: 1d38588e520dab7cea67cbbe2efdd86a10cc7a074c09657635e34f035277b59fbb57d09d8638346bf7090f8e8ebc070c96fa5fd183b777fff4f5edff5e9466cf - languageName: node - linkType: hard - "proj4@npm:^2.3.14": version: 2.10.0 resolution: "proj4@npm:2.10.0" @@ -12118,13 +12897,6 @@ __metadata: languageName: node linkType: hard -"promise-inflight@npm:^1.0.1": - version: 1.0.1 - resolution: "promise-inflight@npm:1.0.1" - checksum: 1560d413ea20c5a74f3631d39ba8cbd1972b9228072a755d01e1f5ca5110382d9af76a1582d889445adc6e75bb5ac4886b56dc4b6eae51b30145d7bb1ac7505b - languageName: node - linkType: hard - "promise-retry@npm:^2.0.1": version: 2.0.1 resolution: "promise-retry@npm:2.0.1" @@ -12135,7 +12907,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15, prop-types@npm:^15.6.0, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": +"prop-types@npm:^15.6.0, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -12146,7 +12918,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-changeset@npm:^2.2.0": +"prosemirror-changeset@npm:^2.2.1": version: 2.2.1 resolution: "prosemirror-changeset@npm:2.2.1" dependencies: @@ -12155,7 +12927,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-collab@npm:^1.3.0": +"prosemirror-collab@npm:^1.3.1": version: 1.3.1 resolution: "prosemirror-collab@npm:1.3.1" dependencies: @@ -12164,7 +12936,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-commands@npm:^1.0.0, prosemirror-commands@npm:^1.3.1": +"prosemirror-commands@npm:^1.0.0, prosemirror-commands@npm:^1.5.2": version: 1.5.2 resolution: "prosemirror-commands@npm:1.5.2" dependencies: @@ -12175,7 +12947,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-dropcursor@npm:^1.5.0": +"prosemirror-dropcursor@npm:^1.8.1": version: 1.8.1 resolution: "prosemirror-dropcursor@npm:1.8.1" dependencies: @@ -12186,7 +12958,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-gapcursor@npm:^1.3.1": +"prosemirror-gapcursor@npm:^1.3.2": version: 1.3.2 resolution: "prosemirror-gapcursor@npm:1.3.2" dependencies: @@ -12198,7 +12970,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-history@npm:^1.0.0, prosemirror-history@npm:^1.3.0": +"prosemirror-history@npm:^1.0.0, prosemirror-history@npm:^1.3.2": version: 1.3.2 resolution: "prosemirror-history@npm:1.3.2" dependencies: @@ -12210,17 +12982,17 @@ __metadata: languageName: node linkType: hard -"prosemirror-inputrules@npm:^1.2.0": - version: 1.3.0 - resolution: "prosemirror-inputrules@npm:1.3.0" +"prosemirror-inputrules@npm:^1.3.0": + version: 1.4.0 + resolution: "prosemirror-inputrules@npm:1.4.0" dependencies: prosemirror-state: "npm:^1.0.0" prosemirror-transform: "npm:^1.0.0" - checksum: dbdfe2620542fece02f9848edd6d58c14fc3f46c34f2945233d7438cc074401b47a28cb1e0accf00b0bc771a345bb717dc4f6c6d11787f184c9048f5487d5b44 + checksum: 04453d06a4bb3540e3df254e46bcafd4faaf73cd72f4486a804af598a084ee9cddb9fedd23a09c34c79ed98182b151461f447e4f5920bdd7465327975c773bca languageName: node linkType: hard -"prosemirror-keymap@npm:^1.0.0, prosemirror-keymap@npm:^1.1.2, prosemirror-keymap@npm:^1.2.0": +"prosemirror-keymap@npm:^1.0.0, prosemirror-keymap@npm:^1.1.2, prosemirror-keymap@npm:^1.2.2": version: 1.2.2 resolution: "prosemirror-keymap@npm:1.2.2" dependencies: @@ -12230,7 +13002,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-markdown@npm:^1.10.1": +"prosemirror-markdown@npm:^1.12.0": version: 1.12.0 resolution: "prosemirror-markdown@npm:1.12.0" dependencies: @@ -12240,7 +13012,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-menu@npm:^1.2.1": +"prosemirror-menu@npm:^1.2.4": version: 1.2.4 resolution: "prosemirror-menu@npm:1.2.4" dependencies: @@ -12252,7 +13024,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-model@npm:^1.0.0, prosemirror-model@npm:^1.16.0, prosemirror-model@npm:^1.18.1, prosemirror-model@npm:^1.19.0, prosemirror-model@npm:^1.8.1": +"prosemirror-model@npm:^1.0.0, prosemirror-model@npm:^1.16.0, prosemirror-model@npm:^1.19.0, prosemirror-model@npm:^1.19.4, prosemirror-model@npm:^1.8.1": version: 1.19.4 resolution: "prosemirror-model@npm:1.19.4" dependencies: @@ -12261,7 +13033,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-schema-basic@npm:^1.2.0": +"prosemirror-schema-basic@npm:^1.2.2": version: 1.2.2 resolution: "prosemirror-schema-basic@npm:1.2.2" dependencies: @@ -12270,7 +13042,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-schema-list@npm:^1.2.2": +"prosemirror-schema-list@npm:^1.3.0": version: 1.3.0 resolution: "prosemirror-schema-list@npm:1.3.0" dependencies: @@ -12281,7 +13053,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-state@npm:^1.0.0, prosemirror-state@npm:^1.2.2, prosemirror-state@npm:^1.3.1, prosemirror-state@npm:^1.4.1": +"prosemirror-state@npm:^1.0.0, prosemirror-state@npm:^1.2.2, prosemirror-state@npm:^1.3.1, prosemirror-state@npm:^1.4.3": version: 1.4.3 resolution: "prosemirror-state@npm:1.4.3" dependencies: @@ -12292,7 +13064,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-tables@npm:^1.3.0": +"prosemirror-tables@npm:^1.3.5": version: 1.3.5 resolution: "prosemirror-tables@npm:1.3.5" dependencies: @@ -12305,7 +13077,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-trailing-node@npm:^2.0.2": +"prosemirror-trailing-node@npm:^2.0.7": version: 2.0.7 resolution: "prosemirror-trailing-node@npm:2.0.7" dependencies: @@ -12320,7 +13092,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-transform@npm:^1.0.0, prosemirror-transform@npm:^1.1.0, prosemirror-transform@npm:^1.2.1, prosemirror-transform@npm:^1.7.0, prosemirror-transform@npm:^1.7.3": +"prosemirror-transform@npm:^1.0.0, prosemirror-transform@npm:^1.1.0, prosemirror-transform@npm:^1.2.1, prosemirror-transform@npm:^1.7.3, prosemirror-transform@npm:^1.8.0": version: 1.8.0 resolution: "prosemirror-transform@npm:1.8.0" dependencies: @@ -12329,7 +13101,7 @@ __metadata: languageName: node linkType: hard -"prosemirror-view@npm:^1.0.0, prosemirror-view@npm:^1.1.0, prosemirror-view@npm:^1.13.3, prosemirror-view@npm:^1.27.0, prosemirror-view@npm:^1.28.2, prosemirror-view@npm:^1.31.0": +"prosemirror-view@npm:^1.0.0, prosemirror-view@npm:^1.1.0, prosemirror-view@npm:^1.13.3, prosemirror-view@npm:^1.27.0, prosemirror-view@npm:^1.31.0, prosemirror-view@npm:^1.32.7": version: 1.32.7 resolution: "prosemirror-view@npm:1.32.7" dependencies: @@ -12375,12 +13147,12 @@ __metadata: "@axe-core/react": "npm:^4.8.2" "@faker-js/faker": "npm:^8.3.1" "@headlessui/react": "npm:^1.7.17" - "@pzh-ui/components": "npm:^0.0.452" - "@pzh-ui/config": "npm:^0.0.56" - "@pzh-ui/css": "npm:^0.0.75" - "@pzh-ui/icons": "npm:^0.0.47" - "@react-hookz/web": "npm:^24.0.2" - "@tanstack/react-query": "npm:^5.14.2" + "@pzh-ui/components": "npm:^0.0.541" + "@pzh-ui/config": "npm:^0.0.69" + "@pzh-ui/css": "npm:^0.0.96" + "@pzh-ui/icons": "npm:^0.0.60" + "@react-hookz/web": "npm:^24.0.4" + "@tanstack/react-query": "npm:^5.24.7" "@testing-library/dom": "npm:^9.3.3" "@testing-library/jest-dom": "npm:^6.1.5" "@testing-library/react": "npm:^14.1.2" @@ -12393,28 +13165,26 @@ __metadata: "@types/lodash.clonedeep": "npm:^4.5.6" "@types/lodash.debounce": "npm:^4.0.7" "@types/lodash.groupby": "npm:^4.6.7" - "@types/node": "npm:^20.10.5" "@types/proj4leaflet": "npm:^1.0.10" - "@types/react": "npm:^18.2.15" - "@types/react-dom": "npm:^18.2.7" + "@types/react": "npm:^18.3.3" + "@types/react-dom": "npm:^18.3.0" "@types/react-leaflet": "npm:^3.0.0" - "@types/react-router-dom": "npm:^5.3.2" + "@types/react-router-dom": "npm:^5.3.3" "@types/uuid": "npm:^9.0.3" "@vitejs/plugin-react": "npm:^4.2.1" - "@vitest/coverage-v8": "npm:^1.0.4" + "@vitest/coverage-v8": "npm:^1.2.2" add: "npm:^2.0.6" autoprefixer: "npm:^10.4.4" - axios: "npm:^1.6.2" + axios: "npm:^1.6.7" c8: "npm:^8.0.0" - classnames: "npm:^2.3.2" + clsx: "npm:^2.1.0" concurrently: "npm:^8.2.2" d3: "npm:^7.8.5" - date-fns: "npm:^2.23.0" - dompurify: "npm:^3.0.5" + dompurify: "npm:^3.0.9" dotenv: "npm:^16.3.1" eslint: "npm:^8.48.0" eslint-plugin-prettier: "npm:^5.0.0" - formik: "npm:^2.4.2" + formik: "npm:^2.4.6" jsdom: "npm:^22.1.0" jwt-decode: "npm:^4.0.0" leaflet: "npm:^1.9.4" @@ -12424,32 +13194,40 @@ __metadata: lodash.groupby: "npm:^4.6.0" msw: "npm:^2.0.6" node-htmldiff: "npm:^0.9.4" - node-sass: "npm:9.0.0" - orval: "npm:^6.22.1" + orval: "npm:^6.25.0" prettier: "npm:2.8.8" proj4leaflet: "npm:^1.0.2" - react: "npm:^18.2.0" + react: "npm:^18.3.1" react-content-loader: "npm:^6.2.1" - react-dom: "npm:^18.2.0" - react-error-boundary: "npm:^4.0.10" - react-helmet-async: "npm:^2.0.3" + react-dom: "npm:^18.3.1" + react-error-boundary: "npm:^4.0.13" + react-helmet-async: "npm:^2.0.4" react-leaflet: "npm:^4.2.1" - react-router-dom: "npm:^6.14.2" + react-router-dom: "npm:^6.22.2" rollup-plugin-visualizer: "npm:^5.11.0" sass: "npm:^1.63.6" - tailwindcss: "npm:^3.3.6" + tailwindcss: "npm:^3.4.1" typescript: "npm:^5.3.3" uuid: "npm:^9.0.1" - vite: "npm:^5.0.7" + vite: "npm:^5.2.11" vite-plugin-svgr: "npm:^4.2.0" - vite-tsconfig-paths: "npm:^4.2.2" + vite-tsconfig-paths: "npm:^4.3.1" vitest: "npm:^1.0.4" zod: "npm:^3.22.4" zod-formik-adapter: "npm:^1.2.0" - zustand: "npm:^4.4.7" + zustand: "npm:^4.5.2" languageName: unknown linkType: soft +"qs@npm:^6.10.0": + version: 6.12.1 + resolution: "qs@npm:6.12.1" + dependencies: + side-channel: "npm:^1.0.6" + checksum: 035bcad2a1ab0175bac7a74c904c15913bdac252834149ccff988c93a51de02642fe7be10e43058ba4dc4094bb28ce9b59d12b9e91d40997f445cfde3ecc1c29 + languageName: node + linkType: hard + "querystringify@npm:^2.1.1": version: 2.2.0 resolution: "querystringify@npm:2.2.0" @@ -12464,58 +13242,88 @@ __metadata: languageName: node linkType: hard -"quick-lru@npm:^4.0.1": - version: 4.0.1 - resolution: "quick-lru@npm:4.0.1" - checksum: 5c7c75f1c696750f619b165cc9957382f919e4207dabf04597a64f0298861391cdc5ee91a1dde1a5d460ecf7ee1af7fc36fef6d155bef2be66f05d43fd63d4f0 +"ramda@npm:0.29.0": + version: 0.29.0 + resolution: "ramda@npm:0.29.0" + checksum: b156660f2c58b4a13bcc4f1a0eabc1145d8db11d33d26a2fb03cd6adf3983a1c1f2bbaaf708c421029e9b09684262d056752623f7e62b79a503fb9217dec69d4 languageName: node linkType: hard -"react-aria@npm:^3.26.0": - version: 3.31.1 - resolution: "react-aria@npm:3.31.1" - dependencies: - "@internationalized/string": "npm:^3.2.0" - "@react-aria/breadcrumbs": "npm:^3.5.9" - "@react-aria/button": "npm:^3.9.1" - "@react-aria/calendar": "npm:^3.5.4" - "@react-aria/checkbox": "npm:^3.13.0" - "@react-aria/combobox": "npm:^3.8.2" - "@react-aria/datepicker": "npm:^3.9.1" - "@react-aria/dialog": "npm:^3.5.10" - "@react-aria/dnd": "npm:^3.5.1" - "@react-aria/focus": "npm:^3.16.0" - "@react-aria/gridlist": "npm:^3.7.3" - "@react-aria/i18n": "npm:^3.10.0" - "@react-aria/interactions": "npm:^3.20.1" - "@react-aria/label": "npm:^3.7.4" - "@react-aria/link": "npm:^3.6.3" - "@react-aria/listbox": "npm:^3.11.3" - "@react-aria/menu": "npm:^3.12.0" - "@react-aria/meter": "npm:^3.4.9" - "@react-aria/numberfield": "npm:^3.10.2" - "@react-aria/overlays": "npm:^3.20.0" - "@react-aria/progress": "npm:^3.4.9" - "@react-aria/radio": "npm:^3.10.0" - "@react-aria/searchfield": "npm:^3.7.1" - "@react-aria/select": "npm:^3.14.1" - "@react-aria/selection": "npm:^3.17.3" - "@react-aria/separator": "npm:^3.3.9" - "@react-aria/slider": "npm:^3.7.4" - "@react-aria/ssr": "npm:^3.9.1" - "@react-aria/switch": "npm:^3.6.0" - "@react-aria/table": "npm:^3.13.3" - "@react-aria/tabs": "npm:^3.8.3" - "@react-aria/tag": "npm:^3.3.1" - "@react-aria/textfield": "npm:^3.14.1" - "@react-aria/tooltip": "npm:^3.7.0" - "@react-aria/utils": "npm:^3.23.0" - "@react-aria/visually-hidden": "npm:^3.8.8" - "@react-types/shared": "npm:^3.22.0" +"react-aria-components@npm:^1.1.1": + version: 1.1.1 + resolution: "react-aria-components@npm:1.1.1" + dependencies: + "@internationalized/date": "npm:^3.5.2" + "@internationalized/string": "npm:^3.2.1" + "@react-aria/focus": "npm:^3.16.2" + "@react-aria/interactions": "npm:^3.21.1" + "@react-aria/menu": "npm:^3.13.1" + "@react-aria/toolbar": "npm:3.0.0-beta.3" + "@react-aria/utils": "npm:^3.23.2" + "@react-stately/menu": "npm:^3.6.1" + "@react-stately/table": "npm:^3.11.6" + "@react-stately/utils": "npm:^3.9.1" + "@react-types/form": "npm:^3.7.2" + "@react-types/grid": "npm:^3.2.4" + "@react-types/shared": "npm:^3.22.1" + "@react-types/table": "npm:^3.9.3" + "@swc/helpers": "npm:^0.5.0" + client-only: "npm:^0.0.1" + react-aria: "npm:^3.32.1" + react-stately: "npm:^3.30.1" + use-sync-external-store: "npm:^1.2.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 + checksum: c3e92afa10df49e66ef9022b397f55780a84ec76b383f64e7aaa7a5a8053330f18c673b2904f5b379f1c2d80369e5eaf9a8c0e68df6d7efd684746300f184e09 + languageName: node + linkType: hard + +"react-aria@npm:^3.32.1": + version: 3.33.1 + resolution: "react-aria@npm:3.33.1" + dependencies: + "@internationalized/string": "npm:^3.2.3" + "@react-aria/breadcrumbs": "npm:^3.5.13" + "@react-aria/button": "npm:^3.9.5" + "@react-aria/calendar": "npm:^3.5.8" + "@react-aria/checkbox": "npm:^3.14.3" + "@react-aria/combobox": "npm:^3.9.1" + "@react-aria/datepicker": "npm:^3.10.1" + "@react-aria/dialog": "npm:^3.5.14" + "@react-aria/dnd": "npm:^3.6.1" + "@react-aria/focus": "npm:^3.17.1" + "@react-aria/gridlist": "npm:^3.8.1" + "@react-aria/i18n": "npm:^3.11.1" + "@react-aria/interactions": "npm:^3.21.3" + "@react-aria/label": "npm:^3.7.8" + "@react-aria/link": "npm:^3.7.1" + "@react-aria/listbox": "npm:^3.12.1" + "@react-aria/menu": "npm:^3.14.1" + "@react-aria/meter": "npm:^3.4.13" + "@react-aria/numberfield": "npm:^3.11.3" + "@react-aria/overlays": "npm:^3.22.1" + "@react-aria/progress": "npm:^3.4.13" + "@react-aria/radio": "npm:^3.10.4" + "@react-aria/searchfield": "npm:^3.7.5" + "@react-aria/select": "npm:^3.14.5" + "@react-aria/selection": "npm:^3.18.1" + "@react-aria/separator": "npm:^3.3.13" + "@react-aria/slider": "npm:^3.7.8" + "@react-aria/ssr": "npm:^3.9.4" + "@react-aria/switch": "npm:^3.6.4" + "@react-aria/table": "npm:^3.14.1" + "@react-aria/tabs": "npm:^3.9.1" + "@react-aria/tag": "npm:^3.4.1" + "@react-aria/textfield": "npm:^3.14.5" + "@react-aria/tooltip": "npm:^3.7.4" + "@react-aria/utils": "npm:^3.24.1" + "@react-aria/visually-hidden": "npm:^3.8.12" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: c4e7a213d86fe9c9bcd11343dfa0339e1642a954bdc50b0ee2c9c4c42671fb13e59ccc3f2fdb5791f5449822b89b2f4f2e8ff97293f90114f250f7e33139dfd1 + checksum: 545d789afa72ea4385452e9344742018be97544d668331486ff87cd1fc64153b494a0042c06dfc207ba271b20440cadf2a07fd4f94baee8e26c2c48ec78b58b6 languageName: node linkType: hard @@ -12528,7 +13336,7 @@ __metadata: languageName: node linkType: hard -"react-datepicker@npm:^4.16.0, react-datepicker@npm:^4.7.0": +"react-datepicker@npm:^4.7.0": version: 4.25.0 resolution: "react-datepicker@npm:4.25.0" dependencies: @@ -12545,39 +13353,53 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^18.2.0": - version: 18.2.0 - resolution: "react-dom@npm:18.2.0" +"react-datepicker@npm:^6.9.0": + version: 6.9.0 + resolution: "react-datepicker@npm:6.9.0" + dependencies: + "@floating-ui/react": "npm:^0.26.2" + clsx: "npm:^2.1.0" + date-fns: "npm:^3.3.1" + prop-types: "npm:^15.7.2" + react-onclickoutside: "npm:^6.13.0" + peerDependencies: + react: ^16.9.0 || ^17 || ^18 + react-dom: ^16.9.0 || ^17 || ^18 + checksum: 7effd81e0e00e77d691c552bed77e2b08f7abc377528ae67727de9cc08eb05f7ec021f3daa40748dd7d32b12dd6cf2833eac0cbc2d9f3026fa8c606100752d32 + languageName: node + linkType: hard + +"react-dom@npm:^18.3.1": + version: 18.3.1 + resolution: "react-dom@npm:18.3.1" dependencies: loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.0" + scheduler: "npm:^0.23.2" peerDependencies: - react: ^18.2.0 - checksum: ca5e7762ec8c17a472a3605b6f111895c9f87ac7d43a610ab7024f68cd833d08eda0625ce02ec7178cc1f3c957cf0b9273cdc17aa2cd02da87544331c43b1d21 + react: ^18.3.1 + checksum: 3f4b73a3aa083091173b29812b10394dd06f4ac06aff410b74702cfb3aa29d7b0ced208aab92d5272919b612e5cda21aeb1d54191848cf6e46e9e354f3541f81 languageName: node linkType: hard -"react-dropzone@npm:^14.2.3": - version: 14.2.3 - resolution: "react-dropzone@npm:14.2.3" +"react-dropzone-esm@npm:^15.0.1": + version: 15.0.1 + resolution: "react-dropzone-esm@npm:15.0.1" dependencies: - attr-accept: "npm:^2.2.2" - file-selector: "npm:^0.6.0" prop-types: "npm:^15.8.1" peerDependencies: react: ">= 16.8 || 18.0.0" - checksum: 34cf1758a896795b579adab5f9cdc144330577ab1826a0b66ff9daa8c60a80ed6b31b8f989647664f2548cfe00b336e9c31a2f3dd8de43111c8318fcc89b279c + checksum: c6b9aa91fcb10f62a1d1758d38d6e38f1b4030419a321a477df70b05a6831a2bbe2dae4a926dece8543243bc6bba77521309b69eb707fc40f346391f554211dd languageName: node linkType: hard -"react-error-boundary@npm:^4.0.10": - version: 4.0.12 - resolution: "react-error-boundary@npm:4.0.12" +"react-error-boundary@npm:^4.0.13": + version: 4.0.13 + resolution: "react-error-boundary@npm:4.0.13" dependencies: "@babel/runtime": "npm:^7.12.5" peerDependencies: react: ">=16.13.1" - checksum: ba59f885eae3c3786548086c6c2088a9f511080c4052e778017959e9e0b6461892efdcf58fcfc2b3a6bc3e79e17cf842fc8ccdc6d82698c51c2ccab12c8c0b85 + checksum: 28fdf498a58621e21d93978c61719c52455bc00b778080259c5830fe003736153469ebc84f243d7989567b1196e25648c7592f7c8e47de47fcd7d12b875879b9 languageName: node linkType: hard @@ -12595,7 +13417,7 @@ __metadata: languageName: node linkType: hard -"react-helmet-async@npm:^2.0.3": +"react-helmet-async@npm:^2.0.4": version: 2.0.4 resolution: "react-helmet-async@npm:2.0.4" dependencies: @@ -12653,17 +13475,6 @@ __metadata: languageName: node linkType: hard -"react-paginate@npm:^8.2.0": - version: 8.2.0 - resolution: "react-paginate@npm:8.2.0" - dependencies: - prop-types: "npm:^15" - peerDependencies: - react: ^16 || ^17 || ^18 - checksum: 13911c1db55a0ca0fa21c7e0df5e913be1febf7bd0ec7fde5618c48e0119ac45ff8920202c4fd7216f93244529180b4e91de41fc86a40be5e53dec14ae65956c - languageName: node - linkType: hard - "react-popper@npm:^2.3.0": version: 2.3.0 resolution: "react-popper@npm:2.3.0" @@ -12685,31 +13496,43 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:^6.14.2": - version: 6.21.2 - resolution: "react-router-dom@npm:6.21.2" +"react-responsive-pagination@npm:^2.4.2": + version: 2.4.2 + resolution: "react-responsive-pagination@npm:2.4.2" + dependencies: + prop-types: "npm:^15.8.1" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: e48bbe452e4d1b9876c9eaf908fbac5b40d1f5e2961458f8e6d2fcc000c954f4d84b006719e7bd38db810b234f31183dcdcd007d14f395bcc57def40292e1a82 + languageName: node + linkType: hard + +"react-router-dom@npm:^6.22.2": + version: 6.22.2 + resolution: "react-router-dom@npm:6.22.2" dependencies: - "@remix-run/router": "npm:1.14.2" - react-router: "npm:6.21.2" + "@remix-run/router": "npm:1.15.2" + react-router: "npm:6.22.2" peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: 24d1470e68f11369776c623b8873c8cf0af476d102317cb3aa6b13b48c86908f10a6e51209ce24dccf40e429538d4e23fda796c190f2ff98f894cb476d51f44d + checksum: 1469ea32fd5b35d44909c8e64a778620e990b43a1c6f4d5989630e769a9956e0057a54771ccde2e434a9aff7591c02752dcfe0678a1868d4e53411cec7ecf7a8 languageName: node linkType: hard -"react-router@npm:6.21.2": - version: 6.21.2 - resolution: "react-router@npm:6.21.2" +"react-router@npm:6.22.2": + version: 6.22.2 + resolution: "react-router@npm:6.22.2" dependencies: - "@remix-run/router": "npm:1.14.2" + "@remix-run/router": "npm:1.15.2" peerDependencies: react: ">=16.8" - checksum: 08701bfe9e7b860442dd0f3c6e36d3ea6106d86db5ec9da930fd56d5782a13b82612826de7dd31bb38832f3fa76437d7a0ca36e63a76256f62d5b738f529a48c + checksum: 744c9c3d3b6f3d031ef8c34d86f16075f96d4487584f2a526f722bc5b05c5879fc5056236b824472530fc5aad0ecf6eef88d2848d5b1a32aab9849bda3a5c839 languageName: node linkType: hard -"react-select@npm:^5.7.3": +"react-select@npm:^5.8.0": version: 5.8.0 resolution: "react-select@npm:5.8.0" dependencies: @@ -12729,45 +13552,36 @@ __metadata: languageName: node linkType: hard -"react-stately@npm:^3.18.0": - version: 3.29.1 - resolution: "react-stately@npm:3.29.1" - dependencies: - "@react-stately/calendar": "npm:^3.4.3" - "@react-stately/checkbox": "npm:^3.6.1" - "@react-stately/collections": "npm:^3.10.4" - "@react-stately/combobox": "npm:^3.8.1" - "@react-stately/data": "npm:^3.11.0" - "@react-stately/datepicker": "npm:^3.9.1" - "@react-stately/dnd": "npm:^3.2.7" - "@react-stately/form": "npm:^3.0.0" - "@react-stately/list": "npm:^3.10.2" - "@react-stately/menu": "npm:^3.6.0" - "@react-stately/numberfield": "npm:^3.8.0" - "@react-stately/overlays": "npm:^3.6.4" - "@react-stately/radio": "npm:^3.10.1" - "@react-stately/searchfield": "npm:^3.5.0" - "@react-stately/select": "npm:^3.6.1" - "@react-stately/selection": "npm:^3.14.2" - "@react-stately/slider": "npm:^3.5.0" - "@react-stately/table": "npm:^3.11.4" - "@react-stately/tabs": "npm:^3.6.3" - "@react-stately/toggle": "npm:^3.7.0" - "@react-stately/tooltip": "npm:^3.4.6" - "@react-stately/tree": "npm:^3.7.5" - "@react-types/shared": "npm:^3.22.0" +"react-stately@npm:^3.30.1": + version: 3.31.1 + resolution: "react-stately@npm:3.31.1" + dependencies: + "@react-stately/calendar": "npm:^3.5.1" + "@react-stately/checkbox": "npm:^3.6.5" + "@react-stately/collections": "npm:^3.10.7" + "@react-stately/combobox": "npm:^3.8.4" + "@react-stately/data": "npm:^3.11.4" + "@react-stately/datepicker": "npm:^3.9.4" + "@react-stately/dnd": "npm:^3.3.1" + "@react-stately/form": "npm:^3.0.3" + "@react-stately/list": "npm:^3.10.5" + "@react-stately/menu": "npm:^3.7.1" + "@react-stately/numberfield": "npm:^3.9.3" + "@react-stately/overlays": "npm:^3.6.7" + "@react-stately/radio": "npm:^3.10.4" + "@react-stately/searchfield": "npm:^3.5.3" + "@react-stately/select": "npm:^3.6.4" + "@react-stately/selection": "npm:^3.15.1" + "@react-stately/slider": "npm:^3.5.4" + "@react-stately/table": "npm:^3.11.8" + "@react-stately/tabs": "npm:^3.6.6" + "@react-stately/toggle": "npm:^3.7.4" + "@react-stately/tooltip": "npm:^3.4.9" + "@react-stately/tree": "npm:^3.8.1" + "@react-types/shared": "npm:^3.23.1" peerDependencies: react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 - checksum: 6f2f3d2a831338238bafab15bebb12d4bbc7832f80e49d28d7412938a78e9e31619f6335e743191662586abc0eab37534470f42297a4f1596783855e05ff9b8b - languageName: node - linkType: hard - -"react-table@npm:^7.8.0": - version: 7.8.0 - resolution: "react-table@npm:7.8.0" - peerDependencies: - react: ^16.8.3 || ^17.0.0-0 || ^18.0.0 - checksum: 0c87db8f8823f8eca7a5521d406fa0c75d79972d47768f0c8347af3fa51f9856eea449186a0e2db2effc54d1d74a4e3477855cdbe9adf836d7dfac3a6ec5cdbf + checksum: e78b03fe0404d62993f3b2df0910e987f09ca14231da5d976095a8520e32c4a7125da8391e443b4d6b11c51b73a7ec9b6ab99fcbf54ce8e074da5d9e53df5f16 languageName: node linkType: hard @@ -12798,7 +13612,7 @@ __metadata: languageName: node linkType: hard -"react@npm:^18.0.0, react@npm:^18.2.0": +"react@npm:^18.2.0": version: 18.2.0 resolution: "react@npm:18.2.0" dependencies: @@ -12807,6 +13621,15 @@ __metadata: languageName: node linkType: hard +"react@npm:^18.3.1": + version: 18.3.1 + resolution: "react@npm:18.3.1" + dependencies: + loose-envify: "npm:^1.1.0" + checksum: 261137d3f3993eaa2368a83110466fc0e558bc2c7f7ae7ca52d94f03aac945f45146bd85e5f481044db1758a1dbb57879e2fcdd33924e2dde1bdc550ce73f7bf + languageName: node + linkType: hard + "read-cache@npm:^1.0.0": version: 1.0.0 resolution: "read-cache@npm:1.0.0" @@ -12816,55 +13639,6 @@ __metadata: languageName: node linkType: hard -"read-pkg-up@npm:^7.0.1": - version: 7.0.1 - resolution: "read-pkg-up@npm:7.0.1" - dependencies: - find-up: "npm:^4.1.0" - read-pkg: "npm:^5.2.0" - type-fest: "npm:^0.8.1" - checksum: e4e93ce70e5905b490ca8f883eb9e48b5d3cebc6cd4527c25a0d8f3ae2903bd4121c5ab9c5a3e217ada0141098eeb661313c86fa008524b089b8ed0b7f165e44 - languageName: node - linkType: hard - -"read-pkg@npm:^5.2.0": - version: 5.2.0 - resolution: "read-pkg@npm:5.2.0" - dependencies: - "@types/normalize-package-data": "npm:^2.4.0" - normalize-package-data: "npm:^2.5.0" - parse-json: "npm:^5.0.0" - type-fest: "npm:^0.6.0" - checksum: eb696e60528b29aebe10e499ba93f44991908c57d70f2d26f369e46b8b9afc208ef11b4ba64f67630f31df8b6872129e0a8933c8c53b7b4daf0eace536901222 - languageName: node - linkType: hard - -"readable-stream@npm:^2.0.1": - version: 2.3.8 - resolution: "readable-stream@npm:2.3.8" - dependencies: - core-util-is: "npm:~1.0.0" - inherits: "npm:~2.0.3" - isarray: "npm:~1.0.0" - process-nextick-args: "npm:~2.0.0" - safe-buffer: "npm:~5.1.1" - string_decoder: "npm:~1.1.1" - util-deprecate: "npm:~1.0.1" - checksum: 8500dd3a90e391d6c5d889256d50ec6026c059fadee98ae9aa9b86757d60ac46fff24fafb7a39fa41d54cb39d8be56cc77be202ebd4cd8ffcf4cb226cbaa40d4 - languageName: node - linkType: hard - -"readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": - version: 3.6.2 - resolution: "readable-stream@npm:3.6.2" - dependencies: - inherits: "npm:^2.0.3" - string_decoder: "npm:^1.1.1" - util-deprecate: "npm:^1.0.1" - checksum: d9e3e53193adcdb79d8f10f2a1f6989bd4389f5936c6f8b870e77570853561c362bee69feca2bbb7b32368ce96a85504aa4cedf7cf80f36e6a9de30d64244048 - languageName: node - linkType: hard - "readdirp@npm:~3.6.0": version: 3.6.0 resolution: "readdirp@npm:3.6.0" @@ -12885,16 +13659,17 @@ __metadata: linkType: hard "reflect.getprototypeof@npm:^1.0.4": - version: 1.0.4 - resolution: "reflect.getprototypeof@npm:1.0.4" + version: 1.0.5 + resolution: "reflect.getprototypeof@npm:1.0.5" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.3" globalthis: "npm:^1.0.3" which-builtin-type: "npm:^1.1.3" - checksum: 52ff881f62a9cb4acdd7f9a8f4ac88234056c4a6b1ed570c249cc085de5c313249b90251d16eb8e58302b82ae697eec19dde16ff62949f6b87f035a3a26dc5df + checksum: 14560efa54b4b8549f5e0961ee4dfa9f034bd4b85c7805d487da30eb520ea252b566bc4098a7cb1bc2219e4d9cb095db43c05b27205bd6299bb141294cea2d14 languageName: node linkType: hard @@ -12938,13 +13713,14 @@ __metadata: linkType: hard "regexp.prototype.flags@npm:^1.5.0, regexp.prototype.flags@npm:^1.5.1": - version: 1.5.1 - resolution: "regexp.prototype.flags@npm:1.5.1" + version: 1.5.2 + resolution: "regexp.prototype.flags@npm:1.5.2" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - set-function-name: "npm:^2.0.0" - checksum: 3fa5610b8e411bbc3a43ddfd13162f3a817beb43155fbd8caa24d4fd0ce2f431a8197541808772a5a06e5946cebfb68464c827827115bde0d11720a92fe2981a + call-bind: "npm:^1.0.6" + define-properties: "npm:^1.2.1" + es-errors: "npm:^1.3.0" + set-function-name: "npm:^2.0.1" + checksum: 9fffc01da9c4e12670ff95bc5204364615fcc12d86fc30642765af908675678ebb0780883c874b2dbd184505fb52fa603d80073ecf69f461ce7f56b15d10be9c languageName: node linkType: hard @@ -13008,7 +13784,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.22.0, resolve@npm:^1.22.2, resolve@npm:^1.22.4": +"resolve@npm:^1.1.7, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.22.0, resolve@npm:^1.22.2, resolve@npm:^1.22.4": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -13034,7 +13810,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.2#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": +"resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.2#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -13060,16 +13836,6 @@ __metadata: languageName: node linkType: hard -"restore-cursor@npm:^3.1.0": - version: 3.1.0 - resolution: "restore-cursor@npm:3.1.0" - dependencies: - onetime: "npm:^5.1.0" - signal-exit: "npm:^3.0.2" - checksum: f877dd8741796b909f2a82454ec111afb84eb45890eb49ac947d87991379406b3b83ff9673a46012fca0d7844bb989f45cc5b788254cf1a39b6b5a9659de0630 - languageName: node - linkType: hard - "retry@npm:^0.12.0": version: 0.12.0 resolution: "retry@npm:0.12.0" @@ -13095,7 +13861,7 @@ __metadata: languageName: node linkType: hard -"robust-predicates@npm:^3.0.0": +"robust-predicates@npm:^3.0.2": version: 3.0.2 resolution: "robust-predicates@npm:3.0.2" checksum: 88bd7d45a6b89e88da2631d4c111aaaf0443de4d7078e9ab7f732245790a3645cf79bf91882a9740dbc959cf56ba75d5dced5bf2259410f8b6de19fd240cd08c @@ -13121,23 +13887,86 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^4.13.0": + version: 4.17.2 + resolution: "rollup@npm:4.17.2" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.17.2" + "@rollup/rollup-android-arm64": "npm:4.17.2" + "@rollup/rollup-darwin-arm64": "npm:4.17.2" + "@rollup/rollup-darwin-x64": "npm:4.17.2" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.17.2" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.17.2" + "@rollup/rollup-linux-arm64-gnu": "npm:4.17.2" + "@rollup/rollup-linux-arm64-musl": "npm:4.17.2" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.17.2" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.17.2" + "@rollup/rollup-linux-s390x-gnu": "npm:4.17.2" + "@rollup/rollup-linux-x64-gnu": "npm:4.17.2" + "@rollup/rollup-linux-x64-musl": "npm:4.17.2" + "@rollup/rollup-win32-arm64-msvc": "npm:4.17.2" + "@rollup/rollup-win32-ia32-msvc": "npm:4.17.2" + "@rollup/rollup-win32-x64-msvc": "npm:4.17.2" + "@types/estree": "npm:1.0.5" + fsevents: "npm:~2.3.2" + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: a021d57f73d746340a1c2b3a03ef0b3bb7f3c837e6acd9aa78b1b1234011aa5b5271b0ef25abba2c1ed268b5e2c90c39a0f8194bcf825728be720f9f2496b248 + languageName: node + linkType: hard + "rollup@npm:^4.2.0": - version: 4.9.5 - resolution: "rollup@npm:4.9.5" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.9.5" - "@rollup/rollup-android-arm64": "npm:4.9.5" - "@rollup/rollup-darwin-arm64": "npm:4.9.5" - "@rollup/rollup-darwin-x64": "npm:4.9.5" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.9.5" - "@rollup/rollup-linux-arm64-gnu": "npm:4.9.5" - "@rollup/rollup-linux-arm64-musl": "npm:4.9.5" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.9.5" - "@rollup/rollup-linux-x64-gnu": "npm:4.9.5" - "@rollup/rollup-linux-x64-musl": "npm:4.9.5" - "@rollup/rollup-win32-arm64-msvc": "npm:4.9.5" - "@rollup/rollup-win32-ia32-msvc": "npm:4.9.5" - "@rollup/rollup-win32-x64-msvc": "npm:4.9.5" + version: 4.10.0 + resolution: "rollup@npm:4.10.0" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.10.0" + "@rollup/rollup-android-arm64": "npm:4.10.0" + "@rollup/rollup-darwin-arm64": "npm:4.10.0" + "@rollup/rollup-darwin-x64": "npm:4.10.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.10.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.10.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.10.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.10.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.10.0" + "@rollup/rollup-linux-x64-musl": "npm:4.10.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.10.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.10.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.10.0" "@types/estree": "npm:1.0.5" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -13171,7 +14000,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 4debf528e63edea5c3f5d38e399c6dd7287e2977d90d2d3ce38d4b3412289e2081aff8f8488a11b1699c786f2e904e9e150f30d576fe9316b5b97df0e80b1bce + checksum: e8f55290736faa24b82ec3c2c7dafd422df27dba31ac22d6ff6ca5b8b0f962e59c254622f9b30066740a402b84a68469f8f191f9950a645ec403ee9fe3a37071 languageName: node linkType: hard @@ -13189,10 +14018,10 @@ __metadata: languageName: node linkType: hard -"run-async@npm:^2.4.0": - version: 2.4.1 - resolution: "run-async@npm:2.4.1" - checksum: c79551224dafa26ecc281cb1efad3510c82c79116aaf681f8a931ce70fdf4ca880d58f97d3b930a38992c7aad7955a08e065b32ec194e1dd49d7790c874ece50 +"run-async@npm:^3.0.0": + version: 3.0.0 + resolution: "run-async@npm:3.0.0" + checksum: 97fb8747f7765b77ebcd311d3a33548099336f04c6434e0763039b98c1de0f1b4421000695aff8751f309c0b995d8dfd620c1f1e4c35572da38c101488165305 languageName: node linkType: hard @@ -13212,7 +14041,7 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^7.5.5, rxjs@npm:^7.8.1": +"rxjs@npm:^7.8.1": version: 7.8.1 resolution: "rxjs@npm:7.8.1" dependencies: @@ -13221,7 +14050,7 @@ __metadata: languageName: node linkType: hard -"safe-array-concat@npm:^1.0.1": +"safe-array-concat@npm:^1.0.1, safe-array-concat@npm:^1.1.0": version: 1.1.0 resolution: "safe-array-concat@npm:1.1.0" dependencies: @@ -13233,28 +14062,14 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": - version: 5.1.2 - resolution: "safe-buffer@npm:5.1.2" - checksum: 7eb5b48f2ed9a594a4795677d5a150faa7eb54483b2318b568dc0c4fc94092a6cce5be02c7288a0500a156282f5276d5688bce7259299568d1053b2150ef374a - languageName: node - linkType: hard - -"safe-buffer@npm:~5.2.0": - version: 5.2.1 - resolution: "safe-buffer@npm:5.2.1" - checksum: 32872cd0ff68a3ddade7a7617b8f4c2ae8764d8b7d884c651b74457967a9e0e886267d3ecc781220629c44a865167b61c375d2da6c720c840ecd73f45d5d9451 - languageName: node - linkType: hard - "safe-regex-test@npm:^1.0.0": - version: 1.0.2 - resolution: "safe-regex-test@npm:1.0.2" + version: 1.0.3 + resolution: "safe-regex-test@npm:1.0.3" dependencies: - call-bind: "npm:^1.0.5" - get-intrinsic: "npm:^1.2.2" + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" is-regex: "npm:^1.1.4" - checksum: 0e6a472caa8f44a502c7842ea19749de42c2eb1b41cb00456061dc3746cf3468e907522f56e97a15f3b41d88f660bd3d4f9bdec064a39895f7babae0f7aafc6a + checksum: b04de61114b10274d92e25b6de7ccb5de07f11ea15637ff636de4b5190c0f5cd8823fe586dde718504cf78055437d70fd8804976894df502fcf5a210c970afb3 languageName: node linkType: hard @@ -13265,37 +14080,23 @@ __metadata: languageName: node linkType: hard -"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0": - version: 2.1.2 - resolution: "safer-buffer@npm:2.1.2" - checksum: 7eaf7a0cf37cc27b42fb3ef6a9b1df6e93a1c6d98c6c6702b02fe262d5fcbd89db63320793b99b21cb5348097d0a53de81bd5f4e8b86e20cc9412e3f1cfb4e83 - languageName: node - linkType: hard - -"sass-graph@npm:^4.0.1": - version: 4.0.1 - resolution: "sass-graph@npm:4.0.1" - dependencies: - glob: "npm:^7.0.0" - lodash: "npm:^4.17.11" - scss-tokenizer: "npm:^0.4.3" - yargs: "npm:^17.2.1" - bin: - sassgraph: bin/sassgraph - checksum: 896f99253bd77a429a95e483ebddee946e195b61d3f84b3e1ccf8ad843265ec0585fa40bf55fbf354c5f57eb9fd0349834a8b190cd2161ab1234cb9af10e3601 - languageName: node - linkType: hard - +"safer-buffer@npm:>= 2.1.2 < 3.0.0": + version: 2.1.2 + resolution: "safer-buffer@npm:2.1.2" + checksum: 7eaf7a0cf37cc27b42fb3ef6a9b1df6e93a1c6d98c6c6702b02fe262d5fcbd89db63320793b99b21cb5348097d0a53de81bd5f4e8b86e20cc9412e3f1cfb4e83 + languageName: node + linkType: hard + "sass@npm:^1.63.6": - version: 1.69.7 - resolution: "sass@npm:1.69.7" + version: 1.70.0 + resolution: "sass@npm:1.70.0" dependencies: chokidar: "npm:>=3.0.0 <4.0.0" immutable: "npm:^4.0.0" source-map-js: "npm:>=0.6.2 <2.0.0" bin: sass: sass.js - checksum: 9c6d3fe468a267949e8dd766085351f59988caf5d3d5c13eb041d370366f869ad3704b5046586fd3584b2cbf59c03650d237b62a4c6ed26a0c003e27f9ef4e89 + checksum: f933545d72a932f4a82322dd4ca9f3ea7d3e9d08852d695f76d419939cbdf7f8db3dd894b059ed77bf76811b07319b75b3ef8bb077bf9f52f8fbdfd8cee162f6 languageName: node linkType: hard @@ -13308,31 +14109,12 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.0": - version: 0.23.0 - resolution: "scheduler@npm:0.23.0" +"scheduler@npm:^0.23.2": + version: 0.23.2 + resolution: "scheduler@npm:0.23.2" dependencies: loose-envify: "npm:^1.1.0" - checksum: 0c4557aa37bafca44ff21dc0ea7c92e2dbcb298bc62eae92b29a39b029134f02fb23917d6ebc8b1fa536b4184934314c20d8864d156a9f6357f3398aaf7bfda8 - languageName: node - linkType: hard - -"scss-tokenizer@npm:^0.4.3": - version: 0.4.3 - resolution: "scss-tokenizer@npm:0.4.3" - dependencies: - js-base64: "npm:^2.4.9" - source-map: "npm:^0.7.3" - checksum: d7f9eedaa4a3310b8a198b6267012db6c960e394138007d13f999032b32cb41517adad662ca2ad797bf56d55e97664a1d12991b39f95e42a1992a47f6f988b8b - languageName: node - linkType: hard - -"semver@npm:2 || 3 || 4 || 5": - version: 5.7.2 - resolution: "semver@npm:5.7.2" - bin: - semver: bin/semver - checksum: fca14418a174d4b4ef1fecb32c5941e3412d52a4d3d85165924ce3a47fbc7073372c26faf7484ceb4bbc2bde25880c6b97e492473dc7e9708fdfb1c6a02d546e + checksum: e8d68b89d18d5b028223edf090092846868a765a591944760942b77ea1f69b17235f7e956696efbb62c8130ab90af7e0949bfb8eba7896335507317236966bc9 languageName: node linkType: hard @@ -13345,21 +14127,14 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3": - version: 7.5.4 - resolution: "semver@npm:7.5.4" +"semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3": + version: 7.6.0 + resolution: "semver@npm:7.6.0" dependencies: lru-cache: "npm:^6.0.0" bin: semver: bin/semver.js - checksum: 985dec0d372370229a262c737063860fabd4a1c730662c1ea3200a2f649117761a42184c96df62a0e885e76fbd5dace41087d6c1ac0351b13c0df5d6bcb1b5ac - languageName: node - linkType: hard - -"set-blocking@npm:^2.0.0": - version: 2.0.0 - resolution: "set-blocking@npm:2.0.0" - checksum: 8980ebf7ae9eb945bb036b6e283c547ee783a1ad557a82babf758a065e2fb6ea337fd82cac30dd565c1e606e423f30024a19fff7afbf4977d784720c4026a8ef + checksum: 1b41018df2d8aca5a1db4729985e8e20428c650daea60fcd16e926e9383217d00f574fab92d79612771884a98d2ee2a1973f49d630829a8d54d6570defe62535 languageName: node linkType: hard @@ -13376,6 +14151,20 @@ __metadata: languageName: node linkType: hard +"set-function-length@npm:^1.2.1": + version: 1.2.1 + resolution: "set-function-length@npm:1.2.1" + dependencies: + define-data-property: "npm:^1.1.2" + es-errors: "npm:^1.3.0" + function-bind: "npm:^1.1.2" + get-intrinsic: "npm:^1.2.3" + gopd: "npm:^1.0.1" + has-property-descriptors: "npm:^1.0.1" + checksum: 9ab1d200149574ab27c1a7acae56d6235e02568fc68655fe8afe63e4e02ccad3c27665f55c32408bd1ff40705939dbb7539abfb9c3a07fda27ecad1ab9e449f5 + languageName: node + linkType: hard + "set-function-name@npm:^2.0.0, set-function-name@npm:^2.0.1": version: 2.0.1 resolution: "set-function-name@npm:2.0.1" @@ -13474,13 +14263,26 @@ __metadata: linkType: hard "side-channel@npm:^1.0.4": - version: 1.0.4 - resolution: "side-channel@npm:1.0.4" + version: 1.0.5 + resolution: "side-channel@npm:1.0.5" + dependencies: + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + object-inspect: "npm:^1.13.1" + checksum: 27708b70b5d81bf18dc8cc23f38f1b6c9511691a64abc4aaf17956e67d132c855cf8b46f931e2fc5a6262b29371eb60da7755c1b9f4f862eccea8562b469f8f6 + languageName: node + linkType: hard + +"side-channel@npm:^1.0.6": + version: 1.0.6 + resolution: "side-channel@npm:1.0.6" dependencies: - call-bind: "npm:^1.0.0" - get-intrinsic: "npm:^1.0.2" - object-inspect: "npm:^1.9.0" - checksum: c4998d9fc530b0e75a7fd791ad868fdc42846f072734f9080ff55cc8dc7d3899abcda24fd896aa6648c3ab7021b4bb478073eb4f44dfd55bce9714bc1a7c5d45 + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + object-inspect: "npm:^1.13.1" + checksum: eb10944f38cebad8ad643dd02657592fa41273ce15b8bfa928d3291aff2d30c20ff777cfe908f76ccc4551ace2d1245822fdc576657cce40e9066c638ca8fa4d languageName: node linkType: hard @@ -13491,7 +14293,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": +"signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" checksum: a2f098f247adc367dffc27845853e9959b9e88b01cb301658cfe4194352d8d2bb32e18467c786a7fe15f1d44b233ea35633d076d5e737870b7139949d1ab6318 @@ -13538,28 +14340,6 @@ __metadata: languageName: node linkType: hard -"socks-proxy-agent@npm:^6.0.0": - version: 6.2.1 - resolution: "socks-proxy-agent@npm:6.2.1" - dependencies: - agent-base: "npm:^6.0.2" - debug: "npm:^4.3.3" - socks: "npm:^2.6.2" - checksum: 554749ba3bdba0742ec36493a907261c116dd0dafcd618ea5babdfc90ce5a5ae648d4ee4d2e26e7184afd854973d282372ce0af63e1fc6412bb9fa1a2b1f2d45 - languageName: node - linkType: hard - -"socks-proxy-agent@npm:^7.0.0": - version: 7.0.0 - resolution: "socks-proxy-agent@npm:7.0.0" - dependencies: - agent-base: "npm:^6.0.2" - debug: "npm:^4.3.3" - socks: "npm:^2.6.2" - checksum: 26c75d9c62a9ed3fd494df60e65e88da442f78e0d4bc19bfd85ac37bd2c67470d6d4bba5202e804561cda6674db52864c9e2a2266775f879bc8d89c1445a5f4c - languageName: node - linkType: hard - "socks-proxy-agent@npm:^8.0.1": version: 8.0.2 resolution: "socks-proxy-agent@npm:8.0.2" @@ -13571,13 +14351,13 @@ __metadata: languageName: node linkType: hard -"socks@npm:^2.6.2, socks@npm:^2.7.1": - version: 2.7.1 - resolution: "socks@npm:2.7.1" +"socks@npm:^2.7.1": + version: 2.8.0 + resolution: "socks@npm:2.8.0" dependencies: - ip: "npm:^2.0.0" + ip-address: "npm:^9.0.5" smart-buffer: "npm:^4.2.0" - checksum: 5074f7d6a13b3155fa655191df1c7e7a48ce3234b8ccf99afa2ccb56591c195e75e8bb78486f8e9ea8168e95a29573cbaad55b2b5e195160ae4d2ea6811ba833 + checksum: ed0224ce2c7daaa7690cb87cf53d9703ffc4e983aca221f6f5b46767b232658df49494fd86acd0bf97ada6de05248ea8ea625c2343d48155d8463fc40d4a340f languageName: node linkType: hard @@ -13588,6 +14368,13 @@ __metadata: languageName: node linkType: hard +"source-map-js@npm:^1.2.0": + version: 1.2.0 + resolution: "source-map-js@npm:1.2.0" + checksum: 74f331cfd2d121c50790c8dd6d3c9de6be21926de80583b23b37029b0f37aefc3e019fa91f9a10a5e120c08135297e1ecf312d561459c45908cb1e0e365f49e5 + languageName: node + linkType: hard + "source-map@npm:^0.5.7": version: 0.5.7 resolution: "source-map@npm:0.5.7" @@ -13602,7 +14389,7 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.7.3, source-map@npm:^0.7.4": +"source-map@npm:^0.7.4": version: 0.7.4 resolution: "source-map@npm:0.7.4" checksum: a0f7c9b797eda93139842fd28648e868a9a03ea0ad0d9fa6602a0c1f17b7fb6a7dcca00c144476cccaeaae5042e99a285723b1a201e844ad67221bf5d428f1dc @@ -13616,37 +14403,10 @@ __metadata: languageName: node linkType: hard -"spdx-correct@npm:^3.0.0": - version: 3.2.0 - resolution: "spdx-correct@npm:3.2.0" - dependencies: - spdx-expression-parse: "npm:^3.0.0" - spdx-license-ids: "npm:^3.0.0" - checksum: cc2e4dbef822f6d12142116557d63f5facf3300e92a6bd24e907e4865e17b7e1abd0ee6b67f305cae6790fc2194175a24dc394bfcc01eea84e2bdad728e9ae9a - languageName: node - linkType: hard - -"spdx-exceptions@npm:^2.1.0": - version: 2.3.0 - resolution: "spdx-exceptions@npm:2.3.0" - checksum: cb69a26fa3b46305637123cd37c85f75610e8c477b6476fa7354eb67c08128d159f1d36715f19be6f9daf4b680337deb8c65acdcae7f2608ba51931540687ac0 - languageName: node - linkType: hard - -"spdx-expression-parse@npm:^3.0.0": - version: 3.0.1 - resolution: "spdx-expression-parse@npm:3.0.1" - dependencies: - spdx-exceptions: "npm:^2.1.0" - spdx-license-ids: "npm:^3.0.0" - checksum: a1c6e104a2cbada7a593eaa9f430bd5e148ef5290d4c0409899855ce8b1c39652bcc88a725259491a82601159d6dc790bedefc9016c7472f7de8de7361f8ccde - languageName: node - linkType: hard - -"spdx-license-ids@npm:^3.0.0": - version: 3.0.16 - resolution: "spdx-license-ids@npm:3.0.16" - checksum: 6425c54132ca38d717315cdbd2b620235937d1859972c5978bbc95b4c14400438ffe113709d8aabb0d5498cc27a5b89876fca0fe21b4e26f5ce122bc86d0d88e +"sprintf-js@npm:^1.1.3": + version: 1.1.3 + resolution: "sprintf-js@npm:1.1.3" + checksum: e7587128c423f7e43cc625fe2f87e6affdf5ca51c1cc468e910d8aaca46bb44a7fbcfa552f787b1d3987f7043aeb4527d1b99559e6621e01b42b3f45e5a24cbb languageName: node linkType: hard @@ -13666,24 +14426,6 @@ __metadata: languageName: node linkType: hard -"ssri@npm:^8.0.0, ssri@npm:^8.0.1": - version: 8.0.1 - resolution: "ssri@npm:8.0.1" - dependencies: - minipass: "npm:^3.1.1" - checksum: fde247b7107674d9a424a20f9c1a6e3ad88a139c2636b9d9ffa7df59e85e11a894cdae48fadd0ad6be41eb0d5b847fe094736513d333615c7eebc3d111abe0d2 - languageName: node - linkType: hard - -"ssri@npm:^9.0.0": - version: 9.0.1 - resolution: "ssri@npm:9.0.1" - dependencies: - minipass: "npm:^3.1.1" - checksum: 7638a61e91432510718e9265d48d0438a17d53065e5184f1336f234ef6aa3479663942e41e97df56cda06bb24d9d0b5ef342c10685add3cac7267a82d7fa6718 - languageName: node - linkType: hard - "stackback@npm:0.0.2": version: 0.0.2 resolution: "stackback@npm:0.0.2" @@ -13698,22 +14440,13 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.3.3, std-env@npm:^3.5.0": +"std-env@npm:^3.5.0": version: 3.7.0 resolution: "std-env@npm:3.7.0" checksum: 6ee0cca1add3fd84656b0002cfbc5bfa20340389d9ba4720569840f1caa34bce74322aef4c93f046391583e50649d0cf81a5f8fe1d411e50b659571690a45f12 languageName: node linkType: hard -"stdout-stream@npm:^1.4.0": - version: 1.4.1 - resolution: "stdout-stream@npm:1.4.1" - dependencies: - readable-stream: "npm:^2.0.1" - checksum: 205bee8c3ba4e1e1d471b9302764405d2ee5dd272af6e9a71c95a9af6cf2ad8f4d102099a917c591ba9e14c1b2b5f5244f7a526e9d3cf311327cecd7c2bd4c2e - languageName: node - linkType: hard - "stop-iteration-iterator@npm:^1.0.0": version: 1.0.0 resolution: "stop-iteration-iterator@npm:1.0.0" @@ -13737,7 +14470,7 @@ __metadata: languageName: node linkType: hard -"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -13809,24 +14542,6 @@ __metadata: languageName: node linkType: hard -"string_decoder@npm:^1.1.1": - version: 1.3.0 - resolution: "string_decoder@npm:1.3.0" - dependencies: - safe-buffer: "npm:~5.2.0" - checksum: 54d23f4a6acae0e93f999a585e673be9e561b65cd4cca37714af1e893ab8cd8dfa52a9e4f58f48f87b4a44918d3a9254326cb80ed194bf2e4c226e2b21767e56 - languageName: node - linkType: hard - -"string_decoder@npm:~1.1.1": - version: 1.1.1 - resolution: "string_decoder@npm:1.1.1" - dependencies: - safe-buffer: "npm:~5.1.0" - checksum: 7c41c17ed4dea105231f6df208002ebddd732e8e9e2d619d133cecd8e0087ddfd9587d2feb3c8caf3213cbd841ada6d057f5142cae68a4e62d3540778d9819b4 - languageName: node - linkType: hard - "strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" @@ -13882,7 +14597,7 @@ __metadata: languageName: node linkType: hard -"strip-literal@npm:^1.0.1, strip-literal@npm:^1.3.0": +"strip-literal@npm:^1.3.0": version: 1.3.0 resolution: "strip-literal@npm:1.3.0" dependencies: @@ -13997,14 +14712,23 @@ __metadata: languageName: node linkType: hard -"tabbable@npm:^6.0.1, tabbable@npm:^6.2.0": +"tabbable@npm:^6.0.1": version: 6.2.0 resolution: "tabbable@npm:6.2.0" checksum: 980fa73476026e99dcacfc0d6e000d41d42c8e670faf4682496d30c625495e412c4369694f2a15cf1e5252d22de3c396f2b62edbe8d60b5dadc40d09e3f2dde3 languageName: node linkType: hard -"tailwindcss@npm:^3.3.6": +"tailwind-merge@npm:^2.2.2": + version: 2.2.2 + resolution: "tailwind-merge@npm:2.2.2" + dependencies: + "@babel/runtime": "npm:^7.24.0" + checksum: f7ec370e58d1d8f12ed6509d93333f2dacfcb43110334c5424db50ae456d14939ad32cff1ef7e31d1d10a6fff9d2e80be11560ef1ebb3fe5c83de6d465a7f7b8 + languageName: node + linkType: hard + +"tailwindcss@npm:^3.4.1": version: 3.4.1 resolution: "tailwindcss@npm:3.4.1" dependencies: @@ -14037,7 +14761,7 @@ __metadata: languageName: node linkType: hard -"tar@npm:^6.0.2, tar@npm:^6.1.11, tar@npm:^6.1.2": +"tar@npm:^6.1.11, tar@npm:^6.1.2": version: 6.2.0 resolution: "tar@npm:6.2.0" dependencies: @@ -14051,6 +14775,15 @@ __metadata: languageName: node linkType: hard +"telejson@npm:^7.2.0": + version: 7.2.0 + resolution: "telejson@npm:7.2.0" + dependencies: + memoizerific: "npm:^1.11.3" + checksum: 6e89b3d3c45b5a2aced9132f6a968fcdf758c00be4c3acb115d7d81e95c9e04083a7a4a9b43057fcf48b101156c1607a38f5491615956acb28d4d1f78a4bda20 + languageName: node + linkType: hard + "test-exclude@npm:^6.0.0": version: 6.0.0 resolution: "test-exclude@npm:6.0.0" @@ -14094,10 +14827,10 @@ __metadata: languageName: node linkType: hard -"through@npm:^2.3.6": - version: 2.3.8 - resolution: "through@npm:2.3.8" - checksum: 5da78346f70139a7d213b65a0106f3c398d6bc5301f9248b5275f420abc2c4b1e77c2abc72d218dedc28c41efb2e7c312cb76a7730d04f9c2d37d247da3f4198 +"tiny-invariant@npm:^1.3.1": + version: 1.3.3 + resolution: "tiny-invariant@npm:1.3.3" + checksum: 5e185c8cc2266967984ce3b352a4e57cb89dad5a8abb0dea21468a6ecaa67cd5bb47a3b7a85d08041008644af4f667fb8b6575ba38ba5fb00b3b5068306e59fe languageName: node linkType: hard @@ -14108,31 +14841,24 @@ __metadata: languageName: node linkType: hard -"tinybench@npm:^2.5.0, tinybench@npm:^2.5.1": +"tinybench@npm:^2.5.1": version: 2.6.0 resolution: "tinybench@npm:2.6.0" checksum: 6d35f0540bbf6208e8f47fa88cad733bc4b35b3bea75ec995004a9a44f70b8947eff3d271a3b4a4f7e787a82211df0dec9370fa566ccf50441067c559382b3ed languageName: node linkType: hard -"tinypool@npm:^0.7.0": - version: 0.7.0 - resolution: "tinypool@npm:0.7.0" - checksum: e1fb1f430647525c6bb0bac71acc4c1594c7687fe8e4f08c8f389d9a672fb69746869e9d9818b55f1ab85ea6308d42f92cbc32a9847088abf6bc55a8700be390 - languageName: node - linkType: hard - -"tinypool@npm:^0.8.1": - version: 0.8.1 - resolution: "tinypool@npm:0.8.1" - checksum: 3fae8acc22b7d0364eb202b64f61f0d8b10dcead6bef9b8fab1836857dcecd0e34fadc47ab309754ead2cb29bfa4b3467a9fc0daae23669b19ff403ae1364b5c +"tinypool@npm:^0.8.2": + version: 0.8.2 + resolution: "tinypool@npm:0.8.2" + checksum: 5e2cdddc1caf437e3b8d8c56c1c66dffcb46008be4b2e37d457b0921699c6b79930dd8d652e4890c5e1e24688489259da83fd853bc0ce348d8a0375dedefc2ba languageName: node linkType: hard -"tinyspy@npm:^2.1.1, tinyspy@npm:^2.2.0": - version: 2.2.0 - resolution: "tinyspy@npm:2.2.0" - checksum: bcc5a08c2dc7574d32e6dcc2e760ad95a3cf30249c22799815b6389179427c95573d27d2d965ebc5fca2b6d338c46678cd7337ea2a9cebacee3dc662176b07cb +"tinyspy@npm:^2.2.0": + version: 2.2.1 + resolution: "tinyspy@npm:2.2.1" + checksum: 170d6232e87f9044f537b50b406a38fbfd6f79a261cd12b92879947bd340939a833a678632ce4f5c4a6feab4477e9c21cd43faac3b90b68b77dd0536c4149736 languageName: node linkType: hard @@ -14145,15 +14871,6 @@ __metadata: languageName: node linkType: hard -"tmp@npm:^0.0.33": - version: 0.0.33 - resolution: "tmp@npm:0.0.33" - dependencies: - os-tmpdir: "npm:~1.0.2" - checksum: 09c0abfd165cff29b32be42bc35e80b8c64727d97dedde6550022e88fa9fd39a084660415ed8e3ebaa2aca1ee142f86df8b31d4196d4f81c774a3a20fd4b6abf - languageName: node - linkType: hard - "to-fast-properties@npm:^2.0.0": version: 2.0.0 resolution: "to-fast-properties@npm:2.0.0" @@ -14214,17 +14931,10 @@ __metadata: languageName: node linkType: hard -"trim-newlines@npm:^3.0.0": - version: 3.0.1 - resolution: "trim-newlines@npm:3.0.1" - checksum: b530f3fadf78e570cf3c761fb74fef655beff6b0f84b29209bac6c9622db75ad1417f4a7b5d54c96605dcd72734ad44526fef9f396807b90839449eb543c6206 - languageName: node - linkType: hard - -"true-case-path@npm:^2.2.1": - version: 2.2.1 - resolution: "true-case-path@npm:2.2.1" - checksum: 8c6ddd8dab044012a7bb1bed0b31cbb8f9924e903e996f7378d9b86113cde29251e684075203490d4dca2a199ef401ba89228c602bc5e2a3e4550446e8ae1ccf +"ts-dedent@npm:^2.0.0": + version: 2.2.0 + resolution: "ts-dedent@npm:2.2.0" + checksum: 93ed8f7878b6d5ed3c08d99b740010eede6bccfe64bce61c5a4da06a2c17d6ddbb80a8c49c2d15251de7594a4f93ffa21dd10e7be75ef66a4dc9951b4a94e2af languageName: node linkType: hard @@ -14250,8 +14960,8 @@ __metadata: linkType: hard "tsconfck@npm:^3.0.1": - version: 3.0.1 - resolution: "tsconfck@npm:3.0.1" + version: 3.0.2 + resolution: "tsconfck@npm:3.0.2" peerDependencies: typescript: ^5.0.0 peerDependenciesMeta: @@ -14259,7 +14969,7 @@ __metadata: optional: true bin: tsconfck: bin/tsconfck.js - checksum: c5317404e2a809af31ad093f82365518a5856b2f342371991f729f42cab0def1b87dca8d22df3fb8c82acda7248710d4fb5030270db024c8000bc8272a3e6d58 + checksum: bd0666cde64d576701b6b74b45795b76f002ea3c44279ce373426b075f56b47b4a34ee51083a4df7844b0077e2af4cb752a6c6ef246a80339a44351d6367c98c languageName: node linkType: hard @@ -14316,13 +15026,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.18.0": - version: 0.18.1 - resolution: "type-fest@npm:0.18.1" - checksum: 08844377058435c2b0e633ba01bab6102dba0ed63d85417d8e18feff265eed6f5c9f8f9a25d405ea9db88a41a569be73a3c4c0d4e29150bf89fb145bb23114a2 - languageName: node - linkType: hard - "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -14337,20 +15040,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.6.0": - version: 0.6.0 - resolution: "type-fest@npm:0.6.0" - checksum: 9ecbf4ba279402b14c1a0614b6761bbe95626fab11377291fecd7e32b196109551e0350dcec6af74d97ced1b000ba8060a23eca33157091e642b409c2054ba82 - languageName: node - linkType: hard - -"type-fest@npm:^0.8.1": - version: 0.8.1 - resolution: "type-fest@npm:0.8.1" - checksum: fd4a91bfb706aeeb0d326ebd2e9a8ea5263979e5dec8d16c3e469a5bd3a946e014a062ef76c02e3086d3d1c7209a56a20a4caafd0e9f9a5c2ab975084ea3d388 - languageName: node - linkType: hard - "type-fest@npm:^2.19.0": version: 2.19.0 resolution: "type-fest@npm:2.19.0" @@ -14359,20 +15048,20 @@ __metadata: linkType: hard "type-fest@npm:^4.9.0": - version: 4.9.0 - resolution: "type-fest@npm:4.9.0" - checksum: 49acfb67999566a24d5604435c8cff786dfc26ebea5a2a343e14d437d34f30a55248f8e597b8f64446c344bb68ce14af68899f562cf66ca66c1e1a856b393259 + version: 4.10.2 + resolution: "type-fest@npm:4.10.2" + checksum: 2b1ad1270d9fabeeb506ba831d513caeb05bfc852e5e012511d785ce9dc68d773fe0a42bddf857a362c7f3406244809c5b8a698b743bb7617d4a8c470672087f languageName: node linkType: hard "typed-array-buffer@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-buffer@npm:1.0.0" + version: 1.0.1 + resolution: "typed-array-buffer@npm:1.0.1" dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.1" - is-typed-array: "npm:^1.1.10" - checksum: 3e0281c79b2a40cd97fe715db803884301993f4e8c18e8d79d75fd18f796e8cd203310fec8c7fdb5e6c09bedf0af4f6ab8b75eb3d3a85da69328f28a80456bd3 + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + is-typed-array: "npm:^1.1.13" + checksum: 1d65e46b2b9b7ec2a30df39b9ddf32e55ad08d6119aec33975506a3dba56057796bdc3c64dbeb7fdb61bf340a75e279dfd55b48ce8f3b874f01731e1da6833d2 languageName: node linkType: hard @@ -14440,9 +15129,9 @@ __metadata: linkType: hard "ufo@npm:^1.3.2": - version: 1.3.2 - resolution: "ufo@npm:1.3.2" - checksum: 7133290d495e2b3f9416de69982019e81cff40d28cfd3a07accff1122ee52f23d9165e495a140a1b34b183244e88fc4001cb649591385ecbad1d3d0d2264fa6e + version: 1.4.0 + resolution: "ufo@npm:1.4.0" + checksum: b7aea8503878dc5ad797d8fc6fe39fec64d9cc7e89fb147ef86ec676e37bb462d99d67c6aad20b15f7d3e6d275d66666b29214422e268f1d98f6eaf707a207a6 languageName: node linkType: hard @@ -14496,24 +15185,6 @@ __metadata: languageName: node linkType: hard -"unique-filename@npm:^1.1.1": - version: 1.1.1 - resolution: "unique-filename@npm:1.1.1" - dependencies: - unique-slug: "npm:^2.0.0" - checksum: 9b6969d649a2096755f19f793315465c6427453b66d67c2a1bee8f36ca7e1fc40725be2c028e974dec110d365bd30a4248e89b1044dc1dfe29663b6867d071ef - languageName: node - linkType: hard - -"unique-filename@npm:^2.0.0": - version: 2.0.1 - resolution: "unique-filename@npm:2.0.1" - dependencies: - unique-slug: "npm:^3.0.0" - checksum: 807acf3381aff319086b64dc7125a9a37c09c44af7620bd4f7f3247fcd5565660ac12d8b80534dcbfd067e6fe88a67e621386dd796a8af828d1337a8420a255f - languageName: node - linkType: hard - "unique-filename@npm:^3.0.0": version: 3.0.0 resolution: "unique-filename@npm:3.0.0" @@ -14523,24 +15194,6 @@ __metadata: languageName: node linkType: hard -"unique-slug@npm:^2.0.0": - version: 2.0.2 - resolution: "unique-slug@npm:2.0.2" - dependencies: - imurmurhash: "npm:^0.1.4" - checksum: 6cfaf91976acc9c125fd0686c561ee9ca0784bb4b2b408972e6cd30e747b4ff0ca50264c01bcf5e711b463535ea611ffb84199e9f73088cd79ac9ddee8154042 - languageName: node - linkType: hard - -"unique-slug@npm:^3.0.0": - version: 3.0.0 - resolution: "unique-slug@npm:3.0.0" - dependencies: - imurmurhash: "npm:^0.1.4" - checksum: 26fc5bc209a875956dd5e84ca39b89bc3be777b112504667c35c861f9547df95afc80439358d836b878b6d91f6ee21fe5ba1a966e9ec2e9f071ddf3fd67d45ee - languageName: node - linkType: hard - "unique-slug@npm:^4.0.0": version: 4.0.0 resolution: "unique-slug@npm:4.0.0" @@ -14625,17 +15278,39 @@ __metadata: languageName: node linkType: hard -"util-deprecate@npm:^1.0.1, util-deprecate@npm:^1.0.2, util-deprecate@npm:~1.0.1": +"use-sync-external-store@npm:^1.2.0": + version: 1.2.2 + resolution: "use-sync-external-store@npm:1.2.2" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: 671e9c190aab9a8374a5d468c6ba17f52c38b6fae970110bc196fc1e2b57204149aea9619be49a1bb5207fb6e51d8afd19c3bcb94afe61813fed039821461dc0 + languageName: node + linkType: hard + +"util-deprecate@npm:^1.0.2": version: 1.0.2 resolution: "util-deprecate@npm:1.0.2" checksum: 474acf1146cb2701fe3b074892217553dfcf9a031280919ba1b8d651a068c9b15d863b7303cb15bd00a862b498e6cf4ad7b4a08fb134edd5a6f7641681cb54a2 languageName: node linkType: hard +"util@npm:^0.12.4": + version: 0.12.5 + resolution: "util@npm:0.12.5" + dependencies: + inherits: "npm:^2.0.3" + is-arguments: "npm:^1.0.4" + is-generator-function: "npm:^1.0.7" + is-typed-array: "npm:^1.1.3" + which-typed-array: "npm:^1.1.2" + checksum: 61a10de7753353dd4d744c917f74cdd7d21b8b46379c1e48e1c4fd8e83f8190e6bd9978fc4e5102ab6a10ebda6019d1b36572fa4a325e175ec8b789a121f6147 + languageName: node + linkType: hard + "utility-types@npm:^3.10.0": - version: 3.10.0 - resolution: "utility-types@npm:3.10.0" - checksum: 3ca80abfb9482b8f924110b643411d6a8c6bf84049e76212652fb46ccc9085c635485dd0351b63a8da6cf2cffbef32cc27d16e924dc7ad445881a481632b3da0 + version: 3.11.0 + resolution: "utility-types@npm:3.11.0" + checksum: a3c51463fc807ed04ccc8b5d0fa6e31f3dcd7a4cbd30ab4bc6d760ce5319dd493d95bf04244693daf316f97e9ab2a37741edfed8748ad38572a595398ad0fdaf languageName: node linkType: hard @@ -14659,16 +15334,6 @@ __metadata: languageName: node linkType: hard -"validate-npm-package-license@npm:^3.0.1": - version: 3.0.4 - resolution: "validate-npm-package-license@npm:3.0.4" - dependencies: - spdx-correct: "npm:^3.0.0" - spdx-expression-parse: "npm:^3.0.0" - checksum: 86242519b2538bb8aeb12330edebb61b4eb37fd35ef65220ab0b03a26c0592c1c8a7300d32da3cde5abd08d18d95e8dabfad684b5116336f6de9e6f207eec224 - languageName: node - linkType: hard - "validator@npm:^13.7.0": version: 13.11.0 resolution: "validator@npm:13.11.0" @@ -14676,25 +15341,9 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:0.34.6": - version: 0.34.6 - resolution: "vite-node@npm:0.34.6" - dependencies: - cac: "npm:^6.7.14" - debug: "npm:^4.3.4" - mlly: "npm:^1.4.0" - pathe: "npm:^1.1.1" - picocolors: "npm:^1.0.0" - vite: "npm:^3.0.0 || ^4.0.0 || ^5.0.0-0" - bin: - vite-node: vite-node.mjs - checksum: ae49fd24874162196dd41477afe51dd8dc0bd1e8cb4ae885455d1d5569e14f628941f9867044bff263620536446e17d7e2c0828c9ea84b6308b9eb5711e80991 - languageName: node - linkType: hard - -"vite-node@npm:1.2.0": - version: 1.2.0 - resolution: "vite-node@npm:1.2.0" +"vite-node@npm:1.2.2": + version: 1.2.2 + resolution: "vite-node@npm:1.2.2" dependencies: cac: "npm:^6.7.14" debug: "npm:^4.3.4" @@ -14703,7 +15352,7 @@ __metadata: vite: "npm:^5.0.0" bin: vite-node: vite-node.mjs - checksum: 7e975f0fa3fc243d96a4056cac36309b726a7317dcb6ca612a788aa2bb3f95a172ef7f5d410054ae7a57f4b6e2bc3613fb898b7e8e9dac121acecca46fe1085c + checksum: a4b39361011ebf890fb2be83babd24aa29de76185f1683f57a76b6dfcfbdcd7700b83c9d0cd3b5bebc4a114427d7c2612095ab59d0d12732ce21ef816fe86b07 languageName: node linkType: hard @@ -14720,7 +15369,7 @@ __metadata: languageName: node linkType: hard -"vite-tsconfig-paths@npm:^4.2.2": +"vite-tsconfig-paths@npm:^4.3.1": version: 4.3.1 resolution: "vite-tsconfig-paths@npm:4.3.1" dependencies: @@ -14736,13 +15385,13 @@ __metadata: languageName: node linkType: hard -"vite@npm:^3.0.0 || ^4.0.0 || ^5.0.0-0, vite@npm:^3.1.0 || ^4.0.0 || ^5.0.0-0, vite@npm:^5.0.0, vite@npm:^5.0.7": - version: 5.0.11 - resolution: "vite@npm:5.0.11" +"vite@npm:^5.0.0": + version: 5.1.1 + resolution: "vite@npm:5.1.1" dependencies: esbuild: "npm:^0.19.3" fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.32" + postcss: "npm:^8.4.35" rollup: "npm:^4.2.0" peerDependencies: "@types/node": ^18.0.0 || >=20.0.0 @@ -14772,80 +15421,60 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: f1a8fea35ed9f162d7a10fd13efb2c96637028b0a319d726aeec8b31e20e4d047272bda5df82167618e7774a520236c66f3093ed172802660aec5227814072f4 + checksum: bdb8e683caddaa0a9adcbf40144ca8ea3660836b208862b07d43787ea867845919af16e58745365bd13ed3b7f66bbf9788a6869ee22cfaacac01645b59729c34 languageName: node linkType: hard -"vitest@npm:^0.34.6": - version: 0.34.6 - resolution: "vitest@npm:0.34.6" +"vite@npm:^5.2.11": + version: 5.2.11 + resolution: "vite@npm:5.2.11" dependencies: - "@types/chai": "npm:^4.3.5" - "@types/chai-subset": "npm:^1.3.3" - "@types/node": "npm:*" - "@vitest/expect": "npm:0.34.6" - "@vitest/runner": "npm:0.34.6" - "@vitest/snapshot": "npm:0.34.6" - "@vitest/spy": "npm:0.34.6" - "@vitest/utils": "npm:0.34.6" - acorn: "npm:^8.9.0" - acorn-walk: "npm:^8.2.0" - cac: "npm:^6.7.14" - chai: "npm:^4.3.10" - debug: "npm:^4.3.4" - local-pkg: "npm:^0.4.3" - magic-string: "npm:^0.30.1" - pathe: "npm:^1.1.1" - picocolors: "npm:^1.0.0" - std-env: "npm:^3.3.3" - strip-literal: "npm:^1.0.1" - tinybench: "npm:^2.5.0" - tinypool: "npm:^0.7.0" - vite: "npm:^3.1.0 || ^4.0.0 || ^5.0.0-0" - vite-node: "npm:0.34.6" - why-is-node-running: "npm:^2.2.2" + esbuild: "npm:^0.20.1" + fsevents: "npm:~2.3.3" + postcss: "npm:^8.4.38" + rollup: "npm:^4.13.0" peerDependencies: - "@edge-runtime/vm": "*" - "@vitest/browser": "*" - "@vitest/ui": "*" - happy-dom: "*" - jsdom: "*" - playwright: "*" - safaridriver: "*" - webdriverio: "*" - peerDependenciesMeta: - "@edge-runtime/vm": + "@types/node": ^18.0.0 || >=20.0.0 + less: "*" + lightningcss: ^1.21.0 + sass: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: optional: true - "@vitest/browser": + peerDependenciesMeta: + "@types/node": optional: true - "@vitest/ui": + less: optional: true - happy-dom: + lightningcss: optional: true - jsdom: + sass: optional: true - playwright: + stylus: optional: true - safaridriver: + sugarss: optional: true - webdriverio: + terser: optional: true bin: - vitest: vitest.mjs - checksum: 0191422ab979823803aac64e657e288f1b84bb518a2b653fe9928b4f1c931b04efde14990d263ff76a18dc6c35ab34652db3ae7cbecea771cfa36abe547dd705 + vite: bin/vite.js + checksum: ee0ad038f0831c9514796522deb1e2dcb84bc311abbccb77e4b12216d37fc9559137f4f1b8e75187d51007b954e845c6518e36ee3acac2e2a2789c1181ebb16c languageName: node linkType: hard "vitest@npm:^1.0.4": - version: 1.2.0 - resolution: "vitest@npm:1.2.0" - dependencies: - "@vitest/expect": "npm:1.2.0" - "@vitest/runner": "npm:1.2.0" - "@vitest/snapshot": "npm:1.2.0" - "@vitest/spy": "npm:1.2.0" - "@vitest/utils": "npm:1.2.0" - acorn-walk: "npm:^8.3.1" + version: 1.2.2 + resolution: "vitest@npm:1.2.2" + dependencies: + "@vitest/expect": "npm:1.2.2" + "@vitest/runner": "npm:1.2.2" + "@vitest/snapshot": "npm:1.2.2" + "@vitest/spy": "npm:1.2.2" + "@vitest/utils": "npm:1.2.2" + acorn-walk: "npm:^8.3.2" cac: "npm:^6.7.14" chai: "npm:^4.3.10" debug: "npm:^4.3.4" @@ -14857,9 +15486,9 @@ __metadata: std-env: "npm:^3.5.0" strip-literal: "npm:^1.3.0" tinybench: "npm:^2.5.1" - tinypool: "npm:^0.8.1" + tinypool: "npm:^0.8.2" vite: "npm:^5.0.0" - vite-node: "npm:1.2.0" + vite-node: "npm:1.2.2" why-is-node-running: "npm:^2.2.2" peerDependencies: "@edge-runtime/vm": "*" @@ -14883,7 +15512,7 @@ __metadata: optional: true bin: vitest: vitest.mjs - checksum: 6ad4ffc76a8e364eaebc3c745c699638445b0f96259fcc028d95d521c01df84f0d00fea72beee73d48ea2ce93640cf7bbe76ad541230e076d6435946bb764f8e + checksum: 1dc90823cde249a60e955f82e67cef76c363c78a9783c4dae94a080199fa3e48a56a5c9d1f40667b4542862e183d05c444af846059477b3a66c6b952d168b9cb languageName: node linkType: hard @@ -14912,15 +15541,6 @@ __metadata: languageName: node linkType: hard -"wcwidth@npm:^1.0.1": - version: 1.0.1 - resolution: "wcwidth@npm:1.0.1" - dependencies: - defaults: "npm:^1.0.3" - checksum: 182ebac8ca0b96845fae6ef44afd4619df6987fe5cf552fdee8396d3daa1fb9b8ec5c6c69855acb7b3c1231571393bd1f0a4cdc4028d421575348f64bb0a8817 - languageName: node - linkType: hard - "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -15016,7 +15636,7 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.9": +"which-typed-array@npm:^1.1.11": version: 1.1.13 resolution: "which-typed-array@npm:1.1.13" dependencies: @@ -15029,7 +15649,33 @@ __metadata: languageName: node linkType: hard -"which@npm:^2.0.1, which@npm:^2.0.2": +"which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.9": + version: 1.1.14 + resolution: "which-typed-array@npm:1.1.14" + dependencies: + available-typed-arrays: "npm:^1.0.6" + call-bind: "npm:^1.0.5" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-tostringtag: "npm:^1.0.1" + checksum: 56253d2c9d6b41b8a4af96d8c2751bac5508906bd500cdcd0dc5301fb082de0391a4311ab21258bc8d2609ed593f422c1a66f0020fcb3a1e97f719bc928b9018 + languageName: node + linkType: hard + +"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.2": + version: 1.1.15 + resolution: "which-typed-array@npm:1.1.15" + dependencies: + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-tostringtag: "npm:^1.0.2" + checksum: c3b6a99beadc971baa53c3ee5b749f2b9bdfa3b3b9a70650dd8511a48b61d877288b498d424712e9991d16019633086bd8b5923369460d93463c5825fa36c448 + languageName: node + linkType: hard + +"which@npm:^2.0.1": version: 2.0.2 resolution: "which@npm:2.0.2" dependencies: @@ -15063,15 +15709,6 @@ __metadata: languageName: node linkType: hard -"wide-align@npm:^1.1.5": - version: 1.1.5 - resolution: "wide-align@npm:1.1.5" - dependencies: - string-width: "npm:^1.0.2 || 2 || 3 || 4" - checksum: d5f8027b9a8255a493a94e4ec1b74a27bff6679d5ffe29316a3215e4712945c84ef73ca4045c7e20ae7d0c72f5f57f296e04a4928e773d4276a2f1222e4c2e99 - languageName: node - linkType: hard - "wkt-parser@npm:^1.3.3": version: 1.3.3 resolution: "wkt-parser@npm:1.3.3" @@ -15090,7 +15727,7 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^6.0.1": +"wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" dependencies: @@ -15176,20 +15813,13 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.2.1, yaml@npm:^2.3.4": +"yaml@npm:^2.3.4": version: 2.3.4 resolution: "yaml@npm:2.3.4" checksum: f8207ce43065a22268a2806ea6a0fa3974c6fde92b4b2fa0082357e487bc333e85dc518910007e7ac001b532c7c84bd3eccb6c7757e94182b564028b0008f44b languageName: node linkType: hard -"yargs-parser@npm:^20.2.3": - version: 20.2.9 - resolution: "yargs-parser@npm:20.2.9" - checksum: 0188f430a0f496551d09df6719a9132a3469e47fe2747208b1dd0ab2bb0c512a95d0b081628bbca5400fb20dbf2fabe63d22badb346cecadffdd948b049f3fcc - languageName: node - linkType: hard - "yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" @@ -15197,7 +15827,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.0.1, yargs@npm:^17.2.1, yargs@npm:^17.5.1, yargs@npm:^17.7.2": +"yargs@npm:^17.0.1, yargs@npm:^17.5.1, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: @@ -15243,14 +15873,14 @@ __metadata: languageName: node linkType: hard -"zustand@npm:^4.4.7": - version: 4.4.7 - resolution: "zustand@npm:4.4.7" +"zustand@npm:^4.5.2": + version: 4.5.2 + resolution: "zustand@npm:4.5.2" dependencies: use-sync-external-store: "npm:1.2.0" peerDependencies: "@types/react": ">=16.8" - immer: ">=9.0" + immer: ">=9.0.6" react: ">=16.8" peerDependenciesMeta: "@types/react": @@ -15259,6 +15889,6 @@ __metadata: optional: true react: optional: true - checksum: 572e42d912362eb3aabde9a37bca47caa547391fc4563e41444d9aef7ca453ca730ee1f00aae4b25c2635ca293d69c23ab0a41688cd4db8394545732a2d9c236 + checksum: 9e9e92ce7378c5de1d7682f4f10340a1c07a81b673ad0a125b59883a6ade3f2bf39eac6ccc5b05630f9df6ed925291f681592db59ccd3815685c2e83f67c8525 languageName: node linkType: hard