Your IP : 3.14.145.97


Current Path : /home/ncdcgo/admin.ncdc.go.ug/static/js/
Upload File :
Current File : /home/ncdcgo/admin.ncdc.go.ug/static/js/333.e72cb7fc.chunk.js.map

{"version":3,"file":"static/js/333.e72cb7fc.chunk.js","mappings":"2IA+CA,IA3CoB,SAAC,GAAgB,IAAdA,EAAa,EAAbA,OACrB,OACE,gBACEC,UAAU,kEACV,aAAW,aAFb,UAIE,gBAAIA,UAAU,kDAAd,WACE,eAAIA,UAAU,yCAAd,UACE,UAAC,KAAD,CACEC,GAAG,OACHD,UAAU,kHAFZ,WAIE,gBACEA,UAAU,eACVE,KAAK,eACLC,QAAQ,YACRC,MAAM,6BAJR,UAME,iBAAMC,EAAE,uMAVZ,YAFJ,OAiBGN,QAjBH,IAiBGA,OAjBH,EAiBGA,EAAQO,KAAI,SAACC,EAAOC,GACnB,OACE,gBAAIR,UAAU,2BAAd,WACE,SAAC,IAAD,CAAcS,KAAM,GAAIT,UAAU,UAClC,SAAC,KAAD,CACEC,GAAIM,EAAMG,KACVV,UAAU,gIAFZ,SAIGO,EAAMI,SANmCH,EAUjD,QAIR,C,yICxCYI,EAAe,WA6C1B,OAGE,+BACE,2BAvBa,CACf,CACEC,GAAI,EACJC,MAAO,OACPP,MAAO,QAET,CACEM,GAAI,EACJC,MAAO,aACPP,MAAO,eAGT,CACEM,GAAI,EACJC,MAAO,UACPP,MAAO,iBASKD,KAAI,SAACS,GAAD,OACd,iBAAsBf,UAAU,mEAAhC,WACE,gBAAKA,UAAU,aAAf,SAA6Be,EAAQD,SACrC,SAAC,KAAD,CAAMb,GAAE,YAAOc,EAAQR,OAAvB,UACA,gBAAMP,UAAU,oDAAhB,sBAHQe,EAAQF,GADJ,IAjDH,CACf,CACEA,GAAI,EACNC,MAAO,mBACPE,QAAS,wBAEX,CACEH,GAAI,EACJC,MAAO,gBACPE,QAAS,GACTC,KAAM,wBAER,CACEJ,GAAI,EACJC,MAAO,eACPE,QAAS,iBAEX,CACEH,GAAI,EAC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N,EACRO,YAAa,IACbC,cAAe,QACfC,eAAgB,SACfP,GAAoBC,EAAAA,cAAoB,WAAY,CACrDO,OAAQ,mBAEX,IACDf,EAAanH,UAAY,CACvBwH,MAAOvH,IAAAA,OACPlB,KAAMkB,IAAAA,UAAoB,CAACA,IAAAA,OAAkBA,IAAAA,UAE/CkH,EAAagB,YAAc,eAC3B,K,qCCrBA,IAAMC,EAAaT,EAAAA,YAZnB,SAAoBU,EAAOC,GACzB,OAAoBX,EAAAA,cAAoB,MAAO9B,OAAOC,OAAO,CAC3DpH,MAAO,6BACPD,QAAS,YACTD,KAAM,eACN,cAAe,OACf8I,IAAKgB,GACJD,GAAqBV,EAAAA,cAAoB,OAAQ,CAClDhJ,EAAG,4HAEN,IAGD,K","sources":["components/Layout/Breadcrumbs.jsx","features/settings/components/SettingsList.jsx","features/settings/routes/Settings.jsx","features/settings/api/getQuickLinks.js","features/settings/api/deleteQuickLink.js","features/settings/components/DeleteQuickLink.jsx","features/settings/api/getQuickLink.js","features/settings/api/updateQuickLink.js","features/settings/components/UpdateQuickLink.jsx","features/settings/components/QuickLinksList.jsx","features/settings/routes/QuickLinks.jsx","features/settings/routes/SocialLinks.jsx","features/settings/routes/Logo.jsx","features/settings/routes/QuickLink.jsx","features/settings/routes/index.jsx","../node_modules/react-feather/dist/icons/chevron-right.js","../node_modules/@heroicons/react/solid/esm/PencilIcon.js"],"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","import React from \"react\";\n import { Params, Link } from \"react-router-dom\";\n\nexport const SettingsList = () => {\n  const contacts = [\n    {\n      id: 1,\n    title: \"Physical Adrress\",\n    content: \"Plot M838, Kyambogo.\"\n  },\n  {\n    id: 2,\n    title: \"Opening Hours\",\n    content: \"\",\n    days: \"Mon - Fri, 8am - 5pm\",\n  },\n  {\n    id: 3,\n    title: \"Phone Number\",\n    content: \"+256393112088\"\n  }, \n  {\n    id: 4,\n    title: \"Email Address\",\n    content: \"+info@ncdc.go.ug\"\n  }\n\n]\n\n  const settings = [\n    {\n      id: 1,\n      title: \"Logo\",\n      route: \"logo\"\n    },\n    {\n      id: 2,\n      title: \"Quick Link\",\n      route: \"quick-links\"\n\n    },\n    {\n      id: 3,\n      title: \"Socials\",\n      route: \"social-links\"\n\n    },\n  ]\n  return (\n\n\n    <>\n      <div>\n        {settings.map((setting)=>(\n        <div key={setting.id} className=\"bg-white px-5 py-3 mt-2 text-md  flex justify-between rounded-md\">\n          <div className=\"text-black\">{setting.title}</div>\n          <Link to={`./${setting.route}`}>\n          <div  className=\"text-gray-500 cursor-pointer hover:text-green-400\">\n            edit\n          </div>\n          </Link>\n        </div>\n        ))}\n\n        \n\n{contacts.map((contact, index)=>(\n        <div \n        key={index} \n          className=\"accordion bg-white text-md mt-2 rounded-md\"\n          id=\"accordionExample\"\n        >\n          <div className=\"accordion-item bg-white border border-gray-200\">\n            <h2 className=\"accordion-header mb-0\" id=\"headingOne\">\n              <button\n                className=\"\n        \n        relative\n        flex\n        justify-between\n        items-center\n        w-full\n        py-4\n        px-5\n        text-base text-black text-left\n        bg-white\n        border-0\n        rounded-none\n        transition\n        focus:outline-none\n      \"\n                type=\"button\"\n                data-bs-toggle=\"collapse\"\n                data-bs-target={`#collapseOne${contact.id}`}\n                aria-expanded=\"true\"\n                aria-controls=\"collapseOne\"\n              >\n                <h1 className=\"text-black \">{contact.title}</h1>\n                <svg\n                  data-accordion-icon\n                  className=\"w-6 h-6 rotate-270 shrink-0 hover:text-green-400\"\n                  fill=\"currentColor\"\n                  viewBox=\"0 0 20 20\"\n                  xmlns=\"http://www.w3.org/2000/svg\"\n                >\n                  <path\n                    fill-rule=\"evenodd\"\n                    d=\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\"\n                    clip-rule=\"evenodd\"\n                  ></path>\n                </svg>\n              </button>\n            </h2>\n            <div\n              id={`collapseOne${contact.id}`}\n              className=\"accordion-collapse collapse show\"\n              aria-labelledby=\"headingOne\"\n              data-bs-parent=\"#accordionExample\"\n            >\n              <div className=\"accordion-body py-4 px-5 bg-gray-200\">\n                \n                <div className=\"flex justify-between mx-8\">\n                  <div className=\"text-black\">{contact.content}{contact.days}</div>\n                  <div className=\"text-gray-500 cursor-pointer hover:text-green-400\">\n                    edit\n                  </div>\n                  \n                  </div>\n                \n              </div>\n            </div>\n          </div>\n        </div>))}\n      </div>\n    </>\n  );\n};\n","import { ContentLayout } from 'components/Layout';\nimport Breadcrumbs from \"components/Layout/Breadcrumbs\";\nimport { SettingsList } from '../components/SettingsList';\n\n\nexport const Settings = () => {\n  const routes = [\n    {\n      name: \"Settings\",\n      path: \".\",\n    },\n  ];\n  return (\n    <ContentLayout title=\"Settings\" >\n      <Breadcrumbs routes={routes} />\n      <div className=\"mt-4\">\n        <SettingsList />\n      </div>\n\n    </ContentLayout>\n  );\n};\n","/** @format */\n\nimport { axios } from \"lib/axios\";\nimport { useQuery } from \"react-query\";\n\nexport const getQuickLinks = () => {\n\treturn axios.get(\"/quick-links\");\n};\n\nexport const useQuickLinks = ({ config } = {}) => {\n\treturn useQuery({\n\t\t...config,\n\t\tqueryKey: [\"quickLinks\"],\n\t\tqueryFn: () => getQuickLinks(),\n\t});\n};\n","/** @format */\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 deleteQuickLink = ({ quicklinkId }) => {\n\treturn axios.delete(`/quick-links/${quicklinkId}`);\n};\n\ndeleteQuickLink.propTypes = {\n\tquicklinkId: PropTypes.string.isRequired,\n};\n\nexport const useDeleteQuickLink = ({ config } = {}) => {\n\tconst { addNotification } = useNotificationStore();\n\n\treturn useMutation({\n\t\tonMutate: async (deletedQuickLink) => {\n\t\t\tawait queryClient.cancelQueries(\"quicklinks\");\n\n\t\t\tconst previousQuickLinks = queryClient.getQueryData(\"quicklinks\");\n\n\t\t\tqueryClient.setQueryData(\n\t\t\t\t\"quicklinks\",\n\t\t\t\tpreviousQuickLinks?.filter((quicklink) => quicklink.id !== deletedQuickLink.quicklinkId),\n\t\t\t);\n\n\t\t\treturn { previousQuickLinks };\n\t\t},\n\t\tonError: (_, __, context) => {\n\t\t\tif (context?.previousQuickLinks) {\n\t\t\t\tqueryClient.setQueryData(\"quicklinks\", context.previousQuickLinks);\n\t\t\t}\n\t\t},\n\t\tonSuccess: () => {\n\t\t\tqueryClient.invalidateQueries(\"quicklinks\");\n\t\t\taddNotification({\n\t\t\t\ttype: \"success\",\n\t\t\t\ttitle: \"Quick Link Deleted\",\n\t\t\t});\n\t\t},\n\t\t...config,\n\t\tmutationFn: deleteQuickLink,\n\t});\n};\n","/** @format */\n\nimport { Button, ConfirmationDialog, Spinner } from \"components/Elements\";\nimport { Authorization, ROLES } from \"lib/authorization\";\nimport PropTypes from \"prop-types\";\n\nimport { useDeleteQuickLink } from \"../api/deleteQuickLink\";\n\nexport const DeleteQuickLink = ({ id }) => {\n\tconst deleteQuickLinkMutation = useDeleteQuickLink();\n\n\tif (deleteQuickLinkMutation.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<ConfirmationDialog\n\t\t\t\ticon=\"danger\"\n\t\t\t\ttitle=\"Delete Quick Link\"\n\t\t\t\tbody=\"Are you sure you want to delete this Quick Link?\"\n\t\t\t\ttriggerButton={<button>Remove</button>}\n\t\t\t\tconfirmButton={\n\t\t\t\t\t<Button\n\t\t\t\t\t\tisLoading={deleteQuickLinkMutation.isLoading}\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tclassName=\"bg-red-600\"\n\t\t\t\t\t\tonClick={async () =>\n\t\t\t\t\t\t\tawait deleteQuickLinkMutation.mutateAsync({ faqId: id })\n\t\t\t\t\t\t}>\n\t\t\t\t\t\tDelete Quick Link\n\t\t\t\t\t</Button>\n\t\t\t\t}\n\t\t\t/>\n\t\t</Authorization>\n\t);\n};\n\nDeleteQuickLink.propTypes = {\n\tid: PropTypes.string.isRequired,\n};\n","/** @format */\n\nimport { axios } from \"lib/axios\";\nimport { useQuery } from \"react-query\";\n\nexport const getQuickLink = ({ quicklinkId }) => {\n\treturn axios.get(`/quick-links/${quicklinkId}`);\n};\n\nexport const useQuickLink = ({ quicklinkId, config }) => {\n\treturn useQuery({\n\t\t...config,\n\t\tqueryKey: [\"quicklink\", quicklinkId],\n\t\tqueryFn: () => getQuickLink({ quicklinkId }),\n\t});\n};\n","/** @format */\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 updateQuickLink = ({ data, quicklinkId }) => {\n\treturn axios.patch(`/quick-links/${quicklinkId}`, data);\n};\n\nupdateQuickLink.propTypes = {\n\tdata: PropTypes.shape({\n\t\ttitle: PropTypes.string.isRequired,\n\t\turl: PropTypes.string.isRequired,\n\t}).isRequired,\n\tquicklinkId: PropTypes.string.isRequired,\n};\n\nexport const useUpdateQuickLink = ({ config } = {}) => {\n\tconst { addNotification } = useNotificationStore();\n\n\treturn useMutation({\n\t\tonMutate: async (updatingQuickLink) => {\n\t\t\tawait queryClient.cancelQueries([\"quicklink\", updatingQuickLink?.quicklinkId]);\n\n\t\t\tconst previousQuickLink = queryClient.getQueryData[(\"quicklink\", updatingQuickLink?.quicklinkId)];\n\n\t\t\tqueryClient.setQueryData([\"quicklink\", updatingQuickLink?.quicklinkId], {\n\t\t\t\t...previousQuickLink,\n\t\t\t\t...updatingQuickLink.data,\n\t\t\t\tid: updatingQuickLink.quicklinkId,\n\t\t\t});\n\n\t\t\treturn { previousQuickLink };\n\t\t},\n\t\tonError: (_, __, context) => {\n\t\t\tif (context?.previousQuickLink) {\n\t\t\t\tqueryClient.setQueryData(\n\t\t\t\t\t[\"quicklink\", context.previousQuickLink.id],\n\t\t\t\t\tcontext.previousQuickLink,\n\t\t\t\t);\n\t\t\t}\n\t\t},\n\t\tonSuccess: (data) => {\n\t\t\tqueryClient.refetchQueries([\"quicklink\", data.id]);\n\t\t\taddNotification({\n\t\t\t\ttype: \"success\",\n\t\t\t\ttitle: \"Quick Link Updated\",\n\t\t\t});\n\t\t},\n\t\t...config,\n\t\tmutationFn: updateQuickLink,\n\t});\n};\n","/** @format */\n\nimport { Button, Spinner } from \"components/Elements\";\nimport {\n\tForm,\n\tFormDrawer,\n\tInputField,\n} from \"components/Form\";\nimport { Authorization, ROLES } from \"lib/authorization\";\nimport { PencilIcon } from \"@heroicons/react/solid\";\nimport PropTypes from \"prop-types\";\nimport * as z from \"zod\";\n\nimport { useQuickLink } from \"../api/getQuickLink\";\nimport { useUpdateQuickLink } from \"../api/updateQuickLink\";\n\nconst schema = z.object({\n\ttitle: z.string().min(1, \"Required\"),\n\turl: z.string().min(1, \"Required\"),\n});\n\nexport const UpdateQuickLink = ({ quicklinkId }) => {\n\tconst quickLinkQuery = useQuickLink({ quicklinkId });\n\tconst updateQuickLinkMutation = useUpdateQuickLink();\n\n\tif (updateQuickLinkMutation.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\tconsole.log(quickLinkQuery)\n\n\treturn (\n\t\t<Authorization allowedRoles={[ROLES.ADMIN]}>\n\t\t\t<FormDrawer\n\t\t\t\tsie=\"sm\"\n\t\t\t\tisDone={updateQuickLinkMutation.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 Quick Link\n\t\t\t\t\t</Button>\n\t\t\t\t}\n\t\t\t\ttitle=\"Update Quick Link\"\n\t\t\t\tsubmitButton={\n\t\t\t\t\t<Button\n\t\t\t\t\t\tform=\"update-quickLink\"\n\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\tisLoading={updateQuickLinkMutation.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-quickLink\"\n\t\t\t\t\tonSubmit={async (values) => {\n\t\t\t\t\t\tawait updateQuickLinkMutation.mutateAsync({\n\t\t\t\t\t\t\tdata: values,\n\t\t\t\t\t\t\tquicklinkId,\n\t\t\t\t\t\t});\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: quickLinkQuery.data?.title,\n\t\t\t\t\t\t\turl: quickLinkQuery.data?.url,\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, }) => (\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=\"Name\"\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<InputField\n\t\t\t\t\t\t\t\tlabel=\"Url\"\n\t\t\t\t\t\t\t\terror={formState.errors[\"url\"]}\n\t\t\t\t\t\t\t\tregistration={register(\"url\")}\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\nUpdateQuickLink.propTypes = {\n\tfaqId: PropTypes.string.isRequired,\n};\n","/** @format */\n\nimport { Table, Spinner, Link } from \"components/Elements\";\nimport { useParams } from \"react-router-dom\";\n\nimport { useQuickLinks } from \"../api/getQuickLinks\";\n\nimport { DeleteQuickLink } from \"./DeleteQuickLink\";\nimport { UpdateQuickLink } from \"./UpdateQuickLink\";\n\nexport const QuickLinksList = () => {\n\tconst { quickLinkId } = useParams();\n\n\tconst quickLinksQuery = useQuickLinks();\n\n\tif (quickLinksQuery.isLoading) {\n\t\treturn (\n\t\t\t<div className=\"w-full h-48 flex justify-center items-center\">\n\t\t\t\t<Spinner size=\"lg\" />\n\t\t\t</div>\n\t\t);\n\t}\n\n\tif (!quickLinksQuery.data) return null;\n\n\treturn (\n\t\t<Table\n\t\t\tdata={quickLinksQuery.data}\n\t\t\tcolumns={[\n\t\t\t\t{\n\t\t\t\t\ttitle: \"Name\",\n\t\t\t\t\tfield: \"title\",\n\t\t\t\t},\n\t\t\t\t// {\n\t\t\t\t// \ttitle: \"Url Link\",\n\t\t\t\t// \tfield: \"url\",\n\t\t\t\t// },\n\t\t\t\t{\n\t\t\t\t\ttitle: \"\",\n\t\t\t\t\tfield: \"id\",\n\t\t\t\t\tCell({ entry: { id } }) {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<div className=\"flex flex-row justify-center items-center gap-5\">\n\t\t\t\t\t\t\t\t\t<Link\n\t\t\t\t\t\t\t\t\t to={`./${id}`}\n\t\t\t\t\t\t\t\t\t\t// {/* <UpdateQuickLink quickLinkId={quickLinkId} /> \n\t\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\t\t\tEdit \n\t\t\t\t\t\t\t\t\t </Link>\n\t\t\t\t\t\t\t\t\t<DeleteQuickLink id={id} />\n\t\t\t\t\t\t\t\t</div>\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},\n\t\t\t]}\n\t\t/>\n\t);\n};\n","import { Head } from \"components/Head\";\nimport { ContentLayout } from \"components/Layout\";\n\nimport Breadcrumbs from \"components/Layout/Breadcrumbs\";\nimport { QuickLinksList } from \"../components/QuickLinksList\";\n\nexport const QuickLinks = () => {\n  const routes = [\n    {\n      name: \"Settings\",\n      path: \"/app/settings\",\n    },\n    {\n      name: \"Quick Links\",\n      path: \"\",\n    },\n  ];\n\n  return (\n    <>\n      <Head title=\"Quick Links\" />\n      <ContentLayout title=\"Quick Links\" button={\"Edit\"}>\n        <span className=\"text-xs text-gray-500 font-bold\">Time</span>\n        <Breadcrumbs routes={routes} />\n        <QuickLinksList />\n      </ContentLayout>\n    </>\n  );\n};\n","import { Head } from \"components/Head\";\nimport { ContentLayout } from \"components/Layout\";\n\nimport Breadcrumbs from \"components/Layout/Breadcrumbs\";\n\nexport const SocialLinks = () => {\n  const routes = [\n    {\n      name: \"Settings\",\n      path: \"/app/settings\",\n    },\n    {\n      name: \"Social Links\",\n      path: \"\",\n    },\n  ];\n\n\n  const socialLinks = [\n    {\n      id: 1,\n      title: \"Facebook\",\n      url: \"facebook.com/NCDC\",\n    },\n    {\n      id: 2,\n      title: \"Twitter\",\n      url: \"twitter.com/NCDC\",\n    },\n    {\n      id: 3,\n      title: \"Linked in\",\n      url: \"linkedin.com/NCDC\",\n    },\n    {\n      id: 4,\n      title: \"Youtube\",\n      url: \"youtube.com/NCDC\",\n    },\n  ];\n\n  return (\n    <>\n      <Head title=\"Social Links\" />\n      <ContentLayout title=\"Social Links\" button={\"Edit\"}>\n        <span className=\"text-xs text-gray-500 font-bold\">Time</span>\n        <Breadcrumbs routes={routes} />\n        \n        <div>\n          <div className=\"flex flex-col mt-2\">\n            <div className=\"overflow-x-auto sm:-mx-6 lg:-mx-8\">\n              <div className=\"py-2 inline-block min-w-full sm:px-6 lg:px-8\">\n                <div className=\"overflow-hidden\">\n                  <table className=\"min-w-full\">\n                    <thead className=\"bg-white border-b\">\n                      <tr>\n                        <th\n                          scope=\"col\"\n                          className=\"text-sm font-medium text-gray-900 px-6 py-4 text-left\"\n                        >\n                          Name\n                        </th>\n                        <th\n                          scope=\"col\"\n                          className=\"text-sm font-medium text-gray-900 px-6 py-4 text-left\"\n                        >\n                          Url Link\n                        </th>\n                      </tr>\n                    </thead>\n                    {socialLinks.map((socialLink, index) => (\n                      <tbody key={index}>\n                        <tr className=\"bg-gray-100 border-b\">\n                          <td className=\"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900\">\n                            {socialLink.title}\n                          </td>\n                          <td className=\"text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap\">\n                            {socialLink.url}\n                          </td>\n                        </tr>\n                      </tbody>\n                    ))}\n                  </table>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </ContentLayout>\n    </>\n  );\n};\n","import { Head } from \"components/Head\";\nimport { ContentLayout } from \"components/Layout\";\nimport { Link } from \"react-router-dom\";\n\nimport Breadcrumbs from \"components/Layout/Breadcrumbs\";\n\nexport const Logo = () => {\n  const routes = [\n    {\n      name: \"Settings\",\n      path: \"/app/settings\",\n    },\n    {\n      name: \"Logo\",\n      path: \"\",\n    },\n  ];\n\n  return (\n    <>\n      <Head title=\"Logo\" />\n      <ContentLayout title=\"Logo\" button={\"Publish\"}>\n        <span className=\"text-xs text-gray-500 font-bold\">Time</span>\n        <Breadcrumbs routes={routes} />\n\n        <div className=\"bg-white h-fit rounded-md mt-4\">\n          <div className=\"md:grid md:grid-cols-3 md:gap-4 p-4\">\n            <div>\n              <img src=\"\" alt=\"Logo\" className=\"bg-green-100 h-64\" />\n            </div>\n            <div className=\"col-span-2 flex flex-col justify-between mt-2 md:mt-0\">\n              <div className=\"flex md:flex-col items-start justify-between gap-2\">\n                <Link to={`./edit`}>\n                  <button className=\"bg-green-400 px-4 py-2 rounded-md\">\n                    Edit\n                  </button>\n                </Link>\n                <button className=\"bg-green-400 px-4 py-2 rounded-md\">\n                  Update\n                </button>\n              </div>\n              <div className=\"mt-10 md:mt-0\">\n                <h1 className=\"font-bold text-black text-lg\">Note:</h1>\n                <p className=\"mt-2\">\n                  Please adhere to the dimensions catered for in the source\n                  code.{\" \"}\n                </p>\n                <p className=\"mt-2\">Dimensions are 80px by 120px </p>\n              </div>\n            </div>\n          </div>\n        </div>\n      </ContentLayout>\n    </>\n  );\n};\n","/** @format */\n\nimport { Spinner, MDPreview } from \"components/Elements\";\nimport { Head } from \"components/Head\";\nimport { ContentLayout } from \"components/Layout\";\nimport Breadcrumbs from \"components/Layout/Breadcrumbs\";\nimport { useParams } from \"react-router-dom\";\n\nimport { useQuickLink } from \"../api/getQuickLink\";\nimport { UpdateQuickLink } from \"../components/UpdateQuickLink\";\n\nexport const QuickLink = () => {\n\tconst { quicklinkId } = useParams();\n\tconst quickLinkQuery = useQuickLink({ quicklinkId });\n\n\tif (quickLinkQuery.isLoading) {\n\t\treturn (\n\t\t\t<div className=\"w-full h-48 flex justify-center items-center\">\n\t\t\t\t<Spinner size=\"lg\" />\n\t\t\t</div>\n\t\t);\n\t}\n\n\tif (!quickLinkQuery.data) return null;\n\n\tconst routes = [\n\t\t{\n\t\t\tname: \"Quick Links\",\n\t\t\tpath: \"/app/quick-links\",\n\t\t},\n\t\t{\n\t\t\tname: quickLinkQuery.data.title,\n\t\t\tpath: \".\",\n\t\t},\n\t];\n\n\tconsole.log(quickLinkQuery);\n\n\treturn (\n\t\t<>\n\t\t\t<Head title={quickLinkQuery.data.title} />\n\t\t\t<ContentLayout\n\t\t\t\ttitle={quickLinkQuery.data.title}\n\t\t\t\tbutton={<UpdateQuickLink quicklinkId={quicklinkId} />}>\n\t\t\t\t{/* <span className=\"text-xs font-bold bg-green-400 p-1 rounded text-white\">\n\t\t\t\t\t{quickLinkQuery.data.category}\n\t\t\t\t</span> */}\n\t\t\t\t<Breadcrumbs routes={routes} />\n\t\t\t\t<div className=\"mt-6 flex flex-col space-y-16\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<div className=\"bg-white dark:bg-gray-700 shadow overflow-hidden sm:rounded-lg\">\n\t\t\t\t\t\t\t<div className=\"px-4 py-5 sm:px-6\">\n\t\t\t\t\t\t\t\t<div className=\"mt-1 max-w-2xl text-sm text-gray-400 flex flex-wrap\">\n\t\t\t\t\t\t\t\t\t<MDPreview value={quickLinkQuery.data.url} />\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ContentLayout>\n\t\t</>\n\t);\n};\n","// export * from './Settings';\nimport { Navigate, Route, Routes } from \"react-router-dom\";\n\nimport { Settings } from \"./Settings\";\nimport { QuickLinks } from \"./QuickLinks\";\nimport { SocialLinks } from \"./SocialLinks\";\nimport { Logo } from \"./Logo\";\nimport { QuickLink } from \"./QuickLink\";\n// import { EditModal } from \"../components/EditModal\";\n\nexport const SettingsRoutes = () => {\n  return (\n\t\t<Routes>\n\t\t\t<Route path=\"\" element={<Settings />} />\n\t\t\t<Route path=\":quicklinkId\" element={<QuickLink />} />\n\t\t\t<Route path=\"/quick-links\" element={<QuickLinks />} />\n\t\t\t<Route path=\"/social-links\" element={<SocialLinks />} />\n      <Route path=\"/logo\" element={<Logo />} /> \n\t\t\t{/* <Route path=\"./edit\" element={<EditModal />} /> */}\n\t\t\t<Route path=\"*\" element={<Navigate to=\".\" />} />\n\t\t</Routes>\n\t);\n};\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React, { forwardRef } from 'react';\nimport PropTypes from 'prop-types';\nvar ChevronRight = forwardRef(function (_ref, ref) {\n  var _ref$color = _ref.color,\n      color = _ref$color === void 0 ? 'currentColor' : _ref$color,\n      _ref$size = _ref.size,\n      size = _ref$size === void 0 ? 24 : _ref$size,\n      rest = _objectWithoutProperties(_ref, [\"color\", \"size\"]);\n\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    ref: ref,\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: size,\n    height: size,\n    viewBox: \"0 0 24 24\",\n    fill: \"none\",\n    stroke: color,\n    strokeWidth: \"2\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  }, rest), /*#__PURE__*/React.createElement(\"polyline\", {\n    points: \"9 18 15 12 9 6\"\n  }));\n});\nChevronRight.propTypes = {\n  color: PropTypes.string,\n  size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n};\nChevronRight.displayName = 'ChevronRight';\nexport default ChevronRight;","import * as React from \"react\";\n\nfunction PencilIcon(props, svgRef) {\n  return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 20 20\",\n    fill: \"currentColor\",\n    \"aria-hidden\": \"true\",\n    ref: svgRef\n  }, props), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z\"\n  }));\n}\n\nconst ForwardRef = React.forwardRef(PencilIcon);\nexport default ForwardRef;"],"names":["routes","className","to","fill","viewBox","xmlns","d","map","route","index","size","path","name","SettingsList","id","title","setting","content","days","contact","type","Settings","Breadcrumbs","getQuickLinks","axios","deleteQuickLink","quicklinkId","propTypes","PropTypes","DeleteQuickLink","deleteQuickLinkMutation","config","addNotification","useNotificationStore","useMutation","onMutate","deletedQuickLink","queryClient","previousQuickLinks","filter","quicklink","onError","_","__","context","onSuccess","mutationFn","useDeleteQuickLink","isLoading","allowedRoles","ROLES","icon","body","triggerButton","confirmButton","onClick","mutateAsync","faqId","useQuickLink","useQuery","queryKey","queryFn","getQuickLink","updateQuickLink","data","url","isRequired","schema","z","min","UpdateQuickLink","quickLinkQuery","updateQuickLinkMutation","updatingQuickLink","previousQuickLink","useUpdateQuickLink","console","log","Form","sie","isDone","isSuccess","variant","startIcon","PencilIcon","submitButton","form","onSubmit","values","options","defaultValues","register","formState","label","error","errors","registration","QuickLinksList","useParams","quickLinkId","quickLinksQuery","useQuickLinks","columns","field","Cell","entry","QuickLinks","Head","button","SocialLinks","scope","socialLink","Logo","src","alt","QuickLink","value","SettingsRoutes","element","_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","ChevronRight","forwardRef","_ref","ref","_ref$color","color","_ref$size","rest","React","width","height","stroke","strokeWidth","strokeLinecap","strokeLinejoin","points","displayName","ForwardRef","props","svgRef"],"sourceRoot":""}