diff --git a/packages/behandling-utvidet-rett/package.json b/packages/behandling-utvidet-rett/package.json index 8443ae48d2..758781c15b 100644 --- a/packages/behandling-utvidet-rett/package.json +++ b/packages/behandling-utvidet-rett/package.json @@ -13,9 +13,9 @@ "@fpsak-frontend/utils": "1.0.0", "@k9-sak-web/behandling-felles": "1.0.0", "@k9-sak-web/fakta-barn-oms": "1.0.0", - "@k9-sak-web/fakta-omsorgsdager": "1.0.0", "@k9-sak-web/konstanter": "1.0.0", "@k9-sak-web/prosess-aarskvantum-oms": "1.0.0", + "@k9-sak-web/prosess-omsorgsdager": "1.0.0", "@k9-sak-web/rest-api": "1.0.0", "@k9-sak-web/rest-api-hooks": "1.0.0", "@k9-sak-web/types": "1.0.0", diff --git a/packages/behandling-utvidet-rett/src/panelDefinisjoner/prosessStegPaneler/inngangsvilkarPaneler/omsorgenForMikrofrontend/OmsorgenForMikrofrontend.tsx b/packages/behandling-utvidet-rett/src/panelDefinisjoner/prosessStegPaneler/inngangsvilkarPaneler/omsorgenForMikrofrontend/OmsorgenForMikrofrontend.tsx index 581d500844..db37486a8f 100644 --- a/packages/behandling-utvidet-rett/src/panelDefinisjoner/prosessStegPaneler/inngangsvilkarPaneler/omsorgenForMikrofrontend/OmsorgenForMikrofrontend.tsx +++ b/packages/behandling-utvidet-rett/src/panelDefinisjoner/prosessStegPaneler/inngangsvilkarPaneler/omsorgenForMikrofrontend/OmsorgenForMikrofrontend.tsx @@ -1,6 +1,6 @@ import { FormState } from '@fpsak-frontend/form'; import { Omsorgsdager } from '@navikt/k9-fe-omsorgsdager'; -import { Omsorgsdager as LokalOmsorgsdager } from '@k9-sak-web/fakta-omsorgsdager'; +import { Omsorgsdager as LokalOmsorgsdager } from '@k9-sak-web/prosess-omsorgsdager'; import React from 'react'; import KartleggePropertyTilOmsorgenForMikrofrontendKomponent from './KartleggePropertyTilOmsorgenForMikrofrontendKomponent'; diff --git a/packages/behandling-utvidet-rett/src/panelDefinisjoner/prosessStegPaneler/utvidetRettPanel/utvidetRettMikrofrontend/UtvidetRettMikrofrontend.tsx b/packages/behandling-utvidet-rett/src/panelDefinisjoner/prosessStegPaneler/utvidetRettPanel/utvidetRettMikrofrontend/UtvidetRettMikrofrontend.tsx index 04f38587dd..083a6b081c 100644 --- a/packages/behandling-utvidet-rett/src/panelDefinisjoner/prosessStegPaneler/utvidetRettPanel/utvidetRettMikrofrontend/UtvidetRettMikrofrontend.tsx +++ b/packages/behandling-utvidet-rett/src/panelDefinisjoner/prosessStegPaneler/utvidetRettPanel/utvidetRettMikrofrontend/UtvidetRettMikrofrontend.tsx @@ -1,5 +1,5 @@ import { Omsorgsdager } from '@navikt/k9-fe-omsorgsdager'; -import { Omsorgsdager as LokalOmsorgsdager } from '@k9-sak-web/fakta-omsorgsdager'; +import { Omsorgsdager as LokalOmsorgsdager } from '@k9-sak-web/prosess-omsorgsdager'; import React from 'react'; import KartleggePropertyTilUtvidetRettMikrofrontendKomponent from './KartleggePropertyTilUtvidetRettMikrofrontendKomponent'; diff --git a/packages/prosess-aarskvantum-oms/package.json b/packages/prosess-aarskvantum-oms/package.json index 49a5bc9f22..4f0061d2b3 100644 --- a/packages/prosess-aarskvantum-oms/package.json +++ b/packages/prosess-aarskvantum-oms/package.json @@ -10,8 +10,8 @@ "@fpsak-frontend/kodeverk": "1.0.0", "@fpsak-frontend/shared-components": "1.0.0", "@fpsak-frontend/utils": "1.0.0", - "@k9-sak-web/fakta-omsorgsdager": "1.0.0", "@k9-sak-web/konstanter": "1.0.0", + "@k9-sak-web/prosess-omsorgsdager": "1.0.0", "@k9-sak-web/types": "1.0.0", "classnames": "2.3.2", "lodash": "4.17.21", diff --git a/packages/prosess-aarskvantum-oms/src/components/saerlige-smittevernhensyn/SaerligeSmittevernhensynMikrofrontend.tsx b/packages/prosess-aarskvantum-oms/src/components/saerlige-smittevernhensyn/SaerligeSmittevernhensynMikrofrontend.tsx index 422e5c1c41..1b0e8a9461 100644 --- a/packages/prosess-aarskvantum-oms/src/components/saerlige-smittevernhensyn/SaerligeSmittevernhensynMikrofrontend.tsx +++ b/packages/prosess-aarskvantum-oms/src/components/saerlige-smittevernhensyn/SaerligeSmittevernhensynMikrofrontend.tsx @@ -1,6 +1,6 @@ import { FormState } from '@fpsak-frontend/form/index'; import { Omsorgsdager } from '@navikt/k9-fe-omsorgsdager'; -import { Omsorgsdager as LokalOmsorgsdager } from '@k9-sak-web/fakta-omsorgsdager'; +import { Omsorgsdager as LokalOmsorgsdager } from '@k9-sak-web/prosess-omsorgsdager'; import React from 'react'; import KartleggePropertyTilSaerligeSmittevernhensynMikrofrontend from './KartleggePropertyTilSaerligeSmittevernhensynMikrofrontend'; diff --git a/packages/fakta-omsorgsdager/index.html b/packages/prosess-omsorgsdager/index.html similarity index 100% rename from packages/fakta-omsorgsdager/index.html rename to packages/prosess-omsorgsdager/index.html diff --git a/packages/fakta-omsorgsdager/index.ts b/packages/prosess-omsorgsdager/index.ts similarity index 100% rename from packages/fakta-omsorgsdager/index.ts rename to packages/prosess-omsorgsdager/index.ts diff --git a/packages/fakta-omsorgsdager/package.json b/packages/prosess-omsorgsdager/package.json similarity index 96% rename from packages/fakta-omsorgsdager/package.json rename to packages/prosess-omsorgsdager/package.json index 5ec1e4ab95..61a8026eff 100644 --- a/packages/fakta-omsorgsdager/package.json +++ b/packages/prosess-omsorgsdager/package.json @@ -1,5 +1,5 @@ { - "name": "@k9-sak-web/fakta-omsorgsdager", + "name": "@k9-sak-web/prosess-omsorgsdager", "version": "1.0.0", "module": "index.ts", "keywords": [], diff --git a/packages/fakta-omsorgsdager/src/api/OmsorgApi.ts b/packages/prosess-omsorgsdager/src/api/OmsorgApi.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/api/OmsorgApi.ts rename to packages/prosess-omsorgsdager/src/api/OmsorgApi.ts diff --git a/packages/fakta-omsorgsdager/src/dev/app.ts b/packages/prosess-omsorgsdager/src/dev/app.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/dev/app.ts rename to packages/prosess-omsorgsdager/src/dev/app.ts diff --git a/packages/fakta-omsorgsdager/src/types/AleneOmOmsorgenProps.ts b/packages/prosess-omsorgsdager/src/types/AleneOmOmsorgenProps.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/AleneOmOmsorgenProps.ts rename to packages/prosess-omsorgsdager/src/types/AleneOmOmsorgenProps.ts diff --git a/packages/fakta-omsorgsdager/src/types/Behov.ts b/packages/prosess-omsorgsdager/src/types/Behov.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/Behov.ts rename to packages/prosess-omsorgsdager/src/types/Behov.ts diff --git a/packages/fakta-omsorgsdager/src/types/ContainerContract.ts b/packages/prosess-omsorgsdager/src/types/ContainerContract.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/ContainerContract.ts rename to packages/prosess-omsorgsdager/src/types/ContainerContract.ts diff --git a/packages/fakta-omsorgsdager/src/types/FormState.ts b/packages/prosess-omsorgsdager/src/types/FormState.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/FormState.ts rename to packages/prosess-omsorgsdager/src/types/FormState.ts diff --git a/packages/fakta-omsorgsdager/src/types/InformasjonOmVurdertVilkar.ts b/packages/prosess-omsorgsdager/src/types/InformasjonOmVurdertVilkar.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/InformasjonOmVurdertVilkar.ts rename to packages/prosess-omsorgsdager/src/types/InformasjonOmVurdertVilkar.ts diff --git a/packages/fakta-omsorgsdager/src/types/Komponenter.ts b/packages/prosess-omsorgsdager/src/types/Komponenter.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/Komponenter.ts rename to packages/prosess-omsorgsdager/src/types/Komponenter.ts diff --git a/packages/fakta-omsorgsdager/src/types/KorrigerePerioderProps.ts b/packages/prosess-omsorgsdager/src/types/KorrigerePerioderProps.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/KorrigerePerioderProps.ts rename to packages/prosess-omsorgsdager/src/types/KorrigerePerioderProps.ts diff --git a/packages/fakta-omsorgsdager/src/types/OmsorgProps.ts b/packages/prosess-omsorgsdager/src/types/OmsorgProps.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/OmsorgProps.ts rename to packages/prosess-omsorgsdager/src/types/OmsorgProps.ts diff --git a/packages/fakta-omsorgsdager/src/types/Omsorgsinfo.ts b/packages/prosess-omsorgsdager/src/types/Omsorgsinfo.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/Omsorgsinfo.ts rename to packages/prosess-omsorgsdager/src/types/Omsorgsinfo.ts diff --git a/packages/fakta-omsorgsdager/src/types/Period.ts b/packages/prosess-omsorgsdager/src/types/Period.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/Period.ts rename to packages/prosess-omsorgsdager/src/types/Period.ts diff --git "a/packages/fakta-omsorgsdager/src/types/Tilgjengelige\303\205rOptions.ts" "b/packages/prosess-omsorgsdager/src/types/Tilgjengelige\303\205rOptions.ts" similarity index 100% rename from "packages/fakta-omsorgsdager/src/types/Tilgjengelige\303\205rOptions.ts" rename to "packages/prosess-omsorgsdager/src/types/Tilgjengelige\303\205rOptions.ts" diff --git a/packages/fakta-omsorgsdager/src/types/Vedtaksstatus.ts b/packages/prosess-omsorgsdager/src/types/Vedtaksstatus.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/Vedtaksstatus.ts rename to packages/prosess-omsorgsdager/src/types/Vedtaksstatus.ts diff --git a/packages/fakta-omsorgsdager/src/types/VilkarKroniskSyktBarnProps.ts b/packages/prosess-omsorgsdager/src/types/VilkarKroniskSyktBarnProps.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/VilkarKroniskSyktBarnProps.ts rename to packages/prosess-omsorgsdager/src/types/VilkarKroniskSyktBarnProps.ts diff --git a/packages/fakta-omsorgsdager/src/types/VilkarMidlertidigAleneProps.ts b/packages/prosess-omsorgsdager/src/types/VilkarMidlertidigAleneProps.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/VilkarMidlertidigAleneProps.ts rename to packages/prosess-omsorgsdager/src/types/VilkarMidlertidigAleneProps.ts diff --git a/packages/fakta-omsorgsdager/src/types/Visningsstatus.ts b/packages/prosess-omsorgsdager/src/types/Visningsstatus.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/Visningsstatus.ts rename to packages/prosess-omsorgsdager/src/types/Visningsstatus.ts diff --git a/packages/fakta-omsorgsdager/src/types/informasjonTilLesemodus.ts b/packages/prosess-omsorgsdager/src/types/informasjonTilLesemodus.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/types/informasjonTilLesemodus.ts rename to packages/prosess-omsorgsdager/src/types/informasjonTilLesemodus.ts diff --git a/packages/fakta-omsorgsdager/src/ui/MainComponent.tsx b/packages/prosess-omsorgsdager/src/ui/MainComponent.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/MainComponent.tsx rename to packages/prosess-omsorgsdager/src/ui/MainComponent.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/aksjonspunkt-lesemodus/AksjonspunktLesemodus.tsx b/packages/prosess-omsorgsdager/src/ui/components/aksjonspunkt-lesemodus/AksjonspunktLesemodus.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/aksjonspunkt-lesemodus/AksjonspunktLesemodus.tsx rename to packages/prosess-omsorgsdager/src/ui/components/aksjonspunkt-lesemodus/AksjonspunktLesemodus.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/alene-om-omsorgen-lesemodus/AleneOmOmsorgenLesemodus.tsx b/packages/prosess-omsorgsdager/src/ui/components/alene-om-omsorgen-lesemodus/AleneOmOmsorgenLesemodus.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/alene-om-omsorgen-lesemodus/AleneOmOmsorgenLesemodus.tsx rename to packages/prosess-omsorgsdager/src/ui/components/alene-om-omsorgen-lesemodus/AleneOmOmsorgenLesemodus.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/alene-om-omsorgen/AleneOmOmsorgen.tsx b/packages/prosess-omsorgsdager/src/ui/components/alene-om-omsorgen/AleneOmOmsorgen.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/alene-om-omsorgen/AleneOmOmsorgen.tsx rename to packages/prosess-omsorgsdager/src/ui/components/alene-om-omsorgen/AleneOmOmsorgen.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/alene-om-omsorgen/alene-om-omsorgen-tekst.ts b/packages/prosess-omsorgsdager/src/ui/components/alene-om-omsorgen/alene-om-omsorgen-tekst.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/alene-om-omsorgen/alene-om-omsorgen-tekst.ts rename to packages/prosess-omsorgsdager/src/ui/components/alene-om-omsorgen/alene-om-omsorgen-tekst.ts diff --git a/packages/fakta-omsorgsdager/src/ui/components/alertstripe-trekant-varsel/AlertStripeTrekantVarsel.tsx b/packages/prosess-omsorgsdager/src/ui/components/alertstripe-trekant-varsel/AlertStripeTrekantVarsel.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/alertstripe-trekant-varsel/AlertStripeTrekantVarsel.tsx rename to packages/prosess-omsorgsdager/src/ui/components/alertstripe-trekant-varsel/AlertStripeTrekantVarsel.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/alertstripe-trekant-varsel/alertStripeTrekantVarsel.css b/packages/prosess-omsorgsdager/src/ui/components/alertstripe-trekant-varsel/alertStripeTrekantVarsel.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/alertstripe-trekant-varsel/alertStripeTrekantVarsel.css rename to packages/prosess-omsorgsdager/src/ui/components/alertstripe-trekant-varsel/alertStripeTrekantVarsel.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/api-error-message/ApiErrorMessage.tsx b/packages/prosess-omsorgsdager/src/ui/components/api-error-message/ApiErrorMessage.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/api-error-message/ApiErrorMessage.tsx rename to packages/prosess-omsorgsdager/src/ui/components/api-error-message/ApiErrorMessage.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/api-response-message/ApiResponseMessage.tsx b/packages/prosess-omsorgsdager/src/ui/components/api-response-message/ApiResponseMessage.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/api-response-message/ApiResponseMessage.tsx rename to packages/prosess-omsorgsdager/src/ui/components/api-response-message/ApiResponseMessage.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/api-response-message/apiResponseMessage.css b/packages/prosess-omsorgsdager/src/ui/components/api-response-message/apiResponseMessage.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/api-response-message/apiResponseMessage.css rename to packages/prosess-omsorgsdager/src/ui/components/api-response-message/apiResponseMessage.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/korrigere-perioder/KorrigerePerioder.tsx b/packages/prosess-omsorgsdager/src/ui/components/korrigere-perioder/KorrigerePerioder.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/korrigere-perioder/KorrigerePerioder.tsx rename to packages/prosess-omsorgsdager/src/ui/components/korrigere-perioder/KorrigerePerioder.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/korrigere-perioder/korrigerePerioder.css b/packages/prosess-omsorgsdager/src/ui/components/korrigere-perioder/korrigerePerioder.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/korrigere-perioder/korrigerePerioder.css rename to packages/prosess-omsorgsdager/src/ui/components/korrigere-perioder/korrigerePerioder.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/lesemodus/lesemodusboks.css b/packages/prosess-omsorgsdager/src/ui/components/lesemodus/lesemodusboks.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/lesemodus/lesemodusboks.css rename to packages/prosess-omsorgsdager/src/ui/components/lesemodus/lesemodusboks.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/omsorg/Omsorg.tsx b/packages/prosess-omsorgsdager/src/ui/components/omsorg/Omsorg.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/omsorg/Omsorg.tsx rename to packages/prosess-omsorgsdager/src/ui/components/omsorg/Omsorg.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/omsorg/omsorg.css b/packages/prosess-omsorgsdager/src/ui/components/omsorg/omsorg.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/omsorg/omsorg.css rename to packages/prosess-omsorgsdager/src/ui/components/omsorg/omsorg.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/opplysninger-fra-soknad/OpplysningerFraSoknad.tsx b/packages/prosess-omsorgsdager/src/ui/components/opplysninger-fra-soknad/OpplysningerFraSoknad.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/opplysninger-fra-soknad/OpplysningerFraSoknad.tsx rename to packages/prosess-omsorgsdager/src/ui/components/opplysninger-fra-soknad/OpplysningerFraSoknad.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/opplysninger-fra-soknad/opplysningerFraSoknad.css b/packages/prosess-omsorgsdager/src/ui/components/opplysninger-fra-soknad/opplysningerFraSoknad.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/opplysninger-fra-soknad/opplysningerFraSoknad.css rename to packages/prosess-omsorgsdager/src/ui/components/opplysninger-fra-soknad/opplysningerFraSoknad.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/opplysninger-fra-vedtak/OpplysningerFraVedtak.tsx b/packages/prosess-omsorgsdager/src/ui/components/opplysninger-fra-vedtak/OpplysningerFraVedtak.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/opplysninger-fra-vedtak/OpplysningerFraVedtak.tsx rename to packages/prosess-omsorgsdager/src/ui/components/opplysninger-fra-vedtak/OpplysningerFraVedtak.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/opplysninger-fra-vedtak/opplysningerFraVedtak.css b/packages/prosess-omsorgsdager/src/ui/components/opplysninger-fra-vedtak/opplysningerFraVedtak.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/opplysninger-fra-vedtak/opplysningerFraVedtak.css rename to packages/prosess-omsorgsdager/src/ui/components/opplysninger-fra-vedtak/opplysningerFraVedtak.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/DatePicker.tsx b/packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/DatePicker.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/DatePicker.tsx rename to packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/DatePicker.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/InputField.tsx b/packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/InputField.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/InputField.tsx rename to packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/InputField.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/RadioButton.tsx b/packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/RadioButton.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/RadioButton.tsx rename to packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/RadioButton.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/TextArea.tsx b/packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/TextArea.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/TextArea.tsx rename to packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/TextArea.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/datePicker.css b/packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/datePicker.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/react-hook-form-wrappers/datePicker.css rename to packages/prosess-omsorgsdager/src/ui/components/react-hook-form-wrappers/datePicker.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/spinner/Spinner.tsx b/packages/prosess-omsorgsdager/src/ui/components/spinner/Spinner.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/spinner/Spinner.tsx rename to packages/prosess-omsorgsdager/src/ui/components/spinner/Spinner.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/spinner/spinner.css b/packages/prosess-omsorgsdager/src/ui/components/spinner/spinner.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/spinner/spinner.css rename to packages/prosess-omsorgsdager/src/ui/components/spinner/spinner.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/styles/radioknapper/radioknapper.css b/packages/prosess-omsorgsdager/src/ui/components/styles/radioknapper/radioknapper.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/styles/radioknapper/radioknapper.css rename to packages/prosess-omsorgsdager/src/ui/components/styles/radioknapper/radioknapper.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/alene-om-omsorgen.spec.tsx b/packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/alene-om-omsorgen.spec.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/alene-om-omsorgen.spec.tsx rename to packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/alene-om-omsorgen.spec.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/korrigere-perioder.spec.tsx b/packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/korrigere-perioder.spec.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/korrigere-perioder.spec.tsx rename to packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/korrigere-perioder.spec.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/kronisk-syk.spec.tsx b/packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/kronisk-syk.spec.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/kronisk-syk.spec.tsx rename to packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/kronisk-syk.spec.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/omsorg.spec.tsx b/packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/omsorg.spec.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/omsorg.spec.tsx rename to packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/omsorg.spec.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/vilkar-midlertidig-alene.spec.tsx b/packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/vilkar-midlertidig-alene.spec.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/tester/__tests__/vilkar-midlertidig-alene.spec.tsx rename to packages/prosess-omsorgsdager/src/ui/components/tester/__tests__/vilkar-midlertidig-alene.spec.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/tester/dataTilTest/FormStateTilTest.ts b/packages/prosess-omsorgsdager/src/ui/components/tester/dataTilTest/FormStateTilTest.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/tester/dataTilTest/FormStateTilTest.ts rename to packages/prosess-omsorgsdager/src/ui/components/tester/dataTilTest/FormStateTilTest.ts diff --git a/packages/fakta-omsorgsdager/src/ui/components/vilkar-kronisk-sykt-barn/VilkarKroniskSyktBarn.tsx b/packages/prosess-omsorgsdager/src/ui/components/vilkar-kronisk-sykt-barn/VilkarKroniskSyktBarn.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/vilkar-kronisk-sykt-barn/VilkarKroniskSyktBarn.tsx rename to packages/prosess-omsorgsdager/src/ui/components/vilkar-kronisk-sykt-barn/VilkarKroniskSyktBarn.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/vilkar-kronisk-sykt-barn/vilkarKronisSyktBarn.css b/packages/prosess-omsorgsdager/src/ui/components/vilkar-kronisk-sykt-barn/vilkarKronisSyktBarn.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/vilkar-kronisk-sykt-barn/vilkarKronisSyktBarn.css rename to packages/prosess-omsorgsdager/src/ui/components/vilkar-kronisk-sykt-barn/vilkarKronisSyktBarn.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/vilkar-midlertidig-alene-lesemodus/VilkarMidlertidigAleneLesemodus.tsx b/packages/prosess-omsorgsdager/src/ui/components/vilkar-midlertidig-alene-lesemodus/VilkarMidlertidigAleneLesemodus.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/vilkar-midlertidig-alene-lesemodus/VilkarMidlertidigAleneLesemodus.tsx rename to packages/prosess-omsorgsdager/src/ui/components/vilkar-midlertidig-alene-lesemodus/VilkarMidlertidigAleneLesemodus.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/VilkarMidlertidigAlene.tsx b/packages/prosess-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/VilkarMidlertidigAlene.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/VilkarMidlertidigAlene.tsx rename to packages/prosess-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/VilkarMidlertidigAlene.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/vilkar-midlertidig-alene-tekst.ts b/packages/prosess-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/vilkar-midlertidig-alene-tekst.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/vilkar-midlertidig-alene-tekst.ts rename to packages/prosess-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/vilkar-midlertidig-alene-tekst.ts diff --git a/packages/fakta-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/vilkarMidlertidigAlene.css b/packages/prosess-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/vilkarMidlertidigAlene.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/vilkarMidlertidigAlene.css rename to packages/prosess-omsorgsdager/src/ui/components/vilkar-midlertidig-alene/vilkarMidlertidigAlene.css diff --git a/packages/fakta-omsorgsdager/src/ui/components/vilkar-status/VilkarStatus.tsx b/packages/prosess-omsorgsdager/src/ui/components/vilkar-status/VilkarStatus.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/vilkar-status/VilkarStatus.tsx rename to packages/prosess-omsorgsdager/src/ui/components/vilkar-status/VilkarStatus.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/components/vilkar-status/vilkarStatus.css b/packages/prosess-omsorgsdager/src/ui/components/vilkar-status/vilkarStatus.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/components/vilkar-status/vilkarStatus.css rename to packages/prosess-omsorgsdager/src/ui/components/vilkar-status/vilkarStatus.css diff --git a/packages/fakta-omsorgsdager/src/ui/context/ContainerContext.ts b/packages/prosess-omsorgsdager/src/ui/context/ContainerContext.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/context/ContainerContext.ts rename to packages/prosess-omsorgsdager/src/ui/context/ContainerContext.ts diff --git a/packages/fakta-omsorgsdager/src/ui/global.css b/packages/prosess-omsorgsdager/src/ui/global.css similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/global.css rename to packages/prosess-omsorgsdager/src/ui/global.css diff --git a/packages/fakta-omsorgsdager/src/ui/icons/Feilikon.tsx b/packages/prosess-omsorgsdager/src/ui/icons/Feilikon.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/icons/Feilikon.tsx rename to packages/prosess-omsorgsdager/src/ui/icons/Feilikon.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/icons/SjekkIkon.tsx b/packages/prosess-omsorgsdager/src/ui/icons/SjekkIkon.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/icons/SjekkIkon.tsx rename to packages/prosess-omsorgsdager/src/ui/icons/SjekkIkon.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/icons/Suksessikon.tsx b/packages/prosess-omsorgsdager/src/ui/icons/Suksessikon.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/icons/Suksessikon.tsx rename to packages/prosess-omsorgsdager/src/ui/icons/Suksessikon.tsx diff --git a/packages/fakta-omsorgsdager/src/ui/icons/WarningIcon.tsx b/packages/prosess-omsorgsdager/src/ui/icons/WarningIcon.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/ui/icons/WarningIcon.tsx rename to packages/prosess-omsorgsdager/src/ui/icons/WarningIcon.tsx diff --git a/packages/fakta-omsorgsdager/src/util/apiUtils.ts b/packages/prosess-omsorgsdager/src/util/apiUtils.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/util/apiUtils.ts rename to packages/prosess-omsorgsdager/src/util/apiUtils.ts diff --git a/packages/fakta-omsorgsdager/src/util/dateUtils.ts b/packages/prosess-omsorgsdager/src/util/dateUtils.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/util/dateUtils.ts rename to packages/prosess-omsorgsdager/src/util/dateUtils.ts diff --git a/packages/fakta-omsorgsdager/src/util/renderers.tsx b/packages/prosess-omsorgsdager/src/util/renderers.tsx similarity index 100% rename from packages/fakta-omsorgsdager/src/util/renderers.tsx rename to packages/prosess-omsorgsdager/src/util/renderers.tsx diff --git a/packages/fakta-omsorgsdager/src/util/stringUtils.ts b/packages/prosess-omsorgsdager/src/util/stringUtils.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/util/stringUtils.ts rename to packages/prosess-omsorgsdager/src/util/stringUtils.ts diff --git a/packages/fakta-omsorgsdager/src/util/useFormSessionStorageUtils.ts b/packages/prosess-omsorgsdager/src/util/useFormSessionStorageUtils.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/util/useFormSessionStorageUtils.ts rename to packages/prosess-omsorgsdager/src/util/useFormSessionStorageUtils.ts diff --git a/packages/fakta-omsorgsdager/src/util/validationReactHookFormUtils.ts b/packages/prosess-omsorgsdager/src/util/validationReactHookFormUtils.ts similarity index 100% rename from packages/fakta-omsorgsdager/src/util/validationReactHookFormUtils.ts rename to packages/prosess-omsorgsdager/src/util/validationReactHookFormUtils.ts diff --git a/packages/fakta-omsorgsdager/webpack/webpack-config.development.js b/packages/prosess-omsorgsdager/webpack/webpack-config.development.js similarity index 100% rename from packages/fakta-omsorgsdager/webpack/webpack-config.development.js rename to packages/prosess-omsorgsdager/webpack/webpack-config.development.js diff --git a/packages/fakta-omsorgsdager/webpack/webpack.common.js b/packages/prosess-omsorgsdager/webpack/webpack.common.js similarity index 100% rename from packages/fakta-omsorgsdager/webpack/webpack.common.js rename to packages/prosess-omsorgsdager/webpack/webpack.common.js diff --git a/packages/sak-app/package.json b/packages/sak-app/package.json index 081470ea57..4d5275cd70 100644 --- a/packages/sak-app/package.json +++ b/packages/sak-app/package.json @@ -42,9 +42,9 @@ "@k9-sak-web/fakta-medisinsk-vilkar": "1.0.0", "@k9-sak-web/fakta-om-barnet": "1.0.0", "@k9-sak-web/fakta-omsorgen-for": "1.0.0", - "@k9-sak-web/fakta-omsorgsdager": "1.0.0", "@k9-sak-web/konstanter": "1.0.0", "@k9-sak-web/modal-sett-pa-vent": "1.0.0", + "@k9-sak-web/prosess-omsorgsdager": "1.0.0", "@k9-sak-web/prosess-uttak": "1.0.0", "@k9-sak-web/rest-api": "1.0.0", "@k9-sak-web/rest-api-hooks": "1.0.0", diff --git a/packages/sak-meldinger/src/components/Messages.tsx b/packages/sak-meldinger/src/components/Messages.tsx index 419288c84a..83f7cd53da 100644 --- a/packages/sak-meldinger/src/components/Messages.tsx +++ b/packages/sak-meldinger/src/components/Messages.tsx @@ -97,9 +97,9 @@ const createValidateRecipient = recipients => value => : [{ id: 'ValidationMessage.InvalidRecipient' }]; const createTredjepartsmottaker = (orgnr: string): Mottaker => ({ - id: orgnr, - type: 'ORGNR', - }); + id: orgnr, + type: 'ORGNR', +}); const resolveOverstyrtMottaker = ( overstyrtMottaker: string, @@ -118,11 +118,7 @@ const resolveOverstyrtMottaker = ( ) { return createTredjepartsmottaker(tredjepartsmottakerOrgnr); } - if( - typeof tredjepartsmottakerOrgnr === 'string' && - tredjepartsmottakerOrgnr.length > 0 && - forPreview - ) { + if (typeof tredjepartsmottakerOrgnr === 'string' && tredjepartsmottakerOrgnr.length > 0 && forPreview) { // Spesialtilfelle. For forhåndsvisning ønsker vi å sende ufullstendig tredjepartsmottaker orgnr til backend // slik at den kan levere tilbake valideringsfeil, sidan vi med redux-form ikkje klarer å trigge frontend // validering utanom ved faktisk sending av brevet. diff --git a/yarn.lock b/yarn.lock index 0eb2715031..d3c688803b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4866,9 +4866,9 @@ __metadata: "@fpsak-frontend/utils": 1.0.0 "@k9-sak-web/behandling-felles": 1.0.0 "@k9-sak-web/fakta-barn-oms": 1.0.0 - "@k9-sak-web/fakta-omsorgsdager": 1.0.0 "@k9-sak-web/konstanter": 1.0.0 "@k9-sak-web/prosess-aarskvantum-oms": 1.0.0 + "@k9-sak-web/prosess-omsorgsdager": 1.0.0 "@k9-sak-web/rest-api": 1.0.0 "@k9-sak-web/rest-api-hooks": 1.0.0 "@k9-sak-web/types": 1.0.0 @@ -5236,41 +5236,6 @@ __metadata: languageName: unknown linkType: soft -"@k9-sak-web/fakta-omsorgsdager@1.0.0, @k9-sak-web/fakta-omsorgsdager@workspace:packages/fakta-omsorgsdager": - version: 0.0.0-use.local - resolution: "@k9-sak-web/fakta-omsorgsdager@workspace:packages/fakta-omsorgsdager" - dependencies: - "@navikt/ds-css": 5.12.2 - "@navikt/ds-react": 5.12.2 - "@navikt/fnrvalidator": 1.3.3 - classnames: 2.3.2 - dayjs: 1.11.10 - jest-axe: ^8.0.0 - lodash: 4.17.21 - nav-datovelger: 12.6.0 - nav-frontend-alertstriper: 4.0.2 - nav-frontend-alertstriper-style: 3.0.2 - nav-frontend-core: 6.0.1 - nav-frontend-ikoner-assets: 3.0.1 - nav-frontend-js-utils: 1.0.20 - nav-frontend-knapper: 3.1.3 - nav-frontend-knapper-style: 2.1.2 - nav-frontend-lenker: 2.0.2 - nav-frontend-lenker-style: 2.0.2 - nav-frontend-paneler-style: 2.0.2 - nav-frontend-skjema: 4.0.6 - nav-frontend-skjema-style: 3.0.3 - nav-frontend-spinner: 3.0.1 - nav-frontend-spinner-style: 1.0.2 - nav-frontend-typografi: 4.0.2 - nav-frontend-typografi-style: 2.0.2 - react: 18.2.0 - react-day-picker: 7.4.10 - react-dom: 18.2.0 - react-hook-form: 7.49.2 - languageName: unknown - linkType: soft - "@k9-sak-web/fakta-opplaering@workspace:packages/fakta-opplaering": version: 0.0.0-use.local resolution: "@k9-sak-web/fakta-opplaering@workspace:packages/fakta-opplaering" @@ -5382,8 +5347,8 @@ __metadata: "@fpsak-frontend/shared-components": 1.0.0 "@fpsak-frontend/utils": 1.0.0 "@fpsak-frontend/utils-test": 1.0.0 - "@k9-sak-web/fakta-omsorgsdager": 1.0.0 "@k9-sak-web/konstanter": 1.0.0 + "@k9-sak-web/prosess-omsorgsdager": 1.0.0 "@k9-sak-web/types": 1.0.0 classnames: 2.3.2 enzyme: 3.11.0 @@ -5444,6 +5409,41 @@ __metadata: languageName: unknown linkType: soft +"@k9-sak-web/prosess-omsorgsdager@1.0.0, @k9-sak-web/prosess-omsorgsdager@workspace:packages/prosess-omsorgsdager": + version: 0.0.0-use.local + resolution: "@k9-sak-web/prosess-omsorgsdager@workspace:packages/prosess-omsorgsdager" + dependencies: + "@navikt/ds-css": 5.12.2 + "@navikt/ds-react": 5.12.2 + "@navikt/fnrvalidator": 1.3.3 + classnames: 2.3.2 + dayjs: 1.11.10 + jest-axe: ^8.0.0 + lodash: 4.17.21 + nav-datovelger: 12.6.0 + nav-frontend-alertstriper: 4.0.2 + nav-frontend-alertstriper-style: 3.0.2 + nav-frontend-core: 6.0.1 + nav-frontend-ikoner-assets: 3.0.1 + nav-frontend-js-utils: 1.0.20 + nav-frontend-knapper: 3.1.3 + nav-frontend-knapper-style: 2.1.2 + nav-frontend-lenker: 2.0.2 + nav-frontend-lenker-style: 2.0.2 + nav-frontend-paneler-style: 2.0.2 + nav-frontend-skjema: 4.0.6 + nav-frontend-skjema-style: 3.0.3 + nav-frontend-spinner: 3.0.1 + nav-frontend-spinner-style: 1.0.2 + nav-frontend-typografi: 4.0.2 + nav-frontend-typografi-style: 2.0.2 + react: 18.2.0 + react-day-picker: 7.4.10 + react-dom: 18.2.0 + react-hook-form: 7.49.2 + languageName: unknown + linkType: soft + "@k9-sak-web/prosess-unntak@1.0.0, @k9-sak-web/prosess-unntak@workspace:packages/prosess-unntak": version: 0.0.0-use.local resolution: "@k9-sak-web/prosess-unntak@workspace:packages/prosess-unntak" @@ -5703,9 +5703,9 @@ __metadata: "@k9-sak-web/fakta-medisinsk-vilkar": 1.0.0 "@k9-sak-web/fakta-om-barnet": 1.0.0 "@k9-sak-web/fakta-omsorgen-for": 1.0.0 - "@k9-sak-web/fakta-omsorgsdager": 1.0.0 "@k9-sak-web/konstanter": 1.0.0 "@k9-sak-web/modal-sett-pa-vent": 1.0.0 + "@k9-sak-web/prosess-omsorgsdager": 1.0.0 "@k9-sak-web/prosess-uttak": 1.0.0 "@k9-sak-web/rest-api": 1.0.0 "@k9-sak-web/rest-api-hooks": 1.0.0