Compare commits

...
5 Commits
Author SHA1 Message Date
ari a5aec24686 fix 2022-09-24 15:15:54 -04:00
ari 8a6415a58b linting fix 2022-09-24 15:15:44 -04:00
ari d7ca62afa7 fixed visual bugs 2022-09-24 15:12:22 -04:00
ari 8fea6f1082 Hidable triggers/conditions 2022-09-24 14:24:03 -04:00
ari 51bac6f0e9 v0.7.6 2022-09-07 12:22:44 -04:00
36 changed files with 875 additions and 406 deletions

No files matched your search

+5
View File
@@ -1,5 +1,10 @@
# Changelog ![GitHub release (latest by date)](https://img.shields.io/github/v/release/asosnovsky/Shortumation?label=&style=for-the-badge) # Changelog ![GitHub release (latest by date)](https://img.shields.io/github/v/release/asosnovsky/Shortumation?label=&style=for-the-badge)
## [0.7.6] Bugfixes
- Less deadly error for invalid packages with better logs
- Update notification
## [0.7.4] Bugfixes ## [0.7.4] Bugfixes
- Backend now correctly returns unset alias + description - Backend now correctly returns unset alias + description
+5 -4
View File
@@ -1,8 +1,8 @@
get_index # unused function (src/api/app.py:41) get_index # unused function (src/api/app.py:41)
list_autos # unused function (src/api/routes/automations.py:14) list_autos # unused function (src/api/routes/automations.py:14)
insert_auto # unused function (src/api/routes/automations.py:30) insert_auto # unused function (src/api/routes/automations.py:30)
update_auto # unused function (src/api/routes/automations.py:35) update_auto # unused function (src/api/routes/automations.py:37)
delete_auto # unused function (src/api/routes/automations.py:45) delete_auto # unused function (src/api/routes/automations.py:49)
read_details # unused function (src/api/routes/details.py:12) read_details # unused function (src/api/routes/details.py:12)
read_profile # unused function (src/api/routes/details.py:24) read_profile # unused function (src/api/routes/details.py:24)
save_profile # unused function (src/api/routes/details.py:28) save_profile # unused function (src/api/routes/details.py:28)
@@ -26,5 +26,6 @@ _.automation_tags # unused property (src/hass_config/loader.py:28)
json_dumps # unused function (src/json_serializer.py:5) json_dumps # unused function (src/json_serializer.py:5)
theme # unused variable (src/user_profile.py:10) theme # unused variable (src/user_profile.py:10)
lang # unused variable (src/user_profile.py:11) lang # unused variable (src/user_profile.py:11)
SecretValue # unused class (src/yaml_serializer/__init__.py:48) flags # unused variable (src/user_profile.py:12)
EnvVar # unused class (src/yaml_serializer/__init__.py:186) SecretValue # unused class (src/yaml_serializer/__init__.py:55)
EnvVar # unused class (src/yaml_serializer/__init__.py:193)
+3 -2
View File
@@ -1,6 +1,6 @@
from typing import Literal from typing import Dict, Literal
from pydantic import BaseModel from pydantic import BaseModel, Field
from src.hass_config import HassConfig from src.hass_config import HassConfig
from src.yaml_serializer import dump_yaml, load_yaml from src.yaml_serializer import dump_yaml, load_yaml
@@ -9,6 +9,7 @@ from src.yaml_serializer import dump_yaml, load_yaml
class UserProfile(BaseModel): class UserProfile(BaseModel):
theme: Literal["dark", "light"] = "dark" theme: Literal["dark", "light"] = "dark"
lang: str = "eng" lang: str = "eng"
flags: Dict[str, bool] = Field(default_factory=dict)
@classmethod @classmethod
def from_hass_config(cls, hass_config: HassConfig): def from_hass_config(cls, hass_config: HassConfig):
+1 -1
View File
@@ -1,5 +1,5 @@
name: Shortumation name: Shortumation
version: v0.7.4 version: v0.7.6
slug: shortumation slug: shortumation
image: "asosnovsky/shortumation-{arch}" image: "asosnovsky/shortumation-{arch}"
url: "https://github.com/asosnovsky/Shortumation" url: "https://github.com/asosnovsky/Shortumation"
+2 -2
View File
@@ -6,8 +6,8 @@
"dependencies": { "dependencies": {
"@emotion/react": "11.9.3", "@emotion/react": "11.9.3",
"@emotion/styled": "11.9.3", "@emotion/styled": "11.9.3",
"@mui/icons-material": "5.8.4", "@mui/icons-material": "5.10.6",
"@mui/material": "5.8.6", "@mui/material": "5.10.6",
"@mui/styles": "5.8.6", "@mui/styles": "5.8.6",
"@types/jest": "28.1.8", "@types/jest": "28.1.8",
"@types/node": "17.0.36", "@types/node": "17.0.36",
@@ -1,9 +0,0 @@
.automation-editor--nodes-row .collection-nodes--wrap {
--node-height: 12em !important;
--node-width: 100% !important;
}
.automation-editor--nodes-row .collection-nodes--wrap .collection-nodes {
min-width: 90%;
min-height: 10em;
}
@@ -1,40 +0,0 @@
import { DEFAULT_DIMS } from "components/DAGGraph/elements/constants";
import { makeStory } from "devUtils";
import { useState } from "react";
import { NodesRow } from ".";
const { make, componentMeta } = makeStory({
Component: NodesRow,
BaseTemplate: (props) => {
const [data, setData] = useState(props.data);
return (
<NodesRow
{...props}
data={data}
onUpdate={(up) => {
setData(up);
props.onUpdate(up);
}}
/>
);
},
meta: {
title: "App/AutomationEditor/NodesRow",
args: {
data: [],
sequenceNodeDims: DEFAULT_DIMS.node,
},
},
});
export default componentMeta;
export const Empty = make({});
export const One = make({
type: "trigger",
data: [
{
platform: "calendar",
event: "test",
},
],
});
@@ -1,42 +0,0 @@
import "./index.css";
import { AutomationNode, AutomationNodeMapping } from "types/automations";
import { useHA } from "services/ha";
import { CollectionNodeElement } from "components/DAGGraph/nodes/CollectionNode/CollectionNodeElement";
import { getDescriptionFromAutomationNode } from "utils/formatting";
import { Size } from "components/DAGGraph/elements/types";
export type NodesRowProps<
K extends keyof AutomationNodeMapping,
T extends AutomationNode<K>
> = {
type: K;
data: T[];
onUpdate: (d: T[]) => void;
sequenceNodeDims: Size;
};
export function NodesRow<
K extends keyof AutomationNodeMapping,
T extends AutomationNode<K>
>({ type: collectionType, data, sequenceNodeDims }: NodesRowProps<K, T>) {
const { namer } = useHA();
return (
<div className="automation-editor--nodes-row">
<CollectionNodeElement
width={0}
height={0}
nodes={data.map((node) => ({
enabled: node.enabled ?? true,
label: getDescriptionFromAutomationNode(node, namer, true),
onXClick: () => {},
}))}
onAddNode={() => {}}
collectionType={collectionType}
title="if"
sequenceNode={sequenceNodeDims}
flipped
/>
</div>
);
}
@@ -128,3 +128,12 @@
display: flex; display: flex;
gap: 1em; gap: 1em;
} }
.automation-editor.fullscreen .automation-editor--flow-wrapper--toolbar--title {
display: none;
}
.automation-editor.fullscreen .automation-editor--flow-wrapper--toolbar {
justify-content: flex-end;
margin-top: 0.5em;
}
@@ -2,7 +2,6 @@ import "./index.css";
import "./index.mobile.css"; import "./index.mobile.css";
import { FC, useState } from "react"; import { FC, useState } from "react";
import { useCookies } from "react-cookie";
import Skeleton from "@mui/material/Skeleton"; import Skeleton from "@mui/material/Skeleton";
import LinearProgress from "@mui/material/LinearProgress"; import LinearProgress from "@mui/material/LinearProgress";
@@ -11,7 +10,6 @@ import SpeedDialAction from "@mui/material/SpeedDialAction";
import SpeedDialIcon from "@mui/icons-material/SettingsRounded"; import SpeedDialIcon from "@mui/icons-material/SettingsRounded";
import UndoIcon from "@mui/icons-material/UndoSharp"; import UndoIcon from "@mui/icons-material/UndoSharp";
import Icon from "@mui/material/Icon";
import EditIcon from "@mui/icons-material/ModeEditOutlineTwoTone"; import EditIcon from "@mui/icons-material/ModeEditOutlineTwoTone";
import DeleteIcon from "@mui/icons-material/DeleteForever"; import DeleteIcon from "@mui/icons-material/DeleteForever";
import { CheckMarkIcon } from "components/Icons"; import { CheckMarkIcon } from "components/Icons";
@@ -34,7 +32,16 @@ import { useAutomatioEditorState, EditorData } from "./state";
import { useLang } from "services/lang"; import { useLang } from "services/lang";
import { useSnackbar } from "notistack"; import { useSnackbar } from "notistack";
import { Alert } from "@mui/material"; import { Alert } from "@mui/material";
import { useUserProfile } from "services/api";
import {
ControlButton,
ReactFlowProvider,
useReactFlow,
} from "react-flow-renderer";
import FitInIcon from "@mui/icons-material/FitScreenRounded";
import FullscreenIcon from "@mui/icons-material/FullscreenRounded";
import FullscreenExitIcon from "@mui/icons-material/FullscreenExitRounded";
import { useEffect } from "react";
interface Props { interface Props {
automation?: AutomationData | BareAutomationData; automation?: AutomationData | BareAutomationData;
dims: DAGDims; dims: DAGDims;
@@ -46,7 +53,14 @@ interface Props {
readonly: boolean; readonly: boolean;
issue?: string; issue?: string;
} }
export const AutomationEditor: FC<Props> = ({ export const AutomationEditor: FC<Props> = (props) => {
return (
<ReactFlowProvider>
<AutomationEditorInner {...props} />
</ReactFlowProvider>
);
};
export const AutomationEditorInner: FC<Props> = ({
dims, dims,
automation: propsAutos, automation: propsAutos,
onUpdate: propsOnUpdate, onUpdate: propsOnUpdate,
@@ -57,6 +71,8 @@ export const AutomationEditor: FC<Props> = ({
issue, issue,
}) => { }) => {
// state // state
const reactFlow = useReactFlow();
const userProfile = useUserProfile();
const langStore = useLang(); const langStore = useLang();
const snackbr = useSnackbar(); const snackbr = useSnackbar();
const { const {
@@ -79,15 +95,18 @@ export const AutomationEditor: FC<Props> = ({
} }
}); });
const [infoBoxOpen, setInfoBox] = useState(false); const [infoBoxOpen, setInfoBox] = useState(false);
const [ const [fullScreenMode, setFullScreenMode] = useState(false);
{ ckFlipped },
setCookies,
// eslint-disable-next-line
_,
] = useCookies(["ckFlipped"]);
// alias // alias
const flipped = dims.flipped ? true : ckFlipped === "1"; const flipped = userProfile.flags.flipped ?? !dims.flipped;
const setFlipped = (v: boolean) => setCookies("ckFlipped", v ? "1" : "0"); const useNodesRow = userProfile.flags.useNodesRow !== false;
// effect
useEffect(() => {
if (reactFlow) {
setTimeout(() => {
reactFlow.fitView();
}, 500);
}
}, [flipped, fullScreenMode, reactFlow]);
// render // render
if (state.status === "loading") { if (state.status === "loading") {
return ( return (
@@ -114,6 +133,7 @@ export const AutomationEditor: FC<Props> = ({
"automation-editor", "automation-editor",
state.status, state.status,
readonly ? "readonly" : "", readonly ? "readonly" : "",
fullScreenMode ? "fullscreen" : "",
].join(" ")} ].join(" ")}
> >
{state.status === "saving" && ( {state.status === "saving" && (
@@ -220,15 +240,6 @@ export const AutomationEditor: FC<Props> = ({
} }
/> />
</div> </div>
{!dims.flipped && (
<Button
className={"automation-editor--flow-wrapper--toolbar--flip-btn"}
onClick={() => setFlipped(!flipped)}
>
<Icon>{flipped ? "flip_to_front" : "flip_to_back"}</Icon>
{langStore.get("FLIPP")}
</Button>
)}
{state.status === "changed" && ( {state.status === "changed" && (
<Button onClick={undo}> <Button onClick={undo}>
<UndoIcon /> <UndoIcon />
@@ -255,6 +266,17 @@ export const AutomationEditor: FC<Props> = ({
onTriggerUpdate={updateTrigger} onTriggerUpdate={updateTrigger}
onConditionUpdate={updateCondition} onConditionUpdate={updateCondition}
isFlipped={flipped} isFlipped={flipped}
useNodesRow={useNodesRow}
additionalControls={
<>
<ControlButton onClick={() => setFullScreenMode(!fullScreenMode)}>
{fullScreenMode ? <FullscreenExitIcon /> : <FullscreenIcon />}
</ControlButton>
<ControlButton onClick={() => reactFlow.fitView()}>
<FitInIcon />
</ControlButton>
</>
}
/> />
<SpeedDial <SpeedDial
ariaLabel="options label" ariaLabel="options label"
@@ -6,6 +6,11 @@
position: relative; position: relative;
height: 100%; height: 100%;
min-width: calc(min(max(25vw, 35em), 50vw)); min-width: calc(min(max(25vw, 35em), 50vw));
transition: min-width ease-in-out 500ms,
min-height ease-in-out 500ms,
height ease-in-out 500ms,
width ease-in-out 500ms,
opacity ease-in-out 500ms;
} }
.automation-manager--sidebar-box--nav { .automation-manager--sidebar-box--nav {
@@ -35,10 +40,14 @@
} }
.automation-manager--sidebar.hidden { .automation-manager--sidebar.hidden {
width: 2.5em; width: 3em;
min-width: 0; min-width: 0;
} }
.automation-manager--sidebar.hidden .add-btn {
display: none;
}
.automation-manager--sidebar.hidden .automation-manager--sidebar-box--nav, .automation-manager--sidebar.hidden .automation-manager--sidebar-box--nav,
.automation-manager--sidebar.hidden .automation-manager--sidebar-box--list, .automation-manager--sidebar.hidden .automation-manager--sidebar-box--list,
.automation-manager--sidebar.hidden .automation-manager--sidebar-box--bottom-buttons .add-btn { .automation-manager--sidebar.hidden .automation-manager--sidebar-box--bottom-buttons .add-btn {
@@ -6,6 +6,7 @@ import { InputList } from "components/Inputs/InputList";
import { useLang } from "services/lang"; import { useLang } from "services/lang";
import { FC, useState } from "react"; import { FC, useState } from "react";
import LinearProgress from "@mui/material/LinearProgress"; import LinearProgress from "@mui/material/LinearProgress";
import InputBoolean from "components/Inputs/Base/InputBoolean";
export type UserProfileProps = { export type UserProfileProps = {
api: ApiService; api: ApiService;
@@ -43,6 +44,26 @@ export const UserProfileEditor: FC<UserProfileProps> = ({ api }) => {
}); });
} }
}; };
const updateFlag =
<K extends keyof UserProfile["flags"], D extends UserProfile["flags"][K]>(
key: K
) =>
(data: D) => {
if (profile.ready) {
setIsSaving(true);
api
.setProfile({
...profile.data,
flags: {
...profile.data.flags,
[key]: data,
},
})
.then(() => {
setIsSaving(false);
});
}
};
return ( return (
<div className="user-profile"> <div className="user-profile">
<InputList <InputList
@@ -57,6 +78,16 @@ export const UserProfileEditor: FC<UserProfileProps> = ({ api }) => {
current={profile.data.lang} current={profile.data.lang}
onChange={update("lang")} onChange={update("lang")}
/> />
<InputBoolean
label={lang.get("FLIPP_GRAPH")}
value={profile.data.flags.flipped ?? false}
onChange={updateFlag("flipped")}
/>
<InputBoolean
label={lang.get("NODES_ROW")}
value={profile.data.flags.useNodesRow ?? true}
onChange={updateFlag("useNodesRow")}
/>
{saving && <LinearProgress />} {saving && <LinearProgress />}
</div> </div>
); );
@@ -0,0 +1,92 @@
import { DEFAULT_DIMS } from "components/DAGGraph/elements/constants";
import { makeStory } from "devUtils";
import { NodesRow } from ".";
import { createUpdater } from "../updater/index";
const { make, componentMeta } = makeStory({
Component: NodesRow,
BaseTemplate: (props) => {
const updater = createUpdater({
openModal: () => {},
action: {
data: [],
onUpdate: () => {},
},
condition: {
data: [],
onUpdate: () => {},
},
trigger: {
data: [],
onUpdate: () => {},
},
});
return <NodesRow {...props} stateUpdater={updater} />;
},
meta: {
title: "DAGGraph/NodesRow/Single",
args: {
type: "trigger",
data: [],
sequenceNodeDims: DEFAULT_DIMS.node,
},
},
});
export default componentMeta;
export const Empty = make({});
export const One = make({
data: [
{
platform: "calendar",
event: "start",
},
],
});
export const Many = make({
data: [
{
platform: "calendar",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
].map((n, id) => ({
...n,
id: `Trigger ${id}`,
})),
});
@@ -0,0 +1,95 @@
import { DEFAULT_DIMS } from "components/DAGGraph/elements/constants";
import { makeStory } from "devUtils";
import { createUpdater } from "../updater";
import { TriggerConditionNodeRow } from ".";
const { make, componentMeta } = makeStory({
Component: TriggerConditionNodeRow,
BaseTemplate: (props) => {
const updater = createUpdater({
openModal: () => {},
action: {
data: [],
onUpdate: () => {},
},
condition: {
data: [],
onUpdate: () => {},
},
trigger: {
data: [],
onUpdate: () => {},
},
});
return <TriggerConditionNodeRow {...props} stateUpdater={updater} />;
},
meta: {
title: "DAGGraph/NodesRow/TriggerAndConditions",
args: {
condition: [],
trigger: [],
sequenceNodeDims: DEFAULT_DIMS.node,
},
},
});
export default componentMeta;
export const Empty = make({});
export const One = make({
trigger: [
{
platform: "calendar",
event: "start",
},
],
condition: [
{
condition: "and",
conditions: [],
},
],
});
export const Many = make({
trigger: [
{
platform: "calendar",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
{
platform: "homeassistant",
event: "start",
},
],
});
@@ -0,0 +1,87 @@
/* .nodes-row--outer {
--nodes-row-height: 10em;
min-width: 100%;
width: 100%;
max-width: 100%;
min-height: var(--nodes-row-height);
height: var(--nodes-row-height);
max-height: var(--nodes-row-height);
overflow: auto;
}
.nodes-row--inner {
max-width: calc(100% - 4em);
width: calc(100% - 4em);
min-height: calc(var(--nodes-row-height) - 2em);
max-height: calc(var(--nodes-row-height) - 2em);
gap: 2em;
padding-left: 1em;
padding-right: 1em;
border-style: solid;
border-top-width: 0.125em;
border-left-width: 1px;
border-right-width: 1px;
border-radius: 10px;
border-bottom-color: var(--mui-grey-500);
border-left-color: var(--mui-grey-700);
border-right-color: var(--mui-grey-700);
border-top-color: var(--sequence-node-color);
overflow: auto;
} */
.nodes-row--inner.collection-nodes--wrap {
--node-height: none !important;
--node-width: 100% !important;
margin: 0;
display: flex;
flex: 1;
min-width: 95%;
max-width: 95%;
}
.nodes-row--inner.collection-nodes--wrap .collection-nodes {
min-width: 90%;
min-height: 8em;
max-height: 8em;
overflow: hidden;
}
.trigger-condition-nodes-row {
gap: 0.25em;
}
.fullscreen .trigger-condition-nodes-row .nodes-row--inner {
opacity: 0;
height: 0;
z-index: -10;
}
.nodes-row--inner.collection-nodes--wrap .collection-nodes .collection-nodes--inner {
min-width: inherit;
width: inherit;
max-width: inherit;
padding-bottom: 0 !important;
padding-left: 0 !important;
min-height: 5em;
max-height: 7em;
}
.mobile .trigger-condition-nodes-row {
flex-direction: column;
}
.mobile .nodes-row.collection-nodes--wrap .collection-nodes {
width: 80%;
}
@@ -0,0 +1,85 @@
import "./index.css";
import { AutomationNode, AutomationNodeMapping } from "types/automations";
import { useHA } from "services/ha";
import { CollectionNodeElement } from "components/DAGGraph/nodes/CollectionNode/CollectionNodeElement";
import { Size } from "components/DAGGraph/elements/types";
import { DAGGraphUpdater } from "components/DAGGraph/updater";
import { makeCollectionNodeMakerChildProps } from "components/DAGGraph/elements/helpers";
import { AutomationCondition } from "types/automations/conditions";
import { AutomationTrigger } from "types/automations/triggers";
import { FC } from "react";
export type NodesRowProps<
K extends keyof AutomationNodeMapping,
T extends AutomationNode<K>
> = {
type: K;
data: T[];
stateUpdater: DAGGraphUpdater;
sequenceNodeDims: Size;
};
export function NodesRow<
K extends keyof AutomationNodeMapping,
T extends AutomationNode<K>
>({
type: collectionType,
data,
sequenceNodeDims,
stateUpdater,
}: NodesRowProps<K, T>) {
const { namer } = useHA();
return (
<div className="nodes-row--outer center row">
<CollectionNodeElement
className="nodes-row--inner"
width={0}
height={0}
nodes={data.map((node, i) =>
makeCollectionNodeMakerChildProps(
collectionType,
node,
i,
stateUpdater,
namer
)
)}
onAddNode={() => stateUpdater.basic[collectionType].addNode(null)}
collectionType={collectionType}
sequenceNode={sequenceNodeDims}
flipped
/>
</div>
);
}
export type TriggerConditionNodeRowProps = {
condition: AutomationCondition[];
trigger: AutomationTrigger[];
stateUpdater: DAGGraphUpdater;
sequenceNodeDims: Size;
};
export const TriggerConditionNodeRow: FC<TriggerConditionNodeRowProps> = ({
condition,
trigger,
stateUpdater,
sequenceNodeDims,
}) => {
return (
<div className={["trigger-condition-nodes-row column"].join(" ")}>
<NodesRow
data={trigger}
type="trigger"
stateUpdater={stateUpdater}
sequenceNodeDims={sequenceNodeDims}
/>
<NodesRow
data={condition}
type="condition"
stateUpdater={stateUpdater}
sequenceNodeDims={sequenceNodeDims}
/>
</div>
);
};
@@ -11,7 +11,6 @@ const { make, componentMeta } = makeStory({
}); });
export default componentMeta; export default componentMeta;
export const Example = make({});
export const Loading = make({ export const Loading = make({
state: { state: {
+9 -11
View File
@@ -2,7 +2,7 @@ import "./index.css";
import { FC } from "react"; import { FC } from "react";
import CircularProgress from "@mui/material/CircularProgress"; import CircularProgress from "@mui/material/CircularProgress";
import ReactFlow, { Controls, ReactFlowProvider } from "react-flow-renderer"; import ReactFlow, { Controls } from "react-flow-renderer";
import { NodeEditor } from "components/NodeEditor"; import { NodeEditor } from "components/NodeEditor";
import { Modal } from "components/Modal"; import { Modal } from "components/Modal";
@@ -10,15 +10,7 @@ import { Modal } from "components/Modal";
import { nodeTypes } from "../nodes"; import { nodeTypes } from "../nodes";
import { DAGGraphBoardProps } from "./types"; import { DAGGraphBoardProps } from "./types";
export const DAGGraphBoard: FC<DAGGraphBoardProps> = (props) => { export const DAGGraphBoard: FC<DAGGraphBoardProps> = ({
return (
<ReactFlowProvider>
<DAGGraphBoardInner {...props} />
</ReactFlowProvider>
);
};
export const DAGGraphBoardInner: FC<DAGGraphBoardProps> = ({
modalState, modalState,
state, state,
closeModal, closeModal,
@@ -37,6 +29,12 @@ export const DAGGraphBoardInner: FC<DAGGraphBoardProps> = ({
return <div className="dag-graphboard errored">{state.data.error}</div>; return <div className="dag-graphboard errored">{state.data.error}</div>;
} }
// useEffect(() => {
// if (state.ready) {
// reactFlow.fitView();
// }
// }, [state.ready, reactFlow]);
// modal // modal
let modalBody = <></>; let modalBody = <></>;
if (modalState) { if (modalState) {
@@ -70,7 +68,7 @@ export const DAGGraphBoardInner: FC<DAGGraphBoardProps> = ({
nodesDraggable={false} nodesDraggable={false}
{...elements} {...elements}
> >
<Controls showInteractive={false} showFitView> <Controls showInteractive={false} showFitView={false}>
{additionalControls} {additionalControls}
</Controls> </Controls>
</ReactFlow> </ReactFlow>
@@ -2,7 +2,7 @@ import { XYPosition } from "react-flow-renderer";
import AddBox from "@mui/icons-material/AddBox"; import AddBox from "@mui/icons-material/AddBox";
import { getDescriptionFromAutomationNode } from "utils/formatting"; import { getDescriptionFromAutomationNode, Namer } from "utils/formatting";
import { validateNode } from "utils/automations"; import { validateNode } from "utils/automations";
import { AutomationCondition } from "types/automations/conditions"; import { AutomationCondition } from "types/automations/conditions";
import { AutomationTrigger } from "types/automations/triggers"; import { AutomationTrigger } from "types/automations/triggers";
@@ -13,6 +13,35 @@ import { convertFailuresToSequenceNodeDataProps } from "./util";
import { ButtonNodeMaker } from "../nodes/ButtonNode"; import { ButtonNodeMaker } from "../nodes/ButtonNode";
import { CollectionNodeMaker } from "../nodes/CollectionNode"; import { CollectionNodeMaker } from "../nodes/CollectionNode";
import { DAGGraphUpdater } from "../updater/index";
import { AutomationActionData } from "types/automations";
export function makeCollectionNodeMakerChildProps<
NodeType extends keyof AutomationActionData,
Node extends AutomationActionData[NodeType][0]
>(
nodeType: NodeType,
node: Node,
index: number,
stateUpdater: DAGGraphUpdater,
namer: Namer
) {
const failures = validateNode(node, [nodeType]);
if (failures) {
return {
enabled: node.enabled ?? true,
...stateUpdater.createNodeActions(nodeType, index, {}),
...convertFailuresToSequenceNodeDataProps(failures),
};
}
return {
enabled: node.enabled ?? true,
label: getDescriptionFromAutomationNode(node, namer, true),
...stateUpdater.createNodeActions(nodeType, index, {}),
};
}
export const makeTriggerNodes: ElementMaker<AutomationTrigger> = ( export const makeTriggerNodes: ElementMaker<AutomationTrigger> = (
nodes, nodes,
@@ -24,23 +53,15 @@ export const makeTriggerNodes: ElementMaker<AutomationTrigger> = (
...dims.collection, ...dims.collection,
collectionType: "trigger", collectionType: "trigger",
onAddNode: () => stateUpdater.basic.trigger.addNode(null), onAddNode: () => stateUpdater.basic.trigger.addNode(null),
nodes: nodes.map((node, index) => { nodes: nodes.map((node, index) =>
const failures = validateNode(node, ["trigger"]); makeCollectionNodeMakerChildProps(
"trigger",
if (failures) { node,
return { index,
enabled: node.enabled ?? true, stateUpdater,
...stateUpdater.createNodeActions("trigger", index, {}), namer
...convertFailuresToSequenceNodeDataProps(failures), )
}; ),
}
return {
enabled: node.enabled ?? true,
label: getDescriptionFromAutomationNode(node, namer, true),
...stateUpdater.createNodeActions("trigger", index, {}),
};
}),
}) })
); );
return outputState; return outputState;
@@ -57,23 +78,15 @@ export const makeConditionNodes: ElementMaker<AutomationCondition> = (
collectionType: "condition", collectionType: "condition",
hasInput: !!lastNodeId, hasInput: !!lastNodeId,
onAddNode: () => stateUpdater.basic.condition.addNode(null), onAddNode: () => stateUpdater.basic.condition.addNode(null),
nodes: nodes.map((node, index) => { nodes: nodes.map((node, index) =>
const failures = validateNode(node, ["condition"]); makeCollectionNodeMakerChildProps(
"condition",
if (failures) { node,
return { index,
enabled: node.enabled ?? true, stateUpdater,
...stateUpdater.createNodeActions("condition", index, {}), namer
...convertFailuresToSequenceNodeDataProps(failures), )
}; ),
}
return {
enabled: node.enabled ?? true,
label: getDescriptionFromAutomationNode(node, namer, true),
...stateUpdater.createNodeActions("condition", index, {}),
};
}),
}) })
); );
if (lastNodeId && outputState.lastNodeId) { if (lastNodeId && outputState.lastNodeId) {
@@ -24,15 +24,19 @@ const { make, componentMeta } = makeStory({
state, state,
setState setState
); );
const elementData = useAutomationNodes(state, { const elementData = useAutomationNodes(
dims: { state,
...DEFAULT_DIMS, {
flipped: props.flipped, dims: {
...DEFAULT_DIMS,
flipped: props.flipped,
},
namer,
openModal: setModalState,
stateUpdater: updater,
}, },
namer, false
openModal: setModalState, );
stateUpdater: updater,
});
return ( return (
<DAGGraphBoard <DAGGraphBoard
modalState={modalState} modalState={modalState}
@@ -28,52 +28,57 @@ import * as helpers from "./helpers";
export const useAutomationNodes = ( export const useAutomationNodes = (
automation: AutomationActionData, automation: AutomationActionData,
args: ElementMakerBaseProps args: ElementMakerBaseProps,
hideConditionAndTriggers: boolean
) => { ) => {
const dims: DAGDims = { const dims: DAGDims = {
...args.dims, ...args.dims,
}; };
const state = useDAGElementsState(); const state = useDAGElementsState();
const outputState = new DAGElementsOutputState(dims.position, dims); const outputState = new DAGElementsOutputState(dims.position, dims);
outputState.extend( let actionStartPos = dims.position;
helpers.makeTriggerNodes(automation.trigger, { if (!hideConditionAndTriggers) {
...args, outputState.extend(
state, helpers.makeTriggerNodes(automation.trigger, {
...args,
state,
dims,
position: dims.position,
nodeId: `${dims.flipped}-trigger`,
nodeIndex: 0,
})
);
outputState.extend(
helpers.makeConditionNodes(automation.condition, {
...args,
state,
dims,
position: distance.moveFromTo(
"collection",
"collection",
outputState.getLastNodePos(),
dims
),
nodeId: `${dims.flipped}-condition`,
nodeIndex: 1,
lastNodeId: outputState.lastNodeId,
})
);
actionStartPos = distance.moveFromTo(
"collection",
"node",
outputState.getLastNodePos(),
dims, dims,
position: dims.position, true
nodeId: `${dims.flipped}-trigger`, );
nodeIndex: 0, }
})
);
outputState.extend(
helpers.makeConditionNodes(automation.condition, {
...args,
state,
dims,
position: distance.moveFromTo(
"collection",
"collection",
outputState.getLastNodePos(),
dims
),
nodeId: `${dims.flipped}-condition`,
nodeIndex: 1,
lastNodeId: outputState.lastNodeId,
})
);
outputState.extend( outputState.extend(
makeSequenceNodes(automation.action, { makeSequenceNodes(automation.action, {
...args, ...args,
state, state,
dims, dims,
position: distance.moveFromTo( position: actionStartPos,
"collection",
"node",
outputState.getLastNodePos(),
dims,
true
),
nodeId: `${dims.flipped}-action`, nodeId: `${dims.flipped}-action`,
nodeIndex: 2, nodeIndex: 2,
lastNodeId: outputState.lastNodeId, lastNodeId: outputState.lastNodeId,
+30 -16
View File
@@ -8,6 +8,7 @@ import { DEFAULT_DIMS } from "./elements/constants";
import { DAGGraphBoard } from "./board"; import { DAGGraphBoard } from "./board";
import { AutomationTrigger } from "types/automations/triggers"; import { AutomationTrigger } from "types/automations/triggers";
import { AutomationCondition } from "types/automations/conditions"; import { AutomationCondition } from "types/automations/conditions";
import { TriggerConditionNodeRow } from "./NodesRow";
export const DAGAutomationGraph: FC<{ export const DAGAutomationGraph: FC<{
action: AutomationSequenceNode[]; action: AutomationSequenceNode[];
@@ -17,6 +18,7 @@ export const DAGAutomationGraph: FC<{
onTriggerUpdate: (t: AutomationTrigger[]) => void; onTriggerUpdate: (t: AutomationTrigger[]) => void;
onConditionUpdate: (c: AutomationCondition[]) => void; onConditionUpdate: (c: AutomationCondition[]) => void;
isFlipped: boolean; isFlipped: boolean;
useNodesRow: boolean;
additionalControls?: ReactNode; additionalControls?: ReactNode;
}> = (props) => { }> = (props) => {
const { namer } = useHA(); const { namer } = useHA();
@@ -37,6 +39,10 @@ export const DAGAutomationGraph: FC<{
onUpdate: props.onTriggerUpdate as any, onUpdate: props.onTriggerUpdate as any,
}, },
}); });
const dims = {
...DEFAULT_DIMS,
flipped: props.isFlipped,
};
const elementData = useAutomationNodes( const elementData = useAutomationNodes(
{ {
action: props.action, action: props.action,
@@ -44,26 +50,34 @@ export const DAGAutomationGraph: FC<{
trigger: props.trigger, trigger: props.trigger,
}, },
{ {
dims: { dims,
...DEFAULT_DIMS,
flipped: props.isFlipped,
},
namer, namer,
openModal: setModalState, openModal: setModalState,
stateUpdater: updater, stateUpdater: updater,
} },
props.useNodesRow
); );
return ( return (
<DAGGraphBoard <>
modalState={modalState} {props.useNodesRow && (
closeModal={() => setModalState(undefined)} <TriggerConditionNodeRow
state={{ trigger={props.trigger}
ready: true, condition={props.condition}
data: { stateUpdater={updater}
elements: elementData, sequenceNodeDims={dims.node}
}, />
}} )}
additionalControls={props.additionalControls} <DAGGraphBoard
/> modalState={modalState}
closeModal={() => setModalState(undefined)}
state={{
ready: true,
data: {
elements: elementData,
},
}}
additionalControls={props.additionalControls}
/>
</>
); );
}; };
@@ -15,87 +15,89 @@ import { useConfirm } from "material-ui-confirm";
import { useSnackbar } from "notistack"; import { useSnackbar } from "notistack";
import { useLang } from "services/lang"; import { useLang } from "services/lang";
export const CollectionNodeElement: FC<PropsWithChildren<CollectionNodeProps>> = export const CollectionNodeElement: FC<
({ PropsWithChildren<CollectionNodeProps & { className?: string }>
onAddNode, > = ({
nodes, onAddNode,
sequenceNode, nodes,
height, sequenceNode,
width, height,
flipped, width,
collectionType, flipped,
onDelete, collectionType,
title, onDelete,
children, title,
}) => { children,
const lang = useLang(); className,
const color = convertNodeTypeToSequenceNodeColor(collectionType); }) => {
const nodeColor = useSequenceNodeColor(color); const lang = useLang();
const confirm = useConfirm(); const color = convertNodeTypeToSequenceNodeColor(collectionType);
const snackbr = useSnackbar(); const nodeColor = useSequenceNodeColor(color);
const trueTile = title ?? collectionType; const confirm = useConfirm();
const snackbr = useSnackbar();
const trueTile = title ?? collectionType;
return ( return (
<div <div
className="collection-nodes--wrap" className={["collection-nodes--wrap", className ?? ""].join(" ")}
style={ style={
{ {
"--node-color": nodeColor, "--node-color": nodeColor,
"--node-height": `${height}px`, "--node-height": `${height}px`,
"--node-width": `${width}px`, "--node-width": `${width}px`,
} as any } as any
} }
> >
<div className="collection-nodes"> <div className="collection-nodes">
{!!onDelete && ( {!!onDelete && (
<ButtonIcon <ButtonIcon
className="delete-icon" className="delete-icon"
icon={<DeleteForeverIcon />} icon={<DeleteForeverIcon />}
onClick={() => { onClick={() => {
confirm({ confirm({
description: `Are you sure you want to delete ${trueTile}?`, description: `Are you sure you want to delete ${trueTile}?`,
})
.then(() => {
onDelete();
snackbr.enqueueSnackbar(lang.get("DELETED"), {
variant: "info",
});
}) })
.then(() => { .catch(() =>
onDelete(); snackbr.enqueueSnackbar(
snackbr.enqueueSnackbar(lang.get("DELETED"), { lang.get("NOT_DELETED_THING", {
item: trueTile,
}),
{
variant: "info", variant: "info",
}); }
}) )
.catch(() => );
snackbr.enqueueSnackbar( }}
lang.get("NOT_DELETED_THING", { borderless
item: trueTile, color="secondary"
}), />
{ )}
variant: "info", <span className="collection-nodes--title">
} {prettyName(collectionType)}s
) </span>
); <div className="collection-nodes--inner">
}} {nodes.map((n, i) => (
borderless <SequenceNodeElement
color="secondary" key={i}
color={color}
flipped={flipped}
{...n}
{...sequenceNode}
/> />
)} ))}
<span className="collection-nodes--title">
{prettyName(collectionType)}s
</span>
<div className="collection-nodes--inner">
{nodes.map((n, i) => (
<SequenceNodeElement
key={i}
color={color}
flipped={flipped}
{...n}
{...sequenceNode}
/>
))}
</div>
<ButtonIcon className="add" icon={<Add />} onClick={onAddNode} />
{children}
<span className="collection-nodes--total">
{nodes.length} node{nodes.length !== 1 ? "s" : ""}
</span>
</div> </div>
<ButtonIcon className="add" icon={<Add />} onClick={onAddNode} />
{children}
<span className="collection-nodes--total">
{nodes.length} node{nodes.length !== 1 ? "s" : ""}
</span>
</div> </div>
); </div>
}; );
};
@@ -11,8 +11,6 @@
width: var(--sequence-node-width); width: var(--sequence-node-width);
min-height: var(--sequence-node-height); min-height: var(--sequence-node-height);
min-width: var(--sequence-node-width); min-width: var(--sequence-node-width);
/* outline: 1px dotted white; */
} }
.sequence-node.disabled .sequence-node--inner { .sequence-node.disabled .sequence-node--inner {
@@ -86,7 +86,6 @@ export const createDummyUpdater = (): DAGUpdaterInput<any> => ({
data: [], data: [],
onUpdate: console.warn, onUpdate: console.warn,
}); });
// export const createScriptConditionFieldUpdater = (f: ScriptConditionField, )
export type DAGGraphUpdater = ReturnType<typeof createUpdater>; export type DAGGraphUpdater = ReturnType<typeof createUpdater>;
export type DAGGraphChooseUpdater = ReturnType< export type DAGGraphChooseUpdater = ReturnType<
@@ -188,16 +188,14 @@ export function InputAutoComplete<T extends Option>(
const id = getID(option); const id = getID(option);
return ( return (
<> <SearchItem
<SearchItem key={label + id}
key={label + id} listProps={listProps}
listProps={listProps} id={id}
id={id} label={label}
label={label} searchTerm={inputValue}
searchTerm={inputValue} onlyShowLabel={props.onlyShowLabel}
onlyShowLabel={props.onlyShowLabel} />
/>
</>
); );
}} }}
renderInput={(params) => ( renderInput={(params) => (
@@ -225,12 +223,13 @@ export function InputAutoComplete<T extends Option>(
)} )}
renderTags={(tagValue, getTagProps) => { renderTags={(tagValue, getTagProps) => {
const inner = ( const inner = (
<div className="input-autocomplete--tags"> <div className="input-autocomplete--tags" key={"inner"}>
{tagValue.map((option, index) => { {tagValue.map((option, index) => {
const label = getLabel(option); const label = getLabel(option);
const id = getID(option); const id = getID(option);
const tagProps = getTagProps({ index }); const tagProps = getTagProps({ index });
tagProps.className += " input-autocomplete--chip"; tagProps.className += " input-autocomplete--chip";
tagProps.key = tagProps.key ?? index;
return ( return (
<Chip <Chip
size="medium" size="medium"
@@ -258,7 +257,11 @@ export function InputAutoComplete<T extends Option>(
} }
if (props.multiple) { if (props.multiple) {
return ( return (
<Badge badgeContent={tagValue.length} color="info"> <Badge
badgeContent={tagValue.length}
color="info"
key="badge-wrapper"
>
{inner} {inner}
</Badge> </Badge>
); );
@@ -15,6 +15,7 @@ const { make, componentMeta } = makeStory({
<div <div
style={{ style={{
maxWidth: 200, maxWidth: 200,
margin: "5em",
}} }}
> >
<InputEntity <InputEntity
@@ -127,18 +127,16 @@ export const InputTime: FC<InputTimeProps> = (props) => {
return ( return (
<div className={["input-time", props.className ?? ""].join(" ")}> <div className={["input-time", props.className ?? ""].join(" ")}>
{/* <InputLabel >{props.label}</InputLabel> */}
<div className="input-time--inner"> <div className="input-time--inner">
{fields.map((name) => { {fields.map((name, index) => {
const label = prettyName( const label = prettyName(
lang.get(`TIME_UNITS_${name}`.toUpperCase()) lang.get(`TIME_UNITS_${name}`.toUpperCase())
); );
return ( return (
<TextField <TextField
key={name} key={`${name}-${index}`}
variant="filled" variant="filled"
label={label} label={label}
defaultValue="00"
InputProps={{ InputProps={{
disabled, disabled,
type: "number", type: "number",
@@ -151,6 +149,7 @@ export const InputTime: FC<InputTimeProps> = (props) => {
})} })}
{!props.restrictEmpty && ( {!props.restrictEmpty && (
<ButtonIcon <ButtonIcon
key="disable-btn"
onClick={() => setDisabled(!disabled)} onClick={() => setDisabled(!disabled)}
icon={disabled ? <EditIcon /> : <CloseIcon />} icon={disabled ? <EditIcon /> : <CloseIcon />}
/> />
+13
View File
@@ -6,6 +6,7 @@ import { useAutoMockAPI, useProfileMockAPI } from "./mock";
import { createContext, useContext, useRef } from "react"; import { createContext, useContext, useRef } from "react";
import { makeProfileAPI } from "./profile"; import { makeProfileAPI } from "./profile";
import { ApiState } from "./types"; import { ApiState } from "./types";
import { UserProfile } from "services/api/types";
const locationPrefixWeb = window.location.pathname.match(/(\/.+\/)web/i); const locationPrefixWeb = window.location.pathname.match(/(\/.+\/)web/i);
const baseURL = new URL( const baseURL = new URL(
@@ -33,3 +34,15 @@ const ApiStateContext = createContext<ApiState>({
}); });
export const ApiStateProvider = ApiStateContext.Provider; export const ApiStateProvider = ApiStateContext.Provider;
export const useApiState = () => useContext(ApiStateContext); export const useApiState = () => useContext(ApiStateContext);
export const useUserProfile = (): UserProfile => {
const apiUserProfile = useApiState().userProfile;
if (apiUserProfile.ready && apiUserProfile.ok) {
return apiUserProfile.data;
} else {
return {
lang: "eng",
theme: "dark",
flags: {},
};
}
};
+1
View File
@@ -112,6 +112,7 @@ export const useProfileMockAPI = (
initialProfile: UserProfile = { initialProfile: UserProfile = {
lang: "eng", lang: "eng",
theme: "dark", theme: "dark",
flags: {},
}, },
makeRef = useRef, makeRef = useRef,
returnErrors: boolean = false returnErrors: boolean = false
+4
View File
@@ -40,4 +40,8 @@ export interface ApiState {
export type UserProfile = { export type UserProfile = {
theme: string; theme: string;
lang: string; lang: string;
flags: Partial<{
useNodesRow: boolean;
flipped: boolean;
}>;
}; };
+5 -2
View File
@@ -31,6 +31,7 @@
"STATE": "State", "STATE": "State",
"SEARCH": "Search", "SEARCH": "Search",
"FLIPP": "Flip", "FLIPP": "Flip",
"FLIPP_GRAPH": "Flip Graph",
"CANCEL": "Cancel", "CANCEL": "Cancel",
"CREATE": "Create", "CREATE": "Create",
"OR": "Or", "OR": "Or",
@@ -60,7 +61,7 @@
"TIME_UNITS_HOURS": "hours", "TIME_UNITS_HOURS": "hours",
"TIME_UNITS_MINUTES": "minutes", "TIME_UNITS_MINUTES": "minutes",
"TIME_UNITS_SECONDS": "seconds", "TIME_UNITS_SECONDS": "seconds",
"TIME_UNITS_MILISECONDS": "milliseconds", "TIME_UNITS_MILLISECONDS": "milliseconds",
"TIMEOUT": "Timeout", "TIMEOUT": "Timeout",
"CONTINUTE_ON_TIMEOUT": "Continue on Timeout", "CONTINUTE_ON_TIMEOUT": "Continue on Timeout",
@@ -179,5 +180,7 @@
"HOW_MANY_TIMES": "How many times?", "HOW_MANY_TIMES": "How many times?",
"READONLY_MODE": "Read Only Mode", "READONLY_MODE": "Read Only Mode",
"READONLY_CANNOT_UPDATE": "Cannot update in readonly mode" "READONLY_CANNOT_UPDATE": "Cannot update in readonly mode",
"NODES_ROW": "Do not inlcude automation triggers & conditions in graph."
} }
+2 -1
View File
@@ -34,6 +34,7 @@
"STATE": "Statut", "STATE": "Statut",
"SEARCH": "Chercher", "SEARCH": "Chercher",
"FLIPP": "Retourner", "FLIPP": "Retourner",
"FLIPP_GRAPH": "Inverser le graphique",
"CANCEL": "Annuler", "CANCEL": "Annuler",
"CREATE": "Créer", "CREATE": "Créer",
"OR": "Ou", "OR": "Ou",
@@ -70,7 +71,7 @@
"TIME_UNITS_HOURS": "heures", "TIME_UNITS_HOURS": "heures",
"TIME_UNITS_MINUTES": "minutes", "TIME_UNITS_MINUTES": "minutes",
"TIME_UNITS_SECONDS": "secondes", "TIME_UNITS_SECONDS": "secondes",
"TIME_UNITS_MILISECONDS": "millisecondes", "TIME_UNITS_MILLISECONDS": "millisecondes",
"TIMEOUT": "Temps libre", "TIMEOUT": "Temps libre",
"CONTINUTE_ON_TIMEOUT": "Continuer sur Timeout", "CONTINUTE_ON_TIMEOUT": "Continuer sur Timeout",
+2 -1
View File
@@ -31,6 +31,7 @@
"STATE": "Stato", "STATE": "Stato",
"SEARCH": "Cerca", "SEARCH": "Cerca",
"FLIPP": "Flip", "FLIPP": "Flip",
"FLIPP_GRAPH": "Capovolgi il grafico",
"CANCEL": "Cancella", "CANCEL": "Cancella",
"CREATE": "Crea", "CREATE": "Crea",
"OR": "Oppure", "OR": "Oppure",
@@ -60,7 +61,7 @@
"TIME_UNITS_HOURS": "ore", "TIME_UNITS_HOURS": "ore",
"TIME_UNITS_MINUTES": "minuti", "TIME_UNITS_MINUTES": "minuti",
"TIME_UNITS_SECONDS": "secondi", "TIME_UNITS_SECONDS": "secondi",
"TIME_UNITS_MILISECONDS": "millisecondi", "TIME_UNITS_MILLISECONDS": "millisecondi",
"TIMEOUT": "Tempo scaduto", "TIMEOUT": "Tempo scaduto",
"CONTINUTE_ON_TIMEOUT": "Continua su Timeout", "CONTINUTE_ON_TIMEOUT": "Continua su Timeout",
-4
View File
@@ -43,10 +43,6 @@ body,
background: var(--mui-grey-400); background: var(--mui-grey-400);
} }
* {
transition: all 200ms ease-out;
}
.column { .column {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
+144 -75
View File
@@ -1132,6 +1132,13 @@
dependencies: dependencies:
regenerator-runtime "^0.13.4" regenerator-runtime "^0.13.4"
"@babel/runtime@^7.19.0":
version "7.19.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259"
integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==
dependencies:
regenerator-runtime "^0.13.4"
"@babel/template@^7.12.7", "@babel/template@^7.16.7", "@babel/template@^7.3.3": "@babel/template@^7.12.7", "@babel/template@^7.16.7", "@babel/template@^7.3.3":
version "7.16.7" version "7.16.7"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155"
@@ -1399,15 +1406,15 @@
"@emotion/utils" "0.11.3" "@emotion/utils" "0.11.3"
"@emotion/weak-memoize" "0.2.5" "@emotion/weak-memoize" "0.2.5"
"@emotion/cache@^11.7.1": "@emotion/cache@^11.10.3":
version "11.7.1" version "11.10.3"
resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.7.1.tgz#08d080e396a42e0037848214e8aa7bf879065539" resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.10.3.tgz#c4f67904fad10c945fea5165c3a5a0583c164b87"
integrity sha512-r65Zy4Iljb8oyjtLeCuBH8Qjiy107dOYC6SJq7g7GV5UCQWMObY4SJDPGFjiiVpPrOJ2hmJOoBiYTC7hwx9E2A== integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==
dependencies: dependencies:
"@emotion/memoize" "^0.7.4" "@emotion/memoize" "^0.8.0"
"@emotion/sheet" "^1.1.0" "@emotion/sheet" "^1.2.0"
"@emotion/utils" "^1.0.0" "@emotion/utils" "^1.2.0"
"@emotion/weak-memoize" "^0.2.5" "@emotion/weak-memoize" "^0.3.0"
stylis "4.0.13" stylis "4.0.13"
"@emotion/cache@^11.9.3": "@emotion/cache@^11.9.3":
@@ -1461,13 +1468,6 @@
dependencies: dependencies:
"@emotion/memoize" "0.7.1" "@emotion/memoize" "0.7.1"
"@emotion/is-prop-valid@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.2.tgz#34ad6e98e871aa6f7a20469b602911b8b11b3a95"
integrity sha512-3QnhqeL+WW88YjYbQL5gUIkthuMw7a0NGbZ7wfFVk2kg/CK5w8w5FFa0RzWjyY1+sujN0NWbtSHH6OJmWHtJpQ==
dependencies:
"@emotion/memoize" "^0.7.4"
"@emotion/is-prop-valid@^1.1.3": "@emotion/is-prop-valid@^1.1.3":
version "1.1.3" version "1.1.3"
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.3.tgz#f0907a416368cf8df9e410117068e20fe87c0a3a" resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.3.tgz#f0907a416368cf8df9e410117068e20fe87c0a3a"
@@ -1475,6 +1475,13 @@
dependencies: dependencies:
"@emotion/memoize" "^0.7.4" "@emotion/memoize" "^0.7.4"
"@emotion/is-prop-valid@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83"
integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg==
dependencies:
"@emotion/memoize" "^0.8.0"
"@emotion/memoize@0.7.1": "@emotion/memoize@0.7.1":
version "0.7.1" version "0.7.1"
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.1.tgz#e93c13942592cf5ef01aa8297444dc192beee52f" resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.1.tgz#e93c13942592cf5ef01aa8297444dc192beee52f"
@@ -1490,6 +1497,11 @@
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.5.tgz#2c40f81449a4e554e9fc6396910ed4843ec2be50" resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.5.tgz#2c40f81449a4e554e9fc6396910ed4843ec2be50"
integrity sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ== integrity sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ==
"@emotion/memoize@^0.8.0":
version "0.8.0"
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f"
integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==
"@emotion/react@11.9.3": "@emotion/react@11.9.3":
version "11.9.3" version "11.9.3"
resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.9.3.tgz#f4f4f34444f6654a2e550f5dab4f2d360c101df9" resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.9.3.tgz#f4f4f34444f6654a2e550f5dab4f2d360c101df9"
@@ -1541,16 +1553,16 @@
resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-0.9.4.tgz#894374bea39ec30f489bbfc3438192b9774d32e5" resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-0.9.4.tgz#894374bea39ec30f489bbfc3438192b9774d32e5"
integrity sha512-zM9PFmgVSqBw4zL101Q0HrBVTGmpAxFZH/pYx/cjJT5advXguvcgjHFTCaIO3enL/xr89vK2bh0Mfyj9aa0ANA== integrity sha512-zM9PFmgVSqBw4zL101Q0HrBVTGmpAxFZH/pYx/cjJT5advXguvcgjHFTCaIO3enL/xr89vK2bh0Mfyj9aa0ANA==
"@emotion/sheet@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.1.0.tgz#56d99c41f0a1cda2726a05aa6a20afd4c63e58d2"
integrity sha512-u0AX4aSo25sMAygCuQTzS+HsImZFuS8llY8O7b9MDRzbJM0kVJlAz6KNDqcG7pOuQZJmj/8X/rAW+66kMnMW+g==
"@emotion/sheet@^1.1.1": "@emotion/sheet@^1.1.1":
version "1.1.1" version "1.1.1"
resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.1.1.tgz#015756e2a9a3c7c5f11d8ec22966a8dbfbfac787" resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.1.1.tgz#015756e2a9a3c7c5f11d8ec22966a8dbfbfac787"
integrity sha512-J3YPccVRMiTZxYAY0IOq3kd+hUP8idY8Kz6B/Cyo+JuXq52Ek+zbPbSQUrVQp95aJ+lsAW7DPL1P2Z+U1jGkKA== integrity sha512-J3YPccVRMiTZxYAY0IOq3kd+hUP8idY8Kz6B/Cyo+JuXq52Ek+zbPbSQUrVQp95aJ+lsAW7DPL1P2Z+U1jGkKA==
"@emotion/sheet@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5"
integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w==
"@emotion/styled-base@^10.3.0": "@emotion/styled-base@^10.3.0":
version "10.3.0" version "10.3.0"
resolved "https://registry.yarnpkg.com/@emotion/styled-base/-/styled-base-10.3.0.tgz#9aa2c946100f78b47316e4bc6048321afa6d4e36" resolved "https://registry.yarnpkg.com/@emotion/styled-base/-/styled-base-10.3.0.tgz#9aa2c946100f78b47316e4bc6048321afa6d4e36"
@@ -1600,11 +1612,21 @@
resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.1.0.tgz#86b0b297f3f1a0f2bdb08eeac9a2f49afd40d0cf" resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.1.0.tgz#86b0b297f3f1a0f2bdb08eeac9a2f49afd40d0cf"
integrity sha512-iRLa/Y4Rs5H/f2nimczYmS5kFJEbpiVvgN3XVfZ022IYhuNA1IRSHEizcof88LtCTXtl9S2Cxt32KgaXEu72JQ== integrity sha512-iRLa/Y4Rs5H/f2nimczYmS5kFJEbpiVvgN3XVfZ022IYhuNA1IRSHEizcof88LtCTXtl9S2Cxt32KgaXEu72JQ==
"@emotion/utils@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561"
integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw==
"@emotion/weak-memoize@0.2.5", "@emotion/weak-memoize@^0.2.5": "@emotion/weak-memoize@0.2.5", "@emotion/weak-memoize@^0.2.5":
version "0.2.5" version "0.2.5"
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46" resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46"
integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA== integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==
"@emotion/weak-memoize@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb"
integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg==
"@eslint/eslintrc@^1.3.0": "@eslint/eslintrc@^1.3.0":
version "1.3.0" version "1.3.0"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.0.tgz#29f92c30bb3e771e4a2048c95fa6855392dfac4f" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.0.tgz#29f92c30bb3e771e4a2048c95fa6855392dfac4f"
@@ -2068,43 +2090,58 @@
call-me-maybe "^1.0.1" call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0" glob-to-regexp "^0.3.0"
"@mui/base@5.0.0-alpha.87": "@mui/base@5.0.0-alpha.98":
version "5.0.0-alpha.87" version "5.0.0-alpha.98"
resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.87.tgz#3cf8c2990cda8b48f26b3f19b1d0c94095ec6dfe" resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.98.tgz#d1c89477d74cbfc64a7d1b336a6dbe83d4057ee8"
integrity sha512-PuxRYrvG63Yj/UTwf4hSwZ5ClMv88iXHK+5hUV1CrG3kNPo6FFQiIFNRaNpRt/3nsXj6+xygJByNFA8m4Leetg== integrity sha512-c0U51+K2m57MASpRrmNs6qTXSvktDbVcSjD8zCRPbfuwYWERGGwNxwM3/jsBa4dSojTSmLPnOBFDypl74Ds6yQ==
dependencies: dependencies:
"@babel/runtime" "^7.17.2" "@babel/runtime" "^7.19.0"
"@emotion/is-prop-valid" "^1.1.2" "@emotion/is-prop-valid" "^1.2.0"
"@mui/types" "^7.1.4" "@mui/types" "^7.2.0"
"@mui/utils" "^5.8.6" "@mui/utils" "^5.10.6"
"@popperjs/core" "^2.11.5" "@popperjs/core" "^2.11.6"
clsx "^1.1.1" clsx "^1.2.1"
prop-types "^15.8.1" prop-types "^15.8.1"
react-is "^17.0.2" react-is "^18.2.0"
"@mui/icons-material@5.8.4": "@mui/core-downloads-tracker@^5.10.6":
version "5.8.4" version "5.10.6"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.8.4.tgz#3f2907c9f8f5ce4d754cb8fb4b68b5a1abf4d095" resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.10.6.tgz#dd17d976a47950e7bde5bcabf52f3253ce6d62a1"
integrity sha512-9Z/vyj2szvEhGWDvb+gG875bOGm8b8rlHBKOD1+nA3PcgC3fV6W1AU6pfOorPeBfH2X4mb9Boe97vHvaSndQvA== integrity sha512-dmyQBqrKmVU6yCSM4GGal5qNXpViXX+/V1t0GA1A5i9QF5Gx6noV/cw0hrSS2ffLT8L2oScq1oTdA6NVIiQ8lg==
dependencies:
"@babel/runtime" "^7.17.2"
"@mui/material@5.8.6": "@mui/icons-material@5.10.6":
version "5.8.6" version "5.10.6"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.8.6.tgz#4019fbf1b95d8ea9f397efaed835ac92a6d8f22d" resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.10.6.tgz#a032395cfe7fe8e9a8edde2d27b9e3bd23e5b935"
integrity sha512-9fo5AiNHs+HY5ArMzsDMFrAmJSRw90y/qu81oDIszgK7Bfrm8GuI7Eb0mO6WADWPEyKOzOov/WZsm4G6jPEM4g== integrity sha512-QwxdRmLA46S94B0hExPDx0td+A2unF+33bQ6Cs+lNpJKVsm1YeHwNdYXYcnpWeHeQQ07055OXl7IB2GKDd0MfA==
dependencies: dependencies:
"@babel/runtime" "^7.17.2" "@babel/runtime" "^7.19.0"
"@mui/base" "5.0.0-alpha.87"
"@mui/system" "^5.8.6" "@mui/material@5.10.6":
"@mui/types" "^7.1.4" version "5.10.6"
"@mui/utils" "^5.8.6" resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.10.6.tgz#46d04b5dd79fe83bdab5322301db1008e0d7c0e3"
"@types/react-transition-group" "^4.4.4" integrity sha512-QilW5PAAGSQdN7Cpp4rwSQ1doJAt3ca1a2PHZtr8RLVlpHnXb+qQ8CeDo9+9V2fK5CDNdtTN1F+iJKO43aFBpQ==
clsx "^1.1.1" dependencies:
"@babel/runtime" "^7.19.0"
"@mui/base" "5.0.0-alpha.98"
"@mui/core-downloads-tracker" "^5.10.6"
"@mui/system" "^5.10.6"
"@mui/types" "^7.2.0"
"@mui/utils" "^5.10.6"
"@types/react-transition-group" "^4.4.5"
clsx "^1.2.1"
csstype "^3.1.0" csstype "^3.1.0"
prop-types "^15.8.1" prop-types "^15.8.1"
react-is "^17.0.2" react-is "^18.2.0"
react-transition-group "^4.4.2" react-transition-group "^4.4.5"
"@mui/private-theming@^5.10.6":
version "5.10.6"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.10.6.tgz#2c6bb2a4b7034cd402a099bd0349f217584e7b25"
integrity sha512-I/W0QyTLRdEx6py3lKAquKO/rNF/7j+nIOM/xCyI9kU0fcotVTcTY08mKMsS6vrzdWpi6pAkD0wP0KwWy5R5VA==
dependencies:
"@babel/runtime" "^7.19.0"
"@mui/utils" "^5.10.6"
prop-types "^15.8.1"
"@mui/private-theming@^5.8.6": "@mui/private-theming@^5.8.6":
version "5.8.6" version "5.8.6"
@@ -2115,13 +2152,14 @@
"@mui/utils" "^5.8.6" "@mui/utils" "^5.8.6"
prop-types "^15.8.1" prop-types "^15.8.1"
"@mui/styled-engine@^5.8.0": "@mui/styled-engine@^5.10.6":
version "5.8.0" version "5.10.6"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.8.0.tgz#89ed42efe7c8749e5a60af035bc5d3a6bea362bf" resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.10.6.tgz#9c6e79b29740e9f494c9fb26ebd4046aa88c1d21"
integrity sha512-Q3spibB8/EgeMYHc+/o3RRTnAYkSl7ROCLhXJ830W8HZ2/iDiyYp16UcxKPurkXvLhUaILyofPVrP3Su2uKsAw== integrity sha512-OnVw5xnO4l0XzlJFhKif/RlLenBNhyEQQlSTwB9ApSWB05UAU5ZSbjNsRfyEKvgmQ/fPa+MqPD/dzxbIRCwyeg==
dependencies: dependencies:
"@babel/runtime" "^7.17.2" "@babel/runtime" "^7.19.0"
"@emotion/cache" "^11.7.1" "@emotion/cache" "^11.10.3"
csstype "^3.1.0"
prop-types "^15.8.1" prop-types "^15.8.1"
"@mui/styles@5.8.6": "@mui/styles@5.8.6":
@@ -2147,17 +2185,17 @@
jss-plugin-vendor-prefixer "^10.8.2" jss-plugin-vendor-prefixer "^10.8.2"
prop-types "^15.8.1" prop-types "^15.8.1"
"@mui/system@^5.8.6": "@mui/system@^5.10.6":
version "5.8.6" version "5.10.6"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.8.6.tgz#aed7e501c513429dab9cfbbe86da5dcd056c2a0a" resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.10.6.tgz#ddeeb63830e325a06ba8a0cf33ec950c49a06a73"
integrity sha512-+a+rD58XltKQHDrrjcuCta2cUBqdnLDUDwnphSLCMFigRl8/uk+R+fdQRlMNRXAOgnMb8ioWIgfjxri5pmTH4A== integrity sha512-HfQVX7e2xpQ3jtdB/WwtkFVtozMOozyN575/63u8ILHkE8wGDhblmCieAsnyJPFbm7WBW5PCMyzmfr4QyKLaYg==
dependencies: dependencies:
"@babel/runtime" "^7.17.2" "@babel/runtime" "^7.19.0"
"@mui/private-theming" "^5.8.6" "@mui/private-theming" "^5.10.6"
"@mui/styled-engine" "^5.8.0" "@mui/styled-engine" "^5.10.6"
"@mui/types" "^7.1.4" "@mui/types" "^7.2.0"
"@mui/utils" "^5.8.6" "@mui/utils" "^5.10.6"
clsx "^1.1.1" clsx "^1.2.1"
csstype "^3.1.0" csstype "^3.1.0"
prop-types "^15.8.1" prop-types "^15.8.1"
@@ -2166,6 +2204,22 @@
resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.1.4.tgz#4185c05d6df63ec673cda15feab80440abadc764" resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.1.4.tgz#4185c05d6df63ec673cda15feab80440abadc764"
integrity sha512-uveM3byMbthO+6tXZ1n2zm0W3uJCQYtwt/v5zV5I77v2v18u0ITkb8xwhsDD2i3V2Kye7SaNR6FFJ6lMuY/WqQ== integrity sha512-uveM3byMbthO+6tXZ1n2zm0W3uJCQYtwt/v5zV5I77v2v18u0ITkb8xwhsDD2i3V2Kye7SaNR6FFJ6lMuY/WqQ==
"@mui/types@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.0.tgz#91380c2d42420f51f404120f7a9270eadd6f5c23"
integrity sha512-lGXtFKe5lp3UxTBGqKI1l7G8sE2xBik8qCfrLHD5olwP/YU0/ReWoWT7Lp1//ri32dK39oPMrJN8TgbkCSbsNA==
"@mui/utils@^5.10.6":
version "5.10.6"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.10.6.tgz#98d432d2b05544c46efe356cf095cea3a37c2e59"
integrity sha512-g0Qs8xN/MW2M3fLL8197h5J2VB9U+49fLlnKKqC6zy/yus5cZwdT+Gwec+wUMxgwQoxMDn+J8oDWAn28kEOR/Q==
dependencies:
"@babel/runtime" "^7.19.0"
"@types/prop-types" "^15.7.5"
"@types/react-is" "^16.7.1 || ^17.0.0"
prop-types "^15.8.1"
react-is "^18.2.0"
"@mui/utils@^5.8.6": "@mui/utils@^5.8.6":
version "5.8.6" version "5.8.6"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.8.6.tgz#543de64a64bb9135316ecfd91d75a8740544d79f" resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.8.6.tgz#543de64a64bb9135316ecfd91d75a8740544d79f"
@@ -2234,7 +2288,12 @@
schema-utils "^3.0.0" schema-utils "^3.0.0"
source-map "^0.7.3" source-map "^0.7.3"
"@popperjs/core@^2.11.5", "@popperjs/core@^2.5.4", "@popperjs/core@^2.6.0": "@popperjs/core@^2.11.6":
version "2.11.6"
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45"
integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==
"@popperjs/core@^2.5.4", "@popperjs/core@^2.6.0":
version "2.11.5" version "2.11.5"
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.5.tgz#db5a11bf66bdab39569719555b0f76e138d7bd64" resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.5.tgz#db5a11bf66bdab39569719555b0f76e138d7bd64"
integrity sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw== integrity sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==
@@ -3969,10 +4028,10 @@
dependencies: dependencies:
"@types/react" "*" "@types/react" "*"
"@types/react-transition-group@^4.4.4": "@types/react-transition-group@^4.4.5":
version "4.4.4" version "4.4.5"
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.4.tgz#acd4cceaa2be6b757db61ed7b432e103242d163e" resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.5.tgz#aae20dcf773c5aa275d5b9f7cdbca638abc5e416"
integrity sha512-7gAPz7anVK5xzbeQW9wFBDg7G++aPLAFY0QaSMOou9rJZpbuI58WAuJrgu+qR92l61grlnCUe7AFX8KGahAgug== integrity sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==
dependencies: dependencies:
"@types/react" "*" "@types/react" "*"
@@ -5923,6 +5982,11 @@ clsx@^1.1.0, clsx@^1.1.1:
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.1.1.tgz#98b3134f9abbdf23b2663491ace13c5c03a73188" resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.1.1.tgz#98b3134f9abbdf23b2663491ace13c5c03a73188"
integrity sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA== integrity sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==
clsx@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12"
integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==
co@^4.6.0: co@^4.6.0:
version "4.6.0" version "4.6.0"
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
@@ -13069,6 +13133,11 @@ react-is@^18.0.0:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67" resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67"
integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg== integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==
react-is@^18.2.0:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==
react-jss@10.9.2: react-jss@10.9.2:
version "10.9.2" version "10.9.2"
resolved "https://registry.yarnpkg.com/react-jss/-/react-jss-10.9.2.tgz#3a98ca0cf2698b0e65f7219f018bf1a8f4c1a4d0" resolved "https://registry.yarnpkg.com/react-jss/-/react-jss-10.9.2.tgz#3a98ca0cf2698b0e65f7219f018bf1a8f4c1a4d0"
@@ -13214,10 +13283,10 @@ react-textarea-autosize@^8.3.0:
use-composed-ref "^1.3.0" use-composed-ref "^1.3.0"
use-latest "^1.2.1" use-latest "^1.2.1"
react-transition-group@^4.4.2: react-transition-group@^4.4.5:
version "4.4.2" version "4.4.5"
resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.4.2.tgz#8b59a56f09ced7b55cbd53c36768b922890d5470" resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.4.5.tgz#e53d4e3f3344da8521489fbef8f2581d42becdd1"
integrity sha512-/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg== integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==
dependencies: dependencies:
"@babel/runtime" "^7.5.5" "@babel/runtime" "^7.5.5"
dom-helpers "^5.0.1" dom-helpers "^5.0.1"