@equinor/amplify-component-lib 11.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +1 -0
- package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
- package/dist/atoms/hooks/useSelect.d.ts +3 -3
- package/dist/atoms/index.js +1 -1
- package/dist/atoms/style/index.d.ts +1 -1
- package/dist/atoms/style/index.js +1 -1
- package/dist/atoms/utils/auth_environment.js +1 -1
- package/dist/atoms/utils/map.js +1 -1
- package/dist/atoms/utils/sort.js +1 -1
- package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
- package/dist/deprecated/IconToggleButton.d.ts +2 -2
- package/dist/deprecated/IconToggleButton.js +1 -1
- package/dist/deprecated/OldStepper/OldStep.js +1 -1
- package/dist/deprecated/OldStepper/OldStepLine.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.js +1 -1
- package/dist/molecules/Banner/Banner.utils.js +1 -1
- package/dist/molecules/Chip/Chip.d.ts +2 -2
- package/dist/molecules/Confetti/Confetti.constants.js +1 -1
- package/dist/molecules/Confetti/utils/createConfetti.js +1 -1
- package/dist/molecules/Confetti/utils/drawShapes.js +1 -1
- package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
- package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/dist/molecules/Dialog/Dialog.d.ts +2 -2
- package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
- package/dist/molecules/FileProgress/CompactFileProgress.js +1 -1
- package/dist/molecules/FileProgress/RegularFileProgress.js +1 -1
- package/dist/molecules/FileUploadArea/FileUploadArea.js +1 -1
- package/dist/molecules/IconCell/IconCell.d.ts +2 -2
- package/dist/molecules/InfoElement/CopyText.js +5 -5
- package/dist/molecules/InfoElement/InfoElement.js +1 -1
- package/dist/molecules/InformationalNotice/InformationalNotice.utils.js +1 -1
- package/dist/molecules/ListItem/ListItem.d.ts +2 -2
- package/dist/molecules/OptionalTooltip/OptionalTooltip.d.ts +4 -4
- package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
- package/dist/molecules/RichTextDisplay/RichTextDisplay.d.ts +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/AddImageButton.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +7 -7
- package/dist/molecules/RichTextEditor/MenuBar/Table/TableDelete.js +1 -1
- package/dist/molecules/RichTextEditor/MenuBar/TextColor.js +1 -1
- package/dist/molecules/RichTextEditor/RichTextEditor.styles.js +1 -1
- package/dist/molecules/RichTextEditor/custom-extensions/ExtendedImage.js +1 -1
- package/dist/molecules/RichTextEditor/index.d.ts +6 -5
- package/dist/molecules/RichTextEditor/index.js +1 -1
- package/dist/molecules/Search/Search.d.ts +2 -2
- package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
- package/dist/molecules/Select/ListSelectPersistent.js +1 -1
- package/dist/molecules/Select/PersistentComboBox/PersistentComboBox.d.ts +2 -2
- package/dist/molecules/Select/Select.styles.d.ts +9 -6
- package/dist/molecules/Select/Select.styles.js +7 -1
- package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
- package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
- package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
- package/dist/molecules/SelectionControls/Switch/Switch.d.ts +2 -2
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +4 -3
- package/dist/molecules/Stepper/Step/Step.js +1 -1
- package/dist/molecules/Stepper/Stepper.js +1 -1
- package/dist/molecules/Tabs/Tab.js +1 -1
- package/dist/molecules/TextField/TextField.js +3 -3
- package/dist/molecules/index.js +1 -1
- package/dist/organisms/DataGrid/DataGrid.d.ts +2 -2
- package/dist/organisms/Faq/Category/Category.styles.js +5 -5
- package/dist/organisms/Faq/Category/Question/Question.styles.js +7 -7
- package/dist/organisms/Faq/Category/Subcategory.js +7 -7
- package/dist/organisms/Faq/Faq.js +6 -6
- package/dist/organisms/Faq/Faq.utils.js +1 -1
- package/dist/organisms/FieldSelector/ChangingField.js +4 -4
- package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +4 -4
- package/dist/organisms/FieldSelector/SelectorCard/Skeleton.js +10 -10
- package/dist/organisms/Filter/Filter.d.ts +2 -2
- package/dist/organisms/Filter/QuickFilter.d.ts +2 -2
- package/dist/organisms/ReleaseNote/ReleaseNote.d.ts +3 -3
- package/dist/organisms/ReleaseNote/ReleaseNote.js +4 -4
- package/dist/organisms/ReleaseNotesPage/ReleaseNotesPage.utils.js +1 -1
- package/dist/organisms/SideBar/SideBar.d.ts +2 -2
- package/dist/organisms/SideBar/SideBar.js +1 -1
- package/dist/organisms/Status/Action.d.ts +2 -2
- package/dist/organisms/Status/Description.d.ts +2 -2
- package/dist/organisms/Status/Illustration.constants.js +1 -1
- package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
- package/dist/organisms/Status/Title.d.ts +2 -2
- package/dist/organisms/Status/collections/GenericError.d.ts +2 -2
- package/dist/organisms/Status/collections/PageNotFound.d.ts +2 -2
- package/dist/organisms/Status/collections/ServerError.d.ts +2 -2
- package/dist/organisms/Template/Template.d.ts +5 -5
- package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
- package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
- package/dist/organisms/ToggleGroup/ToggleGroupOption.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +1 -1
- package/dist/organisms/TopBar/Actions.d.ts +2 -2
- package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -2
- package/dist/organisms/TopBar/Guidelines/Colorbox.d.ts +4 -3
- package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Url.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -1
- package/dist/organisms/TopBar/Resources/Resources.d.ts +0 -1
- package/dist/organisms/TopBar/Resources/Resources.js +1 -1
- package/dist/organisms/TopBar/TopBar.js +1 -1
- package/dist/organisms/TopBar/TopBar.styles.js +3 -3
- package/dist/organisms/TopBar/TopBarMenu.js +2 -2
- package/dist/organisms/TopBar/TransferToAppDialog.js +6 -6
- package/dist/organisms/index.js +1 -1
- package/dist/providers/AuthProvider/AuthProvider.js +1 -1
- package/dist/providers/AuthProvider/AuthProviderInner.js +1 -1
- package/dist/providers/ConfettiProvider/ConfettiProvider.js +1 -1
- package/dist/providers/SurveyProvider/SurveyDialog/SurveyDialog.js +1 -0
- package/dist/providers/SurveyProvider/SurveyDialog/SurveyDialog.styles.js +5 -0
- package/dist/providers/SurveyProvider/SurveyDialog/SurveyProgress.js +4 -0
- package/dist/providers/SurveyProvider/SurveyDialog/SurveyQuestion/SurveyFreeTextQuestion.js +5 -0
- package/dist/providers/SurveyProvider/SurveyDialog/SurveyQuestion/SurveyLinearScaleQuestion.js +10 -0
- package/dist/providers/SurveyProvider/SurveyDialog/SurveyQuestion/SurveyMultipleChoiceQuestion.js +5 -0
- package/dist/providers/SurveyProvider/SurveyDialog/SurveyQuestion/SurveyQuestion.js +1 -0
- package/dist/providers/SurveyProvider/SurveyDialog/UmuxDialog.js +5 -0
- package/dist/providers/SurveyProvider/SurveyProvider.d.ts +14 -0
- package/dist/providers/SurveyProvider/SurveyProvider.js +1 -0
- package/dist/providers/SurveyProvider/hooks/useSurvey.js +1 -0
- package/package.json +12 -12
- package/dist/_virtual/rolldown_runtime.js +0 -1
- package/dist/organisms/ReleaseNote/ReleaseNote.constants.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../../atoms/style/spacings.js";import{SkeletonBase as n}from"../../../molecules/Skeleton/SkeletonBase/SkeletonBase.js";import
|
|
1
|
+
import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../../atoms/style/spacings.js";import{SkeletonBase as n}from"../../../molecules/Skeleton/SkeletonBase/SkeletonBase.js";import"react";import{Card as r}from"@equinor/eds-core-react";import i from"styled-components";import{jsx as a,jsxs as o}from"react/jsx-runtime";const{elevation:s,shape:c}=e,l=i(r)`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 50%;
|
|
4
4
|
top: 50%;
|
|
@@ -8,17 +8,17 @@ import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/
|
|
|
8
8
|
width: 25rem;
|
|
9
9
|
align-items: center;
|
|
10
10
|
padding: ${t.large};
|
|
11
|
-
box-shadow: ${
|
|
12
|
-
border-radius: ${
|
|
11
|
+
box-shadow: ${s.raised};
|
|
12
|
+
border-radius: ${c.corners.borderRadius};
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
justify-content: space-between;
|
|
16
|
-
`,
|
|
16
|
+
`,u=i(n)`
|
|
17
17
|
width: calc((25rem - 2 * ${t.large}) * 0.8);
|
|
18
|
-
height: calc(${
|
|
19
|
-
`,
|
|
20
|
-
width: ${
|
|
21
|
-
height: ${
|
|
18
|
+
height: calc(${c.button.minHeight});
|
|
19
|
+
`,d=i(n)`
|
|
20
|
+
width: ${c.icon_button.minWidth};
|
|
21
|
+
height: ${c.icon_button.minHeight};
|
|
22
22
|
|
|
23
|
-
border-radius: ${
|
|
24
|
-
`,
|
|
23
|
+
border-radius: ${c.icon_button.borderRadius};
|
|
24
|
+
`,f=()=>o(l,{children:[a(u,{role:`busy`}),a(d,{role:`busy`})]});export{f as SelectorSkeleton};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterProps } from "./Filter.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/organisms/Filter/Filter.d.ts
|
|
5
5
|
|
|
@@ -32,6 +32,6 @@ declare function Filter<T extends string>({
|
|
|
32
32
|
id,
|
|
33
33
|
openOnFocus,
|
|
34
34
|
...rest
|
|
35
|
-
}: FilterProps<T>):
|
|
35
|
+
}: FilterProps<T>): react_jsx_runtime6.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { Filter };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectOptionRequired } from "../../molecules/Select/Select.types.js";
|
|
2
2
|
import { FilterProps } from "./Filter.types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/organisms/Filter/QuickFilter.d.ts
|
|
6
6
|
interface QuickFilterProps<T extends string> {
|
|
@@ -14,6 +14,6 @@ declare function QuickFilter<T extends string>({
|
|
|
14
14
|
items,
|
|
15
15
|
onQuickFilter,
|
|
16
16
|
label
|
|
17
|
-
}: QuickFilterProps<T>):
|
|
17
|
+
}: QuickFilterProps<T>): react_jsx_runtime7.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { QuickFilter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react11 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ReleaseNote } from "@equinor/subsurface-app-management";
|
|
4
4
|
|
|
@@ -7,9 +7,9 @@ type ReleaseNoteProps = {
|
|
|
7
7
|
actionMenu?: ReactNode;
|
|
8
8
|
expanded?: boolean;
|
|
9
9
|
} & ReleaseNote;
|
|
10
|
-
declare const ReleaseNote$1:
|
|
10
|
+
declare const ReleaseNote$1: react11.ForwardRefExoticComponent<{
|
|
11
11
|
actionMenu?: ReactNode;
|
|
12
12
|
expanded?: boolean;
|
|
13
|
-
} & ReleaseNote &
|
|
13
|
+
} & ReleaseNote & react11.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ReleaseNote$1 as ReleaseNote, ReleaseNoteProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{shape as n}from"../../atoms/style/index.js";import{formatDate as r}from"../../atoms/utils/date.js";import{getImagesFromRichText as i}from"../../atoms/utils/richtext.js";import{timeToRead as a,usingReleaseNoteDate as o}from"./ReleaseNote.utils.js";import{RichTextDisplay as s}from"../../molecules/RichTextDisplay/RichTextDisplay.js";import{
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{shape as n}from"../../atoms/style/index.js";import{formatDate as r}from"../../atoms/utils/date.js";import{getImagesFromRichText as i}from"../../atoms/utils/richtext.js";import{timeToRead as a,usingReleaseNoteDate as o}from"./ReleaseNote.utils.js";import{RichTextDisplay as s}from"../../molecules/RichTextDisplay/RichTextDisplay.js";import{ToggleExpanded as c}from"./ToggleExpanded.js";import{MetaTags as l}from"./MetaTags.js";import{forwardRef as u,useRef as d,useState as f}from"react";import{Typography as p}from"@equinor/eds-core-react";import m from"styled-components";import{jsx as h,jsxs as g}from"react/jsx-runtime";import{motion as _}from"motion/react";import{ReleaseNotesService as v}from"@equinor/subsurface-app-management";const y=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding: ${t.medium};
|
|
@@ -16,12 +16,12 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
|
|
|
16
16
|
padding-bottom: calc(
|
|
17
17
|
68px + ${t.medium}
|
|
18
18
|
); // Space for the expand button
|
|
19
|
-
`,
|
|
19
|
+
`,b=m.header`
|
|
20
20
|
display: flex;
|
|
21
21
|
justify-content: space-between;
|
|
22
22
|
align-items: center;
|
|
23
|
-
`,
|
|
23
|
+
`,x=m.section`
|
|
24
24
|
display: flex;
|
|
25
25
|
gap: ${t.medium};
|
|
26
26
|
align-items: center;
|
|
27
|
-
`,
|
|
27
|
+
`,S=u(({applicationName:u,releaseDate:m,createdDate:S,tags:C,version:w,title:T,body:E,actionMenu:D,expanded:O=!1},k)=>{let A=o({releaseDate:m,createdDate:S}),j=d(O?`auto`:85),[M,N]=f(O),[P,F]=f(i(E).length>0),I=d(new ResizeObserver(e=>{e.at(0)&&e[0].target.scrollHeight>85&&F(!0)}));return g(y,{ref:k,style:{paddingBottom:M?t.medium:void 0},children:[g(b,{children:[g(x,{children:[h(p,{variant:`caption`,color:e.text.static_icons__secondary.rgba,children:u}),g(p,{variant:`overline`,color:e.text.static_icons__tertiary.rgba,children:[r(A),w?` ・ ${w}`:``,` ・ `,a(E)]})]}),h(l,{tags:C,children:D})]}),h(p,{variant:`h4`,children:T}),h(_.div,{ref:e=>{e&&I.current.observe(e)},initial:{height:j.current},animate:{height:M?`auto`:85},style:{overflow:M?`auto`:void 0,marginBottom:M&&P?`calc(${t.medium} + ${n.button.minHeight})`:void 0},children:h(s,{value:E,onImageRead:v.getReleaseNoteImage,padding:`none`})}),P&&!O&&h(c,{expanded:M,onToggleExpanded:()=>{N(e=>!e)}})]})});S.displayName=`ReleaseNote`;export{S as ReleaseNote};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{sortByDate as e}from"../../atoms/utils/sort.js";const t=t=>{let n=[];for(let r of t){let t=new Date(r.releaseDate??r.createdDate),i=t.toLocaleString(`en-US`,{year:`numeric`}),a=t.toLocaleString(`en-US`,{year:`numeric`});if(!n.find(e=>e.value===a)){let e={label:i,value:a,months:[]};n.push(e)}let[o,s]=t.toLocaleString(`en-US`,{month:`long`,year:`numeric`}).split(` `),c=new Date(`1. ${o} ${s}`),l=n.find(e=>e.value===a);l?.months.find(e=>e.value.toISOString()===c.toISOString())||l?.months.push({label:o,value:c}),l?.months.sort((t,n)=>e(t.value,n.value))}return n};function n(e){return`${e.toLocaleDateString(`en-GB`,{month:`long`})}_${e.getFullYear()}`.toLowerCase()}function r(e){return`year-${e}`}function i(e,t){let n=structuredClone(e);return n
|
|
1
|
+
import{sortByDate as e}from"../../atoms/utils/sort.js";const t=t=>{let n=[];for(let r of t){let t=new Date(r.releaseDate??r.createdDate),i=t.toLocaleString(`en-US`,{year:`numeric`}),a=t.toLocaleString(`en-US`,{year:`numeric`});if(!n.find(e=>e.value===a)){let e={label:i,value:a,months:[]};n.push(e)}let[o,s]=t.toLocaleString(`en-US`,{month:`long`,year:`numeric`}).split(` `),c=new Date(`1. ${o} ${s}`),l=n.find(e=>e.value===a);l?.months.find(e=>e.value.toISOString()===c.toISOString())||l?.months.push({label:o,value:c}),l?.months.sort((t,n)=>e(t.value,n.value))}return n};function n(e){return`${e.toLocaleDateString(`en-GB`,{month:`long`})}_${e.getFullYear()}`.toLowerCase()}function r(e){return`year-${e}`}function i(e,t){let n=structuredClone(e);return n?.splice(t,1),n}export{t as extractYearsData,n as monthValueToString,i as removeFromPreviousByIndex,r as yearId};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react168 from "react";
|
|
2
2
|
import { HTMLAttributes, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/organisms/SideBar/SideBar.d.ts
|
|
@@ -16,6 +16,6 @@ interface SideBarWithCreate extends SideBarProps {
|
|
|
16
16
|
createDisabled?: boolean;
|
|
17
17
|
createActive?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const SideBar:
|
|
19
|
+
declare const SideBar: react168.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react168.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { SideBar };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useSideBar as e}from"../../providers/SideBarProvider.js";import{EquinorLogo as t}from"../../molecules/EquinorLogo/EquinorLogo.js";import{CreateItem as n}from"./CreateItem.js";import{BottomItemContainer as r,CenterItemContainer as i,EquinorIconContainer as a,NavigationContainer as o,TopItemContainer as s}from"./SideBar.styles.js";import{ToggleOpen as c}from"./ToggleOpen.js";import{forwardRef as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";const f=l((l,f)=>{let{children:p,showCreate:m=!0,bottomItem:h}=l,{isOpen:g,setIsOpen:_}=e()
|
|
1
|
+
import{useSideBar as e}from"../../providers/SideBarProvider.js";import{EquinorLogo as t}from"../../molecules/EquinorLogo/EquinorLogo.js";import{CreateItem as n}from"./CreateItem.js";import{BottomItemContainer as r,CenterItemContainer as i,EquinorIconContainer as a,NavigationContainer as o,TopItemContainer as s}from"./SideBar.styles.js";import{ToggleOpen as c}from"./ToggleOpen.js";import{forwardRef as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";const f=l((l,f)=>{let{children:p,showCreate:m=!0,bottomItem:h}=l,{isOpen:g,setIsOpen:_}=e();return d(o,{$width:g?`231px`:`64px`,ref:f,"data-testid":`sidebar`,children:[l.onCreate&&m&&u(s,{children:u(n,{createLabel:l.createLabel,onCreate:l.onCreate,disabled:l.createDisabled,active:l.createActive})}),u(i,{children:p}),d(r,{children:[h,u(c,{isOpen:g,toggle:()=>{_(!g)}}),u(a,{children:u(t,{})})]})]})});f.displayName=`SideBar`;export{f as SideBar};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react174 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/Action.d.ts
|
|
4
4
|
interface ActionProps {
|
|
5
5
|
onClick: () => void;
|
|
6
6
|
buttonText?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const Action:
|
|
8
|
+
declare const Action: react174.ForwardRefExoticComponent<ActionProps & react174.RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Action };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react180 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/Description.d.ts
|
|
4
4
|
interface DescriptionProps {
|
|
5
5
|
text?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const Description:
|
|
7
|
+
declare const Description: react180.ForwardRefExoticComponent<DescriptionProps & react180.RefAttributes<HTMLHeadingElement>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Description };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{colors as e}from"../../atoms/style/colors.js";const t=[{frames:[`M1015 0H0V713H1015V0ZM511.729 307.457C521.601 300.806 549.953 306.023 549.953 336.452C549.953 343.815 543.455 349.395 536.904 355.019C532.018 359.215 527.104 363.434 524.836 368.437C522.413 373.784 523.541 379.819 524.636 385.677C525.943 392.674 527.204 399.42 522.313 404.446C506.898 420.288 481 401.5 474.819 375.64C468.639 349.781 501.857 314.108 511.729 307.457Z`,`M1015 0H0V713H1015V0ZM503.729 307.457C515 303 549.953 306.023 549.953 336.452C549.953 343.815 543.309 351.039 536.904 355.019C530.5 359 525.267 361.997 523 367C520.577 372.347 523.541 379.819 524.636 385.677C525.943 392.674 527.204 399.42 522.313 404.446C506.898 420.288 481.368 401.409 474.819 375.64C465 337 476.488 318.229 503.729 307.457Z`,`M1015 0H0V713H1015V0ZM511.729 307.457C521.601 300.806 549.953 306.023 549.953 336.452C549.953 343.815 543.455 349.395 536.904 355.019C532.018 359.215 527.104 363.434 524.836 368.437C522.413 373.784 523.541 379.819 524.636 385.677C525.943 392.674 527.204 399.42 522.313 404.446C506.898 420.288 481 401.5 474.819 375.64C468.639 349.781 501.857 314.108 511.729 307.457Z`],fill:`#626262`},{frames:[`M1015 0H0V713H1015V0ZM502.802 300.335C537.872 280.943 562.204 297.12 562.204 337.97C562.204 347.898 556.021 353.375 549.413 359.229C544.534 363.552 539.423 368.079 536.397 374.756C533.302 381.587 533.252 388.261 533.204 394.641C533.204 407 528 412.5 516 416.5C504 420.5 472.5 414.5 463.261 382.396C454.023 350.292 467.732 319.726 502.802 300.335Z`,`M1015 0H0V713H1015V0ZM500.802 296.335C540 282.5 557 297 567.204 334.97C572.917 356.229 557 350.5 545.5 355C534 359.5 531 366.5 530.5 373C530 379.5 533.252 388.261 533.204 394.641C533.204 407 529 414 517 418C505 422 472.739 414.604 463.5 382.5C454.261 350.396 451.5 313.736 500.802 296.335Z`,`M1015 0H0V713H1015V0ZM502.802 300.335C537.872 280.943 562.204 297.12 562.204 337.97C562.204 347.898 556.021 353.375 549.413 359.229C544.534 363.552 539.423 368.079 536.397 374.756C533.302 381.587 533.252 388.261 533.204 394.641C533.204 407 528 412.5 516 416.5C504 420.5 472.5 414.5 463.261 382.396C454.023 350.292 467.732 319.726 502.802 300.335Z`],fill:`#989898`},{frames:[`M1015 0H0V713H1015V0ZM506.585 427.177C471.37 435.728 445.153 377.321 451.131 336.474C457.109 295.627 510.255 283.911 543.431 284.876C576.607 285.84 577.788 321.732 576.559 337.747C575.853 346.954 568.84 353.917 561.904 360.805C556.775 365.898 551.687 370.95 549.224 376.837C547.951 379.88 547.066 384.187 546.044 389.156C542.419 406.794 537.08 419.773 506.585 427.177Z`,`M1015 0H0V713H1015V0ZM503.5 426C465.5 426 444.522 378.594 450.5 337.747C456.478 296.9 491 274 534.431 279.876C577.862 285.752 577.788 321.732 576.559 337.747C575.853 346.954 570.84 355.917 563.904 362.805C558.775 367.898 553.687 372.95 551.224 378.837C549.951 381.88 549.066 386.187 548.044 391.156C544.419 408.794 541.5 426 503.5 426Z`,`M1015 0H0V713H1015V0ZM506.585 427.177C471.37 435.728 445.153 377.321 451.131 336.474C457.109 295.627 510.255 283.911 543.431 284.876C576.607 285.84 577.788 321.732 576.559 337.747C575.853 346.954 568.84 353.917 561.904 360.805C556.775 365.898 551.687 370.95 549.224 376.837C547.951 379.88 547.066 384.187 546.044 389.156C542.419 406.794 537.08 419.773 506.585 427.177Z`],fill:`#BDBDBD`},{frames:[`M1015 0H0V713H1015V0ZM440.634 385.5C430.268 355 429.112 330.796 441.634 309.648C454.156 288.5 466.38 273.826 518.307 270.052C570.233 266.278 607.898 303.281 606.033 338.065C604.722 362.531 594.917 369.726 583.168 376.462C578.213 379.304 573.09 382.241 568.44 386.686C563.11 391.783 560.356 399.738 557.341 408.448C551.492 425.347 529.116 440 500 440C470.884 440 451 416 440.634 385.5Z`,`M1015 0H0V713H1015V0ZM447.634 386.5C433 353.5 439 299.5 455.5 287C472 274.5 492.5 269.398 518.307 271.052C544.113 272.706 607.898 303.281 606.033 338.065C604.722 362.531 593.917 368.726 582.168 375.462C577.213 378.304 572.09 381.241 567.44 385.686C562.11 390.783 559.356 398.738 556.341 407.448C550.492 424.347 544.232 433.266 515.116 433.266C486 433.266 462.268 419.5 447.634 386.5Z`,`M1015 0H0V713H1015V0ZM440.634 385.5C430.268 355 429.112 330.796 441.634 309.648C454.156 288.5 466.38 273.826 518.307 270.052C570.233 266.278 607.898 303.281 606.033 338.065C604.722 362.531 594.917 369.726 583.168 376.462C578.213 379.304 573.09 382.241 568.44 386.686C563.11 391.783 560.356 399.738 557.341 408.448C551.492 425.347 529.116 440 500 440C470.884 440 451 416 440.634 385.5Z`],fill:e.ui.background__light.rgba},{frames:[`M0.0234375 713.113L0.0240688 0.00248903L1015.03 0.00244141V713.113H0.0234375ZM579.032 354.757C598.16 354.757 613.667 339.25 613.667 320.122C613.667 300.994 598.16 285.487 579.032 285.487C559.904 285.487 544.397 300.994 544.397 320.122C544.397 339.25 559.904 354.757 579.032 354.757ZM489.261 260.291C447.313 255.93 424.193 301.451 420.362 343.451C415.265 399.342 464.624 459.537 519.45 447.54C549.769 440.906 583.849 426.641 579.83 395.866C578.233 383.643 569.67 378.317 560.518 372.624C553.413 368.204 545.952 363.564 541.12 355.304C533.131 341.65 533.195 327.646 533.255 314.127C533.315 300.819 533.373 287.98 525.747 276.404C517.179 263.396 504.754 261.901 489.261 260.291Z`,`M0.0234375 713.113L0.0240688 0.00248903L1015.03 0.00244141V713.113H0.0234375ZM587.032 357.757C606.16 357.757 621.667 342.25 621.667 323.122C621.667 303.994 606.16 288.487 587.032 288.487C567.904 288.487 552.397 303.994 552.397 323.122C552.397 342.25 567.904 357.757 587.032 357.757ZM489.261 260.291C447.087 260.291 423 285.951 427.5 347.5C432 409.049 464.624 461.537 519.45 449.54C549.769 442.906 586.849 426.641 582.83 395.866C581.233 383.643 578 378 569 371C560 364 552.397 365.5 543.12 355.304C533.843 345.109 537.195 324.646 537.255 311.127C537.315 297.819 532.5 289.5 523.747 278.404C514.101 266.174 506.5 260.291 489.261 260.291Z`,`M0.0234375 713.113L0.0240688 0.00248903L1015.03 0.00244141V713.113H0.0234375ZM587.032 349.757C606.16 349.757 621.667 334.25 621.667 315.122C621.667 295.994 606.16 280.487 587.032 280.487C567.904 280.487 552.397 295.994 552.397 315.122C552.397 334.25 567.904 349.757 587.032 349.757ZM489.261 260.291C447.087 260.291 423 285.951 427.5 347.5C432 409.049 464.624 461.537 519.45 449.54C549.769 442.906 586.849 426.641 582.83 395.866C581.233 383.643 575 377 565.518 369.624C558.913 364.486 547.952 363.564 543.12 355.304C535.131 341.65 537.195 324.646 537.255 311.127C537.315 297.819 532.5 289.5 523.747 278.404C514.101 266.174 506.5 260.291 489.261 260.291Z`],fill:e.ui.background__medium.rgba},{frames:[`M1015 0H0L0.000196621 713H1015V0ZM380.899 340.754C374.837 351.113 373.607 358.417 372.75 370.388C369.319 418.337 417.659 439.092 463.504 453.549C516.008 470.105 580.319 476.324 601.672 425.582C605.202 417.195 604.753 409.762 604.307 402.363C603.849 394.777 603.393 387.227 607.229 378.723C612.242 367.608 623.629 363.094 634.404 358.823C646.848 353.889 658.477 349.279 658.533 335.198C658.592 320.219 652.019 311.742 642.049 300.563C630.092 287.157 620.008 281.857 601.672 278.523C573.259 273.357 557.288 270.146 529.625 261.854C521.925 259.546 515.778 256.386 509.932 253.38C500.672 248.619 492.165 244.246 479.432 244.259C461.787 244.277 450.115 246.327 436.093 257.038C421.184 268.426 418.351 280.033 415.492 291.742C413.307 300.69 411.108 309.698 403.495 318.714C400.076 322.764 396.571 325.439 393.19 328.019C388.71 331.438 384.449 334.69 380.899 340.754ZM392.846 292.076C392.846 303.021 385.055 310.894 374.212 310.894C363.368 310.894 355.578 303.021 355.578 292.076C355.578 281.131 363.368 273.259 374.212 273.259C385.055 273.259 392.846 281.131 392.846 292.076Z`,`M1015 0H0L0.000196621 713H1015V0ZM380.899 340.754C374.837 351.113 373.607 358.417 372.75 370.388C369.319 418.337 417.659 439.092 463.504 453.549C516.008 470.105 580.319 476.324 601.672 425.582C605.202 417.195 604.753 409.762 604.307 402.363C603.849 394.777 603.393 387.227 607.229 378.723C612.242 367.608 623.629 363.094 634.404 358.823C646.848 353.889 658.477 349.279 658.533 335.198C658.592 320.219 652.019 311.742 642.049 300.563C630.092 287.157 620.008 281.857 601.672 278.523C573.259 273.357 557.288 270.146 529.625 261.854C521.925 259.546 515.778 256.386 509.932 253.38C500.672 248.619 492.165 244.246 479.432 244.259C461.787 244.277 450.115 246.327 436.093 257.038C421.184 268.426 418.351 280.033 415.492 291.742C413.307 300.69 411.108 309.698 403.495 318.714C400.076 322.764 396.571 325.439 393.19 328.019C388.71 331.438 384.449 334.69 380.899 340.754ZM392.846 294.076C392.846 305.021 385.055 312.894 374.212 312.894C363.368 312.894 355.578 305.021 355.578 294.076C355.578 283.131 363.368 275.259 374.212 275.259C385.055 275.259 392.846 283.131 392.846 294.076Z`,`M1015 0H0L0.000196621 713H1015V0ZM380.899 340.754C374.837 351.113 373.607 358.417 372.75 370.388C369.319 418.337 417.659 439.092 463.504 453.549C516.008 470.105 580.319 476.324 601.672 425.582C605.202 417.195 604.753 409.762 604.307 402.363C603.849 394.777 603.393 387.227 607.229 378.723C612.242 367.608 623.629 363.094 634.404 358.823C646.848 353.889 658.477 349.279 658.533 335.198C658.592 320.219 652.019 311.742 642.049 300.563C630.092 287.157 620.008 281.857 601.672 278.523C573.259 273.357 557.288 270.146 529.625 261.854C521.925 259.546 515.778 256.386 509.932 253.38C500.672 248.619 492.165 244.246 479.432 244.259C461.787 244.277 450.115 246.327 436.093 257.038C421.184 268.426 418.351 280.033 415.492 291.742C413.307 300.69 411.108 309.698 403.495 318.714C400.076 322.764 396.571 325.439 393.19 328.019C388.71 331.438 384.449 334.69 380.899 340.754ZM392.846 292.076C392.846 303.021 385.055 310.894 374.212 310.894C363.368 310.894 355.578 303.021 355.578 292.076C355.578 281.131 363.368 273.259 374.212 273.259C385.055 273.259 392.846 281.131 392.846 292.076Z`],fill:e.ui.background__light.rgba}];function n(e,t){return e<t-2}const r=t.map((e,t,r)=>({d:t===r.length-2?e.frames:[...e.frames,e.frames[0]],opacity:n(t,r.length)?[0,1]:void 0})),i=t.map((e,t,r)=>({d:e.frames[0],opacity:n(t,r.length)?0:1})),a=Array(t.length).fill(null).map((e,t,r)=>{let i={d:{repeat:1/0,delay:t*.1,repeatType:`mirror`,duration:(r.length-t+1)*2+Math.random()*2,ease:`easeInOut`}};return n(t,r.length)&&(i.opacity={duration:1,delay:(r.length-3-t)*.3,ease:`easeInOut`}),i});export{t as SHAPES,r as SHAPE_ANIMATIONS,i as SHAPE_INITIALS,a as SHAPE_TRANSITIONS};
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";const t=[{frames:[`M1015 0H0V713H1015V0ZM511.729 307.457C521.601 300.806 549.953 306.023 549.953 336.452C549.953 343.815 543.455 349.395 536.904 355.019C532.018 359.215 527.104 363.434 524.836 368.437C522.413 373.784 523.541 379.819 524.636 385.677C525.943 392.674 527.204 399.42 522.313 404.446C506.898 420.288 481 401.5 474.819 375.64C468.639 349.781 501.857 314.108 511.729 307.457Z`,`M1015 0H0V713H1015V0ZM503.729 307.457C515 303 549.953 306.023 549.953 336.452C549.953 343.815 543.309 351.039 536.904 355.019C530.5 359 525.267 361.997 523 367C520.577 372.347 523.541 379.819 524.636 385.677C525.943 392.674 527.204 399.42 522.313 404.446C506.898 420.288 481.368 401.409 474.819 375.64C465 337 476.488 318.229 503.729 307.457Z`,`M1015 0H0V713H1015V0ZM511.729 307.457C521.601 300.806 549.953 306.023 549.953 336.452C549.953 343.815 543.455 349.395 536.904 355.019C532.018 359.215 527.104 363.434 524.836 368.437C522.413 373.784 523.541 379.819 524.636 385.677C525.943 392.674 527.204 399.42 522.313 404.446C506.898 420.288 481 401.5 474.819 375.64C468.639 349.781 501.857 314.108 511.729 307.457Z`],fill:`#626262`},{frames:[`M1015 0H0V713H1015V0ZM502.802 300.335C537.872 280.943 562.204 297.12 562.204 337.97C562.204 347.898 556.021 353.375 549.413 359.229C544.534 363.552 539.423 368.079 536.397 374.756C533.302 381.587 533.252 388.261 533.204 394.641C533.204 407 528 412.5 516 416.5C504 420.5 472.5 414.5 463.261 382.396C454.023 350.292 467.732 319.726 502.802 300.335Z`,`M1015 0H0V713H1015V0ZM500.802 296.335C540 282.5 557 297 567.204 334.97C572.917 356.229 557 350.5 545.5 355C534 359.5 531 366.5 530.5 373C530 379.5 533.252 388.261 533.204 394.641C533.204 407 529 414 517 418C505 422 472.739 414.604 463.5 382.5C454.261 350.396 451.5 313.736 500.802 296.335Z`,`M1015 0H0V713H1015V0ZM502.802 300.335C537.872 280.943 562.204 297.12 562.204 337.97C562.204 347.898 556.021 353.375 549.413 359.229C544.534 363.552 539.423 368.079 536.397 374.756C533.302 381.587 533.252 388.261 533.204 394.641C533.204 407 528 412.5 516 416.5C504 420.5 472.5 414.5 463.261 382.396C454.023 350.292 467.732 319.726 502.802 300.335Z`],fill:`#989898`},{frames:[`M1015 0H0V713H1015V0ZM506.585 427.177C471.37 435.728 445.153 377.321 451.131 336.474C457.109 295.627 510.255 283.911 543.431 284.876C576.607 285.84 577.788 321.732 576.559 337.747C575.853 346.954 568.84 353.917 561.904 360.805C556.775 365.898 551.687 370.95 549.224 376.837C547.951 379.88 547.066 384.187 546.044 389.156C542.419 406.794 537.08 419.773 506.585 427.177Z`,`M1015 0H0V713H1015V0ZM503.5 426C465.5 426 444.522 378.594 450.5 337.747C456.478 296.9 491 274 534.431 279.876C577.862 285.752 577.788 321.732 576.559 337.747C575.853 346.954 570.84 355.917 563.904 362.805C558.775 367.898 553.687 372.95 551.224 378.837C549.951 381.88 549.066 386.187 548.044 391.156C544.419 408.794 541.5 426 503.5 426Z`,`M1015 0H0V713H1015V0ZM506.585 427.177C471.37 435.728 445.153 377.321 451.131 336.474C457.109 295.627 510.255 283.911 543.431 284.876C576.607 285.84 577.788 321.732 576.559 337.747C575.853 346.954 568.84 353.917 561.904 360.805C556.775 365.898 551.687 370.95 549.224 376.837C547.951 379.88 547.066 384.187 546.044 389.156C542.419 406.794 537.08 419.773 506.585 427.177Z`],fill:`#BDBDBD`},{frames:[`M1015 0H0V713H1015V0ZM440.634 385.5C430.268 355 429.112 330.796 441.634 309.648C454.156 288.5 466.38 273.826 518.307 270.052C570.233 266.278 607.898 303.281 606.033 338.065C604.722 362.531 594.917 369.726 583.168 376.462C578.213 379.304 573.09 382.241 568.44 386.686C563.11 391.783 560.356 399.738 557.341 408.448C551.492 425.347 529.116 440 500 440C470.884 440 451 416 440.634 385.5Z`,`M1015 0H0V713H1015V0ZM447.634 386.5C433 353.5 439 299.5 455.5 287C472 274.5 492.5 269.398 518.307 271.052C544.113 272.706 607.898 303.281 606.033 338.065C604.722 362.531 593.917 368.726 582.168 375.462C577.213 378.304 572.09 381.241 567.44 385.686C562.11 390.783 559.356 398.738 556.341 407.448C550.492 424.347 544.232 433.266 515.116 433.266C486 433.266 462.268 419.5 447.634 386.5Z`,`M1015 0H0V713H1015V0ZM440.634 385.5C430.268 355 429.112 330.796 441.634 309.648C454.156 288.5 466.38 273.826 518.307 270.052C570.233 266.278 607.898 303.281 606.033 338.065C604.722 362.531 594.917 369.726 583.168 376.462C578.213 379.304 573.09 382.241 568.44 386.686C563.11 391.783 560.356 399.738 557.341 408.448C551.492 425.347 529.116 440 500 440C470.884 440 451 416 440.634 385.5Z`],fill:e.ui.background__light.rgba},{frames:[`M0.0234375 713.113L0.0240688 0.00248903L1015.03 0.00244141V713.113H0.0234375ZM579.032 354.757C598.16 354.757 613.667 339.25 613.667 320.122C613.667 300.994 598.16 285.487 579.032 285.487C559.904 285.487 544.397 300.994 544.397 320.122C544.397 339.25 559.904 354.757 579.032 354.757ZM489.261 260.291C447.313 255.93 424.193 301.451 420.362 343.451C415.265 399.342 464.624 459.537 519.45 447.54C549.769 440.906 583.849 426.641 579.83 395.866C578.233 383.643 569.67 378.317 560.518 372.624C553.413 368.204 545.952 363.564 541.12 355.304C533.131 341.65 533.195 327.646 533.255 314.127C533.315 300.819 533.373 287.98 525.747 276.404C517.179 263.396 504.754 261.901 489.261 260.291Z`,`M0.0234375 713.113L0.0240688 0.00248903L1015.03 0.00244141V713.113H0.0234375ZM587.032 357.757C606.16 357.757 621.667 342.25 621.667 323.122C621.667 303.994 606.16 288.487 587.032 288.487C567.904 288.487 552.397 303.994 552.397 323.122C552.397 342.25 567.904 357.757 587.032 357.757ZM489.261 260.291C447.087 260.291 423 285.951 427.5 347.5C432 409.049 464.624 461.537 519.45 449.54C549.769 442.906 586.849 426.641 582.83 395.866C581.233 383.643 578 378 569 371C560 364 552.397 365.5 543.12 355.304C533.843 345.109 537.195 324.646 537.255 311.127C537.315 297.819 532.5 289.5 523.747 278.404C514.101 266.174 506.5 260.291 489.261 260.291Z`,`M0.0234375 713.113L0.0240688 0.00248903L1015.03 0.00244141V713.113H0.0234375ZM587.032 349.757C606.16 349.757 621.667 334.25 621.667 315.122C621.667 295.994 606.16 280.487 587.032 280.487C567.904 280.487 552.397 295.994 552.397 315.122C552.397 334.25 567.904 349.757 587.032 349.757ZM489.261 260.291C447.087 260.291 423 285.951 427.5 347.5C432 409.049 464.624 461.537 519.45 449.54C549.769 442.906 586.849 426.641 582.83 395.866C581.233 383.643 575 377 565.518 369.624C558.913 364.486 547.952 363.564 543.12 355.304C535.131 341.65 537.195 324.646 537.255 311.127C537.315 297.819 532.5 289.5 523.747 278.404C514.101 266.174 506.5 260.291 489.261 260.291Z`],fill:e.ui.background__medium.rgba},{frames:[`M1015 0H0L0.000196621 713H1015V0ZM380.899 340.754C374.837 351.113 373.607 358.417 372.75 370.388C369.319 418.337 417.659 439.092 463.504 453.549C516.008 470.105 580.319 476.324 601.672 425.582C605.202 417.195 604.753 409.762 604.307 402.363C603.849 394.777 603.393 387.227 607.229 378.723C612.242 367.608 623.629 363.094 634.404 358.823C646.848 353.889 658.477 349.279 658.533 335.198C658.592 320.219 652.019 311.742 642.049 300.563C630.092 287.157 620.008 281.857 601.672 278.523C573.259 273.357 557.288 270.146 529.625 261.854C521.925 259.546 515.778 256.386 509.932 253.38C500.672 248.619 492.165 244.246 479.432 244.259C461.787 244.277 450.115 246.327 436.093 257.038C421.184 268.426 418.351 280.033 415.492 291.742C413.307 300.69 411.108 309.698 403.495 318.714C400.076 322.764 396.571 325.439 393.19 328.019C388.71 331.438 384.449 334.69 380.899 340.754ZM392.846 292.076C392.846 303.021 385.055 310.894 374.212 310.894C363.368 310.894 355.578 303.021 355.578 292.076C355.578 281.131 363.368 273.259 374.212 273.259C385.055 273.259 392.846 281.131 392.846 292.076Z`,`M1015 0H0L0.000196621 713H1015V0ZM380.899 340.754C374.837 351.113 373.607 358.417 372.75 370.388C369.319 418.337 417.659 439.092 463.504 453.549C516.008 470.105 580.319 476.324 601.672 425.582C605.202 417.195 604.753 409.762 604.307 402.363C603.849 394.777 603.393 387.227 607.229 378.723C612.242 367.608 623.629 363.094 634.404 358.823C646.848 353.889 658.477 349.279 658.533 335.198C658.592 320.219 652.019 311.742 642.049 300.563C630.092 287.157 620.008 281.857 601.672 278.523C573.259 273.357 557.288 270.146 529.625 261.854C521.925 259.546 515.778 256.386 509.932 253.38C500.672 248.619 492.165 244.246 479.432 244.259C461.787 244.277 450.115 246.327 436.093 257.038C421.184 268.426 418.351 280.033 415.492 291.742C413.307 300.69 411.108 309.698 403.495 318.714C400.076 322.764 396.571 325.439 393.19 328.019C388.71 331.438 384.449 334.69 380.899 340.754ZM392.846 294.076C392.846 305.021 385.055 312.894 374.212 312.894C363.368 312.894 355.578 305.021 355.578 294.076C355.578 283.131 363.368 275.259 374.212 275.259C385.055 275.259 392.846 283.131 392.846 294.076Z`,`M1015 0H0L0.000196621 713H1015V0ZM380.899 340.754C374.837 351.113 373.607 358.417 372.75 370.388C369.319 418.337 417.659 439.092 463.504 453.549C516.008 470.105 580.319 476.324 601.672 425.582C605.202 417.195 604.753 409.762 604.307 402.363C603.849 394.777 603.393 387.227 607.229 378.723C612.242 367.608 623.629 363.094 634.404 358.823C646.848 353.889 658.477 349.279 658.533 335.198C658.592 320.219 652.019 311.742 642.049 300.563C630.092 287.157 620.008 281.857 601.672 278.523C573.259 273.357 557.288 270.146 529.625 261.854C521.925 259.546 515.778 256.386 509.932 253.38C500.672 248.619 492.165 244.246 479.432 244.259C461.787 244.277 450.115 246.327 436.093 257.038C421.184 268.426 418.351 280.033 415.492 291.742C413.307 300.69 411.108 309.698 403.495 318.714C400.076 322.764 396.571 325.439 393.19 328.019C388.71 331.438 384.449 334.69 380.899 340.754ZM392.846 292.076C392.846 303.021 385.055 310.894 374.212 310.894C363.368 310.894 355.578 303.021 355.578 292.076C355.578 281.131 363.368 273.259 374.212 273.259C385.055 273.259 392.846 281.131 392.846 292.076Z`],fill:e.ui.background__light.rgba}];function n(e,t){return e<t-2}const r=t.map((e,t,r)=>({d:t===r.length-2?e.frames:[...e.frames,e.frames[0]],opacity:n(t,r.length)?[0,1]:void 0})),i=t.map((e,t,r)=>({d:e.frames[0],opacity:+!n(t,r.length)})),a=Array(t.length).fill(null).map((e,t,r)=>{let i={d:{repeat:1/0,delay:t*.1,repeatType:`mirror`,duration:(r.length-t+1)*2+Math.random()*2,ease:`easeInOut`}};return n(t,r.length)&&(i.opacity={duration:1,delay:(r.length-3-t)*.3,ease:`easeInOut`}),i});export{t as SHAPES,r as SHAPE_ANIMATIONS,i as SHAPE_INITIALS,a as SHAPE_TRANSITIONS};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react178 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/MissingAccesses.d.ts
|
|
4
4
|
interface AccessType {
|
|
@@ -9,6 +9,6 @@ interface MissingAccessesProps {
|
|
|
9
9
|
accesses?: AccessType[];
|
|
10
10
|
text?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const MissingAccesses:
|
|
12
|
+
declare const MissingAccesses: react178.ForwardRefExoticComponent<MissingAccessesProps & react178.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { MissingAccesses };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react176 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/Title.d.ts
|
|
4
4
|
interface TitleProps {
|
|
5
5
|
title?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const Title:
|
|
7
|
+
declare const Title: react176.ForwardRefExoticComponent<TitleProps & react176.RefAttributes<HTMLHeadingElement>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Title };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/collections/GenericError.d.ts
|
|
4
4
|
interface GenericErrorProps {
|
|
@@ -14,6 +14,6 @@ declare const GenericError: ({
|
|
|
14
14
|
redirectFallbackUrl,
|
|
15
15
|
onBackClick,
|
|
16
16
|
hideBackButton
|
|
17
|
-
}: GenericErrorProps) =>
|
|
17
|
+
}: GenericErrorProps) => react_jsx_runtime9.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { GenericError };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/collections/PageNotFound.d.ts
|
|
4
4
|
interface PageNotFoundProps {
|
|
@@ -12,6 +12,6 @@ declare const PageNotFound: ({
|
|
|
12
12
|
redirectFallbackUrl,
|
|
13
13
|
onBackClick,
|
|
14
14
|
hideBackButton
|
|
15
|
-
}: PageNotFoundProps) =>
|
|
15
|
+
}: PageNotFoundProps) => react_jsx_runtime11.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { PageNotFound };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/organisms/Status/collections/ServerError.d.ts
|
|
4
4
|
interface ServerErrorProps {
|
|
@@ -12,6 +12,6 @@ declare const ServerError: ({
|
|
|
12
12
|
redirectFallbackUrl,
|
|
13
13
|
onBackClick,
|
|
14
14
|
hideBackButton
|
|
15
|
-
}: ServerErrorProps) =>
|
|
15
|
+
}: ServerErrorProps) => react_jsx_runtime12.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ServerError };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react6 from "react";
|
|
2
|
+
import * as styled_components0 from "styled-components";
|
|
3
3
|
import { IStyledComponent } from "styled-components";
|
|
4
|
-
import * as
|
|
4
|
+
import * as styled_components_dist_types0 from "styled-components/dist/types";
|
|
5
5
|
|
|
6
6
|
//#region src/organisms/Template/Template.d.ts
|
|
7
7
|
interface ContentProps {
|
|
8
8
|
$open: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const Content:
|
|
11
|
-
declare const GlobalStyles:
|
|
10
|
+
declare const Content: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<styled_components0.FastOmit<react6.DetailedHTMLProps<react6.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never> & Partial<Pick<styled_components0.FastOmit<react6.DetailedHTMLProps<react6.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$open"> & ContentProps, never>>> & string;
|
|
11
|
+
declare const GlobalStyles: react6.NamedExoticComponent<styled_components0.ExecutionProps & object>;
|
|
12
12
|
type TemplateType = IStyledComponent<'web', any> & {
|
|
13
13
|
Container: IStyledComponent<'web', any>;
|
|
14
14
|
Content: typeof Content;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ToggleGroup as ToggleGroup$1 } from "./ToggleGroup.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react182 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/organisms/ToggleGroup/ToggleGroup.d.ts
|
|
5
|
-
declare const ToggleGroup:
|
|
5
|
+
declare const ToggleGroup: react182.ForwardRefExoticComponent<ToggleGroup$1 & react182.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ToggleGroup };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ToggleGroupOption as ToggleGroupOption$1 } from "./ToggleGroup.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react184 from "react";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/organisms/ToggleGroup/ToggleGroupOption.d.ts
|
|
6
6
|
type ToggleGroupOptionProps = ToggleGroupOption$1 & Omit<HTMLAttributes<HTMLButtonElement>, 'onToggle' | 'disabled'>;
|
|
7
|
-
declare const ToggleGroupOption:
|
|
7
|
+
declare const ToggleGroupOption: react184.ForwardRefExoticComponent<ToggleGroupOptionProps & react184.RefAttributes<HTMLButtonElement>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ToggleGroupOption };
|
|
@@ -55,4 +55,4 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
|
|
|
55
55
|
fill: ${e.interactive.disabled__text.rgba};
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
`,d=i(({checked:e,onToggle:t,icon:n,disabled:i,...s},d)=>{
|
|
58
|
+
`,d=i(({checked:e,onToggle:t,icon:n,disabled:i,...s},d)=>l(u,{ref:d,"aria-checked":e,onClick:()=>{t(!e)},disabled:i,...`tooltip`in s?{...s,tooltip:void 0,toolTipPlacement:void 0}:{...s},children:[n?`tooltip`in s&&s.tooltip?c(r,{title:s.tooltip,placement:s.tooltipPlacement,children:c(a,{data:n,size:24})}):c(a,{data:n,size:24}):null,`label`in s?c(o,{as:`span`,variant:`button`,group:`navigation`,children:s.label}):null]}));d.displayName=`ToggleGroupOption`;export{d as ToggleGroupOption};
|
|
@@ -13,4 +13,4 @@ import{colors as e}from"../../../../atoms/style/colors.js";import{OptionalToolti
|
|
|
13
13
|
&:hover:not(:disabled) {
|
|
14
14
|
background: ${e.interactive.danger__highlight.rgba};
|
|
15
15
|
}
|
|
16
|
-
`,w=({firstName:m,lastName:w,uniqueName:T,roles:E,activeUsers:D,selected:O,onClick:k,onEdit:A,onDelete:j})=>{let[M,N]=l(!1),P=c(null),F=s({firstName:m,lastName:w}),I=r(E),L=()=>N(e=>!e),R=()=>N(!1)
|
|
16
|
+
`,w=({firstName:m,lastName:w,uniqueName:T,roles:E,activeUsers:D,selected:O,onClick:k,onEdit:A,onDelete:j})=>{let[M,N]=l(!1),P=c(null),F=s({firstName:m,lastName:w}),I=r(E),L=()=>N(e=>!e),R=()=>N(!1);return _(h,{children:[_(i,{$selected:O,onClick:e=>{e.target!==P.current&&k(T)},"data-testid":`impersonation-user`,children:[g(d,{color:e.text.static_icons__tertiary.rgba,data:v}),g(t,{title:F,placement:`top`,children:g(p,{"data-testid":`name`,children:F})}),_(o,{$selected:O,children:[g(t,{title:I.at(0)?.label,placement:`top`,children:g(a,{"data-testid":`role`,children:I[0].label})}),I.length>1&&g(t,{title:I.slice(1).map(e=>e.label).join(`, `),children:g(a,{"data-testid":`additional-roles`,children:`+${I.length-1}`})})]}),O&&g(d,{data:y,color:e.interactive.primary__resting.rgba}),g(u,{variant:`ghost_icon`,ref:P,onClick:L,children:g(d,{data:S})})]}),M&&_(f,{open:!0,anchorEl:P.current,placement:`right-start`,onClose:R,children:[g(n,{label:`Edit user`,onClick:()=>{A(T),R()},leadingContent:x}),g(t,{title:D.length>0?`Cannot delete user with active sessions`:void 0,children:g(C,{label:`Delete user`,onClick:()=>{j(T),R()},disabled:D.length>0,leadingContent:b})})]})]})};export{w as UserImpersonation};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react172 from "react";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/organisms/TopBar/Actions.d.ts
|
|
5
|
-
declare const Actions:
|
|
5
|
+
declare const Actions: react172.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react172.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Actions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{environment as e}from"../../../atoms/utils/auth_environment.js";import{colors as t}from"../../../atoms/style/colors.js";import{ApplicationIcon as n}from"../../../molecules/ApplicationIcon/ApplicationIcon.js";import{TopBarMenu as r}from"../TopBarMenu.js";import{TopBarButton as i}from"../TopBar.styles.js";import{ApplicationBox as a,ApplicationButton as o,ApplicationContent as s,ApplicationName as c,LoadingApplications as l,MenuFixedItem as u,MenuSection as d,NoApplications as f,TextContainer as p}from"./ApplicationDrawer.styles.js";import{TransferToAppDialog as m}from"../TransferToAppDialog.js";import{useRef as h,useState as g}from"react";import{DotProgress as _,Icon as v,Typography as y}from"@equinor/eds-core-react";import{Fragment as b,jsx as x,jsxs as S}from"react/jsx-runtime";import{apps as C,exit_to_app as w}from"@equinor/eds-icons";import{AmplifyApplicationService as T}from"@equinor/subsurface-app-management";import{useQuery as E}from"@tanstack/react-query";const{getAppName:D,PORTAL_URL_WITHOUT_LOCALHOST:O}=e,k=()=>{let[e,k]=g(!1),[A,j]=g(void 0),[M,N]=g(!1),{data:P=[],isLoading:F}=E({queryKey:[`userApplications`],queryFn:()=>T.userApplications()}),I=h(null),L=()=>k(!e),R=()=>{k(!1),j(void 0)},z=e=>{j(e)}
|
|
1
|
+
import{environment as e}from"../../../atoms/utils/auth_environment.js";import{colors as t}from"../../../atoms/style/colors.js";import{ApplicationIcon as n}from"../../../molecules/ApplicationIcon/ApplicationIcon.js";import{TopBarMenu as r}from"../TopBarMenu.js";import{TopBarButton as i}from"../TopBar.styles.js";import{ApplicationBox as a,ApplicationButton as o,ApplicationContent as s,ApplicationName as c,LoadingApplications as l,MenuFixedItem as u,MenuSection as d,NoApplications as f,TextContainer as p}from"./ApplicationDrawer.styles.js";import{TransferToAppDialog as m}from"../TransferToAppDialog.js";import{useRef as h,useState as g}from"react";import{DotProgress as _,Icon as v,Typography as y}from"@equinor/eds-core-react";import{Fragment as b,jsx as x,jsxs as S}from"react/jsx-runtime";import{apps as C,exit_to_app as w}from"@equinor/eds-icons";import{AmplifyApplicationService as T}from"@equinor/subsurface-app-management";import{useQuery as E}from"@tanstack/react-query";const{getAppName:D,PORTAL_URL_WITHOUT_LOCALHOST:O}=e,k=()=>{let[e,k]=g(!1),[A,j]=g(void 0),[M,N]=g(!1),{data:P=[],isLoading:F}=E({queryKey:[`userApplications`],queryFn:()=>T.userApplications()}),I=h(null),L=()=>k(!e),R=()=>{k(!1),j(void 0)},z=e=>{j(e)};return F?S(b,{children:[x(i,{variant:`ghost_icon`,onClick:L,ref:I,children:x(v,{data:C,size:24})}),x(r,{open:e,title:`Your available applications`,onClose:R,anchorEl:I.current,contentPadding:!1,children:x(b,{children:x(d,{children:x(s,{children:x(l,{children:x(_,{color:`primary`})})})})})})]}):S(b,{children:[x(i,{variant:`ghost`,onClick:L,ref:I,children:x(v,{data:C,size:24})}),x(r,{open:e,title:`Your available applications`,onClose:R,anchorEl:I.current,contentPadding:!1,children:S(b,{children:[S(d,{children:[P.length===0?x(f,{children:x(y,{group:`paragraph`,variant:`body_short`,style:{color:t.text.static_icons__tertiary.rgba},children:`You don't have access to other applications`})}):x(y,{group:`paragraph`,variant:`overline`,children:`SWITCH BETWEEN APPS`}),x(s,{children:x(b,{children:P.map((e,t)=>x(a,{$isSelected:D(import.meta.env.VITE_NAME)===e.name,"data-testid":`application-box-${e.name}`,children:S(o,{variant:`ghost_icon`,onClick:()=>z(e),"data-testid":e.name,children:[x(n,{name:e.name.toLowerCase(),size:36}),x(c,{children:x(y,{group:`paragraph`,variant:`caption`,children:e.name})})]})},t))})})]}),x(u,{"data-testid":`access-it-link`,onClick:()=>{N(!0)},children:S(`div`,{children:[S(p,{children:[x(y,{variant:`overline`,children:`Access to more applications?`}),x(y,{variant:`h6`,children:`Go to Application Portal`})]}),x(v,{data:w,color:t.interactive.primary__resting.rgba,size:24})]})})]})}),M&&x(m,{onClose:R,applicationName:`Portal`,url:O}),A&&x(m,{onClose:R,applicationName:A.name,url:A.url})]})};export{k as ApplicationDrawer};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Field } from "../../../atoms/types/Field.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react170 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/organisms/TopBar/FieldMenu/FieldMenu.d.ts
|
|
5
5
|
interface FieldMenuProps {
|
|
@@ -8,6 +8,6 @@ interface FieldMenuProps {
|
|
|
8
8
|
itemNameSingular?: string;
|
|
9
9
|
showAccessITLink?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const FieldMenu:
|
|
11
|
+
declare const FieldMenu: react170.ForwardRefExoticComponent<FieldMenuProps & react170.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { FieldMenu };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react214 from "react";
|
|
2
|
+
import * as styled_components59 from "styled-components";
|
|
3
|
+
import * as styled_components_dist_types44 from "styled-components/dist/types";
|
|
3
4
|
|
|
4
5
|
//#region src/organisms/TopBar/Guidelines/Colorbox.d.ts
|
|
5
6
|
interface ColorboxProps {
|
|
6
7
|
$color: string;
|
|
7
8
|
}
|
|
8
|
-
declare const Colorbox:
|
|
9
|
+
declare const Colorbox: styled_components_dist_types44.IStyledComponentBase<"web", styled_components59.FastOmit<styled_components59.FastOmit<react214.DetailedHTMLProps<react214.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color"> & ColorboxProps, never> & Partial<Pick<styled_components59.FastOmit<react214.DetailedHTMLProps<react214.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color"> & ColorboxProps, never>>> & string;
|
|
9
10
|
//#endregion
|
|
10
11
|
export { Colorbox };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react213 from "react";
|
|
2
2
|
import { Dispatch, FC, ReactNode, SetStateAction } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/organisms/TopBar/Notifications/NotificationProvider.d.ts
|
|
@@ -6,7 +6,7 @@ interface NotificationContext {
|
|
|
6
6
|
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
7
7
|
isOpen: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const NotificationContext:
|
|
9
|
+
declare const NotificationContext: react213.Context<NotificationContext | undefined>;
|
|
10
10
|
declare const useNotification: () => NotificationContext;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useNotification };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{FeedbackType as e}from"../Feedback.types.js";import{useFeedbackContext as t}from"../hooks/useFeedbackContext.js";import{UploadFile as n}from"./UploadFile/UploadFile.js";import{Description as r}from"./Description.js";import
|
|
1
|
+
import{FeedbackType as e}from"../Feedback.types.js";import{useFeedbackContext as t}from"../hooks/useFeedbackContext.js";import{UploadFile as n}from"./UploadFile/UploadFile.js";import{Description as r}from"./Description.js";import i from"./Severity.js";import{Title as a}from"./Title.js";import{Url as o}from"./Url.js";import{Actions as s,Container as c,ContentWrapper as l,LockedFormWarning as u,ReportLocationText as d,UploadInfo as f}from"../Feedback.styles.js";import{useMemo as p}from"react";import{Button as m,Icon as h,Typography as g}from"@equinor/eds-core-react";import{Fragment as _,jsx as v,jsxs as y}from"react/jsx-runtime";import{info_circle as b}from"@equinor/eds-icons";const x=()=>{let{isWrongDomain:x,selectedType:S,resetForm:C,feedbackContent:w,onDialogClose:T,serviceNowSuccess:E,handleSave:D,requestIsLoading:O}=t(),k=p(()=>w.title.length>0&&w.description.length>0&&!x,[w.title.length,w.description.length,x]);return v(l,{children:y(c,{children:[v(a,{}),S===e.BUG&&y(_,{children:[v(i,{}),v(o,{})]}),v(r,{}),y(f,{children:[v(h,{data:b}),v(g,{children:`Please make sure the uploaded files do not contain confidential or personal information`})]}),v(n,{}),v(d,{children:S===e.BUG?`Bug reports are sent to Service Now and to the development team directly`:`Feature suggestions are sent to the development team directly`}),E&&y(u,{children:[v(h,{data:b}),v(g,{children:`The report has already been sent to service now, and part of the form is locked, so you can retry sending it to the development team. Otherwise you can reset the form with the "Reset form" button in the bottom left corner.`})]}),y(s,{children:[v(m,{variant:`ghost`,onClick:C,"data-testid":`reset-form-button`,children:`Reset form`}),y(`div`,{children:[v(m,{variant:`ghost`,onClick:T,children:`Cancel`}),v(m,{onClick:D,disabled:!k||O,"data-testid":`submit-button`,children:E?`Send again`:`Send`})]})]})]})})};export{x as FeedbackForm};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import{SingleSelect as e}from"../../../../../molecules/Select/SingleSelect/SingleSelect.js";import{UrgencyOption as t}from"../Feedback.types.js";import{useFeedbackContext as n}from"../hooks/useFeedbackContext.js";import{LockedInputTooltip as r}from"./LockedInputTooltip.js";import i from"styled-components";import{jsx as a}from"react/jsx-runtime";const o=i.div`
|
|
2
2
|
grid-column: 1/2;
|
|
3
|
-
`,s=Object.values(t).map(e=>({value:e,label:e})),c=()=>{let{serviceNowSuccess:t,feedbackContent:i,updateFeedback:c}=n();return a(o,{children:a(r,{show:t,children:a(e,{items:s,label:`Severity`,meta:`optional`,clearable:!1,disabled:t,value:i.urgency?{value:i.urgency,label:i.urgency}:void 0,placeholder:`Select error impact`,onSelect:e=>{c(`urgency`,e.value)}})})})};export{c as
|
|
3
|
+
`,s=Object.values(t).map(e=>({value:e,label:e})),c=()=>{let{serviceNowSuccess:t,feedbackContent:i,updateFeedback:c}=n();return a(o,{children:a(r,{show:t,children:a(e,{items:s,label:`Severity`,meta:`optional`,clearable:!1,disabled:t,value:i.urgency?{value:i.urgency,label:i.urgency}:void 0,placeholder:`Select error impact`,onSelect:e=>{c(`urgency`,e.value)}})})})};export{c as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import{TextField as e}from"../../../../../molecules/TextField/TextField.js";import{EQUINOR_EMAIL_SUFFIX as t}from"../Feedback.const.js";import{useFeedbackContext as n}from"../hooks/useFeedbackContext.js";import{LockedInputTooltip as r}from"./LockedInputTooltip.js";import i from"styled-components";import{jsx as a}from"react/jsx-runtime";const o=i.div`
|
|
2
2
|
grid-column: 2/3;
|
|
3
|
-
`,s=()=>{let{serviceNowSuccess:i,feedbackContent:s,updateFeedback:c,isWrongDomain:l,setIsWrongDomain:u}=n();return a(o,{children:a(r,{show:i,children:a(e,{id:`feedback-url`,label:`URL`,disabled:i,meta:`optional`,value:s.url,placeholder:`URL of error location`,variant:l?`error`:void 0,helperText:l?`The provided URL must be from a ${t} domain`:``,onChange:e=>{c(`url`,e.currentTarget.value),(e.currentTarget.value===``||l&&e.currentTarget.value.includes(
|
|
3
|
+
`,s=()=>{let{serviceNowSuccess:i,feedbackContent:s,updateFeedback:c,isWrongDomain:l,setIsWrongDomain:u}=n();return a(o,{children:a(r,{show:i,children:a(e,{id:`feedback-url`,label:`URL`,disabled:i,meta:`optional`,value:s.url,placeholder:`URL of error location`,variant:l?`error`:void 0,helperText:l?`The provided URL must be from a ${t} domain`:``,onChange:e=>{c(`url`,e.currentTarget.value),(e.currentTarget.value===``||l&&e.currentTarget.value.includes(`.equinor.com`))&&u(!1)},onBlur:e=>{let t=e.currentTarget.value;!t.includes(`.equinor.com`)&&t.length!==0&&u(!0)}})})})};export{s as Url};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{tokens as e}from"../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{StatusEnum as t}from"../Feedback.types.js";import
|
|
1
|
+
import{tokens as e}from"../../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{StatusEnum as t}from"../Feedback.types.js";import"../Feedback.const.js";import{Status as n}from"./ResponsePage.styles.js";import{useMemo as r}from"react";import{Icon as i,Typography as a}from"@equinor/eds-core-react";import o from"styled-components";import{jsx as s,jsxs as c}from"react/jsx-runtime";import{check_circle_outlined as l,info_circle as u}from"@equinor/eds-icons";const{colors:d}=e,f=o.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: space-between;
|
|
5
|
-
`,
|
|
5
|
+
`,p=({requestStatus:e,title:o})=>{let p=r(()=>{switch(e.status){case t.partial:return`Partially Failed`;case t.idle:case t.pending:return`Sending...`;case t.success:return`Success`;default:return``}},[e]),m=e.status===t.partial||e.status===t.error;return c(f,{children:[s(a,{group:`ui`,variant:`accordion_header`,children:o}),c(n,{children:[s(a,{color:m?d.interactive.warning__text.rgba:``,group:`ui`,variant:`snackbar`,children:e.status===t.error?e.errorText??`There was an error with the request`:p}),(m||e.status===t.success)&&s(i,{color:m?d.interactive.warning__text.rgba:d.interactive.success__resting.rgba,data:m?u:l})]})]})};export{p as RequestStatus};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{spacings as e}from"../../../../../atoms/style/spacings.js";import{useFeedbackContext as t}from"../hooks/useFeedbackContext.js";import{ContentWrapper as n}from"../Feedback.styles.js";import{AnimateChangeInHeight as r}from"./AnimateChangeInHeight.js";import
|
|
1
|
+
import{spacings as e}from"../../../../../atoms/style/spacings.js";import{useFeedbackContext as t}from"../hooks/useFeedbackContext.js";import{ContentWrapper as n}from"../Feedback.styles.js";import{AnimateChangeInHeight as r}from"./AnimateChangeInHeight.js";import i from"./ResponseStatus.js";import{Success as a}from"./Success.js";import{useEffect as o,useState as s}from"react";import{Button as c}from"@equinor/eds-core-react";import l from"styled-components";import{jsx as u,jsxs as d}from"react/jsx-runtime";import{motion as f}from"motion/react";const p=l(f.div)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${e.large};
|
|
4
4
|
height: auto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{FeedbackType as e}from"../Feedback.types.js";import{useFeedbackContext as t}from"../hooks/useFeedbackContext.js";import{RequestStatus as n}from"./RequestStatus.js";import{FullSlackResponse as r}from"./FullSlackResponse.js";import{Fragment as i,jsx as a,jsxs as o}from"react/jsx-runtime";const s=()=>{let{serviceNowRequestResponse:s,selectedType:c,showAllSlackRequests:l,allSlackRequestStatus:u}=t();return o(i,{children:[c===e.BUG&&a(n,{title:`Service Now`,requestStatus:s}),l?a(r,{allSlackRequestStatus:{status:u}}):a(n,{title:`Development team`,requestStatus:{status:u}})]})};export{s as
|
|
1
|
+
import{FeedbackType as e}from"../Feedback.types.js";import{useFeedbackContext as t}from"../hooks/useFeedbackContext.js";import{RequestStatus as n}from"./RequestStatus.js";import{FullSlackResponse as r}from"./FullSlackResponse.js";import{Fragment as i,jsx as a,jsxs as o}from"react/jsx-runtime";const s=()=>{let{serviceNowRequestResponse:s,selectedType:c,showAllSlackRequests:l,allSlackRequestStatus:u}=t();return o(i,{children:[c===e.BUG&&a(n,{title:`Service Now`,requestStatus:s}),l?a(r,{allSlackRequestStatus:{status:u}}):a(n,{title:`Development team`,requestStatus:{status:u}})]})};export{s as default};
|
|
@@ -3,4 +3,4 @@ import{environment as e}from"../../../atoms/utils/auth_environment.js";import{sp
|
|
|
3
3
|
`,A=y.div`
|
|
4
4
|
padding: ${t.medium} ${t.medium} ${t.small}
|
|
5
5
|
${t.medium};
|
|
6
|
-
`,j=({
|
|
6
|
+
`,j=({hideFeedback:e=!1,hideReleaseNotes:t=!1,hideLearnMore:y=!1,children:j,customButton:M})=>{let{open:N,setOpen:P}=i(),[F,I]=m(!1),[L,R]=m(!1),[z,B]=m(!1),[V,H]=m(void 0),U=p(null),[W,G]=m(void 0),K=()=>{H(void 0),I(!1)},q=()=>I(e=>!e),J=e=>{G(e?.currentTarget.id),R(!0)},Y=()=>{G(void 0),K(),R(!1)},X=()=>{P(!0),K()},Z=()=>H(void 0),Q=()=>H(`learn-more`),$=()=>{B(!0)},ee=()=>{B(!1),K()},te=f(()=>{switch(V){case`learn-more`:return S(b,{children:[x(u,{text:`Open Application portal`,icon:r,onClick:$,isHref:!0}),j&&!e&&!t&&x(_,{style:{margin:0}}),j&&x(`div`,{onClick:K,children:j}),x(A,{children:S(h,{variant:`outlined`,onClick:Z,children:[x(v,{data:C}),` Back`]})})]});default:return null}},[j,e,t,V]);return S(b,{children:[M?M(U,q):x(o,{variant:`ghost_icon`,ref:U,id:`anchor-match`,"aria-haspopup":`true`,"aria-expanded":F,"aria-controls":`menu-match`,onClick:q,children:x(v,{data:n})}),x(a,{open:F&&!N&&!L,title:`Resources`,onClose:K,anchorEl:U.current,children:te||S(`section`,{children:[x(u,{id:c.BUG,onClick:J,icon:E,text:`Report a bug`,lastItem:!0}),x(u,{id:c.SUGGESTION,onClick:J,icon:T,text:`Suggest idea`,lastItem:!0}),!t&&x(u,{id:`release-notes`,icon:w,onClick:X,text:`Open release notes`,isHref:!0}),!y&&x(u,{text:`Learn more`,icon:D,onClick:Q})]})}),N&&x(d,{}),!e&&W!==void 0&&S(k,{open:W===c.BUG||W===c.SUGGESTION,onClose:Y,isDismissable:!0,children:[x(g.Header,{children:W===c.BUG?`Report a bug - ServiceNow`:`Suggest a feature`}),x(l,{selectedType:W,onClose:Y})]}),z&&x(s,{onClose:ee,url:O,applicationName:`Portal`})]})};export{j as Resources};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnvironmentType as e}from"../../atoms/enums/Environment.js";import{ApplicationIcon as t}from"../../molecules/ApplicationIcon/ApplicationIcon.js";import{AppAndFieldContainer as n,AppIdentifier as r,AppName as i,Bar as a,CircularProgress as o,EnvironmentTag as s}from"./TopBar.styles.js";import{TopBarInternalContextProvider as c}from"./TopBarInternalContextProvider.js";import{FieldMenu as l}from"./FieldMenu/FieldMenu.js";import
|
|
1
|
+
import{EnvironmentType as e}from"../../atoms/enums/Environment.js";import{ApplicationIcon as t}from"../../molecules/ApplicationIcon/ApplicationIcon.js";import{AppAndFieldContainer as n,AppIdentifier as r,AppName as i,Bar as a,CircularProgress as o,EnvironmentTag as s}from"./TopBar.styles.js";import{TopBarInternalContextProvider as c}from"./TopBarInternalContextProvider.js";import{FieldMenu as l}from"./FieldMenu/FieldMenu.js";import{forwardRef as u}from"react";import{Typography as d}from"@equinor/eds-core-react";import{jsx as f,jsxs as p}from"react/jsx-runtime";const m=u(({id:u,children:m,headerLink:h,applicationIcon:g,applicationName:_,environment:v,isFetching:y=!1,capitalize:b=!1,availableFields:x,onSelectField:S,currentField:C,showAccessITLink:w,itemNameSingular:T},E)=>f(c,{selectedField:C,children:p(a,{ref:E,children:[p(n,{id:u,children:[p(r,{tabIndex:0,to:h||`/`,children:[f(t,{name:g,size:32,withHover:!0}),f(i,{group:`navigation`,variant:`menu_title`,$capitalize:b,children:b?_.toLowerCase():_})]}),x&&S&&f(l,{availableFields:x,onSelect:S,showAccessITLink:w,itemNameSingular:T}),y&&f(o,{size:16})]}),(v===e.DEVELOP||v===e.STAGING||v===e.LOCALHOST)&&f(s,{$environmentType:v,children:f(d,{group:`heading`,variant:`h5`,children:v})}),m]})}));m.displayName=`TopBar`;export{m as TopBar};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{EnvironmentType as e}from"../../atoms/enums/Environment.js";import{colors as t}from"../../atoms/style/colors.js";import{spacings as n}from"../../atoms/style/spacings.js";import{Button as r,CircularProgress as i,TopBar as a,Typography as o}from"@equinor/eds-core-react";import s,{css as c}from"styled-components";import{
|
|
1
|
+
import{EnvironmentType as e}from"../../atoms/enums/Environment.js";import{colors as t}from"../../atoms/style/colors.js";import{spacings as n}from"../../atoms/style/spacings.js";import{Button as r,CircularProgress as i,TopBar as a,Typography as o}from"@equinor/eds-core-react";import s,{css as c}from"styled-components";import{createLink as l}from"@tanstack/react-router";const u=s(a)`
|
|
2
2
|
border-bottom: 1px solid ${t.ui.background__medium.rgba};
|
|
3
3
|
padding-left: ${n.medium};
|
|
4
4
|
align-content: center;
|
|
5
5
|
position: relative;
|
|
6
|
-
`,d=s
|
|
6
|
+
`,d=l(s.a`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
align-items: center;
|
|
@@ -15,7 +15,7 @@ import{EnvironmentType as e}from"../../atoms/enums/Environment.js";import{colors
|
|
|
15
15
|
border-radius: 4px;
|
|
16
16
|
outline: none;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
`),f=s(a.Header)`
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
gap: ${n.medium};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{spacings as e}from"../../atoms/style/spacings.js";import
|
|
1
|
+
import{spacings as e}from"../../atoms/style/spacings.js";import{forwardRef as t,useEffect as n}from"react";import{Menu as r}from"@equinor/eds-core-react";import i from"styled-components";import{jsx as a}from"react/jsx-runtime";const o=i(r)`
|
|
2
2
|
padding: 0 !important;
|
|
3
3
|
min-width: 350px;
|
|
4
4
|
width: fit-content;
|
|
@@ -8,4 +8,4 @@ import{spacings as e}from"../../atoms/style/spacings.js";import t,{forwardRef as
|
|
|
8
8
|
|
|
9
9
|
}
|
|
10
10
|
`}
|
|
11
|
-
`,
|
|
11
|
+
`,s=t(({open:e,onClose:t,children:r,anchorEl:i,isNotification:s,withGap:c=!1},l)=>(n(()=>{let n=()=>{e&&t()};return window.addEventListener(`resize`,n),()=>{window.removeEventListener(`resize`,n)}},[e,t]),e?a(o,{open:e,onClose:t,anchorEl:i,placement:s?`bottom`:`bottom-end`,"data-testid":`top-bar-menu`,ref:l,$withGap:c,children:r}):null));s.displayName=`TopBarMenu`;export{s as TopBarMenu};
|