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HggB,EAAK1qB,UAAA9B,OAAA,QAAA8E,IAAAhD,UAAA,GAAAA,UAAA,GAAGnH,GACR6hC,EAAM16B,UAAA9B,OAAA,EAAA8B,UAAA,QAAAgD,EAEN,OAAQ03B,EAAOz/B,MACb,IAtCqB,YAuCnB,OAAA8E,GAAAA,GAAA,GAAY2qB,GAAK,IAAE/oB,MAAO+4B,EAAOpC,UACnC,IAvCsB,aAwCpB,OAAAv4B,GAAAA,GAAA,GAAY2qB,GAAK,IAAEpgB,OAAQowB,EAAOpC,UACpC,QACE,OAAO5N,EAEb,E+DbqC/f,UAAW9R,GAAa+R,UACvDC,EAAAA,GAAAA,KAAC8vB,GAAG,gCCpCVC,EAAQ","sources":["webpack://tavla/./node_modules/@utdanningsdirektoratet/icon/static/icons/16x16/ sync ^\\.\\/.*\\.svg$","webpack://tavla/./node_modules/@utdanningsdirektoratet/icon/static/icons/16x32/ sync ^\\.\\/.*\\.svg$","webpack://tavla/./node_modules/@utdanningsdirektoratet/icon/static/icons/32x32/ sync ^\\.\\/.*\\.svg$","webpack://tavla/./app/utils/globalFunctions.ts","webpack://tavla/./app/ApiClients.ts","webpack://tavla/./app/reducers/index.tsx","webpack://tavla/./app/StateProvider.tsx","webpack://tavla/./app/routes.ts","webpack://tavla/./app/layout/AktorSelector.tsx","webpack://tavla/./app/layout/UserSignoutDropdown.tsx","webpack://tavla/./app/layout/AppContainer.tsx","webpack://tavla/./app/pages/ErrorPage.tsx","webpack://tavla/./app/components/AvsluttetSakRow.tsx","webpack://tavla/./app/components/Headings.tsx","webpack://tavla/./app/layout/PagePanels.tsx","webpack://tavla/./app/utils/dateUtils.ts","webpack://tavla/./app/utils/sakerUtils.ts","webpack://tavla/./app/utils/swrUtils.ts","webpack://tavla/./app/utils/formatters.ts","webpack://tavla/./app/pages/Dashboard/components/AktorFooter.tsx","webpack://tavla/./app/pages/Dashboard/components/AktorHeaderBox.tsx","webpack://tavla/./app/utils/localstorageKeys.ts","webpack://tavla/./app/pages/Dashboard/components/Saker/AccessInformationBox.tsx","webpack://tavla/./app/pages/Dashboard/components/Saker/SakStyles.tsx","webpack://tavla/./app/utils/rapporteringsUtils.tsx","webpack://tavla/./app/pages/Dashboard/components/Saker/AktiveSaker.tsx","webpack://tavla/./app/pages/Dashboard/components/SkolesoknadLinkBox.tsx","webpack://tavla/./app/components/Section.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Privatskole/Lokale.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Privatskole/ElevplassGruppe.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Privatskole/ProgramomradeTable.tsx","webpack://tavla/./app/pages/Dashboard/components/SharedComponents.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Privatskole/ElevtallVgs.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Privatskole/Laereplan.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Privatskole/ElevtallGrunnskole.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Diverseskole/Satsgruppe.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Diverseskole/Elevplasser.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilbud/Tilbud.tsx","webpack://tavla/./app/utils/numberUtils.ts","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/AltUtbetaltRow.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/DelvisUtbetaltRow.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddoppsummering.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/TilskuddForAar.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/TilskuddOverview.tsx","webpack://tavla/./app/pages/Dashboard/Dashboard.tsx","webpack://tavla/./app/utils/analyticsUtils.ts","webpack://tavla/./app/pages/LogonPage.tsx","webpack://tavla/./app/pages/VelgAktor/components/VelgAktorOrganisasjonTable.tsx","webpack://tavla/./app/pages/VelgAktor/components/VelgAktorSaksbehandlerTable.tsx","webpack://tavla/./app/pages/VelgAktor/VelgAktør.tsx","webpack://tavla/./app/pages/Dashboard/components/SimpleTable/SimpleTableHeader.tsx","webpack://tavla/./app/pages/Dashboard/components/SimpleTable/SimpleTableRow.tsx","webpack://tavla/./app/pages/Dashboard/components/SimpleTable/SimpleTable.tsx","webpack://tavla/./app/pages/Dashboard/components/SimpleTable/StyledSimpleTable.ts","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/GrunnlagsTable.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/Grunnlag.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/BeregningsTable.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/Beregning.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/Tilskuddsbrev.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/Betalingsoppsummering.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/Forfallsplan.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/TilskuddsGrunnlag.tsx","webpack://tavla/./app/pages/InfoPage.tsx","webpack://tavla/./app/pages/UnauthorizedPage.tsx","webpack://tavla/./app/pages/AvsluttedeSaker.tsx","webpack://tavla/./app/pages/Dashboard/components/Tilskudd/AllTilskuddOverview.tsx","webpack://tavla/./app/pages/Personvern.tsx","webpack://tavla/./app/App.tsx","webpack://tavla/./app/index.tsx","webpack://tavla/./index.js"],"sourcesContent":["var map = {\n\t\"./angle down.svg\": 84956,\n\t\"./angle left double.svg\": 79226,\n\t\"./angle left.svg\": 62665,\n\t\"./angle right double.svg\": 97688,\n\t\"./angle right.svg\": 87954,\n\t\"./angle up.svg\": 80536,\n\t\"./arrow down.svg\": 41709,\n\t\"./arrow left.svg\": 15711,\n\t\"./arrow right.svg\": 67247,\n\t\"./arrow up.svg\": 45156,\n\t\"./asterix.svg\": 33522,\n\t\"./bookmark filled.svg\": 18379,\n\t\"./bookmark.svg\": 34597,\n\t\"./calendar.svg\": 5827,\n\t\"./check.svg\": 83548,\n\t\"./circle check.svg\": 3137,\n\t\"./circle cross.svg\": 15712,\n\t\"./circle info.svg\": 19770,\n\t\"./circle minus.svg\": 34437,\n\t\"./circle plus.svg\": 55214,\n\t\"./circle question.svg\": 32513,\n\t\"./copy.svg\": 66741,\n\t\"./cross.svg\": 54713,\n\t\"./document.svg\": 16762,\n\t\"./download.svg\": 23501,\n\t\"./edit.svg\": 85464,\n\t\"./email.svg\": 21838,\n\t\"./filter.svg\": 37091,\n\t\"./irrelevant.svg\": 77277,\n\t\"./link.svg\": 38787,\n\t\"./list.svg\": 6505,\n\t\"./lock.svg\": 44389,\n\t\"./menu.svg\": 49483,\n\t\"./minus.svg\": 76145,\n\t\"./north east.svg\": 80045,\n\t\"./plus.svg\": 71551,\n\t\"./printer.svg\": 54790,\n\t\"./question.svg\": 28727,\n\t\"./search.svg\": 53285,\n\t\"./speech bubble filled.svg\": 43928,\n\t\"./speech bubble.svg\": 48687,\n\t\"./spinner.svg\": 54506,\n\t\"./text document.svg\": 64793,\n\t\"./trash.svg\": 1708,\n\t\"./unlock.svg\": 80930,\n\t\"./warning.svg\": 90335\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 9469;","var map = {\n\t\"./arrow left long.svg\": 36462,\n\t\"./arrow right long.svg\": 13293\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 74757;","var map = {\n\t\"./angle down.svg\": 31920,\n\t\"./angle left double.svg\": 44267,\n\t\"./angle left.svg\": 22919,\n\t\"./angle right.svg\": 18657,\n\t\"./angle up.svg\": 75613,\n\t\"./arrow down.svg\": 33019,\n\t\"./arrow left.svg\": 5587,\n\t\"./arrow right.svg\": 82037,\n\t\"./arrow up.svg\": 74636,\n\t\"./bookmark filled.svg\": 41722,\n\t\"./bookmark.svg\": 89399,\n\t\"./check.svg\": 30666,\n\t\"./circle check.svg\": 17063,\n\t\"./circle cross.svg\": 51005,\n\t\"./circle info.svg\": 90364,\n\t\"./circle minus.svg\": 56452,\n\t\"./circle plus.svg\": 73145,\n\t\"./circle question.svg\": 52589,\n\t\"./cross.svg\": 68920,\n\t\"./document.svg\": 31148,\n\t\"./email.svg\": 48718,\n\t\"./irrelevant.svg\": 25029,\n\t\"./lock.svg\": 98674,\n\t\"./minus.svg\": 63473,\n\t\"./plus.svg\": 89097,\n\t\"./printer.svg\": 24838,\n\t\"./question.svg\": 34072,\n\t\"./search.svg\": 53354,\n\t\"./speech bubble.svg\": 32220,\n\t\"./spinner.svg\": 83686,\n\t\"./text document.svg\": 17604,\n\t\"./trash.svg\": 83600,\n\t\"./warning.svg\": 35527,\n\t\"./word.svg\": 52482\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 36058;","// eslint-disable-next-line import/no-cycle\nimport { useParams } from \"react-router-dom\";\nimport type {\n LoggedInUserViewModel,\n PreloadedConfigModel,\n PreloadedViewModel,\n} from \"../ApiClients\";\n\ndeclare global {\n interface Window {\n initialState: PreloadedViewModel;\n }\n}\n\ninterface AntiForgeryTokenInfo {\n tokenHeaderName: string;\n requestToken: string;\n}\n\nexport const getAntiForgeryTokenInfo = (): AntiForgeryTokenInfo =>\n window.initialState.antiForgeryTokenInfo;\nexport const getCurrentUser = (): LoggedInUserViewModel | null | undefined =>\n window.initialState.currentUser;\nexport const getConfig = (): PreloadedConfigModel => window.initialState.config;\n\nexport const useCurrentOrganization = () => {\n const { orgnr } = useParams();\n const currentUser = getCurrentUser();\n\n return currentUser?.organizations.find((o) => o.number === orgnr);\n};\n\nexport type OrgNrParamType = {\n orgnr: string;\n};\n\nexport type TabTypes = \"Oversikt\" | \"Tilskudd\" | \"Tilbud\";\n","//----------------------\n// \n// Generated using the NSwag toolchain v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)\n// \n//----------------------\n\n/* tslint:disable */\n/* eslint-disable */\n// ReSharper disable InconsistentNaming\n\nimport { newNotification } from \"@utdanningsdirektoratet/notifications\";\nimport { getAntiForgeryTokenInfo } from \"./utils/globalFunctions\";\nexport class ApiBase {\n protected transformOptions = (options: RequestInit): Promise => {\n if (options.method === \"GET\" || options.method === \"HEAD\") {\n return Promise.resolve(options);\n }\n const tokenInfo = getAntiForgeryTokenInfo();\n // eslint-disable-next-line no-param-reassign\n options.headers = {\n ...options.headers,\n [tokenInfo.tokenHeaderName]: tokenInfo.requestToken,\n };\n return Promise.resolve(options);\n };\n\n protected transformResult = async (_url: string, response: Response, onComplete: (response: Response) => Promise): Promise => {\n if (!response.ok) {\n const contentType = response.headers.get(\"Content-Type\")?.toLowerCase() ?? \"text/plain\";\n const isJson = contentType.indexOf(\"json\") >= 0;\n if (isJson) {\n const clone = response.clone();\n const error = await clone.json();\n newNotification(\"error\", (error as any).title, (error as any).detail);\n }\n }\n\n return onComplete(response);\n };\n}\n\nexport interface IAktorClient {\n\n index(): Promise;\n\n get(id: string): Promise;\n\n getAktorStatuses(): Promise;\n}\n\nexport class AktorClient extends ApiBase implements IAktorClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n index(): Promise {\n let url_ = this.baseUrl + \"/api/aktor\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processIndex(_response));\n });\n }\n\n protected processIndex(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as AktorModel[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n\n get(id: string): Promise {\n let url_ = this.baseUrl + \"/api/aktor/{id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGet(_response));\n });\n }\n\n protected processGet(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as AktorInfoModel;\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n\n getAktorStatuses(): Promise {\n let url_ = this.baseUrl + \"/api/aktor/allStatus\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetAktorStatuses(_response));\n });\n }\n\n protected processGetAktorStatuses(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as AktorStatusOption[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface IHomeClient {\n\n getAltinnPermissions(orgnr: string | undefined): Promise;\n\n getPreloadedViewModelTypes(): Promise;\n}\n\nexport class HomeClient extends ApiBase implements IHomeClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n getAltinnPermissions(orgnr: string | undefined): Promise {\n let url_ = this.baseUrl + \"/api/getAltinnPermissions?\";\n if (orgnr === null)\n throw new Error(\"The parameter 'orgnr' cannot be null.\");\n else if (orgnr !== undefined)\n url_ += \"orgnr=\" + encodeURIComponent(\"\" + orgnr) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetAltinnPermissions(_response));\n });\n }\n\n protected processGetAltinnPermissions(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as AltinnPermissions;\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n\n getPreloadedViewModelTypes(): Promise {\n let url_ = this.baseUrl + \"/api/preloadedViewModelType\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetPreloadedViewModelTypes(_response));\n });\n }\n\n protected processGetPreloadedViewModelTypes(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PreloadedViewModel;\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface IIftClient {\n\n getSkjemaStatus(orgnummer: string): Promise;\n}\n\nexport class IftClient extends ApiBase implements IIftClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n getSkjemaStatus(orgnummer: string): Promise {\n let url_ = this.baseUrl + \"/api/ift/skjemas/{orgnummer}\";\n if (orgnummer === undefined || orgnummer === null)\n throw new Error(\"The parameter 'orgnummer' must be defined.\");\n url_ = url_.replace(\"{orgnummer}\", encodeURIComponent(\"\" + orgnummer));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetSkjemaStatus(_response));\n });\n }\n\n protected processGetSkjemaStatus(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as IftFormSubmissionViewModel[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface ITilskuddInnsamlingClient {\n\n getInnsamlingerForAktor(aktorId: string | undefined): Promise;\n}\n\nexport class TilskuddInnsamlingClient extends ApiBase implements ITilskuddInnsamlingClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n getInnsamlingerForAktor(aktorId: string | undefined): Promise {\n let url_ = this.baseUrl + \"/api/innsamling?\";\n if (aktorId === null)\n throw new Error(\"The parameter 'aktorId' cannot be null.\");\n else if (aktorId !== undefined)\n url_ += \"aktorId=\" + encodeURIComponent(\"\" + aktorId) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetInnsamlingerForAktor(_response));\n });\n }\n\n protected processGetInnsamlingerForAktor(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as InnsamlingApiResponse[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface ISkolesoknadClient {\n\n getAarsregnskapstilsyns(aktorId: string): Promise;\n\n getAllSoknads(aktorId: string): Promise;\n}\n\nexport class SkolesoknadClient extends ApiBase implements ISkolesoknadClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n getAarsregnskapstilsyns(aktorId: string): Promise {\n let url_ = this.baseUrl + \"/api/skolesoknad/aarsregnskapstilsyns/{aktorId}\";\n if (aktorId === undefined || aktorId === null)\n throw new Error(\"The parameter 'aktorId' must be defined.\");\n url_ = url_.replace(\"{aktorId}\", encodeURIComponent(\"\" + aktorId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetAarsregnskapstilsyns(_response));\n });\n }\n\n protected processGetAarsregnskapstilsyns(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as AarsregnskapstilsynViewModel[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n\n getAllSoknads(aktorId: string): Promise {\n let url_ = this.baseUrl + \"/api/skolesoknad/soknads/{aktorId}\";\n if (aktorId === undefined || aktorId === null)\n throw new Error(\"The parameter 'aktorId' must be defined.\");\n url_ = url_.replace(\"{aktorId}\", encodeURIComponent(\"\" + aktorId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetAllSoknads(_response));\n });\n }\n\n protected processGetAllSoknads(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SoknadMetadataViewModel[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface ITilbudClient {\n\n getTilbudForAktor(aktorId: string): Promise;\n\n getFagkoder(): Promise;\n\n getProgramomrader(): Promise;\n}\n\nexport class TilbudClient extends ApiBase implements ITilbudClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n getTilbudForAktor(aktorId: string): Promise {\n let url_ = this.baseUrl + \"/api/tilbud/aktor/privatskole/{aktorId}\";\n if (aktorId === undefined || aktorId === null)\n throw new Error(\"The parameter 'aktorId' must be defined.\");\n url_ = url_.replace(\"{aktorId}\", encodeURIComponent(\"\" + aktorId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetTilbudForAktor(_response));\n });\n }\n\n protected processGetTilbudForAktor(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as GodkjenningModel[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n\n getFagkoder(): Promise {\n let url_ = this.baseUrl + \"/api/tilbud/fagkoder\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetFagkoder(_response));\n });\n }\n\n protected processGetFagkoder(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as FagkodeModel[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n\n getProgramomrader(): Promise {\n let url_ = this.baseUrl + \"/api/tilbud/programomrader\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetProgramomrader(_response));\n });\n }\n\n protected processGetProgramomrader(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProgramomradeModel2[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface ITilskuddsbrevClient {\n\n getBrevFromTilskudd(tilskuddsgrunnlagKilde: TilskuddsgrunnlagKilde, grunnlagId: number): Promise;\n}\n\nexport class TilskuddsbrevClient extends ApiBase implements ITilskuddsbrevClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n getBrevFromTilskudd(tilskuddsgrunnlagKilde: TilskuddsgrunnlagKilde, grunnlagId: number): Promise {\n let url_ = this.baseUrl + \"/api/tilskudd/tilskuddsbrevFromTilskudd/{tilskuddsgrunnlagKilde}/{grunnlagId}\";\n if (tilskuddsgrunnlagKilde === undefined || tilskuddsgrunnlagKilde === null)\n throw new Error(\"The parameter 'tilskuddsgrunnlagKilde' must be defined.\");\n url_ = url_.replace(\"{tilskuddsgrunnlagKilde}\", encodeURIComponent(\"\" + tilskuddsgrunnlagKilde));\n if (grunnlagId === undefined || grunnlagId === null)\n throw new Error(\"The parameter 'grunnlagId' must be defined.\");\n url_ = url_.replace(\"{grunnlagId}\", encodeURIComponent(\"\" + grunnlagId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetBrevFromTilskudd(_response));\n });\n }\n\n protected processGetBrevFromTilskudd(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as Tilskuddsbrev[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface ITilskuddClient {\n\n getOverview(aktorId: string): Promise;\n\n getTilskuddsDetaljer(aktorId: string, budsjettAar: number, ordningId: number, isFromNewVertikal: boolean): Promise;\n\n getAllOverview(aktorId: string): Promise;\n}\n\nexport class TilskuddClient extends ApiBase implements ITilskuddClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n getOverview(aktorId: string): Promise {\n let url_ = this.baseUrl + \"/api/tilskudd/tilskuddsmottaker/{aktorId}\";\n if (aktorId === undefined || aktorId === null)\n throw new Error(\"The parameter 'aktorId' must be defined.\");\n url_ = url_.replace(\"{aktorId}\", encodeURIComponent(\"\" + aktorId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetOverview(_response));\n });\n }\n\n protected processGetOverview(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as TilskuddOverviewViewModel;\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n\n getTilskuddsDetaljer(aktorId: string, budsjettAar: number, ordningId: number, isFromNewVertikal: boolean): Promise {\n let url_ = this.baseUrl + \"/api/tilskudd/tilskuddsmottaker/{aktorId}/year/{budsjettAar}/ordning/{ordningId}/{isFromNewVertikal}\";\n if (aktorId === undefined || aktorId === null)\n throw new Error(\"The parameter 'aktorId' must be defined.\");\n url_ = url_.replace(\"{aktorId}\", encodeURIComponent(\"\" + aktorId));\n if (budsjettAar === undefined || budsjettAar === null)\n throw new Error(\"The parameter 'budsjettAar' must be defined.\");\n url_ = url_.replace(\"{budsjettAar}\", encodeURIComponent(\"\" + budsjettAar));\n if (ordningId === undefined || ordningId === null)\n throw new Error(\"The parameter 'ordningId' must be defined.\");\n url_ = url_.replace(\"{ordningId}\", encodeURIComponent(\"\" + ordningId));\n if (isFromNewVertikal === undefined || isFromNewVertikal === null)\n throw new Error(\"The parameter 'isFromNewVertikal' must be defined.\");\n url_ = url_.replace(\"{isFromNewVertikal}\", encodeURIComponent(\"\" + isFromNewVertikal));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetTilskuddsDetaljer(_response));\n });\n }\n\n protected processGetTilskuddsDetaljer(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as TilskuddsDetaljer;\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n\n getAllOverview(aktorId: string): Promise {\n let url_ = this.baseUrl + \"/api/tilskudd/tilskuddsmottaker/all/{aktorId}\";\n if (aktorId === undefined || aktorId === null)\n throw new Error(\"The parameter 'aktorId' must be defined.\");\n url_ = url_.replace(\"{aktorId}\", encodeURIComponent(\"\" + aktorId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetAllOverview(_response));\n });\n }\n\n protected processGetAllOverview(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as TilskuddOverviewViewModel;\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface ITilsynClient {\n\n getTilsyns(orgNr: string): Promise;\n}\n\nexport class TilsynClient extends ApiBase implements ITilsynClient {\n private http: { fetch(url: RequestInfo, init?: RequestInit): Promise };\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise }) {\n super();\n this.http = http ? http : window as any;\n this.baseUrl = baseUrl ?? \"\";\n }\n\n getTilsyns(orgNr: string): Promise {\n let url_ = this.baseUrl + \"/api/tilsyn/{orgNr}\";\n if (orgNr === undefined || orgNr === null)\n throw new Error(\"The parameter 'orgNr' must be defined.\");\n url_ = url_.replace(\"{orgNr}\", encodeURIComponent(\"\" + orgNr));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_: RequestInit = {\n method: \"GET\",\n headers: {\n \"Accept\": \"application/json\"\n }\n };\n\n return this.transformOptions(options_).then(transformedOptions_ => {\n return this.http.fetch(url_, transformedOptions_);\n }).then((_response: Response) => {\n return this.transformResult(url_, _response, (_response: Response) => this.processGetTilsyns(_response));\n });\n }\n\n protected processGetTilsyns(response: Response): Promise {\n const status = response.status;\n let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };\n if (status === 200) {\n return response.text().then((_responseText) => {\n let result200: any = null;\n result200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver) as TilsynViewModel[];\n return result200;\n });\n } else if (status !== 200 && status !== 204) {\n return response.text().then((_responseText) => {\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n });\n }\n return Promise.resolve(null as any);\n }\n}\n\nexport interface AltinnPermissions {\n hasRead: boolean;\n hasReadWrite: boolean;\n}\n\nexport interface PreloadedViewModel {\n currentUser?: LoggedInUserViewModel | null;\n antiForgeryTokenInfo: AntiForgeryTokenInfo;\n config: PreloadedConfigModel;\n matomoTagManager?: string | null;\n}\n\nexport interface LoggedInUserViewModel {\n fullName?: string | null;\n organizations: Organization[];\n roller: string[];\n}\n\nexport interface Organization {\n number: string;\n name: string;\n udirAktorId?: string | null;\n isSchool: boolean;\n isGodkjentIkkeStartet: boolean;\n isActive: boolean;\n}\n\nexport interface AntiForgeryTokenInfo {\n tokenHeaderName: string;\n requestToken: string;\n}\n\nexport interface PreloadedConfigModel {\n skolesoknadUrl: string;\n innsamlingUrl?: string | null;\n sentryId?: string | null;\n tilsynUrl?: string | null;\n iftUrl?: string | null;\n}\n\nexport interface AktorModel {\n id: string;\n navn: string;\n orgNr: string;\n isSchool: boolean;\n isGodkjentIkkeStartet: boolean;\n isActive: boolean;\n status: AktorStatus;\n}\n\nexport enum AktorStatus {\n Drift = \"Drift\",\n Ukjent = \"Ukjent\",\n GodkjenningUtgaatt = \"GodkjenningUtgaatt\",\n GodkjentIkkeStartet = \"GodkjentIkkeStartet\",\n MistetGodkjenningPolitisk = \"MistetGodkjenningPolitisk\",\n MistetGodkjenningTilsyn = \"MistetGodkjenningTilsyn\",\n LagtNed = \"LagtNed\",\n}\n\nexport interface AktorStatusOption {\n id: string;\n description: string;\n}\n\nexport interface AktorInfoModel {\n navn: string;\n orgNr: string;\n epost: string;\n telefonnummer: string;\n postadresse: string;\n bankkontonummer: string;\n isActive: boolean;\n status: AktorStatus;\n}\n\nexport interface IftFormSubmissionViewModel {\n title: string;\n year: number;\n openingDate?: string | null;\n deadline?: string | null;\n firstAccessedAt?: string | null;\n submitted?: string | null;\n iftStatusEnum: IftStatusEnum;\n orgNummer: string;\n}\n\nexport enum IftStatusEnum {\n NotStarted = \"NotStarted\",\n InProgress = \"InProgress\",\n Submitted = \"Submitted\",\n Processing = \"Processing\",\n Processed = \"Processed\",\n Imported = \"Imported\",\n Approved = \"Approved\",\n}\n\nexport interface SoknadMetadataViewModel {\n id: string;\n aktorId: string;\n lastStatus: StatusModel;\n formTitle?: string | null;\n lastModifiedBy: string;\n lastModified: string;\n createdDate: string;\n sentDate?: string | null;\n allStatus: StatusModel[];\n}\n\nexport interface StatusModel {\n id: number;\n status: StatusEnum;\n created: string;\n createdBy: string;\n soknadId: string;\n}\n\nexport enum StatusEnum {\n Draft = \"Draft\",\n Imported = \"Imported\",\n Deleted = \"Deleted\",\n Withdrawn = \"Withdrawn\",\n Sent = \"Sent\",\n Processing = \"Processing\",\n FerdigBehandlet = \"FerdigBehandlet\",\n}\n\nexport interface AarsregnskapstilsynViewModel {\n soknadId?: string | null;\n lastStatus?: StatusModel | null;\n formTitle?: string | null;\n lastModifiedBy?: string | null;\n lastModified?: string | null;\n created?: string | null;\n allStatus: StatusModel[];\n aarsregnskapstilsynFrist: string;\n}\n\nexport interface GodkjenningModel {\n aktorId: string;\n description: string;\n friskole?: FriskoleModel | null;\n kriminalomsorgen?: KriminalomsorgenModel | null;\n folkehogskole?: FolkehogskoleModel | null;\n diverseskole?: DiverseskoleModel | null;\n landslinjeVgs?: LandslinjeVgsModel | null;\n lastModifiedUtc: string;\n lastModifiedBy: string;\n validFromYear: number;\n validFromSemester: string;\n}\n\nexport interface FriskoleModel {\n grunnskole?: FriskoleGrunnskoleModel | null;\n vgs?: FriskoleVgsModel | null;\n lokaletsKapasitet?: number | null;\n lokale: LokaleModel;\n laereplan?: LaereplanModel | null;\n dispensasjon?: string | null;\n tilleggsvirksomhet?: string | null;\n annet?: string | null;\n vedtaksData: VedtaksDataModel[];\n}\n\nexport interface FriskoleGrunnskoleModel {\n ordinar: number;\n spesial: number;\n elevplassgrupper: ElevplassgruppeGrunnskoleModel[];\n}\n\nexport interface ElevplassgruppeGrunnskoleModel {\n id: string;\n total: number;\n trinns: number[];\n}\n\nexport interface FriskoleVgsModel {\n ordinar: number;\n spesial: number;\n elevplassgrupper: ElevplassgruppeVgsModel[];\n}\n\nexport interface ElevplassgruppeVgsModel {\n id: string;\n total: number;\n title: string;\n customTitle?: string | null;\n programomrader: ProgramomradeModel[];\n}\n\nexport interface ProgramomradeModel {\n title: string;\n code: string;\n utdanningsprograms: UtdanningprogramModel[];\n}\n\nexport interface UtdanningprogramModel {\n code: string;\n title: string;\n}\n\nexport interface LokaleModel {\n kapasitet?: number | null;\n fomDatoUtc?: string | null;\n tomDatoUtc?: string | null;\n kommentar?: string | null;\n land?: string | null;\n postadresse?: string | null;\n poststed?: string | null;\n postnummer?: string | null;\n kommuneNr?: string | null;\n fylkeNr?: string | null;\n}\n\nexport interface LaereplanModel {\n laereplantypeId?: number | null;\n kommentar: string;\n fagkoder: string[];\n laereplantype?: LaereplantypeModel | null;\n}\n\nexport interface LaereplantypeModel {\n id: number;\n tittel: string;\n kategori: string;\n}\n\nexport interface VedtaksDataModel {\n vedtaksdatoUtc?: string | null;\n saksnummer: string;\n historiskeSaksnummer: string[];\n soknadsUrl: string;\n description: string;\n}\n\nexport interface KriminalomsorgenModel {\n soningskapasitet?: number | null;\n ungdomsplasser?: number | null;\n}\n\nexport interface FolkehogskoleModel {\n internatkapasitet: number;\n total: number;\n}\n\nexport interface DiverseskoleModel {\n satsgrupper: SatsgruppeModel[];\n lokaletsKapasitet?: number | null;\n vedtaksData: VedtaksDataModel[];\n lokale: LokaleModel;\n}\n\nexport interface SatsgruppeModel {\n id: string;\n total: number;\n kurs: KursModel[];\n}\n\nexport interface KursModel {\n id: number;\n title: string;\n titleWithSatsandel: string;\n sats: SatsType;\n level: string;\n satsandel: number;\n}\n\nexport enum SatsType {\n KunstMediaMusikk = \"KunstMediaMusikk\",\n Bibel = \"Bibel\",\n Reklameutdanning = \"Reklameutdanning\",\n UtoverVg = \"UtoverVg\",\n Yrkesdykker = \"Yrkesdykker\",\n Annet = \"Annet\",\n}\n\nexport interface LandslinjeVgsModel {\n linjetilbud: LinjetilbudModel[];\n}\n\nexport interface LinjetilbudModel {\n landslinje: string;\n landslinjeId: number;\n total: number;\n}\n\nexport interface ProgramomradeModel2 {\n kode: string;\n grepId?: string | null;\n tittel: string;\n aarstrinn: string;\n gyldigFraSemester?: string | null;\n gyldigTilOgMedSemester?: string | null;\n utdanningsprograms: UtdanningsprogramModel[];\n merkelapps: MerkelappModel[];\n}\n\nexport interface UtdanningsprogramModel {\n kode: string;\n tittel: string;\n}\n\nexport interface MerkelappModel {\n kode: string;\n tittel: string;\n}\n\nexport interface FagkodeModel {\n kode: string;\n tittel: string;\n tilleggsopplysninger: string;\n omfang?: number | null;\n}\n\nexport interface TilskuddOverviewViewModel {\n tilskuddsOverview: TilskuddsOverview[];\n errorMessage?: string | null;\n}\n\nexport interface TilskuddsOverview {\n aar: string;\n ordningerForAar: OrdningerForAar[];\n totaltTilskudd: number;\n sumUtbetalingerRest: number;\n sumUtbetalingerUtbetalt: number;\n sumInnbetalingerRest: number;\n sumInnbetalingerInnbetalt: number;\n}\n\nexport interface OrdningerForAar {\n ordningId: number;\n ordningNavn: string;\n tilskuddsmottakerId: string;\n tilskuddsmottakerNavn: string;\n sluttmottakerAktorId: string;\n sluttmottakerAktorNavn: string;\n utbetalt: number;\n skalUtbetales: number;\n innbetalt: number;\n skalInnbetales: number;\n isGodkjent: boolean;\n innvilgetBelop: number;\n isFromNewVertikal: boolean;\n}\n\nexport interface TilskuddsDetaljer {\n ordningNavn: string;\n tilskuddsgrunnlag: Tilskuddsgrunnlag[];\n forfallsplan: Forfallsplan[];\n total: number;\n sumUtbetalingerRest: number;\n sumUtbetalingerUtbetalt: number;\n sumInnbetalingerRest: number;\n sumInnbetalingerInnbetalt: number;\n}\n\nexport interface Tilskuddsgrunnlag {\n saksbehandlerInitialer: string;\n saksbehandlerId: string;\n saksbehandlerNavn: string;\n sluttmottakerAktorId: string;\n tilskuddsdataDetails: TilskuddsdataDetails;\n tilskuddsberegningDetails: TilskuddsberegningDetails;\n startFraDato: string;\n sluttTilOgMedDato: string;\n ordningId: number;\n sum?: number | null;\n antall?: number | null;\n kapittel: string;\n post: string;\n prosjekt: string;\n avdeling: string;\n tittel: string;\n utbetalesIAar: number;\n isGodkjent: boolean;\n kildetabell: TilskuddsgrunnlagKilde;\n kildetabellId: number;\n}\n\nexport interface TilskuddsdataDetails {\n kolonner: Kolonner[];\n tilskuddsdata: { [key: string]: string; }[];\n}\n\nexport interface Kolonner {\n kolonneNavn: string;\n obligatorisk: number;\n visningsType: VisningsType;\n sum?: number | null;\n}\n\nexport enum VisningsType {\n Tekst = \"Tekst\",\n Heltall = \"Heltall\",\n Desimaltall = \"Desimaltall\",\n Prosent = \"Prosent\",\n}\n\nexport interface TilskuddsberegningDetails {\n data: string[][];\n beregningsKolonner: BeregningsKolonner[];\n}\n\nexport interface BeregningsKolonner {\n kolonneNavn: string;\n visningsType: VisningsType;\n sum?: number | null;\n}\n\nexport enum TilskuddsgrunnlagKilde {\n EtfSoknad = \"EtfSoknad\",\n EpfDelprosjekt = \"EpfDelprosjekt\",\n TilskuddGrunnlag = \"TilskuddGrunnlag\",\n}\n\nexport interface Forfallsplan {\n dato: any;\n totalBelop: number;\n isUtbetalt: boolean;\n post: string;\n kapittel: string;\n isGodkjent: boolean;\n forfallForBetaling: ForfallForBetaling[];\n}\n\nexport interface ForfallForBetaling {\n tilskuddsgrunnlagId: number;\n tilskuddsgrunnlagNavn: string;\n belop: number;\n}\n\nexport interface InnsamlingApiResponse {\n externalId: string;\n tittel: string;\n frist: string;\n status: PublisertInnsamlingStatus;\n}\n\nexport enum PublisertInnsamlingStatus {\n Publisert = \"Publisert\",\n Ledergodkjent = \"Ledergodkjent\",\n Revisorgodkjent = \"Revisorgodkjent\",\n InnsendtUtenGodkjenning = \"InnsendtUtenGodkjenning\",\n Avsluttet = \"Avsluttet\",\n}\n\nexport interface Tilskuddsbrev {\n externalId: string;\n tittel: string;\n journalpostId?: number | null;\n datoEksportert: string;\n vedlegg: TilskuddsbrevVedlegg[];\n}\n\nexport interface TilskuddsbrevVedlegg {\n externalId: string;\n tittel: string;\n datoEksportert: string;\n}\n\nexport interface TilsynViewModel {\n name: string;\n externalId: string;\n publisertDateUtc: string;\n startDateUtc?: string | null;\n endDateUtc?: string | null;\n status: TilsynsStatus;\n publiseringType: string;\n}\n\nexport enum TilsynsStatus {\n IkkeStartet = \"IkkeStartet\",\n TilsynApent = \"TilsynApent\",\n DokumentasjonskravPublisert = \"DokumentasjonskravPublisert\",\n DokumentasjonMottatt = \"DokumentasjonMottatt\",\n DokumentasjonFristUtlopt = \"DokumentasjonFristUtlopt\",\n ForelopigTilsynsrapportKlarTilGodkjenning = \"ForelopigTilsynsrapportKlarTilGodkjenning\",\n ForelopigTilsynsrapportIkkeGodkjent = \"ForelopigTilsynsrapportIkkeGodkjent\",\n ForelopigTilsynsrapportGodkjent = \"ForelopigTilsynsrapportGodkjent\",\n ForelopigTilsynsrapportPublisert = \"ForelopigTilsynsrapportPublisert\",\n TilbakemeldingForelopigRapportMottatt = \"TilbakemeldingForelopigRapportMottatt\",\n TilbakemeldingForelopigRapportFristUtlopt = \"TilbakemeldingForelopigRapportFristUtlopt\",\n TilsynsrapportKlarTilGodkjenning = \"TilsynsrapportKlarTilGodkjenning\",\n TilsynsrapportIkkeGodkjent = \"TilsynsrapportIkkeGodkjent\",\n TilsynsrapportGodkjent = \"TilsynsrapportGodkjent\",\n TilsynsrapportPublisert = \"TilsynsrapportPublisert\",\n ErklaringOgRedegjorelseMottatt = \"ErklaringOgRedegjorelseMottatt\",\n RettefristUtlopt = \"RettefristUtlopt\",\n KlageMottatt = \"KlageMottatt\",\n KlageOversendtKd = \"KlageOversendtKd\",\n KlageAvgjort = \"KlageAvgjort\",\n TilsynAvsluttet = \"TilsynAvsluttet\",\n}\n\nexport class ApiException extends Error {\n message: string;\n status: number;\n response: string;\n headers: { [key: string]: any; };\n result: any;\n\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\n super();\n\n this.message = message;\n this.status = status;\n this.response = response;\n this.headers = headers;\n this.result = result;\n }\n\n protected isApiException = true;\n\n static isApiException(obj: any): obj is ApiException {\n return obj.isApiException === true;\n }\n}\n\nfunction throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): any {\n if (result !== null && result !== undefined)\n throw result;\n else\n throw new ApiException(message, status, response, headers, null);\n}","import * as React from \"react\";\nimport { ApiException } from \"../ApiClients\";\n\nexport const ERROR_SET = \"SET_ERROR\";\nexport const ALTINN_SET = \"SET_ALTINN\";\n\nexport const initialState: ReducerStateProps = {\n error: null,\n altinn: null,\n};\n\nexport type ReducerStateProps = {\n error: ApiException | null;\n altinn: {\n hasRead: boolean;\n hasReadWrite: boolean;\n orgNr: string;\n } | null;\n};\n\ntype SetErrorType = {\n type: typeof ERROR_SET;\n payload: ApiException;\n};\n\ntype SetAltinnType = {\n type: typeof ALTINN_SET;\n payload: {\n hasRead: boolean;\n hasReadWrite: boolean;\n orgNr: string;\n } | null;\n};\n\nexport type ActionTypeProps = SetErrorType | SetAltinnType;\n\nconst reducer: React.Reducer = (\n state = initialState,\n action,\n) => {\n switch (action.type) {\n case ERROR_SET:\n return { ...state, error: action.payload };\n case ALTINN_SET:\n return { ...state, altinn: action.payload };\n default:\n return state;\n }\n};\n\nexport default reducer;\n","import * as React from \"react\";\nimport { ActionTypeProps, initialState, ReducerStateProps } from \"./reducers\";\n\nexport type UseStateProps = [\n ReducerStateProps,\n React.Dispatch,\n];\n\nexport const StateContext = React.createContext([\n initialState,\n () => null,\n]);\nexport const useContextState = (): UseStateProps =>\n React.useContext(StateContext);\n\ntype StateProviderProps = {\n reducer: React.Reducer;\n initState: ReducerStateProps;\n children: React.ReactNode;\n};\n\nconst StateProvider: React.FC = ({\n reducer,\n initState,\n children,\n}) => {\n return (\n \n >(reducer, initState)}\n >\n {children}\n \n );\n};\n\nexport default StateProvider;\n","/* eslint-disable comma-dangle */\nimport { TabTypes } from \"./utils/globalFunctions\";\n\nexport default {\n home: \"/\",\n // denne er for å sikre at om folk fortsatt når frem om de har bokmerket den gamle url-en for sin aktør\n dashboardRedirectUrl: (orgnr: string) => `/${orgnr}`,\n dashboard: (orgnr: string, tab: TabTypes | \":tab\" = \"Oversikt\") =>\n `/${orgnr}/${tab}`,\n unauthorized: (orgnr: string) => `/${orgnr}/unauthorized`,\n signOutUidp: \"/signout\",\n signInUidp: \"/signin\",\n selectAktor: \"/aktors\",\n grunnlag: (\n orgnr: string,\n budsjettAar: string,\n ordningId: string,\n isFromNewVertikal: string,\n ) => `/${orgnr}/grunnlag/${budsjettAar}/${ordningId}/${isFromNewVertikal}`,\n avsluttedeSaker: (orgnr: string) => `/${orgnr}/avsluttede`,\n tilskudd: (orgnr: string) => `/${orgnr}/tilskuddsdetaljer`,\n personvern: \"/personvern\",\n udir: {\n home: \"https://www.udir.no\",\n kontakt: \"https://www.udir.no/om-udir/kontakt-oss/\",\n om: \"https://www.udir.no/om-udir/\",\n },\n};\n","import { useNavigate } from \"react-router-dom\";\nimport { Dropdown, DropdownItem } from \"@utdanningsdirektoratet/dropdown\";\nimport { LinkButton } from \"@utdanningsdirektoratet/button\";\nimport {\n getCurrentUser,\n useCurrentOrganization,\n} from \"../utils/globalFunctions\";\nimport routes from \"../routes\";\nimport { Organization } from \"../ApiClients\";\n\nexport const AktorSelector = () => {\n const navigate = useNavigate();\n const currentOrganization = useCurrentOrganization();\n const user = getCurrentUser();\n\n if (user && user.roller.length > 0) {\n const items = [\n \n {({ className }) => (\n \n Bytt aktør\n \n )}\n ,\n ];\n\n return {user.roller[0]};\n }\n\n if (!user?.organizations || user.organizations.length <= 1) {\n return null;\n }\n\n if (user && user.organizations.length > 10) {\n return Bytt aktør;\n }\n\n const selectOrganization = (organization: Organization) => {\n navigate(routes.dashboard(organization.number, \"Oversikt\"));\n };\n\n const items = user.organizations.map((o) => (\n selectOrganization(o)}\n closeOnClick\n >\n {o.name}\n \n ));\n\n return Bytt aktør;\n};\n","import { Dropdown, DropdownItem } from \"@utdanningsdirektoratet/dropdown\";\nimport React from \"react\";\nimport routes from \"../routes\";\nimport { getCurrentUser } from \"../utils/globalFunctions\";\n\nexport const UserSignoutDropdown: React.FC = () => {\n const signoutLink = [\n \n {({ className }) => (\n \n Logg ut\n \n )}\n ,\n ];\n const user = getCurrentUser();\n\n if (!user) {\n return null;\n }\n return (\n {getCurrentUser()?.fullName}\n );\n};\n","import React from \"react\";\nimport { Footer, MainPanel, MenuPanel } from \"@utdanningsdirektoratet/layout\";\nimport { Outlet } from \"react-router-dom\";\nimport styled from \"styled-components\";\nimport {\n ApplicationInsightsCookieVendor,\n CookieBanner,\n MatomoCookieVendor,\n NecessaryCookie,\n SentryCookieVendor,\n StatisticsCookie,\n UidpCookieVendor,\n} from \"@utdanningsdirektoratet/cookiebanner\";\nimport { onKeyDown } from \"@utdanningsdirektoratet/utils/uu\";\nimport { AktorSelector } from \"./AktorSelector\";\nimport { UserSignoutDropdown } from \"./UserSignoutDropdown\";\nimport { useCurrentOrganization } from \"../utils/globalFunctions\";\nimport routes from \"../routes\";\n\nconst StyledMainPanel = styled(MainPanel)`\n padding: 0;\n`;\n\nconst ItemSeperator = styled.div`\n display: inline-flex;\n flex-wrap: wrap;\n column-gap: 3rem;\n align-items: center;\n`;\n\nconst AppContainer: React.FC = () => {\n const currentOrganization = useCurrentOrganization();\n const [cookieState, setCookieState] = React.useState(false);\n\n const items = [\n \n Om direktoratet\n ,\n \n Kontaktinformasjon\n ,\n \n Personvernerklæring\n ,\n \n Tilgjengelighetserklæring\n ,\n setCookieState(true)}\n onKeyDown={onKeyDown(() => setCookieState(true))}\n tabIndex={0}\n >\n Informasjonskapsler\n ,\n ];\n\n return (\n <>\n \n \n {currentOrganization?.name}\n \n \n \n \n \n \n \n \n setCookieState(false)}\n />\n \n );\n};\n\nexport default AppContainer;\n","import * as React from \"react\";\nimport { Error } from \"@utdanningsdirektoratet/error\";\nimport { ApiException } from \"../ApiClients\";\n\ntype ErrorProps = {\n error: ApiException;\n};\n\nconst ErrorPage: React.FC = (props: ErrorProps) => {\n if (props.error.status === 401) {\n window.location.reload();\n return null;\n }\n\n return ;\n};\n\nexport default ErrorPage;\n","import React from \"react\";\nimport {\n DetailedListCell,\n DetailedListRow,\n} from \"@utdanningsdirektoratet/detailedlist\";\nimport { Label } from \"@utdanningsdirektoratet/label\";\n\ntype AvsluttetSakRowProps = {\n row: {\n date: Date;\n type: string;\n title: string | null | undefined;\n status: string;\n success: boolean;\n url: string;\n };\n};\n\nconst AvsluttetSakRow: React.FC = ({ row }) => {\n return (\n \n {({ className }) => {\n return (\n \n \n {row.type}\n \n \n \n \n \n {row.title}\n \n \n );\n }}\n \n );\n};\n\nexport default AvsluttetSakRow;\n","import styled from \"styled-components\";\nimport { Heading1, Heading2 } from \"@utdanningsdirektoratet/styles\";\n\nexport const PaddedHeading2 = styled(Heading2)`\n padding-bottom: 1rem;\n`;\n\nexport const PaddedHeading1 = styled(Heading1)`\n padding-bottom: 2rem;\n`;\n","import styled from \"styled-components\";\nimport { mediaqueries } from \"@utdanningsdirektoratet/styles\";\nimport colors from \"@utdanningsdirektoratet/styles/colors\";\n\nexport const PagePanel = styled.div<{ backgroundColor?: string }>`\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 100%;\n padding: 2rem 5rem;\n @media ${mediaqueries.small} {\n padding: 2rem 1rem;\n }\n background-color: ${(props) => props.backgroundColor ?? colors.white};\n`;\n","import { format } from \"date-fns/format\";\nimport { nb } from \"date-fns/locale/nb\";\n\nconst longDateFormat = \"d. MMMM yyyy\";\n\nexport const formatLongDate = (date: Date) => {\n return date ? format(date, longDateFormat, { locale: nb }) : \"\";\n};\n\ntype SortOrder = \"asc\" | \"dsc\";\n\nexport const sortDate = (\n a: Date,\n b: Date,\n sortOrder: SortOrder = \"asc\",\n): number => {\n if (sortOrder === \"asc\") {\n if (a > b) return 1;\n if (a === b) return 0;\n return -1;\n }\n if (a > b) return -1;\n if (a === b) return 0;\n return 1;\n};\n","import groupBy from \"lodash/groupBy\";\nimport { type Card } from \"@utdanningsdirektoratet/card\";\nimport {\n IftFormSubmissionViewModel,\n IftStatusEnum,\n InnsamlingApiResponse,\n PublisertInnsamlingStatus,\n SoknadMetadataViewModel,\n StatusEnum,\n TilsynViewModel,\n} from \"../ApiClients\";\nimport { getConfig } from \"./globalFunctions\";\nimport { sortDate } from \"./dateUtils\";\n\nconst getInnsamlingStatus = (status: PublisertInnsamlingStatus) => {\n if (status === PublisertInnsamlingStatus.Avsluttet) return \"Avsluttet\";\n if (status === PublisertInnsamlingStatus.InnsendtUtenGodkjenning)\n return \"Innsendt uten godkjenning\";\n if (status === PublisertInnsamlingStatus.Ledergodkjent)\n return \"Ledergodkjent\";\n if (status === PublisertInnsamlingStatus.Publisert) return \"Publisert\";\n if (status === PublisertInnsamlingStatus.Revisorgodkjent)\n return \"Revisorgodkjent\";\n return \"Ukjent\";\n};\n\nconst getSoknadsStatus = (soknad: SoknadMetadataViewModel) => {\n if (soknad.lastStatus.status === StatusEnum.FerdigBehandlet)\n return \"Ferdig behandlet\";\n if (soknad.lastStatus.status === StatusEnum.Withdrawn) return \"Trukket\";\n if (soknad.lastStatus.status === StatusEnum.Imported) {\n if (soknad.allStatus.some((s) => s.status === StatusEnum.Withdrawn)) {\n return \"Trukket\";\n }\n }\n return \"Ukjent\";\n};\nexport const mergeAvsluttedeSaker = (\n avsluttedeSoknader: SoknadMetadataViewModel[],\n avsluttedeInnsamlinger: InnsamlingApiResponse[],\n avsluttedeTilsyn: TilsynViewModel[],\n avsluttedeRapporteringer: IftFormSubmissionViewModel[],\n) => {\n const listOfAllAvsluttede = avsluttedeSoknader\n .map((i) => ({\n date: new Date(i.lastModified),\n type: \"Søknad\",\n title: i.formTitle,\n status: getSoknadsStatus(i),\n success: i.lastStatus.status === StatusEnum.FerdigBehandlet,\n url: `${getConfig().skolesoknadUrl}/${i.aktorId}/soknad/${i.id}`,\n }))\n .concat(\n avsluttedeInnsamlinger.map((i) => ({\n date: new Date(i.frist),\n type: \"Innsamling\",\n title: i.tittel,\n status: getInnsamlingStatus(i.status),\n success: true,\n url: `${getConfig().innsamlingUrl}/innsamling/${i.externalId}`,\n })),\n )\n .concat(\n avsluttedeTilsyn.map((t) => ({\n date: new Date(t.endDateUtc!),\n type: \"Tilsyn\",\n title: t.name,\n status: \"Avsluttet\",\n success: true,\n url: `${getConfig().tilsynUrl}/Home/Authenticate?returnUrl=/tilsyn/${t.externalId}`, // tving innlogging i tilsyn\n })),\n )\n .concat(\n avsluttedeRapporteringer.map((i) => ({\n date: new Date(i.submitted!),\n type: \"Rapportering\",\n title: i.title,\n status: \"Avsluttet\",\n success: true,\n url: `${getConfig().iftUrl}/${i.year}/${i.orgNummer}`,\n })),\n )\n .sort((a, b) => sortDate(a.date, b.date, \"dsc\"));\n\n return listOfAllAvsluttede;\n};\n\nexport const mergeAndGroupAvsluttedeSaker = (\n avsluttedeSoknader: SoknadMetadataViewModel[],\n avsluttedeInnsamlinger: InnsamlingApiResponse[],\n avsluttedeTilsyn: TilsynViewModel[],\n avsluttedeRapporteringer: IftFormSubmissionViewModel[],\n) => {\n const listOfAllAvsluttede = mergeAvsluttedeSaker(\n avsluttedeSoknader,\n avsluttedeInnsamlinger,\n avsluttedeTilsyn,\n avsluttedeRapporteringer,\n );\n\n const avsluttedeGroupedByYear = groupBy(listOfAllAvsluttede, (v) =>\n v.date.getFullYear(),\n );\n return avsluttedeGroupedByYear;\n};\n\nexport const getRapporteringsColor = (\n status: IftStatusEnum,\n): React.ComponentProps[\"color\"] => {\n switch (status) {\n case IftStatusEnum.NotStarted:\n case IftStatusEnum.InProgress:\n return \"blue\";\n case IftStatusEnum.Submitted:\n case IftStatusEnum.Processing:\n case IftStatusEnum.Processed:\n case IftStatusEnum.Imported:\n return \"lightgrey\";\n default:\n return \"blue\";\n }\n};\n","import { SWRConfiguration } from \"swr\";\n\n// Config\nexport const HFLSWRStandardOptions: SWRConfiguration = {\n errorRetryCount: 0,\n revalidateOnFocus: false,\n revalidateOnReconnect: false,\n};\n","const orgNrMask = {\n regex: /^([F,U]?\\d{3})(\\d{3})(\\d{3}).*/,\n resultPattern: \"$1 $2 $3\",\n};\nconst kontoNrMask = {\n regex: /^(\\d{4})(\\d{2})(\\d{5}).*/,\n resultPattern: \"$1.$2.$3\",\n};\n\nconst mobilTlfMask = {\n regex: /^(\\d{3})(\\d{2})(\\d{3}).*/,\n resultPattern: \"$1 $2 $3\",\n};\nconst fastTlfMask = {\n regex: /^(\\d{2})(\\d{2})(\\d{2})(\\d{2}).*/,\n resultPattern: \"$1 $2 $3 $4\",\n};\n\nconst mask = (regex: RegExp, result: string, value: string) => {\n return value.replace(regex, result);\n};\n\nconst isMobilTlf = (tlfNr: string) => {\n return [\"4\", \"8\", \"9\"].indexOf(tlfNr.charAt(0)) >= 0 && tlfNr.length === 8;\n};\n\nconst isFastTlf = (tlfNr: string) => {\n return (\n [\"2\", \"3\", \"5\", \"6\", \"7\"].indexOf(tlfNr.charAt(0)) >= 0 &&\n tlfNr.length === 8\n );\n};\n\nexport const orgNrFormatter = (orgNr: string | undefined | null) => {\n if (!orgNr) return \"—\";\n if (!(orgNr.length === 9 || orgNr.length === 10)) return orgNr;\n return mask(orgNrMask.regex, orgNrMask.resultPattern, orgNr);\n};\n\nexport const bankkontoNrFormatter = (\n kontoNummer: string | undefined | null,\n) => {\n if (!kontoNummer) return \"—\";\n return mask(kontoNrMask.regex, kontoNrMask.resultPattern, kontoNummer);\n};\n\nexport const telefonNrFormatter = (tlfNr: string | undefined | null) => {\n if (!tlfNr) return \"—\";\n if (isMobilTlf(tlfNr)) {\n return mask(mobilTlfMask.regex, mobilTlfMask.resultPattern, tlfNr);\n }\n if (isFastTlf(tlfNr)) {\n return mask(fastTlfMask.regex, fastTlfMask.resultPattern, tlfNr);\n }\n return tlfNr;\n};\n","import React, { ReactNode } from \"react\";\nimport styled from \"styled-components\";\nimport useSWRImmutable from \"swr/immutable\";\nimport { useCurrentOrganization } from \"../../../utils/globalFunctions\";\nimport { AktorClient } from \"../../../ApiClients\";\nimport {\n bankkontoNrFormatter,\n orgNrFormatter,\n telefonNrFormatter,\n} from \"../../../utils/formatters\";\n\ntype AktorFooterProps = {\n children?: ReactNode;\n};\n\nconst Wrapper = styled.div`\n padding: 1rem 2rem;\n background-color: var(--steelblue4);\n border-bottom: 1px solid var(--steelblue5);\n`;\n\nconst Row = styled.div`\n display: flex;\n flex-wrap: wrap;\n margin: 2rem 0;\n overflow: hidden;\n`;\n\nconst RowItem = styled.div`\n flex: 1;\n padding: 0.5rem 1rem;\n max-width: 50rem;\n border: 1px solid var(--steelblue5);\n`;\n\nconst Title = styled.div`\n font-weight: bold;\n`;\n\nconst TitleSubtitle: React.FC<{\n title: string;\n subtitle: string | undefined | null;\n}> = ({ title, subtitle }) => {\n return (\n \n {title}\n
{subtitle}
\n
\n );\n};\n\nexport const AktorFooter: React.FC = ({ children }) => {\n const currentOrganization = useCurrentOrganization();\n const { data: aktor } = useSWRImmutable(\n !currentOrganization?.udirAktorId\n ? null\n : `getAktor-${currentOrganization.udirAktorId}`,\n () => new AktorClient().get(currentOrganization!.udirAktorId!),\n );\n\n return (\n \n \n \n \n \n \n \n \n {children}\n \n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport useSWRImmutable from \"swr/immutable\";\nimport { Heading1 } from \"@utdanningsdirektoratet/styles\";\nimport { Label } from \"@utdanningsdirektoratet/label\";\nimport { Icon } from \"@utdanningsdirektoratet/icon\";\nimport { useCurrentOrganization } from \"../../../utils/globalFunctions\";\nimport { AktorClient, AktorStatus } from \"../../../ApiClients\";\n\nconst Wrapper = styled.div`\n padding: 3rem 2rem;\n background-color: var(--steelblue4);\n border-bottom: 1px solid var(--steelblue5);\n`;\n\nconst HeadingAndLabel = styled.div`\n display: flex;\n align-items: center;\n gap: 1.5rem;\n`;\n\nexport const AktorHeaderBox: React.FC<{ children?: React.ReactNode }> = ({\n children,\n}) => {\n const currentOrganization = useCurrentOrganization();\n const { data: aktor } = useSWRImmutable(\n !currentOrganization?.udirAktorId\n ? null\n : `getAktor-${currentOrganization.udirAktorId}`,\n () => new AktorClient().get(currentOrganization!.udirAktorId!),\n );\n\n return (\n \n \n {aktor?.navn}\n {aktor?.isActive === false && (\n \n \n {aktor?.status === AktorStatus.Ukjent\n ? \"Denne aktøren har ukjent driftstatus\"\n : \"Denne aktøren er ikke i drift\"}\n \n }\n />\n )}\n \n {children}\n \n );\n};\n","const HideAccessInformationBox = \"hideaccessinformationbox\";\nconst CurrentOrganization = \"currentorganization\";\n\nexport const LocalStorageKeys = {\n HideAccessInformationBox,\n CurrentOrganization,\n};\n","import { IconButton } from \"@utdanningsdirektoratet/button\";\nimport { Icon } from \"@utdanningsdirektoratet/icon\";\nimport { Box } from \"@utdanningsdirektoratet/layout\";\nimport styled from \"styled-components\";\nimport useLocalStorageState from \"use-local-storage-state\";\nimport { LocalStorageKeys } from \"../../../../utils/localstorageKeys\";\n\nconst StyledBox = styled(Box)`\n margin: 0 -6rem;\n\n margin-top: 2rem;\n padding: 2rem;\n .infobox {\n display: flex;\n gap: 1rem;\n p {\n margin: 1rem 0;\n }\n span {\n display: inline-block;\n }\n }\n`;\n\nexport const AccessInformationBox: React.FC = () => {\n const [isHidden, setIsHidden] = useLocalStorageState(\n LocalStorageKeys.HideAccessInformationBox,\n { defaultValue: false },\n );\n\n if (isHidden) return null;\n return (\n \n
\n
\n Tilganger i Altinn\n

\n Alle tilsyn er tilgjengelig på tilsyn.udir.no, men for å lese\n usladdede rapporter og sende inn dokumentasjon må man ha\n Altinn-tilgang.\n

\n \n Med Tilsyn - Lesetilgang kan man lese usladdede tilsynsrapporter.\n \n \n Med Tilsyn - Lese- og skrivetilgang kan man også sende inn\n dokumentasjon og uttalelser i tilsynet.\n \n
\n
\n setIsHidden(true)}\n aria-label=\"lukk informasjonsboks\"\n >\n \n \n
\n
\n
\n );\n};\n","import { Button } from \"@utdanningsdirektoratet/button\";\nimport styled from \"styled-components\";\n\nexport const Container = styled.div<{ top?: string; bottom?: string }>`\n margin-bottom: ${(p) => (p.bottom ? p.bottom : \"2rem\")};\n margin-top: ${(p) => (p.top ? p.top : \"0\")};\n width: min(50rem, 100%);\n`;\n\nexport const CardWrapper = styled.div`\n margin-bottom: 1rem;\n`;\nexport const RightDiv = styled.div`\n text-align: right;\n`;\nexport const StyledButton = styled(Button)`\n margin-left: 1rem;\n`;\n","import { formatDate } from \"date-fns\";\nimport styled from \"styled-components\";\nimport { IftStatusEnum, IftFormSubmissionViewModel } from \"../ApiClients\";\n\nconst DatoTextParagraph = styled.p`\n margin: 0;\n`;\n\nexport const getRapporteringsDatoText = (\n besvarelse: IftFormSubmissionViewModel,\n): React.ReactNode => {\n switch (besvarelse.iftStatusEnum) {\n case IftStatusEnum.NotStarted:\n return besvarelse.deadline\n ? `Frist ${formatDate(besvarelse.deadline, \"dd.MM.yyyy\")}`\n : \"\";\n case IftStatusEnum.InProgress:\n return (\n <>\n {besvarelse.firstAccessedAt && (\n \n Opprettet {formatDate(besvarelse.firstAccessedAt, \"dd.MM.yyyy\")}\n \n )}\n {besvarelse.deadline && (\n \n Frist {formatDate(besvarelse.deadline, \"dd.MM.yyyy\")}\n \n )}\n \n );\n case IftStatusEnum.Submitted:\n case IftStatusEnum.Processed:\n case IftStatusEnum.Processing:\n case IftStatusEnum.Imported:\n return besvarelse.submitted\n ? `Innsendt: ${formatDate(besvarelse.submitted, \"dd.MM.yyyy\")}`\n : \"\";\n default:\n return \"\";\n }\n};\n","import { Card } from \"@utdanningsdirektoratet/card\";\nimport { formatDate, parseDate } from \"@utdanningsdirektoratet/utils/date\";\nimport React from \"react\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"@utdanningsdirektoratet/placeholder\";\nimport { isAfter, isEqual } from \"date-fns\";\nimport {\n AarsregnskapstilsynViewModel,\n IftFormSubmissionViewModel,\n IftStatusEnum,\n InnsamlingApiResponse,\n PublisertInnsamlingStatus,\n SoknadMetadataViewModel,\n StatusEnum,\n StatusModel,\n TilsynViewModel,\n TilsynsStatus,\n} from \"../../../../ApiClients\";\nimport {\n PaddedHeading1,\n PaddedHeading2,\n} from \"../../../../components/Headings\";\nimport { sortDate } from \"../../../../utils/dateUtils\";\nimport {\n getConfig,\n useCurrentOrganization,\n} from \"../../../../utils/globalFunctions\";\nimport { AccessInformationBox } from \"./AccessInformationBox\";\nimport { CardWrapper, Container } from \"./SakStyles\";\nimport { Sak } from \"./sakTypes\";\nimport { getRapporteringsDatoText } from \"../../../../utils/rapporteringsUtils\";\nimport { getRapporteringsColor } from \"../../../../utils/sakerUtils\";\n\nconst SakWrapper = styled.div`\n margin: 0.5rem 0 2rem;\n`;\n\nconst isInnsendtSoknad = (\n lastStatus: StatusModel,\n allStatus: StatusModel[],\n) => {\n if (lastStatus.status === StatusEnum.Processing) return true;\n if (lastStatus.status === StatusEnum.Sent) return true;\n if (lastStatus.status === StatusEnum.FerdigBehandlet) return false;\n if (lastStatus.status === StatusEnum.Imported) {\n return !allStatus.some((s) => s.status === StatusEnum.Withdrawn);\n }\n return false;\n};\n\nconst getSakCards = (saks: Sak[]) => {\n return saks.map((sak: Sak) => {\n return (\n \n \n \n );\n });\n};\n\nconst createSoknads = (\n soknader: SoknadMetadataViewModel[],\n aktorId: string,\n isInnsendt: boolean,\n): Sak[] => {\n return soknader.map((s) => {\n const datoText =\n // eslint-disable-next-line no-nested-ternary\n isInnsendt && s.sentDate\n ? `Innsendt: ${formatDate(s.sentDate, \"dd.MM.yyyy\")}`\n : s.lastStatus.status === StatusEnum.Draft &&\n s.lastStatus.created < s.lastModified\n ? `Sist endret: ${formatDate(s.lastModified, \"dd.MM.yyyy\")}`\n : `Opprettet: ${formatDate(s.createdDate, \"dd.MM.yyyy\")}`;\n return {\n id: s.id,\n title: s.formTitle ?? \"\",\n label: \"Gå til søknad\",\n dato: new Date(s.lastModified ?? s.createdDate),\n datoText,\n url: `${getConfig().skolesoknadUrl}/${aktorId}/soknad/${s.id}`,\n color: isInnsendt ? \"blue\" : \"yellow\",\n } as const;\n });\n};\n\nconst createInnsamlinger = (\n innsamlinger: InnsamlingApiResponse[],\n isInnsendt: boolean,\n): Sak[] => {\n return innsamlinger.map(\n (i) =>\n ({\n id: i.externalId,\n title: i.tittel,\n label: \"Gå til innsamling\",\n dato: parseDate(i.frist),\n datoText: `Frist: ${formatDate(i.frist, \"dd.MM.yyyy\")}`,\n url: `${getConfig().innsamlingUrl}/innsamling/${i.externalId}`,\n color: isInnsendt ? \"blue\" : \"yellow\",\n }) as const,\n );\n};\n\nconst createTilsyn = (tilsyn: TilsynViewModel[]): Sak[] => {\n return tilsyn.map(\n (t) =>\n ({\n id: t.externalId,\n title: t.name,\n label: \"Gå til tilsyn\",\n dato: new Date(t.publisertDateUtc),\n datoText: t.publiseringType,\n url: `${getConfig().tilsynUrl}/tilsyn/${t.externalId}`,\n color: \"lightazure\",\n }) as const,\n );\n};\n\nconst createAarsregnskapstilsyn = (\n aarsregnskapstilsyn: AarsregnskapstilsynViewModel[],\n aktorId: string,\n): Sak[] => {\n return aarsregnskapstilsyn.map((s) => {\n const isPaabegynt = s.soknadId !== null;\n const isInnsendt: boolean =\n s.allStatus.length > 0\n ? isInnsendtSoknad(s.lastStatus!, s.allStatus)\n : false;\n const datoText = isInnsendt\n ? `Innsendt: ${formatDate(s.created!, \"dd.MM.yyyy\")}`\n : `Send inn dokumentasjon: Frist ${s.aarsregnskapstilsynFrist}`;\n return {\n id: s.soknadId ?? `${s.formTitle}-${s.aarsregnskapstilsynFrist}`,\n title: s.formTitle ?? \"\",\n label: \"Gå til skjema\",\n dato: s.soknadId ? new Date(s.lastModified! ?? s.created!) : new Date(), // else: nå-dato putter årsregnskapstilsyn som ikke er påbegynt øverst\n datoText,\n url: isPaabegynt\n ? `${getConfig().skolesoknadUrl}/${aktorId}/soknad/${s.soknadId}`\n : `${getConfig().skolesoknadUrl}/${aktorId}/aarsregnskapstilsyn`,\n color: isInnsendt ? \"blue\" : \"yellow\",\n } as Sak;\n });\n};\n\nconst createRapporteringer = (\n rapporteringer: IftFormSubmissionViewModel[],\n): Sak[] => {\n return rapporteringer.map((s) => {\n return {\n id: `${s.orgNummer}-${s.year}`,\n title: s.title,\n label: \"Gå til Rapportering\",\n url: `${getConfig().iftUrl}/${s.year}/${s.orgNummer}`,\n color: getRapporteringsColor(s.iftStatusEnum),\n datoText: getRapporteringsDatoText(s),\n } as Sak;\n });\n};\n\nconst getAktiveSaker = (\n _soknader: SoknadMetadataViewModel[],\n _innsamlinger: InnsamlingApiResponse[],\n _tilsyn: TilsynViewModel[],\n _rapporteringer: IftFormSubmissionViewModel[],\n aktorId: string,\n) => {\n const today = new Date();\n today.setHours(0, 0, 0, 0);\n const pagaendeSoknader = _soknader.filter(\n (c) => c.lastStatus.status === StatusEnum.Draft,\n );\n const innsendteSoknader = _soknader.filter((c) =>\n isInnsendtSoknad(c.lastStatus, c.allStatus),\n );\n const pagaendeInnsamlinger = _innsamlinger.filter(\n (i) =>\n !(\n i.status === PublisertInnsamlingStatus.Avsluttet ||\n isAfter(today, new Date(i.frist))\n ),\n );\n const innsendteInnsamlinger = _innsamlinger.filter(\n (i) =>\n !(i.status === PublisertInnsamlingStatus.Avsluttet) &&\n isAfter(today, new Date(i.frist)),\n );\n const _pagaendeTilsyn = _tilsyn?.filter(\n (t) =>\n t.status === TilsynsStatus.DokumentasjonskravPublisert ||\n t.status === TilsynsStatus.ForelopigTilsynsrapportPublisert ||\n t.status === TilsynsStatus.TilsynsrapportPublisert,\n );\n const _innsendteTilsyn = _tilsyn?.filter(\n (t) =>\n !(\n t.status === TilsynsStatus.DokumentasjonskravPublisert ||\n t.status === TilsynsStatus.ForelopigTilsynsrapportPublisert ||\n t.status === TilsynsStatus.TilsynsrapportPublisert ||\n t.status === TilsynsStatus.TilsynAvsluttet\n ), // Alle andre statuser enn de som er under påbegynt eller avsluttet\n );\n\n const _pagaendeRapporteringer = _rapporteringer.filter(\n (i) =>\n i.iftStatusEnum !== IftStatusEnum.Approved &&\n (isAfter(today, new Date(i.openingDate ?? \"\")) ||\n isEqual(today, new Date(i.openingDate ?? \"\").setHours(0, 0, 0, 0))),\n );\n\n const soknader: Sak[] = createSoknads(pagaendeSoknader, aktorId, false)\n .concat(createSoknads(innsendteSoknader, aktorId, true))\n .sort((a, b) => sortDate(a.dato, b.dato, \"dsc\"));\n\n const innsamlinger: Sak[] = createInnsamlinger(pagaendeInnsamlinger, false)\n .concat(createInnsamlinger(innsendteInnsamlinger, true))\n .sort((a, b) => sortDate(a.dato, b.dato, \"dsc\"));\n\n const tilsyn: Sak[] = createTilsyn(_pagaendeTilsyn)\n .concat(createTilsyn(_innsendteTilsyn))\n .sort((a, b) => sortDate(a.dato, b.dato, \"dsc\"));\n\n const rapporteringer: Sak[] = createRapporteringer(_pagaendeRapporteringer);\n\n return { soknader, innsamlinger, tilsyn, rapporteringer };\n};\n\nconst getAarsregnskapstilsyn = (\n aarsregnskapstilsyn: AarsregnskapstilsynViewModel[],\n aktorId: string,\n) => {\n return createAarsregnskapstilsyn(aarsregnskapstilsyn, aktorId).sort((a, b) =>\n sortDate(a.dato, b.dato, \"dsc\"),\n );\n};\n\nexport const AktiveSaker: React.FC<{\n soknader: SoknadMetadataViewModel[] | undefined;\n innsamlinger: InnsamlingApiResponse[] | undefined;\n tilsyn: TilsynViewModel[] | undefined;\n rapporteringer: IftFormSubmissionViewModel[] | undefined;\n aarsregnskapstilsyn: AarsregnskapstilsynViewModel[] | undefined;\n}> = ({\n soknader,\n innsamlinger,\n tilsyn,\n aarsregnskapstilsyn,\n rapporteringer,\n}) => {\n const currentOrganization = useCurrentOrganization();\n\n const {\n soknader: soknadSaker,\n innsamlinger: innsamlingSaker,\n tilsyn: tilsynSaker,\n rapporteringer: rapporteringsSaker,\n } = React.useMemo(\n () =>\n getAktiveSaker(\n soknader ?? [],\n innsamlinger ?? [],\n tilsyn ?? [],\n rapporteringer ?? [],\n currentOrganization!.udirAktorId!,\n ),\n [soknader, innsamlinger, tilsyn, rapporteringer, currentOrganization],\n );\n\n const aarsregnskapstilsynSaker: Sak[] = getAarsregnskapstilsyn(\n aarsregnskapstilsyn ?? [],\n currentOrganization!.udirAktorId!,\n );\n\n const hasSoknader = soknadSaker.length !== 0;\n const hasInnsamlinger = innsamlingSaker.length !== 0;\n const hasTilsyn = tilsynSaker.length !== 0;\n const hasAarsregnskapstilsyn = aarsregnskapstilsynSaker.length !== 0;\n const hasRapporteringer = rapporteringer?.length !== 0;\n\n const isLoadingAnyData =\n soknader === undefined ||\n innsamlinger === undefined ||\n tilsyn === undefined ||\n aarsregnskapstilsyn === undefined ||\n rapporteringer === undefined;\n\n return (\n \n Pågående saker\n

