Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
Resources menu + profile + notes (#12)
Brad Barbin6eb18792f403
diff --git a/README.md b/README.mdindex d7af5d33a5..e215e2963d 100644--- a/README.md+++ b/README.md@@ -120,6 +120,6 @@ to the `package.json`:```{-"@carbon/react": "*"+ "@carbon/react": "*"}```diff --git a/apps/carbon/app/components/Form/Submit.tsx b/apps/carbon/app/components/Form/Submit.tsxindex 4b867a63e8..09943992cf 100644--- a/apps/carbon/app/components/Form/Submit.tsx+++ b/apps/carbon/app/components/Form/Submit.tsx@@ -16,7 +16,7 @@ export const Submit = ({size="md"colorScheme="brand"isLoading={isSubmitting || props.isLoading}- disabled={isSubmitting || props.disabled}+ isDisabled={isSubmitting || props.isDisabled}{...props}>{children}diff --git a/apps/carbon/app/components/Form/Textarea.tsx b/apps/carbon/app/components/Form/Textarea.tsxindex a95f7a166b..efc592f803 100644--- a/apps/carbon/app/components/Form/Textarea.tsx+++ b/apps/carbon/app/components/Form/Textarea.tsx@@ -1,3 +1,4 @@+import { useColor } from "@carbon/react";import type { TextareaProps } from "@chakra-ui/react";import {FormControl,@@ -37,6 +38,7 @@ const TextArea = forwardRef<HTMLTextAreaElement, FormTextArea>(id: name,...rest,})}+ bg={useColor("white")}maxLength={characterLimit}onChange={onChange}/>diff --git a/apps/carbon/app/components/Layout/Sidebar/CollapsibleSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/CollapsibleSidebar.tsxindex 8527376805..5854ea670e 100644--- a/apps/carbon/app/components/Layout/Sidebar/CollapsibleSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/CollapsibleSidebar.tsx@@ -43,7 +43,7 @@ export const CollapsibleSidebar = ({ children }: PropsWithChildren<{}>) => {borderColor={useColor("gray.200")}position="absolute"pl={2}- bottom="60px"+ top="calc(100vh - 135px)"color={useColor("gray.700")}right="-32px"left="auto"diff --git a/apps/carbon/app/components/Layout/Sidebar/ContentSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/ContentSidebar.tsxindex f1c9addd83..42014b5b14 100644--- a/apps/carbon/app/components/Layout/Sidebar/ContentSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/ContentSidebar.tsx@@ -33,9 +33,6 @@ const ContentSidebar = ({ links }: { links: Route[] }) => {as={Link}to={route.to}variant={isActive ? "solid" : "ghost"}- borderColor={isActive ? borderColor : "transparent"}- borderStyle="solid"- borderWidth={1}fontWeight={isActive ? "bold" : "normal"}justifyContent="start"w="full"diff --git a/apps/carbon/app/components/Layout/Sidebar/GroupContentSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/GroupedContentSidebar.tsxsimilarity index 89%rename from apps/carbon/app/components/Layout/Sidebar/GroupContentSidebar.tsxrename to apps/carbon/app/components/Layout/Sidebar/GroupedContentSidebar.tsxindex bbf12b7b37..f10185b367 100644--- a/apps/carbon/app/components/Layout/Sidebar/GroupContentSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/GroupedContentSidebar.tsx@@ -26,7 +26,7 @@ const GroupedContentSidebar = ({ groups }: { groups: RouteGroup[] }) => {py={4}w="full">- <Text color={labelColor} fontSize="sm" pl={3} py={1}>+ <Text color={labelColor} fontSize="xs" pl={3} py={1}>{group.name}</Text>{group.routes.map((route) => {@@ -39,10 +39,8 @@ const GroupedContentSidebar = ({ groups }: { groups: RouteGroup[] }) => {as={Link}to={route.to}variant={isActive ? "solid" : "ghost"}- borderColor={isActive ? borderColor : "transparent"}- borderStyle="solid"- borderWidth={1}fontWeight={isActive ? "bold" : "normal"}+ leftIcon={route.icon}justifyContent="start"w="full">diff --git a/apps/carbon/app/components/Layout/Sidebar/index.ts b/apps/carbon/app/components/Layout/Sidebar/index.tsindex 4a60747df2..afeac5bf34 100644--- a/apps/carbon/app/components/Layout/Sidebar/index.ts+++ b/apps/carbon/app/components/Layout/Sidebar/index.ts@@ -1,5 +1,5 @@import ContentSidebar from "./ContentSidebar";-import GroupedContentSidebar from "./GroupContentSidebar";+import GroupedContentSidebar from "./GroupedContentSidebar";import IconSidebar from "./IconSidebar";import MultiTabSidebar from "./MultiTabSidebar";diff --git a/apps/carbon/app/components/Layout/Sidebar/useSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/useSidebar.tsxindex b4fa97145d..ba50183ef0 100644--- a/apps/carbon/app/components/Layout/Sidebar/useSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/useSidebar.tsx@@ -69,9 +69,9 @@ const sidebarItems: Authenticated<NavItem>[] = [icon: <BiMessage />,},{- permission: "people",- name: "People",- to: "/x/people",+ permission: "resources",+ name: "Resources",+ to: "/x/resources",icon: <BsPeopleFill />,},{diff --git a/apps/carbon/app/components/Layout/Topbar/Topbar.tsx b/apps/carbon/app/components/Layout/Topbar/Topbar.tsxindex 402d1ae7ba..7dfa624ede 100644--- a/apps/carbon/app/components/Layout/Topbar/Topbar.tsx+++ b/apps/carbon/app/components/Layout/Topbar/Topbar.tsx@@ -37,9 +37,6 @@ const Topbar = () => {colorScheme="gray"leftIcon={<BiHelpCircle />}variant="solid"- border={1}- borderColor={borderColor}- borderStyle="solid">Help</Button>@@ -53,9 +50,6 @@ const Topbar = () => {colorScheme="gray"leftIcon={<BsChatSquare />}variant="solid"- border={1}- borderColor={borderColor}- borderStyle="solid">Feedback</Button>diff --git a/apps/carbon/app/components/Layout/Topbar/useBreadcrumbs.tsx b/apps/carbon/app/components/Layout/Topbar/useBreadcrumbs.tsxindex bd1f32b874..ada76e419e 100644--- a/apps/carbon/app/components/Layout/Topbar/useBreadcrumbs.tsx+++ b/apps/carbon/app/components/Layout/Topbar/useBreadcrumbs.tsx@@ -9,127 +9,137 @@ export default function useBreadcrumbs(): Route[] {switch (match.id) {case "root":return acc.concat({ to: "/x", name: "Home", icon: <IoHomeSharp /> });- case "routes/x.account":+ case "routes/x+/account":return acc.concat({name: "Account",to: match.pathname,});- case "routes/x.account.profile":+ case "routes/x+/account.profile":return acc.concat({name: "Profile",to: match.pathname,});- case "routes/x.account.personal":+ case "routes/x+/account.personal":return acc.concat({name: "Personal",to: match.pathname,});- case "routes/x.account.password":+ case "routes/x+/account.password":return acc.concat({name: "Password",to: match.pathname,});- case "routes/x.account.notifications":+ case "routes/x+/account.notifications":return acc.concat({name: "Notifications",to: match.pathname,});- case "routes/x.account.security":+ case "routes/x+/account.security":return acc.concat({name: "Security",to: match.pathname,});- case "routes/x.account.settings":+ case "routes/x+/account.settings":return acc.concat({name: "Settings",to: match.pathname,});- case "routes/x.parts":+ case "routes/x+/parts":return acc.concat({name: "Parts",to: match.pathname,});- case "routes/x.people":+ case "routes/x+/resources":+ return acc.concat({+ name: "Resources",+ to: match.pathname,+ });+ case "routes/x+/resources.people":return acc.concat({name: "People",to: match.pathname,});- case "routes/x.people.attributes":+ case "routes/x+/resources.person.$personId":+ return acc.concat({+ name: "People",+ to: "/x/resources/people",+ });+ case "routes/x+/resources.attributes":return acc.concat({name: "Attributes",to: match.pathname,});- case "routes/x.purchasing":+ case "routes/x+/purchasing":return acc.concat({name: "Purchasing",to: match.pathname,});- case "routes/x.purchasing.suppliers":+ case "routes/x+/purchasing.suppliers":return acc.concat({name: "Suppliers",to: match.pathname,});- case "routes/x.purchasing.supplier-types":+ case "routes/x+/purchasing.supplier-types":return acc.concat({name: "Supplier Types",to: match.pathname,});- case "routes/x.sales":+ case "routes/x+/sales":return acc.concat({name: "Sales",to: match.pathname,});- case "routes/x.sales.customers":+ case "routes/x+/sales.customers":return acc.concat({name: "Customers",to: match.pathname,});- case "routes/x.sales.customer-types":+ case "routes/x+/sales.customer-types":return acc.concat({name: "Customer Types",to: match.pathname,});- case "routes/x.users":+ case "routes/x+/users":return acc.concat({name: "Users",to: match.pathname,});- case "routes/x.users.attributes":+ case "routes/x+/users.attributes":return acc.concat({name: "Attributes",to: match.pathname,});- case "routes/x.users.employees":+ case "routes/x+/users.employees":return acc.concat({name: "Employees",to: match.pathname,});- case "routes/x.users.employee-types":+ case "routes/x+/users.employee-types":return acc.concat({name: "Employee Types",to: match.pathname,});- case "routes/x.users.customers":+ case "routes/x+/users.customers":return acc.concat({name: "Customers",to: match.pathname,});- case "routes/x.users.suppliers":+ case "routes/x+/users.suppliers":return acc.concat({name: "Suppliers",to: match.pathname,});- case "routes/x.users.groups":+ case "routes/x+/users.groups":return acc.concat({name: "Groups",to: match.pathname,});- case "routes/x.users.$personId":+ case "routes/x+/users.$personId":return acc.concat({name: match.params.personId!,- to: `app.users.${match.params.personId}`,+ to: `/x/users/${match.params.personId}`,});- case "routes/x.users.new":+ case "routes/x+/users.new":return acc.concat({name: "New",to: match.pathname,diff --git a/apps/carbon/app/components/Search/Search/Search.tsx b/apps/carbon/app/components/Search/Search/Search.tsxindex 7e1abb0e80..68bffcf1b9 100644--- a/apps/carbon/app/components/Search/Search/Search.tsx+++ b/apps/carbon/app/components/Search/Search/Search.tsx@@ -35,7 +35,8 @@ type SearchResult = {id: number;name: string;entity:- | "People"+ | "Person"+ | "Resource"| "Customer"| "Supplier"| "Job"@@ -81,6 +82,8 @@ const SearchModal = ({? tokens.map((token) => `"${token}"`).join(" <-> "): q;+ console.log(supabase);+const result = await supabase?.from("search").select()@@ -243,7 +246,9 @@ function ResultIcon({ entity }: { entity: SearchResult["entity"] }) {return <Icon as={BiListCheck} {...resultIconProps} />;case "Part":return <Icon as={AiOutlinePartition} {...resultIconProps} />;- case "People":+ case "Person":+ return <Icon as={CgProfile} {...resultIconProps} />;+ case "Resource":return <Icon as={CgProfile} {...resultIconProps} />;case "Purchase Order":return <Icon as={BsCartDash} {...resultIconProps} />;diff --git a/apps/carbon/app/components/Selectors/UserSelect/components/Input.tsx b/apps/carbon/app/components/Selectors/UserSelect/components/Input.tsxindex 4cba0568ca..2d58c15507 100644--- a/apps/carbon/app/components/Selectors/UserSelect/components/Input.tsx+++ b/apps/carbon/app/components/Selectors/UserSelect/components/Input.tsx@@ -46,7 +46,7 @@ const SelectInput = () => {id={`${instanceId}:UserSelectionInput:searchInput:${testID}`}data-testid={`UserSelectionInput:searchInput:${testID}`}readOnly={disabled}- disabled={disabled}+ isDisabled={disabled}onBlur={onInputBlur}onChange={onInputChange}onFocus={onInputFocus}diff --git a/apps/carbon/app/components/Table/Table.tsx b/apps/carbon/app/components/Table/Table.tsxindex 8cc953dd54..35d5734f9b 100644--- a/apps/carbon/app/components/Table/Table.tsx+++ b/apps/carbon/app/components/Table/Table.tsx@@ -31,7 +31,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react";import { useVirtual } from "react-virtual";import { AiFillCaretUp, AiFillCaretDown } from "react-icons/ai";import {- Header,+ TableHeader,IndeterminateCheckbox,Pagination,// Td,@@ -78,7 +78,7 @@ const Table = <T extends object>({editableComponents = {},defaultColumnOrder = [],defaultColumnPinning = {- left: ["select"],+ left: ["Select"],},defaultColumnVisibility = {},withFilters = false,@@ -409,7 +409,7 @@ const Table = <T extends object>({return (<VStack w="full" h="full" spacing={0}>{(withColumnOrdering || withFilters || withSelectableRows) && (- <Header+ <TableHeaderactions={actions}columnAccessors={columnAccessors}columnOrder={columnOrder}@@ -429,6 +429,7 @@ const Table = <T extends object>({<Boxw="full"h="full"+ bg={useColor("white")}overflow="scroll"style={{ contain: "strict" }}ref={tableContainerRef}@@ -477,7 +478,7 @@ const Table = <T extends object>({py={2}whiteSpace="nowrap">- {!header.isPlaceholder ? null : (+ {header.isPlaceholder ? null : (<Flexjustify="flex-start"align="center"@@ -672,7 +673,7 @@ const Table = <T extends object>({function getRowSelectionColumn<T>(): ColumnDef<T>[] {return [{- id: "select",+ id: "Select",size: 40,header: ({ table }) => (<IndeterminateCheckboxdiff --git a/apps/carbon/app/components/Table/components/Actions/Actions.tsx b/apps/carbon/app/components/Table/components/Actions/Actions.tsxindex 7f0de14862..6fc390cd2c 100644--- a/apps/carbon/app/components/Table/components/Actions/Actions.tsx+++ b/apps/carbon/app/components/Table/components/Actions/Actions.tsx@@ -11,13 +11,13 @@ const Actions = <T extends Object>({actions,selectedRows,}: ActionsProps<T>) => {+ const disabled = selectedRows.length === 0;return (<Menu isLazy><MenuButtonas={Button}leftIcon={<IoMdCheckboxOutline />}- disabled={selectedRows.length === 0}- colorScheme={selectedRows.length === 0 ? "gray" : "brand"}+ colorScheme={disabled ? "gray" : "brand"}variant="ghost">Actions@@ -27,7 +27,7 @@ const Actions = <T extends Object>({<MenuItemkey={action.label}onClick={() => action.onClick(selectedRows)}- disabled={action.disabled}+ isDisabled={disabled || action.disabled}icon={action.icon}>{action.label}diff --git a/apps/carbon/app/components/Table/components/Header/index.ts b/apps/carbon/app/components/Table/components/Header/index.tsdeleted file mode 100644index 0d87fe1295..0000000000--- a/apps/carbon/app/components/Table/components/Header/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import Header from "./Header";--export default Header;diff --git a/apps/carbon/app/components/Table/components/Pagination/Pagination.tsx b/apps/carbon/app/components/Table/components/Pagination/Pagination.tsxindex 1d8998c607..111f20cbdd 100644--- a/apps/carbon/app/components/Table/components/Pagination/Pagination.tsx+++ b/apps/carbon/app/components/Table/components/Pagination/Pagination.tsx@@ -96,13 +96,13 @@ export const PaginationButtons = ({<IconButtonaria-label="Previous"icon={<BsChevronLeft />}- disabled={!canPreviousPage}+ isDisabled={!canPreviousPage}onClick={previousPage}/><IconButtonaria-label="Next"icon={<BsChevronRight />}- disabled={!canNextPage}+ isDisabled={!canNextPage}onClick={nextPage}/></>@@ -113,14 +113,14 @@ export const PaginationButtons = ({of {count}</Flex><Button- disabled={!canPreviousPage}+ isDisabled={!canPreviousPage}onClick={previousPage}leftIcon={<BsChevronLeft />}>Previous</Button><Button- disabled={!canNextPage}+ isDisabled={!canNextPage}onClick={nextPage}rightIcon={<BsChevronRight />}>diff --git a/apps/carbon/app/components/Table/components/Header/Header.tsx b/apps/carbon/app/components/Table/components/TableHeader/TableHeader.tsxsimilarity index 97%rename from apps/carbon/app/components/Table/components/Header/Header.tsxrename to apps/carbon/app/components/Table/components/TableHeader/TableHeader.tsxindex afb9c5ea3b..cf3c620f7d 100644--- a/apps/carbon/app/components/Table/components/Header/Header.tsx+++ b/apps/carbon/app/components/Table/components/TableHeader/TableHeader.tsx@@ -28,7 +28,7 @@ type HeaderProps<T> = {withSelectableRows: boolean;};-const Header = <T extends object>({+const TableHeader = <T extends object>({actions,columnAccessors,columnOrder,@@ -102,4 +102,4 @@ const Header = <T extends object>({);};-export default Header;+export default TableHeader;diff --git a/apps/carbon/app/components/Table/components/TableHeader/index.ts b/apps/carbon/app/components/Table/components/TableHeader/index.tsnew file mode 100644index 0000000000..dfff3d17ac--- /dev/null+++ b/apps/carbon/app/components/Table/components/TableHeader/index.ts@@ -0,0 +1,3 @@+import TableHeader from "./TableHeader";++export default TableHeader;diff --git a/apps/carbon/app/components/Table/components/index.ts b/apps/carbon/app/components/Table/components/index.tsindex 970bf889a1..ef990dded6 100644--- a/apps/carbon/app/components/Table/components/index.ts+++ b/apps/carbon/app/components/Table/components/index.ts@@ -1,6 +1,6 @@import { Td, Th, Tr, spring } from "./Animations";import Cell from "./Cell";-import Header from "./Header";+import TableHeader from "./TableHeader";import IndeterminateCheckbox from "./IndeterminateCheckbox";import { Pagination, usePagination } from "./Pagination";import Row from "./Row";@@ -8,10 +8,10 @@ import { useSort } from "./Sort";export {Cell,- Header,IndeterminateCheckbox,Pagination,Row,+ TableHeader,Tr,Td,Th,diff --git a/apps/carbon/app/interfaces/Account/Password/PasswordForm/PasswordForm.tsx b/apps/carbon/app/interfaces/Account/Password/PasswordForm/PasswordForm.tsxindex 75d7457e14..7630ef2a14 100644--- a/apps/carbon/app/interfaces/Account/Password/PasswordForm/PasswordForm.tsx+++ b/apps/carbon/app/interfaces/Account/Password/PasswordForm/PasswordForm.tsx@@ -40,7 +40,7 @@ const PasswordForm = () => {name="confirmPassword"label="Confirm Password"/>- <Submit disabled={!passwordsMatch}>Update Password</Submit>+ <Submit isDisabled={!passwordsMatch}>Update Password</Submit></VStack></ValidatedForm></Box>diff --git a/apps/carbon/app/interfaces/Account/UserAttributes/UserAttributesForm.tsx b/apps/carbon/app/interfaces/Account/UserAttributes/UserAttributesForm.tsxindex 778151398a..9c158f4cef 100644--- a/apps/carbon/app/interfaces/Account/UserAttributes/UserAttributesForm.tsx+++ b/apps/carbon/app/interfaces/Account/UserAttributes/UserAttributesForm.tsx@@ -23,7 +23,6 @@ import {User,Select,} from "~/components/Form";-import { SectionTitle } from "~/components/Layout";import { UserSelect } from "~/components/Selectors";import { useUser } from "~/hooks";import type { PublicAttributes } from "~/interfaces/Account/types";@@ -57,8 +56,7 @@ const UserAttributesForm = ({ attributeCategory }: UserAttributesFormProps) => {return (<Box w="full">- <SectionTitle title={attributeCategory.name} mt={8} />- <VStack alignItems="start" my={4} w="full" spacing={4}>+ <VStack alignItems="start" w="full" spacing={4}>{attributeCategory.userAttribute.map((attribute) => {const genericProps = getGenericProps(attribute,diff --git a/apps/carbon/app/interfaces/Parts/Toolbar/PartsTree.tsx b/apps/carbon/app/interfaces/Parts/Toolbar/PartsTree.tsxindex 985ab55a23..0b969d94c7 100644--- a/apps/carbon/app/interfaces/Parts/Toolbar/PartsTree.tsx+++ b/apps/carbon/app/interfaces/Parts/Toolbar/PartsTree.tsx@@ -73,7 +73,7 @@ const PartsTreeExplorer = () => {borderRadius={0}size="sm"onClick={() => toggleNode(node.id)}- disabled={!node.children}+ isDisabled={!node.children}><Iconas={BsCaretDownFill}diff --git a/apps/carbon/app/interfaces/People/index.ts b/apps/carbon/app/interfaces/People/index.tsdeleted file mode 100644index c8764b99c6..0000000000--- a/apps/carbon/app/interfaces/People/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import usePeopleSidebar from "./usePeopleSidebar";--export { usePeopleSidebar };diff --git a/apps/carbon/app/interfaces/People/usePeopleSidebar.tsx b/apps/carbon/app/interfaces/People/usePeopleSidebar.tsxdeleted file mode 100644index 732f8768db..0000000000--- a/apps/carbon/app/interfaces/People/usePeopleSidebar.tsx+++ /dev/null@@ -1,21 +0,0 @@-import type { RouteGroup } from "~/types";--const usersRoutes: RouteGroup[] = [- {- name: "Configuration",- routes: [- {- name: "Attributes",- to: "/x/people/attributes",- },- {- name: "Skills",- to: "/x/people/skills",- },- ],- },-];--export default function usePeopleSidebar() {- return { groups: usersRoutes };-}diff --git a/apps/carbon/app/interfaces/Purchasing/SupplierTypes/SupplierTypeForm/SupplierTypeForm.tsx b/apps/carbon/app/interfaces/Purchasing/SupplierTypes/SupplierTypeForm/SupplierTypeForm.tsxindex 3743d7571b..3d3672a6c2 100644--- a/apps/carbon/app/interfaces/Purchasing/SupplierTypes/SupplierTypeForm/SupplierTypeForm.tsx+++ b/apps/carbon/app/interfaces/Purchasing/SupplierTypes/SupplierTypeForm/SupplierTypeForm.tsx@@ -61,7 +61,7 @@ const SupplierTypeForm = ({ initialValues }: SupplierTypeFormProps) => {</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/SupplierForm.tsx b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/SupplierForm.tsxindex 69f0b8d515..b3c5dbc8f9 100644--- a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/SupplierForm.tsx+++ b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/SupplierForm.tsx@@ -57,13 +57,13 @@ const SupplierForm = ({const onClose = () => navigate("/x/purchasing/suppliers");const routeData = useRouteData<{- supplierTypes: { data: SupplierType[] };- supplierStatuses: { data: SupplierStatus[] };+ supplierTypes: SupplierType[];+ supplierStatuses: SupplierStatus[];}>("/x/purchasing/suppliers");const supplierTypeOptions = routeData?.supplierTypes? mapRowsToOptions({- data: routeData.supplierTypes.data ?? [],+ data: routeData.supplierTypes,value: "id",label: "name",})@@ -71,7 +71,7 @@ const SupplierForm = ({const supplierStatusOptions = routeData?.supplierStatuses? mapRowsToOptions({- data: routeData.supplierStatuses.data ?? [],+ data: routeData.supplierStatuses,value: "id",label: "name",})@@ -155,7 +155,7 @@ const SupplierForm = ({</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierContacts.tsx b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierContacts.tsxindex 57d8b5c368..7ded7b29fc 100644--- a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierContacts.tsx+++ b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierContacts.tsx@@ -116,7 +116,7 @@ const SupplierContacts = ({setContact(undefined);contactDrawer.onOpen();}}- disabled={!isEditing}+ isDisabled={!isEditing}>New Contact</Button>diff --git a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierContactsForm.tsx b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierContactsForm.tsxindex 5653187b77..3d79ed6f63 100644--- a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierContactsForm.tsx+++ b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierContactsForm.tsx@@ -106,7 +106,7 @@ const SupplierContactForm = ({</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierLocationForm.tsx b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierLocationForm.tsxindex 47b5a43340..465eda6d2e 100644--- a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierLocationForm.tsx+++ b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierLocationForm.tsx@@ -76,7 +76,7 @@ const SupplierLocationForm = ({</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierLocations.tsx b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierLocations.tsxindex 6a12568928..2bfc59f955 100644--- a/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierLocations.tsx+++ b/apps/carbon/app/interfaces/Purchasing/Suppliers/SupplierForm/components/SupplierLocations.tsx@@ -98,7 +98,7 @@ const SupplierLocations = ({setLocation(undefined);locationDrawer.onOpen();}}- disabled={!isEditing}+ isDisabled={!isEditing}>New Location</Button>diff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTable/AttributesCategoriesTable.tsx b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTable/AttributesCategoriesTable.tsxsimilarity index 86%rename from apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTable/AttributesCategoriesTable.tsxrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTable/AttributesCategoriesTable.tsxindex e79caaac84..d1595d1ed3 100644--- a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTable/AttributesCategoriesTable.tsx+++ b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTable/AttributesCategoriesTable.tsx@@ -18,7 +18,7 @@ import { IoMdTrash } from "react-icons/io";import { Table } from "~/components";import { ConfirmDelete } from "~/components/Modals";import { usePermissions, useUrlParams } from "~/hooks";-import type { AttributeCategory } from "~/interfaces/People/types";+import type { AttributeCategory } from "~/interfaces/Resources/types";type AttributeCategoriesTableProps = {data: AttributeCategory[];@@ -59,9 +59,9 @@ const AttributeCategoriesTable = memo(<ButtononClick={() => {navigate(- `/x/people/attributes/list/${+ `/x/resources/attributes/list/${row.original.id- }?${params.toString()}`+ }?${params?.toString()}`);}}>@@ -75,9 +75,9 @@ const AttributeCategoriesTable = memo(icon={<BsPlus />}onClick={() => {navigate(- `/x/people/attributes/list/${+ `/x/resources/attributes/list/${row.original.id- }/new?${params.toString()}`+ }/new?${params?.toString()}`);}}/>@@ -88,7 +88,7 @@ const AttributeCategoriesTable = memo(header: "Visibility",accessorKey: "public",cell: (item) => {- const isPublic = item.getValue<boolean>().toString() === "true";+ const isPublic = item.getValue<boolean>()?.toString() === "true";return (<Badgesize="sm"@@ -111,9 +111,9 @@ const AttributeCategoriesTable = memo(icon={<BiAddToQueue />}onClick={() => {navigate(- `/x/people/attributes/list/${+ `/x/resources/attributes/list/${row.original.id- }/new?${params.toString()}`+ }/new?${params?.toString()}`);}}>@@ -123,9 +123,9 @@ const AttributeCategoriesTable = memo(icon={<BsListUl />}onClick={() => {navigate(- `/x/people/attributes/list/${+ `/x/resources/attributes/list/${row.original.id- }?${params.toString()}`+ }?${params?.toString()}`);}}>@@ -134,7 +134,7 @@ const AttributeCategoriesTable = memo(<MenuItemicon={<BsPencilSquare />}onClick={() => {- navigate(`/x/people/attributes/${row.original.id}`);+ navigate(`/x/resources/attributes/${row.original.id}`);}}>Edit Attribute Category@@ -162,11 +162,11 @@ const AttributeCategoriesTable = memo(<Table<typeof data[number]>data={data}columns={columns}- count={count}+ count={count ?? 0}/><ConfirmDelete- action={`/x/people/attributes/delete/${selectedCategory?.id}`}+ action={`/x/resources/attributes/delete/${selectedCategory?.id}`}name={selectedCategory?.name ?? ""}text={`Are you sure you want to deactivate the ${selectedCategory?.name} attribute category?`}isOpen={deleteModal.isOpen}diff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTable/index.ts b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTable/index.tssimilarity index 100%rename from apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTable/index.tsrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTable/index.tsdiff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsx b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsxsimilarity index 100%rename from apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsxrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsxdiff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTableFilters/index.ts b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTableFilters/index.tssimilarity index 100%rename from apps/carbon/app/interfaces/People/Attributes/AttributeCategoriesTableFilters/index.tsrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoriesTableFilters/index.tsdiff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsx b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsxsimilarity index 98%rename from apps/carbon/app/interfaces/People/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsxrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsxindex ff38e91398..60c2f7bc8e 100644--- a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsx+++ b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsx@@ -29,7 +29,7 @@ import { ConfirmDelete } from "~/components/Modals";import type {Attribute,AttributeCategoryDetail as AttributeCategoryDetailType,-} from "~/interfaces/People/types";+} from "~/interfaces/Resources/types";import { useUrlParams } from "~/hooks";type AttributeCategoryDetailProps = {@@ -202,7 +202,7 @@ const AttributeCategoryDetail = ({</Drawer><ConfirmDeleteisOpen={deleteModal.isOpen}- action={`/x/people/attribute/delete/${selectedAttribute?.id}`}+ action={`/x/resources/attribute/delete/${selectedAttribute?.id}`}name={selectedAttribute?.name ?? ""}text={`Are you sure you want to deactivate the ${selectedAttribute?.name} attribute?`}onCancel={onDeleteCancel}diff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoryDetail/index.ts b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryDetail/index.tssimilarity index 100%rename from apps/carbon/app/interfaces/People/Attributes/AttributeCategoryDetail/index.tsrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryDetail/index.tsdiff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoryForm/AttributeCategoryForm.tsx b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryForm/AttributeCategoryForm.tsxsimilarity index 88%rename from apps/carbon/app/interfaces/People/Attributes/AttributeCategoryForm/AttributeCategoryForm.tsxrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryForm/AttributeCategoryForm.tsxindex dcbc14cb55..4a37c621df 100644--- a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoryForm/AttributeCategoryForm.tsx+++ b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryForm/AttributeCategoryForm.tsx@@ -13,7 +13,7 @@ import {import { ValidatedForm } from "remix-validated-form";import { Boolean, Input, Hidden, Submit } from "~/components/Form";import { usePermissions } from "~/hooks";-import { attributeCategoryValidator } from "~/services/people";+import { attributeCategoryValidator } from "~/services/resources";type AttributeCategoryFormProps = {initialValues: {@@ -41,8 +41,8 @@ const AttributeCategoryForm = ({method="post"action={isEditing- ? `/x/people/attributes/${initialValues.id}`- : "/x/people/attributes/new"+ ? `/x/resources/attributes/${initialValues.id}`+ : "/x/resources/attributes/new"}defaultValues={initialValues}>@@ -64,8 +64,8 @@ const AttributeCategoryForm = ({</VStack></DrawerBody><DrawerFooter>- <HStack spacing={2} mt={8}>- <Submit disabled={isDisabled}>Save</Submit>+ <HStack spacing={2}>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeCategoryForm/index.ts b/apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryForm/index.tssimilarity index 100%rename from apps/carbon/app/interfaces/People/Attributes/AttributeCategoryForm/index.tsrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeCategoryForm/index.tsdiff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeForm/AttributeForm.tsx b/apps/carbon/app/interfaces/Resources/Attributes/AttributeForm/AttributeForm.tsxsimilarity index 93%rename from apps/carbon/app/interfaces/People/Attributes/AttributeForm/AttributeForm.tsxrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeForm/AttributeForm.tsxindex 2e27023a84..3cedba009f 100644--- a/apps/carbon/app/interfaces/People/Attributes/AttributeForm/AttributeForm.tsx+++ b/apps/carbon/app/interfaces/Resources/Attributes/AttributeForm/AttributeForm.tsx@@ -22,7 +22,7 @@ import {} from "~/components/Form";import { usePermissions } from "~/hooks";import { DataType } from "~/interfaces/Users/types";-import { attributeValidator } from "~/services/people";+import { attributeValidator } from "~/services/resources";import { mapRowsToOptions } from "~/utils/form";type AttributeFormProps = {@@ -80,8 +80,8 @@ const AttributeForm = ({method="post"action={isEditing- ? `/x/people/attribute/${initialValues.id}`- : "/x/people/attribute/new"+ ? `/x/resources/attribute/${initialValues.id}`+ : "/x/resources/attribute/new"}defaultValues={initialValues}>@@ -115,7 +115,7 @@ const AttributeForm = ({</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/People/Attributes/AttributeForm/index.ts b/apps/carbon/app/interfaces/Resources/Attributes/AttributeForm/index.tssimilarity index 100%rename from apps/carbon/app/interfaces/People/Attributes/AttributeForm/index.tsrename to apps/carbon/app/interfaces/Resources/Attributes/AttributeForm/index.tsdiff --git a/apps/carbon/app/interfaces/People/Attributes/index.ts b/apps/carbon/app/interfaces/Resources/Attributes/index.tssimilarity index 100%rename from apps/carbon/app/interfaces/People/Attributes/index.tsrename to apps/carbon/app/interfaces/Resources/Attributes/index.tsdiff --git a/apps/carbon/app/interfaces/Resources/People/PeopleTable/PeopleTable.tsx b/apps/carbon/app/interfaces/Resources/People/PeopleTable/PeopleTable.tsxnew file mode 100644index 0000000000..93936198a5--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/People/PeopleTable/PeopleTable.tsx@@ -0,0 +1,262 @@+import { ActionMenu } from "@carbon/react";+import { Flex, HStack, MenuItem, Text, VisuallyHidden } from "@chakra-ui/react";+import { useNavigate } from "@remix-run/react";+import type { ColumnDef } from "@tanstack/react-table";+import { memo, useCallback, useMemo } from "react";+import { BsPencilSquare } from "react-icons/bs";+import { Avatar, Table } from "~/components";+import { usePermissions, useUrlParams } from "~/hooks";+import type { AttributeCategory, Person } from "~/interfaces/Resources/types";+import { DataType } from "~/interfaces/Users/types";++type PeopleTableProps = {+ attributeCategories: AttributeCategory[];+ data: Person[];+ count: number;+ isEditable?: boolean;+};++const PeopleTable = memo(+ ({+ attributeCategories,+ data,+ count,+ isEditable = false,+ }: PeopleTableProps) => {+ const navigate = useNavigate();+ const permissions = usePermissions();+ const [params] = useUrlParams();++ const renderGenericAttribute = useCallback(+ (+ value?: string | number | boolean,+ dataType?: DataType,+ user?: {+ id: string;+ fullName: string | null;+ avatarUrl: string | null;+ } | null+ ) => {+ if (!value || !dataType) return null;++ if (dataType === DataType.Boolean) {+ return value === true ? "Yes" : "No";+ }++ if (dataType === DataType.Date) {+ return new Date(value as string).toLocaleDateString();+ }++ if (dataType === DataType.Numeric) {+ return Number(value).toLocaleString();+ }++ if (dataType === DataType.Text || dataType === DataType.List) {+ return value;+ }++ if (dataType === DataType.User) {+ if (!user) return null;+ return (+ <HStack spacing={2}>+ <Avatar+ size="sm"+ name={user.fullName ?? undefined}+ path={user.avatarUrl}+ />+ <Text>{user.fullName ?? ""}</Text>+ </HStack>+ );+ }++ return "Unknown";+ },+ []+ );++ const rows = useMemo(+ () =>+ data.map((d) => {+ // we should only have one user and employee per employee id+ if (+ d.user === null ||+ d.employeeType === null ||+ Array.isArray(d.user) ||+ Array.isArray(d.employeeType)+ ) {+ throw new Error("Expected user and employee type to be objects");+ }++ return d;+ }),+ [data]+ );++ const columns = useMemo<ColumnDef<typeof rows[number]>[]>(() => {+ const defaultColumns: ColumnDef<typeof rows[number]>[] = [+ {+ header: "User",+ cell: ({ row }) => (+ <HStack spacing={2}>+ <Avatar+ size="sm"+ // @ts-ignore+ name={row.original.user?.fullName}+ // @ts-ignore+ path={row.original.user?.avatarUrl}+ />++ <span>+ {+ // @ts-ignore+ `${row.original.user?.firstName} ${row.original.user?.lastName}`+ }+ </span>+ </HStack>+ ),+ },++ {+ accessorKey: "user.firstName",+ header: "First Name",+ cell: (item) => item.getValue(),+ },+ {+ accessorKey: "user.lastName",+ header: "Last Name",+ cell: (item) => item.getValue(),+ },+ {+ accessorKey: "user.email",+ header: "Email",+ cell: (item) => item.getValue(),+ },+ {+ accessorKey: "employeeType.name",+ header: "Employee Type",+ cell: (item) => item.getValue(),+ },+ ];++ const additionalColumns: ColumnDef<typeof rows[number]>[] = [];++ attributeCategories.forEach((category) => {+ if (category.userAttribute && Array.isArray(category.userAttribute)) {+ category.userAttribute.forEach((attribute) => {+ additionalColumns.push({+ id: attribute.id,+ header: attribute.name,+ cell: ({ row }) =>+ renderGenericAttribute(+ row?.original?.attributes?.[attribute?.id]?.value,+ row?.original?.attributes?.[attribute?.id]?.dataType,+ row?.original?.attributes?.[attribute?.id]?.user+ ),+ });+ });+ }+ });++ return [+ ...defaultColumns,+ ...additionalColumns,+ {+ header: () => <VisuallyHidden>Actions</VisuallyHidden>,+ accessorKey: "user.id",+ cell: (item) => (+ <Flex justifyContent="end">+ {permissions.can("update", "resources") && (+ <ActionMenu>+ <MenuItem+ icon={<BsPencilSquare />}+ onClick={() =>+ navigate(+ `/x/resources/person/${+ item.getValue() as string+ }?${params.toString()}`+ )+ }+ >+ Edit Employee+ </MenuItem>+ </ActionMenu>+ )}+ </Flex>+ ),+ },+ ];++ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [params]);++ // const actions = useMemo(() => {+ // return [+ // {+ // label: "Message Employees",+ // icon: <BsChat />,+ // disabled: !permissions.can("create", "messaging"),+ // onClick: (selected: typeof rows) => {+ // console.log(selected);+ // },+ // },+ // ];+ // // eslint-disable-next-line react-hooks/exhaustive-deps+ // }, []);++ return (+ <>+ <Table<typeof rows[number]>+ // actions={actions}+ count={count}+ columns={columns}+ data={rows}+ defaultColumnPinning={{+ left: ["Select", "User"],+ }}+ withColumnOrdering+ // withInlineEditing+ withFilters+ withPagination+ // withSelectableRows={isEditable}+ />+ </>+ );+ }+);++// const EditableName = ({+// value,+// row,+// accessorKey,+// onUpdate,+// }: EditableTableCellComponentProps<Employee>) => {+// const { supabase } = useSupabase();+// // @ts-ignore+// const userId = row?.user?.id as string;+// if (userId === undefined) {+// throw new Error("Expected user id to be defined");+// }++// const updateName = async (name: string) => {+// const [table, column] = accessorKey.split(".");+// onUpdate(name);+// await supabase+// ?.from(table)+// .update({ [column]: name })+// .eq("id", userId);+// };++// const onKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {+// if (event.key === "Enter") {+// updateName(event.currentTarget.value);+// }+// };++// return (+// <Input autoFocus defaultValue={value as string} onKeyDown={onKeyDown} />+// );+// };++PeopleTable.displayName = "EmployeeTable";++export default PeopleTable;diff --git a/apps/carbon/app/interfaces/Resources/People/PeopleTable/index.ts b/apps/carbon/app/interfaces/Resources/People/PeopleTable/index.tsnew file mode 100644index 0000000000..dbe39e96c6--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/People/PeopleTable/index.ts@@ -0,0 +1,3 @@+import PeopleTable from "./PeopleTable";++export default PeopleTable;diff --git a/apps/carbon/app/interfaces/Resources/People/PeopleTableFilters/PeopleTableFilters.tsx b/apps/carbon/app/interfaces/Resources/People/PeopleTableFilters/PeopleTableFilters.tsxnew file mode 100644index 0000000000..873db8f553--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/People/PeopleTableFilters/PeopleTableFilters.tsx@@ -0,0 +1,98 @@+import { Select, useColor } from "@carbon/react";+import { Button, HStack } from "@chakra-ui/react";+import { Link } from "@remix-run/react";+import { IoMdAdd } from "react-icons/io";+import { DebouncedInput } from "~/components/Search";+import { usePermissions, useUrlParams } from "~/hooks";+import type { EmployeeType } from "~/interfaces/Users/types";+import { mapRowsToOptions } from "~/utils/form";++type PeopleTableFiltersProps = {+ employeeTypes: Partial<EmployeeType>[];+};++const PeopleTableFilters = ({ employeeTypes }: PeopleTableFiltersProps) => {+ const [params, setParams] = useUrlParams();+ const permissions = usePermissions();+ const employeeTypeOptions = mapRowsToOptions({+ data: employeeTypes,+ value: "id",+ label: "name",+ });++ const borderColor = useColor("gray.200");++ return (+ <HStack+ px={4}+ py={3}+ justifyContent="space-between"+ borderBottomColor={borderColor}+ borderBottomStyle="solid"+ borderBottomWidth={1}+ w="full"+ >+ <HStack spacing={2}>+ <DebouncedInput+ param="name"+ size="sm"+ minW={180}+ placeholder="Search by name"+ />+ <Select+ // @ts-ignore+ size="sm"+ value={employeeTypeOptions.filter(+ (type) => type.value === params.get("type")+ )}+ isClearable+ options={employeeTypeOptions}+ onChange={(selected) => {+ setParams({ type: selected?.value });+ }}+ aria-label="Employee Type"+ minW={180}+ placeholder="Employee Type"+ />+ <Select+ // @ts-ignore+ size="sm"+ value={+ params.get("active") === "false"+ ? { value: "false", label: "Inactive" }+ : { value: "true", label: "Active" }+ }+ options={[+ {+ value: "true",+ label: "Active",+ },+ {+ value: "false",+ label: "Inactive",+ },+ ]}+ onChange={(selected) => {+ setParams({ active: selected?.value });+ }}+ aria-label="Active"+ minW={180}+ />+ </HStack>+ <HStack spacing={2}>+ {permissions.can("create", "users") && (+ <Button+ as={Link}+ to={`/x/users/employees/new?${params.toString()}`}+ colorScheme="brand"+ leftIcon={<IoMdAdd />}+ >+ New Employee+ </Button>+ )}+ </HStack>+ </HStack>+ );+};++export default PeopleTableFilters;diff --git a/apps/carbon/app/interfaces/Resources/People/PeopleTableFilters/index.ts b/apps/carbon/app/interfaces/Resources/People/PeopleTableFilters/index.tsnew file mode 100644index 0000000000..c074c31be6--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/People/PeopleTableFilters/index.ts@@ -0,0 +1,3 @@+import PeopleTableFilters from "./PeopleTableFilters";++export default PeopleTableFilters;diff --git a/apps/carbon/app/interfaces/Resources/Person/PersonAbilities/PersonAbilities.tsx b/apps/carbon/app/interfaces/Resources/Person/PersonAbilities/PersonAbilities.tsxnew file mode 100644index 0000000000..c74fac1b53--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/Person/PersonAbilities/PersonAbilities.tsx@@ -0,0 +1,14 @@+import { Card, CardBody, CardHeader, Heading } from "@chakra-ui/react";++const PersonAbilities = () => {+ return (+ <Card w="full">+ <CardHeader>+ <Heading size="md">Abilities</Heading>+ </CardHeader>+ <CardBody></CardBody>+ </Card>+ );+};++export default PersonAbilities;diff --git a/apps/carbon/app/interfaces/Resources/Person/PersonAbilities/index.ts b/apps/carbon/app/interfaces/Resources/Person/PersonAbilities/index.tsnew file mode 100644index 0000000000..8596cdf253--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/Person/PersonAbilities/index.ts@@ -0,0 +1,3 @@+import PersonAbiltiies from "./PersonAbilities";++export default PersonAbiltiies;diff --git a/apps/carbon/app/interfaces/Resources/Person/PersonHeader/PersonHeader.tsx b/apps/carbon/app/interfaces/Resources/Person/PersonHeader/PersonHeader.tsxnew file mode 100644index 0000000000..c6fa603bfa--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/Person/PersonHeader/PersonHeader.tsx@@ -0,0 +1,35 @@+import { Button, Heading, HStack, Text, VStack } from "@chakra-ui/react";+import { BsEnvelopeFill } from "react-icons/bs";+import { Avatar } from "~/components";+import { usePermissions } from "~/hooks";+import type { Account } from "~/interfaces/Account/types";++const PersonHeader = ({ user }: { user: Account }) => {+ const permissions = usePermissions();+ return (+ <HStack py={4} justifyContent="space-between" spacing={4} w="full">+ <HStack spacing={4}>+ <Avatar size="lg" path={user.avatarUrl} />+ <VStack align="start" spacing={1}>+ <Heading size="md">{user.fullName}</Heading>+ <Text color="gray.500" fontSize="sm">+ {user.about}+ </Text>+ </VStack>+ </HStack>+ <HStack spacing={2}>+ {permissions.can("create", "messaging") && (+ <Button+ size="md"+ leftIcon={<BsEnvelopeFill />}+ onClick={() => alert("TODO")}+ >+ Message+ </Button>+ )}+ </HStack>+ </HStack>+ );+};++export default PersonHeader;diff --git a/apps/carbon/app/interfaces/Resources/Person/PersonHeader/index.ts b/apps/carbon/app/interfaces/Resources/Person/PersonHeader/index.tsnew file mode 100644index 0000000000..2f90eefbd1--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/Person/PersonHeader/index.ts@@ -0,0 +1,3 @@+import PersonHeader from "./PersonHeader";++export default PersonHeader;diff --git a/apps/carbon/app/interfaces/Resources/Person/PersonNotes/PersonNotes.tsx b/apps/carbon/app/interfaces/Resources/Person/PersonNotes/PersonNotes.tsxnew file mode 100644index 0000000000..142a92ad5c--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/Person/PersonNotes/PersonNotes.tsx@@ -0,0 +1,102 @@+import { formatTimeAgo } from "@carbon/utils";+import {+ Box,+ Button,+ Card,+ CardBody,+ CardFooter,+ CardHeader,+ Flex,+ Grid,+ Heading,+ HStack,+ Text,+ VStack,+} from "@chakra-ui/react";+import { useParams } from "@remix-run/react";+import { Fragment } from "react";+import { ValidatedForm } from "remix-validated-form";+import { Avatar } from "~/components";+import { Submit, TextArea } from "~/components/Form";+import { usePermissions, useUser } from "~/hooks";+import type { Note } from "~/interfaces/Resources/types";+import { noteValidator } from "~/services/resources";++type PersonNoteProps = {+ notes: Note[];+};++const PersonNotes = ({ notes }: PersonNoteProps) => {+ const user = useUser();+ const permissions = usePermissions();++ const { personId } = useParams();+ if (!personId) throw new Error("Missing personId");++ const canCreate = permissions.can("create", "resources");+ const canUpdate = permissions.can("update", "resources");+ const canDelete = permissions.can("delete", "resources");++ return (+ <Card w="full">+ <CardHeader>+ <Heading size="md">Notes</Heading>+ </CardHeader>+ <CardBody>+ {notes.length > 0 ? (+ <VStack spacing={3} w="full">+ <Grid gridTemplateColumns="auto 1fr" gridColumnGap={4} w="full">+ {notes.map((note) => {+ if (Array.isArray(note.user)) throw new Error("Invalid user");+ return (+ <Fragment key={note.id}>+ <Avatar path={user.avatarUrl} />+ <VStack spacing={1} w="full" alignItems="start">+ <Text fontWeight="bold">{note.user?.fullName}</Text>+ <Text>{note.note}</Text>+ <HStack spacing={4}>+ <Text color="gray.500">+ {formatTimeAgo(note.createdAt)}+ </Text>+ {user.id === note.user?.id && (+ <Button variant="link" fontWeight="normal" size="md">+ Delete+ </Button>+ )}+ </HStack>+ </VStack>+ </Fragment>+ );+ })}+ </Grid>+ </VStack>+ ) : (+ <Box color="gray.500" p={4} w="full" textAlign="center">+ No notes+ </Box>+ )}+ </CardBody>+ {canCreate && (+ <CardFooter>+ <ValidatedForm+ method="post"+ action={`/x/resources/person/${personId}/notes/new`}+ validator={noteValidator}+ >+ <VStack spacing={3} w="full">+ <Grid gridTemplateColumns="auto 1fr" gridColumnGap={4} w="full">+ <Avatar path={user.avatarUrl} />+ <TextArea name="note" />+ </Grid>+ <Flex justifyContent="flex-end" w="full">+ <Submit>Comment</Submit>+ </Flex>+ </VStack>+ </ValidatedForm>+ </CardFooter>+ )}+ </Card>+ );+};++export default PersonNotes;diff --git a/apps/carbon/app/interfaces/Resources/Person/PersonNotes/index.ts b/apps/carbon/app/interfaces/Resources/Person/PersonNotes/index.tsnew file mode 100644index 0000000000..e58b216aef--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/Person/PersonNotes/index.ts@@ -0,0 +1,3 @@+import PersonNotes from "./PersonNotes";++export default PersonNotes;diff --git a/apps/carbon/app/interfaces/Resources/Person/PersonTabs/PersonTabs.tsx b/apps/carbon/app/interfaces/Resources/Person/PersonTabs/PersonTabs.tsxnew file mode 100644index 0000000000..f5e8cfd813--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/Person/PersonTabs/PersonTabs.tsx@@ -0,0 +1,39 @@+import {+ Card,+ CardBody,+ Tab,+ Tabs,+ TabList,+ TabPanel,+ TabPanels,+} from "@chakra-ui/react";++const PersonsTabs = () => {+ return (+ <Card w="full">+ <CardBody>+ <Tabs colorScheme="gray">+ <TabList>+ <Tab>Profile</Tab>+ <Tab>Attributes</Tab>+ <Tab>Job</Tab>+ </TabList>++ <TabPanels>+ <TabPanel>+ <p>Profile</p>+ </TabPanel>+ <TabPanel>+ <p>Personal attributes</p>+ </TabPanel>+ <TabPanel>+ <p>Work center and shift</p>+ </TabPanel>+ </TabPanels>+ </Tabs>+ </CardBody>+ </Card>+ );+};++export default PersonsTabs;diff --git a/apps/carbon/app/interfaces/Resources/Person/PersonTabs/index.ts b/apps/carbon/app/interfaces/Resources/Person/PersonTabs/index.tsnew file mode 100644index 0000000000..db7a3afb56--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/Person/PersonTabs/index.ts@@ -0,0 +1,3 @@+import PersonsTabs from "./PersonTabs";++export default PersonsTabs;diff --git a/apps/carbon/app/interfaces/Resources/index.ts b/apps/carbon/app/interfaces/Resources/index.tsnew file mode 100644index 0000000000..5018b42e88--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/index.ts@@ -0,0 +1,17 @@+import PeopleTable from "./People/PeopleTable";+import PeopleTableFilters from "./People/PeopleTableFilters";+import PersonAbilities from "./Person/PersonAbilities";+import PersonHeader from "./Person/PersonHeader";+import PersonNotes from "./Person/PersonNotes";+import PersonTabs from "./Person/PersonTabs";+import useResourcesSidebar from "./useResourcesSidebar";++export {+ PeopleTable,+ PeopleTableFilters,+ PersonAbilities,+ PersonHeader,+ PersonNotes,+ PersonTabs,+ useResourcesSidebar,+};diff --git a/apps/carbon/app/interfaces/People/types.ts b/apps/carbon/app/interfaces/Resources/types.tssimilarity index 70%rename from apps/carbon/app/interfaces/People/types.tsrename to apps/carbon/app/interfaces/Resources/types.tsindex aab308bba4..2ca217df27 100644--- a/apps/carbon/app/interfaces/People/types.ts+++ b/apps/carbon/app/interfaces/Resources/types.ts@@ -2,7 +2,9 @@ import type {getAttribute,getAttributeCategories,getAttributeCategory,-} from "~/services/people";+ getPeople,+ getNotes,+} from "~/services/resources";export type Attribute = NonNullable<Awaited<ReturnType<typeof getAttribute>>["data"]@@ -25,3 +27,11 @@ export type AttributeDataType = {isNumeric: boolean;isText: boolean;};++export type Note = NonNullable<+ Awaited<ReturnType<typeof getNotes>>["data"]+>[number];++export type Person = NonNullable<+ Awaited<ReturnType<typeof getPeople>>["data"]+>[number];diff --git a/apps/carbon/app/interfaces/Resources/useResourcesSidebar.tsx b/apps/carbon/app/interfaces/Resources/useResourcesSidebar.tsxnew file mode 100644index 0000000000..5178979a8f--- /dev/null+++ b/apps/carbon/app/interfaces/Resources/useResourcesSidebar.tsx@@ -0,0 +1,58 @@+import type { RouteGroup } from "~/types";++const resourcesRoutes: RouteGroup[] = [+ {+ name: "Manage",+ routes: [+ {+ name: "People",+ to: "/x/resources/people",+ },+ {+ name: "Contractors",+ to: "/x/resources/contractors",+ },+ {+ name: "Equipment",+ to: "/x/resources/equipment",+ },+ {+ name: "Facilities",+ to: "/x/resources/facilities",+ },+ {+ name: "Crews",+ to: "/x/resources/crews",+ },+ // {+ // name: "Pools",+ // to: "/x/resources/contractors",+ // },+ ],+ },+ {+ name: "Configuration",+ routes: [+ {+ name: "Abilities",+ to: "/x/resources/abilities",+ },+ {+ name: "Attributes",+ to: "/x/resources/attributes",+ },+ {+ name: "Shifts",+ to: "/x/resources/shifts",+ },+ {+ name: "Work Centers",+ to: "/x/resources/work-centers",+ },+ ],+ },+];++export default function useResourcesSidebar() {+ return { groups: resourcesRoutes };+}diff --git a/apps/carbon/app/interfaces/Sales/CustomerTypes/CustomerTypeForm/CustomerTypeForm.tsx b/apps/carbon/app/interfaces/Sales/CustomerTypes/CustomerTypeForm/CustomerTypeForm.tsxindex 3ead099f05..2f1ae5b560 100644--- a/apps/carbon/app/interfaces/Sales/CustomerTypes/CustomerTypeForm/CustomerTypeForm.tsx+++ b/apps/carbon/app/interfaces/Sales/CustomerTypes/CustomerTypeForm/CustomerTypeForm.tsx@@ -61,7 +61,7 @@ const CustomerTypeForm = ({ initialValues }: CustomerTypeFormProps) => {</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/CustomerForm.tsx b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/CustomerForm.tsxindex 1a26cb7d80..47d21dcb26 100644--- a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/CustomerForm.tsx+++ b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/CustomerForm.tsx@@ -57,13 +57,13 @@ const CustomerForm = ({const onClose = () => navigate("/x/sales/customers");const routeData = useRouteData<{- customerTypes: { data: CustomerType[] };- customerStatuses: { data: CustomerStatus[] };+ customerTypes: CustomerType[];+ customerStatuses: CustomerStatus[];}>("/x/sales/customers");const customerTypeOptions = routeData?.customerTypes? mapRowsToOptions({- data: routeData.customerTypes.data ?? [],+ data: routeData.customerTypes ?? [],value: "id",label: "name",})@@ -71,7 +71,7 @@ const CustomerForm = ({const customerStatusOptions = routeData?.customerStatuses? mapRowsToOptions({- data: routeData.customerStatuses.data ?? [],+ data: routeData.customerStatuses ?? [],value: "id",label: "name",})@@ -155,7 +155,7 @@ const CustomerForm = ({</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerContacts.tsx b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerContacts.tsxindex 472b96b97b..b994609956 100644--- a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerContacts.tsx+++ b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerContacts.tsx@@ -116,7 +116,7 @@ const CustomerContacts = ({setContact(undefined);contactDrawer.onOpen();}}- disabled={!isEditing}+ isDisabled={!isEditing}>New Contact</Button>diff --git a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerContactsForm.tsx b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerContactsForm.tsxindex d64b145cd2..2dccc7d9f6 100644--- a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerContactsForm.tsx+++ b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerContactsForm.tsx@@ -105,7 +105,7 @@ const CustomerContactForm = ({</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerLocationForm.tsx b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerLocationForm.tsxindex a61dbf4a8e..3ef1397d5b 100644--- a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerLocationForm.tsx+++ b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerLocationForm.tsx@@ -76,7 +76,7 @@ const CustomerLocationForm = ({</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerLocations.tsx b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerLocations.tsxindex 96fa4cc82c..350a0a0bce 100644--- a/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerLocations.tsx+++ b/apps/carbon/app/interfaces/Sales/Customers/CustomerForm/components/CustomerLocations.tsx@@ -98,7 +98,7 @@ const CustomerLocations = ({setLocation(undefined);locationDrawer.onOpen();}}- disabled={!isEditing}+ isDisabled={!isEditing}>New Location</Button>diff --git a/apps/carbon/app/interfaces/Users/Customers/CustomerAccountsTable/CustomerAccountsTable.tsx b/apps/carbon/app/interfaces/Users/Customers/CustomerAccountsTable/CustomerAccountsTable.tsxindex 48076b6b0d..7bbc23db16 100644--- a/apps/carbon/app/interfaces/Users/Customers/CustomerAccountsTable/CustomerAccountsTable.tsx+++ b/apps/carbon/app/interfaces/Users/Customers/CustomerAccountsTable/CustomerAccountsTable.tsx@@ -30,7 +30,6 @@ const defaultColumnVisibility = {const CustomerAccountsTable = memo(({ data, count, isEditable = false }: CustomerAccountsTableProps) => {- const navigate = useNavigate();const permissions = usePermissions();const [params] = useUrlParams();diff --git a/apps/carbon/app/interfaces/Users/EmployeeTypes/EmployeeTypeForm/EmployeeTypeForm.tsx b/apps/carbon/app/interfaces/Users/EmployeeTypes/EmployeeTypeForm/EmployeeTypeForm.tsxindex 933fbd87d3..b39c832352 100644--- a/apps/carbon/app/interfaces/Users/EmployeeTypes/EmployeeTypeForm/EmployeeTypeForm.tsx+++ b/apps/carbon/app/interfaces/Users/EmployeeTypes/EmployeeTypeForm/EmployeeTypeForm.tsx@@ -102,7 +102,7 @@ const EmployeeTypeForm = ({ initialValues }: EmployeeTypeFormProps) => {</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit disabled={isDisabled}>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Users/Employees/EmployeesTable/EmployeesTable.tsx b/apps/carbon/app/interfaces/Users/Employees/EmployeesTable/EmployeesTable.tsxindex 5070c830f8..1b8459ca17 100644--- a/apps/carbon/app/interfaces/Users/Employees/EmployeesTable/EmployeesTable.tsx+++ b/apps/carbon/app/interfaces/Users/Employees/EmployeesTable/EmployeesTable.tsx@@ -224,6 +224,9 @@ const EmployeesTable = memo(columns={columns}data={rows}defaultColumnVisibility={defaultColumnVisibility}+ defaultColumnPinning={{+ left: ["Select", "User"],+ }}withColumnOrderingwithFilterswithPaginationdiff --git a/apps/carbon/app/interfaces/Users/Groups/GroupsForm/GroupsForm.tsx b/apps/carbon/app/interfaces/Users/Groups/GroupsForm/GroupsForm.tsxindex b40745d8ab..fddd0e4646 100644--- a/apps/carbon/app/interfaces/Users/Groups/GroupsForm/GroupsForm.tsx+++ b/apps/carbon/app/interfaces/Users/Groups/GroupsForm/GroupsForm.tsx@@ -63,7 +63,7 @@ const GroupForm = ({ initialValues }: GroupFormProps) => {</DrawerBody><DrawerFooter><HStack spacing={2}>- <Submit>Save</Submit>+ <Submit isDisabled={isDisabled}>Save</Submit><Buttonsize="md"colorScheme="gray"diff --git a/apps/carbon/app/interfaces/Users/Suppliers/SupplierAccountsTable/SuppliersAccountsTable.tsx b/apps/carbon/app/interfaces/Users/Suppliers/SupplierAccountsTable/SuppliersAccountsTable.tsxindex f31d41b45d..34fde2b8b5 100644--- a/apps/carbon/app/interfaces/Users/Suppliers/SupplierAccountsTable/SuppliersAccountsTable.tsx+++ b/apps/carbon/app/interfaces/Users/Suppliers/SupplierAccountsTable/SuppliersAccountsTable.tsx@@ -9,7 +9,7 @@ import {import { useNavigate } from "@remix-run/react";import type { ColumnDef } from "@tanstack/react-table";import { memo, useMemo, useState } from "react";-import { BsEnvelope, BsPencilSquare } from "react-icons/bs";+import { BsEnvelope } from "react-icons/bs";import { IoMdTrash } from "react-icons/io";import { Avatar, Table } from "~/components";import { usePermissions, useUrlParams } from "~/hooks";@@ -30,7 +30,6 @@ const defaultColumnVisibility = {const SupplierAccountsTable = memo(({ data, count, isEditable = false }: SupplierAccountsTableProps) => {- const navigate = useNavigate();const permissions = usePermissions();const [params] = useUrlParams();diff --git a/apps/carbon/app/interfaces/Users/useUsersSidebar.tsx b/apps/carbon/app/interfaces/Users/useUsersSidebar.tsxindex 11ac404070..10de22dab2 100644--- a/apps/carbon/app/interfaces/Users/useUsersSidebar.tsx+++ b/apps/carbon/app/interfaces/Users/useUsersSidebar.tsx@@ -1,4 +1,4 @@-import type { Route, RouteGroup } from "~/types";+import type { RouteGroup } from "~/types";const usersRoutes: RouteGroup[] = [{diff --git a/apps/carbon/app/routes/_public+/login.tsx b/apps/carbon/app/routes/_public+/login.tsxindex 0da15d5da1..81bb7a5654 100644--- a/apps/carbon/app/routes/_public+/login.tsx+++ b/apps/carbon/app/routes/_public+/login.tsx@@ -4,7 +4,6 @@ import {AlertIcon,AlertTitle,Box,- Flex,Image,VStack,useColorModeValue,diff --git a/apps/carbon/app/routes/x+/account.$userId.attribute.tsx b/apps/carbon/app/routes/x+/account.$userId.attribute.tsxindex 29b2ccda1e..76a69fe0f7 100644--- a/apps/carbon/app/routes/x+/account.$userId.attribute.tsx+++ b/apps/carbon/app/routes/x+/account.$userId.attribute.tsx@@ -10,7 +10,7 @@ import {import { requirePermissions } from "~/services/auth";import { flash } from "~/services/session";import { upsertUserAttributeValue } from "~/services/account";-import { getAttribute } from "~/services/people";+import { getAttribute } from "~/services/resources";import { getUserClaims } from "~/services/users";import { assertIsPost } from "~/utils/http";import { error, success } from "~/utils/result";diff --git a/apps/carbon/app/routes/x+/account.$userId.delete.attribute.tsx b/apps/carbon/app/routes/x+/account.$userId.delete.attribute.tsxindex c1b6817279..7c9824183d 100644--- a/apps/carbon/app/routes/x+/account.$userId.delete.attribute.tsx+++ b/apps/carbon/app/routes/x+/account.$userId.delete.attribute.tsx@@ -3,7 +3,7 @@ import { json } from "@remix-run/node";import { requirePermissions } from "~/services/auth";import { flash } from "~/services/session";import { deleteUserAttributeValue } from "~/services/account";-import { getAttribute } from "~/services/people";+import { getAttribute } from "~/services/resources";import { getUserClaims } from "~/services/users";import { assertIsPost } from "~/utils/http";import { error, success } from "~/utils/result";diff --git a/apps/carbon/app/routes/x+/account.personal.tsx b/apps/carbon/app/routes/x+/account.personal.tsxindex 56f7ec09c4..b5bc3956f8 100644--- a/apps/carbon/app/routes/x+/account.personal.tsx+++ b/apps/carbon/app/routes/x+/account.personal.tsx@@ -1,8 +1,9 @@+import { Box } from "@chakra-ui/react";import type { LoaderArgs } from "@remix-run/node";import { redirect } from "@remix-run/node";import { useLoaderData } from "@remix-run/react";import { json } from "@remix-run/router";-import { PageTitle } from "~/components/Layout";+import { PageTitle, SectionTitle } from "~/components/Layout";import { UserAttributesForm } from "~/interfaces/Account/UserAttributes";import type { PrivateAttributes } from "~/interfaces/Account/types";import { getPrivateAttributes } from "~/services/account";@@ -40,7 +41,11 @@ export default function AccountPersonal() {/>{/* <PersonalDataForm personalData={{}} /> */}{attributes.map((category: PrivateAttributes) => (- <UserAttributesForm key={category.id} attributeCategory={category} />+ <Box key={category.id} mb={8} w="full">+ <SectionTitle title={category.name} />++ <UserAttributesForm attributeCategory={category} />+ </Box>))}</>);diff --git a/apps/carbon/app/routes/x+/account.profile.tsx b/apps/carbon/app/routes/x+/account.profile.tsxindex c8635383c8..0ac1eb2ffd 100644--- a/apps/carbon/app/routes/x+/account.profile.tsx+++ b/apps/carbon/app/routes/x+/account.profile.tsx@@ -1,10 +1,10 @@-import { Grid } from "@chakra-ui/react";+import { Box, Grid } from "@chakra-ui/react";import type { ActionArgs, LoaderArgs } from "@remix-run/node";import { redirect } from "@remix-run/node";import { useLoaderData } from "@remix-run/react";import { json } from "@remix-run/router";import { validationError } from "remix-validated-form";-import { PageTitle } from "~/components/Layout";+import { PageTitle, SectionTitle } from "~/components/Layout";import { ProfileForm, ProfilePhotoForm } from "~/interfaces/Account/Profile";import { UserAttributesForm } from "~/interfaces/Account/UserAttributes";import type { PublicAttributes } from "~/interfaces/Account/types";@@ -128,7 +128,11 @@ export default function AccountProfile() {<ProfilePhotoForm user={user} /></Grid>{attributes.map((category: PublicAttributes) => (- <UserAttributesForm key={category.id} attributeCategory={category} />+ <Box key={category.id} mb={8} w="full">+ <SectionTitle title={category.name} />++ <UserAttributesForm attributeCategory={category} />+ </Box>))}</>);diff --git a/apps/carbon/app/routes/x+/purchasing.suppliers.tsx b/apps/carbon/app/routes/x+/purchasing.suppliers.tsxindex 6737ad284a..c33f489a5f 100644--- a/apps/carbon/app/routes/x+/purchasing.suppliers.tsx+++ b/apps/carbon/app/routes/x+/purchasing.suppliers.tsx@@ -1,5 +1,6 @@import { VStack } from "@chakra-ui/react";import type { LoaderArgs } from "@remix-run/node";+import { redirect } from "@remix-run/node";import { json } from "@remix-run/node";import { Outlet, useLoaderData } from "@remix-run/react";import {@@ -12,7 +13,9 @@ import {getSupplierStatuses,getSupplierTypes,} from "~/services/purchasing";+import { flash } from "~/services/session";import { getGenericQueryFilters } from "~/utils/query";+import { error } from "~/utils/result";export async function loader({ request }: LoaderArgs) {const { client } = await requirePermissions(request, {@@ -34,23 +37,32 @@ export async function loader({ request }: LoaderArgs) {getSupplierStatuses(client),]);- return json({ suppliers, supplierTypes, supplierStatuses });+ if (suppliers.error) {+ redirect(+ "/x",+ await flash(request, error(suppliers.error, "Failed to fetch suppliers"))+ );+ }++ return json({+ count: suppliers.count ?? 0,+ suppliers: suppliers.data ?? [],+ supplierStatuses: supplierStatuses.data ?? [],+ supplierTypes: supplierTypes.data ?? [],+ });}export default function PurchasingSuppliersRoute() {- const { suppliers, supplierTypes, supplierStatuses } =+ const { count, suppliers, supplierTypes, supplierStatuses } =useLoaderData<typeof loader>();return (<VStack w="full" h="full" spacing={0}><SuppliersTableFilters- supplierTypes={supplierTypes.data ?? []}- supplierStatuses={supplierStatuses.data ?? []}- />- <SuppliersTable- data={suppliers.data ?? []}- count={suppliers.count ?? 0}+ supplierTypes={supplierTypes}+ supplierStatuses={supplierStatuses}/>+ <SuppliersTable data={suppliers} count={count} /><Outlet /></VStack>);diff --git a/apps/carbon/app/routes/x+/people.attribute.$attributeId.tsx b/apps/carbon/app/routes/x+/resources.attribute.$attributeId.tsxsimilarity index 91%rename from apps/carbon/app/routes/x+/people.attribute.$attributeId.tsxrename to apps/carbon/app/routes/x+/resources.attribute.$attributeId.tsxindex 4b52e7b0c6..30a9af486b 100644--- a/apps/carbon/app/routes/x+/people.attribute.$attributeId.tsx+++ b/apps/carbon/app/routes/x+/resources.attribute.$attributeId.tsx@@ -2,7 +2,7 @@ import type { ActionArgs } from "@remix-run/node";import { redirect } from "@remix-run/node";import { validationError } from "remix-validated-form";import { requirePermissions } from "~/services/auth";-import { attributeValidator, updateAttribute } from "~/services/people";+import { attributeValidator, updateAttribute } from "~/services/resources";import { flash } from "~/services/session";import { assertIsPost } from "~/utils/http";import { error, success } from "~/utils/result";@@ -10,7 +10,7 @@ import { error, success } from "~/utils/result";export async function action({ request, params }: ActionArgs) {assertIsPost(request);const { client, userId } = await requirePermissions(request, {- update: "people",+ update: "resources",});const validation = await attributeValidator.validate(@@ -27,12 +27,12 @@ export async function action({ request, params }: ActionArgs) {});if (update.error)redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request, error(update.error, "Failed to update attribute")));return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request, success("Successfully updated attribtue")));}diff --git a/apps/carbon/app/routes/x+/people.attribute.delete.$attributeId.tsx b/apps/carbon/app/routes/x+/resources.attribute.delete.$attributeId.tsxsimilarity index 83%rename from apps/carbon/app/routes/x+/people.attribute.delete.$attributeId.tsxrename to apps/carbon/app/routes/x+/resources.attribute.delete.$attributeId.tsxindex caa59b5fdd..9d73262034 100644--- a/apps/carbon/app/routes/x+/people.attribute.delete.$attributeId.tsx+++ b/apps/carbon/app/routes/x+/resources.attribute.delete.$attributeId.tsx@@ -1,19 +1,19 @@import type { LoaderArgs } from "@remix-run/node";import { redirect } from "@remix-run/node";import { requirePermissions } from "~/services/auth";-import { deleteAttribute } from "~/services/people";+import { deleteAttribute } from "~/services/resources";import { flash } from "~/services/session";import { error, success } from "~/utils/result";export async function action({ request, params }: LoaderArgs) {const { client } = await requirePermissions(request, {- update: "people",+ update: "resources",});const { attributeId } = params;if (!attributeId) {return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request, error(params, "Failed to get an attribute id")));}@@ -21,7 +21,7 @@ export async function action({ request, params }: LoaderArgs) {const deactivateAttribute = await deleteAttribute(client, attributeId);if (deactivateAttribute.error) {return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request,error(deactivateAttribute.error, "Failed to deactivate attribute")@@ -30,7 +30,7 @@ export async function action({ request, params }: LoaderArgs) {}return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request, success("Successfully deactivated attribute")));}diff --git a/apps/carbon/app/routes/x+/people.attribute.new.tsx b/apps/carbon/app/routes/x+/resources.attribute.new.tsxsimilarity index 95%rename from apps/carbon/app/routes/x+/people.attribute.new.tsxrename to apps/carbon/app/routes/x+/resources.attribute.new.tsxindex 197346270d..e26cd17f04 100644--- a/apps/carbon/app/routes/x+/people.attribute.new.tsx+++ b/apps/carbon/app/routes/x+/resources.attribute.new.tsx@@ -4,14 +4,14 @@ import { redirect } from "@remix-run/node";import { validationError } from "remix-validated-form";import { requirePermissions } from "~/services/auth";import { flash } from "~/services/session";-import { attributeValidator, insertAttribute } from "~/services/people";+import { attributeValidator, insertAttribute } from "~/services/resources";import { assertIsPost } from "~/utils/http";import { error, success } from "~/utils/result";export async function action({ request }: ActionArgs) {assertIsPost(request);const { client, userId } = await requirePermissions(request, {- create: "people",+ create: "resources",});const validation = await attributeValidator.validate(@@ -49,7 +49,7 @@ export async function action({ request }: ActionArgs) {}return redirect(- `/x/people/attributes`,+ `/x/resources/attributes`,await flash(request, success("Created attribute")));}diff --git a/apps/carbon/app/routes/x+/people.attributes.$categoryId.tsx b/apps/carbon/app/routes/x+/resources.attributes.$categoryId.tsxsimilarity index 88%rename from apps/carbon/app/routes/x+/people.attributes.$categoryId.tsxrename to apps/carbon/app/routes/x+/resources.attributes.$categoryId.tsxindex b2070177c3..07394daa8d 100644--- a/apps/carbon/app/routes/x+/people.attributes.$categoryId.tsx+++ b/apps/carbon/app/routes/x+/resources.attributes.$categoryId.tsx@@ -2,20 +2,20 @@ import type { ActionArgs, LoaderArgs } from "@remix-run/node";import { redirect, json } from "@remix-run/node";import { useLoaderData, useNavigate } from "@remix-run/react";import { validationError } from "remix-validated-form";-import { AttributeCategoryForm } from "~/interfaces/People/Attributes";+import { AttributeCategoryForm } from "~/interfaces/Resources/Attributes";import { requirePermissions } from "~/services/auth";import { flash } from "~/services/session";import {attributeCategoryValidator,getAttributeCategory,updateAttributeCategory,-} from "~/services/people";+} from "~/services/resources";import { assertIsPost, notFound } from "~/utils/http";import { error, success } from "~/utils/result";export async function loader({ request, params }: LoaderArgs) {const { client } = await requirePermissions(request, {- view: "people",+ view: "resources",role: "employee",});@@ -25,7 +25,7 @@ export async function loader({ request, params }: LoaderArgs) {const attributeCategory = await getAttributeCategory(client, categoryId);if (attributeCategory.error) {return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request,error(attributeCategory.error, "Failed to fetch attribute category")@@ -39,7 +39,7 @@ export async function loader({ request, params }: LoaderArgs) {export async function action({ request }: ActionArgs) {assertIsPost(request);const { client, userId } = await requirePermissions(request, {- update: "people",+ update: "resources",});const validation = await attributeCategoryValidator.validate(@@ -61,7 +61,7 @@ export async function action({ request }: ActionArgs) {});if (updateCategory.error) {return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request,error(updateCategory.error, "Failed to update attribute category")@@ -70,7 +70,7 @@ export async function action({ request }: ActionArgs) {}return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request, success("Updated attribute category ")));}@@ -78,7 +78,7 @@ export async function action({ request }: ActionArgs) {export default function EditAttributeCategoryRoute() {const { attributeCategory } = useLoaderData<typeof loader>();const navigate = useNavigate();- const onClose = () => navigate("/x/people/attributes/");+ const onClose = () => navigate("/x/resources/attributes/");const initialValues = {id: attributeCategory?.id,diff --git a/apps/carbon/app/routes/x+/people.attributes.delete.$categoryId.tsx b/apps/carbon/app/routes/x+/resources.attributes.delete.$categoryId.tsxsimilarity index 83%rename from apps/carbon/app/routes/x+/people.attributes.delete.$categoryId.tsxrename to apps/carbon/app/routes/x+/resources.attributes.delete.$categoryId.tsxindex 624a25f5d3..3adb079dca 100644--- a/apps/carbon/app/routes/x+/people.attributes.delete.$categoryId.tsx+++ b/apps/carbon/app/routes/x+/resources.attributes.delete.$categoryId.tsx@@ -1,19 +1,19 @@import type { LoaderArgs } from "@remix-run/node";import { redirect } from "@remix-run/node";import { requirePermissions } from "~/services/auth";-import { deleteAttributeCategory } from "~/services/people";+import { deleteAttributeCategory } from "~/services/resources";import { flash } from "~/services/session";import { error, success } from "~/utils/result";export async function action({ request, params }: LoaderArgs) {const { client } = await requirePermissions(request, {- update: "people",+ update: "resources",});const { categoryId } = params;if (!categoryId) {return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request, error(params, "Failed to get a category id")));}@@ -21,7 +21,7 @@ export async function action({ request, params }: LoaderArgs) {const deactivateAttribute = await deleteAttributeCategory(client, categoryId);if (deactivateAttribute.error) {return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request,error(@@ -33,7 +33,7 @@ export async function action({ request, params }: LoaderArgs) {}return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request, success("Successfully deactivated attribute category")));}diff --git a/apps/carbon/app/routes/x+/people.attributes.list.$categoryId.$attributeId.tsx b/apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.$attributeId.tsxsimilarity index 77%rename from apps/carbon/app/routes/x+/people.attributes.list.$categoryId.$attributeId.tsxrename to apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.$attributeId.tsxindex b8914979c0..3eb993b964 100644--- a/apps/carbon/app/routes/x+/people.attributes.list.$categoryId.$attributeId.tsx+++ b/apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.$attributeId.tsx@@ -3,17 +3,17 @@ import { redirect } from "@remix-run/node";import { json } from "@remix-run/node";import { useLoaderData, useNavigate, useParams } from "@remix-run/react";import { useRouteData } from "~/hooks";-import { AttributeForm } from "~/interfaces/People/Attributes";-import type { AttributeDataType } from "~/interfaces/People/types";+import { AttributeForm } from "~/interfaces/Resources/Attributes";+import type { AttributeDataType } from "~/interfaces/Resources/types";import { requirePermissions } from "~/services/auth";-import { getAttribute } from "~/services/people";+import { getAttribute } from "~/services/resources";import { flash } from "~/services/session";import { notFound } from "~/utils/http";import { error } from "~/utils/result";export async function loader({ request, params }: LoaderArgs) {const { client } = await requirePermissions(request, {- view: "people",+ view: "resources",role: "employee",});@@ -23,7 +23,7 @@ export async function loader({ request, params }: LoaderArgs) {const attribute = await getAttribute(client, attributeId);if (attribute.error) {return redirect(- `/x/people/attributes/list/${categoryId}`,+ `/x/resources/attributes/list/${categoryId}`,await flash(request, error(attribute.error, "Failed to fetch attribute")));}@@ -39,12 +39,10 @@ export default function EditAttributeRoute() {if (Number.isNaN(categoryId)) throw new Error("categoryId is not a number");const navigate = useNavigate();- const onClose = () => navigate(`/x/people/attributes/list/${categoryId}`);+ const onClose = () => navigate(`/x/resources/attributes/list/${categoryId}`);const attributesRouteData = useRouteData<{- dataTypes: {- data: AttributeDataType[] | null;- };- }>("/x/people/attributes");+ dataTypes: AttributeDataType[];+ }>("/x/resources/attributes");return (<AttributeForm@@ -56,7 +54,7 @@ export default function EditAttributeRoute() {canSelfManage: attribute.canSelfManage ?? true,listOptions: attribute?.listOptions ?? [],}}- dataTypes={attributesRouteData?.dataTypes?.data ?? []}+ dataTypes={attributesRouteData?.dataTypes ?? []}onClose={onClose}/>);diff --git a/apps/carbon/app/routes/x+/people.attributes.list.$categoryId.new.tsx b/apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.new.tsxsimilarity index 67%rename from apps/carbon/app/routes/x+/people.attributes.list.$categoryId.new.tsxrename to apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.new.tsxindex f63467b08b..41a0da11b1 100644--- a/apps/carbon/app/routes/x+/people.attributes.list.$categoryId.new.tsx+++ b/apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.new.tsx@@ -1,7 +1,7 @@import { useNavigate, useParams } from "@remix-run/react";import { useRouteData } from "~/hooks";-import { AttributeForm } from "~/interfaces/People/Attributes";-import type { AttributeDataType } from "~/interfaces/People/types";+import { AttributeForm } from "~/interfaces/Resources/Attributes";+import type { AttributeDataType } from "~/interfaces/Resources/types";export default function NewAttributeRoute() {const { categoryId } = useParams();@@ -10,10 +10,8 @@ export default function NewAttributeRoute() {const navigate = useNavigate();const onClose = () => navigate(-1);const attributesRouteData = useRouteData<{- dataTypes: {- data: AttributeDataType[] | null;- };- }>("/x/people/attributes");+ dataTypes: AttributeDataType[];+ }>("/x/resources/attributes");return (<AttributeForm@@ -23,7 +21,7 @@ export default function NewAttributeRoute() {userAttributeCategoryId: categoryId,canSelfManage: true,}}- dataTypes={attributesRouteData?.dataTypes?.data ?? []}+ dataTypes={attributesRouteData?.dataTypes ?? []}onClose={onClose}/>);diff --git a/apps/carbon/app/routes/x+/people.attributes.list.$categoryId.tsx b/apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.tsxsimilarity index 89%rename from apps/carbon/app/routes/x+/people.attributes.list.$categoryId.tsxrename to apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.tsxindex 7e19526590..85f002ff26 100644--- a/apps/carbon/app/routes/x+/people.attributes.list.$categoryId.tsx+++ b/apps/carbon/app/routes/x+/resources.attributes.list.$categoryId.tsx@@ -2,19 +2,19 @@ import type { ActionArgs, LoaderArgs } from "@remix-run/node";import { json, redirect } from "@remix-run/node";import { Outlet, useLoaderData, useNavigate } from "@remix-run/react";import { useUrlParams } from "~/hooks";-import { AttributeCategoryDetail } from "~/interfaces/People/Attributes";+import { AttributeCategoryDetail } from "~/interfaces/Resources/Attributes";import { requirePermissions } from "~/services/auth";import { flash } from "~/services/session";import {getAttributeCategory,updateAttributeSortOrder,-} from "~/services/people";+} from "~/services/resources";import { assertIsPost, notFound } from "~/utils/http";import { error } from "~/utils/result";export async function loader({ request, params }: LoaderArgs) {const { client } = await requirePermissions(request, {- view: "people",+ view: "resources",role: "employee",});@@ -24,7 +24,7 @@ export async function loader({ request, params }: LoaderArgs) {const attributeCategory = await getAttributeCategory(client, categoryId);if (attributeCategory.error) {return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request,error(attributeCategory.error, "Failed to fetch attribute category")@@ -38,7 +38,7 @@ export async function loader({ request, params }: LoaderArgs) {export async function action({ request }: ActionArgs) {assertIsPost(request);const { client, userId } = await requirePermissions(request, {- update: "people",+ update: "resources",});const updateMap = (await request.formData()).get("updates") as string;@@ -74,7 +74,8 @@ export default function AttributeCategoryListRoute() {const { attributeCategory } = useLoaderData<typeof loader>();const [params] = useUrlParams();const navigate = useNavigate();- const onClose = () => navigate(`/x/people/attributes?${params.toString()}`);+ const onClose = () =>+ navigate(`/x/resources/attributes?${params.toString()}`);return (<>diff --git a/apps/carbon/app/routes/x+/people.attributes.new.tsx b/apps/carbon/app/routes/x+/resources.attributes.new.tsxsimilarity index 85%rename from apps/carbon/app/routes/x+/people.attributes.new.tsxrename to apps/carbon/app/routes/x+/resources.attributes.new.tsxindex 6bf83c0ba0..1c4d21d323 100644--- a/apps/carbon/app/routes/x+/people.attributes.new.tsx+++ b/apps/carbon/app/routes/x+/resources.attributes.new.tsx@@ -2,20 +2,20 @@ import type { ActionArgs } from "@remix-run/node";import { redirect } from "@remix-run/node";import { useNavigate } from "@remix-run/react";import { validationError } from "remix-validated-form";-import { AttributeCategoryForm } from "~/interfaces/People/Attributes";+import { AttributeCategoryForm } from "~/interfaces/Resources/Attributes";import { requirePermissions } from "~/services/auth";import { flash } from "~/services/session";import {attributeCategoryValidator,insertAttributeCategory,-} from "~/services/people";+} from "~/services/resources";import { assertIsPost } from "~/utils/http";import { error, success } from "~/utils/result";export async function action({ request }: ActionArgs) {assertIsPost(request);const { client, userId } = await requirePermissions(request, {- update: "people",+ update: "resources",});const validation = await attributeCategoryValidator.validate(@@ -35,7 +35,7 @@ export async function action({ request }: ActionArgs) {});if (createAttributeCategory.error) {return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request,error(@@ -47,14 +47,14 @@ export async function action({ request }: ActionArgs) {}return redirect(- "/x/people/attributes",+ "/x/resources/attributes",await flash(request, success("Created attribute category ")));}export default function NewAttributeCategoryRoute() {const navigate = useNavigate();- const onClose = () => navigate("/x/people/attributes");+ const onClose = () => navigate("/x/resources/attributes");const initialValues = {name: "",diff --git a/apps/carbon/app/routes/x+/people.attributes.tsx b/apps/carbon/app/routes/x+/resources.attributes.tsxsimilarity index 64%rename from apps/carbon/app/routes/x+/people.attributes.tsxrename to apps/carbon/app/routes/x+/resources.attributes.tsxindex e2153ac063..347afce8c5 100644--- a/apps/carbon/app/routes/x+/people.attributes.tsx+++ b/apps/carbon/app/routes/x+/resources.attributes.tsx@@ -1,21 +1,24 @@import { VStack } from "@chakra-ui/react";import type { LoaderArgs } from "@remix-run/node";+import { redirect } from "@remix-run/node";import { json } from "@remix-run/node";import { Outlet, useLoaderData } from "@remix-run/react";import {AttributeCategoriesTable,AttributeCategoriesTableFilters,-} from "~/interfaces/People/Attributes";+} from "~/interfaces/Resources/Attributes";import { requirePermissions } from "~/services/auth";import {getAttributeCategories,getAttributeDataTypes,-} from "~/services/people";+} from "~/services/resources";+import { flash } from "~/services/session";import { getGenericQueryFilters } from "~/utils/query";+import { error } from "~/utils/result";export async function loader({ request }: LoaderArgs) {const { client } = await requirePermissions(request, {- view: "people",+ view: "resources",role: "employee",});@@ -29,22 +32,30 @@ export async function loader({ request }: LoaderArgs) {getAttributeDataTypes(client),]);+ if (categories.error) {+ redirect(+ "/x",+ await flash(+ request,+ error(categories.error, "Failed to fetch attribute categories")+ )+ );+ }+return json({- categories,- dataTypes,+ count: categories.count ?? 0,+ categories: categories.data ?? [],+ dataTypes: dataTypes.data ?? [],});}export default function UserAttributesRoute() {- const { categories } = useLoaderData<typeof loader>();+ const { count, categories } = useLoaderData<typeof loader>();return (<VStack w="full" h="full" spacing={0}><AttributeCategoriesTableFilters />- <AttributeCategoriesTable- data={categories.data ?? []}- count={categories.count ?? 0}- />+ <AttributeCategoriesTable data={categories} count={count} /><Outlet /></VStack>);diff --git a/apps/carbon/app/routes/x+/resources.index.tsx b/apps/carbon/app/routes/x+/resources.index.tsxnew file mode 100644index 0000000000..12434127ac--- /dev/null+++ b/apps/carbon/app/routes/x+/resources.index.tsx@@ -0,0 +1,5 @@+import { redirect } from "@remix-run/node";++export async function loader() {+ return redirect("/x/resources/people");+}diff --git a/apps/carbon/app/routes/x+/resources.people.tsx b/apps/carbon/app/routes/x+/resources.people.tsxnew file mode 100644index 0000000000..f66751a8c4--- /dev/null+++ b/apps/carbon/app/routes/x+/resources.people.tsx@@ -0,0 +1,85 @@+import { VStack } from "@chakra-ui/react";+import type { LoaderArgs } from "@remix-run/node";+import { redirect } from "@remix-run/node";+import { json } from "@remix-run/node";+import { Outlet, useLoaderData } from "@remix-run/react";+import { usePermissions } from "~/hooks";+import { PeopleTable, PeopleTableFilters } from "~/interfaces/Resources";+import { requirePermissions } from "~/services/auth";+import { getAttributeCategories, getPeople } from "~/services/resources";+import { flash } from "~/services/session";+import { getEmployeeTypes } from "~/services/users";+import { getGenericQueryFilters } from "~/utils/query";+import { error } from "~/utils/result";++export async function loader({ request }: LoaderArgs) {+ const { client } = await requirePermissions(request, {+ view: "resources",+ role: "employee",+ });++ const url = new URL(request.url);+ const searchParams = new URLSearchParams(url.search);+ const name = searchParams.get("name");+ const type = searchParams.get("type");+ const active = searchParams.get("active") !== "false";++ const { limit, offset, sorts, filters } =+ getGenericQueryFilters(searchParams);++ const [attributeCategories, employeeTypes, people] = await Promise.all([+ getAttributeCategories(client),+ getEmployeeTypes(client),+ getPeople(client, { name, type, active, limit, offset, sorts, filters }),+ ]);+ if (attributeCategories.error) {+ return redirect(+ "/x",+ await flash(+ request,+ error(attributeCategories.error, "Error loading attribute categories")+ )+ );+ }+ if (employeeTypes.error) {+ return redirect(+ "/x",+ await flash(+ request,+ error(employeeTypes.error, "Error loading employee types")+ )+ );+ }+ if (people.error) {+ return redirect(+ "/x",+ await flash(request, error(people.error, "Error loading people"))+ );+ }++ return json({+ attributeCategories: attributeCategories.data,+ employeeTypes: employeeTypes.data,+ people: people.data,+ count: people.count,+ });+}++export default function ResourcesPeopleRoute() {+ const { attributeCategories, count, employeeTypes, people } =+ useLoaderData<typeof loader>();+ const permissions = usePermissions();++ return (+ <VStack w="full" h="full" spacing={0}>+ <PeopleTableFilters employeeTypes={employeeTypes ?? []} />+ <PeopleTable+ attributeCategories={attributeCategories}+ data={people ?? []}+ count={count ?? 0}+ isEditable={permissions.can("update", "resources")}+ />+ <Outlet />+ </VStack>+ );+}diff --git a/apps/carbon/app/routes/x+/resources.person.$personId.tsx b/apps/carbon/app/routes/x+/resources.person.$personId.tsxnew file mode 100644index 0000000000..0d81030132--- /dev/null+++ b/apps/carbon/app/routes/x+/resources.person.$personId.tsx@@ -0,0 +1,91 @@+import { Box, Grid } from "@chakra-ui/react";+import type { LoaderArgs } from "@remix-run/node";+import { json } from "@remix-run/node";+import { redirect } from "@remix-run/node";+import { useLoaderData } from "@remix-run/react";+import {+ PersonAbilities,+ PersonHeader,+ PersonNotes,+ PersonTabs,+} from "~/interfaces/Resources";+import {+ getAccount,+ getPrivateAttributes,+ getPublicAttributes,+} from "~/services/account";+import { requirePermissions } from "~/services/auth";+import { getNotes } from "~/services/resources";+import { flash } from "~/services/session";+import { error } from "~/utils/result";++export async function loader({ request, params }: LoaderArgs) {+ const { client } = await requirePermissions(request, {+ view: "resources",+ });++ const { personId } = params;++ if (!personId) {+ throw redirect(+ "/app/x/resources/people",+ await flash(request, error(null, "No person ID provided"))+ );+ }++ const [user, notes, publicAttributes, privateAttributes] = await Promise.all([+ getAccount(client, personId),+ getNotes(client, personId),+ getPublicAttributes(client, personId),+ getPrivateAttributes(client, personId),+ ]);++ if (user.error || !user.data) {+ return redirect(+ "/x/resources/people",+ await flash(request, error(user.error, "Failed to get user"))+ );+ }++ if (publicAttributes.error) {+ return redirect(+ "/x/resources/people",+ await flash(+ request,+ error(publicAttributes.error, "Failed to get user attributes")+ )+ );+ }++ return json({+ user: user.data,+ notes: notes.data ?? [],+ publicAttributes: publicAttributes.data,+ privateAttributes: privateAttributes.data ?? [],+ });+}++export default function PersonRoute() {+ const { user, publicAttributes, privateAttributes, notes } =+ useLoaderData<typeof loader>();++ return (+ <Box p="4" w="full">+ <PersonHeader user={user} />+ <Grid+ gridTemplateColumns="5fr 3fr"+ gridColumnGap={8}+ gridRowGap={8}+ w="full"+ >+ <PersonTabs+ user={user}+ publicAttributes={publicAttributes}+ privateAttributes={privateAttributes}+ />+ <PersonAbilities />+ <PersonNotes notes={notes} />+ </Grid>+ </Box>+ );+}diff --git a/apps/carbon/app/routes/x+/people.tsx b/apps/carbon/app/routes/x+/resources.tsxsimilarity index 73%rename from apps/carbon/app/routes/x+/people.tsxrename to apps/carbon/app/routes/x+/resources.tsxindex c0b512d376..166aee42d5 100644--- a/apps/carbon/app/routes/x+/people.tsx+++ b/apps/carbon/app/routes/x+/resources.tsx@@ -2,14 +2,14 @@ import { Grid, VStack } from "@chakra-ui/react";import type { MetaFunction } from "@remix-run/node";import { Outlet } from "@remix-run/react";import { GroupedContentSidebar } from "~/components/Layout/Sidebar";-import { usePeopleSidebar } from "~/interfaces/People";+import { useResourcesSidebar } from "~/interfaces/Resources";export const meta: MetaFunction = () => ({- title: "Carbon | People",+ title: "Carbon | Resources",});-export default function PeopleRoute() {- const { groups } = usePeopleSidebar();+export default function ResourcesRoute() {+ const { groups } = useResourcesSidebar();return (<Grid w="full" h="full" templateColumns="auto 1fr" overflow="auto">diff --git a/apps/carbon/app/routes/x+/sales.customers.tsx b/apps/carbon/app/routes/x+/sales.customers.tsxindex 8dd6b2b106..9cd34f636c 100644--- a/apps/carbon/app/routes/x+/sales.customers.tsx+++ b/apps/carbon/app/routes/x+/sales.customers.tsx@@ -1,5 +1,6 @@import { VStack } from "@chakra-ui/react";import type { LoaderArgs } from "@remix-run/node";+import { redirect } from "@remix-run/node";import { json } from "@remix-run/node";import { Outlet, useLoaderData } from "@remix-run/react";import {@@ -12,7 +13,9 @@ import {getCustomerStatuses,getCustomerTypes,} from "~/services/sales";+import { flash } from "~/services/session";import { getGenericQueryFilters } from "~/utils/query";+import { error } from "~/utils/result";export async function loader({ request }: LoaderArgs) {const { client } = await requirePermissions(request, {@@ -34,23 +37,32 @@ export async function loader({ request }: LoaderArgs) {getCustomerStatuses(client),]);- return json({ customers, customerTypes, customerStatuses });+ if (customers.error) {+ redirect(+ "/x",+ await flash(request, error(customers.error, "Failed to fetch customers"))+ );+ }++ return json({+ count: customers.count ?? 0,+ customers: customers.data ?? [],+ customerStatuses: customerStatuses.data ?? [],+ customerTypes: customerTypes.data ?? [],+ });}export default function SalesCustomersRoute() {- const { customers, customerTypes, customerStatuses } =+ const { count, customers, customerTypes, customerStatuses } =useLoaderData<typeof loader>();return (<VStack w="full" h="full" spacing={0}><CustomersTableFilters- customerTypes={customerTypes.data ?? []}- customerStatuses={customerStatuses.data ?? []}- />- <CustomersTable- data={customers.data ?? []}- count={customers.count ?? 0}+ customerTypes={customerTypes}+ customerStatuses={customerStatuses}/>+ <CustomersTable data={customers} count={count} /><Outlet /></VStack>);diff --git a/apps/carbon/app/routes/x+/users.customers.tsx b/apps/carbon/app/routes/x+/users.customers.tsxindex 583be12523..ddb3e631a6 100644--- a/apps/carbon/app/routes/x+/users.customers.tsx+++ b/apps/carbon/app/routes/x+/users.customers.tsx@@ -1,5 +1,6 @@import { VStack } from "@chakra-ui/react";import type { LoaderArgs } from "@remix-run/node";+import { redirect } from "@remix-run/node";import { json } from "@remix-run/node";import { Outlet, useLoaderData } from "@remix-run/react";import { usePermissions } from "~/hooks";@@ -9,8 +10,10 @@ import {} from "~/interfaces/Users/Customers";import { requirePermissions } from "~/services/auth";import { getCustomerTypes } from "~/services/sales";+import { flash } from "~/services/session";import { getCustomers } from "~/services/users";import { getGenericQueryFilters } from "~/utils/query";+import { error } from "~/utils/result";export async function loader({ request }: LoaderArgs) {const { client } = await requirePermissions(request, {@@ -31,19 +34,30 @@ export async function loader({ request }: LoaderArgs) {getCustomerTypes(client),]);- return json({ customers, customerTypes });+ if (customers.error) {+ redirect(+ "/x",+ await flash(request, error(customers.error, "Failed to fetch customers"))+ );+ }++ return json({+ count: customers.count ?? 0,+ customers: customers.data ?? [],+ customerTypes: customerTypes.data ?? [],+ });}export default function UsersCustomersRoute() {- const { customers, customerTypes } = useLoaderData<typeof loader>();+ const { count, customers, customerTypes } = useLoaderData<typeof loader>();const permissions = usePermissions();return (<VStack w="full" h="full" spacing={0}>- <CustomerAccountsTableFilters customerTypes={customerTypes.data ?? []} />+ <CustomerAccountsTableFilters customerTypes={customerTypes} /><CustomerAccountsTable- data={customers.data ?? []}- count={customers.count ?? 0}+ data={customers}+ count={count}isEditable={permissions.can("update", "users")}/><Outlet />diff --git a/apps/carbon/app/routes/x+/users.employee-types.$employeeTypeId.tsx b/apps/carbon/app/routes/x+/users.employee-types.$employeeTypeId.tsxindex 94b2a9432d..77faca736a 100644--- a/apps/carbon/app/routes/x+/users.employee-types.$employeeTypeId.tsx+++ b/apps/carbon/app/routes/x+/users.employee-types.$employeeTypeId.tsx@@ -40,7 +40,7 @@ export async function loader({ request, params }: LoaderArgs) {}return json({- employeeType,+ employeeType: employeeType?.data,employeeTypePermissions: makePermissionsFromEmployeeType(employeeTypePermissions.data ?? []),@@ -122,9 +122,9 @@ export default function EditEmployeeTypesRoute() {useLoaderData<typeof loader>();const initialValues = {- id: employeeType.data?.id ?? "",- name: employeeType.data?.name ?? "",- color: employeeType.data?.color ?? "#000000",+ id: employeeType?.id ?? "",+ name: employeeType?.name ?? "",+ color: employeeType?.color ?? "#000000",permissions: employeeTypePermissions,};diff --git a/apps/carbon/app/routes/x+/users.employees.tsx b/apps/carbon/app/routes/x+/users.employees.tsxindex 872e13b001..18a7f05168 100644--- a/apps/carbon/app/routes/x+/users.employees.tsx+++ b/apps/carbon/app/routes/x+/users.employees.tsx@@ -1,5 +1,6 @@import { VStack } from "@chakra-ui/react";import type { LoaderArgs } from "@remix-run/node";+import { redirect } from "@remix-run/node";import { json } from "@remix-run/node";import { Outlet, useLoaderData } from "@remix-run/react";import { usePermissions } from "~/hooks";@@ -8,8 +9,10 @@ import {EmployeesTableFilters,} from "~/interfaces/Users/Employees";import { requirePermissions } from "~/services/auth";+import { flash } from "~/services/session";import { getEmployees, getEmployeeTypes } from "~/services/users";import { getGenericQueryFilters } from "~/utils/query";+import { error } from "~/utils/result";export async function loader({ request }: LoaderArgs) {const { client } = await requirePermissions(request, {@@ -31,19 +34,39 @@ export async function loader({ request }: LoaderArgs) {getEmployeeTypes(client),]);- return json({ employees, employeeTypes });+ if (employees.error) {+ return redirect(+ "/x",+ await flash(request, error(employees.error, "Error loading employees"))+ );+ }+ if (employeeTypes.error) {+ return redirect(+ "/x",+ await flash(+ request,+ error(employeeTypes.error, "Error loading employee types")+ )+ );+ }++ return json({+ count: employees.count ?? 0,+ employees: employees.data,+ employeeTypes: employeeTypes.data,+ });}export default function UsersEmployeesRoute() {- const { employees, employeeTypes } = useLoaderData<typeof loader>();+ const { count, employees, employeeTypes } = useLoaderData<typeof loader>();const permissions = usePermissions();return (<VStack w="full" h="full" spacing={0}>- <EmployeesTableFilters employeeTypes={employeeTypes.data ?? []} />+ <EmployeesTableFilters employeeTypes={employeeTypes} /><EmployeesTable- data={employees.data ?? []}- count={employees.count ?? 0}+ data={employees}+ count={count}isEditable={permissions.can("update", "users")}/><Outlet />diff --git a/apps/carbon/app/routes/x+/users.suppliers.tsx b/apps/carbon/app/routes/x+/users.suppliers.tsxindex 60fcb5cd40..baa98fe6dd 100644--- a/apps/carbon/app/routes/x+/users.suppliers.tsx+++ b/apps/carbon/app/routes/x+/users.suppliers.tsx@@ -1,5 +1,6 @@import { VStack } from "@chakra-ui/react";import type { LoaderArgs } from "@remix-run/node";+import { redirect } from "@remix-run/node";import { json } from "@remix-run/node";import { Outlet, useLoaderData } from "@remix-run/react";import { usePermissions } from "~/hooks";@@ -9,8 +10,10 @@ import {} from "~/interfaces/Users/Suppliers";import { requirePermissions } from "~/services/auth";import { getSupplierTypes } from "~/services/purchasing";+import { flash } from "~/services/session";import { getSuppliers } from "~/services/users";import { getGenericQueryFilters } from "~/utils/query";+import { error } from "~/utils/result";export async function loader({ request }: LoaderArgs) {const { client } = await requirePermissions(request, {@@ -30,20 +33,39 @@ export async function loader({ request }: LoaderArgs) {getSuppliers(client, { name, type, active, limit, offset, sorts, filters }),getSupplierTypes(client),]);+ if (suppliers.error) {+ return redirect(+ "/x",+ await flash(request, error(suppliers.error, "Error loading suppliers"))+ );+ }+ if (supplierTypes.error) {+ return redirect(+ "/x",+ await flash(+ request,+ error(supplierTypes.error, "Error loading supplier types")+ )+ );+ }- return json({ suppliers, supplierTypes });+ return json({+ count: suppliers.count ?? 0,+ suppliers: suppliers.data,+ supplierTypes: supplierTypes.data,+ });}export default function UsersSuppliersRoute() {- const { suppliers, supplierTypes } = useLoaderData<typeof loader>();+ const { count, suppliers, supplierTypes } = useLoaderData<typeof loader>();const permissions = usePermissions();return (<VStack w="full" h="full" spacing={0}>- <SupplierAccountsTableFilters supplierTypes={supplierTypes.data ?? []} />+ <SupplierAccountsTableFilters supplierTypes={supplierTypes} /><SupplierAccountsTable- data={suppliers.data ?? []}- count={suppliers.count ?? 0}+ data={suppliers}+ count={count}isEditable={permissions.can("update", "users")}/><Outlet />diff --git a/apps/carbon/app/services/auth/auth.server.ts b/apps/carbon/app/services/auth/auth.server.tsindex 517c34fabc..60d329a970 100644--- a/apps/carbon/app/services/auth/auth.server.ts+++ b/apps/carbon/app/services/auth/auth.server.ts@@ -7,7 +7,7 @@ import type {import { SERVER_URL } from "~/config/env";import { REFRESH_ACCESS_TOKEN_THRESHOLD } from "~/config/env";import { getSupabase, getSupabaseServiceRole } from "~/lib/supabase";-import { requireAuthSession, flash, getAuthSession } from "~/services/session";+import { requireAuthSession, flash } from "~/services/session";import { getUserClaims } from "~/services/users";import { error } from "~/utils/result";import type { AuthSession } from "./types";diff --git a/apps/carbon/app/services/people/index.ts b/apps/carbon/app/services/people/index.tsdeleted file mode 100644index 7a9a8c51fc..0000000000--- a/apps/carbon/app/services/people/index.ts+++ /dev/null@@ -1,2 +0,0 @@-export * from "./people.form";-export * from "./people.server";diff --git a/apps/carbon/app/services/people/people.server.ts b/apps/carbon/app/services/people/people.server.tsdeleted file mode 100644index 83be55b2fa..0000000000--- a/apps/carbon/app/services/people/people.server.ts+++ /dev/null@@ -1,178 +0,0 @@-import type { Database } from "@carbon/database";-import type { SupabaseClient } from "@supabase/supabase-js";-import type { GenericQueryFilters } from "~/utils/query";-import { setGenericQueryFilters } from "~/utils/query";--export async function deleteAttribute(- client: SupabaseClient<Database>,- attributeId: string-) {- return client- .from("userAttribute")- .update({ active: false })- .eq("id", attributeId);-}--export async function deleteAttributeCategory(- client: SupabaseClient<Database>,- attributeCategoryId: string-) {- return client- .from("userAttributeCategory")- .update({ active: false })- .eq("id", attributeCategoryId);-}--export async function getAttribute(- client: SupabaseClient<Database>,- attributeId: string-) {- return client- .from("userAttribute")- .select(- "id, name, sortOrder, listOptions, attributeDataTypeId, userAttributeCategoryId, canSelfManage, userAttributeCategory(name)"- )- .eq("id", attributeId)- .eq("active", true)- .single();-}--export async function getAttributeCategories(- client: SupabaseClient<Database>,- args: { name: string | null } & GenericQueryFilters-) {- let query = client- .from("userAttributeCategory")- .select("id, name, public, protected, userAttribute(id, name)", {- count: "exact",- })- .eq("active", true)- .eq("userAttribute.active", true);-- if (args?.name) {- query = query.ilike("name", `%${args.name}%`);- }-- if (args) {- query = setGenericQueryFilters(query, args, "name");- }-- return query;-}--export async function getAttributeCategory(- client: SupabaseClient<Database>,- id: string-) {- return client- .from("userAttributeCategory")- .select(- `id, name, public, protected,- userAttribute(- id, name, sortOrder,- attributeDataType(id, label, isBoolean, isDate, isList, isNumeric, isText, isUser ))- `,- {- count: "exact",- }- )- .eq("id", id)- .eq("active", true)- .eq("userAttribute.active", true)- .single();-}--export async function getAttributeDataTypes(client: SupabaseClient<Database>) {- return client.from("attributeDataType").select("*");-}--export async function insertAttribute(- client: SupabaseClient<Database>,- attribute: {- name: string;- attributeDataTypeId: number;- userAttributeCategoryId: string;- listOptions?: string[];- canSelfManage: boolean;- createdBy: string;- }-) {- // TODO: there's got to be a better way to get the max- const sortOrders = await client- .from("userAttribute")- .select("sortOrder")- .eq("userAttributeCategoryId", attribute.userAttributeCategoryId);-- if (sortOrders.error) return sortOrders;- const maxSortOrder = sortOrders.data.reduce((max, item) => {- return Math.max(max, item.sortOrder);- }, 0);-- return client- .from("userAttribute")- .upsert([{ ...attribute, sortOrder: maxSortOrder + 1 }])- .select("id");-}--export async function insertAttributeCategory(- client: SupabaseClient<Database>,- attributeCategory: {- name: string;- public: boolean;- createdBy: string;- }-) {- return client- .from("userAttributeCategory")- .upsert([attributeCategory])- .select("id");-}--export async function updateAttribute(- client: SupabaseClient<Database>,- attribute: {- id?: string;- name: string;- listOptions?: string[];- canSelfManage: boolean;- updatedBy: string;- }-) {- if (!attribute.id) throw new Error("id is required");- return client- .from("userAttribute")- .update({- name: attribute.name,- listOptions: attribute.listOptions,- canSelfManage: attribute.canSelfManage,- updatedBy: attribute.updatedBy,- })- .eq("id", attribute.id);-}--export async function updateAttributeCategory(- client: SupabaseClient<Database>,- attributeCategory: {- id: string;- name: string;- public: boolean;- updatedBy: string;- }-) {- const { id, ...update } = attributeCategory;- return client.from("userAttributeCategory").update(update).eq("id", id);-}--export async function updateAttributeSortOrder(- client: SupabaseClient<Database>,- updates: {- id: string;- sortOrder: number;- updatedBy: string;- }[]-) {- const updatePromises = updates.map(({ id, sortOrder, updatedBy }) =>- client.from("userAttribute").update({ sortOrder, updatedBy }).eq("id", id)- );- return Promise.all(updatePromises);-}diff --git a/apps/carbon/app/services/resources/index.ts b/apps/carbon/app/services/resources/index.tsnew file mode 100644index 0000000000..fc6688196c--- /dev/null+++ b/apps/carbon/app/services/resources/index.ts@@ -0,0 +1,2 @@+export * from "./resources.form";+export * from "./resources.server";diff --git a/apps/carbon/app/services/people/people.form.ts b/apps/carbon/app/services/resources/resources.form.tssimilarity index 87%rename from apps/carbon/app/services/people/people.form.tsrename to apps/carbon/app/services/resources/resources.form.tsindex 0b7ff86414..dcf8cd61fc 100644--- a/apps/carbon/app/services/people/people.form.ts+++ b/apps/carbon/app/services/resources/resources.form.ts@@ -34,3 +34,10 @@ export const attributeCategoryValidator = withZod(isPublic: zfd.checkbox(),}));++export const noteValidator = withZod(+ z.object({+ id: zfd.text(z.string().optional()),+ note: z.string().min(1, { message: "Note is required" }),+ })+);diff --git a/apps/carbon/app/services/resources/resources.server.ts b/apps/carbon/app/services/resources/resources.server.tsnew file mode 100644index 0000000000..d1df9a2c60--- /dev/null+++ b/apps/carbon/app/services/resources/resources.server.ts@@ -0,0 +1,326 @@+import type { Database } from "@carbon/database";+import type { SupabaseClient } from "@supabase/supabase-js";+import type { DataType, Employee } from "~/interfaces/Users/types";+import { getEmployees } from "~/services/users";+import type { GenericQueryFilters } from "~/utils/query";+import { setGenericQueryFilters } from "~/utils/query";++export async function deleteAttribute(+ client: SupabaseClient<Database>,+ attributeId: string+) {+ return client+ .from("userAttribute")+ .update({ active: false })+ .eq("id", attributeId);+}++export async function deleteAttributeCategory(+ client: SupabaseClient<Database>,+ attributeCategoryId: string+) {+ return client+ .from("userAttributeCategory")+ .update({ active: false })+ .eq("id", attributeCategoryId);+}++export async function getAttribute(+ client: SupabaseClient<Database>,+ attributeId: string+) {+ return client+ .from("userAttribute")+ .select(+ "id, name, sortOrder, listOptions, attributeDataTypeId, userAttributeCategoryId, canSelfManage, userAttributeCategory(name)"+ )+ .eq("id", attributeId)+ .eq("active", true)+ .single();+}++async function getAttributes(+ client: SupabaseClient<Database>,+ userIds: string[]+) {+ return client+ .from("userAttributeCategory")+ .select(+ `id, name,+ userAttribute(id, name, listOptions, canSelfManage,+ attributeDataType(id, isBoolean, isDate, isNumeric, isText, isUser),+ userAttributeValue(+ id, userId, valueBoolean, valueDate, valueNumeric, valueText, valueUser, user!userAttributeValue_userId_fkey(id, fullName, avatarUrl)+ )+ )`+ )+ .eq("userAttribute.active", true)+ .in("userAttribute.userAttributeValue.userId", [userIds])+ .order("sortOrder", { foreignTable: "userAttribute", ascending: true });+}++export async function getAttributeCategories(+ client: SupabaseClient<Database>,+ args?: { name: string | null } & GenericQueryFilters+) {+ let query = client+ .from("userAttributeCategory")+ .select(+ "id, name, protected, public, userAttribute(id, name, attributeDataType(id))",+ {+ count: "exact",+ }+ )+ .eq("active", true)+ .eq("userAttribute.active", true);++ if (args?.name) {+ query = query.ilike("name", `%${args.name}%`);+ }++ if (args) {+ query = setGenericQueryFilters(query, args, "name");+ }++ return query;+}++export async function getAttributeCategory(+ client: SupabaseClient<Database>,+ id: string+) {+ return client+ .from("userAttributeCategory")+ .select(+ `id, name, public, protected,+ userAttribute(+ id, name, sortOrder,+ attributeDataType(id, label, isBoolean, isDate, isList, isNumeric, isText, isUser ))+ `,+ {+ count: "exact",+ }+ )+ .eq("id", id)+ .eq("active", true)+ .eq("userAttribute.active", true)+ .single();+}++export async function getAttributeDataTypes(client: SupabaseClient<Database>) {+ return client.from("attributeDataType").select("*");+}++export async function getNotes(+ client: SupabaseClient<Database>,+ userId: string+) {+ return client+ .from("userNote")+ .select(+ // need to use user!notes_createdBy_fkey instead of user because there+ // are two possible users that could be joined on (the other is userId)+ "id, note, createdAt, user!notes_createdBy_fkey(id, fullName, avatarUrl)"+ )+ .eq("userId", userId)+ .order("createdAt", { ascending: false });+}++type UserAttributeId = string;++export type PersonAttributeValue = {+ userAttributeValueId: string;+ value: boolean | string | number;+ dataType?: DataType;+ user?: {+ id: string;+ fullName: string | null;+ avatarUrl: string | null;+ } | null;+};++type PersonAttributes = Record<UserAttributeId, PersonAttributeValue>;++type Person = Employee & {+ attributes: PersonAttributes;+};++export async function getPeople(+ client: SupabaseClient<Database>,+ args: GenericQueryFilters & {+ name: string | null;+ type: string | null;+ active: boolean | null;+ }+) {+ const employees = await getEmployees(client, args);+ if (employees.error) return employees;++ if (!employees.data) throw new Error("Failed to get employee data");++ const userIds = employees.data.map((employee) => {+ if (!employee.user || Array.isArray(employee.user))+ throw new Error("employee.user is an array");+ return employee.user.id;+ });++ const attributeCategories = await getAttributes(client, userIds);+ if (attributeCategories.error) return attributeCategories;++ const people: Person[] = employees.data.map((employee) => {+ if (!employee.user || Array.isArray(employee.user))+ throw new Error("employee.user is an array");++ const userId = employee.user.id;++ const employeeAttributes =+ attributeCategories.data.reduce<PersonAttributes>((acc, category) => {+ if (!category.userAttribute || !Array.isArray(category.userAttribute))+ return acc;+ category.userAttribute.forEach((attribute) => {+ if (+ attribute.userAttributeValue &&+ Array.isArray(attribute.userAttributeValue) &&+ !Array.isArray(attribute.attributeDataType)+ ) {+ const userAttributeId = attribute.id;+ const userAttributeValue = attribute.userAttributeValue.find(+ (attributeValue) => attributeValue.userId === userId+ );+ const value =+ typeof userAttributeValue?.valueBoolean === "boolean"+ ? userAttributeValue.valueBoolean+ : userAttributeValue?.valueDate ||+ userAttributeValue?.valueNumeric ||+ userAttributeValue?.valueText ||+ userAttributeValue?.valueUser;++ if (value && userAttributeValue?.id) {+ acc[userAttributeId] = {+ userAttributeValueId: userAttributeValue.id,+ dataType: attribute.attributeDataType?.id as DataType,+ value,+ user: !Array.isArray(userAttributeValue.user)+ ? userAttributeValue.user+ : undefined,+ };+ }+ }+ });+ return acc;+ }, {});++ return {+ ...employee,+ attributes: employeeAttributes,+ };+ });++ return {+ count: employees.count,+ data: people,+ error: null,+ };+}++export async function insertAttribute(+ client: SupabaseClient<Database>,+ attribute: {+ name: string;+ attributeDataTypeId: number;+ userAttributeCategoryId: string;+ listOptions?: string[];+ canSelfManage: boolean;+ createdBy: string;+ }+) {+ // TODO: there's got to be a better way to get the max+ const sortOrders = await client+ .from("userAttribute")+ .select("sortOrder")+ .eq("userAttributeCategoryId", attribute.userAttributeCategoryId);++ if (sortOrders.error) return sortOrders;+ const maxSortOrder = sortOrders.data.reduce((max, item) => {+ return Math.max(max, item.sortOrder);+ }, 0);++ return client+ .from("userAttribute")+ .upsert([{ ...attribute, sortOrder: maxSortOrder + 1 }])+ .select("id");+}++export async function insertAttributeCategory(+ client: SupabaseClient<Database>,+ attributeCategory: {+ name: string;+ public: boolean;+ createdBy: string;+ }+) {+ return client+ .from("userAttributeCategory")+ .upsert([attributeCategory])+ .select("id");+}++export async function insertNote(+ client: SupabaseClient<Database>,+ note: {+ userId: string;+ note: string;+ createdBy: string;+ }+) {+ return client.from("userNote").insert([note]).select("id");+}++export async function updateAttribute(+ client: SupabaseClient<Database>,+ attribute: {+ id?: string;+ name: string;+ listOptions?: string[];+ canSelfManage: boolean;+ updatedBy: string;+ }+) {+ if (!attribute.id) throw new Error("id is required");+ return client+ .from("userAttribute")+ .update({+ name: attribute.name,+ listOptions: attribute.listOptions,+ canSelfManage: attribute.canSelfManage,+ updatedBy: attribute.updatedBy,+ })+ .eq("id", attribute.id);+}++export async function updateAttributeCategory(+ client: SupabaseClient<Database>,+ attributeCategory: {+ id: string;+ name: string;+ public: boolean;+ updatedBy: string;+ }+) {+ const { id, ...update } = attributeCategory;+ return client.from("userAttributeCategory").update(update).eq("id", id);+}++export async function updateAttributeSortOrder(+ client: SupabaseClient<Database>,+ updates: {+ id: string;+ sortOrder: number;+ updatedBy: string;+ }[]+) {+ const updatePromises = updates.map(({ id, sortOrder, updatedBy }) =>+ client.from("userAttribute").update({ sortOrder, updatedBy }).eq("id", id)+ );+ return Promise.all(updatePromises);+}diff --git a/apps/carbon/package.json b/apps/carbon/package.jsonindex 0e80e97832..598c6610a4 100644--- a/apps/carbon/package.json+++ b/apps/carbon/package.json@@ -8,14 +8,14 @@"dev": "PORT=3000 remix dev","start": "remix-serve api/build","clean": "rm -rf .cache && rm -rf node_modules && rm -rf api/build && rm -rf public/build",- "lint": "TIMING=1 eslint \"app/**/*.ts*\""+ "lint": "tsc && TIMING=1 eslint \"app/**/*.ts*\""},"dependencies": {"@carbon/database": "*","@carbon/logger": "*","@carbon/react": "*","@carbon/utils": "*",- "@chakra-ui/react": "^2.4.1",+ "@chakra-ui/react": "^2.4.9","@chakra-ui/skip-nav": "^2.0.13","@emotion/react": "^11.10.4","@emotion/server": "^11.10.0",diff --git a/apps/carbon/tsconfig.json b/apps/carbon/tsconfig.jsonindex 791822cd96..dd6ade907b 100644--- a/apps/carbon/tsconfig.json+++ b/apps/carbon/tsconfig.json@@ -15,6 +15,7 @@"~/*": ["./app/*"]},"noEmit": true,- "isolatedModules": true+ "isolatedModules": true,+ "skipLibCheck": true}}diff --git a/packages/carbon-database/src/seed/employee-types.ts b/packages/carbon-database/src/seed/employee-types.tsindex b5f28e8c08..adc5959757 100644--- a/packages/carbon-database/src/seed/employee-types.ts+++ b/packages/carbon-database/src/seed/employee-types.ts@@ -81,7 +81,7 @@ export const employeeTypePermissionsDefinitions: Record<delete: true,view: true,},- People: {+ Resources: {create: true,update: true,delete: true,@@ -155,7 +155,7 @@ export const employeeTypePermissionsDefinitions: Record<delete: false,view: true,},- People: {+ Resources: {create: true,update: true,delete: true,@@ -229,7 +229,7 @@ export const employeeTypePermissionsDefinitions: Record<delete: false,view: false,},- People: {+ Resources: {create: true,update: true,delete: true,diff --git a/packages/carbon-database/src/seed/features.ts b/packages/carbon-database/src/seed/features.tsindex f019565f78..6eae1bd5e6 100644--- a/packages/carbon-database/src/seed/features.ts+++ b/packages/carbon-database/src/seed/features.ts@@ -6,8 +6,8 @@ const possibleFeatures = ["Jobs","Messaging","Parts",- "People","Purchasing",+ "Resources","Sales","Scheduling","Settings",diff --git a/packages/carbon-database/src/types.ts b/packages/carbon-database/src/types.tsindex 15f35f9e90..ea0ac939ce 100644--- a/packages/carbon-database/src/types.ts+++ b/packages/carbon-database/src/types.ts@@ -11,7 +11,6 @@ export interface Database {Tables: {address: {Row: {- id: stringaddressLine1: string | nulladdressLine2: string | nullcity: string | null@@ -20,9 +19,9 @@ export interface Database {countryId: number | nullphone: string | nullfax: string | null+ id: string}Insert: {- id?: stringaddressLine1?: string | nulladdressLine2?: string | nullcity?: string | null@@ -31,9 +30,9 @@ export interface Database {countryId?: number | nullphone?: string | nullfax?: string | null+ id?: string}Update: {- id?: stringaddressLine1?: string | nulladdressLine2?: string | nullcity?: string | null@@ -42,12 +41,13 @@ export interface Database {countryId?: number | nullphone?: string | nullfax?: string | null+ id?: string}}attributeDataType: {Row: {- id: numberlabel: string+ id: numberisBoolean: booleanisDate: booleanisList: boolean@@ -56,8 +56,8 @@ export interface Database {isUser: boolean}Insert: {- id?: numberlabel: string+ id?: numberisBoolean?: booleanisDate?: booleanisList?: boolean@@ -66,8 +66,8 @@ export interface Database {isUser?: boolean}Update: {- id?: numberlabel?: string+ id?: numberisBoolean?: booleanisDate?: booleanisList?: boolean@@ -78,7 +78,6 @@ export interface Database {}contact: {Row: {- id: stringfirstName: stringlastName: stringemail: string@@ -95,9 +94,9 @@ export interface Database {countryId: number | nullbirthday: string | nullnotes: string | null+ id: string}Insert: {- id?: stringfirstName: stringlastName: stringemail: string@@ -114,9 +113,9 @@ export interface Database {countryId?: number | nullbirthday?: string | nullnotes?: string | null+ id?: string}Update: {- id?: stringfirstName?: stringlastName?: stringemail?: string@@ -133,28 +132,28 @@ export interface Database {countryId?: number | nullbirthday?: string | nullnotes?: string | null+ id?: string}}country: {Row: {- id: numbername: stringcode: string+ id: number}Insert: {- id?: numbername: stringcode: string+ id?: number}Update: {- id?: numbername?: stringcode?: string+ id?: number}}customer: {Row: {- id: stringname: stringdescription: string | nullcustomerTypeId: string | null@@ -162,13 +161,13 @@ export interface Database {taxId: string | nullaccountManagerId: string | nulllogo: string | null- createdAt: stringcreatedBy: string | nullupdatedAt: string | nullupdatedBy: string | null+ id: string+ createdAt: string}Insert: {- id?: stringname: stringdescription?: string | nullcustomerTypeId?: string | null@@ -176,13 +175,13 @@ export interface Database {taxId?: string | nullaccountManagerId?: string | nulllogo?: string | null- createdAt?: stringcreatedBy?: string | nullupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ createdAt?: string}Update: {- id?: stringname?: stringdescription?: string | nullcustomerTypeId?: string | null@@ -190,10 +189,11 @@ export interface Database {taxId?: string | nullaccountManagerId?: string | nulllogo?: string | null- createdAt?: stringcreatedBy?: string | nullupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ createdAt?: string}}customerAccount: {@@ -212,88 +212,88 @@ export interface Database {}customerContact: {Row: {- id: stringcustomerId: stringcontactId: stringcustomerLocationId: string | nulluserId: string | null+ id: string}Insert: {- id?: stringcustomerId: stringcontactId: stringcustomerLocationId?: string | nulluserId?: string | null+ id?: string}Update: {- id?: stringcustomerId?: stringcontactId?: stringcustomerLocationId?: string | nulluserId?: string | null+ id?: string}}customerLocation: {Row: {- id: stringcustomerId: stringaddressId: string+ id: string}Insert: {- id?: stringcustomerId: stringaddressId: string+ id?: string}Update: {- id?: stringcustomerId?: stringaddressId?: string+ id?: string}}customerStatus: {Row: {- id: stringname: string- createdAt: stringupdatedAt: string | null+ id: string+ createdAt: string}Insert: {- id?: stringname: string- createdAt?: stringupdatedAt?: string | null+ id?: string+ createdAt?: string}Update: {- id?: stringname?: string- createdAt?: stringupdatedAt?: string | null+ id?: string+ createdAt?: string}}customerType: {Row: {- id: stringname: string+ updatedAt: string | null+ id: stringcolor: string | nullprotected: booleancreatedAt: string- updatedAt: string | null}Insert: {- id?: stringname: string+ updatedAt?: string | null+ id?: stringcolor?: string | nullprotected?: booleancreatedAt?: string- updatedAt?: string | null}Update: {- id?: stringname?: string+ updatedAt?: string | null+ id?: stringcolor?: string | nullprotected?: booleancreatedAt?: string- updatedAt?: string | null}}employee: {@@ -312,86 +312,87 @@ export interface Database {}employeeType: {Row: {- id: stringname: string+ updatedAt: string | null+ id: stringcolor: string | nullprotected: booleancreatedAt: string- updatedAt: string | null}Insert: {- id?: stringname: string+ updatedAt?: string | null+ id?: stringcolor?: string | nullprotected?: booleancreatedAt?: string- updatedAt?: string | null}Update: {- id?: stringname?: string+ updatedAt?: string | null+ id?: stringcolor?: string | nullprotected?: booleancreatedAt?: string- updatedAt?: string | null}}employeeTypePermission: {Row: {employeeTypeId: stringfeatureId: string+ updatedAt: string | nullcreate: booleandelete: booleanupdate: booleanview: booleancreatedAt: string- updatedAt: string | null}Insert: {employeeTypeId: stringfeatureId: string+ updatedAt?: string | nullcreate?: booleandelete?: booleanupdate?: booleanview?: booleancreatedAt?: string- updatedAt?: string | null}Update: {employeeTypeId?: stringfeatureId?: string+ updatedAt?: string | nullcreate?: booleandelete?: booleanupdate?: booleanview?: booleancreatedAt?: string- updatedAt?: string | null}}feature: {Row: {- id: stringname: string- createdAt: stringupdatedAt: string | null+ id: string+ createdAt: string}Insert: {- id?: stringname: string- createdAt?: stringupdatedAt?: string | null+ id?: string+ createdAt?: string}Update: {- id?: stringname?: string- createdAt?: stringupdatedAt?: string | null+ id?: string+ createdAt?: string}}group: {Row: {- id: stringname: string+ id: string+ updatedAt: string | nullisIdentityGroup: booleanisEmployeeTypeGroup: booleanisCustomerOrgGroup: boolean@@ -399,11 +400,11 @@ export interface Database {isSupplierTypeGroup: booleanisSupplierOrgGroup: booleancreatedAt: string- updatedAt: string | null}Insert: {- id?: stringname: string+ id?: string+ updatedAt?: string | nullisIdentityGroup?: booleanisEmployeeTypeGroup?: booleanisCustomerOrgGroup?: boolean@@ -411,11 +412,11 @@ export interface Database {isSupplierTypeGroup?: booleanisSupplierOrgGroup?: booleancreatedAt?: string- updatedAt?: string | null}Update: {- id?: stringname?: string+ id?: string+ updatedAt?: string | nullisIdentityGroup?: booleanisEmployeeTypeGroup?: booleanisCustomerOrgGroup?: boolean@@ -423,61 +424,59 @@ export interface Database {isSupplierTypeGroup?: booleanisSupplierOrgGroup?: booleancreatedAt?: string- updatedAt?: string | null}}membership: {Row: {- id: numbergroupId: stringmemberGroupId: string | nullmemberUserId: string | null+ id: number}Insert: {- id?: numbergroupId: stringmemberGroupId?: string | nullmemberUserId?: string | null+ id?: number}Update: {- id?: numbergroupId?: stringmemberGroupId?: string | nullmemberUserId?: string | null+ id?: number}}search: {Row: {id: numbername: string- description: string | nullentity: Database["public"]["Enums"]["search_entity"] | nulluuid: string | nulllink: string+ description: string | nullfts: unknown | null}Insert: {id?: numbername: string- description?: string | nullentity?: Database["public"]["Enums"]["search_entity"] | nulluuid?: string | nulllink: string+ description?: string | nullfts?: unknown | null}Update: {id?: numbername?: string- description?: string | nullentity?: Database["public"]["Enums"]["search_entity"] | nulluuid?: string | nulllink?: string+ description?: string | nullfts?: unknown | null}}supplier: {Row: {- id: stringname: stringdescription: string | nullsupplierTypeId: string | null@@ -485,13 +484,13 @@ export interface Database {taxId: string | nullaccountManagerId: string | nulllogo: string | null- createdAt: stringcreatedBy: string | nullupdatedAt: string | nullupdatedBy: string | null+ id: string+ createdAt: string}Insert: {- id?: stringname: stringdescription?: string | nullsupplierTypeId?: string | null@@ -499,13 +498,13 @@ export interface Database {taxId?: string | nullaccountManagerId?: string | nulllogo?: string | null- createdAt?: stringcreatedBy?: string | nullupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ createdAt?: string}Update: {- id?: stringname?: stringdescription?: string | nullsupplierTypeId?: string | null@@ -513,10 +512,11 @@ export interface Database {taxId?: string | nullaccountManagerId?: string | nulllogo?: string | null- createdAt?: stringcreatedBy?: string | nullupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ createdAt?: string}}supplierAccount: {@@ -535,88 +535,88 @@ export interface Database {}supplierContact: {Row: {- id: stringsupplierId: stringcontactId: stringsupplierLocationId: string | nulluserId: string | null+ id: string}Insert: {- id?: stringsupplierId: stringcontactId: stringsupplierLocationId?: string | nulluserId?: string | null+ id?: string}Update: {- id?: stringsupplierId?: stringcontactId?: stringsupplierLocationId?: string | nulluserId?: string | null+ id?: string}}supplierLocation: {Row: {- id: stringsupplierId: stringaddressId: string+ id: string}Insert: {- id?: stringsupplierId: stringaddressId: string+ id?: string}Update: {- id?: stringsupplierId?: stringaddressId?: string+ id?: string}}supplierStatus: {Row: {- id: stringname: string- createdAt: stringupdatedAt: string | null+ id: string+ createdAt: string}Insert: {- id?: stringname: string- createdAt?: stringupdatedAt?: string | null+ id?: string+ createdAt?: string}Update: {- id?: stringname?: string- createdAt?: stringupdatedAt?: string | null+ id?: string+ createdAt?: string}}supplierType: {Row: {- id: stringname: string+ updatedAt: string | null+ id: stringcolor: string | nullprotected: booleancreatedAt: string- updatedAt: string | null}Insert: {- id?: stringname: string+ updatedAt?: string | null+ id?: stringcolor?: string | nullprotected?: booleancreatedAt?: string- updatedAt?: string | null}Update: {- id?: stringname?: string+ updatedAt?: string | null+ id?: stringcolor?: string | nullprotected?: booleancreatedAt?: string- updatedAt?: string | null}}user: {@@ -625,123 +625,122 @@ export interface Database {email: stringfirstName: stringlastName: string+ avatarUrl: string | null+ emailVerified: string | null+ updatedAt: string | nullfullName: string | nullabout: string- avatarUrl: string | nullactive: boolean | null- emailVerified: string | nullcreatedAt: string- updatedAt: string | null}Insert: {id: stringemail: stringfirstName: stringlastName: string+ avatarUrl?: string | null+ emailVerified?: string | null+ updatedAt?: string | nullfullName?: string | nullabout?: string- avatarUrl?: string | nullactive?: boolean | null- emailVerified?: string | nullcreatedAt?: string- updatedAt?: string | null}Update: {id?: stringemail?: stringfirstName?: stringlastName?: string+ avatarUrl?: string | null+ emailVerified?: string | null+ updatedAt?: string | nullfullName?: string | nullabout?: string- avatarUrl?: string | nullactive?: boolean | null- emailVerified?: string | nullcreatedAt?: string- updatedAt?: string | null}}userAttribute: {Row: {- id: stringname: string- sortOrder: numberuserAttributeCategoryId: stringattributeDataTypeId: numberlistOptions: string[] | null- canSelfManage: boolean | null- active: boolean | null- createdAt: stringcreatedBy: stringupdatedAt: string | nullupdatedBy: string | null+ id: string+ sortOrder: number+ canSelfManage: boolean | null+ active: boolean | null+ createdAt: string}Insert: {- id?: stringname: string- sortOrder?: numberuserAttributeCategoryId: stringattributeDataTypeId: numberlistOptions?: string[] | null- canSelfManage?: boolean | null- active?: boolean | null- createdAt?: stringcreatedBy: stringupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ sortOrder?: number+ canSelfManage?: boolean | null+ active?: boolean | null+ createdAt?: string}Update: {- id?: stringname?: string- sortOrder?: numberuserAttributeCategoryId?: stringattributeDataTypeId?: numberlistOptions?: string[] | null- canSelfManage?: boolean | null- active?: boolean | null- createdAt?: stringcreatedBy?: stringupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ sortOrder?: number+ canSelfManage?: boolean | null+ active?: boolean | null+ createdAt?: string}}userAttributeCategory: {Row: {- id: stringname: string+ createdBy: string+ updatedAt: string | null+ updatedBy: string | null+ id: stringpublic: boolean | nullprotected: boolean | nullactive: boolean | nullcreatedAt: string- createdBy: string- updatedAt: string | null- updatedBy: string | null}Insert: {- id?: stringname: string- public?: boolean | null- protected?: boolean | null- active?: boolean | null- createdAt?: stringcreatedBy: stringupdatedAt?: string | nullupdatedBy?: string | null- }- Update: {id?: string- name?: stringpublic?: boolean | nullprotected?: boolean | nullactive?: boolean | nullcreatedAt?: string+ }+ Update: {+ name?: stringcreatedBy?: stringupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ public?: boolean | null+ protected?: boolean | null+ active?: boolean | null+ createdAt?: string}}userAttributeValue: {Row: {- id: stringuserAttributeId: stringuserId: stringvalueBoolean: boolean | null@@ -749,13 +748,13 @@ export interface Database {valueNumeric: number | nullvalueText: string | nullvalueUser: string | null- createdAt: stringcreatedBy: stringupdatedAt: string | nullupdatedBy: string | null+ id: string+ createdAt: string}Insert: {- id?: stringuserAttributeId: stringuserId: stringvalueBoolean?: boolean | null@@ -763,13 +762,13 @@ export interface Database {valueNumeric?: number | nullvalueText?: string | nullvalueUser?: string | null- createdAt?: stringcreatedBy: stringupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ createdAt?: string}Update: {- id?: stringuserAttributeId?: stringuserId?: stringvalueBoolean?: boolean | null@@ -777,10 +776,37 @@ export interface Database {valueNumeric?: number | nullvalueText?: string | nullvalueUser?: string | null- createdAt?: stringcreatedBy?: stringupdatedAt?: string | nullupdatedBy?: string | null+ id?: string+ createdAt?: string+ }+ }+ userNote: {+ Row: {+ userId: string+ note: string+ createdBy: string+ id: string+ createdAt: string+ updatedAt: string | null+ }+ Insert: {+ userId: string+ note: string+ createdBy: string+ id?: string+ createdAt?: string+ updatedAt?: string | null+ }+ Update: {+ userId?: string+ note?: string+ createdBy?: string+ id?: string+ createdAt?: string+ updatedAt?: string | null}}}@@ -915,7 +941,8 @@ export interface Database {}Enums: {search_entity:- | "People"+ | "Resource"+ | "Person"| "Customer"| "Supplier"| "Job"diff --git a/packages/carbon-database/supabase/migrations/20230123004316_users.sql b/packages/carbon-database/supabase/migrations/20230123004316_users.sqlindex 9eb17a597f..4c2b26b75e 100644--- a/packages/carbon-database/supabase/migrations/20230123004316_users.sql+++ b/packages/carbon-database/supabase/migrations/20230123004316_users.sql@@ -7,9 +7,9 @@ CREATE TABLE "user" ("about" TEXT NOT NULL DEFAULT '',"avatarUrl" TEXT,"active" BOOLEAN DEFAULT TRUE,- "emailVerified" TIMESTAMP(3),- "createdAt" TIMESTAMP(3) NOT NULL DEFAULT NOW(),- "updatedAt" TIMESTAMP(3),+ "emailVerified" TIMESTAMP WITH TIME ZONE,+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "user_pkey" PRIMARY KEY ("id"));diff --git a/packages/carbon-database/supabase/migrations/20230123004339_employee-types.sql b/packages/carbon-database/supabase/migrations/20230123004339_employee-types.sqlindex b2864f3dd4..189a141a60 100644--- a/packages/carbon-database/supabase/migrations/20230123004339_employee-types.sql+++ b/packages/carbon-database/supabase/migrations/20230123004339_employee-types.sql@@ -6,8 +6,8 @@ CREATE TABLE "employeeType" ("name" TEXT NOT NULL,"color" TEXT DEFAULT '#000000',"protected" BOOLEAN NOT NULL DEFAULT false,- "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" TIMESTAMP(3),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "employeeType_pkey" PRIMARY KEY ("id"),CONSTRAINT "employeeType_colorCheck" CHECK ("color" is null or "color" ~* '^#[a-f0-9]{6}$')diff --git a/packages/carbon-database/supabase/migrations/20230123004409_permissions.sql b/packages/carbon-database/supabase/migrations/20230123004409_permissions.sqlindex 4955cbd14f..7a25c96dff 100644--- a/packages/carbon-database/supabase/migrations/20230123004409_permissions.sql+++ b/packages/carbon-database/supabase/migrations/20230123004409_permissions.sql@@ -1,8 +1,8 @@CREATE TABLE "feature" ("id" TEXT NOT NULL DEFAULT uuid_generate_v4(),"name" TEXT NOT NULL,- "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" TIMESTAMP(3),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "feature_pkey" PRIMARY KEY ("id"));@@ -18,8 +18,8 @@ CREATE TABLE "employeeTypePermission" ("delete" BOOLEAN NOT NULL DEFAULT false,"update" BOOLEAN NOT NULL DEFAULT false,"view" BOOLEAN NOT NULL DEFAULT false,- "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" TIMESTAMP(3),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "employeeTypePermission_pkey" PRIMARY KEY ("employeeTypeId", "featureId"),CONSTRAINT "employeeTypePermission_employeeTypeId_fkey" FOREIGN KEY ("employeeTypeId") REFERENCES "employeeType"("id") ON DELETE CASCADE ON UPDATE CASCADE,diff --git a/packages/carbon-database/supabase/migrations/20230123004536_attributes.sql b/packages/carbon-database/supabase/migrations/20230123004536_attributes.sqlindex 41537b18ef..d815d41bf1 100644--- a/packages/carbon-database/supabase/migrations/20230123004536_attributes.sql+++ b/packages/carbon-database/supabase/migrations/20230123004536_attributes.sql@@ -5,9 +5,9 @@ CREATE TABLE "userAttributeCategory" ("public" BOOLEAN DEFAULT FALSE,"protected" BOOLEAN DEFAULT FALSE,"active" BOOLEAN DEFAULT TRUE,- "createdAt" TIMESTAMP(3) DEFAULT now() NOT NULL,+ "createdAt" TIMESTAMP WITH TIME ZONE DEFAULT NOW() NOT NULL,"createdBy" TEXT NOT NULL,- "updatedAt" TIMESTAMP(3),+ "updatedAt" TIMESTAMP WITH TIME ZONE,"updatedBy" TEXT,CONSTRAINT "userAttributeCategory_pkey" PRIMARY KEY ("id"),@@ -101,9 +101,9 @@ CREATE TABLE "userAttribute" ("listOptions" TEXT ARRAY,"canSelfManage" BOOLEAN DEFAULT FALSE,"active" BOOLEAN DEFAULT TRUE,- "createdAt" TIMESTAMP(3) DEFAULT NOW() NOT NULL,+ "createdAt" TIMESTAMP WITH TIME ZONE DEFAULT NOW() NOT NULL,"createdBy" TEXT NOT NULL,- "updatedAt" TIMESTAMP(3),+ "updatedAt" TIMESTAMP WITH TIME ZONE,"updatedBy" TEXT,CONSTRAINT "userAttribute_pkey" PRIMARY KEY ("id"),@@ -125,9 +125,9 @@ CREATE TABLE "userAttributeValue" ("valueNumeric" NUMERIC,"valueText" TEXT,"valueUser" TEXT,- "createdAt" TIMESTAMP(3) DEFAULT now() NOT NULL,+ "createdAt" TIMESTAMP WITH TIME ZONE DEFAULT now() NOT NULL,"createdBy" TEXT NOT NULL,- "updatedAt" TIMESTAMP(3),+ "updatedAt" TIMESTAMP WITH TIME ZONE,"updatedBy" TEXT,CONSTRAINT "userAttributeValue_singleValue"diff --git a/packages/carbon-database/supabase/migrations/20230123004612_suppliers-and-customers.sql b/packages/carbon-database/supabase/migrations/20230123004612_suppliers-and-customers.sqlindex 8b9f10c833..fe5e0327ab 100644--- a/packages/carbon-database/supabase/migrations/20230123004612_suppliers-and-customers.sql+++ b/packages/carbon-database/supabase/migrations/20230123004612_suppliers-and-customers.sql@@ -46,8 +46,8 @@ CREATE TABLE "address" (CREATE TABLE "supplierStatus" ("id" TEXT NOT NULL DEFAULT xid(),"name" TEXT NOT NULL,- "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" TIMESTAMP(3),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "supplierStatus_pkey" PRIMARY KEY ("id"));@@ -59,8 +59,8 @@ CREATE TABLE "supplierType" ("name" TEXT NOT NULL,"color" TEXT DEFAULT '#000000',"protected" BOOLEAN NOT NULL DEFAULT false,- "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" TIMESTAMP(3),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "supplierType_pkey" PRIMARY KEY ("id"),CONSTRAINT "supplierType_colorCheck" CHECK ("color" is null or "color" ~* '^#[a-f0-9]{6}$')@@ -75,9 +75,9 @@ CREATE TABLE "supplier" ("taxId" TEXT,"accountManagerId" TEXT,"logo" TEXT,- "createdAt" TIMESTAMP(3) DEFAULT NOW() NOT NULL,+ "createdAt" TIMESTAMP WITH TIME ZONE DEFAULT NOW() NOT NULL,"createdBy" TEXT,- "updatedAt" TIMESTAMP(3),+ "updatedAt" TIMESTAMP WITH TIME ZONE,"updatedBy" TEXT,CONSTRAINT "supplier_pkey" PRIMARY KEY ("id"),@@ -125,8 +125,8 @@ CREATE TABLE "supplierAccount" (CREATE TABLE "customerStatus" ("id" TEXT NOT NULL DEFAULT xid(),"name" TEXT NOT NULL,- "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" TIMESTAMP(3),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "customerStatus_pkey" PRIMARY KEY ("id"));@@ -138,8 +138,8 @@ CREATE TABLE "customerType" ("name" TEXT NOT NULL,"color" TEXT DEFAULT '#000000',"protected" BOOLEAN NOT NULL DEFAULT false,- "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" TIMESTAMP(3),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "customerType_pkey" PRIMARY KEY ("id"),CONSTRAINT "customerType_colorCheck" CHECK ("color" is null or "color" ~* '^#[a-f0-9]{6}$')@@ -154,9 +154,9 @@ CREATE TABLE "customer" ("taxId" TEXT,"accountManagerId" TEXT,"logo" TEXT,- "createdAt" TIMESTAMP(3) DEFAULT NOW() NOT NULL,+ "createdAt" TIMESTAMP WITH TIME ZONE DEFAULT NOW() NOT NULL,"createdBy" TEXT,- "updatedAt" TIMESTAMP(3),+ "updatedAt" TIMESTAMP WITH TIME ZONE,"updatedBy" TEXT,CONSTRAINT "customer_pkey" PRIMARY KEY ("id"),diff --git a/packages/carbon-database/supabase/migrations/20230123004632_groups.sql b/packages/carbon-database/supabase/migrations/20230123004632_groups.sqlindex 3a18247fe8..cb2e1613d8 100644--- a/packages/carbon-database/supabase/migrations/20230123004632_groups.sql+++ b/packages/carbon-database/supabase/migrations/20230123004632_groups.sql@@ -7,8 +7,8 @@ CREATE TABLE "group" ("isCustomerTypeGroup" BOOLEAN NOT NULL DEFAULT false,"isSupplierTypeGroup" BOOLEAN NOT NULL DEFAULT false,"isSupplierOrgGroup" BOOLEAN NOT NULL DEFAULT false,- "createdAt" TIMESTAMP(3) DEFAULT now() NOT NULL,- "updatedAt" TIMESTAMP(3),+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),+ "updatedAt" TIMESTAMP WITH TIME ZONE,CONSTRAINT "group_pkey" PRIMARY KEY ("id"));diff --git a/packages/carbon-database/supabase/migrations/20230123212853_search.sql b/packages/carbon-database/supabase/migrations/20230123212853_search.sqlindex 90cba7a94d..fd5d153792 100644--- a/packages/carbon-database/supabase/migrations/20230123212853_search.sql+++ b/packages/carbon-database/supabase/migrations/20230123212853_search.sql@@ -1,5 +1,5 @@-CREATE TYPE search_entity AS enum ('People', 'Customer', 'Supplier', 'Job', 'Part', 'Purchase Order', 'Sales Order', 'Document');+CREATE TYPE search_entity AS enum ('Resource', 'Person', 'Customer', 'Supplier', 'Job', 'Part', 'Purchase Order', 'Sales Order', 'Document');CREATE TABLE search (id BIGINT PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,@@ -25,7 +25,7 @@ DECLAREBEGINemployee := (SELECT u."fullName" FROM public.user u WHERE u.id = new.id);INSERT INTO public.search(name, entity, uuid, link)- VALUES (employee, 'People', new.id, '/x/people/' || new.id);+ VALUES (employee, 'Person', new.id, '/x/resources/person/' || new.id);RETURN new;END;$$ LANGUAGE plpgsql SECURITY DEFINER;@@ -39,12 +39,12 @@ RETURNS TRIGGER AS $$BEGINIF (new.active = false) THENDELETE FROM public.search- WHERE entity = 'People' AND uuid = new.id;+ WHERE entity = 'Person' AND uuid = new.id;RETURN new;END IF;IF (old."fullName" <> new."fullName") THEN- UPDATE public.search SET name = new."fullName", link = '/x/people/' || new.id- WHERE entity = 'People' AND uuid = new.id;+ UPDATE public.search SET name = new."fullName"+ WHERE entity = 'Person' AND uuid = new.id;END IF;RETURN new;END;@@ -124,9 +124,13 @@ CREATE POLICY "Employees with purchasing_view can search for suppliers and purch-- TODO: suppliers should be able to search for their purchase orders-CREATE POLICY "Employees with people_view can search for people" ON "search"+CREATE POLICY "Employees with resources_view can search for resources" ON "search"FOR SELECT- USING (coalesce(get_my_claim('people_view')::boolean, false) = true AND entity = 'People');+ USING (coalesce(get_my_claim('resources_view')::boolean, false) = true AND entity = 'Resource');++CREATE POLICY "Employees with resources_view can search for people" ON "search"+ FOR SELECT+ USING (coalesce(get_my_claim('resources_view')::boolean, false) = true AND entity = 'Person');-- TODO: documents should be filtered based on visibilityCREATE POLICY "Employees with document_view can search for documents" ON "search"diff --git a/packages/carbon-database/supabase/migrations/20230209041302_notes.sql b/packages/carbon-database/supabase/migrations/20230209041302_notes.sqlnew file mode 100644index 0000000000..7ed87e69c3--- /dev/null+++ b/packages/carbon-database/supabase/migrations/20230209041302_notes.sql@@ -0,0 +1,51 @@+CREATE TABLE "userNote" (+ "id" TEXT NOT NULL DEFAULT xid(),+ "userId" TEXT NOT NULL,+ "note" TEXT NOT NULL,+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),+ "createdBy" TEXT NOT NULL,+ "updatedAt" TIMESTAMP WITH TIME ZONE,++ CONSTRAINT "notes_pkey" PRIMARY KEY ("id"),+ CONSTRAINT "notes_userId_fkey" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE CASCADE,+ CONSTRAINT "notes_createdBy_fkey" FOREIGN KEY ("createdBy") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE CASCADE+);++ALTER TABLE "userNote" ENABLE ROW LEVEL SECURITY;++CREATE POLICY "Employees with resources_view can view notes" ON "userNote"+ FOR SELECT+ USING (+ coalesce(get_my_claim('resources_view')::boolean, false) = true+ AND (get_my_claim('role'::text)) = '"employee"'::jsonb+ );++CREATE POLICY "Employees with resources_create can insert notes" ON "userNote"+ FOR INSERT+ WITH CHECK (+ coalesce(get_my_claim('resources_create')::boolean,false)+ AND (get_my_claim('role'::text)) = '"employee"'::jsonb+);++CREATE POLICY "Employees with resources_update can update their own notes" ON "userNote"+ FOR UPDATE+ USING (+ coalesce(get_my_claim('resources_update')::boolean, false) = true+ AND (get_my_claim('role'::text)) = '"employee"'::jsonb+ AND "createdBy"::uuid = auth.uid()+ );++CREATE POLICY "Employees with resources_update can delete their own notes" ON "userNote"+ FOR DELETE+ USING (+ coalesce(get_my_claim('resources_update')::boolean, false) = true+ AND (get_my_claim('role'::text)) = '"employee"'::jsonb+ AND "createdBy"::uuid = auth.uid()+ );++CREATE POLICY "Employees with resources_delete can delete any note" ON "userNote"+ FOR UPDATE+ USING (+ coalesce(get_my_claim('resources_delete')::boolean, false) = true+ AND (get_my_claim('role'::text)) = '"employee"'::jsonb+ );\ No newline at end of filediff --git a/packages/carbon-react/package.json b/packages/carbon-react/package.jsonindex 2a8f88740b..d8414c0320 100644--- a/packages/carbon-react/package.json+++ b/packages/carbon-react/package.json@@ -21,7 +21,7 @@"preset": "@carbon/jest/node"},"dependencies": {- "@chakra-ui/react": "^2.4.1",+ "@chakra-ui/react": "^2.4.9","@emotion/react": "^11.10.4","@emotion/styled": "^11.10.4","@internationalized/date": "^3.0.2",diff --git a/packages/carbon-react/src/Inputs/Select/components/input.tsx b/packages/carbon-react/src/Inputs/Select/components/input.tsxindex 0fcea9e4d7..9ff073756d 100644--- a/packages/carbon-react/src/Inputs/Select/components/input.tsx+++ b/packages/carbon-react/src/Inputs/Select/components/input.tsx@@ -70,7 +70,7 @@ const Input = <className={cx({ input: true }, inputClassName)}ref={innerRef}sx={inputSx}- disabled={isDisabled}+ isDisabled={isDisabled}readOnly={isReadOnly ? true : undefined}aria-readonly={isReadOnly ? true : undefined}aria-required={isRequired ? true : undefined}diff --git a/packages/carbon-react/src/Overlay/ActionMenu/ActionMenu.tsx b/packages/carbon-react/src/Overlay/ActionMenu/ActionMenu.tsxindex 65aff66845..8387926177 100644--- a/packages/carbon-react/src/Overlay/ActionMenu/ActionMenu.tsx+++ b/packages/carbon-react/src/Overlay/ActionMenu/ActionMenu.tsx@@ -15,7 +15,7 @@ const ActionMenu = ({ children, disabled, icon }: ActionMenuProps) => {aria-label="Action context menu for row"icon={icon ? icon : <BsThreeDotsVertical />}colorScheme="gray"- disabled={disabled}+ isDisabled={disabled}variant="outline"onClick={(e) => e.stopPropagation()}/>diff --git a/packages/carbon-react/src/Theme/theme.ts b/packages/carbon-react/src/Theme/theme.tsindex b7eb7b0b60..33445e1b1a 100644--- a/packages/carbon-react/src/Theme/theme.ts+++ b/packages/carbon-react/src/Theme/theme.ts@@ -22,7 +22,12 @@ export const theme = {solid: (props: { colorScheme: string }) => {const { colorScheme: c } = props;- if (c !== "brand") return {};+ if (c !== "brand")+ return {+ borderColor: "gray.200",+ borderWidth: "1px",+ borderStyle: "solid",+ };return {bg: `black`,@@ -43,6 +48,19 @@ export const theme = {borderRadius: "md",},},+ Card: {+ baseStyle: {+ header: {+ borderColor: "gray.200",+ borderBottomWidth: "1px",+ borderBottomStyle: "solid",+ },+ footer: {+ background: "gray.100",+ display: "block",+ },+ },+ },Checkbox: {defaultProps: {colorScheme: "blackAlpha",diff --git a/packages/carbon-react/src/hooks/useHydrated.ts b/packages/carbon-react/src/hooks/useHydrated.tsindex 0b9ea153b0..50aad4fea0 100644--- a/packages/carbon-react/src/hooks/useHydrated.ts+++ b/packages/carbon-react/src/hooks/useHydrated.ts@@ -13,7 +13,7 @@ let hydrating = true;* ```tsx* const hydrated = useHydrated();* return (- * <button type="button" disabled={!hydrated} onClick={doSomethingCustom}>+ * <button type="button" isDisabled={!hydrated} onClick={doSomethingCustom}>* Click me* </button>* );diff --git a/packages/carbon-utils/src/date.ts b/packages/carbon-utils/src/date.tsnew file mode 100644index 0000000000..269481ac59--- /dev/null+++ b/packages/carbon-utils/src/date.ts@@ -0,0 +1,25 @@+const relativeFormatter = new Intl.RelativeTimeFormat(undefined, {+ numeric: "auto",+});++const DIVISIONS: { amount: number; name: Intl.RelativeTimeFormatUnit }[] = [+ { amount: 60, name: "seconds" },+ { amount: 60, name: "minutes" },+ { amount: 24, name: "hours" },+ { amount: 7, name: "days" },+ { amount: 4.34524, name: "weeks" },+ { amount: 12, name: "months" },+ { amount: Number.POSITIVE_INFINITY, name: "years" },+];++export function formatTimeAgo(isoString: string) {+ let duration = (new Date(isoString).getTime() - new Date().getTime()) / 1000;++ for (let i = 0; i <= DIVISIONS.length; i++) {+ const division = DIVISIONS[i];+ if (Math.abs(duration) < division.amount) {+ return relativeFormatter.format(Math.round(duration), division.name);+ }+ duration /= division.amount;+ }+}diff --git a/packages/carbon-utils/src/index.ts b/packages/carbon-utils/src/index.tsindex c66295f5f9..174510af8a 100644--- a/packages/carbon-utils/src/index.ts+++ b/packages/carbon-utils/src/index.ts@@ -1,2 +1,3 @@+export * from "./date";export * from "./math";export * from "./ssr";diff --git a/yarn.lock b/yarn.lockindex 080a057393..1f81b4b069 100644--- a/yarn.lock+++ b/yarn.lock@@ -1071,758 +1071,798 @@resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==-"@chakra-ui/[email protected]":- version "2.1.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/accordion/-/accordion-2.1.3.tgz#98c5426fe32d06a2f7b600161e0f81d02c4c3bb0"- integrity sha512-OAJSbF0UHBipi6ySBlTZM1vZi5Uoe+1UyYTBId1CxRPYHHgm3n9xAYjOtiA+TrT63aZbKwNV2KBshmGSMnNPGQ==- dependencies:- "@chakra-ui/descendant" "3.0.11"- "@chakra-ui/icon" "3.0.12"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-use-controllable-state" "2.0.6"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/transition" "2.0.12"+"@chakra-ui/[email protected]":+ version "2.1.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/accordion/-/accordion-2.1.8.tgz#3f957f88c23b3b9a811363094ebf768afbebbcdf"+ integrity sha512-RTXYhL85dUSVUEurDicxS76JaCXa/L4FYWPAxPSisbZtFvL+/gvoFMcGtT8ZRsJwFWaevmkD+57EmOYCWlLL1A==+ dependencies:+ "@chakra-ui/descendant" "3.0.13"+ "@chakra-ui/icon" "3.0.16"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-use-controllable-state" "2.0.8"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/transition" "2.0.15"++"@chakra-ui/[email protected]":+ version "2.0.17"+ resolved "https://registry.yarnpkg.com/@chakra-ui/alert/-/alert-2.0.17.tgz#b129732ec308db6a6a1afa7c06a6595ad853c967"+ integrity sha512-0Y5vw+HkeXpwbL1roVpSSNM6luMRmUbwduUSHEA4OnX1ismvsDb1ZBfpi4Vxp6w8euJ2Uj6df3krbd5tbCP6tg==+ dependencies:+ "@chakra-ui/icon" "3.0.16"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/spinner" "2.0.13"++"@chakra-ui/[email protected]":+ version "2.1.2"+ resolved "https://registry.yarnpkg.com/@chakra-ui/anatomy/-/anatomy-2.1.2.tgz#ea66b1841e7195da08ddc862daaa3f3e56e565f5"+ integrity sha512-pKfOS/mztc4sUXHNc8ypJ1gPWSolWT770jrgVRfolVbYlki8y5Y+As996zMF6k5lewTu6j9DQequ7Cc9a69IVQ==-"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/alert/-/alert-2.0.12.tgz#6784a1ae9158fa0bdb5df79dbfe8ea691686c70e"- integrity sha512-L2h2EeLH0x6+FDG8liu/EuDGAkI3Cgym6aXJdhaJDY3Q18o7lATrkU5Nb7jAf3sHKMwTW5X0YzAOtFiwjpALGA==+"@chakra-ui/[email protected]":+ version "2.2.4"+ resolved "https://registry.yarnpkg.com/@chakra-ui/avatar/-/avatar-2.2.4.tgz#1f96374ab8d981f293051dae633491781f18e802"+ integrity sha512-OUuZAhabW0FgmFVt0djH3cVR8p9bKC3vYT3Ol2lrUz3hbf4LrjU5EzmMHmQvcbSs6bNDxS3k9hnswLebOFctJQ==dependencies:- "@chakra-ui/icon" "3.0.12"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/spinner" "2.0.11"+ "@chakra-ui/image" "2.0.15"+ "@chakra-ui/react-children-utils" "2.0.6"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.1.0"- resolved "https://registry.yarnpkg.com/@chakra-ui/anatomy/-/anatomy-2.1.0.tgz#8aeb9b753f0412f262743adf68519dfa85120b3e"- integrity sha512-E3jMPGqKuGTbt7mKtc8g/MOOenw2c4wqRC1vOypyFgmC8wsewdY+DJJNENF3atXAK7p5VMBKQfZ7ipNlHnDAwA==--"@chakra-ui/[email protected]":- version "2.2.1"- resolved "https://registry.yarnpkg.com/@chakra-ui/avatar/-/avatar-2.2.1.tgz#3946d8c3b1d49dc425aa80f22d2f53661395e394"- integrity sha512-sgiogfLM8vas8QJTt7AJI4XxNXYdViCWj+xYJwyOwUN93dWKImqqx3O2ihCXoXTIqQWg1rcEgoJ5CxCg6rQaQQ==+"@chakra-ui/[email protected]":+ version "2.1.4"+ resolved "https://registry.yarnpkg.com/@chakra-ui/breadcrumb/-/breadcrumb-2.1.4.tgz#0d249dc2a92639bd2bf46d097dd5445112bd2367"+ integrity sha512-vyBx5TAxPnHhb0b8nyRGfqyjleD//9mySFhk96c9GL+T6YDO4swHw5y/kvDv3Ngc/iRwJ9hdI49PZKwPxLqsEg==dependencies:- "@chakra-ui/image" "2.0.12"- "@chakra-ui/react-children-utils" "2.0.4"- "@chakra-ui/react-context" "2.0.5"+ "@chakra-ui/react-children-utils" "2.0.6"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.1.1"- resolved "https://registry.yarnpkg.com/@chakra-ui/breadcrumb/-/breadcrumb-2.1.1.tgz#e8a682a4909cf8ee5771f7b287524df2be383b8a"- integrity sha512-OSa+F9qJ1xmF0zVxC1GU46OWbbhGf0kurHioSB729d+tRw/OMzmqrrfCJ7KVUUN8NEnTZXT5FIgokMvHGEt+Hg==+"@chakra-ui/[email protected]":+ version "2.0.7"+ resolved "https://registry.yarnpkg.com/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.7.tgz#8f35e45b813f2ea855ea89fcbad4921cd849774c"+ integrity sha512-YBwsDPMlaMRZ4fKc2WyIIaUmByzkiP4ozxMJIjJRPhedzSho7FOZuE8532q+97f2SyY8z/yZPJ41q4GdwHI/HQ==dependencies:- "@chakra-ui/react-children-utils" "2.0.4"- "@chakra-ui/react-context" "2.0.5"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.5.tgz#55b571038b66e9f6d41633c102ea904c679dac5c"- integrity sha512-8uhrckMwoR/powlAhxiFZPM0s8vn0B2yEyEaRcwpy5NmRAJSTEotC2WkSyQl/Cjysx9scredumB5g+fBX7IqGQ==--"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/button/-/button-2.0.12.tgz#17acba9997de005cf6ad0cd6a9821e11358bb537"- integrity sha512-SRW44nz3Jcbl0XkwCxqn1GE7cT/cqKALBMCnBxM5zXJqzMfYjuQHdtJA2AzX/WB3qKab1GJK4rXCV37h4l3Q3Q==- dependencies:- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/spinner" "2.0.11"+"@chakra-ui/[email protected]":+ version "2.0.16"+ resolved "https://registry.yarnpkg.com/@chakra-ui/button/-/button-2.0.16.tgz#ff315b57ee47c3511a6507fcfb6f00bb93e2ac7d"+ integrity sha512-NjuTKa7gNhnGSUutKuTc8HoAOe9WWIigpciBG7yj3ok67kg8bXtSzPyQFZlgTY6XGdAckWTT+Do4tvhwa5LA+g==+ dependencies:+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/spinner" "2.0.13"++"@chakra-ui/[email protected]":+ version "2.1.6"+ resolved "https://registry.yarnpkg.com/@chakra-ui/card/-/card-2.1.6.tgz#27176bdee363ecab7d563c4997c4b2fe9e835ecc"+ integrity sha512-fFd/WAdRNVY/WOSQv4skpy0WeVhhI0f7dTY1Sm0jVl0KLmuP/GnpsWtKtqWjNcV00K963EXDyhlk6+9oxbP4gw==+ dependencies:+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.2.10"+ resolved "https://registry.yarnpkg.com/@chakra-ui/checkbox/-/checkbox-2.2.10.tgz#e4f773e7d2464f1d6e9d18dd88b679290cb33171"+ integrity sha512-vzxEjw99qj7loxAdP1WuHNt4EAvj/t6cc8oxyOB2mEvkAzhxI34rLR+3zWDuHWsmhyUO+XEDh4FiWdR+DK5Siw==+ dependencies:+ "@chakra-ui/form-control" "2.0.17"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-callback-ref" "2.0.7"+ "@chakra-ui/react-use-controllable-state" "2.0.8"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"+ "@chakra-ui/react-use-update-effect" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/visually-hidden" "2.0.15"+ "@zag-js/focus-visible" "0.2.1"++"@chakra-ui/[email protected]":+ version "2.0.14"+ resolved "https://registry.yarnpkg.com/@chakra-ui/clickable/-/clickable-2.0.14.tgz#88093008672a2a30bdd2a30ff815dcc2c88c01a5"+ integrity sha512-jfsM1qaD74ZykLHmvmsKRhDyokLUxEfL8Il1VoZMNX5RBI0xW/56vKpLTFF/v/+vLPLS+Te2cZdD4+2O+G6ulA==+ dependencies:+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.0.17"+ resolved "https://registry.yarnpkg.com/@chakra-ui/close-button/-/close-button-2.0.17.tgz#d43d3a2ea1f08250f8d0da7704baf0e1fbd91b4b"+ integrity sha512-05YPXk456t1Xa3KpqTrvm+7smx+95dmaPiwjiBN3p7LHUQVHJd8ZXSDB0V+WKi419k3cVQeJUdU/azDO2f40sw==+ dependencies:+ "@chakra-ui/icon" "3.0.16"++"@chakra-ui/[email protected]":+ version "2.1.12"+ resolved "https://registry.yarnpkg.com/@chakra-ui/color-mode/-/color-mode-2.1.12.tgz#c0caeadd5f87fadbeefc6826beabac6c4a88d8f5"+ integrity sha512-sYyfJGDoJSLYO+V2hxV9r033qhte5Nw/wAn5yRGGZnEEN1dKPEdWQ3XZvglWSDTNd0w9zkoH2w6vP4FBBYb/iw==+ dependencies:+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.0.13"+ resolved "https://registry.yarnpkg.com/@chakra-ui/control-box/-/control-box-2.0.13.tgz#ffe9634d0c3aecb8e1eb7da19e64fb3d2b181d03"+ integrity sha512-FEyrU4crxati80KUF/+1Z1CU3eZK6Sa0Yv7Z/ydtz9/tvGblXW9NFanoomXAOvcIFLbaLQPPATm9Gmpr7VG05A==-"@chakra-ui/[email protected]":- version "2.1.1"- resolved "https://registry.yarnpkg.com/@chakra-ui/card/-/card-2.1.1.tgz#b981a68d81d0f6447eb0d4d3fdcd7846bab2111f"- integrity sha512-vvmfuNn6gkfv6bGcXQe6kvWHspziPZgYnnffiEjPaZYtaf98WRszpjyPbFv0oQR/2H1RSE1oaTqa/J1rHrzw3A==+"@chakra-ui/[email protected]":+ version "2.0.14"+ resolved "https://registry.yarnpkg.com/@chakra-ui/counter/-/counter-2.0.14.tgz#6e37a863afd2e87d7c94208245e81777640e76e2"+ integrity sha512-KxcSRfUbb94dP77xTip2myoE7P2HQQN4V5fRJmNAGbzcyLciJ+aDylUU/UxgNcEjawUp6Q242NbWb1TSbKoqog==dependencies:- "@chakra-ui/react-context" "2.0.5"+ "@chakra-ui/number-utils" "2.0.7"+ "@chakra-ui/react-use-callback-ref" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.2.4"- resolved "https://registry.yarnpkg.com/@chakra-ui/checkbox/-/checkbox-2.2.4.tgz#e8cff67382165085c45b2618b74cee9da0355c04"- integrity sha512-yNuUFFBuFu9Sih8DlqOn+SLj2RtpVGebePkwUqSRQygMfveFYuWYWt1sbrFYyt0KmIBq0OkucUMy4OnkErUOHQ==- dependencies:- "@chakra-ui/form-control" "2.0.12"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-callback-ref" "2.0.5"- "@chakra-ui/react-use-controllable-state" "2.0.6"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/react-use-safe-layout-effect" "2.0.3"- "@chakra-ui/react-use-update-effect" "2.0.5"- "@chakra-ui/visually-hidden" "2.0.13"- "@zag-js/focus-visible" "0.1.0"--"@chakra-ui/[email protected]":- version "2.0.11"- resolved "https://registry.yarnpkg.com/@chakra-ui/clickable/-/clickable-2.0.11.tgz#d0afcdb40ed1b1ceeabb4ac3e9f2f51fd3cbdac7"- integrity sha512-5Y2dl5cxNgOxHbjxyxsL6Vdze4wUUvwsMCCW3kXwgz2OUI2y5UsBZNcvhNJx3RchJEd0fylMKiKoKmnZMHN2aw==- dependencies:- "@chakra-ui/react-use-merge-refs" "2.0.5"--"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/close-button/-/close-button-2.0.12.tgz#a981fd96abc8bfe6b50428aba5d46b80ef0ce798"- integrity sha512-34rOJ+NDdkhaP1CI0bP5jmE4KCmvgaxxuI5Ano52XHRnFad4ghqqSZ0oae7RqNMcxRK4YNX8JYtj6xdQsfc6kA==- dependencies:- "@chakra-ui/icon" "3.0.12"+ resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-2.0.12.tgz#6eebcbe9e971facd215e174e063ace29f647a045"+ integrity sha512-Q5OYIMvqTl2vZ947kIYxcS5DhQXeStB84BzzBd6C10wOx1gFUu9pL+jLpOnHR3hhpWRMdX5o7eT+gMJWIYUZ0Q==-"@chakra-ui/[email protected]":- version "2.1.10"- resolved "https://registry.yarnpkg.com/@chakra-ui/color-mode/-/color-mode-2.1.10.tgz#8d446550af80cf01a2ccd7470861cb0180112049"- integrity sha512-aUPouOUPn7IPm1v00/9AIkRuNrkCwJlbjVL1kJzLzxijYjbHvEHPxntITt+JWjtXPT8xdOq6mexLYCOGA67JwQ==+"@chakra-ui/[email protected]":+ version "3.0.13"+ resolved "https://registry.yarnpkg.com/@chakra-ui/descendant/-/descendant-3.0.13.tgz#e883a2233ee07fe1ae6c014567824c0f79df11cf"+ integrity sha512-9nzxZVxUSMc4xPL5fSaRkEOQjDQWUGjGvrZI7VzWk9eq63cojOtIxtWMSW383G9148PzWJjJYt30Eud5tdZzlg==dependencies:- "@chakra-ui/react-use-safe-layout-effect" "2.0.3"--"@chakra-ui/[email protected]":- version "2.0.11"- resolved "https://registry.yarnpkg.com/@chakra-ui/control-box/-/control-box-2.0.11.tgz#b2deec368fc83f6675964785f823e4c0c1f5d4ac"- integrity sha512-UJb4vqq+/FPuwTCuaPeHa2lwtk6u7eFvLuwDCST2e/sBWGJC1R+1/Il5pHccnWs09FWxyZ9v/Oxkg/CG3jZR4Q==+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-use-merge-refs" "2.0.7"-"@chakra-ui/[email protected]":- version "2.0.11"- resolved "https://registry.yarnpkg.com/@chakra-ui/counter/-/counter-2.0.11.tgz#b49aa76423e5f4a4a8e717750c190fa5050a3dca"- integrity sha512-1YRt/jom+m3iWw9J9trcM6rAHDvD4lwThiO9raxUK7BRsYUhnPZvsMpcXU1Moax218C4rRpbI9KfPLaig0m1xQ==- dependencies:- "@chakra-ui/number-utils" "2.0.5"- "@chakra-ui/react-use-callback-ref" "2.0.5"--"@chakra-ui/[email protected]":- version "2.0.10"- resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-2.0.10.tgz#cb6cd97ee38f8069789f08c31a828bf3a7e339ea"- integrity sha512-FwHOfw2P4ckbpSahDZef2KoxcvHPUg09jlicWdp24/MjdsOO5PAB/apm2UBvQflY4WAJyOqYaOdnXFlR6nF4cQ==--"@chakra-ui/[email protected]":- version "3.0.11"- resolved "https://registry.yarnpkg.com/@chakra-ui/descendant/-/descendant-3.0.11.tgz#cb8bca7b6e8915afc58cdb1444530a2d1b03efd3"- integrity sha512-sNLI6NS6uUgrvYS6Imhoc1YlI6bck6pfxMBJcnXVSfdIjD6XjCmeY2YgzrtDS+o+J8bB3YJeIAG/vsVy5USE5Q==- dependencies:- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-use-merge-refs" "2.0.5"--"@chakra-ui/[email protected]":- version "2.0.4"- resolved "https://registry.yarnpkg.com/@chakra-ui/dom-utils/-/dom-utils-2.0.4.tgz#367fffecbd287e16836e093d4030dc6e3785d402"- integrity sha512-P936+WKinz5fgHzfwiUQjE/t7NC8bU89Tceim4tbn8CIm/9b+CsHX64eNw4vyJqRwt78TXQK7aGBIbS18R0q5Q==--"@chakra-ui/[email protected]":- version "2.0.15"- resolved "https://registry.yarnpkg.com/@chakra-ui/editable/-/editable-2.0.15.tgz#bef548de7b35e4107e04aeeb0747e448af4a36fd"- integrity sha512-Xb/hxMhguZmmGrdAosRAIRy70n7RSxoDWULojV+22ysWvqO8X+TkkwnF36XQX7c/V7F/yY0UqOXZWqdeoNqWPw==- dependencies:- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-callback-ref" "2.0.5"- "@chakra-ui/react-use-controllable-state" "2.0.6"- "@chakra-ui/react-use-focus-on-pointer-down" "2.0.4"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/react-use-safe-layout-effect" "2.0.3"- "@chakra-ui/react-use-update-effect" "2.0.5"- "@chakra-ui/shared-utils" "2.0.3"--"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.6"- resolved "https://registry.yarnpkg.com/@chakra-ui/event-utils/-/event-utils-2.0.6.tgz#5e04d68ea070ef52ce212c2a99be9afcc015cfaf"- integrity sha512-ZIoqUbgJ5TcCbZRchMv4n7rOl1JL04doMebED88LO5mux36iVP9er/nnOY4Oke1bANKKURMrQf5VTT9hoYeA7A==--"@chakra-ui/[email protected]":- version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/focus-lock/-/focus-lock-2.0.13.tgz#19d6ca35555965a9aaa241b991a67bbc875ee53d"- integrity sha512-AVSJt+3Ukia/m9TCZZgyWvTY7pw88jArivWVJ2gySGYYIs6z/FJMnlwbCVldV2afS0g3cYaii7aARb/WrlG34Q==+ resolved "https://registry.yarnpkg.com/@chakra-ui/dom-utils/-/dom-utils-2.0.6.tgz#68f49f3b4a0bdebd5e416d6fd2c012c9ad64b76a"+ integrity sha512-PVtDkPrDD5b8aoL6Atg7SLjkwhWb7BwMcLOF1L449L3nZN+DAO3nyAh6iUhZVJyunELj9d0r65CDlnMREyJZmA==++"@chakra-ui/[email protected]":+ version "2.0.19"+ resolved "https://registry.yarnpkg.com/@chakra-ui/editable/-/editable-2.0.19.tgz#1af2fe3c215111f61f7872fb5f599f4d8da24e7d"+ integrity sha512-YxRJsJ2JQd42zfPBgTKzIhg1HugT+gfQz1ZosmUN+IZT9YZXL2yodHTUz6Lee04Vc/CdEqgBFLuREXEUNBfGtA==+ dependencies:+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-callback-ref" "2.0.7"+ "@chakra-ui/react-use-controllable-state" "2.0.8"+ "@chakra-ui/react-use-focus-on-pointer-down" "2.0.6"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"+ "@chakra-ui/react-use-update-effect" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.0.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/event-utils/-/event-utils-2.0.8.tgz#e6439ba200825a2f15d8f1973d267d1c00a6d1b4"+ integrity sha512-IGM/yGUHS+8TOQrZGpAKOJl/xGBrmRYJrmbHfUE7zrG3PpQyXvbLDP1M+RggkCFVgHlJi2wpYIf0QtQlU0XZfw==++"@chakra-ui/[email protected]":+ version "2.0.16"+ resolved "https://registry.yarnpkg.com/@chakra-ui/focus-lock/-/focus-lock-2.0.16.tgz#bfb705b565d70b2f908d7c7a27f40426ac48dff8"+ integrity sha512-UuAdGCPVrCa1lecoAvpOQD7JFT7a9RdmhKWhFt5ioIcekSLJcerdLHuuL3w0qz//8kd1/SOt7oP0aJqdAJQrCw==dependencies:- "@chakra-ui/dom-utils" "2.0.4"- react-focus-lock "^2.9.1"+ "@chakra-ui/dom-utils" "2.0.6"+ react-focus-lock "^2.9.2"-"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/form-control/-/form-control-2.0.12.tgz#8c8d7e90ed2bfc8ed06bde6b566de808b31cdd94"- integrity sha512-rSnAStY0qodnxiiL9MkS7wMBls+aG9yevq/yIuuETC42XfBNndKu7MLHFEKFIpAMuZvNocJtB+sP8qpe8jLolg==+"@chakra-ui/[email protected]":+ version "2.0.17"+ resolved "https://registry.yarnpkg.com/@chakra-ui/form-control/-/form-control-2.0.17.tgz#2f710325e77ce35067337616d440f903b137bdd5"+ integrity sha512-34ptCaJ2LNvQNOlB6MAKsmH1AkT1xo7E+3Vw10Urr81yTOjDTM/iU6vG3JKPfRDMyXeowPjXmutlnuk72SSjRg==dependencies:- "@chakra-ui/icon" "3.0.12"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-merge-refs" "2.0.5"+ "@chakra-ui/icon" "3.0.16"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.1.2"- resolved "https://registry.yarnpkg.com/@chakra-ui/hooks/-/hooks-2.1.2.tgz#1e413f6624e97b854569e8a19846c9162a4ec153"- integrity sha512-/vDBOqqnho9q++lay0ZcvnH8VuE0wT2OkZj+qDwFwjiHAtGPVxHCSpu9KC8BIHME5TlWjyO6riVyUCb2e2ip6w==+"@chakra-ui/[email protected]":+ version "2.1.5"+ resolved "https://registry.yarnpkg.com/@chakra-ui/hooks/-/hooks-2.1.5.tgz#9d619194257a653998f66ff4ed8ac63b7e3a2e2b"+ integrity sha512-E3bGwxjXvMUc9ev3egctrRi5fnER5xXbWUsivA3iFRdUrkfX+19JLUfP1TURzv7UQG8X1AxKSwfqIsYyeHrdmQ==dependencies:- "@chakra-ui/react-utils" "2.0.9"- "@chakra-ui/utils" "2.0.12"+ "@chakra-ui/react-utils" "2.0.12"+ "@chakra-ui/utils" "2.0.15"compute-scroll-into-view "1.0.14"copy-to-clipboard "3.3.1"-"@chakra-ui/[email protected]":- version "3.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/icon/-/icon-3.0.12.tgz#04f5b38591c4ff1cc922c14f814ce6b5d67525d9"- integrity sha512-VbUqgMcoZ26P1MtZdUqlxAKYDi1Bt8sSPNRID8QOwWfqyRYrbzabORVhKR3gpi6GaINjm7KRHIXHarj3u6EWdA==+"@chakra-ui/[email protected]":+ version "3.0.16"+ resolved "https://registry.yarnpkg.com/@chakra-ui/icon/-/icon-3.0.16.tgz#6413ec637c0c3acc204301485f05451b5bcd6ba4"+ integrity sha512-RpA1X5Ptz8Mt39HSyEIW1wxAz2AXyf9H0JJ5HVx/dBdMZaGMDJ0HyyPBVci0m4RCoJuyG1HHG/DXJaVfUTVAeg==dependencies:- "@chakra-ui/shared-utils" "2.0.3"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-2.0.12.tgz#e90b1d2a5f87fff90b1ef86ca75bfe6b44ac545d"- integrity sha512-uclFhs0+wq2qujGu8Wk4eEWITA3iZZQTitGiFSEkO9Ws5VUH+Gqtn3mUilH0orubrI5srJsXAmjVTuVwge1KJQ==- dependencies:- "@chakra-ui/react-use-safe-layout-effect" "2.0.3"+"@chakra-ui/[email protected]":+ version "2.0.15"+ resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-2.0.15.tgz#7f275f8f3edbb420e0613afd5023ad9cf442d09d"+ integrity sha512-w2rElXtI3FHXuGpMCsSklus+pO1Pl2LWDwsCGdpBQUvGFbnHfl7MftQgTlaGHeD5OS95Pxva39hKrA2VklKHiQ==+ dependencies:+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.0.19"+ resolved "https://registry.yarnpkg.com/@chakra-ui/input/-/input-2.0.19.tgz#96a479ff17f36bb8ad8e2f39e15c7db1305746ec"+ integrity sha512-wV+EG6+F9GngMPpLHBCuxXTNttHihFTT3DpbJnmID9LuAPg7YkWcTNTvpAzC0/Sz9KrcTR9RhSu9a5cvxkkXpw==+ dependencies:+ "@chakra-ui/form-control" "2.0.17"+ "@chakra-ui/object-utils" "2.0.8"+ "@chakra-ui/react-children-utils" "2.0.6"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.1.15"+ resolved "https://registry.yarnpkg.com/@chakra-ui/layout/-/layout-2.1.15.tgz#2238ef7a0c515f0668cefcd9967bb9a179c04714"+ integrity sha512-dJYzBm2ywRYNmtadot/5ii+Gztsx8a9Jd+gFXiSLcfQs/QRdboqMyr/0O+6RY2sI7Mwvyo6uo9AvGJBU1djrNQ==+ dependencies:+ "@chakra-ui/breakpoint-utils" "2.0.7"+ "@chakra-ui/icon" "3.0.16"+ "@chakra-ui/object-utils" "2.0.8"+ "@chakra-ui/react-children-utils" "2.0.6"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.0.5"+ resolved "https://registry.yarnpkg.com/@chakra-ui/lazy-utils/-/lazy-utils-2.0.5.tgz#363c3fa1d421362790b416ffa595acb835e1ae5b"+ integrity sha512-UULqw7FBvcckQk2n3iPO56TMJvDsNv0FKZI6PlUNJVaGsPbsYxK/8IQ60vZgaTVPtVcjY6BE+y6zg8u9HOqpyg==-"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/input/-/input-2.0.13.tgz#6d445bccfb9e59eada70e9a8e47fecda7bfe03a4"- integrity sha512-28K033kg+9SpU0/HCvcAcY42JQPTpSR7ytcZV+6i/MBvGR72Dsf4JJQuQIcAtEW1lH0l/OpbY6ozhaoRW5NhdQ==- dependencies:- "@chakra-ui/form-control" "2.0.12"- "@chakra-ui/object-utils" "2.0.5"- "@chakra-ui/react-children-utils" "2.0.4"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/shared-utils" "2.0.3"--"@chakra-ui/[email protected]":- version "2.1.10"- resolved "https://registry.yarnpkg.com/@chakra-ui/layout/-/layout-2.1.10.tgz#fa9b177ecc32c674ba2208e52faa57ae877bbdb5"- integrity sha512-9WlbZGIg0TMIwnxuCuZfkE7HJUInL5qRWgw9I3U960/4GYZRrlcxx8I1ZuHNww0FdItNrlnYLXEfXP77uU779w==- dependencies:- "@chakra-ui/breakpoint-utils" "2.0.5"- "@chakra-ui/icon" "3.0.12"- "@chakra-ui/object-utils" "2.0.5"- "@chakra-ui/react-children-utils" "2.0.4"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/shared-utils" "2.0.3"--"@chakra-ui/[email protected]":- version "2.0.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/lazy-utils/-/lazy-utils-2.0.3.tgz#5ba459a2541ad0c98cd98b20a8054664c129e9b4"- integrity sha512-SQ5I5rJrcHpVUcEftHLOh8UyeY+06R8Gv3k2RjcpvM6mb2Gktlz/4xl2GcUh3LWydgGQDW/7Rse5rQhKWgzmcg==+ resolved "https://registry.yarnpkg.com/@chakra-ui/live-region/-/live-region-2.0.13.tgz#1d00a637b74372d1ee0b215c649ebd4a33893e58"+ integrity sha512-Ja+Slk6ZkxSA5oJzU2VuGU7TpZpbMb/4P4OUhIf2D30ctmIeXkxTWw1Bs1nGJAVtAPcGS5sKA+zb89i8g+0cTQ==-"@chakra-ui/[email protected]":- version "2.0.11"- resolved "https://registry.yarnpkg.com/@chakra-ui/live-region/-/live-region-2.0.11.tgz#1008c5b629aa4120e5158be53f13d8d34bc2d71a"- integrity sha512-ltObaKQekP75GCCbN+vt1/mGABSCaRdQELmotHTBc5AioA3iyCDHH69ev+frzEwLvKFqo+RomAdAAgqBIMJ02Q==+"@chakra-ui/[email protected]":+ version "3.2.11"+ resolved "https://registry.yarnpkg.com/@chakra-ui/media-query/-/media-query-3.2.11.tgz#8adfabff4a0b9d17fb6d8f9538cc7358326ef00e"+ integrity sha512-AylT/qIpbCOvcjvURMdItLvAnaEYZynatvVJUQ8TYcQO2KHBt8BBhQ9umrmNAZFr8y7CRcg7PdvK+g+yOkq22g==+ dependencies:+ "@chakra-ui/breakpoint-utils" "2.0.7"+ "@chakra-ui/react-env" "3.0.0"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.1.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/menu/-/menu-2.1.8.tgz#fdc16ffc57aef14b9d76920923072c66aedfba33"+ integrity sha512-3Ysk1HwJTv6mzkT1dgsNObZnuZiySPJwLdmmCdv8+rpto8u0oCN+etenN0s7HQlAddvHxZ2Sm+1yKZOu6Wimrg==+ dependencies:+ "@chakra-ui/clickable" "2.0.14"+ "@chakra-ui/descendant" "3.0.13"+ "@chakra-ui/lazy-utils" "2.0.5"+ "@chakra-ui/popper" "3.0.13"+ "@chakra-ui/react-children-utils" "2.0.6"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-use-animation-state" "2.0.8"+ "@chakra-ui/react-use-controllable-state" "2.0.8"+ "@chakra-ui/react-use-disclosure" "2.0.8"+ "@chakra-ui/react-use-focus-effect" "2.0.9"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/react-use-outside-click" "2.0.7"+ "@chakra-ui/react-use-update-effect" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/transition" "2.0.15"++"@chakra-ui/[email protected]":+ version "2.2.9"+ resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.9.tgz#aad65a2c60aa974e023f8b3facc0e79eb742e006"+ integrity sha512-nTfNp7XsVwn5+xJOtstoFA8j0kq/9sJj7KesyYzjEDaMKvCZvIOntRYowoydho43jb4+YC7ebKhp0KOIINS0gg==+ dependencies:+ "@chakra-ui/close-button" "2.0.17"+ "@chakra-ui/focus-lock" "2.0.16"+ "@chakra-ui/portal" "2.0.15"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/transition" "2.0.15"+ aria-hidden "^1.2.2"+ react-remove-scroll "^2.5.5"++"@chakra-ui/[email protected]":+ version "2.0.18"+ resolved "https://registry.yarnpkg.com/@chakra-ui/number-input/-/number-input-2.0.18.tgz#072a00ef869ebafa4960cfdee8caae8208864289"+ integrity sha512-cPkyAFFHHzeFBselrT1BtjlzMkJ6TKrTDUnHFlzqXy6aqeXuhrjFhMfXucjedSpOqedsP9ZbKFTdIAhu9DdL/A==+ dependencies:+ "@chakra-ui/counter" "2.0.14"+ "@chakra-ui/form-control" "2.0.17"+ "@chakra-ui/icon" "3.0.16"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-callback-ref" "2.0.7"+ "@chakra-ui/react-use-event-listener" "2.0.7"+ "@chakra-ui/react-use-interval" "2.0.5"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"+ "@chakra-ui/react-use-update-effect" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.0.7"+ resolved "https://registry.yarnpkg.com/@chakra-ui/number-utils/-/number-utils-2.0.7.tgz#aaee979ca2fb1923a0373a91619473811315db11"+ integrity sha512-yOGxBjXNvLTBvQyhMDqGU0Oj26s91mbAlqKHiuw737AXHt0aPllOthVUqQMeaYLwLCjGMg0jtI7JReRzyi94Dg==++"@chakra-ui/[email protected]":+ version "2.0.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/object-utils/-/object-utils-2.0.8.tgz#307f927f6434f99feb32ba92bdf451a6b59a6199"+ integrity sha512-2upjT2JgRuiupdrtBWklKBS6tqeGMA77Nh6Q0JaoQuH/8yq+15CGckqn3IUWkWoGI0Fg3bK9LDlbbD+9DLw95Q==++"@chakra-ui/[email protected]":+ version "2.0.19"+ resolved "https://registry.yarnpkg.com/@chakra-ui/pin-input/-/pin-input-2.0.19.tgz#f9b196174f0518feec5c1ee3fcaf2134c301148a"+ integrity sha512-6O7s4vWz4cqQ6zvMov9sYj6ZqWAsTxR/MNGe3DNgu1zWQg8veNCYtj1rNGhNS3eZNUMAa8uM2dXIphGTP53Xow==+ dependencies:+ "@chakra-ui/descendant" "3.0.13"+ "@chakra-ui/react-children-utils" "2.0.6"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-use-controllable-state" "2.0.8"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.1.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/popover/-/popover-2.1.8.tgz#e906ce0533693d735b6e13a3a6ffe16d8e0a9ab4"+ integrity sha512-ob7fAz+WWmXIq7iGHVB3wDKzZTj+T+noYBT/U1Q+jIf+jMr2WOpJLTfb0HTZcfhvn4EBFlfBg7Wk5qbXNaOn7g==+ dependencies:+ "@chakra-ui/close-button" "2.0.17"+ "@chakra-ui/lazy-utils" "2.0.5"+ "@chakra-ui/popper" "3.0.13"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-animation-state" "2.0.8"+ "@chakra-ui/react-use-disclosure" "2.0.8"+ "@chakra-ui/react-use-focus-effect" "2.0.9"+ "@chakra-ui/react-use-focus-on-pointer-down" "2.0.6"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "3.0.13"+ resolved "https://registry.yarnpkg.com/@chakra-ui/popper/-/popper-3.0.13.tgz#914a90e9ae2b83d39a0f40a5454267f1266a2cb6"+ integrity sha512-FwtmYz80Ju8oK3Z1HQfisUE7JIMmDsCQsRBu6XuJ3TFQnBHit73yjZmxKjuRJ4JgyT4WBnZoTF3ATbRKSagBeg==+ dependencies:+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@popperjs/core" "^2.9.3"-"@chakra-ui/[email protected]":- version "3.2.8"- resolved "https://registry.yarnpkg.com/@chakra-ui/media-query/-/media-query-3.2.8.tgz#7d5feccb7ac52891426c060dd2ed1df37420956d"- integrity sha512-djmEg/eJ5Qrjn7SArTqjsvlwF6mNeMuiawrTwnU+0EKq9Pq/wVSb7VaIhxdQYJLA/DbRhE/KPMogw1LNVKa4Rw==+"@chakra-ui/[email protected]":+ version "2.0.15"+ resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.15.tgz#21e1f97c4407fc15df8c365cb5cf799dac73ce41"+ integrity sha512-z8v7K3j1/nMuBzp2+wRIIw7s/eipVtnXLdjK5yqbMxMRa44E8Mu5VNJLz3aQFLHXEUST+ifqrjImQeli9do6LQ==dependencies:- "@chakra-ui/breakpoint-utils" "2.0.5"- "@chakra-ui/react-env" "2.0.11"--"@chakra-ui/[email protected]":- version "2.1.4"- resolved "https://registry.yarnpkg.com/@chakra-ui/menu/-/menu-2.1.4.tgz#821d246ecbf4c734f8ab93ad399c22a7b5e0fa1a"- integrity sha512-7kEM5dCSBMXig3iyvsSxzYi/7zkmaf843zoxb7QTB7sRB97wrCxIE8yy1/73YTzxOP3zdAyITPcxNJ/bkiVptQ==- dependencies:- "@chakra-ui/clickable" "2.0.11"- "@chakra-ui/descendant" "3.0.11"- "@chakra-ui/lazy-utils" "2.0.3"- "@chakra-ui/popper" "3.0.9"- "@chakra-ui/react-children-utils" "2.0.4"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-use-animation-state" "2.0.6"- "@chakra-ui/react-use-controllable-state" "2.0.6"- "@chakra-ui/react-use-disclosure" "2.0.6"- "@chakra-ui/react-use-focus-effect" "2.0.7"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/react-use-outside-click" "2.0.5"- "@chakra-ui/react-use-update-effect" "2.0.5"- "@chakra-ui/transition" "2.0.12"--"@chakra-ui/[email protected]":- version "2.2.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.3.tgz#b99ba69cd3fcf1a9ca12f0ae9cea7136b1338726"- integrity sha512-fSpnFiI3rlif5ynyO3P8A1S/97B/SOFUrIuNaJnhKSgiu7VtklPjiPWHCw5Y+ktEvagDXEmkpztcfMBPTY0wIA==- dependencies:- "@chakra-ui/close-button" "2.0.12"- "@chakra-ui/focus-lock" "2.0.13"- "@chakra-ui/portal" "2.0.11"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/transition" "2.0.12"- aria-hidden "^1.1.1"- react-remove-scroll "^2.5.4"--"@chakra-ui/[email protected]":- version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/number-input/-/number-input-2.0.13.tgz#4dd3abae17e74749a3d52cfc3a7718e6cc18042a"- integrity sha512-Kn6PKLkGl+5hrMoeaGGN19qVHHJB79G4c0rfkWPjDWKsgpbCwHQctLJwrkxuwGAn1iWzw4WL31lsb+o6ZRQHbA==- dependencies:- "@chakra-ui/counter" "2.0.11"- "@chakra-ui/form-control" "2.0.12"- "@chakra-ui/icon" "3.0.12"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-callback-ref" "2.0.5"- "@chakra-ui/react-use-event-listener" "2.0.5"- "@chakra-ui/react-use-interval" "2.0.3"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/react-use-safe-layout-effect" "2.0.3"- "@chakra-ui/react-use-update-effect" "2.0.5"--"@chakra-ui/[email protected]":- version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/number-utils/-/number-utils-2.0.5.tgz#c7595fc919fca7c43fe172bfd6c5197c653ee572"- integrity sha512-Thhohnlqze0i5HBJO9xkfOPq1rv3ji/hNPf2xh1fh4hxrNzdm3HCkz0c6lyRQwGuVoeltEHysYZLH/uWLFTCSQ==--"@chakra-ui/[email protected]":- version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/object-utils/-/object-utils-2.0.5.tgz#231602066ddb96ae91dcc7da243b97ad46972398"- integrity sha512-/rIMoYI3c2uLtFIrnTFOPRAI8StUuu335WszqKM0KAW1lwG9H6uSbxqlpZT1Pxi/VQqZKfheGiMQOx5lfTmM/A==+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"-"@chakra-ui/[email protected]":- version "2.0.16"- resolved "https://registry.yarnpkg.com/@chakra-ui/pin-input/-/pin-input-2.0.16.tgz#d31a6e2bce85aa2d1351ccb4cd9bf7a5134d3fb9"- integrity sha512-51cioNYpBSgi9/jq6CrzoDvo8fpMwFXu3SaFRbKO47s9Dz/OAW0MpjyabTfSpwOv0xKZE+ayrYGJopCzZSWXPg==+"@chakra-ui/[email protected]":+ version "2.1.5"+ resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.1.5.tgz#eb6a47adf2bff93971262d163461d390782a04ff"+ integrity sha512-jj5Vp4lxUchuwp4RPCepM0yAyKi344bgsOd3Apd+ldxclDcewPc82fbwDu7g/Xv27LqJkT+7E/SlQy04wGrk0g==dependencies:- "@chakra-ui/descendant" "3.0.11"- "@chakra-ui/react-children-utils" "2.0.4"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-use-controllable-state" "2.0.6"- "@chakra-ui/react-use-merge-refs" "2.0.5"+ "@chakra-ui/react-context" "2.0.7"-"@chakra-ui/[email protected]":- version "2.1.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/popover/-/popover-2.1.3.tgz#8769ed50db2c2188faf6725c248004a1f73f2725"- integrity sha512-3CbeXjpCYnKyq5Z2IqUyfXZYpi5GzmPQZqzS2/kuJwgTuSjtuQovX0QI7oNE4zv4r6yEABW/kVrI7pn0/Tet1Q==- dependencies:- "@chakra-ui/close-button" "2.0.12"- "@chakra-ui/lazy-utils" "2.0.3"- "@chakra-ui/popper" "3.0.9"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-animation-state" "2.0.6"- "@chakra-ui/react-use-disclosure" "2.0.6"- "@chakra-ui/react-use-focus-effect" "2.0.7"- "@chakra-ui/react-use-focus-on-pointer-down" "2.0.4"- "@chakra-ui/react-use-merge-refs" "2.0.5"--"@chakra-ui/[email protected]":- version "3.0.9"- resolved "https://registry.yarnpkg.com/@chakra-ui/popper/-/popper-3.0.9.tgz#5e810e67573c99cbb6fe79869ab76340359e857a"- integrity sha512-xtQ1SXxKyDFY3jWNXxr6xdiGQ8mCI5jaw+c2CWKp/bb8FnASXEFLWIlmWx8zxkE1BbPMszWHnaGF8uCBRjmQMA==- dependencies:- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@popperjs/core" "^2.9.3"+"@chakra-ui/[email protected]":+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.1.0.tgz#93fffd1d2c2582555e50a5da8b924c51ceff0597"+ integrity sha512-+NUBHOkqWFpi/unwqhUQh1t/S1+TMZBTz+FiTeWycSUicdFsGCcTe6eQNLu6X5C8gYx9FGXG4ESx7HCTNXQj7w==+ dependencies:+ "@chakra-ui/css-reset" "2.0.12"+ "@chakra-ui/portal" "2.0.15"+ "@chakra-ui/react-env" "3.0.0"+ "@chakra-ui/system" "2.4.0"+ "@chakra-ui/utils" "2.0.15"++"@chakra-ui/[email protected]":+ version "2.0.19"+ resolved "https://registry.yarnpkg.com/@chakra-ui/radio/-/radio-2.0.19.tgz#8d5c02eae8eddbced4476b1b50921ade62f0a744"+ integrity sha512-PlJiV59eGSmeKP4v/4+ccQUWGRd0cjPKkj/p3L+UbOf8pl9dWm8y9kIeL5TYbghQSDv0nzkrH4+yMnnDTZjdMQ==+ dependencies:+ "@chakra-ui/form-control" "2.0.17"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"+ "@zag-js/focus-visible" "0.2.1"++"@chakra-ui/[email protected]":+ version "2.0.6"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-children-utils/-/react-children-utils-2.0.6.tgz#6c480c6a60678fcb75cb7d57107c7a79e5179b92"+ integrity sha512-QVR2RC7QsOsbWwEnq9YduhpqSFnZGvjjGREV8ygKi8ADhXh93C8azLECCUVgRJF2Wc+So1fgxmjLcbZfY2VmBA==-"@chakra-ui/[email protected]":- version "2.0.11"- resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.11.tgz#7a6b3ebc621bb28b46550fcfb36b94926d0111a5"- integrity sha512-Css61i4WKzKO8ou1aGjBzcsXMy9LnfnpkOFfvaNCpUUNEd6c47z6+FhZNq7Gc38PGNjSfMLAd4LmH+H0ZanYIA==- dependencies:- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-use-safe-layout-effect" "2.0.3"+"@chakra-ui/[email protected]":+ version "2.0.7"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-context/-/react-context-2.0.7.tgz#f79a2b072d04d4280ec8799dc03a8a1af521ca2e"+ integrity sha512-i7EGmSU+h2GB30cwrKB4t1R5BMHyGoJM5L2Zz7b+ZUX4aAqyPcfe97wPiQB6Rgr1ImGXrUeov4CDVrRZ2FPgLQ==-"@chakra-ui/[email protected]":- version "2.1.1"- resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.1.1.tgz#b94399af12e9324737f9e690201f78546572ac59"- integrity sha512-ddAXaYGNObGqH1stRAYxkdospf6J4CDOhB0uyw9BeHRSsYkCUQWkUBd/melJuZeGHEH2ItF9T7FZ4JhcepP3GA==+"@chakra-ui/[email protected]":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-env/-/react-env-3.0.0.tgz#2c3c9dc0e529b9b474a386a2b24988317b2a0811"+ integrity sha512-tfMRO2v508HQWAqSADFrwZgR9oU10qC97oV6zGbjHh9ALP0/IcFR+Bi71KRTveDTm85fMeAzZYGj57P3Dsipkw==dependencies:- "@chakra-ui/react-context" "2.0.5"+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"-"@chakra-ui/[email protected]":- version "2.0.23"- resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.0.23.tgz#da00642637a8c72be724acb7e17d5fe57547a0de"- integrity sha512-oYrvBivTsmBZ7NOyvctOmj+p2dDbRioe0S77S51G9iS+aGTh37W10HgaT0zyrDuZQVARoF9RUyOB5T6vuqwdCQ==- dependencies:- "@chakra-ui/css-reset" "2.0.10"- "@chakra-ui/portal" "2.0.11"- "@chakra-ui/react-env" "2.0.11"- "@chakra-ui/system" "2.3.3"- "@chakra-ui/utils" "2.0.12"+"@chakra-ui/[email protected]":+ version "2.0.7"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-types/-/react-types-2.0.7.tgz#799c166a44882b23059c8f510eac9bd5d0869ac4"+ integrity sha512-12zv2qIZ8EHwiytggtGvo4iLT0APris7T0qaAWqzpUGS0cdUtR8W+V1BJ5Ocq+7tA6dzQ/7+w5hmXih61TuhWQ==-"@chakra-ui/[email protected]":- version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/radio/-/radio-2.0.13.tgz#3f6dec6886c4d046e7567e1bb929f32e8091c5b7"- integrity sha512-P8mbdCZY9RG5034o1Tvy1/p573cHWDyzYuG8DtdEydiP6KGwaFza16/5N0slLY1BQwClIRmImLLw4vI+76J8XA==+"@chakra-ui/[email protected]":+ version "2.0.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.8.tgz#544ef3007498d4a0629b9d1916056ddaf59aa286"+ integrity sha512-xv9zSF2Rd1mHWQ+m5DLBWeh4atF8qrNvsOs3MNrvxKYBS3f79N3pqcQGrWAEvirXWXfiCeje2VAkEggqFRIo+Q==dependencies:- "@chakra-ui/form-control" "2.0.12"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@zag-js/focus-visible" "0.1.0"+ "@chakra-ui/dom-utils" "2.0.6"+ "@chakra-ui/react-use-event-listener" "2.0.7"-"@chakra-ui/[email protected]":- version "2.0.4"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-children-utils/-/react-children-utils-2.0.4.tgz#6e4284297a8a9b4e6f5f955b099bb6c2c6bbf8b9"- integrity sha512-qsKUEfK/AhDbMexWo5JhmdlkxLg5WEw2dFh4XorvU1/dTYsRfP6cjFfO8zE+X3F0ZFNsgKz6rbN5oU349GLEFw==--"@chakra-ui/[email protected]":- version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-context/-/react-context-2.0.5.tgz#c434013ecc46c780539791d756dafdfc7c64320e"- integrity sha512-WYS0VBl5Q3/kNShQ26BP+Q0OGMeTQWco3hSiJWvO2wYLY7N1BLq6dKs8vyKHZfpwKh2YL2bQeAObi+vSkXp6tQ==--"@chakra-ui/[email protected]":- version "2.0.11"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-env/-/react-env-2.0.11.tgz#d9d65fb695de7aff15e1d0e97d57bb7bedce5fa2"- integrity sha512-rPwUHReSWh7rbCw0HePa8Pvc+Q82fUFvVjHTIbXKnE6d+01cCE7j4f1NLeRD9pStKPI6sIZm9xTGvOCzl8F8iw==+"@chakra-ui/[email protected]":+ version "2.0.7"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.7.tgz#9b844a81037d0ecaaa8031979fa050165635e211"+ integrity sha512-YjT76nTpfHAK5NxplAlZsQwNju5KmQExnqsWNPFeOR6vvbC34+iPSTr+r91i1Hdy7gBSbevsOsd5Wm6RN3GuMw==-"@chakra-ui/[email protected]":- version "2.0.4"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-types/-/react-types-2.0.4.tgz#b88152cbd2c04e51a422986185e2a4ba9b645fb7"- integrity sha512-kYhuSStw9pIJXrmQB7/J1u90bst31pEx9r25pyDG/rekk8E9JuqBR+z+UWODTFx00V2rtWCcJS5rPbONgvWX0A==+"@chakra-ui/[email protected]":+ version "2.0.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.8.tgz#6b71187e03be632c244dde9f16ed685428087ec9"+ integrity sha512-F7rdCbLEmRjwwODqWZ3y+mKgSSHPcLQxeUygwk1BkZPXbKkJJKymOIjIynil2cbH7ku3hcSIWRvuhpCcfQWJ7Q==+ dependencies:+ "@chakra-ui/react-use-callback-ref" "2.0.7"-"@chakra-ui/[email protected]":- version "2.0.6"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.6.tgz#2a324d3c67015a542ed589f899672d681889e1e7"- integrity sha512-M2kUzZkSBgDpfvnffh3kTsMIM3Dvn+CTMqy9zfY97NL4P3LAWL1MuFtKdlKfQ8hs/QpwS/ew8CTmCtaywn4sKg==+"@chakra-ui/[email protected]":+ version "2.0.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.8.tgz#e0e0445afc6d6d96bb262b99751e675034c31497"+ integrity sha512-2ir/mHe1YND40e+FyLHnDsnDsBQPwzKDLzfe9GZri7y31oU83JSbHdlAXAhp3bpjohslwavtRCp+S/zRxfO9aQ==dependencies:- "@chakra-ui/dom-utils" "2.0.4"- "@chakra-ui/react-use-event-listener" "2.0.5"+ "@chakra-ui/react-use-callback-ref" "2.0.7"-"@chakra-ui/[email protected]":- version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.5.tgz#862430dfbab8e1f0b8e04476e5e25469bd044ec9"- integrity sha512-vKnXleD2PzB0nGabY35fRtklMid4z7cecbMG0fkasNNsgWmrQcXJOuEKUUVCynL6FBU6gBnpKFi5Aqj6x+K4tw==+"@chakra-ui/[email protected]":+ version "2.0.7"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.7.tgz#ed08164164e79183d876eeb71e12c6bfaca3ad17"+ integrity sha512-4wvpx4yudIO3B31pOrXuTHDErawmwiXnvAN7gLEOVREi16+YGNcFnRJ5X5nRrmB7j2MDUtsEDpRBFfw5Z9xQ5g==+ dependencies:+ "@chakra-ui/react-use-callback-ref" "2.0.7"-"@chakra-ui/[email protected]":- version "2.0.6"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.6.tgz#ec62aff9b9c00324a0a4c9a4523824a9ad5ef9aa"- integrity sha512-7WuKrhQkpSRoiI5PKBvuIsO46IIP0wsRQgXtStSaIXv+FIvIJl9cxQXTbmZ5q1Ds641QdAUKx4+6v0K/zoZEHg==+"@chakra-ui/[email protected]":+ version "2.0.9"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.9.tgz#9f94c0cb54e6e14ac9f048ca4d32a1fdcea067c1"+ integrity sha512-20nfNkpbVwyb41q9wxp8c4jmVp6TUGAPE3uFTDpiGcIOyPW5aecQtPmTXPMJH+2aa8Nu1wyoT1btxO+UYiQM3g==dependencies:- "@chakra-ui/react-use-callback-ref" "2.0.5"+ "@chakra-ui/dom-utils" "2.0.6"+ "@chakra-ui/react-use-event-listener" "2.0.7"+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"+ "@chakra-ui/react-use-update-effect" "2.0.7"-"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.6"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.6.tgz#db707ee119db829e9b21ff1c05e867938f1e27ba"- integrity sha512-4UPePL+OcCY37KZ585iLjg8i6J0sjpLm7iZG3PUwmb97oKHVHq6DpmWIM0VfSjcT6AbSqyGcd5BXZQBgwt8HWQ==+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.6.tgz#13330eb518c17e591c908cb8f4a30d43a978e3f2"+ integrity sha512-OigXiLRVySn3tyVqJ/rn57WGuukW8TQe8fJYiLwXbcNyAMuYYounvRxvCy2b53sQ7QIZamza0N0jhirbH5FNoQ==dependencies:- "@chakra-ui/react-use-callback-ref" "2.0.5"+ "@chakra-ui/react-use-event-listener" "2.0.7"-"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.5.tgz#949aa99878b25b23709452d3c80a1570c99747cc"- integrity sha512-etLBphMigxy/cm7Yg22y29gQ8u/K3PniR5ADZX7WVX61Cgsa8ciCqjTE9sTtlJQWAQySbWxt9+mjlT5zaf+6Zw==+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-interval/-/react-use-interval-2.0.5.tgz#c1a0043bf188b19b790a27668f4e860391335a60"+ integrity sha512-1nbdwMi2K87V6p5f5AseOKif2CkldLaJlq1TOqaPRwb7v3aU9rltBtYdf+fIyuHSToNJUV6wd9budCFdLCl3Fg==dependencies:- "@chakra-ui/react-use-callback-ref" "2.0.5"+ "@chakra-ui/react-use-callback-ref" "2.0.7"++"@chakra-ui/[email protected]":+ version "2.0.5"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.5.tgz#b61dc4dadda340f7b14df0ec1d50ab2e507b3b3e"+ integrity sha512-3mIuFzMyIo3Ok/D8uhV9voVg7KkrYVO/pwVvNPJOHsDQqCA6DpYE4WDsrIx+fVcwad3Ta7SupexR5PoI+kq6QQ==-"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.7"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.7.tgz#bd03290cac32e0de6a71ce987f939a5e697bca04"- integrity sha512-wI8OUNwfbkusajLac8QtjfSyNmsNu1D5pANmnSHIntHhui6Jwv75Pxx7RgmBEnfBEpleBndhR9E75iCjPLhZ/A==- dependencies:- "@chakra-ui/dom-utils" "2.0.4"- "@chakra-ui/react-use-event-listener" "2.0.5"- "@chakra-ui/react-use-safe-layout-effect" "2.0.3"- "@chakra-ui/react-use-update-effect" "2.0.5"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.7.tgz#1a1fe800fb5501ec3da4088fbac78c03bbad13a7"+ integrity sha512-zds4Uhsc+AMzdH8JDDkLVet9baUBgtOjPbhC5r3A0ZXjZvGhCztFAVE3aExYiVoMPoHLKbLcqvCWE6ioFKz1lw==-"@chakra-ui/[email protected]":- version "2.0.4"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.4.tgz#aeba543c451ac1b0138093234e71d334044daf84"- integrity sha512-L3YKouIi77QbXH9mSLGEFzJbJDhyrPlcRcuu+TSC7mYaK9E+3Ap+RVSAVxj+CfQz7hCWpikPecKDuspIPWlyuA==+"@chakra-ui/[email protected]":+ version "2.0.7"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.7.tgz#56c668f020fbc6331db4c3b61c8b845a68c4a134"+ integrity sha512-MsAuGLkwYNxNJ5rb8lYNvXApXxYMnJ3MzqBpQj1kh5qP/+JSla9XMjE/P94ub4fSEttmNSqs43SmPPrmPuihsQ==dependencies:- "@chakra-ui/react-use-event-listener" "2.0.5"+ "@chakra-ui/react-use-callback-ref" "2.0.7"-"@chakra-ui/[email protected]":- version "2.0.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-interval/-/react-use-interval-2.0.3.tgz#d5c7bce117fb25edb54e3e2c666e900618bb5bb2"- integrity sha512-Orbij5c5QkL4NuFyU4mfY/nyRckNBgoGe9ic8574VVNJIXfassevZk0WB+lvqBn5XZeLf2Tj+OGJrg4j4H9wzw==+"@chakra-ui/[email protected]":+ version "2.0.9"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.9.tgz#0ff33a285e75a692d1ed52dbb9f3046a593b8004"+ integrity sha512-xu35QXkiyrgsHUOnctl+SwNcwf9Rl62uYE5y8soKOZdBm8E+FvZIt2hxUzK1EoekbJCMzEZ0Yv1ZQCssVkSLaQ==dependencies:- "@chakra-ui/react-use-callback-ref" "2.0.5"+ "@chakra-ui/event-utils" "2.0.8"+ "@chakra-ui/react-use-latest-ref" "2.0.5"+ framesync "6.1.2"-"@chakra-ui/[email protected]":- version "2.0.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.3.tgz#27cf703858e65ecb5a0eef26215c794ad2a5353d"- integrity sha512-exNSQD4rPclDSmNwtcChUCJ4NuC2UJ4amyNGBqwSjyaK5jNHk2kkM7rZ6I0I8ul+26lvrXlSuhyv6c2PFwbFQQ==--"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.5.tgz#13181e1a43219c6a04a01f84de0188df042ee92e"- integrity sha512-uc+MozBZ8asaUpO8SWcK6D4svRPACN63jv5uosUkXJR+05jQJkUofkfQbf2HeGVbrWCr0XZsftLIm4Mt/QMoVw==+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-previous/-/react-use-previous-2.0.5.tgz#65836cc81e3a1bf4252cd08a71094f1be827b56c"+ integrity sha512-BIZgjycPE4Xr+MkhKe0h67uHXzQQkBX/u5rYPd65iMGdX1bCkbE0oorZNfOHLKdTmnEb4oVsNvfN6Rfr+Mnbxw==-"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.5.tgz#6a9896d2c2d35f3c301c3bb62bed1bf5290d1e60"- integrity sha512-WmtXUeVaMtxP9aUGGG+GQaDeUn/Bvf8TI3EU5mE1+TtqLHxyA9wtvQurynrogvpilLaBADwn/JeBeqs2wHpvqA==- dependencies:- "@chakra-ui/react-use-callback-ref" "2.0.5"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.5.tgz#6cf388c37fd2a42b5295a292e149b32f860a00a7"+ integrity sha512-MwAQBz3VxoeFLaesaSEN87reVNVbjcQBDex2WGexAg6hUB6n4gc1OWYH/iXp4tzp4kuggBNhEHkk9BMYXWfhJQ==-"@chakra-ui/[email protected]":- version "2.0.6"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.6.tgz#e489d61672e6f473b7fd362d816e2e27ed3b2af6"- integrity sha512-Vtgl3c+Mj4hdehFRFIgruQVXctwnG1590Ein1FiU8sVnlqO6bpug6Z+B14xBa+F+X0aK+DxnhkJFyWI93Pks2g==+"@chakra-ui/[email protected]":+ version "2.0.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-size/-/react-use-size-2.0.8.tgz#5f5b8ccf587d864c6311705b1152310e4779b57a"+ integrity sha512-OdCxVPm8ekPVn9R6S1OtfLVNRVZ0G1tcfA2/oY1c55aXbm/R0TFZ+twSoy+X+aRFhqydmE7DRsKyW2ysXuuVBw==dependencies:- "@chakra-ui/event-utils" "2.0.6"- "@chakra-ui/react-use-latest-ref" "2.0.3"- framesync "5.3.0"--"@chakra-ui/[email protected]":- version "2.0.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-previous/-/react-use-previous-2.0.3.tgz#9da3d53fd75f1c3da902bd6af71dcb1a7be37f31"- integrity sha512-A2ODOa0rm2HM4aqXfxxI0zPLcn5Q7iBEjRyfIQhb+EH+d2OFuj3L2slVoIpp6e/km3Xzv2d+u/WbjgTzdQ3d0w==--"@chakra-ui/[email protected]":- version "2.0.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.3.tgz#bf63ac8c94460aa1b20b6b601a0ea873556ffb1b"- integrity sha512-dlTvQURzmdfyBbNdydgO4Wy2/HV8aJN8LszTtyb5vRZsyaslDM/ftcxo8E8QjHwRLD/V1Epb/A8731QfimfVaQ==+ "@zag-js/element-size" "0.3.0"-"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-size/-/react-use-size-2.0.5.tgz#4bbffb64f97dcfe1d7edeb0f03bb1d5fbc48df64"- integrity sha512-4arAApdiXk5uv5ZeFKltEUCs5h3yD9dp6gTIaXbAdq+/ENK3jMWTwlqzNbJtCyhwoOFrblLSdBrssBMIsNQfZQ==- dependencies:- "@zag-js/element-size" "0.1.0"--"@chakra-ui/[email protected]":- version "2.0.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.3.tgz#16ca397dbca55a64811575884cb81a348d86d4e2"- integrity sha512-rBBUkZSQq3nJQ8fuMkgZNY2Sgg4vKiKNp05GxAwlT7TitOfVZyoTriqQpqz296bWlmkICTZxlqCWfE5fWpsTsg==+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.5.tgz#13c4e48e48d4b84ce1e062f0f1c9ec401ece78c9"+ integrity sha512-QqmB+jVphh3h/CS60PieorpY7UqSPkrQCB7f7F+i9vwwIjtP8fxVHMmkb64K7VlzQiMPzv12nlID5dqkzlv0mw==dependencies:- "@chakra-ui/react-use-callback-ref" "2.0.5"--"@chakra-ui/[email protected]":- version "2.0.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.5.tgz#aede8f13f2b3de254b4ffa3b8cec1b70bd2876c5"- integrity sha512-y9tCMr1yuDl8ATYdh64Gv8kge5xE1DMykqPDZw++OoBsTaWr3rx40wblA8NIWuSyJe5ErtKP2OeglvJkYhryJQ==+ "@chakra-ui/react-use-callback-ref" "2.0.7"-"@chakra-ui/[email protected]":- version "2.0.9"- resolved "https://registry.yarnpkg.com/@chakra-ui/react-utils/-/react-utils-2.0.9.tgz#5cdf0bc8dee57c15f15ace04fbba574ec8aa6ecc"- integrity sha512-nlwPBVlQmcl1PiLzZWyrT3FSnt3vKSkBMzQ0EF4SJWA/nOIqTvmffb5DCzCqPzgQaE/Da1Xgus+JufFGM8GLCQ==- dependencies:- "@chakra-ui/utils" "2.0.12"+"@chakra-ui/[email protected]":+ version "2.0.7"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.7.tgz#f94b7975ebb150c03d410e754b54f0e9dd263134"+ integrity sha512-vBM2bmmM83ZdDtasWv3PXPznpTUd+FvqBC8J8rxoRmvdMEfrxTiQRBJhiGHLpS9BPLLPQlosN6KdFU97csB6zg==-"@chakra-ui/react@^2.4.1":- version "2.4.1"- resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.4.1.tgz#3f3db03e3aa7bcb0bee76427824b3437a9509166"- integrity sha512-qZVRrQi5JRIc44EaeOaXvXt6EdWhkQjhFFL8hyH0RH6cSFlotmmzCHBT5N1jC6nqXFn5OOxOWMD9FIVsbI56hQ==- dependencies:- "@chakra-ui/accordion" "2.1.3"- "@chakra-ui/alert" "2.0.12"- "@chakra-ui/avatar" "2.2.1"- "@chakra-ui/breadcrumb" "2.1.1"- "@chakra-ui/button" "2.0.12"- "@chakra-ui/card" "2.1.1"- "@chakra-ui/checkbox" "2.2.4"- "@chakra-ui/close-button" "2.0.12"- "@chakra-ui/control-box" "2.0.11"- "@chakra-ui/counter" "2.0.11"- "@chakra-ui/css-reset" "2.0.10"- "@chakra-ui/editable" "2.0.15"- "@chakra-ui/form-control" "2.0.12"- "@chakra-ui/hooks" "2.1.2"- "@chakra-ui/icon" "3.0.12"- "@chakra-ui/image" "2.0.12"- "@chakra-ui/input" "2.0.13"- "@chakra-ui/layout" "2.1.10"- "@chakra-ui/live-region" "2.0.11"- "@chakra-ui/media-query" "3.2.8"- "@chakra-ui/menu" "2.1.4"- "@chakra-ui/modal" "2.2.3"- "@chakra-ui/number-input" "2.0.13"- "@chakra-ui/pin-input" "2.0.16"- "@chakra-ui/popover" "2.1.3"- "@chakra-ui/popper" "3.0.9"- "@chakra-ui/portal" "2.0.11"- "@chakra-ui/progress" "2.1.1"- "@chakra-ui/provider" "2.0.23"- "@chakra-ui/radio" "2.0.13"- "@chakra-ui/react-env" "2.0.11"- "@chakra-ui/select" "2.0.13"- "@chakra-ui/skeleton" "2.0.18"- "@chakra-ui/slider" "2.0.13"- "@chakra-ui/spinner" "2.0.11"- "@chakra-ui/stat" "2.0.12"- "@chakra-ui/styled-system" "2.3.5"- "@chakra-ui/switch" "2.0.16"- "@chakra-ui/system" "2.3.3"- "@chakra-ui/table" "2.0.12"- "@chakra-ui/tabs" "2.1.5"- "@chakra-ui/tag" "2.0.12"- "@chakra-ui/textarea" "2.0.13"- "@chakra-ui/theme" "2.2.1"- "@chakra-ui/theme-utils" "2.0.4"- "@chakra-ui/toast" "4.0.3"- "@chakra-ui/tooltip" "2.2.1"- "@chakra-ui/transition" "2.0.12"- "@chakra-ui/utils" "2.0.12"- "@chakra-ui/visually-hidden" "2.0.13"--"@chakra-ui/[email protected]":- version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/select/-/select-2.0.13.tgz#60a7302f44e49fc22d251bbcdbae24ec64f5cc4c"- integrity sha512-5MHqD2OlnLdPt8FQVxfgMJZKOTdcbu3cMFGCS2X9XCxJQkQa4kPfXq3N6BRh5L5XFI+uRsmk6aYJoawZiwNJPg==+"@chakra-ui/[email protected]":+ version "2.0.12"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react-utils/-/react-utils-2.0.12.tgz#d6b773b9a5b2e51dce61f51ac8a0e9a0f534f479"+ integrity sha512-GbSfVb283+YA3kA8w8xWmzbjNWk14uhNpntnipHCftBibl0lxtQ9YqMFQLwuFOO0U2gYVocszqqDWX+XNKq9hw==+ dependencies:+ "@chakra-ui/utils" "2.0.15"++"@chakra-ui/react@^2.4.9":+ version "2.4.9"+ resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.4.9.tgz#7c80c462aeaec7f1bd91ec6439940e3ef5c66ad9"+ integrity sha512-lY++xW+zhLp0zQr2Sf5phjYMIphOmjGV/o5A1oDQPrqwLJFm4mL2+eXvpAFrLnZoh00qa4iBqarxJCW7qpHeiA==+ dependencies:+ "@chakra-ui/accordion" "2.1.8"+ "@chakra-ui/alert" "2.0.17"+ "@chakra-ui/avatar" "2.2.4"+ "@chakra-ui/breadcrumb" "2.1.4"+ "@chakra-ui/button" "2.0.16"+ "@chakra-ui/card" "2.1.6"+ "@chakra-ui/checkbox" "2.2.10"+ "@chakra-ui/close-button" "2.0.17"+ "@chakra-ui/control-box" "2.0.13"+ "@chakra-ui/counter" "2.0.14"+ "@chakra-ui/css-reset" "2.0.12"+ "@chakra-ui/editable" "2.0.19"+ "@chakra-ui/form-control" "2.0.17"+ "@chakra-ui/hooks" "2.1.5"+ "@chakra-ui/icon" "3.0.16"+ "@chakra-ui/image" "2.0.15"+ "@chakra-ui/input" "2.0.19"+ "@chakra-ui/layout" "2.1.15"+ "@chakra-ui/live-region" "2.0.13"+ "@chakra-ui/media-query" "3.2.11"+ "@chakra-ui/menu" "2.1.8"+ "@chakra-ui/modal" "2.2.9"+ "@chakra-ui/number-input" "2.0.18"+ "@chakra-ui/pin-input" "2.0.19"+ "@chakra-ui/popover" "2.1.8"+ "@chakra-ui/popper" "3.0.13"+ "@chakra-ui/portal" "2.0.15"+ "@chakra-ui/progress" "2.1.5"+ "@chakra-ui/provider" "2.1.0"+ "@chakra-ui/radio" "2.0.19"+ "@chakra-ui/react-env" "3.0.0"+ "@chakra-ui/select" "2.0.18"+ "@chakra-ui/skeleton" "2.0.23"+ "@chakra-ui/slider" "2.0.20"+ "@chakra-ui/spinner" "2.0.13"+ "@chakra-ui/stat" "2.0.17"+ "@chakra-ui/styled-system" "2.5.2"+ "@chakra-ui/switch" "2.0.22"+ "@chakra-ui/system" "2.4.0"+ "@chakra-ui/table" "2.0.16"+ "@chakra-ui/tabs" "2.1.8"+ "@chakra-ui/tag" "2.0.17"+ "@chakra-ui/textarea" "2.0.18"+ "@chakra-ui/theme" "2.2.5"+ "@chakra-ui/theme-utils" "2.0.9"+ "@chakra-ui/toast" "5.0.1"+ "@chakra-ui/tooltip" "2.2.6"+ "@chakra-ui/transition" "2.0.15"+ "@chakra-ui/utils" "2.0.15"+ "@chakra-ui/visually-hidden" "2.0.15"++"@chakra-ui/[email protected]":+ version "2.0.18"+ resolved "https://registry.yarnpkg.com/@chakra-ui/select/-/select-2.0.18.tgz#4eb6092610067c1b4131353fe39b4466e251395b"+ integrity sha512-1d2lUT5LM6oOs5x4lzBh4GFDuXX62+lr+sgV7099g951/5UNbb0CS2hSZHsO7yZThLNbr7QTWZvAOAayVcGzdw==dependencies:- "@chakra-ui/form-control" "2.0.12"+ "@chakra-ui/form-control" "2.0.17"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.0.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/shared-utils/-/shared-utils-2.0.3.tgz#97cbc11282e381ebd9f581c603088f9d60ead451"- integrity sha512-pCU+SUGdXzjAuUiUT8mriekL3tJVfNdwSTIaNeip7k/SWDzivrKGMwAFBxd3XVTDevtVusndkO4GJuQ3yILzDg==+"@chakra-ui/[email protected]":+ version "2.0.5"+ resolved "https://registry.yarnpkg.com/@chakra-ui/shared-utils/-/shared-utils-2.0.5.tgz#cb2b49705e113853647f1822142619570feba081"+ integrity sha512-4/Wur0FqDov7Y0nCXl7HbHzCg4aq86h+SXdoUeuCMD3dSj7dpsVnStLYhng1vxvlbUnLpdF4oz5Myt3i/a7N3Q==-"@chakra-ui/[email protected]":- version "2.0.18"- resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.18.tgz#a2af241f0b1b692db4d10b90a887107a5e401c7d"- integrity sha512-qjcD8BgVx4kL8Lmb8EvmmDGM2ICl6CqhVE2LShJrgG7PDM6Rt6rYM617kqLurLYZjbJUiwgf9VXWifS0IpT31Q==+"@chakra-ui/[email protected]":+ version "2.0.23"+ resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.23.tgz#027892ed5a7c7676a40fb49ad553000d35bb293a"+ integrity sha512-iMK50PlC9kR52v8tZWSKnZTJsOpZrqXOXaR9r/0Ry3xhdMq5hGkcigA+zKy/ZEglbMZ2CG9Fdtvi2vQurE1VZw==dependencies:- "@chakra-ui/media-query" "3.2.8"- "@chakra-ui/react-use-previous" "2.0.3"+ "@chakra-ui/media-query" "3.2.11"+ "@chakra-ui/react-use-previous" "2.0.5"+ "@chakra-ui/shared-utils" "2.0.5""@chakra-ui/skip-nav@^2.0.13":version "2.0.13"resolved "https://registry.yarnpkg.com/@chakra-ui/skip-nav/-/skip-nav-2.0.13.tgz#bd84d035c1ecd8c7c728c5bc368d9b03fe11d6d4"integrity sha512-UmFjGlZhSDkFz7OizweG27bs+Ch9dDiibmXQ20lH6qW8k7aZ9IkdIJz9vsFzpbeECsVC6V5D461BoMGjiok/7A==-"@chakra-ui/[email protected]":+"@chakra-ui/[email protected]":+ version "2.0.20"+ resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.20.tgz#db57631686f7f3cf40dfe27ecebad2484eb83290"+ integrity sha512-5Q+9s6bIjI8GIp7YRHqt5hT678p7lCIdA/zB6c/fCp+MvOInxx4LiJZvNuaw0HX6z6bC7R/skIhmIjsgSI3MNw==+ dependencies:+ "@chakra-ui/number-utils" "2.0.7"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-callback-ref" "2.0.7"+ "@chakra-ui/react-use-controllable-state" "2.0.8"+ "@chakra-ui/react-use-latest-ref" "2.0.5"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/react-use-pan-event" "2.0.9"+ "@chakra-ui/react-use-size" "2.0.8"+ "@chakra-ui/react-use-update-effect" "2.0.7"++"@chakra-ui/[email protected]":version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.13.tgz#5c64bb8346f5310688845fa72363b1a35bc1560b"- integrity sha512-MypqZrKFNFPH8p0d2g2DQacl5ylUQKlGKeBu099ZCmT687U2Su3cq1wOGNGnD6VZvtwDYMKXn7kXPSMW06aBcg==- dependencies:- "@chakra-ui/number-utils" "2.0.5"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-callback-ref" "2.0.5"- "@chakra-ui/react-use-controllable-state" "2.0.6"- "@chakra-ui/react-use-latest-ref" "2.0.3"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/react-use-pan-event" "2.0.6"- "@chakra-ui/react-use-size" "2.0.5"- "@chakra-ui/react-use-update-effect" "2.0.5"--"@chakra-ui/[email protected]":- version "2.0.11"- resolved "https://registry.yarnpkg.com/@chakra-ui/spinner/-/spinner-2.0.11.tgz#a5dd76b6cb0f3524d9b90b73fa4acfb6adc69f33"- integrity sha512-piO2ghWdJzQy/+89mDza7xLhPnW7pA+ADNbgCb1vmriInWedS41IBKe+pSPz4IidjCbFu7xwKE0AerFIbrocCA==--"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/stat/-/stat-2.0.12.tgz#bca87fb83c9bf2c365e8697f33f228721d9a6b28"- integrity sha512-3MTt4nA46AvlIuE6OP2O1Nna9+vcIZD1E9G4QLKwPoJ5pDHKcY4Y0t4oDdbawykthyj2fIBko7FiMIHTaAOjqg==+ resolved "https://registry.yarnpkg.com/@chakra-ui/spinner/-/spinner-2.0.13.tgz#64fe919c18305c653ced046e25d5883ee4c1e7d7"+ integrity sha512-T1/aSkVpUIuiYyrjfn1+LsQEG7Onbi1UE9ccS/evgf61Dzy4GgTXQUnDuWFSgpV58owqirqOu6jn/9eCwDlzlg==dependencies:- "@chakra-ui/icon" "3.0.12"- "@chakra-ui/react-context" "2.0.5"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.3.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/styled-system/-/styled-system-2.3.5.tgz#88f1530d77c30285c6aa7c561d4bd770bebd705c"- integrity sha512-Xj78vEq/R+1OVx36tJnAb/vLtX6DD9k/yxj3lCigl3q5Qjr6aglPBjqHdfFbGaQeB0Gt4ABPyxUDO3sAhdxC4w==+"@chakra-ui/[email protected]":+ version "2.0.17"+ resolved "https://registry.yarnpkg.com/@chakra-ui/stat/-/stat-2.0.17.tgz#2cd712cc7e0d58d9cbd542deea911f1b0925074f"+ integrity sha512-PhD+5oVLWjQmGLfeZSmexp3AtLcaggWBwoMZ4z8QMZIQzf/fJJWMk0bMqxlpTv8ORDkfY/4ImuFB/RJHvcqlcA==dependencies:+ "@chakra-ui/icon" "3.0.16"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.5.2"+ resolved "https://registry.yarnpkg.com/@chakra-ui/styled-system/-/styled-system-2.5.2.tgz#f0dfcc3efac9a4428ca548840062d479d2a909a1"+ integrity sha512-FVnSWcj28F2t0R6slslYnhdWL8L3+elzoNt9oXBosS9PS6u6Yh56Dqq2GH2yasOWSmuuXGCPbzOYuc0U+MlCqg==+ dependencies:+ "@chakra-ui/shared-utils" "2.0.5"csstype "^3.0.11"lodash.mergewith "4.6.2"-"@chakra-ui/[email protected]":- version "2.0.16"- resolved "https://registry.yarnpkg.com/@chakra-ui/switch/-/switch-2.0.16.tgz#b8d1275d723d384a22fe8900fc2913a808b8ceaa"- integrity sha512-uLGjXHaxjCvf97jrwTuYtHSAzep/Mb8hSr/D1BRlBNz6E0kHGRaKANl/pAZAK1z7ZzvyYokK65Wpce2GQ4U/dQ==+"@chakra-ui/[email protected]":+ version "2.0.22"+ resolved "https://registry.yarnpkg.com/@chakra-ui/switch/-/switch-2.0.22.tgz#7b35e2b10ea4cf91fb49f5175b4335c61dcd25b3"+ integrity sha512-+/Yy6y7VFD91uSPruF8ZvePi3tl5D8UNVATtWEQ+QBI92DLSM+PtgJ2F0Y9GMZ9NzMxpZ80DqwY7/kqcPCfLvw==dependencies:- "@chakra-ui/checkbox" "2.2.4"+ "@chakra-ui/checkbox" "2.2.10"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.3.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/system/-/system-2.3.3.tgz#1557f573a3394e375411631b0836f0e79c9f68f9"- integrity sha512-nOEXC08d4PiK/4QwSV4tnci2SoWjDHEVSveWW9qoRRr1iZUbQffpwYyJY4pBpPJE7CsA2w3GXK7NdMFRwPtamQ==- dependencies:- "@chakra-ui/color-mode" "2.1.10"- "@chakra-ui/react-utils" "2.0.9"- "@chakra-ui/styled-system" "2.3.5"- "@chakra-ui/theme-utils" "2.0.4"- "@chakra-ui/utils" "2.0.12"+"@chakra-ui/[email protected]":+ version "2.4.0"+ resolved "https://registry.yarnpkg.com/@chakra-ui/system/-/system-2.4.0.tgz#5ea28db6b76288e223e3efafee04566be9efe134"+ integrity sha512-gUX6OZVvFDMV92NtKLuawIWqvjhYc0u1LCAMeb1k3ktVBjWEYjIM4DBIirEhHjcADa8ownrTEHeW0aGxN7uxjQ==+ dependencies:+ "@chakra-ui/color-mode" "2.1.12"+ "@chakra-ui/object-utils" "2.0.8"+ "@chakra-ui/react-utils" "2.0.12"+ "@chakra-ui/styled-system" "2.5.2"+ "@chakra-ui/theme-utils" "2.0.9"+ "@chakra-ui/utils" "2.0.15"react-fast-compare "3.2.0"-"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/table/-/table-2.0.12.tgz#387653cf660318b13086b6497aca2b671deb055a"- integrity sha512-TSxzpfrOoB+9LTdNTMnaQC6OTsp36TlCRxJ1+1nAiCmlk+m+FiNzTQsmBalDDhc29rm+6AdRsxSPsjGWB8YVwg==- dependencies:- "@chakra-ui/react-context" "2.0.5"--"@chakra-ui/[email protected]":- version "2.1.5"- resolved "https://registry.yarnpkg.com/@chakra-ui/tabs/-/tabs-2.1.5.tgz#827b0e71eb173c09c31dcbbe05fc1146f4267229"- integrity sha512-XmnKDclAJe0FoW4tdC8AlnZpPN5fcj92l4r2sqiL9WyYVEM71hDxZueETIph/GTtfMelG7Z8e5vBHP4rh1RT5g==- dependencies:- "@chakra-ui/clickable" "2.0.11"- "@chakra-ui/descendant" "3.0.11"- "@chakra-ui/lazy-utils" "2.0.3"- "@chakra-ui/react-children-utils" "2.0.4"- "@chakra-ui/react-context" "2.0.5"- "@chakra-ui/react-use-controllable-state" "2.0.6"- "@chakra-ui/react-use-merge-refs" "2.0.5"- "@chakra-ui/react-use-safe-layout-effect" "2.0.3"--"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/tag/-/tag-2.0.12.tgz#8f8e838efc1c9c504c92bbfd36f2435e8cdcfa6d"- integrity sha512-LmPnE6aFF0pfscgYRKZbkWvG7detszwNdcmalQJdp2C8E/xuqi9Vj9RWU/bmRyWHJN+8R603mvPVWj5oN0rarA==- dependencies:- "@chakra-ui/icon" "3.0.12"- "@chakra-ui/react-context" "2.0.5"--"@chakra-ui/[email protected]":- version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/textarea/-/textarea-2.0.13.tgz#ff32e3ad61880b13514df1c6f6b62176e8f91823"- integrity sha512-tMiBGimVB+Z8T+yAQ4E45ECmCix0Eisuukf4wUBOpdSRWaArpAoA4RuA34z7OoMbNa3fxEVcvnd2apX1InBtsQ==+"@chakra-ui/[email protected]":+ version "2.0.16"+ resolved "https://registry.yarnpkg.com/@chakra-ui/table/-/table-2.0.16.tgz#e69736cba5cfb218c5e40592ad9280c6e32f6fe7"+ integrity sha512-vWDXZ6Ad3Aj66curp1tZBHvCfQHX2FJ4ijLiqGgQszWFIchfhJ5vMgEBJaFMZ+BN1draAjuRTZqaQefOApzvRg==+ dependencies:+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.1.8"+ resolved "https://registry.yarnpkg.com/@chakra-ui/tabs/-/tabs-2.1.8.tgz#e83071380f9a3633810308d45de51be7a74f5eb9"+ integrity sha512-B7LeFN04Ny2jsSy5TFOQxnbZ6ITxGxLxsB2PE0vvQjMSblBrUryOxdjw80HZhfiw6od0ikK9CeKQOIt9QCguSw==+ dependencies:+ "@chakra-ui/clickable" "2.0.14"+ "@chakra-ui/descendant" "3.0.13"+ "@chakra-ui/lazy-utils" "2.0.5"+ "@chakra-ui/react-children-utils" "2.0.6"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-use-controllable-state" "2.0.8"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/react-use-safe-layout-effect" "2.0.5"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.0.17"+ resolved "https://registry.yarnpkg.com/@chakra-ui/tag/-/tag-2.0.17.tgz#97adb86db190ddb3526060b78c590392e0ac8b4c"+ integrity sha512-A47zE9Ft9qxOJ+5r1cUseKRCoEdqCRzFm0pOtZgRcckqavglk75Xjgz8HbBpUO2zqqd49MlqdOwR8o87fXS1vg==+ dependencies:+ "@chakra-ui/icon" "3.0.16"+ "@chakra-ui/react-context" "2.0.7"++"@chakra-ui/[email protected]":+ version "2.0.18"+ resolved "https://registry.yarnpkg.com/@chakra-ui/textarea/-/textarea-2.0.18.tgz#da6d629b465f65bbc7b48039c2e48a4ae1d853b4"+ integrity sha512-aGHHb29vVifO0OtcK/k8cMykzjOKo/coDTU0NJqz7OOLAWIMNV2eGenvmO1n9tTZbmbqHiX+Sa1nPRX+pd14lg==dependencies:- "@chakra-ui/form-control" "2.0.12"+ "@chakra-ui/form-control" "2.0.17"+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/theme-tools/-/theme-tools-2.0.13.tgz#cde5503b4044832ab659904281e8a260deae73bb"- integrity sha512-Dvai4lljtrs9f2aha3b9yajmxroNaVGNvkKkwh77dRW2jcNNBXepkGWfNLXVkP68Yydz5O+Lt5DKvETrEho9cQ==+"@chakra-ui/[email protected]":+ version "2.0.17"+ resolved "https://registry.yarnpkg.com/@chakra-ui/theme-tools/-/theme-tools-2.0.17.tgz#9496094336c9480f950c8d7ab6e05f1c19caa955"+ integrity sha512-Auu38hnihlJZQcPok6itRDBbwof3TpXGYtDPnOvrq4Xp7jnab36HLt7KEXSDPXbtOk3ZqU99pvI1en5LbDrdjg==dependencies:- "@chakra-ui/anatomy" "2.1.0"- "@ctrl/tinycolor" "^3.4.0"+ "@chakra-ui/anatomy" "2.1.2"+ "@chakra-ui/shared-utils" "2.0.5"+ color2k "^2.0.0"-"@chakra-ui/[email protected]":- version "2.0.4"- resolved "https://registry.yarnpkg.com/@chakra-ui/theme-utils/-/theme-utils-2.0.4.tgz#7357dd03734bc74d3a8be09db19d6b73c8f34075"- integrity sha512-vrYuZxzc31c1bevfJRCk4j68dUw4Bxt6QAm3RZcUQyvTnS6q5FhMz+R1X6vS3+IfIhSscZFxwRQSp/TpyY4Vtw==+"@chakra-ui/[email protected]":+ version "2.0.9"+ resolved "https://registry.yarnpkg.com/@chakra-ui/theme-utils/-/theme-utils-2.0.9.tgz#96c63dd8cb3c0e5ca31e95547d6743889784a43d"+ integrity sha512-+Nn1NooFeAr4d/OVU1NjXEMKCKCIfesYw27BoYzFYCWt/+cS/qcVdPJj+uXgK8L8xExhkREipt2r9kGlE+WpTw==dependencies:- "@chakra-ui/styled-system" "2.3.5"- "@chakra-ui/theme" "2.2.1"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/styled-system" "2.5.2"+ "@chakra-ui/theme" "2.2.5"lodash.mergewith "4.6.2"-"@chakra-ui/[email protected]":- version "2.2.1"- resolved "https://registry.yarnpkg.com/@chakra-ui/theme/-/theme-2.2.1.tgz#83f5e484640bf8d97075f9fa3ca41f02c5caf3f7"- integrity sha512-6qEJMfnTjB5vGoY1kO/fDarK0Ivrb77UzDw8rY0aTHbjLJkOVxtd7d2H7m8xufh6gecCI5HuXqq8I297pLYm+w==+"@chakra-ui/[email protected]":+ version "2.2.5"+ resolved "https://registry.yarnpkg.com/@chakra-ui/theme/-/theme-2.2.5.tgz#18ed1755ff27c1ff1f1a77083ffc546c361c926e"+ integrity sha512-hYASZMwu0NqEv6PPydu+F3I+kMNd44yR4TwjR/lXBz/LEh64L6UPY6kQjebCfgdVtsGdl3HKg+eLlfa7SvfRgw==dependencies:- "@chakra-ui/anatomy" "2.1.0"- "@chakra-ui/theme-tools" "2.0.13"+ "@chakra-ui/anatomy" "2.1.2"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/theme-tools" "2.0.17"-"@chakra-ui/[email protected]":- version "4.0.3"- resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-4.0.3.tgz#7304228663495d39fd4bd72ffc320f5a279265ac"- integrity sha512-n6kShxGrHikrJO1vC5cPFbvz5LjG56NhVch3tmyk2g2yrJ87zbNGQqQ2BlLuJcEVFDu3tu+wC1qHdXs8WU4bjg==- dependencies:- "@chakra-ui/alert" "2.0.12"- "@chakra-ui/close-button" "2.0.12"- "@chakra-ui/portal" "2.0.11"- "@chakra-ui/react-use-timeout" "2.0.3"- "@chakra-ui/react-use-update-effect" "2.0.5"- "@chakra-ui/styled-system" "2.3.5"- "@chakra-ui/theme" "2.2.1"--"@chakra-ui/[email protected]":- version "2.2.1"- resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.2.1.tgz#ee08a7759f2b88bdc5d73b4e459bee3256ba5bcb"- integrity sha512-X/VIYgegx1Ab6m0PSI/iISo/hRAe4Xv+hOwinIxIUUkLS8EOtBvq4RhlB6ieFn8jAAPDzPKJW6QFqz8ecJdUiw==+"@chakra-ui/[email protected]":+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-5.0.1.tgz#e4a8e5d3420fdff6dbaf43b7bb305adc6e8a1029"+ integrity sha512-R66broJXhe4cd+o5/r7raF4Jg4J3W3QBHrykV7AV/W0Wiav8tL8jwSq8pMmXVnO3oGwKWZ+VHuSWmjcL65BHmg==+ dependencies:+ "@chakra-ui/alert" "2.0.17"+ "@chakra-ui/close-button" "2.0.17"+ "@chakra-ui/portal" "2.0.15"+ "@chakra-ui/react-context" "2.0.7"+ "@chakra-ui/react-use-timeout" "2.0.5"+ "@chakra-ui/react-use-update-effect" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"+ "@chakra-ui/styled-system" "2.5.2"+ "@chakra-ui/theme" "2.2.5"++"@chakra-ui/[email protected]":+ version "2.2.6"+ resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.2.6.tgz#a38f9ff2dd8a574c8cf49526c3846533455f8ddd"+ integrity sha512-4cbneidZ5+HCWge3OZzewRQieIvhDjSsl+scrl4Scx7E0z3OmqlTIESU5nGIZDBLYqKn/UirEZhqaQ33FOS2fw==+ dependencies:+ "@chakra-ui/popper" "3.0.13"+ "@chakra-ui/portal" "2.0.15"+ "@chakra-ui/react-types" "2.0.7"+ "@chakra-ui/react-use-disclosure" "2.0.8"+ "@chakra-ui/react-use-event-listener" "2.0.7"+ "@chakra-ui/react-use-merge-refs" "2.0.7"+ "@chakra-ui/shared-utils" "2.0.5"++"@chakra-ui/[email protected]":+ version "2.0.15"+ resolved "https://registry.yarnpkg.com/@chakra-ui/transition/-/transition-2.0.15.tgz#c640df2ea82f5ad58c55a6e1a7c338f377cb96d8"+ integrity sha512-o9LBK/llQfUDHF/Ty3cQ6nShpekKTqHUoJlUOzNKhoTsNpoRerr9v0jwojrX1YI02KtVjfhFU6PiqXlDfREoNw==dependencies:- "@chakra-ui/popper" "3.0.9"- "@chakra-ui/portal" "2.0.11"- "@chakra-ui/react-types" "2.0.4"- "@chakra-ui/react-use-disclosure" "2.0.6"- "@chakra-ui/react-use-event-listener" "2.0.5"- "@chakra-ui/react-use-merge-refs" "2.0.5"--"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/transition/-/transition-2.0.12.tgz#876c6ed24e442a720a8570490a93cb1f87008700"- integrity sha512-ff6eU+m08ccYfCkk0hKfY/XlmGxCrfbBgsKgV4mirZ4SKUL1GVye8CYuHwWQlBJo+8s0yIpsTNxAuX4n/cW9/w==+ "@chakra-ui/shared-utils" "2.0.5"-"@chakra-ui/[email protected]":- version "2.0.12"- resolved "https://registry.yarnpkg.com/@chakra-ui/utils/-/utils-2.0.12.tgz#5ab8a4529fca68d9f8c6722004f6a5129b0b75e9"- integrity sha512-1Z1MgsrfMQhNejSdrPJk8v5J4gCefHo+1wBmPPHTz5bGEbAAbZ13aXAfXy8w0eFy0Nvnawn0EHW7Oynp/MdH+Q==+"@chakra-ui/[email protected]":+ version "2.0.15"+ resolved "https://registry.yarnpkg.com/@chakra-ui/utils/-/utils-2.0.15.tgz#bd800b1cff30eb5a5e8c36fa039f49984b4c5e4a"+ integrity sha512-El4+jL0WSaYYs+rJbuYFDbjmfCcfGDmRY95GO4xwzit6YAPZBLcR65rOEwLps+XWluZTy1xdMrusg/hW0c1aAA==dependencies:- "@types/lodash.mergewith" "4.6.6"+ "@types/lodash.mergewith" "4.6.7"css-box-model "1.2.1"- framesync "5.3.0"+ framesync "6.1.2"lodash.mergewith "4.6.2"-"@chakra-ui/[email protected]":- version "2.0.13"- resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-2.0.13.tgz#6553467d93f206d17716bcbe6e895a84eef87472"- integrity sha512-sDEeeEjLfID333EC46NdCbhK2HyMXlpl5HzcJjuwWIpyVz4E1gKQ9hlwpq6grijvmzeSywQ5D3tTwUrvZck4KQ==+"@chakra-ui/[email protected]":+ version "2.0.15"+ resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-2.0.15.tgz#60df64e0ab97d95fee4e6c61ccabd15fd5ace398"+ integrity sha512-WWULIiucYRBIewHKFA7BssQ2ABLHLVd9lrUo3N3SZgR0u4ZRDDVEUNOy+r+9ruDze8+36dGbN9wsN1IdELtdOw=="@cnakazawa/watch@^1.0.3":version "1.0.4"@@ -1832,11 +1872,6 @@exec-sh "^0.3.2"minimist "^1.2.0"-"@ctrl/tinycolor@^3.4.0":- version "3.4.1"- resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32"- integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw==-"@edge-runtime/[email protected]":version "1.1.0"resolved "https://registry.yarnpkg.com/@edge-runtime/format/-/format-1.1.0.tgz#5a209221a8bae7791d6e465c480f146249d1e15f"@@ -3668,10 +3703,10 @@dependencies:keyv "*"-"@types/[email protected]":- version "4.6.6"- resolved "https://registry.yarnpkg.com/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10"- integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg==+"@types/[email protected]":+ version "4.6.7"+ resolved "https://registry.yarnpkg.com/@types/lodash.mergewith/-/lodash.mergewith-4.6.7.tgz#eaa65aa5872abdd282f271eae447b115b2757212"+ integrity sha512-3m+lkO5CLRRYU0fhGRp7zbsGi6+BZj0uTVSwvcKU+nSlhjA9/QRNfuSGnD2mX6hQA7ZbmcCkzk5h4ZYGOtk14A==dependencies:"@types/lodash" "*"@@ -3932,15 +3967,15 @@resolved "https://registry.yarnpkg.com/@web3-storage/multipart-parser/-/multipart-parser-1.0.0.tgz#6b69dc2a32a5b207ba43e556c25cc136a56659c4"integrity sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==-"@zag-js/[email protected]":- version "0.1.0"- resolved "https://registry.yarnpkg.com/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22"- integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ==+"@zag-js/[email protected]":+ version "0.3.0"+ resolved "https://registry.yarnpkg.com/@zag-js/element-size/-/element-size-0.3.0.tgz#1c0ab23c9ada453f5778c4baf1eed46218dc9e85"+ integrity sha512-5/hEI+0c6ZNCx6KHlOS5/WeHsd6+I7gk7Y/b/zATp4Rp3tHirs/tu1frq+iy5BmfaG9hbQtfHfUJTjOcI5jnoQ==-"@zag-js/[email protected]":- version "0.1.0"- resolved "https://registry.yarnpkg.com/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7"- integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg==+"@zag-js/[email protected]":+ version "0.2.1"+ resolved "https://registry.yarnpkg.com/@zag-js/focus-visible/-/focus-visible-0.2.1.tgz#bf4f1009f4fd35a9728dfaa9214d8cb318fe8b1e"+ integrity sha512-19uTjoZGP4/Ax7kSNhhay9JA83BirKzpqLkeEAilrpdI1hE5xuq6q+tzJOsrMOOqJrm7LkmZp5lbsTQzvK2pYg=="@zxing/[email protected]":version "0.9.0"@@ -4124,10 +4159,10 @@ argparse@^2.0.1:resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==-aria-hidden@^1.1.1:- version "1.2.1"- resolved "https://registry.yarnpkg.com/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8"- integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A==+aria-hidden@^1.2.2:+ version "1.2.2"+ resolved "https://registry.yarnpkg.com/aria-hidden/-/aria-hidden-1.2.2.tgz#8c4f7cc88d73ca42114106fdf6f47e68d31475b8"+ integrity sha512-6y/ogyDTk/7YAe91T3E2PR1ALVKyM2QbTio5HwM+N1Q6CMlCKhvClyIjkckBswa0f2xJhjsfzIGa1yVSe1UMVA==dependencies:tslib "^2.0.0"@@ -4904,6 +4939,11 @@ color-name@~1.1.4:resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==+color2k@^2.0.0:+ version "2.0.2"+ resolved "https://registry.yarnpkg.com/color2k/-/color2k-2.0.2.tgz#ac2b4aea11c822a6bcb70c768b5a289f4fffcebb"+ integrity sha512-kJhwH5nAwb34tmyuqq/lgjEKzlFXn1U99NlnB6Ws4qVaERcRUYeYP1cBw6BJ4vxaWStAUEef4WMr7WjOCnBt8w==+combined-stream@^1.0.8:version "1.0.8"resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"@@ -6791,10 +6831,10 @@ flow-parser@0.*:resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.190.0.tgz#8e0706d58d156d9db0b3350b76636eb0a77e754e"integrity sha512-9jxaqkeeARD//nhwDoN//j+EFcwzKJCGPtTQzUdKZdlZG3JmUdbV6XJFLD9sbWFPUmcCT1mblwILwdoq0mKWQw==-focus-lock@^0.11.2:- version "0.11.3"- resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f"- integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg==+focus-lock@^0.11.5:+ version "0.11.5"+ resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.11.5.tgz#bef1bf86000ce5ee634a7fedeecf28a580dfbc9d"+ integrity sha512-1mTr6pl9HBpJ8CqY7hRc38MCrcuTZIeYAkBD1gBTzbx5/to+bRBaBYtJ68iDq7ryTzAAbKrG3dVKjkrWTaaEaw==dependencies:tslib "^2.0.3"@@ -6854,12 +6894,12 @@ framer-motion@^8.5.2:optionalDependencies:"@emotion/is-prop-valid" "^0.8.2"- version "5.3.0"- resolved "https://registry.yarnpkg.com/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b"- integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA==+ version "6.1.2"+ resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.1.2.tgz#755eff2fb5b8f3b4d2b266dd18121b300aefea27"+ integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==dependencies:- tslib "^2.1.0"+ tslib "2.4.0"version "0.5.2"@@ -10289,13 +10329,13 @@ [email protected]:resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb"integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==-react-focus-lock@^2.9.1:- version "2.9.1"- resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16"- integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg==+react-focus-lock@^2.9.2:+ version "2.9.3"+ resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.9.3.tgz#147bc783f4325b7ab52ac580c8afffdfc1d7ce23"+ integrity sha512-cGNkz9p5Fpqio6hBHlkKxzRYrBYtcPosFOL6Q3N/LSbHjwP/PTBqHpvbgaOYoE7rWfzw8qXPKTB3Tk/VPgw4NQ==dependencies:"@babel/runtime" "^7.0.0"- focus-lock "^0.11.2"+ focus-lock "^0.11.5"prop-types "^15.6.2"react-clientside-effect "^1.2.6"use-callback-ref "^1.3.0"@@ -10329,7 +10369,7 @@ react-remove-scroll-bar@^2.3.3:react-style-singleton "^2.2.1"tslib "^2.0.0"-react-remove-scroll@^2.5.4:+react-remove-scroll@^2.5.5:version "2.5.5"resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77"integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==@@ -11773,16 +11813,16 @@ tsconfig-paths@^4.0.0:minimist "^1.2.6"strip-bom "^3.0.0"[email protected], tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0:+ version "2.4.0"+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"+ integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==+tslib@^1.8.1:version "1.14.1"resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==-tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0:- version "2.4.0"- resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"- integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==-tsup@^6.2.3:version "6.3.0"resolved "https://registry.yarnpkg.com/tsup/-/tsup-6.3.0.tgz#aa270a788e54248d4a5541f722c8763bca778e3c"