{"version":3,"file":"SearchPage.vue.bundle.js","sources":["../../../Frontend/src/vue/views/SearchPage/components/SearchBar.vue","../../../Frontend/src/vue/repositories/search.repository.ts","../../../Frontend/src/vue/services/search.service.ts","../../../Frontend/src/vue/views/SearchPage/SearchOverview.vue","../../../Frontend/src/vue/views/SearchPage/index.ts"],"sourcesContent":["\r\n\r\n","import { umbracoApi } from \"~/utils/axios.util\"\r\n\r\nexport interface ISearchResponse {\r\n Total: number\r\n Items: ISearchItem[]\r\n}\r\n\r\ninterface ILink {\r\n Url: string\r\n Target: string\r\n Name: string\r\n Rel: string | null\r\n}\r\n\r\nexport interface ISearchItem {\r\n Id: number\r\n Title: string\r\n Intro: string\r\n Link: ILink\r\n Tags: string[] | null\r\n Date: Date | null\r\n Url: string\r\n}\r\n\r\nexport interface ISearchParams {\r\n query: string\r\n skip: number\r\n take: number\r\n pageId: string\r\n culture: string\r\n}\r\n\r\nexport const SearchRepository = {\r\n Get: (params: ISearchParams, url: string = \"/search/get\") =>\r\n umbracoApi.get(url, {\r\n params,\r\n }),\r\n}\r\n","import { SearchRepository, ISearchParams } from \"@/repositories/search.repository\"\r\n\r\nexport const SearchService = {\r\n Get: (params: ISearchParams, url: string = \"/search/get\") => SearchRepository.Get(params, url),\r\n}","\r\n\r\n","import { createApp } from \"vue\"\r\nimport Search from \"./SearchOverview.vue\"\r\n\r\nconst app = createApp(Search)\r\napp.mount(\"#search\")"],"names":["props","__props","state","reactive","watch","value","onMounted","SearchRepository","params","url","umbracoApi","SearchService","useUrlSearchParams","cmsData","CmsDataProvider","CMS_DATA_ID","noResultsTitleReplaced","computed","resultCountTextReplaced","clearQuery","generateUrl","getSearchResults","search","response","searchMore","app","createApp","Search"],"mappings":"gkBASI,MAAMA,EAAQC,EAWRC,EAAQC,EAAS,CACnB,MAAO,EAAA,CACV,EAED,OAAAC,EACI,IAAMJ,EAAM,MACXK,GAAU,CACPH,EAAM,MAAQG,CAClB,CAAA,EAGJC,EAAU,IAAM,CACZJ,EA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