Current Path : /home/ncdcgo/admin.ncdc.go.ug/static/js/ |
Current File : /home/ncdcgo/admin.ncdc.go.ug/static/js/421.e394188e.chunk.js.map |
{"version":3,"file":"static/js/421.e394188e.chunk.js","mappings":"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","sources":["components/Layout/Breadcrumbs.jsx","features/pages/api/getPage.js","features/pages/api/updatePage.js","features/pages/components/UpdatePage.jsx","features/pages/routes/Page.jsx","features/pages/api/getPages.js","features/pages/components/PagesList.jsx","features/pages/routes/Pages.jsx","features/pages/routes/index.jsx"],"sourcesContent":["import React from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { ChevronRight } from \"react-feather\";\n\nconst Breadcrumbs = ({ routes }) => {\n return (\n <nav\n className=\"flex bg-white border border-gray-200 p-2 rounded-full px-4 mt-4\"\n aria-label=\"Breadcrumb\"\n >\n <ol className=\"inline-flex items-center space-x-1 md:space-x-3\">\n <li className=\"inline-flex items-center text-gray-800\">\n <Link\n to=\"/app\"\n className=\"inline-flex items-center text-sm text-gray-800 hover:text-gray-900 dark:text-gray-800 dark:hover:text-gray-200\"\n >\n <svg\n className=\"w-4 h-4 mr-2\"\n fill=\"currentColor\"\n viewBox=\"0 0 20 20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z\"></path>\n </svg>\n Home\n </Link>\n </li>\n {routes?.map((route, index) => {\n return (\n <li className=\"inline-flex items-center\" key={index}>\n <ChevronRight size={10} className=\"mr-4\" />\n <Link\n to={route.path}\n className=\"inline-flex items-center text-sm font-extrabold text-gray-700 hover:text-gray-900 dark:text-gray-800 dark:hover:text-gray-200\"\n >\n {route.name}\n </Link>\n </li>\n );\n })}\n </ol>\n </nav>\n );\n};\n\nBreadcrumbs.propTypes = {};\n\nexport default Breadcrumbs;\n","\n\nimport { axios } from 'lib/axios';\nimport { useQuery } from 'react-query';\n\nexport const getPage = async ({ pageSlug }) => {\n return await axios.get(`/pages/${pageSlug}`);\n};\n\nexport const usePage = ({ pageSlug , config }) => {\n return useQuery({\n ...config,\n queryKey: [\"page\", pageSlug ],\n queryFn: () => getPage({ pageSlug }),\n });\n};\n\n","\n\nimport { axios } from \"lib/axios\";\nimport { queryClient } from \"lib/react-query\";\nimport { useNotificationStore } from \"stores/notifications\";\nimport PropTypes from \"prop-types\";\nimport { useMutation } from \"react-query\";\n\nexport const updatePage = ({ data, pageId }) => {\n\treturn axios.patch(`/pages/${pageId}`, data, {\n\t\theaders: {\n\t\t\t\"Content-Type\": \"multipart/form-data\",\n\t\t},\n\t});\n};\n\nupdatePage.propTypes = {\n\tdata: PropTypes.shape({\n\t\ttitle: PropTypes.string.isRequired,\n\t\tdesc: PropTypes.string.isRequired,\n\t}).isRequired,\n\tpageId: PropTypes.string.isRequired,\n};\n\nexport const useUpdatePage = ({ config } = {}) => {\n\tconst { addNotification } = useNotificationStore();\n\n\treturn useMutation({\n\t\tonMutate: async (updatingPage) => {\n\t\t\tawait queryClient.cancelQueries([\"page\", updatingPage?.pageId]);\n\n\t\t\tconst previousPage =\n\t\t\t\tqueryClient.getQueryData[(\"page\", updatingPage?.pageId)];\n\n\t\t\tqueryClient.setQueryData([\"page\", updatingPage?.pageId], {\n\t\t\t\t...previousPage,\n\t\t\t\t...updatingPage.data,\n\t\t\t\tid: updatingPage.pageId,\n\t\t\t});\n\n\t\t\treturn { previousPage };\n\t\t},\n\t\tonError: (_, __, context) => {\n\t\t\tif (context?.previousPage) {\n\t\t\t\tqueryClient.setQueryData(\n\t\t\t\t\t[\"page\", context.previousPage.id],\n\t\t\t\t\tcontext.previousPage,\n\t\t\t\t);\n\t\t\t}\n\t\t},\n\t\tonSuccess: (data) => {\n\t\t\tqueryClient.refetchQueries([\"page\", data.id]);\n\t\t\taddNotification({\n\t\t\t\ttype: \"success\",\n\t\t\t\ttitle: \"Page Updated\",\n\t\t\t});\n\t\t},\n\t\t...config,\n\t\tmutationFn: updatePage,\n\t});\n};\n","\n\nimport { Button, Spinner } from \"components/Elements\";\nimport {\n\tForm,\n\tFormDrawer,\n\tInputField,\n\tTextAreaField,\n\tUploadField,\n} from \"components/Form\";\nimport { Authorization, ROLES } from \"lib/authorization\";\nimport { PencilIcon } from \"@heroicons/react/solid\";\nimport PropTypes from \"prop-types\";\nimport { useState } from \"react\";\nimport * as z from \"zod\";\n\nimport { usePage } from \"../api/getPage\";\nimport { useUpdatePage } from \"../api/updatePage\";\n\nconst schema = z.object({\n\ttitle: z.string().min(1, \"Required\"),\n\tdesc: z.string().min(1, \"Required\"),\n});\n\nexport const UpdatePage = ({ pageId }) => {\n\tconst [image, setImage] = useState(null);\n\tconst [preview, setPreview] = useState(null);\n\tconst [editImage, setEditImage] = useState(false);\n\tconst pageQuery = usePage({ pageId });\n\tconst updatePageMutation = useUpdatePage();\n\n\tif (updatePageMutation.isLoading) {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tid=\"loading-screen\"\n\t\t\t\tclassName=\"w-full h-full fixed block top-0 left-0 bg-black opacity-75 z-50\">\n\t\t\t\t<span className=\"opacity-75 top-1/2 my-0 mx-auto block relative w-0 h-0\">\n\t\t\t\t\t<Spinner size=\"sm\" />\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t);\n\t}\n\n\treturn (\n\t\t<Authorization allowedRoles={[ROLES.ADMIN]}>\n\t\t\t<FormDrawer\n\t\t\t\tsize=\"sm\"\n\t\t\t\tisDone={updatePageMutation.isSuccess}\n\t\t\t\ttriggerButton={\n\t\t\t\t\t<Button\n\t\t\t\t\t\tvariant=\"create\"\n\t\t\t\t\t\tstartIcon={<PencilIcon className=\"h-4 w-4\" />}\n\t\t\t\t\t\tsize=\"sm\">\n\t\t\t\t\t\tUpdate\n\t\t\t\t\t</Button>\n\t\t\t\t}\n\t\t\t\ttitle=\"Update Page\"\n\t\t\t\tsubmitButton={\n\t\t\t\t\t<Button\n\t\t\t\t\t\tform=\"update-page\"\n\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\tisLoading={updatePageMutation.isLoading}>\n\t\t\t\t\t\tSubmit\n\t\t\t\t\t</Button>\n\t\t\t\t}>\n\t\t\t\t<Form\n\t\t\t\t\tid=\"update-page\"\n\t\t\t\t\tencType=\"multipart/form-data\"\n\t\t\t\t\tonSubmit={async (values) => {\n\t\t\t\t\t\tconst { title, desc } = values;\n\t\t\t\t\t\tconst bodyFormData = new FormData();\n\t\t\t\t\t\tbodyFormData.append(\"pageHeaderBgImage \", image);\n\t\t\t\t\t\tbodyFormData.append(\"title\", title);\n\t\t\t\t\t\tbodyFormData.append(\"desc\", desc);\n\n\t\t\t\t\t\tawait updatePageMutation.mutateAsync({\n\t\t\t\t\t\t\tdata: bodyFormData,\n\t\t\t\t\t\t\tpageId,\n\t\t\t\t\t\t});\n\t\t\t\t\t\tsetPreview(null);\n\t\t\t\t\t}}\n\t\t\t\t\toptions={{\n\t\t\t\t\t\tdefaultValues: {\n\t\t\t\t\t\t\ttitle: pageQuery.data?.title,\n\t\t\t\t\t\t\tdesc: pageQuery.data?.desc,\n\n\t\t\t\t\t\t\tpageHeaderBgImage: pageQuery.data?.pageHeaderBgImage,\n\t\t\t\t\t\t},\n\t\t\t\t\t}}\n\t\t\t\t\tschema={schema}>\n\t\t\t\t\t{({ register, formState, watch, setValue }) => (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t<InputField\n\t\t\t\t\t\t\t\tlabel=\"Title\"\n\t\t\t\t\t\t\t\terror={formState.errors[\"title\"]}\n\t\t\t\t\t\t\t\tregistration={register(\"title\")}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<TextAreaField\n\t\t\t\t\t\t\t\tlabel=\"Content\"\n\t\t\t\t\t\t\t\terror={formState.errors[\"desc\"]}\n\t\t\t\t\t\t\t\teditorContent={watch(\"desc\")}\n\t\t\t\t\t\t\t\tsetValue={setValue}\n\t\t\t\t\t\t\t\tvalue=\"desc\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t<span className=\"text-gray-500 text-sm\">\n\t\t\t\t\t\t\t\tDefault category is set to news and can not be updated.\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t{/* button to set edit image */}\n\t\t\t\t\t\t\t<div className=\"flex justify-between items-center\">\n\t\t\t\t\t\t\t\t{editImage ? (\n\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\thref=\"#\"\n\t\t\t\t\t\t\t\t\t\tclassName=\"bg-green-400 text-gray-800 font-bold p-2 rounded text-sm\"\n\t\t\t\t\t\t\t\t\t\tonClick={(e) => {\n\t\t\t\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t\t\t\tsetEditImage(false);\n\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\tClose\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\thref=\"#\"\n\t\t\t\t\t\t\t\t\t\tclassName=\"bg-green-400 text-gray-800 font-bold p-2 rounded text-sm\"\n\t\t\t\t\t\t\t\t\t\tonClick={(e) => {\n\t\t\t\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t\t\t\tsetEditImage(true);\n\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\tUpdate Image\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t{editImage && (\n\t\t\t\t\t\t\t\t<UploadField\n\t\t\t\t\t\t\t\t\ttitle=\"Update Cover Photo\"\n\t\t\t\t\t\t\t\t\tsubTitle=\"This will also be used as the thumbnail in feeds\"\n\t\t\t\t\t\t\t\t\terror={formState.errors[\"pageHeaderBgImage \"]}\n\t\t\t\t\t\t\t\t\tx={1024}\n\t\t\t\t\t\t\t\t\ty={768}\n\t\t\t\t\t\t\t\t\tonChange={(e) => {\n\t\t\t\t\t\t\t\t\t\tsetImage(e.target.files[0]);\n\t\t\t\t\t\t\t\t\t\tsetPreview(URL.createObjectURL(e.target.files[0]));\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\tpreview={preview}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</>\n\t\t\t\t\t)}\n\t\t\t\t</Form>\n\t\t\t</FormDrawer>\n\t\t</Authorization>\n\t);\n};\n\nUpdatePage.propTypes = {\n\tpageId: PropTypes.string.isRequired,\n};\n","\n\n\nimport { Spinner, MDPreview } from \"components/Elements\";\nimport { Head } from \"components/Head\";\nimport { ContentLayout } from \"components/Layout\";\nimport { UPLOADS_API_URL } from \"config\";\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\nimport { formatDate } from \"utils/format\";\nimport { useParams } from \"react-router-dom\";\n\nimport { usePage } from \"../api/getPage\";\nimport { UpdatePage } from \"../components/UpdatePage\";\nimport Breadcrumbs from \"components/Layout/Breadcrumbs\";\n\nexport const Page = ( ) => {\n const { pageSlug } = useParams();\n\n const pageQuery = usePage({ pageSlug });\n\n const routes = [\n {\n name: \"Pages\",\n path: \"/app/pages\",\n },\n {\n name: pageQuery.data?.title,\n path: \"\",\n },\n ];\n\n if (pageQuery.isLoading) {\n return (\n <div className=\"w-full h-48 flex justify-center items-center\">\n <Spinner size=\"lg\" />\n </div>\n );\n }\n\n if (!pageQuery.data) return null;\n\n return (\n <>\n <Head title={pageQuery.data.title} />\n <ContentLayout\n title={pageQuery.data.title}\n // button={<UpdatePage pageId={pageId} />}\n >\n <span className=\"text-xs text-gray-500 font-bold\">\n {formatDate(pageQuery.data.createdAt)}\n </span>\n <Breadcrumbs routes={routes} />\n <div className=\"mt-6 flex flex-col space-y-16\">\n <div>\n <div className=\"bg-white dark:bg-gray-700 shadow overflow-hidden sm:rounded-lg\">\n <LazyLoadImage\n src={`${UPLOADS_API_URL}/${pageQuery.data.pageHeaderBgImage}`}\n alt=\"background for page\"\n className=\"h-48 w-full object-cover\"\n />\n <div className=\"px-4 py-5 sm:px-6 \">\n <div className=\"mt-1 text-sm text-gray-500\">\n <MDPreview value={pageQuery.data.desc} />\n </div>\n </div>\n </div>\n </div>\n </div>\n </ContentLayout>\n </>\n );\n};\n","/** @format */\n\nimport { axios } from \"lib/axios\";\nimport { useQuery } from \"react-query\";\n\nexport const getPages = () => {\n\treturn axios.get(\"/pages\");\n};\n\nexport const usePages = ({ config } = {}) => {\n\treturn useQuery({\n\t\t...config,\n\t\tqueryKey: [\"pages\"],\n\t\tqueryFn: () => getPages(),\n\t});\n};\n","import { Table, Spinner, Link } from 'components/Elements';\n\nimport { usePages } from '../api/getPages';\n\nexport const PagesList = () => {\n const pagesQuery = usePages();\n\n if (pagesQuery.isLoading) {\n return (\n <div className=\"w-full h-48 flex justify-center items-center\">\n <Spinner size=\"lg\" />\n </div>\n );\n }\n\n if (!pagesQuery.data) return null;\n\n return (\n <Table\n data={pagesQuery.data}\n className=\"text-gray-400 text-lg\"\n columns={[\n {\n title: \"Page\",\n field: \"page\",\n Cell({ entry: { title } }) {\n return (\n <>\n <span className=\"text-lg\">{title}</span>\n <br />\n \n </>\n );\n },\n },\n {\n title: \"\",\n field: \"slug\",\n Cell({ entry: { slug } }) {\n return (\n\t\t\t\t\t\t\t<Link\n\t\t\t\t\t\t\t\tto={`./${slug}`}\n\t\t\t\t\t\t\t\tclassName=\"mr-2 text-black dark:text-gray-200 hover:text-green-400\">\n\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t</Link> \n\t\t\t\t\t\t);\n },\n },\n ]}\n />\n );\n};\n\n\n\n","import { ContentLayout } from 'components/Layout';\nimport Breadcrumbs from \"components/Layout/Breadcrumbs\";\n\n\nimport { PagesList } from '../components/PagesList';\n\nexport const Pages = () => {\n const routes = [\n {\n name: \"Pages\",\n path: \".\",\n },\n ];\n\n return (\n <ContentLayout title=\"Pages\">\n <Breadcrumbs routes={routes} />\n\n <div className=\"mt-4\">\n <PagesList />\n </div>\n </ContentLayout>\n );\n};\n","import { Navigate, Route, Routes } from 'react-router-dom';\n\nimport { Page } from './Page';\nimport { Pages } from './Pages';\n\nexport const PagesRoutes = () => {\n return (\n <Routes>\n <Route path=\"\" element={<Pages />} />\n <Route path=\":pageSlug\" element={<Page />} />\n <Route path=\"*\" element={<Navigate to=\".\" />} />\n </Routes>\n );\n};\n"],"names":["routes","className","to","fill","viewBox","xmlns","d","map","route","index","size","path","name","getPage","pageSlug","axios","updatePage","data","pageId","headers","propTypes","PropTypes","title","desc","isRequired","z","min","Page","pageQuery","config","useQuery","queryKey","queryFn","usePage","useParams","isLoading","Head","formatDate","createdAt","Breadcrumbs","LazyLoadImage","src","UPLOADS_API_URL","pageHeaderBgImage","alt","value","getPages","PagesList","pagesQuery","usePages","columns","field","Cell","entry","slug","Pages","PagesRoutes","element"],"sourceRoot":""}