\n Her ser du pågående saker innen tilsyn, innsamling, søknader og\n rapporteringer for skoler godkjent etter privatskoleloven.\n

\n {!hasTilsyn &&\n !hasInnsamlinger &&\n !hasSoknader &&\n !hasAarsregnskapstilsyn &&\n !hasRapporteringer &&\n !isLoadingAnyData && (\n

\n Du har ingen pågående saker\n

\n )}\n {tilsyn === undefined || aarsregnskapstilsyn === undefined ? (\n \n ) : (\n (hasTilsyn || hasAarsregnskapstilsyn) && (\n \n Tilsyn\n {getSakCards(aarsregnskapstilsynSaker)}\n {getSakCards(tilsynSaker)}\n \n \n )\n )}\n {innsamlinger === undefined ? (\n \n ) : (\n hasInnsamlinger && (\n \n Innsamlinger\n {getSakCards(innsamlingSaker)}\n \n )\n )}\n {soknader === undefined ? (\n \n ) : (\n hasSoknader && (\n \n Søknader\n {getSakCards(soknadSaker)}\n \n )\n )}\n {rapporteringer !== undefined && rapporteringsSaker.length !== 0 && (\n \n Rapporteringer\n {getSakCards(rapporteringsSaker)}\n \n )}\n
\n );\n};\n","import { LinkBox, LinkBoxContainer } from \"@utdanningsdirektoratet/linkbox\";\nimport React from \"react\";\nimport styled from \"styled-components\";\nimport { colors } from \"@utdanningsdirektoratet/styles\";\nimport {\n getConfig,\n useCurrentOrganization,\n} from \"../../../utils/globalFunctions\";\nimport { PagePanel } from \"../../../layout/PagePanels\";\n\nconst StyledLinkBoxContainer = styled(LinkBoxContainer)`\n display: flex;\n width: 28rem;\n`;\n\ntype Props = {\n udirAktorId?: string | null;\n backgroundColor?: string;\n};\n\nexport const SkolesoknadLinkBox: React.FC = ({\n udirAktorId,\n backgroundColor = colors.lightgrey,\n}) => {\n const currentOrganization = useCurrentOrganization();\n const text = currentOrganization?.isGodkjentIkkeStartet\n ? \"Søk om driftstillatelse\"\n : \"Søk om endring av tilbud\";\n return (\n \n \n \n \n \n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { mediaqueries } from \"@utdanningsdirektoratet/styles\";\n\ntype SectionProps = {\n children: React.ReactNode;\n className?: string;\n};\n\nconst StyledSection = styled.section`\n padding: 2rem;\n @media ${mediaqueries.small} {\n padding: 1rem;\n }\n`;\n\nconst Section: React.FC = ({ children, className }) => {\n return {children};\n};\n\nexport default Section;\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { formatDate } from \"@utdanningsdirektoratet/utils/date\";\nimport { LokaleModel } from \"../../../../../ApiClients\";\nimport Section from \"../../../../../components/Section\";\nimport { PaddedHeading2 } from \"../../../../../components/Headings\";\n\ntype LokaleProps = {\n lokale?: LokaleModel | null;\n};\n\nconst Comment = styled.div`\n white-space: pre-line;\n padding-top: 1rem;\n`;\n\nconst Lokale: React.FC = ({ lokale }) => {\n if (!lokale) return null;\n const kapasitet = lokale.kapasitet\n ? `${lokale.kapasitet} elever`\n : \"Kapasitet er ikke satt\";\n\n return (\n
\n Skolens lokaler\n
\n {kapasitet}\n \n — {lokale.postadresse}, {lokale.postnummer} {lokale.poststed}\n \n
\n {(lokale.fomDatoUtc || lokale.tomDatoUtc) && (\n
\n {lokale.fomDatoUtc &&\n `Vedtatt ${formatDate(lokale.fomDatoUtc, \"dd.MM.yyyy\")}. `}\n {lokale.tomDatoUtc &&\n `Utløper ${formatDate(lokale.tomDatoUtc, \"dd.MM.yyyy\")}`}\n
\n )}\n {lokale.kommentar}\n
\n );\n};\n\nexport default Lokale;\n","import React from \"react\";\nimport styled from \"styled-components\";\n\ntype ElevplassgruppeProps = {\n title: string;\n total: number;\n children: React.ReactNode;\n};\n\nconst Wrapper = styled.div`\n padding: 1.5rem 0;\n`;\n\nconst Total = styled.div`\n display: flex;\n justify-content: space-between;\n padding: 0.5rem 1rem;\n border-bottom: 1px solid;\n font-weight: 500;\n font-size: 1.125rem;\n line-height: 1.375rem;\n`;\n\nconst Elevplassgruppe: React.FC = ({\n title,\n total,\n children,\n}) => {\n return (\n \n \n {title}\n {total}\n \n
{children}
\n
\n );\n};\n\nexport default Elevplassgruppe;\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { ProgramomradeModel2 } from \"../../../../../ApiClients\";\n\ntype ProgramomradeTableProps = {\n programomradeKoder: Array;\n allProgramomrader: Array;\n};\n\nconst Table = styled.table`\n width: 100%;\n margin-top: 1rem;\n border-collapse: collapse;\n`;\n\nconst Body = styled.tbody`\n border: 0.0125rem solid;\n`;\n\nconst Tr = styled.tr`\n border-bottom: 0.0125rem solid;\n`;\n\nconst Td = styled.td<{ width?: string }>`\n max-width: ${(props) => props.width};\n padding: 0.5rem 0.75rem;\n`;\n\nconst Th = styled.th`\n text-align: left;\n padding: 0.25rem 0.75rem;\n font-weight: 400;\n line-height: 1.5rem;\n font-size: 0.875rem;\n border: none;\n`;\n\nexport const ProgramomradeTable: React.FC = ({\n programomradeKoder,\n allProgramomrader,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n {programomradeKoder.map((programomrade) => {\n const completeProgramomrade = allProgramomrader?.find(\n (p) => p.kode === programomrade,\n );\n if (completeProgramomrade === undefined) return null;\n return (\n \n \n \n \n \n );\n })}\n \n
TrinnProgramområdeKode
{completeProgramomrade.aarstrinn}{completeProgramomrade.tittel}{completeProgramomrade.kode}
\n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\n\ntype TitleSubtitleProps = {\n title: string;\n subtitle: string | number;\n};\n\nconst TotalsRowTitle = styled.div`\n font-size: 0.75rem;\n`;\n\nconst Subtitle = styled.div`\n margin-bottom: 0.5rem;\n font-weight: 500;\n font-size: 1.5rem;\n line-height: 1.875rem;\n`;\n\nexport const TotalsRow = styled.div`\n padding-top: 1rem;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n max-width: 22rem;\n`;\n\nexport const TitleSubtitle: React.FC = ({\n title,\n subtitle,\n}) => {\n return (\n
\n {title}\n {subtitle}\n
\n );\n};\n\nexport const AltinnInfoLink: React.FC<{ children: React.ReactNode }> = ({\n children,\n}) => (\n \n {children}\n \n);\n","import React from \"react\";\nimport { Heading2 } from \"@utdanningsdirektoratet/styles\";\nimport {\n ElevplassgruppeVgsModel,\n FriskoleVgsModel,\n ProgramomradeModel2,\n TilbudClient,\n} from \"../../../../../ApiClients\";\nimport Elevplassgruppe from \"./ElevplassGruppe\";\nimport { ProgramomradeTable } from \"./ProgramomradeTable\";\nimport Section from \"../../../../../components/Section\";\nimport { TitleSubtitle, TotalsRow } from \"../../SharedComponents\";\n\ntype ElevtallVgsProps = {\n vgs?: FriskoleVgsModel | null;\n};\n\nconst getTitle = (kapasitet: ElevplassgruppeVgsModel): string => {\n if (kapasitet.customTitle) return kapasitet.customTitle;\n\n const titles: Array = [];\n kapasitet.programomrader?.forEach((programomrade) => {\n programomrade.utdanningsprograms?.forEach((u) => {\n if (!titles.includes(u.title ?? \"\")) {\n titles.push(u.title ?? \"\");\n }\n });\n });\n\n return titles.join(\", \");\n};\n\nconst ElevtallVgs: React.FC = ({ vgs }) => {\n const [programomrader, setprogramomrader] = React.useState<\n Array\n >([]);\n\n React.useEffect(() => {\n if (!vgs) return;\n const client = new TilbudClient();\n client.getProgramomrader().then(setprogramomrader);\n }, [vgs]);\n\n if (!vgs) return null;\n\n const elevplassgrupper = vgs.elevplassgrupper?.map((kapasitet) => {\n const title = getTitle(kapasitet);\n return (\n \n p.code ?? \"\") ?? []\n }\n allProgramomrader={programomrader}\n />\n \n );\n });\n\n return (\n
\n Elevplasser videregående skole\n \n \n \n \n \n {elevplassgrupper}\n
\n );\n};\n\nexport default ElevtallVgs;\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { Heading3 } from \"@utdanningsdirektoratet/styles\";\nimport {\n FagkodeModel,\n LaereplanModel,\n TilbudClient,\n} from \"../../../../../ApiClients\";\nimport Section from \"../../../../../components/Section\";\nimport { PaddedHeading2 } from \"../../../../../components/Headings\";\n\ntype LaereplanProps = {\n laereplan?: LaereplanModel | null;\n};\n\nconst FagkodeContainer = styled.div`\n background-color: var(--lightazure4);\n padding: 1rem;\n margin-bottom: 0.5rem;\n`;\n\nconst FagkodeWrapper = styled.div`\n display: flex;\n flex-wrap: wrap;\n`;\n\nconst Details = styled.div`\n flex: 1;\n padding-right: 2rem;\n`;\n\nconst Merknader = styled.div`\n display: flex;\n flex: 2;\n`;\n\nconst Inline = styled.div`\n display: flex;\n`;\n\nconst Laereplan: React.FC = ({ laereplan }) => {\n const [fagkoder, setFagkoder] = React.useState>([]);\n\n React.useEffect(() => {\n if (!laereplan) return;\n\n const client = new TilbudClient();\n client.getFagkoder().then(setFagkoder); // TODO catch\n }, [laereplan]);\n\n if (!laereplan)\n return (\n
\n Læreplan\n Ingen læreplan er satt\n
\n );\n const lareplanType = laereplan.laereplantype\n ? `${laereplan.laereplantype.kategori} - ${laereplan.laereplantype.tittel}`\n : \"\";\n let fagkoderInUse = fagkoder.filter((f) =>\n laereplan.fagkoder?.includes(f.kode),\n );\n\n if (fagkoderInUse.length !== laereplan.fagkoder?.length) {\n fagkoderInUse =\n laereplan.fagkoder?.map((f) => ({\n kode: f,\n tittel: \"\",\n tilleggsopplysninger: \"\",\n })) ?? [];\n }\n\n return (\n
\n Læreplan\n
\n {lareplanType !== \"\" ? (\n `Skolen følger ${lareplanType}`\n ) : (\n Ingen læreplan er satt\n )}\n
\n
{laereplan.kommentar}
\n {laereplan.fagkoder && laereplan.fagkoder.length > 0 && (\n
\n
Godkjente tilleggsfag
\n {fagkoderInUse.map((t) => (\n \n {t.tittel}\n \n
\n \n
\n Fagkode\n
\n
{t.kode}
\n
\n \n
\n Årstimer\n
\n
{t.omfang}
\n
\n
\n \n
Merknad
\n
{t.tilleggsopplysninger}
\n
\n
\n
\n ))}\n
\n )}\n
\n );\n};\n\nexport default Laereplan;\n","import React from \"react\";\nimport { Section } from \"@utdanningsdirektoratet/layout\";\nimport { Heading2 } from \"@utdanningsdirektoratet/styles\";\nimport styled from \"styled-components\";\nimport { FriskoleGrunnskoleModel } from \"../../../../../ApiClients\";\nimport { TitleSubtitle, TotalsRow } from \"../../SharedComponents\";\n\ninterface Props {\n elevtall: FriskoleGrunnskoleModel | undefined | null;\n}\n\nfunction toTrinn(trinn: number[] | undefined | null) {\n if (trinn == null) return \"Alle\";\n if (trinn.length === 0) return `Trinn ${trinn[0]}.`;\n return `${Math.min(...trinn)} - ${Math.max(...trinn)} trinn`;\n}\n\nconst Spacer = styled.div`\n margin-top: 1rem;\n`;\n\nconst Trinn = styled.div`\n display: flex;\n width: 258px;\n justify-content: space-between;\n padding: 0.25rem 0rem;\n font-weight: 500;\n font-size: 1.125rem;\n line-height: 1.375rem;\n`;\n\nconst TrinnRad: React.FC<{ title: string; children: React.ReactNode }> = ({\n title,\n children,\n}) => {\n return (\n \n {title}\n {children}\n \n );\n};\n\nexport const ElevtallGrunnskole: React.FC = ({ elevtall }) => {\n if (elevtall == null) return null;\n const total = (elevtall.elevplassgrupper ?? [])\n .map((g) => g.total)\n .reduce((partialSum, a) => partialSum + a, 0);\n\n return (\n
\n Elevplasser grunnskole\n \n \n \n \n \n \n {elevtall.elevplassgrupper?.map((g) => (\n \n {g.total}\n \n ))}\n \n
\n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { SatsgruppeModel, SatsType } from \"../../../../../ApiClients\";\n\nconst SatsgruppeTable = styled.table`\n width: 100%;\n border-collapse: collapse;\n margin-bottom: 2rem;\n th {\n font-weight: normal;\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n }\n tbody tr {\n background-color: #eaeaea;\n border-bottom: 1px solid #d1d1d1;\n &:last-child {\n border-bottom: none;\n }\n td {\n padding: 0.75rem 0.5rem;\n }\n }\n`;\n\nconst Th = styled.th<{ width: string; right?: boolean }>`\n width: ${(p) => p.width};\n text-align: ${(p) => (p.right ? \"right\" : \"left\")};\n`;\n\nconst Td = styled.td<{ right?: boolean }>`\n text-align: ${(p) => (p.right ? \"right\" : \"left\")};\n`;\n\nconst formatSats = (sats: SatsType) => {\n if (sats === SatsType.KunstMediaMusikk)\n return \"Kunst-, medie- og musikkutdanning\";\n if (sats === SatsType.Bibel) return \"Bibelstudium m.m.\";\n if (sats === SatsType.UtoverVg) return \"Utover videregående opplæring\";\n return sats.toString();\n};\n\nexport const Satsgruppe: React.FC<{ satsgruppe: SatsgruppeModel }> = ({\n satsgruppe,\n}) => {\n if (satsgruppe?.kurs == null) return null;\n return (\n
\n \n {satsgruppe.total} {satsgruppe.total > 1 ? \"plasser\" : \"plass\"}\n \n \n \n \n Kursnavn\n \n Satsandel\n \n Kurstilbud\n \n Nivå\n \n \n \n \n {satsgruppe.kurs.map((k) => (\n \n {k.title}\n {k.satsandel * 100} %\n {formatSats(k.sats)}\n {k.level}\n \n ))}\n \n \n
\n );\n};\n","import React from \"react\";\nimport { Section } from \"@utdanningsdirektoratet/layout\";\nimport { Heading2 } from \"@utdanningsdirektoratet/styles\";\nimport styled from \"styled-components\";\nimport { Satsgruppe } from \"./Satsgruppe\";\nimport { SatsgruppeModel } from \"../../../../../ApiClients\";\n\nconst Spacer = styled.div`\n margin-top: 1rem;\n`;\n\ninterface Props {\n satsgrupper?: Array | null;\n}\n\nexport const Elevplasser: React.FC = ({ satsgrupper }) => {\n if (satsgrupper == null) return null;\n\n const sum = satsgrupper.map((s) => s.total).reduce((a, b) => a + b, 0);\n\n return (\n
\n Elevplasser\n \n

