Current Path : /home/ncdcgo/admin.ncdc.go.ug/static/js/ |
Current File : /home/ncdcgo/admin.ncdc.go.ug/static/js/355.83d29044.chunk.js.map |
{"version":3,"file":"static/js/355.83d29044.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,0QCrCYI,EAAa,SAAC,GAAc,IAAZC,EAAW,EAAXA,KAC3B,OAAOC,EAAAA,EAAAA,KAAA,gBAA4BD,EACpC,EAEDD,EAAWG,UAAY,CACrBF,KAAMG,IAAAA,MAAgB,CACpBL,KAAMK,IAAAA,OAAAA,WACNC,QAASD,IAAAA,OAAAA,WACTE,WAAYF,IAAAA,OAAAA,WACZG,QAASH,IAAAA,OAAAA,WACTI,IAAKJ,IAAAA,OAAAA,WACLK,OAAQL,IAAAA,OAAAA,WACRM,MAAON,IAAAA,OAAAA,WACPO,KAAMP,IAAAA,OAAAA,WACNQ,SAAUR,IAAAA,OAAAA,aACTS,YAGE,I,SChBDC,EAASC,EAAAA,GAAS,CACtBhB,KAAMgB,EAAAA,KAAWC,IAAI,EAAG,YACxBX,QAASU,EAAAA,KAAWC,IAAI,EAAG,YAC3BV,WAAYS,EAAAA,KAAWC,IAAI,EAAG,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C3DtH,MAAO,6BACPF,KAAM,OACNC,QAAS,YACTwJ,YAAa,EACbD,OAAQ,eACR,cAAe,OACfR,IAAKgB,GACJD,GAAqBV,EAAAA,cAAoB,OAAQ,CAClDK,cAAe,QACfC,eAAgB,QAChBxJ,EAAG,mBAEN,IAGD,K,oCCDA,IAAM2J,EAAaT,EAAAA,YAhBnB,SAAmBU,EAAOC,GACxB,OAAoBX,EAAAA,cAAoB,MAAO9B,OAAOC,OAAO,CAC3DtH,MAAO,6BACPF,KAAM,OACNC,QAAS,YACTwJ,YAAa,EACbD,OAAQ,eACR,cAAe,OACfR,IAAKgB,GACJD,GAAqBV,EAAAA,cAAoB,OAAQ,CAClDK,cAAe,QACfC,eAAgB,QAChBxJ,EAAG,iIAEN,IAGD,K,qCCLA,IAAM2J,EAAaT,EAAAA,YAZnB,SAAoBU,EAAOC,GACzB,OAAoBX,EAAAA,cAAoB,MAAO9B,OAAOC,OAAO,CAC3DtH,MAAO,6BACPD,QAAS,YACTD,KAAM,eACN,cAAe,OACfgJ,IAAKgB,GACJD,GAAqBV,EAAAA,cAAoB,OAAQ,CAClDlJ,EAAG,4HAEN,IAGD,K","sources":["components/Layout/Breadcrumbs.jsx","features/users/api/createUser.js","features/users/components/CreateUser.jsx","features/users/api/getUsers.js","features/users/api/deleteUser.js","features/users/components/DeleteUser.jsx","features/users/components/UsersList.jsx","features/users/routes/Users.jsx","features/users/api/updateProfile.js","features/users/components/UpdateProfile.jsx","features/users/routes/Profile.jsx","../node_modules/react-feather/dist/icons/chevron-right.js","../node_modules/@heroicons/react/outline/esm/PlusIcon.js","../node_modules/@heroicons/react/outline/esm/TrashIcon.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 { 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 createUser = ({ data }) => {\n return axios.post(`/users/create`, data);\n};\n\ncreateUser.propTypes = {\n data: PropTypes.shape({\n name: PropTypes.string.isRequired,\n address: PropTypes.string.isRequired,\n occupation: PropTypes.string.isRequired,\n country: PropTypes.string.isRequired,\n dob: PropTypes.string.isRequired,\n gender: PropTypes.string.isRequired,\n email: PropTypes.string.isRequired,\n role: PropTypes.string.isRequired,\n password: PropTypes.string.isRequired,\n }).isRequired,\n};\n\nexport const useCreateUser = ({ config } = {}) => {\n const { addNotification } = useNotificationStore();\n return useMutation({\n onMutate: async (newUser) => {\n await queryClient.cancelQueries('users');\n\n const previousUsers = queryClient.getQueryData('users');\n\n queryClient.setQueryData('users', [...(previousUsers || []), newUser.data]);\n\n return { previousUsers };\n },\n onError: (_, __, context) => {\n if (context?.previousUsers) {\n queryClient.setQueryData('users', context.previousUsers);\n }\n },\n onSuccess: () => {\n queryClient.invalidateQueries('users');\n addNotification({\n type: 'success',\n title: 'User Created',\n });\n },\n ...config,\n mutationFn: createUser,\n });\n};\n","import { Button } from \"components/Elements\";\nimport { Form, FormDrawer, InputField, SelectField } from \"components/Form\";\nimport { Authorization, ROLES } from \"lib/authorization\";\nimport { PlusIcon } from \"@heroicons/react/outline\";\nimport * as z from \"zod\";\n\nimport { useCreateUser } from \"../api/createUser\";\n\nconst schema = z.object({\n name: z.string().min(1, \"Required\"),\n address: z.string().min(1, \"Required\"),\n occupation: z.string().min(1, \"Required\"),\n country: z.string().min(1, \"Required\"),\n dob: z.string().min(1, \"Required\"),\n email: z.string().min(1, \"Required\"),\n role: z.string().min(1, \"Required\"),\n password: z.string().min(1, \"Required\"),\n});\n\nexport const CreateUser = () => {\n const createUserMutation = useCreateUser();\n\n const rolesQuery = [\n { label: \"Admin\", value: ROLES.ADMIN },\n { label: \"Developer\", value: ROLES.DEVELOPER },\n { label: \"HR\", value: ROLES.HR },\n { label: \"Marketing\", value: ROLES.MARKETING },\n { label: \"PR\", value: ROLES.PR },\n ];\n\n const gendersQuery = [\n { label: \"Male\", value: \"Male\" },\n { label: \"Female\", value: \"Female\" },\n ];\n\n return (\n <Authorization allowedRoles={[ROLES.ADMIN]}>\n <FormDrawer\n size=\"sm\"\n isDone={createUserMutation.isSuccess}\n triggerButton={\n <Button\n variant=\"create\"\n size=\"sm\"\n startIcon={<PlusIcon className=\"h-4 w-4\" />}\n >\n Create User\n </Button>\n }\n title=\"Create User\"\n submitButton={\n <Button\n form=\"create-user\"\n type=\"submit\"\n size=\"sm\"\n isLoading={createUserMutation.isLoading}\n >\n Submit\n </Button>\n }\n >\n <Form\n id=\"create-user\"\n onSubmit={async (values) => {\n await createUserMutation.mutateAsync({ data: values });\n }}\n schema={schema}\n >\n {({ register, formState }) => (\n <>\n <InputField\n type=\"text\"\n label=\"Name\"\n error={formState.errors[\"name\"]}\n registration={register(\"name\")}\n />\n <InputField\n type=\"text\"\n label=\"Physical Address\"\n error={formState.errors[\"address\"]}\n registration={register(\"address\")}\n />\n <InputField\n label=\"Occupation\"\n error={formState.errors[\"occupation\"]}\n registration={register(\"occupation\")}\n />\n <InputField\n label=\"Country\"\n error={formState.errors[\"country\"]}\n registration={register(\"country\")}\n />\n <InputField\n type=\"date\"\n label=\"Date of Birth\"\n error={formState.errors[\"dob\"]}\n registration={register(\"dob\")}\n />\n <InputField\n type=\"email\"\n label=\"Email\"\n error={formState.errors[\"email\"]}\n registration={register(\"email\")}\n />\n <SelectField\n label=\"Gender\"\n error={formState.errors[\"gender\"]}\n registration={register(\"gender\")}\n options={gendersQuery?.map((gender) => ({\n label: gender.label,\n value: gender.value,\n }))}\n />\n <SelectField\n label=\"Role\"\n error={formState.errors[\"role\"]}\n registration={register(\"role\")}\n options={rolesQuery?.map((role) => ({\n label: role.label,\n value: role.value,\n }))}\n />\n <InputField\n label=\"Password\"\n type=\"password\"\n error={formState.errors[\"password\"]}\n registration={register(\"password\")}\n />\n </>\n )}\n </Form>\n </FormDrawer>\n </Authorization>\n );\n};\n","import { axios } from 'lib/axios';\nimport { useQuery } from 'react-query';\n\nexport const getUsers = () => {\n return axios.get(`/users`);\n};\n\nexport const useUsers = ({ config } = {}) => {\n return useQuery({\n ...config,\n queryKey: ['users'],\n queryFn: () => getUsers(),\n });\n};\n","import { 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 deleteUser = ({ userId }) => {\n return axios.delete(`/users/${userId}`);\n};\n\ndeleteUser.propTypes = {\n userId: PropTypes.string.isRequired,\n};\n\nexport const useDeleteUser = ({ config } = {}) => {\n const { addNotification } = useNotificationStore();\n\n return useMutation({\n onMutate: async (deletedUser) => {\n await queryClient.cancelQueries('users');\n\n const previousUsers = queryClient.getQueryData('users');\n\n queryClient.setQueryData(\n 'users',\n previousUsers?.filter((discussion) => discussion.id !== deletedUser.userId)\n );\n\n return { previousUsers };\n },\n onError: (_, __, context) => {\n if (context?.previousUsers) {\n queryClient.setQueryData('users', context.previousUsers);\n }\n },\n onSuccess: () => {\n queryClient.invalidateQueries('users');\n addNotification({\n type: 'success',\n title: 'User Deleted',\n });\n },\n ...config,\n mutationFn: deleteUser,\n });\n};\n","import { Button, ConfirmationDialog } from \"components/Elements\";\nimport { useAuth } from \"lib/auth\";\nimport { TrashIcon } from \"@heroicons/react/outline\";\nimport PropTypes from \"prop-types\";\n\nimport { useDeleteUser } from \"../api/deleteUser\";\n\nexport const DeleteUser = ({ id }) => {\n const { user } = useAuth();\n const deleteUserMutation = useDeleteUser();\n\n if (user?.id === id) return null;\n\n return (\n <ConfirmationDialog\n icon=\"danger\"\n title=\"Delete User\"\n body=\"Are you sure you want to delete this user?\"\n triggerButton={\n <Button variant=\"danger\">\n <TrashIcon className=\"h-4 w-4\" />\n </Button>\n }\n confirmButton={\n <Button\n isLoading={deleteUserMutation.isLoading}\n type=\"button\"\n className=\"bg-red-600\"\n onClick={() => deleteUserMutation.mutate({ userId: id })}\n >\n Delete User\n </Button>\n }\n />\n );\n};\n\nDeleteUser.propTypes = {\n id: PropTypes.string.isRequired,\n};\n","import { Table, Spinner } from 'components/Elements';\nimport { formatDate } from 'utils/format';\n\nimport { useUsers } from '../api/getUsers';\n\nimport { DeleteUser } from './DeleteUser';\n\nexport const UsersList = () => {\n const usersQuery = useUsers();\n\n if (usersQuery.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 (!usersQuery.data) return null;\n\n return (\n <Table\n data={usersQuery.data}\n \n columns={[\n {\n title: 'Name',\n field: 'name',\n },\n {\n title: 'Email',\n field: 'email',\n },\n {\n title: 'Role',\n field: 'role',\n },\n {\n title: 'Created At',\n field: 'createdAt',\n Cell({ entry: { createdAt } }) {\n return <span>{formatDate(createdAt)}</span>;\n },\n },\n {\n title: '',\n field: 'id',\n Cell({ entry: { _id } }) {\n return <DeleteUser id={_id} />;\n },\n },\n ]}\n />\n );\n};\n","import { ContentLayout } from 'components/Layout';\nimport { Authorization, ROLES } from 'lib/authorization';\nimport Breadcrumbs from \"components/Layout/Breadcrumbs\";\n\n\nimport { CreateUser } from '../components/CreateUser';\nimport { UsersList } from '../components/UsersList';\n\nexport const Users = () => {\n const routes = [\n {\n name: \"Users\",\n path: \".\",\n },\n ];\n return (\n <ContentLayout title=\"Users\" button={<CreateUser />}>\n <Breadcrumbs routes={routes} />\n\n <div className=\"mt-4\">\n <Authorization\n forbiddenFallback={<div>Only admin can view this.</div>}\n allowedRoles={[ROLES.ADMIN]}\n >\n <UsersList />\n </Authorization>\n </div>\n </ContentLayout>\n );\n};\n","import { useAuth } from 'lib/auth';\nimport { axios } from 'lib/axios';\nimport { useNotificationStore } from 'stores/notifications';\nimport PropTypes from 'prop-types';\nimport { useMutation } from 'react-query';\n\nexport const updateProfile = ({ data }) => {\n return axios.patch(`/users/profile`, data);\n};\n\nupdateProfile.propTypes = {\n data: PropTypes.shape({\n name: PropTypes.string.isRequired,\n address: PropTypes.string.isRequired,\n occupation: PropTypes.string.isRequired,\n country: PropTypes.string.isRequired,\n dob: PropTypes.string.isRequired,\n email: PropTypes.string.isRequired,\n role: PropTypes.string.isRequired,\n }).isRequired,\n};\n\nexport const useUpdateProfile = ({ config } = {}) => {\n const { addNotification } = useNotificationStore();\n const { refetchUser } = useAuth();\n return useMutation({\n onSuccess: () => {\n addNotification({\n type: 'success',\n title: 'User Updated',\n });\n refetchUser();\n },\n ...config,\n mutationFn: updateProfile,\n });\n};\n","import { Button } from \"components/Elements\";\nimport { Form, FormDrawer, InputField, SelectField } from \"components/Form\";\nimport { useAuth } from \"lib/auth\";\nimport { ROLES } from \"lib/authorization\";\nimport { PencilIcon } from \"@heroicons/react/solid\";\nimport * as z from \"zod\";\n\nimport { useUpdateProfile } from \"../api/updateProfile\";\n\nconst schema = z.object({\n name: z.string().min(1, \"Required\"),\n gender: z.string().min(1, \"Required\"),\n address: z.string().min(1, \"Required\"),\n designation: z.string().min(1, \"Required\"),\n country: z.string().min(1, \"Required\"),\n dob: z.string().min(1, \"Required\"),\n email: z.string().min(1, \"Required\"),\n role: z.string().min(1, \"Required\"),\n});\n\nconst rolesQuery = [\n { label: \"Admin\", value: ROLES.ADMIN },\n { label: \"Developer\", value: ROLES.DEVELOPER },\n { label: \"HR\", value: ROLES.HR },\n { label: \"Marketing\", value: ROLES.MARKETING },\n { label: \"PR\", value: ROLES.PR },\n];\n\nconst gendersQuery = [\n { label: \"Male\", value: \"Male\" },\n { label: \"Female\", value: \"Female\" },\n];\n\nexport const UpdateProfile = () => {\n const { user } = useAuth();\n const updateProfileMutation = useUpdateProfile();\n\n return (\n <FormDrawer\n isDone={updateProfileMutation.isSuccess}\n triggerButton={\n <Button startIcon={<PencilIcon className=\"h-4 w-4\" />} size=\"sm\">\n Update Profile\n </Button>\n }\n title=\"Update Profile\"\n submitButton={\n <Button\n form=\"update-profile\"\n type=\"submit\"\n size=\"sm\"\n isLoading={updateProfileMutation.isLoading}\n >\n Submit\n </Button>\n }\n >\n <Form\n id=\"update-profile\"\n onSubmit={async (values) => {\n await updateProfileMutation.mutateAsync({ data: values });\n }}\n options={{\n defaultValues: {\n name: user?.name,\n gender: user?.gender,\n email: user?.email,\n address: user?.address,\n designation: user?.designation,\n country: user?.country,\n dob: user?.dob,\n role: user?.role,\n },\n }}\n schema={schema}\n >\n {({ register, formState }) => (\n <>\n <InputField\n type=\"text\"\n label=\"Name\"\n error={formState.errors[\"name\"]}\n registration={register(\"name\")}\n />\n <InputField\n type=\"text\"\n label=\"Physical Address\"\n error={formState.errors[\"address\"]}\n registration={register(\"address\")}\n />\n <InputField\n label=\"Designation\"\n error={formState.errors[\"designation\"]}\n registration={register(\"designation\")}\n />\n <InputField\n label=\"Country\"\n error={formState.errors[\"country\"]}\n registration={register(\"country\")}\n />\n <InputField\n type=\"date\"\n label=\"Date of Birth\"\n error={formState.errors[\"dob\"]}\n registration={register(\"dob\")}\n />\n <InputField\n label=\"Email\"\n error={formState.errors[\"email\"]}\n registration={register(\"email\")}\n />\n <SelectField\n label=\"Gender\"\n error={formState.errors[\"gender\"]}\n registration={register(\"gender\")}\n options={gendersQuery?.map((gender) => ({\n label: gender.label,\n value: gender.value,\n }))}\n />\n <SelectField\n label=\"Role\"\n error={formState.errors[\"role\"]}\n registration={register(\"role\")}\n options={rolesQuery?.map((role) => ({\n label: role.label,\n value: role.value,\n }))}\n />\n </>\n )}\n </Form>\n </FormDrawer>\n );\n};\n","import { ContentLayout } from \"components/Layout\";\nimport { useAuth } from \"lib/auth\";\nimport PropTypes from \"prop-types\";\n\nimport { UpdateProfile } from \"../components/UpdateProfile\";\n\nconst Entry = ({ label, value }) => (\n <div className=\"py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6\">\n <dt className=\"text-sm font-medium text-gray-500\">{label}</dt>\n <dd className=\"mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2\">\n {value}\n </dd>\n </div>\n);\n\nEntry.propTypes = {\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n};\n\nexport const Profile = () => {\n const { user } = useAuth();\n\n console.log(user);\n\n if (!user) return null;\n\n return (\n <ContentLayout title=\"Profile\" button={<UpdateProfile />}>\n <div className=\"bg-white shadow mt-4 overflow-hidden sm:rounded-lg\">\n <div className=\"px-4 py-5 sm:px-6\">\n <p className=\"mt-1 max-w-2xl text-sm text-gray-500\">\n Personal details of the user.\n </p>\n </div>\n <div className=\"border-t border-gray-200 px-4 py-5 sm:p-0\">\n <dl className=\"sm:divide-y sm:divide-gray-200\">\n <Entry label=\"Name\" value={user.name} />\n <Entry label=\"Gender\" value={user.gender} />\n <Entry label=\"Physical Address\" value={user.address} />\n <Entry label=\"Occupation\" value={user.occupation} />\n <Entry label=\"Date of Birth\" value={user.dob} />\n <Entry label=\"Email Address\" value={user.email} />\n <Entry label=\"Role\" value={user.role} />\n </dl>\n </div>\n </div>\n </ContentLayout>\n );\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 PlusIcon(props, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 2,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n ref: svgRef\n }, props), /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"M12 4v16m8-8H4\"\n }));\n}\n\nconst ForwardRef = React.forwardRef(PlusIcon);\nexport default ForwardRef;","import * as React from \"react\";\n\nfunction TrashIcon(props, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 2,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n ref: svgRef\n }, props), /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16\"\n }));\n}\n\nconst ForwardRef = React.forwardRef(TrashIcon);\nexport default ForwardRef;","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","createUser","data","axios","propTypes","PropTypes","address","occupation","country","dob","gender","email","role","password","isRequired","schema","z","min","CreateUser","createUserMutation","config","addNotification","useNotificationStore","useMutation","onMutate","newUser","queryClient","previousUsers","onError","_","__","context","onSuccess","type","title","mutationFn","useCreateUser","rolesQuery","label","value","ROLES","gendersQuery","allowedRoles","Form","isDone","isSuccess","triggerButton","variant","startIcon","PlusIcon","submitButton","form","isLoading","id","onSubmit","values","mutateAsync","register","formState","error","errors","registration","options","getUsers","deleteUser","userId","DeleteUser","user","useAuth","deleteUserMutation","deletedUser","filter","discussion","useDeleteUser","icon","body","TrashIcon","confirmButton","onClick","mutate","UsersList","usersQuery","useQuery","queryKey","queryFn","useUsers","columns","field","Cell","createdAt","entry","formatDate","_id","Users","button","Breadcrumbs","forbiddenFallback","updateProfile","designation","UpdateProfile","updateProfileMutation","refetchUser","useUpdateProfile","PencilIcon","defaultValues","Entry","Profile","console","log","_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":""}