diff --git a/.changeset/pr-808-2100756531.md b/.changeset/pr-808-2100756531.md new file mode 100644 index 000000000..82e3ec560 --- /dev/null +++ b/.changeset/pr-808-2100756531.md @@ -0,0 +1,5 @@ + +--- +"fusion-project-portal": patch +--- +Fix errors and add data owner on milestones diff --git a/client/package.json b/client/package.json index cc67edc24..18dd1bda4 100644 --- a/client/package.json +++ b/client/package.json @@ -80,7 +80,7 @@ "@equinor/fusion-framework-react-module-signalr": "^2.0.18", "@equinor/fusion-observable": "^8.1.5", "@equinor/fusion-react-context-selector": "^0.6.0", - "@equinor/fusion-react-person": "^0.7.0", + "@equinor/fusion-react-person": "^0.9.2", "@equinor/fusion-react-side-sheet": "1.3.0", "@equinor/fusion-react-skeleton": "^0.3.0", "@equinor/fusion-react-styles": "^0.6.1", diff --git a/client/packages/components/src/components/my-roles-tab/hooks/use-update-my-roles-query.ts b/client/packages/components/src/components/my-roles-tab/hooks/use-update-my-roles-query.ts index f00167dbc..dee948cbf 100644 --- a/client/packages/components/src/components/my-roles-tab/hooks/use-update-my-roles-query.ts +++ b/client/packages/components/src/components/my-roles-tab/hooks/use-update-my-roles-query.ts @@ -35,7 +35,7 @@ export const useUpdateUserRoleQuery = (roles?: Role[], userId?: string) => { const data = await ( await client ).json(`/persons/${userId}/roles/${roleName}`, { - method: 'Patch', + method: 'PATCH', body: JSON.stringify({ isActive }), }); diff --git a/client/packages/portal-pages/src/pages/project-page/components/milestones/LoadingSection.tsx b/client/packages/portal-pages/src/pages/project-page/components/milestones/LoadingSection.tsx index 502976a25..b8d13ec8c 100644 --- a/client/packages/portal-pages/src/pages/project-page/components/milestones/LoadingSection.tsx +++ b/client/packages/portal-pages/src/pages/project-page/components/milestones/LoadingSection.tsx @@ -16,6 +16,9 @@ export const LoadingSkeleton = () => ( + + + @@ -30,6 +33,9 @@ export const LoadingSkeleton = () => ( + + + @@ -44,6 +50,9 @@ export const LoadingSkeleton = () => ( + + + @@ -58,6 +67,9 @@ export const LoadingSkeleton = () => ( + + + ); diff --git a/client/packages/portal-pages/src/pages/project-page/components/milestones/Milestones.tsx b/client/packages/portal-pages/src/pages/project-page/components/milestones/Milestones.tsx index 0dc9ef905..182f5c535 100644 --- a/client/packages/portal-pages/src/pages/project-page/components/milestones/Milestones.tsx +++ b/client/packages/portal-pages/src/pages/project-page/components/milestones/Milestones.tsx @@ -1,4 +1,4 @@ -import { EdsProvider, Table, Typography } from '@equinor/eds-core-react'; +import { Card, EdsProvider, Table, Typography } from '@equinor/eds-core-react'; import { DateTime } from 'luxon'; import { StyledCardWrapper, StyledContent, StyledHeader } from '../project-cards/styles'; import { LoadingSkeleton } from './LoadingSection'; @@ -7,6 +7,8 @@ import { css } from '@emotion/css'; import { Message } from '@portal/ui'; import { sortByDate, sortMilestones } from './utils'; import { useMemo } from 'react'; +import { DataInfo } from '../../../sheared/components/data-info/DataInfo'; +import styled from 'styled-components'; function verifyDate(date?: string | null): string { return new Date(date || '').toString() !== 'Invalid Date' @@ -14,22 +16,19 @@ function verifyDate(date?: string | null): string { : '-'; } -const styles = { - fullWidth: css` - width: 100%; - `, - noContent: css` - width: 100%; - height: 200px; - display: flex; - justify-content: center; +const Styled = { + Wrapper: styled.div` + max-height: 350px; + overflow: auto; + display: 'grid'; `, - noWrap: css` - width: 1000px; + NoWrap: styled(Table.Cell)` overflow: hidden; text-overflow: ellipsis; `, - table: css` + Table: styled(Table)` + width: 100%; + white-space: nowrap; min-width: fit-content; table-layout: fixed; @@ -39,69 +38,85 @@ const styles = { export const Milestones = () => { const { data, isLoading, error } = useMilestoneQuery(); - const componentError = error as Error | undefined; - const milestones = useMemo(() => { return data?.sort(sortMilestones).sort(sortByDate) || []; }, [data]); return ( - - + + Milestones - - {componentError ? ( - componentError.message.toLowerCase() === 'No Access'.toLowerCase() ? ( - + + + {error ? ( + error.error.code === 'NoDataAccess' ? ( + `${a.code} - ${a.description}`) + : [] + } + > + ) : error.error.exceptionType === 'NotFoundError' ? ( + ) : ( - - {componentError.message} - + ) ) : ( - + - - - - Milestone - Description - Planned - Forecast - - - - {isLoading ? ( - - ) : milestones.length > 0 ? ( - milestones.map((milestone) => { - const datePlanned = verifyDate(milestone.datePlanned); - const dateForecast = verifyDate(milestone.dateForecast); - return ( - - - {milestone.milestone} - - - {milestone.description} - - {datePlanned} - {dateForecast} - - ); - }) - ) : ( -
- - There are no milestones awaitable - -
- )} -
-
+ + + + + Milestone + Description + Planned + Forecast + Actual + + + + {isLoading ? ( + + ) : milestones.length > 0 ? ( + milestones.map((milestone) => { + const datePlanned = verifyDate(milestone.datePlanned); + const dateForecast = verifyDate(milestone.dateForecast); + const dateActual = verifyDate(milestone.dateActual); + return ( + + + {milestone.milestone} + + + {milestone.description} + + {datePlanned} + {dateForecast} + {dateActual} + + ); + }) + ) : ( + + )} + + +
-
+ )} -
+ ); }; diff --git a/client/packages/portal-pages/src/pages/project-page/components/milestones/use-presence-query.ts b/client/packages/portal-pages/src/pages/project-page/components/milestones/use-presence-query.ts index 0a428fd2b..e844bcaff 100644 --- a/client/packages/portal-pages/src/pages/project-page/components/milestones/use-presence-query.ts +++ b/client/packages/portal-pages/src/pages/project-page/components/milestones/use-presence-query.ts @@ -14,6 +14,21 @@ export type Milestones = { contractMilestone: string; }; +type MilestoneError = { + error: { + message: string; + code: string; + exceptionType?: string; + accessRequirements: { + code: string; + description: string; + }[]; + }; + title: string; + detail: string; + message: string; +}; + export async function getMilestones( client: IHttpClient, contextId?: string, @@ -23,10 +38,16 @@ export async function getMilestones( const res = await client.fetch(`/api/contexts/${contextId}/milestones`, { signal }); - if (res.status === 403) throw new Error('No access'); + if (res.status === 403) { + const error = (await res.json()) as MilestoneError; + throw error; + } + if (res.status === 404) { + const error = (await res.json()) as MilestoneError; + throw error; + } const data = (await res.json()) as Milestones[]; - if (res.status === 400 && (data as unknown as { detail: string }).detail.includes('Forbidden')) { throw new Error('No access'); } @@ -36,6 +57,7 @@ export async function getMilestones( } if (!res.ok) throw new Error('Unknown Error'); + return data; } @@ -43,8 +65,10 @@ export const useMilestoneQuery = () => { const client = useFramework().modules.serviceDiscovery.createClient('data-proxy'); const { currentContext } = useFramework().modules.context; const contextId = currentContext?.id; - return useQuery({ + + return useQuery({ queryKey: ['milestones', contextId], queryFn: async ({ signal }) => getMilestones(await client, contextId, signal), + enabled: Boolean(contextId), }); }; diff --git a/client/packages/portal-pages/src/pages/sheared/components/data-info/DataInfo.tsx b/client/packages/portal-pages/src/pages/sheared/components/data-info/DataInfo.tsx new file mode 100644 index 000000000..a417a964a --- /dev/null +++ b/client/packages/portal-pages/src/pages/sheared/components/data-info/DataInfo.tsx @@ -0,0 +1,67 @@ +import { Icon, Popover, Typography } from '@equinor/eds-core-react'; +import { info_circle, title } from '@equinor/eds-icons'; +import { tokens } from '@equinor/eds-tokens'; +import { PersonCell } from '@equinor/fusion-react-person'; +import { useRef, useState } from 'react'; +import styled from 'styled-components'; + +type DataInfoProps = { + title: string; + dataSource: string; + azureUniqueId?: string; + access: 'Internal' | 'External' | 'Restricted'; +}; + +const Style = { + Content: styled.div` + display: flex; + flex-direction: column; + gap: 1rem; + min-width: 200px; + `, +}; + +export const DataInfo = ({ dataSource, azureUniqueId, access, title }: DataInfoProps) => { + const referenceElement = useRef(null); + const [isOpen, setIsOpen] = useState(false); + + return ( +
{ + setIsOpen(true); + }} + onMouseLeave={() => { + setIsOpen(false); + }} + ref={referenceElement} + > + + + {title} + + +
+ Data source: + + {dataSource} + +
+
+ Access: + + {access} + +
+ + {azureUniqueId && ( + <> + Contact person + u.mail} /> + + )} +
+
+
+
+ ); +}; diff --git a/client/yarn.lock b/client/yarn.lock index 8d8e6a392..c2e2115d1 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -812,13 +812,13 @@ "@equinor/fusion-wc-icon" "^2.3.0" "@equinor/fusion-wc-searchable-dropdown" "^3.7.0" -"@equinor/fusion-react-person@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@equinor/fusion-react-person/-/fusion-react-person-0.7.0.tgz#0e42d1a6b243d6a9fb81cc8aa50bd7095ca2c95f" - integrity sha512-yvs6ubxwI5+ETongTsYPR8dO0JZ3f0r5ANdxnsRI910M7pjOuiYQP2VqxFPabQMJ5DV1yL+nYlJHjQe2rj9NhQ== +"@equinor/fusion-react-person@^0.9.2": + version "0.9.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-react-person/-/fusion-react-person-0.9.2.tgz#64b7bfcd5bf3035a32c86deaa9d22f10782133ef" + integrity sha512-FmKZTHkup0zLtKmIBPQ+QUwG8gwo1CCyPYbEtZC1NTV1IYSTS7tIm1jdiQi45DLWOIrilTIvFbNiHf3b4ynuvA== dependencies: - "@equinor/fusion-react-utils" "^2.1.0" - "@equinor/fusion-wc-person" "^2.4.0" + "@equinor/fusion-react-utils" "^2.1.1" + "@equinor/fusion-wc-person" "^3.0.2" "@equinor/fusion-react-searchable-dropdown@^0.5.0": version "0.5.0" @@ -886,39 +886,39 @@ dependencies: date-fns "^3.2.0" -"@equinor/fusion-wc-avatar@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-avatar/-/fusion-wc-avatar-3.2.0.tgz#14faf66d0904328d866d912dcbe0d374e0f06c08" - integrity sha512-kQrEVPRjkBf3uHbs5aMigoqqBOlwoe6xehCRhnwsrOKUXWcNMa3U7NH7Txg5fzs4jaE5vHHTkGdOAPrA2DCDWg== +"@equinor/fusion-wc-avatar@^3.2.3": + version "3.2.3" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-avatar/-/fusion-wc-avatar-3.2.3.tgz#2b95ee4dc5f535e28adc376df5157a7c7e3a1739" + integrity sha512-R4QrPz+lzIdYnc1s/6RixQb6MQ/sn1t1h+/P9MictC1bpxXaBKNA7XonxOXQyP9ivZHXLIZK8lNW6vtxiZXurQ== dependencies: "@equinor/fusion-wc-core" "^2.0.0" - "@equinor/fusion-wc-picture" "^3.1.0" - "@equinor/fusion-wc-ripple" "^1.1.0" - "@equinor/fusion-web-theme" "^0.1.7" - lit "3.0.2" + "@equinor/fusion-wc-picture" "^3.1.1" + "@equinor/fusion-wc-ripple" "^1.1.1" + "@equinor/fusion-web-theme" "^0.1.10" + lit "3.2.0" -"@equinor/fusion-wc-badge@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-badge/-/fusion-wc-badge-1.3.0.tgz#ae963d63846da39dbee8474930af1c95cdfe8668" - integrity sha512-xuhKuLe7UBS8QL/mWSxX6OJZCm94DRVE4Kyw7sM2TZmbmJWJYRBu9I4Ib36IeJh6UJXfXjCoIPEUjxMzFG6goA== +"@equinor/fusion-wc-badge@^1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-badge/-/fusion-wc-badge-1.3.2.tgz#8252d0f9a50f9daf54fa31750fde97a20a5d9192" + integrity sha512-RnwtNC+USW388qFafoOxM+7EEmCgWC2sxbjlcyIfBlp0ladgMCEdSnJiSJL1Nb/Qdne7BJWQi3oAA9xnku4Rhg== dependencies: "@equinor/fusion-wc-core" "^2.0.0" - "@equinor/fusion-wc-icon" "^2.3.0" - "@equinor/fusion-web-theme" "^0.1.7" - lit "3.0.2" + "@equinor/fusion-wc-icon" "^2.3.1" + "@equinor/fusion-web-theme" "^0.1.10" + lit "3.2.0" -"@equinor/fusion-wc-button@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-button/-/fusion-wc-button-2.4.0.tgz#1a81a6865c224fc77458ba45ea9f8307647a0653" - integrity sha512-dwwabWlF9rnjkXGSNNVnzRyOpXPbUrOP+f7+7nUY66M0oTmmmGVwDdFrNSQnigTHRQz8TqNWEbCzljw/mEeSsg== +"@equinor/fusion-wc-button@^2.4.2": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-button/-/fusion-wc-button-2.4.2.tgz#cfd002d83c7aaff3bc65963702534352e0dfc637" + integrity sha512-NPhY6GLO6MQnZLNnqtLrAbZrodm1ogsK65OL+VleN0NlYZzZ7i2li99itXSMSgXg5fit1YZ4ONonPzZ9BN4HFw== dependencies: "@equinor/fusion-wc-core" "^2.0.0" - "@equinor/fusion-wc-icon" "^2.3.0" - "@equinor/fusion-web-theme" "^0.1.7" + "@equinor/fusion-wc-icon" "^2.3.1" + "@equinor/fusion-web-theme" "^0.1.10" "@material/mwc-button" "^0.27.0" "@material/mwc-icon-button" "^0.27.0" "@material/mwc-icon-button-toggle" "^0.27.0" - lit "3.0.2" + lit "3.2.0" "@equinor/fusion-wc-checkbox@^1.1.0": version "1.1.0" @@ -930,6 +930,16 @@ "@material/mwc-checkbox" "^0.27.0" lit "3.0.2" +"@equinor/fusion-wc-checkbox@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-checkbox/-/fusion-wc-checkbox-1.1.2.tgz#ae9bdcca168e18c57ff980205b1d23b7781a4ecb" + integrity sha512-lAD6yh4cvuTCNisiYjyB1BvGg566YkQFa9m+/hzIVIlQRk0UQn9/FHa8BB/DnAj9O/K6IrgRx7tabrXIDrzHUg== + dependencies: + "@equinor/fusion-wc-core" "^2.0.0" + "@equinor/fusion-web-theme" "^0.1.10" + "@material/mwc-checkbox" "^0.27.0" + lit "3.2.0" + "@equinor/fusion-wc-core@^1.0.5": version "1.0.5" resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-core/-/fusion-wc-core-1.0.5.tgz#46db3a53bd4b4dbed32887c1a7e25104b4a7493b" @@ -949,6 +959,15 @@ "@equinor/fusion-web-theme" "^0.1.7" lit "3.0.2" +"@equinor/fusion-wc-divider@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-divider/-/fusion-wc-divider-1.1.2.tgz#8638d0e352a142d92ae7ea50241d3e00028a1d7c" + integrity sha512-kb5kmq8S+aMqe+91RNHmJtjCg8ecrnB5DYrcm6RzucLicxL0NTwlLAJfy49xDR5kzt2laoyq6XsQ+4MqnlTbyw== + dependencies: + "@equinor/fusion-wc-core" "^2.0.0" + "@equinor/fusion-web-theme" "^0.1.10" + lit "3.2.0" + "@equinor/fusion-wc-icon@^2.2.0": version "2.2.0" resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-icon/-/fusion-wc-icon-2.2.0.tgz#020d813181a7c9a4fa44f39e4c8a0d03df057bfd" @@ -967,6 +986,15 @@ "@equinor/fusion-wc-core" "^2.0.0" lit "3.0.2" +"@equinor/fusion-wc-icon@^2.3.1": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-icon/-/fusion-wc-icon-2.3.1.tgz#5e75ef22028cea043ca0cce383f21e6ccbe6a641" + integrity sha512-uwmlMWb0/ZOXzHgzFge7x3ZEWfDzvuHPhTfBe9gF4hCNE2ZpQU3TlQd/UZh4B6/0xVhdfAMdZyhAOmjW7OzDZA== + dependencies: + "@equinor/eds-icons" "^0.21.0" + "@equinor/fusion-wc-core" "^2.0.0" + lit "3.2.0" + "@equinor/fusion-wc-list@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-list/-/fusion-wc-list-1.1.0.tgz#183c7c232143eb00bec7d634cd529ecbf20c5009" @@ -981,47 +1009,47 @@ "@material/mwc-list" "^0.27.0" lit "3.0.2" -"@equinor/fusion-wc-list@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-list/-/fusion-wc-list-1.1.1.tgz#51b71ec9c7634bdc494fd62ee7a05503f7818b6b" - integrity sha512-+pBtqfGLvOEA2Fs4rw/A2r7onaRKl44y92upFdPq5mH4EOKuCe1Pzose1njVNxnmNhBbADwjWRsya47QlKlLZg== +"@equinor/fusion-wc-list@^1.1.3": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-list/-/fusion-wc-list-1.1.3.tgz#8e3003c803a1bc172d38dc81fc7453b99acf89c0" + integrity sha512-eKzpPA1/8k6uQu6/5ozfywJWHUBPcwOzcZbHz4/Rzu1fb5b932Eot/yUsacDRhnSigbgBvsOqU0phDp2OuV6yA== dependencies: - "@equinor/fusion-wc-checkbox" "^1.1.0" + "@equinor/fusion-wc-checkbox" "^1.1.2" "@equinor/fusion-wc-core" "^2.0.0" - "@equinor/fusion-wc-divider" "^1.1.0" - "@equinor/fusion-wc-icon" "^2.3.0" - "@equinor/fusion-wc-radio" "^1.1.0" - "@equinor/fusion-web-theme" "^0.1.7" + "@equinor/fusion-wc-divider" "^1.1.2" + "@equinor/fusion-wc-icon" "^2.3.1" + "@equinor/fusion-wc-radio" "^1.1.2" + "@equinor/fusion-web-theme" "^0.1.10" "@material/mwc-list" "^0.27.0" - lit "3.0.2" + lit "3.2.0" -"@equinor/fusion-wc-person@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-person/-/fusion-wc-person-2.4.0.tgz#6de9664b4f15a0d8890df3b728fd513badb1c7a3" - integrity sha512-2VYjY4GwGKzKr57qTXvCSW9ZBoXES8eKD7UHJ/kj29OZk1RnjuRMSqdIuuF9MlEm/o13piIouQOZbDe5cnQHQg== +"@equinor/fusion-wc-person@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-person/-/fusion-wc-person-3.0.2.tgz#634fa242982d87bb8279a8203fba7a2dfc15e17a" + integrity sha512-ouexHJf1SLv8WAZj4evfb68hhjXb3pMji4q4Ag17e6S5wgpkvmoEI5LhyeAYdWEInC4flzdTiXJEl++zoE5EwQ== dependencies: - "@equinor/fusion-wc-avatar" "^3.2.0" - "@equinor/fusion-wc-badge" "^1.3.0" - "@equinor/fusion-wc-button" "^2.4.0" + "@equinor/fusion-wc-avatar" "^3.2.3" + "@equinor/fusion-wc-badge" "^1.3.2" + "@equinor/fusion-wc-button" "^2.4.2" "@equinor/fusion-wc-core" "^2.0.0" - "@equinor/fusion-wc-icon" "^2.3.0" - "@equinor/fusion-wc-list" "^1.1.1" - "@equinor/fusion-wc-searchable-dropdown" "^3.7.1" - "@equinor/fusion-wc-skeleton" "^2.1.0" - "@equinor/fusion-wc-textinput" "^1.1.0" - "@equinor/fusion-web-theme" "^0.1.7" - "@floating-ui/dom" "^1.3.0" - "@lit-labs/observers" "^2.0.2" - "@lit-labs/task" "^3.0.1" - lit "3.0.2" + "@equinor/fusion-wc-icon" "^2.3.1" + "@equinor/fusion-wc-list" "^1.1.3" + "@equinor/fusion-wc-searchable-dropdown" "^3.7.4" + "@equinor/fusion-wc-skeleton" "^2.1.2" + "@equinor/fusion-wc-textinput" "^1.1.2" + "@equinor/fusion-web-theme" "^0.1.10" + "@floating-ui/dom" "^1.6.10" + "@lit-labs/observers" "^2.0.3" + "@lit-labs/task" "^3.1.0" + lit "3.2.0" -"@equinor/fusion-wc-picture@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-picture/-/fusion-wc-picture-3.1.0.tgz#135eeed697b984205fe934b5644862e3a8deac44" - integrity sha512-3RQmbd0ZBJ4IBI93EP5e7P535qCG8BMKYkEAi67O9vKPOppzijtRenrdKQKHLAZ7jBtW7bRPTsW8dl6hyunjig== +"@equinor/fusion-wc-picture@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-picture/-/fusion-wc-picture-3.1.1.tgz#a80565eed473444933170832b39fbef9f05e75ea" + integrity sha512-TeZd46sjyg43HHlbE4h9Ebk9wCBnif5j9XGodIdVTCaC7rLz2YEd7C6RS7vj3nS+goFIZmowiUUmg6gZemzY4w== dependencies: "@equinor/fusion-wc-core" "^2.0.0" - lit "3.0.2" + lit "3.2.0" "@equinor/fusion-wc-radio@^1.1.0": version "1.1.0" @@ -1033,14 +1061,24 @@ "@material/mwc-radio" "^0.27.0" lit "3.0.2" -"@equinor/fusion-wc-ripple@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-ripple/-/fusion-wc-ripple-1.1.0.tgz#5c9827aa142926934ece9193f9747ffe64ecf762" - integrity sha512-eoWfj39NFnNhT4/stqw3x706pT68Kkc9oA6LIeOJW2H5rBKhJ/5vzMWwFo7CWPISd7jf52t/wlLF9Zfj0JXW7A== +"@equinor/fusion-wc-radio@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-radio/-/fusion-wc-radio-1.1.2.tgz#118a401978a7f3f6efccf14c1574ecb3dfb543ec" + integrity sha512-XO0rGD74dVQTtyI4GIjg1CuINbQ7DUUiNohvBWsYoLdG6TmvnCuO+2KfRNMdlwVTyog7Nm6qIl9agjQUOHQS0Q== + dependencies: + "@equinor/fusion-wc-core" "^2.0.0" + "@equinor/fusion-web-theme" "^0.1.10" + "@material/mwc-radio" "^0.27.0" + lit "3.2.0" + +"@equinor/fusion-wc-ripple@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-ripple/-/fusion-wc-ripple-1.1.1.tgz#0cf949dd1d6b308703c75e053d671c253fbd648c" + integrity sha512-TuyBqTRekg7Kh+09+guD7P0HldGOkE7gicYF+rW1yfVFJGwCjBWQ+2EDqhImDPViRq5RWvE73Y8Ajayt/wO0Qw== dependencies: "@equinor/fusion-wc-core" "^2.0.0" "@material/mwc-ripple" "^0.27.0" - lit "3.0.2" + lit "3.2.0" "@equinor/fusion-wc-searchable-dropdown@^3.7.0": version "3.7.0" @@ -1059,22 +1097,22 @@ lit "3.0.2" uuid "^9.0.0" -"@equinor/fusion-wc-searchable-dropdown@^3.7.1": - version "3.7.1" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-searchable-dropdown/-/fusion-wc-searchable-dropdown-3.7.1.tgz#6e4f6dd630f60de1e3f415383dd56848c288b107" - integrity sha512-u67vLna9kocVr1aVcdTsTN6eXFPiYcU6X2ekTRHiYke5kntJS7yFvii/XZdK2eERcOXmUDk8hL3JP0Uvikshdw== +"@equinor/fusion-wc-searchable-dropdown@^3.7.4": + version "3.7.4" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-searchable-dropdown/-/fusion-wc-searchable-dropdown-3.7.4.tgz#63e0b948d2c6ffa1994f13ecb6d3448e0680ef15" + integrity sha512-ED34b/1f6Sg05TT5lUhakhZHGfWiLpMLy0PhAuO18BhWVpHMHikQeoaZU1P13he6ks/GCIXt+K+2/Y47nBi4Ng== dependencies: "@equinor/fusion-wc-core" "^2.0.0" - "@equinor/fusion-wc-divider" "^1.1.0" - "@equinor/fusion-wc-icon" "^2.3.0" - "@equinor/fusion-wc-list" "^1.1.1" - "@equinor/fusion-wc-textinput" "^1.1.0" - "@equinor/fusion-web-theme" "^0.1.7" + "@equinor/fusion-wc-divider" "^1.1.2" + "@equinor/fusion-wc-icon" "^2.3.1" + "@equinor/fusion-wc-list" "^1.1.3" + "@equinor/fusion-wc-textinput" "^1.1.2" + "@equinor/fusion-web-theme" "^0.1.10" "@lit-labs/task" "^3.1.0" "@material/mwc-textfield" "^0.27.0" - "@types/uuid" "^9.0.1" - lit "3.0.2" - uuid "^9.0.0" + "@types/uuid" "^10.0.0" + lit "3.2.0" + uuid "^10.0.0" "@equinor/fusion-wc-skeleton@^2.0.0": version "2.0.0" @@ -1085,14 +1123,14 @@ "@equinor/fusion-web-theme" "^0.1.7" lit "2.7.0" -"@equinor/fusion-wc-skeleton@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-skeleton/-/fusion-wc-skeleton-2.1.0.tgz#09ab33d8d5c47e6d450ce73547bdd372f1d3c9a6" - integrity sha512-Wgd0LybpDeulHMJ+h7jG/83CqMuyYi4eegm53VwKgLfP4jM7/CEzIq8g6lGPPXUOlrZuaWJeriXX2RpBbCMSSA== +"@equinor/fusion-wc-skeleton@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-skeleton/-/fusion-wc-skeleton-2.1.2.tgz#f29922e46f8fe31409ca65d27b83fd0ce1e33cbe" + integrity sha512-LqrfUAg6BEqBi59kNs08UG+K7ESCvYJ6NMDIXI8EBTy1x2nt12D2JRXAE5zIeYU4+I084/zwKwt62Gx3yFtSkA== dependencies: "@equinor/fusion-wc-core" "^2.0.0" - "@equinor/fusion-web-theme" "^0.1.7" - lit "3.0.2" + "@equinor/fusion-web-theme" "^0.1.10" + lit "3.2.0" "@equinor/fusion-wc-textinput@^1.1.0": version "1.1.0" @@ -1105,6 +1143,17 @@ "@material/mwc-textfield" "^0.27.0" lit "3.0.2" +"@equinor/fusion-wc-textinput@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-textinput/-/fusion-wc-textinput-1.1.2.tgz#1ee1c16b821e089c5526dd07345e2404b92bc8d3" + integrity sha512-ZnN3nCCIvSJnfN6aLiE6Zr2euC0gSQB9X6R/2RxQYRPK++vRfbMH5gkafCJDDyS89A1WU0orDL7Ulgkq1XowMw== + dependencies: + "@equinor/fusion-wc-core" "^2.0.0" + "@equinor/fusion-wc-icon" "^2.3.1" + "@equinor/fusion-web-theme" "^0.1.10" + "@material/mwc-textfield" "^0.27.0" + lit "3.2.0" + "@equinor/fusion-wc-theme@^0.2.33": version "0.2.33" resolved "https://registry.yarnpkg.com/@equinor/fusion-wc-theme/-/fusion-wc-theme-0.2.33.tgz#0550831afd950340d534bea5ba0e8f06cffcafb5" @@ -1125,6 +1174,14 @@ "@material/theme" "^14.0.0" lit "3.0.2" +"@equinor/fusion-web-theme@^0.1.10": + version "0.1.10" + resolved "https://registry.yarnpkg.com/@equinor/fusion-web-theme/-/fusion-web-theme-0.1.10.tgz#b989f51cd3216df894c733fa0f80c6ef954dbe7f" + integrity sha512-/Yzfie73UvMoBMo35gmeHO+5nTty5EyemomcB5ZbEDyHFNIodgCL1JGm2KfrIwqez9w9CTneHjnJWvwhu9TM+w== + dependencies: + "@equinor/eds-tokens" "0.9.2" + csstype "^3.1.3" + "@equinor/fusion-web-theme@^0.1.7": version "0.1.7" resolved "https://registry.yarnpkg.com/@equinor/fusion-web-theme/-/fusion-web-theme-0.1.7.tgz#ededda5ad185da9fde09de5ca71cb8ca01e4bfe4" @@ -1301,20 +1358,12 @@ dependencies: "@floating-ui/utils" "^0.2.1" -"@floating-ui/core@^1.4.2": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.5.0.tgz#5c05c60d5ae2d05101c3021c1a2a350ddc027f8c" - integrity sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg== - dependencies: - "@floating-ui/utils" "^0.1.3" - -"@floating-ui/dom@^1.3.0": - version "1.5.3" - resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.3.tgz#54e50efcb432c06c23cd33de2b575102005436fa" - integrity sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA== +"@floating-ui/core@^1.6.0": + version "1.6.8" + resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.6.8.tgz#aa43561be075815879305965020f492cdb43da12" + integrity sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA== dependencies: - "@floating-ui/core" "^1.4.2" - "@floating-ui/utils" "^0.1.3" + "@floating-ui/utils" "^0.2.8" "@floating-ui/dom@^1.6.1": version "1.6.3" @@ -1324,6 +1373,14 @@ "@floating-ui/core" "^1.0.0" "@floating-ui/utils" "^0.2.0" +"@floating-ui/dom@^1.6.10": + version "1.6.11" + resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.6.11.tgz#8631857838d34ee5712339eb7cbdfb8ad34da723" + integrity sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ== + dependencies: + "@floating-ui/core" "^1.6.0" + "@floating-ui/utils" "^0.2.8" + "@floating-ui/react-dom@^2.0.8": version "2.0.8" resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.8.tgz#afc24f9756d1b433e1fe0d047c24bd4d9cefaa5d" @@ -1340,16 +1397,16 @@ "@floating-ui/utils" "^0.2.1" tabbable "^6.0.1" -"@floating-ui/utils@^0.1.3": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.6.tgz#22958c042e10b67463997bd6ea7115fe28cbcaf9" - integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A== - "@floating-ui/utils@^0.2.0", "@floating-ui/utils@^0.2.1": version "0.2.1" resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.1.tgz#16308cea045f0fc777b6ff20a9f25474dd8293d2" integrity sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q== +"@floating-ui/utils@^0.2.8": + version "0.2.8" + resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.8.tgz#21a907684723bbbaa5f0974cf7730bd797eb8e62" + integrity sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig== + "@hirez_io/observer-spy@^2.2.0": version "2.2.0" resolved "https://registry.yarnpkg.com/@hirez_io/observer-spy/-/observer-spy-2.2.0.tgz#3b1df531ba333a9a6cbbec0333d3fbdc4c68cc3c" @@ -1539,12 +1596,13 @@ yargs "17.7.2" yargs-parser "21.1.1" -"@lit-labs/observers@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@lit-labs/observers/-/observers-2.0.2.tgz#3f655a86e3dccc3a174f4f0149e8b318beb72025" - integrity sha512-eZb5+W9Cb0e/Y5m1DNxBSGTvGB2TAVTGMnTxL/IzFhPQEcZIAHewW1eVBhN8W07A5tirRaAmmF6fGL1V20p3gQ== +"@lit-labs/observers@^2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@lit-labs/observers/-/observers-2.0.3.tgz#a42a72cfa288dbd3065c7edb50313ad8d3ea6fe1" + integrity sha512-CeftEJ2TId9iohDJHLjUXiSBVndqjIBaALjeTt8OmgWLh2dnIzwlj4WtPCiJw15uR1s6D6wyCsw0AoJC5/9QXw== dependencies: "@lit/reactive-element" "^1.0.0 || ^2.0.0" + lit-html "^3.2.0" "@lit-labs/ssr-dom-shim@^1.0.0", "@lit-labs/ssr-dom-shim@^1.1.0": version "1.1.1" @@ -1556,7 +1614,12 @@ resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.1.2.tgz#d693d972974a354034454ec1317eb6afd0b00312" integrity sha512-jnOD+/+dSrfTWYfSXBXlo5l5f0q1UuJo3tkbMDCYA2lKUYq79jaxqtGEvnRoh049nt1vdo1+45RinipU6FGY2g== -"@lit-labs/task@^3.0.1", "@lit-labs/task@^3.1.0": +"@lit-labs/ssr-dom-shim@^1.2.0": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.1.tgz#2f3a8f1d688935c704dbc89132394a41029acbb8" + integrity sha512-wx4aBmgeGvFmOKucFKY+8VFJSYZxs9poN3SDNQFF6lT6NrQUnHiPB2PWz2sc4ieEcAaYYzN+1uWahEeTq2aRIQ== + +"@lit-labs/task@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@lit-labs/task/-/task-3.1.0.tgz#4821d2d5e0e0af0e18e57136bb39c2662811cbd9" integrity sha512-zMlcUtZeHDT83IiT2+CJBSoFvWDLnPEezhOCgqjxW4DmRHlbgd7jdft97T6dw4S4RvIETfI7OOyvubCV/EzTlg== @@ -1577,6 +1640,13 @@ dependencies: "@lit-labs/ssr-dom-shim" "^1.0.0" +"@lit/reactive-element@^2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-2.0.4.tgz#8f2ed950a848016383894a26180ff06c56ae001b" + integrity sha512-GFn91inaUa2oHLak8awSIigYz0cU0Payr1rcFsrkf5OJ5eSPxElyZfKh0f2p9FsTiZWXQdWGJeXZICEfXXYSXQ== + dependencies: + "@lit-labs/ssr-dom-shim" "^1.2.0" + "@lit/task@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@lit/task/-/task-1.0.0.tgz#61ae9ac6131368bbcf5f09ccade8037e6bb8705e" @@ -2976,6 +3046,11 @@ resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.3.tgz#a136f83b0758698df454e328759dbd3d44555311" integrity sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g== +"@types/uuid@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-10.0.0.tgz#e9c07fe50da0f53dc24970cca94d619ff03f6f6d" + integrity sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ== + "@types/uuid@^9.0.1": version "9.0.2" resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.2.tgz#ede1d1b1e451548d44919dc226253e32a6952c4b" @@ -4223,6 +4298,11 @@ csstype@^3.0.10, csstype@^3.0.2: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b" integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== +csstype@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" + integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== + damerau-levenshtein@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" @@ -6543,6 +6623,15 @@ lit-element@^4.0.0: "@lit/reactive-element" "^2.0.0" lit-html "^3.1.0" +lit-element@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-4.1.0.tgz#cea3eb25f15091e3fade07c4d917fa6aaf56ba7d" + integrity sha512-gSejRUQJuMQjV2Z59KAS/D4iElUhwKpIyJvZ9w+DIagIQjfJnhR20h2Q5ddpzXGS+fF0tMZ/xEYGMnKmaI/iww== + dependencies: + "@lit-labs/ssr-dom-shim" "^1.2.0" + "@lit/reactive-element" "^2.0.4" + lit-html "^3.2.0" + lit-html@^2.7.0, lit-html@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.8.0.tgz#96456a4bb4ee717b9a7d2f94562a16509d39bffa" @@ -6557,6 +6646,13 @@ lit-html@^3.0.0, lit-html@^3.1.0: dependencies: "@types/trusted-types" "^2.0.2" +lit-html@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-3.2.0.tgz#cb09071a8a1f5f0850873f9143f18f0260be1fda" + integrity sha512-pwT/HwoxqI9FggTrYVarkBKFN9MlTUpLrDHubTmW4SrkL3kkqW5gxwbxMMUnbbRHBC0WTZnYHcjDSCM559VyfA== + dependencies: + "@types/trusted-types" "^2.0.2" + lit@2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/lit/-/lit-2.7.0.tgz#94242caa20f7b9e60d49cc0b843e4a694c4af3bb" @@ -6575,6 +6671,15 @@ lit@3.0.2: lit-element "^4.0.0" lit-html "^3.0.0" +lit@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/lit/-/lit-3.2.0.tgz#2189d72bccbc335f733a67bfbbd295f015e68e05" + integrity sha512-s6tI33Lf6VpDu7u4YqsSX78D28bYQulM+VAzsGch4fx2H0eLZnJsUBsPWmGYSGoKDNbjtRv02rio1o+UdPVwvw== + dependencies: + "@lit/reactive-element" "^2.0.4" + lit-element "^4.1.0" + lit-html "^3.2.0" + lit@^2.0.0: version "2.8.0" resolved "https://registry.yarnpkg.com/lit/-/lit-2.8.0.tgz#4d838ae03059bf9cafa06e5c61d8acc0081e974e"