Totalt antall elevplasser = {sum}

\n \n {satsgrupper.map((s, i) => (\n \n ))}\n
\n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport colors from \"@utdanningsdirektoratet/styles/colors\";\nimport { Button } from \"@utdanningsdirektoratet/button\";\nimport { GodkjenningModel } from \"../../../../ApiClients\";\nimport Lokale from \"./Privatskole/Lokale\";\nimport ElevtallVgs from \"./Privatskole/ElevtallVgs\";\nimport Laereplan from \"./Privatskole/Laereplan\";\nimport { PaddedHeading1 } from \"../../../../components/Headings\";\nimport { ElevtallGrunnskole } from \"./Privatskole/ElevtallGrunnskole\";\nimport { Elevplasser } from \"./Diverseskole/Elevplasser\";\nimport { PagePanel } from \"../../../../layout/PagePanels\";\n\nconst Container = styled.div`\n background-color: ${colors.white};\n width: 100%;\n`;\n\nconst NavigationWrapper = styled.div`\n margin-bottom: 1rem;\n`;\n\nconst Wrapper = styled.article`\n margin: 2rem auto;\n max-width: 80rem;\n width: 100%;\n height: 100%;\n`;\n\nconst DiverseSkoleTilbud: React.FC<{ tilbud: GodkjenningModel }> = ({\n tilbud,\n}) => {\n if (!tilbud || !tilbud.diverseskole) return null;\n return (\n \n \n \n );\n};\n\nconst PrivatSkoleTilbud: React.FC<{ tilbud: GodkjenningModel }> = ({\n tilbud,\n}) => {\n if (!tilbud || !tilbud.friskole) return null;\n return (\n \n \n \n \n \n \n );\n};\n\ntype Props = {\n tilbuds: Array | null;\n};\n\nconst getCorrectTilbud = (tilbud: GodkjenningModel): React.ReactNode | null => {\n if (!tilbud) return null;\n if (tilbud.friskole != null) return ;\n if (tilbud.diverseskole != null)\n return ;\n return null;\n};\n\nconst isSelectedTilbud = (\n tilbud: GodkjenningModel,\n selectedTilbud: GodkjenningModel | undefined,\n currentTilbud: GodkjenningModel,\n) => {\n if (!selectedTilbud) {\n return (\n tilbud.validFromYear === currentTilbud.validFromYear &&\n tilbud.validFromSemester === currentTilbud.validFromSemester\n );\n }\n return (\n tilbud.validFromYear === selectedTilbud.validFromYear &&\n tilbud.validFromSemester === selectedTilbud.validFromSemester\n );\n};\n\nconst isGjeldendeTilbud = (\n tilbud: GodkjenningModel,\n currentTilbud: GodkjenningModel,\n) => {\n return (\n tilbud.validFromYear === currentTilbud.validFromYear &&\n tilbud.validFromSemester === currentTilbud.validFromSemester\n );\n};\n\nconst Tilbud: React.FC = ({ tilbuds }) => {\n const [selectedTilbud, setSelectedTilbud] =\n React.useState();\n if (!tilbuds || tilbuds.length === 0)\n return (\n \n \n Tilbud\n
\n Her vises tilbudet til skoler som er godkjent etter\n privatskoleloven.\n
\n
\n
\n );\n const currentTilbud = tilbuds[0];\n\n const selectedOrDefaultTilbud = selectedTilbud ?? currentTilbud;\n\n const title = isGjeldendeTilbud(selectedOrDefaultTilbud, currentTilbud)\n ? \"Skolens gjeldende tilbud\"\n : `Skolens tilbud - gjeldende fra ${selectedOrDefaultTilbud.validFromSemester} ${selectedOrDefaultTilbud.validFromYear}`;\n\n return (\n \n \n {title}\n {tilbuds.length > 1 && (\n \n {tilbuds.map((t) => (\n setSelectedTilbud(t)}\n active={isSelectedTilbud(t, selectedTilbud, currentTilbud)}\n >\n {isGjeldendeTilbud(t, currentTilbud)\n ? \"Gjeldende tilbud\"\n : `Tilbud - fra ${t.validFromSemester} ${t.validFromYear}`}\n \n ))}\n \n )}\n {getCorrectTilbud(selectedOrDefaultTilbud)}\n \n \n );\n};\n\nexport default Tilbud;\n","export const formatCurrency = (belop: number, fractionDigits = 2) => {\n return new Intl.NumberFormat(\"nb-NO\", {\n minimumFractionDigits: fractionDigits,\n maximumFractionDigits: fractionDigits,\n }).format(belop);\n};\n\nexport const parseNorwegianFloat = (text: string) =>\n parseFloat(text.replace(\"\\u00a0\", \"\").replace(\",\", \".\"));\n\nexport const convertDecimalToPercentInString = (decimalString: string) => {\n const decimalNumber = parseFloat(\n decimalString.replace(\" \", \"\").replace(\",\", \".\"),\n );\n const options = {\n minimumFractionDigits: 1,\n maximumFractionDigits: 1,\n };\n\n const percentString = `${Number(decimalNumber * 100).toLocaleString(\"nb\", options)}%`;\n return percentString;\n};\n","import React from \"react\";\nimport {\n DetailedListRow,\n DetailedListCell,\n} from \"@utdanningsdirektoratet/detailedlist\";\nimport { Link, useParams } from \"react-router-dom\";\nimport routes from \"../../../../routes\";\nimport { OrdningerForAar } from \"../../../../ApiClients\";\nimport { formatCurrency } from \"../../../../utils/numberUtils\";\nimport { OrgNrParamType } from \"../../../../utils/globalFunctions\";\n\ntype AltUtbetaltRowProps = {\n tilskudd: OrdningerForAar;\n aktorName?: string;\n budsjettAar: number;\n};\n\nconst getTotaltTilskuddDisplayValue = (tilskudd: OrdningerForAar) => {\n // if (tilskudd.isSoknadFerdigBehandlet && tilskudd.innvilgetBelop === 0) {\n // return tilskudd.utbetalt;\n // }\n // TODO: hva er logikken her..\n if (tilskudd.innvilgetBelop === 0) {\n return formatCurrency(tilskudd.utbetalt);\n }\n\n return formatCurrency(tilskudd.innvilgetBelop);\n};\n\nexport const AltUtbetaltRow: React.FC = ({\n tilskudd,\n aktorName,\n budsjettAar,\n}) => {\n const { orgnr } = useParams();\n const isUtbetaling = tilskudd.innvilgetBelop >= 0;\n\n const tekst = isUtbetaling\n ? \"Hele beløpet er utbetalt\"\n : \"Hele beløpet er innbetalt\";\n return (\n \n {({ className }) => {\n return (\n \n \n {tilskudd.ordningNavn} {aktorName}\n \n \n {tekst}\n \n \n {getTotaltTilskuddDisplayValue(tilskudd)}\n \n \n );\n }}\n \n );\n};\n","import React from \"react\";\nimport {\n DetailedListRow,\n DetailedListCell,\n} from \"@utdanningsdirektoratet/detailedlist\";\nimport { Link, useParams } from \"react-router-dom\";\nimport routes from \"../../../../routes\";\nimport { OrdningerForAar } from \"../../../../ApiClients\";\nimport { formatCurrency } from \"../../../../utils/numberUtils\";\nimport { OrgNrParamType } from \"../../../../utils/globalFunctions\";\n\ntype DelvisUtbetaltRowProps = {\n tilskudd: OrdningerForAar;\n aktorName?: string;\n budsjettAar: number;\n};\n\nexport const DelvisUtbetaltRow: React.FC = ({\n tilskudd,\n aktorName,\n budsjettAar,\n}) => {\n const { orgnr } = useParams();\n const utbetaltInnbetaltLabel =\n tilskudd.utbetalt >= 0 ? \"Utbetalt\" : \"Innbetalt\";\n\n const isGodkjentOrHasGjennomforteBetalinger =\n tilskudd.isGodkjent || tilskudd.utbetalt > 0 || tilskudd.innbetalt > 0;\n const total = tilskudd.isGodkjent\n ? formatCurrency(tilskudd.innvilgetBelop)\n : \"Udir beregner total\";\n\n const avCell = tilskudd.isGodkjent ? (\n \n av\n \n ) : null;\n\n const totaltTilskuddCellSize = tilskudd.isGodkjent ? \"140px\" : \"190px\";\n return (\n \n {({ className }) => {\n return (\n \n \n {tilskudd.ordningNavn} {aktorName}\n \n \n {isGodkjentOrHasGjennomforteBetalinger && utbetaltInnbetaltLabel}\n \n \n {isGodkjentOrHasGjennomforteBetalinger &&\n formatCurrency(tilskudd.utbetalt)}\n \n {avCell}\n \n {total}\n \n \n );\n }}\n \n );\n};\n","import React from \"react\";\nimport { KeyValue, Key, Value } from \"@utdanningsdirektoratet/keyvalue\";\nimport styled from \"styled-components\";\nimport { formatCurrency } from \"../../../../utils/numberUtils\";\nimport { TilskuddsOverview } from \"../../../../ApiClients\";\n\nconst Wrapper = styled.div<{ splitColumnView?: boolean }>`\n max-width: 20rem;\n margin-right: 0;\n margin-left: auto;\n ${(props) =>\n props.splitColumnView &&\n `\n max-width: 40rem;\n display: grid;\n grid-column-gap: 2rem;\n grid-template-columns: 1fr 1fr;\n & > *:first-child {\n grid-column-start: 1;\n grid-column-end: 3;\n }\n `}\n`;\n\ntype TilskuddoppsummeringProps = {\n tilskuddsOverview: TilskuddsOverview;\n showTilskuddDetails: boolean;\n};\n\nexport const Tilskuddoppsummering: React.FC = ({\n tilskuddsOverview,\n showTilskuddDetails,\n}) => {\n const hasUtbetalinger =\n !(\n tilskuddsOverview.sumUtbetalingerUtbetalt === 0 &&\n tilskuddsOverview.sumUtbetalingerRest === 0\n ) &&\n tilskuddsOverview.sumUtbetalingerUtbetalt !==\n tilskuddsOverview.totaltTilskudd;\n const hasInnbetalinger =\n !(\n tilskuddsOverview.sumInnbetalingerInnbetalt === 0 &&\n tilskuddsOverview.sumInnbetalingerRest === 0\n ) &&\n tilskuddsOverview.sumInnbetalingerInnbetalt !==\n tilskuddsOverview.totaltTilskudd;\n\n const hasGjenstandeUtbetalingEllerInnbetaling =\n tilskuddsOverview.sumUtbetalingerRest !== 0 ||\n tilskuddsOverview.sumInnbetalingerRest !== 0;\n\n const inProgressText = \"Udir beregner total\";\n const totaltColor =\n tilskuddsOverview.totaltTilskudd < 0 ? \"darkred\" : undefined;\n const sumInnbetalingerRestColor =\n tilskuddsOverview.sumInnbetalingerRest < 0 ? \"darkred\" : undefined;\n const formattedInnbetaltBelop = formatCurrency(\n tilskuddsOverview.sumInnbetalingerInnbetalt > 0\n ? tilskuddsOverview.sumInnbetalingerInnbetalt * -1\n : tilskuddsOverview.sumInnbetalingerInnbetalt,\n );\n\n return (\n \n \n Totalt\n \n {showTilskuddDetails\n ? formatCurrency(tilskuddsOverview.totaltTilskudd)\n : inProgressText}\n \n \n {/* Display outgoing payment numbers */}\n {(hasUtbetalinger || !showTilskuddDetails) && (\n
\n \n Utbetalt\n \n {formatCurrency(tilskuddsOverview.sumUtbetalingerUtbetalt)}\n \n \n {(hasGjenstandeUtbetalingEllerInnbetaling ||\n !showTilskuddDetails) && (\n \n Til utbetaling\n \n {showTilskuddDetails\n ? formatCurrency(tilskuddsOverview.sumUtbetalingerRest)\n : inProgressText}\n \n \n )}\n
\n )}\n {/* Display incoming payment numbers */}\n {hasInnbetalinger && (\n
\n \n Innbetalt\n {formattedInnbetaltBelop}\n \n {hasGjenstandeUtbetalingEllerInnbetaling && (\n \n Skal innbetales\n \n {formatCurrency(tilskuddsOverview.sumInnbetalingerRest)}\n \n \n )}\n
\n )}\n
\n );\n};\n","import React from \"react\";\nimport {\n DetailedList,\n DetailedListRow,\n DetailedListCell,\n} from \"@utdanningsdirektoratet/detailedlist\";\nimport styled from \"styled-components\";\nimport { AltUtbetaltRow } from \"./AltUtbetaltRow\";\nimport { DelvisUtbetaltRow } from \"./DelvisUtbetaltRow\";\nimport { OrdningerForAar, TilskuddsOverview } from \"../../../../ApiClients\";\nimport { Tilskuddoppsummering } from \"./Tilskuddoppsummering\";\n\nconst Wrapper = styled.div`\n margin-bottom: 2.5rem;\n`;\n\ntype TilskuddForAarProps = {\n tilskuddOverview: TilskuddsOverview;\n budsjettAar: number;\n};\n\nconst getAktorName = (tilskudd: OrdningerForAar) =>\n tilskudd.sluttmottakerAktorNavn !== tilskudd.tilskuddsmottakerNavn\n ? ` — ${tilskudd.sluttmottakerAktorNavn}`\n : undefined;\n\nexport const TilskuddForAar: React.FC = ({\n tilskuddOverview,\n budsjettAar,\n}) => {\n if (tilskuddOverview.ordningerForAar.length === 0) {\n return null;\n }\n\n const rows = tilskuddOverview.ordningerForAar.map((tilskudd) => {\n const aktorNavn = getAktorName(tilskudd);\n // TODO\n // if (!tilskudd.tillattUtbetaling) {\n // return (\n // \n // );\n // }\n\n const total = tilskudd.utbetalt - tilskudd.innbetalt;\n const altUbetalt = tilskudd.isGodkjent && total === tilskudd.innvilgetBelop;\n\n return altUbetalt ? (\n \n ) : (\n \n );\n });\n\n const title = (\n \n \n {tilskuddOverview.aar}\n \n Tilskudd og prosjektmidler\n \n );\n\n const showTilskuddsDetails = tilskuddOverview.ordningerForAar.every(\n (tilskudd) => tilskudd.isGodkjent,\n );\n\n return (\n \n {rows}\n \n \n );\n};\n","import React from \"react\";\nimport { Placeholder } from \"@utdanningsdirektoratet/placeholder\";\nimport styled from \"styled-components\";\nimport { colors } from \"@utdanningsdirektoratet/styles\";\nimport { Link as UdirLink } from \"@utdanningsdirektoratet/link\";\nimport { Link, useParams } from \"react-router-dom\";\nimport { newNotification } from \"@utdanningsdirektoratet/notifications\";\nimport { TilskuddForAar } from \"./TilskuddForAar\";\nimport { TilskuddClient, TilskuddsOverview } from \"../../../../ApiClients\";\nimport {\n OrgNrParamType,\n useCurrentOrganization,\n} from \"../../../../utils/globalFunctions\";\nimport routes from \"../../../../routes\";\nimport { PagePanel } from \"../../../../layout/PagePanels\";\nimport { PaddedHeading1 } from \"../../../../components/Headings\";\n\nconst PlaceholderWrapper = styled.div`\n width: 100%;\n max-width: 100rem;\n`;\n\nconst ErrorBox = styled.div`\n width: 100%;\n padding: 3rem 2rem;\n background-color: ${colors.peach5};\n`;\n\nconst Wrapper = styled.div`\n width: min(100rem, 100%);\n margin-top: 2rem;\n`;\n\nconst FillWidthWrapper = styled.div`\n margin: 2rem auto;\n max-width: 80rem;\n width: min(50rem, 100%);\n`;\n\nexport const TilskuddOverview: React.FC<{ disabled?: boolean }> = ({\n disabled = false,\n}) => {\n const [overview, setOverview] = React.useState>();\n const [isLoading, setIsloading] = React.useState(true);\n const [cannotFetchTilskudd, setCannotFetchTilskudd] = React.useState(false);\n const currentOrganization = useCurrentOrganization();\n const { orgnr } = useParams();\n\n React.useEffect(() => {\n const getOverview = async () => {\n if (!currentOrganization?.udirAktorId) return;\n setIsloading(true);\n try {\n const client = new TilskuddClient();\n const result = await client.getOverview(\n currentOrganization.udirAktorId,\n );\n setOverview(result.tilskuddsOverview);\n\n if (result.errorMessage) {\n newNotification(\"error\", \"Noe gikk galt\", result.errorMessage);\n }\n\n setCannotFetchTilskudd(false);\n } catch (e) {\n setCannotFetchTilskudd(true);\n } finally {\n setIsloading(false);\n }\n };\n getOverview();\n }, [currentOrganization?.udirAktorId]);\n\n if (disabled) {\n return (\n \n \n Tilskudd\n
Det er ingen tilskuddsdata registrert på denne aktøren
\n
\n
\n );\n }\n\n if (cannotFetchTilskudd) {\n return (\n \n Tilskudd\n Kunne ikke hente tilskuddsdata\n \n );\n }\n\n if (isLoading) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }\n\n return (\n \n \n Tilskudd\n {overview?.map((tilskuddOverview) => (\n \n ))}\n \n {(props) => }\n \n \n \n );\n};\n","import { DetailedList } from \"@utdanningsdirektoratet/detailedlist\";\nimport { Link as UdirLink } from \"@utdanningsdirektoratet/link\";\nimport colors from \"@utdanningsdirektoratet/styles/colors\";\nimport { Tab, Tabs } from \"@utdanningsdirektoratet/tabs\";\nimport React, { useEffect, useState } from \"react\";\nimport { Link, useNavigate, useParams } from \"react-router-dom\";\nimport useSWR from \"swr\";\nimport {\n GodkjenningModel,\n IftClient,\n IftStatusEnum,\n PublisertInnsamlingStatus,\n SkolesoknadClient,\n StatusEnum,\n TilbudClient,\n TilskuddInnsamlingClient,\n TilsynClient,\n TilsynsStatus,\n} from \"../../ApiClients\";\nimport AvsluttetSakRow from \"../../components/AvsluttetSakRow\";\nimport { PaddedHeading1 } from \"../../components/Headings\";\nimport { PagePanel } from \"../../layout/PagePanels\";\nimport routes from \"../../routes\";\nimport { useContextState } from \"../../StateProvider\";\nimport { TabTypes, useCurrentOrganization } from \"../../utils/globalFunctions\";\nimport { mergeAvsluttedeSaker } from \"../../utils/sakerUtils\";\nimport { HFLSWRStandardOptions } from \"../../utils/swrUtils\";\nimport { AktorFooter } from \"./components/AktorFooter\";\nimport { AktorHeaderBox } from \"./components/AktorHeaderBox\";\nimport { AktiveSaker } from \"./components/Saker/AktiveSaker\";\nimport { Container } from \"./components/Saker/SakStyles\";\nimport { SkolesoknadLinkBox } from \"./components/SkolesoknadLinkBox\";\nimport Tilbud from \"./components/Tilbud/Tilbud\";\nimport { TilskuddOverview } from \"./components/Tilskudd/TilskuddOverview\";\n\nexport const Dashboard: React.FC = () => {\n const navigate = useNavigate();\n const [tilbud, setTilbud] = useState | null>(null);\n const { orgnr, tab } = useParams<{ orgnr: string; tab: TabTypes }>();\n const currentOrganization = useCurrentOrganization();\n const [state] = useContextState();\n\n if (tab === undefined) {\n navigate(routes.dashboard(orgnr!, \"Oversikt\"));\n }\n\n const isReadyToFetchReadContent =\n currentOrganization?.udirAktorId && state.altinn?.hasRead;\n const isReadyToFetchWriteContent =\n currentOrganization?.udirAktorId && state.altinn?.hasReadWrite;\n\n const { data: allSoknads } = useSWR(\n isReadyToFetchWriteContent\n ? `endringSoknad/all/${currentOrganization?.udirAktorId}`\n : null,\n async () => {\n try {\n return await new SkolesoknadClient().getAllSoknads(\n currentOrganization!.udirAktorId!,\n );\n } catch (e) {\n return [];\n }\n },\n HFLSWRStandardOptions,\n );\n\n const isLoadingAllSoknads =\n isReadyToFetchWriteContent && allSoknads === undefined;\n\n const { data: publishedInnsamlinger } = useSWR(\n isReadyToFetchWriteContent\n ? `innsamlinger/active/${currentOrganization?.udirAktorId}`\n : null,\n async () => {\n try {\n return await new TilskuddInnsamlingClient().getInnsamlingerForAktor(\n currentOrganization!.udirAktorId!,\n );\n } catch (_) {\n return [];\n }\n },\n HFLSWRStandardOptions,\n );\n const isLoadingInnsamlinger =\n isReadyToFetchWriteContent && publishedInnsamlinger === undefined;\n\n const { data: publishedTilsyns } = useSWR(\n orgnr ? `tilsyns/${currentOrganization?.udirAktorId}` : null,\n async () => {\n try {\n return await new TilsynClient().getTilsyns(orgnr!);\n } catch (e) {\n return [];\n }\n },\n HFLSWRStandardOptions,\n );\n const isLoadingPublishedTilsyns = orgnr && publishedTilsyns === undefined;\n\n const { data: aarsregnskapstilsyn } = useSWR(\n isReadyToFetchWriteContent\n ? `aarsregnskapstilsyn/all/${currentOrganization?.udirAktorId}`\n : null,\n async () => {\n try {\n return await new SkolesoknadClient().getAarsregnskapstilsyns(\n currentOrganization!.udirAktorId!,\n );\n } catch (e) {\n return [];\n }\n },\n HFLSWRStandardOptions,\n );\n const isLoadingAarsregnskapstilsyn =\n isReadyToFetchWriteContent && aarsregnskapstilsyn === undefined;\n\n const { data: rapporteringerSkjema } = useSWR(\n isReadyToFetchWriteContent ? `{ift/${currentOrganization?.number}}` : null,\n async () => {\n try {\n return await new IftClient().getSkjemaStatus(\n currentOrganization!.number,\n );\n } catch (e) {\n return [];\n }\n },\n HFLSWRStandardOptions,\n );\n\n const isLoadingRapporteringer =\n isReadyToFetchWriteContent && rapporteringerSkjema === undefined;\n\n useEffect(() => {\n if (!state.altinn?.hasRead && state.altinn?.orgNr) {\n navigate(routes.unauthorized(state.altinn?.orgNr));\n return;\n }\n\n if (\n !currentOrganization?.udirAktorId ||\n !currentOrganization.isActive ||\n !(currentOrganization?.isSchool ?? false)\n ) {\n setTilbud(null);\n return;\n }\n const client = new TilbudClient();\n client.getTilbudForAktor(currentOrganization.udirAktorId).then(setTilbud);\n }, [\n state.altinn?.hasRead,\n state.altinn?.orgNr,\n currentOrganization?.isSchool,\n currentOrganization?.name,\n currentOrganization?.number,\n currentOrganization?.udirAktorId,\n navigate,\n ]);\n\n const avsluttedeSoknader = (allSoknads ?? []).filter(\n (s) =>\n s.lastStatus.status === StatusEnum.FerdigBehandlet ||\n s.lastStatus.status === StatusEnum.Withdrawn,\n );\n const avsluttedeInnsamlinger = (publishedInnsamlinger ?? []).filter(\n (i) => i.status === PublisertInnsamlingStatus.Avsluttet,\n );\n const avsluttedeTilsyn = (publishedTilsyns ?? []).filter(\n (t) => t.status === TilsynsStatus.TilsynAvsluttet,\n );\n const avsluttedeRapporteringer = (rapporteringerSkjema ?? [])\n .filter((i) => i.iftStatusEnum === IftStatusEnum.Approved)\n .filter((i) => i.submitted ?? false);\n\n const hasAvsluttede =\n avsluttedeInnsamlinger.length > 0 ||\n avsluttedeSoknader.length > 0 ||\n avsluttedeTilsyn.length > 0 ||\n avsluttedeRapporteringer.length > 0;\n const isGodkjentIkkeStartet =\n currentOrganization?.isGodkjentIkkeStartet ?? false;\n const allAvsluttedeSaker = mergeAvsluttedeSaker(\n avsluttedeSoknader,\n avsluttedeInnsamlinger,\n avsluttedeTilsyn,\n avsluttedeRapporteringer,\n );\n const top3AvsluttedeSaker = allAvsluttedeSaker.slice(0, 3);\n\n return (\n <>\n {isReadyToFetchReadContent && }\n \n \n navigate({\n pathname: routes.dashboard(orgnr!, \"Oversikt\"),\n })\n }\n />\n \n navigate({\n pathname: routes.dashboard(orgnr!, \"Tilskudd\"),\n })\n }\n />\n {currentOrganization?.isActive && (\n \n navigate({\n pathname: routes.dashboard(orgnr!, \"Tilbud\"),\n })\n }\n />\n )}\n \n {tab === \"Oversikt\" && state.altinn?.hasReadWrite && (\n <>\n \n \n {hasAvsluttede && (\n \n Avsluttede saker\n \n {top3AvsluttedeSaker.map((sak, index) => (\n \n ))}\n \n {top3AvsluttedeSaker.length !== allAvsluttedeSaker.length && (\n \n {(props) => (\n \n )}\n \n )}\n \n )}\n \n {state.altinn?.hasReadWrite &&\n currentOrganization?.isSchool &&\n currentOrganization?.isActive && (\n \n )}\n \n )}\n\n {tab === \"Tilskudd\" && isReadyToFetchReadContent && (\n \n )}\n {tab === \"Tilbud\" && currentOrganization?.isActive && (\n <>\n \n {state.altinn?.hasReadWrite && currentOrganization?.isSchool && (\n \n )}\n \n )}\n {isReadyToFetchReadContent && }\n \n );\n};\n","import {\n usePageViewTracking,\n userRoleDimension,\n pageAccessDimension,\n Dimension,\n} from \"@utdanningsdirektoratet/hooks/usePageViewTracking\";\nimport { getCurrentUser } from \"./globalFunctions\";\nimport { useContextState } from \"../StateProvider\";\n\nconst getUserRoleDimension = (): Dimension => {\n const currentUser = getCurrentUser();\n let userRoleText = \"\";\n if (currentUser && currentUser.roller.length === 0) {\n userRoleText = \"Ingen roller\";\n } else if (currentUser) {\n userRoleText = currentUser.roller.join(\", \");\n }\n return userRoleDimension(userRoleText);\n};\n\nexport const usePageViewTrackingWithoutAccessInfo = () => {\n const dimensions = [getUserRoleDimension()];\n\n usePageViewTracking(dimensions);\n};\n\nexport const usePageViewTrackingInfoPage = (analyticsMessage?: string) => {\n let dimensions: Array = [];\n if (analyticsMessage) {\n dimensions = [\n getUserRoleDimension(),\n pageAccessDimension(analyticsMessage),\n ];\n } else {\n dimensions = [pageAccessDimension(undefined)];\n }\n\n usePageViewTracking(dimensions);\n};\n\nexport const usePageViewTrackingWithAccessInfo = () => {\n const [state] = useContextState();\n let accessText = \"Ikke lese- eller skrivetilgang\";\n if (state.altinn?.hasRead) {\n accessText = \"Lesetilgang\";\n }\n if (state.altinn?.hasReadWrite) {\n accessText = \"Lese- og skrivetilgang\";\n }\n\n let dimensions: Array = [];\n if (state.altinn) {\n dimensions = [getUserRoleDimension(), pageAccessDimension(accessText)];\n } else {\n dimensions = [pageAccessDimension(undefined)];\n }\n\n usePageViewTracking(dimensions);\n};\n","import { LinkButton } from \"@utdanningsdirektoratet/button\";\nimport { Icon } from \"@utdanningsdirektoratet/icon\";\nimport { colors } from \"@utdanningsdirektoratet/styles\";\nimport React from \"react\";\nimport styled from \"styled-components\";\nimport { AltinnInfoLink } from \"./Dashboard/components/SharedComponents\";\nimport { usePageViewTrackingWithoutAccessInfo } from \"../utils/analyticsUtils\";\n\nconst CenteredWrapper = styled.div`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n margin: 5rem 5rem;\n > div {\n padding: 1rem;\n background-color: ${colors.eggshell4};\n text-align: center;\n max-width: 800px;\n }\n`;\n\nconst IconDiv = styled.div`\n margin: 1rem 0;\n`;\n\nconst ButtonDiv = styled.div`\n margin: 2rem 1rem;\n`;\n\nconst InfoTitle = styled.p`\n font-size: large;\n font-weight: bold;\n`;\n\nexport const LogonPage: React.FC = () => {\n usePageViewTrackingWithoutAccessInfo();\n return (\n \n
\n \n \n \n Tavla benytter Altinn-roller og tilganger\n

\n For å logge inn på Tavla må du enten ha en rolle eller tilgang i\n Altinn. Daglig leder og de med administratorrolle i Altinn har\n automatisk tilgang. Ansatte må få tildelt Tavla - Lesetilgang{\" \"}\n eller Tavla - Skrive- og lesetilgang for å logge inn.\n

\n

\n Revisorer må også knyttes til organisasjonen gjennom Altinn-roller.\n

\n Les mer om tilgangsstyring i Altinn\n \n \n Logg inn\n \n \n
\n
\n );\n};\n","import { SelectFilter, Table, TextFilter } from \"@utdanningsdirektoratet/table\";\nimport React from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport useSWR from \"swr\";\nimport { AktorModel, HomeClient } from \"../../../ApiClients\";\nimport routes from \"../../../routes\";\nimport { getCurrentUser } from \"../../../utils/globalFunctions\";\n\nconst TavlaTilgang: React.FC<{ orgNr: string }> = ({ orgNr }) => {\n const user = getCurrentUser();\n\n const { data: tilganger } = useSWR(\n !user?.organizations.find((org) => org.number === orgNr)?.isActive\n ? null\n : `tilganger/${orgNr}`,\n async () => {\n const client = new HomeClient();\n return client.getAltinnPermissions(orgNr);\n },\n );\n\n if (tilganger?.hasReadWrite) return <>Skrive- og lesetilgang;\n if (tilganger?.hasRead) return <>Lesetilgang;\n\n return null;\n};\n\nexport const VelgAktorOrganisasjonTable: React.FC<{\n data: Omit[];\n}> = ({ data }) => {\n const navigate = useNavigate();\n\n const aktorStatusOptions = [\n { text: \"Alle\", value: \"\" },\n { text: \"Ja\", value: \"true\" },\n { text: \"Nei\", value: \"false\" },\n ];\n\n return (\n (cell ? \"Ja\" : \"Nei\"),\n sort: true,\n tooltip: false,\n filter: (props) => (\n \n ),\n },\n {\n header: \"Tilgang i Tavla\",\n key: \"orgNr\",\n data: (cell) => ,\n },\n ]}\n data={data}\n options={{\n rowOnClick: (row) =>\n row.isSchool\n ? navigate(routes.dashboard(row.orgNr, \"Oversikt\"))\n : navigate(routes.dashboard(row.orgNr, \"Tilskudd\")),\n }}\n >\n );\n};\n","import { SelectFilter, Table, TextFilter } from \"@utdanningsdirektoratet/table\";\nimport React from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport useSWRImmutable from \"swr/immutable\";\nimport { AktorClient, AktorModel } from \"../../../ApiClients\";\nimport routes from \"../../../routes\";\n\nconst client = new AktorClient();\n\nexport const VelgAktorSaksbehandlerTable: React.FC<{ data: AktorModel[] }> = ({\n data,\n}) => {\n const navigate = useNavigate();\n const { data: options = [] } = useSWRImmutable(\"aktorStatuses\", async () => {\n return client.getAktorStatuses();\n });\n\n const aktorStatusOptions = [\n { text: \"Alle\", value: \"\" },\n ...options.map((status) => ({\n text: status.description,\n value: status.id,\n })),\n ];\n\n return (\n \n options.find((s) => s.id === item)?.description ?? item,\n filter: (props) => (\n \n ),\n },\n ]}\n data={data}\n options={{\n rowOnClick: (row) =>\n row.isSchool\n ? navigate(routes.dashboard(row.orgNr, \"Oversikt\"))\n : navigate(routes.dashboard(row.orgNr, \"Tilskudd\")),\n }}\n >\n );\n};\n","import React from \"react\";\nimport useSWRImmutable from \"swr/immutable\";\nimport { MainPanel } from \"@utdanningsdirektoratet/layout\";\nimport { getCurrentUser } from \"../../utils/globalFunctions\";\nimport { usePageViewTrackingWithoutAccessInfo } from \"../../utils/analyticsUtils\";\nimport { AktorClient } from \"../../ApiClients\";\nimport { PagePanel } from \"../../layout/PagePanels\";\nimport { VelgAktorOrganisasjonTable } from \"./components/VelgAktorOrganisasjonTable\";\nimport { VelgAktorSaksbehandlerTable } from \"./components/VelgAktorSaksbehandlerTable\";\n\nexport const VelgAktør: React.FC = () => {\n const user = getCurrentUser();\n const hasRoller = user && user.roller.length > 0;\n\n usePageViewTrackingWithoutAccessInfo();\n\n const { data: allAktors = [] } = useSWRImmutable(\n hasRoller ? \"aktorer\" : null,\n async () => {\n const client = new AktorClient();\n return client.index();\n },\n );\n\n const allUserOrganizations = user!.organizations.map((o) => ({\n navn: o.name,\n orgNr: o.number,\n isActive: o.isActive,\n isSchool: o.isSchool,\n isGodkjentIkkeStartet: o.isGodkjentIkkeStartet,\n id: o.number,\n }));\n\n return (\n \n \n

Velg aktør

\n {hasRoller ? (\n \n ) : (\n \n )}\n
\n
\n );\n};\n","import styled from \"styled-components\";\nimport { ColumnDefinitionType } from \"./commonTypes\";\n\ntype SimpleTableHeaderProps = {\n columns: Array>;\n};\n\nconst Th = styled.th<{ textAlign?: string; fontWeight: string }>`\n text-align: left;\n font-size: 0.875rem;\n font-weight: normal;\n padding: 0.25rem 1rem;\n text-align: ${(props) => props.align};\n font-weight: ${(props) => props.fontWeight};\n`;\n\nconst SimpleTableHeader = ({\n columns,\n}: SimpleTableHeaderProps): JSX.Element => {\n const headers = columns\n .filter((column) => !column.hidden)\n .map((column, index) => {\n return (\n \n
\n {column.header}\n
\n \n );\n });\n\n return (\n \n {headers}\n \n );\n};\n\nexport default SimpleTableHeader;\n","import { ReactNode } from \"react\";\nimport styled from \"styled-components\";\nimport colors from \"@utdanningsdirektoratet/styles/colors\";\nimport { ColumnDefinitionType } from \"./commonTypes\";\n\ntype SimpleTableRowsProps = {\n data: Array;\n columns: Array>;\n};\n\nconst Td = styled.td<{ textAlign?: string; fontWeight: string }>`\n padding: 0.5rem 1rem;\n text-align: ${(props) => props.align};\n font-weight: ${(props) => props.fontWeight};\n`;\n\nconst Tr = styled.tr`\n background-color: var(--lightgrey);\n`;\n\nconst SumTr = styled.tr`\n border-top: 1px solid black;\n`;\n\nconst TableFooter = styled.tfoot`\n border-top: 0.125rem solid ${colors.bordergrey};\n`;\n\nconst SimpleTableRows = ({\n data,\n columns,\n}: SimpleTableRowsProps): JSX.Element => {\n const rows = data.map((row, index) => {\n return (\n \n {columns\n .filter((column) => !column.hidden)\n .map((column, index2) => {\n const styleWidth = {\n width: column.width ?? 100,\n };\n let item;\n if (column.data) {\n item = column.data(row[column.key], row);\n } else {\n item = row[column.key];\n }\n return (\n \n
\n {item as ReactNode}\n
\n \n );\n })}\n \n );\n });\n\n const hasSum = columns.some((c) => c.sum);\n\n let footer = null;\n\n if (hasSum) {\n footer = (\n \n \n {columns\n .filter((column) => !column.hidden)\n .map((column, index) => {\n const styleWidth = {\n width: column.width ?? 100,\n };\n\n const item = column?.sum ?? \"\";\n return (\n \n
\n {item as ReactNode}\n
\n \n );\n })}\n
\n
\n );\n }\n\n return (\n <>\n {rows}\n {footer}\n \n );\n};\n\nexport default SimpleTableRows;\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { ColumnDefinitionType } from \"./commonTypes\";\nimport SimpleTableHeader from \"./SimpleTableHeader\";\nimport SimpleTableRows from \"./SimpleTableRow\";\n\ntype SimpleTableProps = {\n data: Array;\n columns: Array>;\n className?: string;\n};\n\nconst Table = styled.table`\n width: 100%;\n border: none;\n border-collapse: collapse;\n border-spacing: 0 0.25rem;\n`;\n\nexport const SimpleTable = ({\n data,\n columns,\n className,\n}: SimpleTableProps): React.ReactElement | null => {\n if (data.length === 0) return null;\n return (\n \n \n \n
\n );\n};\n\nexport default SimpleTable;\n","import styled from \"styled-components\";\nimport colors from \"@utdanningsdirektoratet/styles/colors\";\nimport SimpleTable from \"./SimpleTable\";\n\nexport const ZebraSimpleTable = styled(SimpleTable)`\n border-spacing: 0 0;\n padding-top: 0.75rem;\n\n th {\n border-bottom: 0.125rem solid ${colors.bordergrey};\n font-size: 1rem;\n font-weight: bold;\n }\n\n tr:nth-child(odd) {\n background: white;\n }\n\n tr:nth-child(even) {\n background: #eaeaea;\n }\n` as typeof SimpleTable;\n","import React from \"react\";\nimport { ColumnDefinitionType } from \"../../SimpleTable/commonTypes\";\nimport { ZebraSimpleTable } from \"../../SimpleTable/StyledSimpleTable\";\nimport { TilskuddsdataDetails, VisningsType } from \"../../../../../ApiClients\";\nimport {\n convertDecimalToPercentInString,\n formatCurrency,\n parseNorwegianFloat,\n} from \"../../../../../utils/numberUtils\";\n\ntype GrunnlagsTableProps = {\n grunnlag: TilskuddsdataDetails;\n};\n\nexport const GrunnlagsTable: React.FC = ({ grunnlag }) => {\n // Den skjønner ikke at columns har keys som matcher data\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const columns: Array> =\n grunnlag.kolonner.map((kolonne) => ({\n key: kolonne.kolonneNavn,\n header: kolonne.kolonneNavn,\n sum: kolonne.sum ? formatCurrency(kolonne.sum) : undefined,\n alignRight: kolonne.visningsType !== VisningsType.Tekst,\n data: (item: string) => {\n if (\n kolonne.visningsType === VisningsType.Desimaltall ||\n kolonne.visningsType === VisningsType.Heltall\n ) {\n return item === \"\" || item === undefined || item === null\n ? \"-\"\n : formatCurrency(parseNorwegianFloat(item));\n }\n if (kolonne.visningsType === VisningsType.Prosent) {\n return convertDecimalToPercentInString(item);\n }\n return item;\n },\n }));\n\n return (\n \n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { GrunnlagsTable } from \"./GrunnlagsTable\";\nimport { Tilskuddsgrunnlag } from \"../../../../../ApiClients\";\nimport { PaddedHeading2 } from \"../../../../../components/Headings\";\n\nconst Wrapper = styled.div`\n width: 100%;\n`;\n\ntype GrunnlagProps = {\n tilskuddsGrunnlag: Tilskuddsgrunnlag;\n className?: string;\n};\n\nexport const Grunnlag: React.FC = ({\n className,\n tilskuddsGrunnlag,\n}) => {\n if (\n !tilskuddsGrunnlag.tilskuddsdataDetails.tilskuddsdata ||\n tilskuddsGrunnlag.tilskuddsdataDetails.tilskuddsdata.length === 0\n ) {\n return null;\n }\n return (\n \n Grunnlag\n \n \n );\n};\n","import React from \"react\";\nimport { ColumnDefinitionType } from \"../../SimpleTable/commonTypes\";\nimport { ZebraSimpleTable } from \"../../SimpleTable/StyledSimpleTable\";\nimport {\n convertDecimalToPercentInString,\n formatCurrency,\n parseNorwegianFloat,\n} from \"../../../../../utils/numberUtils\";\nimport {\n TilskuddsberegningDetails,\n VisningsType,\n} from \"../../../../../ApiClients\";\n\ntype Props = {\n tilskuddsberegning?: TilskuddsberegningDetails;\n};\n\nexport const BeregningsTable: React.FC = ({ tilskuddsberegning }) => {\n const columns: ColumnDefinitionType[] = tilskuddsberegning\n ? tilskuddsberegning.beregningsKolonner.map((s, index) => ({\n header: s.kolonneNavn,\n key: index,\n alignRight: s.visningsType !== VisningsType.Tekst,\n sum: s.sum ? formatCurrency(s.sum) : undefined,\n data: (f: string) => {\n if (s.visningsType === VisningsType.Desimaltall) {\n return f === \"\" || f === undefined || f === null\n ? \"-\"\n : formatCurrency(parseNorwegianFloat(f));\n }\n if (s.visningsType === VisningsType.Prosent) {\n return f === \"\" ? \"-\" : convertDecimalToPercentInString(f);\n }\n return f;\n },\n }))\n : [];\n\n return (\n \n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { BeregningsTable } from \"./BeregningsTable\";\nimport { Tilskuddsgrunnlag } from \"../../../../../ApiClients\";\nimport { PaddedHeading2 } from \"../../../../../components/Headings\";\nimport { formatCurrency } from \"../../../../../utils/numberUtils\";\n\nconst Wrapper = styled.div`\n width: 100%;\n margin-bottom: 2rem;\n`;\n\nconst SumWrapper = styled.div`\n display: flex;\n column-gap: 1rem;\n`;\n\ntype BeregningProps = {\n tilskuddsGrunnlag: Tilskuddsgrunnlag;\n className?: string;\n};\n\nexport const Beregning: React.FC = ({\n className,\n tilskuddsGrunnlag,\n}) => {\n if (\n !tilskuddsGrunnlag.tilskuddsberegningDetails.data ||\n tilskuddsGrunnlag.tilskuddsberegningDetails.data.length === 0\n ) {\n if (tilskuddsGrunnlag.sum && tilskuddsGrunnlag.sum !== 0) {\n return (\n \n
Sum:
\n
{formatCurrency(tilskuddsGrunnlag.sum)}
\n
\n );\n }\n return null;\n }\n\n return (\n \n Beregning\n \n \n );\n};\n","import React from \"react\";\nimport { Icon } from \"@utdanningsdirektoratet/icon\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"@utdanningsdirektoratet/placeholder\";\nimport { formatDate } from \"@utdanningsdirektoratet/utils/date\";\nimport {\n Tilskuddsbrev as TilskuddsbrevModel,\n TilskuddsbrevClient,\n TilskuddsgrunnlagKilde,\n} from \"../../../../../ApiClients\";\n\ntype TilskuddsbrevProps = {\n kildetabell: TilskuddsgrunnlagKilde;\n kildeId: number;\n};\n\nconst Grid = styled.div`\n display: grid;\n grid-template-columns: auto auto;\n grid-row-gap: 1rem;\n grid-column-gap: 2rem;\n`;\n\nconst Date = styled.div`\n font-size: 1.1rem;\n font-weight: 500;\n color: #00468e;\n margin-bottom: 0.3rem;\n`;\n\nconst Brev = styled.div`\n margin-bottom: 0.3rem;\n`;\n\nconst IconStyled = styled(Icon)`\n margin-right: 0.3rem;\n`;\n\nexport const Tilskuddsbrev: React.FC = ({\n kildetabell,\n kildeId,\n}) => {\n const [tilskuddsbrev, setTilskuddsbrev] =\n React.useState();\n const [error, setError] = React.useState(false);\n\n React.useEffect(() => {\n const get = async () => {\n try {\n const client = new TilskuddsbrevClient();\n const result = await client.getBrevFromTilskudd(kildetabell, kildeId);\n setTilskuddsbrev(result);\n } catch {\n setError(true);\n }\n };\n get();\n }, [kildeId, kildetabell]);\n\n if (error === true) {\n return
Kan for øyeblikket ikke laste brev.
;\n }\n\n if (tilskuddsbrev === undefined) return ;\n\n if (tilskuddsbrev.length === 0)\n return
Ingen brev på dette grunnlaget.
;\n\n return (\n \n {tilskuddsbrev.map((brev) => (\n
\n {formatDate(brev.datoEksportert, \"dd.MM.yyyy\")}\n \n \n \n \n {brev.tittel}\n \n \n \n {brev.vedlegg.map((vedlegg) => (\n \n \n \n \n {vedlegg.tittel}\n \n \n \n ))}\n
\n ))}\n
\n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { KeyValue, Key, Value } from \"@utdanningsdirektoratet/keyvalue\";\nimport { formatCurrency } from \"../../../../../utils/numberUtils\";\nimport { TilskuddsDetaljer } from \"../../../../../ApiClients\";\n\nconst Wrapper = styled.div<{ splitColumnView?: boolean }>`\n max-width: 20rem;\n margin-right: 0;\n margin-left: auto;\n ${(props) =>\n props.splitColumnView &&\n `\n max-width: 40rem;\n display: grid;\n grid-column-gap: 2rem;\n grid-template-columns: 1fr 1fr;\n & > *:first-child {\n grid-column-start: 1;\n grid-column-end: 3;\n }\n `}\n`;\n\ntype BetalingsoppsummeringProps = {\n tilskuddDetaljer: TilskuddsDetaljer;\n terminplanGodkjent: boolean;\n};\n\nexport const Betalingsoppsummering: React.FC = ({\n tilskuddDetaljer,\n terminplanGodkjent,\n}) => {\n const inProgressText = \"Udir beregner total\";\n const hasUtbetalinger =\n !(\n tilskuddDetaljer.sumUtbetalingerUtbetalt === 0 &&\n tilskuddDetaljer.sumUtbetalingerRest === 0\n ) && tilskuddDetaljer.sumUtbetalingerUtbetalt !== tilskuddDetaljer.total;\n const hasInnbetalinger =\n !(\n tilskuddDetaljer.sumInnbetalingerInnbetalt === 0 &&\n tilskuddDetaljer.sumInnbetalingerRest === 0\n ) && tilskuddDetaljer.sumInnbetalingerInnbetalt !== tilskuddDetaljer.total;\n\n const hasGjenstandeUtbetalingEllerInnbetaling =\n tilskuddDetaljer.sumUtbetalingerRest !== 0 ||\n tilskuddDetaljer.sumInnbetalingerRest !== 0;\n\n const totaltColor = tilskuddDetaljer.total < 0 ? \"darkred\" : \"\";\n const sumInnbetalingerRestColor =\n tilskuddDetaljer.sumInnbetalingerRest < 0 ? \"darkred\" : \"\";\n\n const totaltKey = terminplanGodkjent ? \"Totalt\" : \"Foreløpig total\";\n\n const totalValue = terminplanGodkjent\n ? tilskuddDetaljer.total\n : tilskuddDetaljer.sumUtbetalingerUtbetalt -\n tilskuddDetaljer.sumInnbetalingerInnbetalt;\n\n return (\n \n \n {totaltKey}\n \n {terminplanGodkjent ? formatCurrency(totalValue) : inProgressText}\n \n \n {hasUtbetalinger || !terminplanGodkjent ? (\n
\n \n Utbetalt\n \n {formatCurrency(tilskuddDetaljer.sumUtbetalingerUtbetalt)}\n \n \n {hasGjenstandeUtbetalingEllerInnbetaling || !terminplanGodkjent ? (\n \n Til utbetaling\n \n {terminplanGodkjent\n ? formatCurrency(tilskuddDetaljer.sumUtbetalingerRest)\n : inProgressText}\n \n \n ) : null}\n
\n ) : null}\n {hasInnbetalinger ? (\n
\n \n Innbetalt\n \n {formatCurrency(tilskuddDetaljer.sumInnbetalingerInnbetalt)}\n \n \n {hasGjenstandeUtbetalingEllerInnbetaling ? (\n \n Skal innbetales\n \n {formatCurrency(tilskuddDetaljer.sumInnbetalingerRest)}\n \n \n ) : null}\n
\n ) : null}\n
\n );\n};\n","import React from \"react\";\nimport {\n DetailedList,\n DetailedListCell,\n DetailedListRow,\n ExpandableDetailedListContent,\n ExpandableDetailedListRow,\n} from \"@utdanningsdirektoratet/detailedlist\";\nimport { colors } from \"@utdanningsdirektoratet/styles\";\nimport styled from \"styled-components\";\nimport { isAfter } from \"date-fns/isAfter\";\nimport { parseISO } from \"date-fns/parseISO\";\nimport { Betalingsoppsummering } from \"./Betalingsoppsummering\";\nimport { formatCurrency } from \"../../../../../utils/numberUtils\";\nimport { formatLongDate } from \"../../../../../utils/dateUtils\";\nimport { PaddedHeading2 } from \"../../../../../components/Headings\";\nimport { TilskuddsDetaljer } from \"../../../../../ApiClients\";\n\nconst ExpandedDiv = styled.div`\n display: flex;\n justify-content: space-between;\n padding: 0.25rem 1rem;\n background-color: ${colors.white};\n`;\n\ntype ForfallsplanProps = {\n tilskuddsDetaljer: TilskuddsDetaljer;\n tilskuddGodkjent: boolean;\n className?: string;\n};\n\nexport const Forfallsplan: React.FC = ({\n tilskuddsDetaljer,\n tilskuddGodkjent,\n className,\n}) => {\n const rows = tilskuddsDetaljer.forfallsplan\n .sort((f1, f2) => (isAfter(parseISO(f1.dato), parseISO(f2.dato)) ? 1 : -1))\n .map((forfall) => {\n const isBelopNegative = forfall.totalBelop < 0;\n\n const utbetaltInnbetalt = forfall.isUtbetalt ? (\n \n {isBelopNegative ? \"Innbetalt\" : \"Utbetalt\"}\n \n ) : null;\n\n const ikkeUtbetaltForfall = forfall.isGodkjent ? (\n formatCurrency(forfall.totalBelop)\n ) : (\n Udir beregner\n );\n\n return (\n \n \n \n {forfall.isUtbetalt || forfall.isGodkjent || isBelopNegative\n ? null\n : \"ca. \"}\n {formatLongDate(new Date(forfall.dato))}\n \n {utbetaltInnbetalt}\n \n {forfall.isUtbetalt\n ? formatCurrency(forfall.totalBelop)\n : ikkeUtbetaltForfall}\n \n \n \n {forfall.forfallForBetaling.map((betaling, index) => (\n \n
{betaling.tilskuddsgrunnlagNavn}
\n
\n {forfall.isUtbetalt || forfall.isGodkjent\n ? formatCurrency(betaling.belop)\n : \"Udir beregner\"}\n
\n
\n ))}\n
\n \n );\n });\n return (\n
\n Forfallsplan\n {rows}\n \n
\n );\n};\n","import React from \"react\";\nimport { Heading1, colors } from \"@utdanningsdirektoratet/styles\";\nimport { Icon } from \"@utdanningsdirektoratet/icon\";\nimport styled from \"styled-components\";\nimport { Link, useParams } from \"react-router-dom\";\nimport { Collapsible } from \"@utdanningsdirektoratet/collapsible\";\nimport { formatDate } from \"@utdanningsdirektoratet/utils/date\";\nimport { hide, show } from \"@utdanningsdirektoratet/slowaction\";\nimport { InpageMessage } from \"@utdanningsdirektoratet/inpagemessage\";\nimport { Grunnlag } from \"./Grunnlag\";\nimport { Beregning } from \"./Beregning\";\nimport { Tilskuddsbrev } from \"./Tilskuddsbrev\";\nimport { PagePanel } from \"../../../../../layout/PagePanels\";\nimport routes from \"../../../../../routes\";\nimport { Forfallsplan } from \"./Forfallsplan\";\nimport {\n TilskuddClient,\n TilskuddsDetaljer,\n Tilskuddsgrunnlag,\n} from \"../../../../../ApiClients\";\nimport { useCurrentOrganization } from \"../../../../../utils/globalFunctions\";\n\nconst Wrapper = styled.div`\n max-width: 100rem;\n`;\n\nconst Header = styled.div`\n width: 100%;\n`;\n\nconst CollapsibleWrapper = styled.div`\n width: 100%;\n`;\n\nconst getTitle = (grunnlag: Tilskuddsgrunnlag) => {\n if (grunnlag.startFraDato && grunnlag.sluttTilOgMedDato) {\n return `${grunnlag.tittel} (${formatDate(grunnlag.startFraDato, \"dd.MM.yyyy\")} - ${formatDate(grunnlag.sluttTilOgMedDato, \"dd.MM.yyyy\")})`;\n }\n\n return `${grunnlag.tittel}`;\n};\n\nconst getErrorMessage = () => {\n return (\n
\n Vi kunne ikke hente informasjon om denne ordningen\n
\n Vi jobber med å løse problemet. I mellomtiden kan du ta kontakt med oss\n på post@udir.no.\n
\n
\n );\n};\n\nexport const TilskuddsGrunnlag: React.FC = () => {\n const [tilskuddsDetaljer, setTilskuddsDetaljer] =\n React.useState();\n const { budsjettAar, ordningId, isFromNewVertikal } = useParams<{\n budsjettAar: string;\n ordningId: string;\n isFromNewVertikal: string;\n }>();\n const [error, setError] = React.useState(false);\n const currentOrganization = useCurrentOrganization();\n\n React.useEffect(() => {\n const get = async () => {\n if (!currentOrganization?.udirAktorId || !budsjettAar || !ordningId)\n return;\n try {\n show();\n const client = new TilskuddClient();\n const result = await client.getTilskuddsDetaljer(\n currentOrganization.udirAktorId,\n +budsjettAar,\n +ordningId,\n isFromNewVertikal === \"true\",\n );\n setTilskuddsDetaljer(result);\n } catch {\n setError(true);\n } finally {\n hide();\n }\n };\n get();\n }, [\n budsjettAar,\n ordningId,\n currentOrganization?.udirAktorId,\n isFromNewVertikal,\n ]);\n\n if (error)\n return ;\n\n if (!tilskuddsDetaljer) return null;\n\n const allTilskuddGodkjent = tilskuddsDetaljer.tilskuddsgrunnlag.every(\n (t) => t.isGodkjent,\n );\n\n return (\n \n \n
\n \n \n Tilbake\n \n \n {tilskuddsDetaljer.tilskuddsgrunnlag &&\n tilskuddsDetaljer.tilskuddsgrunnlag?.length > 0 &&\n `${tilskuddsDetaljer.tilskuddsgrunnlag[0].kapittel}.${tilskuddsDetaljer.tilskuddsgrunnlag[0].post} - `}\n {tilskuddsDetaljer.ordningNavn} ({budsjettAar})\n \n
\n {tilskuddsDetaljer.tilskuddsgrunnlag === null ||\n (tilskuddsDetaljer.tilskuddsgrunnlag.length === 0 && (\n \n
Finner ikke tilskuddsdata for valgt år
\n
\n Undersøk om ordningen har tilskuddsdata og utbetalinger\n under tidligere år. Dersom du ikke finner det, ta konmtakt\n med oss på post@udir.no\n
\n \n }\n type=\"info\"\n />\n ))}\n {tilskuddsDetaljer.tilskuddsgrunnlag.map((grunnlag, index) => {\n return (\n
\n \n \n \n \n \n \n \n {grunnlag.isGodkjent ? (\n <>\n \n \n \n ) : (\n \n )}\n \n \n
\n );\n })}\n \n
\n
\n );\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { InpageMessage } from \"@utdanningsdirektoratet/inpagemessage\";\nimport { usePageViewTrackingInfoPage } from \"../utils/analyticsUtils\";\n\nconst Centered = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n margin-top: 10vh;\n margin-bottom: 5vh;\n list-style-position: inside;\n`;\n\nconst InpageMessageNarrow = styled(InpageMessage)`\n width: 70vw;\n max-width: 1024px;\n b {\n display: inline-block;\n margin-bottom: 5px;\n }\n`;\n\nexport const InfoPage: React.FC<{\n analyticsMessage?: string;\n children: React.ReactNode;\n}> = ({ analyticsMessage, children }) => {\n usePageViewTrackingInfoPage(analyticsMessage);\n return (\n \n \n \n );\n};\n","import React from \"react\";\nimport { InfoPage } from \"./InfoPage\";\nimport { AltinnInfoLink } from \"./Dashboard/components/SharedComponents\";\n\nexport const UnauthorizedPage: React.FC = () => {\n return (\n \n Det ser ikke ut til at du har tilgang hit. Har du valgt riktig virksomhet?\n For å få tilgang til informasjon om en virksomhet i Tavla, må du være\n tilknyttet virksomheten i Altinn med nødvendige tilganger/rettigheter. Du\n kan finne mer informasjon om dette ved å gå til Udir sin{\" \"}\n informasjonsside om tilgangsstyring i\n Altinn. For å kunne logge inn som skoleeier for en virksomhet i Tavla, må\n du ha én av følgende tilganger på vegne av virksomheten i Altinn:\n
    \n
  • Tavla - Lesetilgang
  • \n
  • Tavla - Skrive- og lesetilgang
  • \n
\n
\n );\n};\n","import useSWR from \"swr\";\nimport { DetailedList } from \"@utdanningsdirektoratet/detailedlist\";\nimport { Link as UdirLink } from \"@utdanningsdirektoratet/link\";\nimport { Heading2 } from \"@utdanningsdirektoratet/styles\";\nimport { Link, useParams } from \"react-router-dom\";\nimport { PagePanel } from \"../layout/PagePanels\";\nimport { AktorHeaderBox } from \"./Dashboard/components/AktorHeaderBox\";\nimport { Container } from \"./Dashboard/components/Saker/SakStyles\";\nimport {\n OrgNrParamType,\n useCurrentOrganization,\n} from \"../utils/globalFunctions\";\nimport routes from \"../routes\";\nimport {\n IftClient,\n IftStatusEnum,\n PublisertInnsamlingStatus,\n SkolesoknadClient,\n SoknadMetadataViewModel,\n StatusEnum,\n TilskuddInnsamlingClient,\n TilsynClient,\n TilsynsStatus,\n} from \"../ApiClients\";\nimport { HFLSWRStandardOptions } from \"../utils/swrUtils\";\nimport AvsluttetSakRow from \"../components/AvsluttetSakRow\";\nimport { mergeAndGroupAvsluttedeSaker } from \"../utils/sakerUtils\";\n\nconst isAvsluttetSoknad = (soknad: SoknadMetadataViewModel) => {\n if (soknad.lastStatus.status === StatusEnum.FerdigBehandlet) return true;\n if (soknad.lastStatus.status === StatusEnum.Withdrawn) return true;\n if (soknad.lastStatus.status === StatusEnum.Imported) {\n if (soknad.allStatus.some((s) => s.status === StatusEnum.Withdrawn)) {\n return true;\n }\n return false;\n }\n return false;\n};\n\nexport const AvsluttedeSaker = () => {\n const { orgnr } = useParams();\n const currentOrganization = useCurrentOrganization();\n\n const { data: activeSoknads } = useSWR(\n !currentOrganization?.udirAktorId\n ? null\n : `endringSoknad/all/${currentOrganization?.udirAktorId}`,\n () =>\n new SkolesoknadClient().getAllSoknads(currentOrganization!.udirAktorId!),\n HFLSWRStandardOptions,\n );\n\n const { data: publishedInnsamlinger } = useSWR(\n !currentOrganization?.udirAktorId\n ? null\n : `innsamlinger/active/${currentOrganization?.udirAktorId}`,\n () =>\n new TilskuddInnsamlingClient().getInnsamlingerForAktor(\n currentOrganization!.udirAktorId!,\n ),\n HFLSWRStandardOptions,\n );\n\n const { data: publishedTilsyns } = useSWR(\n orgnr ? `tilsyns/${currentOrganization?.udirAktorId}` : null,\n () => new TilsynClient().getTilsyns(orgnr!),\n HFLSWRStandardOptions,\n );\n\n const { data: publishedRapporterings } = useSWR(\n orgnr ? `ift/${currentOrganization?.udirAktorId}` : null,\n () => new IftClient().getSkjemaStatus(orgnr!),\n HFLSWRStandardOptions,\n );\n\n const today = new Date();\n today.setHours(0, 0, 0, 0);\n\n const avsluttedeSoknader = (activeSoknads ?? []).filter((s) =>\n isAvsluttetSoknad(s),\n );\n const avsluttedeInnsamlinger = (publishedInnsamlinger ?? []).filter(\n (i) => i.status === PublisertInnsamlingStatus.Avsluttet,\n );\n const avsluttedeTilsyn = (publishedTilsyns ?? []).filter(\n (t) => t.status === TilsynsStatus.TilsynAvsluttet,\n );\n const avsluttedeRapporterings = (publishedRapporterings ?? []).filter(\n (i) => i.iftStatusEnum === IftStatusEnum.Approved,\n );\n\n const avsluttedeGroupedByYear = mergeAndGroupAvsluttedeSaker(\n avsluttedeSoknader,\n avsluttedeInnsamlinger,\n avsluttedeTilsyn,\n avsluttedeRapporterings,\n );\n\n return (\n <>\n \n \n {(props) => (\n \n )}\n \n \n \n \n Avsluttede saker\n {Object.keys(avsluttedeGroupedByYear).map((year) => (\n \n {avsluttedeGroupedByYear[year].map((row, index) => (\n \n ))}\n \n ))}\n \n \n \n );\n};\n","import React, { useEffect } from \"react\";\nimport styled from \"styled-components\";\nimport { colors, Heading2 } from \"@utdanningsdirektoratet/styles\";\nimport { Link as UdirLink } from \"@utdanningsdirektoratet/link\";\nimport { Link, useParams } from \"react-router-dom\";\nimport useSWR from \"swr\";\nimport { Placeholder } from \"@utdanningsdirektoratet/placeholder\";\nimport { newNotification } from \"@utdanningsdirektoratet/notifications\";\nimport { AktorHeaderBox } from \"../AktorHeaderBox\";\nimport { PagePanel } from \"../../../../layout/PagePanels\";\nimport routes from \"../../../../routes\";\nimport {\n OrgNrParamType,\n useCurrentOrganization,\n} from \"../../../../utils/globalFunctions\";\nimport { TilskuddClient } from \"../../../../ApiClients\";\nimport { TilskuddForAar } from \"./TilskuddForAar\";\n\nconst Container = styled.div`\n margin-bottom: 2rem;\n width: min(50rem, 100%);\n`;\n\nconst PlaceholderWrapper = styled.div`\n width: 100%;\n max-width: 100rem;\n`;\n\nconst ErrorBox = styled.div`\n width: 100%;\n padding: 3rem 2rem;\n background-color: ${colors.peach5};\n`;\n\nexport const AllTilskuddOverview: React.FC = () => {\n const currentOrganization = useCurrentOrganization();\n const {\n data: tilskudds,\n isLoading,\n error,\n } = useSWR(\n !currentOrganization?.udirAktorId\n ? null\n : `tilskudd/all/${currentOrganization?.udirAktorId}`,\n () =>\n new TilskuddClient().getAllOverview(currentOrganization!.udirAktorId!),\n {\n errorRetryCount: 1,\n revalidateOnFocus: false,\n revalidateOnReconnect: false,\n },\n );\n const { orgnr } = useParams();\n\n useEffect(() => {\n if (tilskudds?.errorMessage) {\n newNotification(\"error\", \"Noe gikk galt\", tilskudds?.errorMessage);\n }\n }, [tilskudds]);\n\n if (error) {\n return Kunne ikke hente tilskuddsdata;\n }\n\n return (\n <>\n \n \n {(props) => (\n \n )}\n \n \n \n \n \n Tilskudd og prosjektmidler\n \n {isLoading && (\n \n \n \n \n \n \n \n \n )}\n {tilskudds?.tilskuddsOverview\n ?.sort((t1, t2) => (t1.aar < t2.aar ? 1 : -1))\n .map((tilskuddOverview) => (\n \n ))}\n \n \n \n );\n};\n","import { Heading1, Heading3 } from \"@utdanningsdirektoratet/styles/Headings\";\nimport { NavLink } from \"react-router-dom\";\nimport styled from \"styled-components\";\n\nconst Page = styled.div`\n max-width: 72rem;\n margin-left: auto;\n margin-right: auto;\n padding: 0 1.5rem;\n`;\n\nconst PaddedHeading1 = styled(Heading1)`\n padding: 1.5rem 0 2.5rem;\n`;\n\nconst PaddedHeading3 = styled(Heading3)`\n display: block;\n padding-bottom: 1.25rem;\n`;\n\nconst NavLinkWrapper = styled.div`\n padding: 1rem 0;\n`;\n\nexport const Personvern: React.FC = () => {\n return (\n \n \n Til forsiden\n \n Personvernerklæring for Tavla\n

\n I Tavla kan representanter for private skoler, folkehøgskoler, kommuner,\n fylkeskommuner og andre aktører som mottar tilskudd eller prosjektmidler\n fra Utdanningsdirektoratet få oversikt over sine tilskudd og\n prosjektmidler. Private skoler kan i tillegg se tilsyn, godkjenninger,\n rapportere elevtall og søke om driftsendringer. Virksomheten kan ha\n flere brukere i Tavla, og vurderer selv hvem som trenger tilgang og på\n hvilket nivå. For å logge inn på Tavla må du enten ha en Altinn-rolle i\n virksomheten, eller ha blitt tildelt en tilgang i Altinn. Revisor må ha\n tilgang for å godkjenne og gi særattestasjon i forbindelse med\n elevtellinger. Revisorfirmaet som er registrert på skolen i\n Enhetsregisteret kan delegere rollene til sine ansatte.\n

\n Hvorfor vi behandler personopplysninger\n

\n Utdanningsdirektoratets behandlingsgrunnlag er allmenhetens interesse og\n utøvelse av offentlig myndighet, jf. personvernforordningen art. 6 nr. 1\n bokstav e og art. 9 nr. 2 bokstav g. Supplerende rettsgrunnlag\n privatskoleloven §§ 6-1 og 7-2, forskrift til privatskoleloven §§ 13-1\n og 13-2, økonomiforskrift til privatskoleloven §§ 4-6 og 4-7 og\n forskrift til folkehøyskoleloven § 7, samt tildelingsbrev.\n

\n Personopplysninger som behandles\n

\n Utdanningsdirektoratet er ansvarlig for behandling av følgende\n personopplysninger i systemet:\n

\n

\n Ved innlogging: navn, fødselsnummer, IP-adresse og virksomheter\n du er tilknyttet med Altinn-rolle.\n

\n

\n Ved innsamling: navn (ved endring, innsending, ledergodkjenning\n og revisorgodkjenning), vedlegg og kommentarer.\n

\n Hvem har tilgang til personopplysninger\n

\n Utdanningsdirektoratet drifter og utvikler systemet med bistand fra\n leverandør, Bekk Consulting AS, på den tekniske forvaltningen og\n utviklingen av systemene. Som drifter av systemet vil\n Utdanningsdirektoratet og leverandør kunne ha tilgang til\n personopplysninger i systemet. Leverandør er bundet av\n taushetserklæringer og databehandleravtaler. Systemet driftes internt i\n Utdanningsdirektoratet og kjører i Microsoft Azure i Vest-Europa. Twilio\n Sendgrid brukes til utsending av bekreftelseseposter, og din\n e-postadresse kan overføres til USA. Twilio er godkjent under den nye\n Data Privacy Framework.\n

\n Lagring og sletting av personopplysninger\n

\n Personopplysninger lagres så lenge det er nødvendige for å oppfylle\n formålet med verktøyet, samt etterleve arkivloven og andre lovpålagte\n bestemmelser. Logger knyttet til pålogging i verktøyet slettes etter 180\n dager, men ikke historiske data om roller brukeren har hatt eller\n data/handlinger som er utført i verktøyet.\n

\n

\n Innsamlinger skal bevares for ettertiden. Derfor arkiverer vi\n innsamlingen inkludert navn på innsender og/eller godkjenner(e), vedlegg\n og kommentarer jf. arkivloven § 1.\n

\n Informasjonskapsler\n

\n Tavla bruker informasjonskapsler (cookies). Nødvendige\n informasjonskapsler brukes for at du skal kunne logge inn i tjenesten og\n navigere rundt i tjenesten basert på tilgangene du har. Statistiske\n informasjonskapsler brukes for å vite hvor på siden feil oppstår og å\n samle inn anonymiserte data for analyse av bruksmønsteret på nettsiden.\n De anonymiserte dataene inkluderer informasjon om operativsystem,\n nettleser, datamaskin/smarttelefon, hvilke lenker du klikker på og din\n geografiske plassering ned til nærmeste by. Kun Utdanningsdirektoratet,\n leverandør og vårt analyseverktøy har tilgang til informasjonen.\n Informasjonen kan ikke brukes til å spore deg. Dersom du ikke ønsker at\n vi skal samle inn denne informasjonen, kan du skru av statistiske\n informasjonskapsler ved å klikke på «informasjonskapsler» lengst ned på\n siden og endre innstillingene.\n

\n Hvis du har spørsmål\n

\n Har du spørsmål knyttet til behandling av dine personopplysninger i\n Tavla, kan du ta kontakt med{\" \"}\n \n personvernombudet@udir.no\n \n . Du har rett til å klage til Datatilsynet. Informasjon finner du på{\" \"}\n \n https://www.datatilsynet.no/om-datatilsynet/kontakt-oss/klage-til-datatilsynet/\n \n

\n
\n );\n};\n","import * as React from \"react\";\nimport {\n BrowserRouter as Router,\n Routes,\n Route,\n Navigate,\n} from \"react-router-dom\";\nimport * as Sentry from \"@sentry/react\";\nimport { Page } from \"@utdanningsdirektoratet/layout\";\nimport { Notifications } from \"@utdanningsdirektoratet/notifications\";\nimport { SlowAction } from \"@utdanningsdirektoratet/slowaction\";\nimport { Placeholder } from \"@utdanningsdirektoratet/placeholder\";\nimport { useContextState } from \"./StateProvider\";\nimport AppContainer from \"./layout/AppContainer\";\nimport routes from \"./routes\";\nimport ErrorPage from \"./pages/ErrorPage\";\nimport { Dashboard } from \"./pages/Dashboard/Dashboard\";\nimport { LogonPage } from \"./pages/LogonPage\";\nimport { VelgAktør } from \"./pages/VelgAktor/VelgAktør\";\nimport {\n useCurrentOrganization,\n getCurrentUser,\n} from \"./utils/globalFunctions\";\nimport { TilskuddsGrunnlag } from \"./pages/Dashboard/components/Tilskudd/Tilskuddsgrunnlag/TilskuddsGrunnlag\";\nimport { AltinnInfoLink } from \"./pages/Dashboard/components/SharedComponents\";\nimport { InfoPage } from \"./pages/InfoPage\";\nimport { UnauthorizedPage } from \"./pages/UnauthorizedPage\";\nimport { AvsluttedeSaker } from \"./pages/AvsluttedeSaker\";\nimport { HomeClient } from \"./ApiClients\";\nimport { AllTilskuddOverview } from \"./pages/Dashboard/components/Tilskudd/AllTilskuddOverview\";\nimport { LocalStorageKeys } from \"./utils/localstorageKeys\";\nimport { usePageViewTrackingWithAccessInfo } from \"./utils/analyticsUtils\";\nimport { Personvern } from \"./pages/Personvern\";\n\nconst SentryRoutes = Sentry.withSentryReactRouterV6Routing(Routes);\n\n/** Dersom brukerinfo mangler, sender bruker til påloggingsside */\nfunction RequireAuthentication({ children }: { children: JSX.Element }) {\n const user = getCurrentUser();\n if (user == null) return ;\n return children;\n}\n\n/** Sender saksbehandler/system administrator til aktørvelger dersom ingen aktør er valgt. Gir info ved manglende aktør. */\nfunction RequireAktor({ children }: { children: JSX.Element }) {\n const user = getCurrentUser();\n const hasRoles = user && user.roller.length > 0;\n const currentOrganization = useCurrentOrganization();\n const [context, dispatch] = useContextState();\n React.useEffect(() => {\n dispatch({ type: \"SET_ALTINN\", payload: null });\n if (currentOrganization?.number == null) {\n return;\n }\n\n localStorage.setItem(\n LocalStorageKeys.CurrentOrganization,\n currentOrganization.number,\n );\n\n const client = new HomeClient();\n const fn = async () => {\n const result = await client.getAltinnPermissions(\n currentOrganization.number,\n );\n dispatch({\n type: \"SET_ALTINN\",\n payload: { ...result, orgNr: currentOrganization.number },\n });\n };\n fn();\n }, [currentOrganization?.number, dispatch]);\n\n usePageViewTrackingWithAccessInfo();\n\n if (currentOrganization == null && hasRoles)\n return ;\n\n if (!hasRoles && user?.organizations.length === 0)\n return (\n \n Vi kunne ikke finne noen virksomheter tilknyttet deg i Altinn. For å få\n tilgang til informasjon om en virksomhet i Tavla, må du være tilknyttet\n virksomheten i Altinn. Du kan finne mer informasjon om dette ved å gå\n til Udir sin informasjonsside om\n tilgangsstyring i Altinn.\n \n );\n\n if (currentOrganization?.udirAktorId === null)\n return (\n \n Vi kunne ikke finne noe informasjon om denne virksomheten. Har du valgt\n riktig virksomhet? For å få tilgang til informasjon om en virksomhet i\n Tavla, må du være tilknyttet virksomheten i Altinn. Du kan finne mer\n informasjon om dette ved å gå til Udir sin{\" \"}\n informasjonsside om tilgangsstyring i\n Altinn.\n \n );\n\n // Rettigheter hentes så ikke vis resten ennå\n if (\n context.altinn == null ||\n currentOrganization?.number !== context.altinn?.orgNr\n )\n return ;\n\n return children;\n}\n\nfunction RedirectToDashboardWithOrgNr() {\n const user = getCurrentUser();\n const hasRoles = user && user.roller.length > 0;\n\n if ((!hasRoles && user?.organizations.length === 0) || user == null)\n return (\n \n Vi kunne ikke finne noen virksomheter tilknyttet deg i Altinn. For å få\n tilgang til informasjon om en virksomhet i Tavla, må du være tilknyttet\n virksomheten i Altinn. Du kan finne mer informasjon om dette ved å gå\n til Udir sin informasjonsside om\n tilgangsstyring i Altinn.\n \n );\n\n if (hasRoles) {\n return ;\n }\n\n const currentOrganizationNumber = localStorage.getItem(\n LocalStorageKeys.CurrentOrganization,\n );\n\n const organization =\n user.organizations.find((o) => o.number === currentOrganizationNumber) ??\n user.organizations.find((o) => o.udirAktorId != null) ??\n user.organizations[0];\n\n return ;\n}\n\nconst App: React.FC = () => {\n const [state] = useContextState();\n\n if (state.error) {\n return ;\n }\n\n return (\n \n \n \n \n }>\n } />\n \n \n \n }\n />\n \n \n \n \n \n }\n />\n \n \n \n \n \n }\n />\n \n \n \n }\n />\n \n \n \n \n \n }\n />\n \n \n \n \n \n }\n />\n \n \n \n \n \n }\n />\n } />\n \n \n \n }\n />\n \n \n \n \n \n );\n};\n\nexport default App;\n","import \"./index.less\";\nimport { createRoot } from \"react-dom/client\";\nimport {\n useLocation,\n useNavigationType,\n createRoutesFromChildren,\n matchRoutes,\n} from \"react-router-dom\";\nimport * as Sentry from \"@sentry/react\";\nimport { useEffect } from \"react\";\nimport App from \"./App\";\nimport StateProvider from \"./StateProvider\";\nimport reducer, { initialState } from \"./reducers\";\nimport { getConfig } from \"./utils/globalFunctions\";\n\nSentry.init({\n dsn: getConfig().sentryId ?? undefined,\n integrations: [\n Sentry.reactRouterV6BrowserTracingIntegration({\n useEffect,\n useLocation,\n useNavigationType,\n createRoutesFromChildren,\n matchRoutes,\n }),\n ],\n tracesSampleRate: 0,\n release: `skoleportal@${process.env.COMMIT_HASH}`,\n});\n\nconst container = document.getElementById(\"app\");\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\nconst root = createRoot(container!);\nroot.render(\n \n \n \n \n ,\n);\n","require('./app/index.tsx');\n"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","getCurrentUser","window","initialState","currentUser","getConfig","config","useCurrentOrganization","orgnr","useParams","organizations","find","number","_regeneratorRuntime","t","r","prototype","n","hasOwnProperty","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","__await","then","callInvokeWithMethodAndArg","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","asyncGeneratorStep","ownKeys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","apply","_objectSpread","arguments","_defineProperty","getOwnPropertyDescriptors","defineProperties","_defineProperties","_toPropertyKey","key","_createClass","_classCallCheck","toPrimitive","String","_toPrimitive","ApiBase","options","tokenInfo","antiForgeryTokenInfo","headers","tokenHeaderName","requestToken","_ref","_callee","_url","response","onComplete","_response$headers$get","_response$headers$get2","clone","error","_context","ok","get","toLowerCase","indexOf","json","newNotification","title","detail","_next","_throw","_x","_x2","_x3","AktorClient","_ApiBase2","baseUrl","http","_this","_callSuper","undefined","_inherits","_this2","url_","this","replace","transformOptions","transformedOptions_","fetch","_response","transformResult","processIndex","_this3","status","_headers","k","text","_responseText","JSON","parse","jsonParseReviver","throwException","_this4","encodeURIComponent","processGet","_this5","_this6","processGetAktorStatuses","_this7","HomeClient","_ApiBase3","_this8","_this9","processGetAltinnPermissions","_this10","_this11","processGetPreloadedViewModelTypes","_this12","IftClient","_ApiBase4","_this13","orgnummer","_this14","processGetSkjemaStatus","_this15","TilskuddInnsamlingClient","_ApiBase5","_this16","aktorId","_this17","processGetInnsamlingerForAktor","_this18","SkolesoknadClient","_ApiBase6","_this19","_this20","processGetAarsregnskapstilsyns","_this21","_this22","processGetAllSoknads","_this23","TilbudClient","_ApiBase7","_this24","_this25","processGetTilbudForAktor","_this26","_this27","processGetFagkoder","_this28","_this29","processGetProgramomrader","_this30","TilskuddsbrevClient","_ApiBase8","_this31","tilskuddsgrunnlagKilde","grunnlagId","_this32","processGetBrevFromTilskudd","_this33","TilskuddClient","_ApiBase9","_this34","_this35","processGetOverview","_this36","budsjettAar","ordningId","isFromNewVertikal","_this37","processGetTilskuddsDetaljer","_this38","_this39","processGetAllOverview","_this40","TilsynClient","_ApiBase10","_this41","orgNr","_this42","processGetTilsyns","_this43","AktorStatus","IftStatusEnum","StatusEnum","SatsType","VisningsType","PublisertInnsamlingStatus","TilsynsStatus","ApiException","_Error","message","result","_this44","obj","isApiException","_wrapNativeSuper","altinn","StateContext","React","useContextState","reducer","initState","children","_jsx","Provider","tab","concat","AktorSelector","navigate","useNavigate","currentOrganization","user","roller","items","DropdownItem","closeOnClick","className","href","routes","Dropdown","lists","LinkButton","selected","onClick","UserSignoutDropdown","_getCurrentUser","signoutLink","fullName","StyledMainPanel","styled","MainPanel","withConfig","componentId","ItemSeperator","div","_React$useState2","cookieState","setCookieState","target","rel","role","onKeyDown","tabIndex","_jsxs","_Fragment","MenuPanel","external","fullwidth","color","Outlet","Footer","udirLogo","linkButton","CookieBanner","show","necessaryCookie","NecessaryCookie","UidpCookieVendor","SentryCookieVendor","cookies","StatisticsCookie","ApplicationInsightsCookieVendor","MatomoCookieVendor","onAccept","props","location","reload","row","DetailedListRow","_ref2","url","DetailedListCell","bold","left","size","Label","success","PaddedHeading2","Heading2","PaddedHeading1","Heading1","PagePanel","mediaqueries","_props$backgroundColo","backgroundColor","colors","white","formatLongDate","date","format","locale","nb","sortDate","b","mergeAvsluttedeSaker","avsluttedeSoknader","avsluttedeInnsamlinger","avsluttedeTilsyn","avsluttedeRapporteringer","Date","lastModified","formTitle","soknad","lastStatus","FerdigBehandlet","Withdrawn","Imported","allStatus","some","skolesoknadUrl","frist","tittel","Avsluttet","InnsendtUtenGodkjenning","Ledergodkjent","Publisert","Revisorgodkjent","innsamlingUrl","externalId","endDateUtc","tilsynUrl","submitted","iftUrl","year","orgNummer","sort","getRapporteringsColor","NotStarted","InProgress","Submitted","Processing","Processed","HFLSWRStandardOptions","errorRetryCount","revalidateOnFocus","revalidateOnReconnect","orgNrMask","kontoNrMask","mobilTlfMask","fastTlfMask","mask","regex","Wrapper","Row","RowItem","Title","TitleSubtitle","subtitle","AktorFooter","kontoNummer","tlfNr","aktor","useSWRImmutable","udirAktorId","data","epost","telefonnummer","isMobilTlf","isFastTlf","postadresse","bankkontonummer","HeadingAndLabel","AktorHeaderBox","navn","isActive","Icon","icon","placement","Ukjent","LocalStorageKeys","StyledBox","Box","AccessInformationBox","_useLocalStorageState2","useLocalStorageState","defaultValue","isHidden","setIsHidden","background","IconButton","Container","bottom","top","CardWrapper","DatoTextParagraph","Button","getRapporteringsDatoText","besvarelse","iftStatusEnum","deadline","formatDate","firstAccessedAt","SakWrapper","isInnsendtSoknad","Sent","getSakCards","saks","sak","Card","leftLabel","label","datoText","createSoknads","soknader","isInnsendt","_s$formTitle","_s$lastModified","sentDate","Draft","created","createdDate","dato","createInnsamlinger","innsamlinger","parseDate","createTilsyn","tilsyn","publisertDateUtc","publiseringType","AktiveSaker","aarsregnskapstilsyn","rapporteringer","_React$useMemo","_soknader","_innsamlinger","_tilsyn","_rapporteringer","today","setHours","pagaendeSoknader","innsendteSoknader","pagaendeInnsamlinger","isAfter","innsendteInnsamlinger","_pagaendeTilsyn","DokumentasjonskravPublisert","ForelopigTilsynsrapportPublisert","TilsynsrapportPublisert","_innsendteTilsyn","TilsynAvsluttet","_pagaendeRapporteringer","_i$openingDate","_i$openingDate2","Approved","openingDate","isEqual","getAktiveSaker","soknadSaker","innsamlingSaker","tilsynSaker","rapporteringsSaker","aarsregnskapstilsynSaker","_s$soknadId","_s$formTitle2","isPaabegynt","soknadId","aarsregnskapstilsynFrist","createAarsregnskapstilsyn","getAarsregnskapstilsyn","hasSoknader","hasInnsamlinger","hasTilsyn","hasAarsregnskapstilsyn","hasRapporteringer","isLoadingAnyData","Placeholder","height","StyledLinkBoxContainer","LinkBoxContainer","SkolesoknadLinkBox","_ref$backgroundColor","lightgrey","isGodkjentIkkeStartet","LinkBox","StyledSection","section","Comment","lokale","kapasitet","Section","postnummer","poststed","fomDatoUtc","tomDatoUtc","kommentar","Total","total","Table","table","Body","tbody","Tr","tr","Td","td","width","Th","th","ProgramomradeTable","programomradeKoder","allProgramomrader","programomrade","completeProgramomrade","kode","aarstrinn","TotalsRowTitle","Subtitle","TotalsRow","AltinnInfoLink","_vgs$elevplassgrupper","vgs","programomrader","setprogramomrader","getProgramomrader","elevplassgrupper","_kapasitet$programomr2","_kapasitet$programomr3","_kapasitet$programomr","customTitle","titles","_programomrade$utdann","utdanningsprograms","_u$title","_u$title2","includes","join","getTitle","Elevplassgruppe","_p$code","ordinar","spesial","FagkodeContainer","FagkodeWrapper","Details","Merknader","Inline","_laereplan$fagkoder2","laereplan","fagkoder","setFagkoder","getFagkoder","_laereplan$fagkoder$m","_laereplan$fagkoder3","lareplanType","laereplantype","kategori","fagkoderInUse","_laereplan$fagkoder","tilleggsopplysninger","Heading3","omfang","Spacer","Trinn","TrinnRad","ElevtallGrunnskole","_elevtall$elevplassgr","_elevtall$elevplassgr2","elevtall","reduce","partialSum","trinn","trinns","Math","min","_toConsumableArray","max","SatsgruppeTable","right","Satsgruppe","satsgruppe","kurs","satsandel","sats","KunstMediaMusikk","Bibel","UtoverVg","toString","level","Elevplasser","satsgrupper","sum","NavigationWrapper","article","DiverseSkoleTilbud","tilbud","diverseskole","PrivatSkoleTilbud","friskole","ElevtallVgs","grunnskole","Laereplan","Lokale","isSelectedTilbud","selectedTilbud","currentTilbud","validFromYear","validFromSemester","isGjeldendeTilbud","_ref3","tilbuds","setSelectedTilbud","selectedOrDefaultTilbud","active","formatCurrency","belop","fractionDigits","Intl","NumberFormat","minimumFractionDigits","maximumFractionDigits","parseNorwegianFloat","parseFloat","convertDecimalToPercentInString","decimalString","decimalNumber","Number","toLocaleString","getTotaltTilskuddDisplayValue","tilskudd","innvilgetBelop","utbetalt","AltUtbetaltRow","aktorName","isUtbetaling","tekst","Link","to","ordningNavn","DelvisUtbetaltRow","utbetaltInnbetaltLabel","isGodkjentOrHasGjennomforteBetalinger","isGodkjent","innbetalt","avCell","totaltTilskuddCellSize","splitColumnView","Tilskuddoppsummering","tilskuddsOverview","showTilskuddDetails","hasUtbetalinger","sumUtbetalingerUtbetalt","sumUtbetalingerRest","totaltTilskudd","hasInnbetalinger","sumInnbetalingerInnbetalt","sumInnbetalingerRest","hasGjenstandeUtbetalingEllerInnbetaling","inProgressText","totaltColor","sumInnbetalingerRestColor","formattedInnbetaltBelop","KeyValue","Key","Value","TilskuddForAar","tilskuddOverview","ordningerForAar","rows","aktorNavn","sluttmottakerAktorNavn","tilskuddsmottakerNavn","getAktorName","inline","aar","showTilskuddsDetails","every","DetailedList","_slicedToArray","Array","isArray","_arrayWithHoles","_iterableToArrayLimit","_arrayLikeToArray","from","test","_unsupportedIterableToArray","_nonIterableRest","PlaceholderWrapper","ErrorBox","peach5","FillWidthWrapper","TilskuddOverview","_ref$disabled","disabled","overview","setOverview","_React$useState4","isLoading","setIsloading","_React$useState6","cannotFetchTilskudd","setCannotFetchTilskudd","getOverview","client","errorMessage","t0","UdirLink","iconRight","_asyncToGenerator","Dashboard","_state$altinn","_state$altinn2","_state$altinn6","_state$altinn7","_currentOrganization$2","_state$altinn8","_state$altinn9","_state$altinn10","_useState2","useState","setTilbud","_useParams","state","isReadyToFetchReadContent","hasRead","isReadyToFetchWriteContent","hasReadWrite","allSoknads","useSWR","getAllSoknads","isLoadingAllSoknads","publishedInnsamlinger","_callee2","_context2","getInnsamlingerForAktor","isLoadingInnsamlinger","publishedTilsyns","_callee3","_context3","getTilsyns","isLoadingPublishedTilsyns","_callee4","_context4","getAarsregnskapstilsyns","isLoadingAarsregnskapstilsyn","rapporteringerSkjema","_callee5","_context5","getSkjemaStatus","isLoadingRapporteringer","useEffect","_state$altinn3","_state$altinn4","_currentOrganization$","_state$altinn5","isSchool","getTilbudForAktor","_i$submitted","hasAvsluttede","allAvsluttedeSaker","top3AvsluttedeSaker","Tabs","outline","Tab","pathname","index","AvsluttetSakRow","Tilbud","getUserRoleDimension","userRoleText","userRoleDimension","usePageViewTrackingWithoutAccessInfo","dimensions","usePageViewTracking","CenteredWrapper","eggshell4","IconDiv","ButtonDiv","InfoTitle","LogonPage","primary","TavlaTilgang","_user$organizations$f","_useSWR","org","getAltinnPermissions","tilganger","VelgAktorOrganisasjonTable","aktorStatusOptions","columns","header","tooltip","TextFilter","cell","SelectFilter","rowOnClick","VelgAktorSaksbehandlerTable","_useSWRImmutable$data","getAktorStatuses","description","item","_options$find$descrip","_options$find","VelgAktør","hasRoller","_useSWRImmutable","allAktors","allUserOrganizations","align","fontWeight","column","hidden","textAlign","alignRight","SumTr","TableFooter","tfoot","bordergrey","index2","_column$width","styleWidth","style","footer","_column$width2","_column$sum","ZebraSimpleTable","SimpleTableHeader","SimpleTableRows","GrunnlagsTable","grunnlag","kolonner","kolonne","kolonneNavn","visningsType","Tekst","Desimaltall","Heltall","Prosent","tilskuddsdata","Grunnlag","tilskuddsGrunnlag","tilskuddsdataDetails","BeregningsTable","_tilskuddsberegning$d","tilskuddsberegning","beregningsKolonner","SumWrapper","Beregning","tilskuddsberegningDetails","Grid","Brev","IconStyled","Tilskuddsbrev","kildetabell","kildeId","tilskuddsbrev","setTilskuddsbrev","setError","getBrevFromTilskudd","brev","datoEksportert","vedlegg","Betalingsoppsummering","tilskuddDetaljer","terminplanGodkjent","totaltKey","totalValue","ExpandedDiv","Forfallsplan","tilskuddsDetaljer","tilskuddGodkjent","forfallsplan","f1","f2","parseISO","forfall","isBelopNegative","totalBelop","utbetaltInnbetalt","isUtbetalt","ikkeUtbetaltForfall","ExpandableDetailedListRow","ExpandableDetailedListContent","forfallForBetaling","betaling","tilskuddsgrunnlagNavn","tilskuddsgrunnlagId","Header","CollapsibleWrapper","startFraDato","sluttTilOgMedDato","TilskuddsGrunnlag","_tilskuddsDetaljer$ti","setTilskuddsDetaljer","getTilskuddsDetaljer","hide","InpageMessage","allTilskuddGodkjent","tilskuddsgrunnlag","kapittel","post","Collapsible","openByDefault","disableLocalStorage","kildetabellId","Centered","InpageMessageNarrow","InfoPage","analyticsMessage","pageAccessDimension","usePageViewTrackingInfoPage","UnauthorizedPage","AvsluttedeSaker","activeSoknads","publishedRapporterings","listOfAllAvsluttede","avsluttedeGroupedByYear","groupBy","getFullYear","iconLeft","AllTilskuddOverview","_tilskudds$tilskuddsO","getAllOverview","tilskudds","t1","t2","Page","PaddedHeading3","NavLinkWrapper","Personvern","NavLink","SentryRoutes","Sentry","Routes","RequireAuthentication","Navigate","RequireAktor","_context$altinn","hasRoles","_useContextState2","context","dispatch","payload","localStorage","setItem","fn","accessText","usePageViewTrackingWithAccessInfo","RedirectToDashboardWithOrgNr","_ref4","currentOrganizationNumber","getItem","organization","ErrorPage","Router","SlowAction","Route","path","element","AppContainer","Notifications","dsn","_getConfig$sentryId","sentryId","integrations","useLocation","useNavigationType","createRoutesFromChildren","matchRoutes","tracesSampleRate","release","process","container","document","getElementById","createRoot","render","StateProvider","action","App","require"],"sourceRoot":""}