@danikokonn/yarik-frontend-lib 2.0.5-test1 → 2.0.5-test3

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.
Files changed (63) hide show
  1. package/dist/components/DatetimeRangeInput/DatetimeRangeInput.d.ts +1 -0
  2. package/dist/components/DatetimeRangeInput/DatetimeRangeInput.d.ts.map +1 -1
  3. package/dist/components/DatetimeRangeInput/DatetimeRangeInput.js +3 -3
  4. package/dist/components/Footer/Footer.d.ts.map +1 -1
  5. package/dist/components/Footer/Footer.js +2 -2
  6. package/dist/components/Navigation/NavMenu.d.ts +1 -1
  7. package/dist/components/Navigation/NavMenu.d.ts.map +1 -1
  8. package/dist/components/Navigation/NavMenu.js +3 -2
  9. package/dist/components/Navigation/Navigation.d.ts +1 -1
  10. package/dist/components/Navigation/Navigation.d.ts.map +1 -1
  11. package/dist/components/Navigation/Navigation.js +7 -4
  12. package/dist/components/Navigation/NavigationProps.d.ts +2 -1
  13. package/dist/components/Navigation/NavigationProps.d.ts.map +1 -1
  14. package/dist/components/PageWrapper/PageWrapper.d.ts.map +1 -1
  15. package/dist/components/PageWrapper/PageWrapper.js +4 -3
  16. package/dist/components/RichFilterTextField/RichFilterTextField.d.ts.map +1 -1
  17. package/dist/components/RichFilterTextField/RichFilterTextField.js +2 -0
  18. package/dist/components/SmartTable/RowContent.js +12 -12
  19. package/dist/components/SmartTable/SmartTable.d.ts.map +1 -1
  20. package/dist/components/SmartTable/SmartTable.js +4 -5
  21. package/dist/components/SmartTable/SmartTableProps.d.ts +4 -5
  22. package/dist/components/SmartTable/SmartTableProps.d.ts.map +1 -1
  23. package/dist/components/SmartTable/TableHeader.d.ts.map +1 -1
  24. package/dist/components/SmartTable/TableHeader.js +3 -2
  25. package/dist/components/SubtaskItem/SubtaskItem.d.ts.map +1 -1
  26. package/dist/components/SubtaskItem/SubtaskItem.js +9 -8
  27. package/dist/components/SubtaskItem/SubtaskItemProps.d.ts +1 -1
  28. package/dist/components/SubtaskItem/SubtaskItemProps.d.ts.map +1 -1
  29. package/dist/components/TaskStateDialog/TaskStateDialog.d.ts.map +1 -1
  30. package/dist/components/TaskStateDialog/TaskStateDialog.js +6 -3
  31. package/dist/components/icons/GenerateAndRunIcon.d.ts +1 -1
  32. package/dist/components/icons/GenerateAndRunIcon.d.ts.map +1 -1
  33. package/dist/components/icons/GenerateAndRunIcon.js +5 -2
  34. package/dist/components/icons/GenerateIcon.d.ts +1 -1
  35. package/dist/components/icons/GenerateIcon.d.ts.map +1 -1
  36. package/dist/components/icons/GenerateIcon.js +5 -2
  37. package/dist/components/icons/IntegerIcon.d.ts +1 -1
  38. package/dist/components/icons/IntegerIcon.d.ts.map +1 -1
  39. package/dist/components/icons/IntegerIcon.js +5 -2
  40. package/dist/components/icons/QueueIcon.d.ts +1 -1
  41. package/dist/components/icons/QueueIcon.d.ts.map +1 -1
  42. package/dist/components/icons/QueueIcon.js +5 -2
  43. package/dist/components/icons/RangeIcon.d.ts +1 -1
  44. package/dist/components/icons/RangeIcon.d.ts.map +1 -1
  45. package/dist/components/icons/RangeIcon.js +5 -2
  46. package/dist/components/icons/RunIcon.d.ts +1 -1
  47. package/dist/components/icons/RunIcon.d.ts.map +1 -1
  48. package/dist/components/icons/RunIcon.js +5 -2
  49. package/dist/providers/AirflowProvider.d.ts +1 -1
  50. package/dist/providers/AirflowProvider.d.ts.map +1 -1
  51. package/dist/providers/AirflowProvider.js +1 -1
  52. package/dist/providers/DagStateProvider.d.ts +1 -1
  53. package/dist/providers/DagStateProvider.d.ts.map +1 -1
  54. package/dist/providers/DagStateProvider.js +1 -1
  55. package/dist/providers/SessionProvider.d.ts +1 -1
  56. package/dist/providers/SessionProvider.d.ts.map +1 -1
  57. package/dist/providers/SessionProvider.js +2 -2
  58. package/dist/providers/SnackBarProvider.d.ts +2 -2
  59. package/dist/providers/SnackBarProvider.d.ts.map +1 -1
  60. package/dist/providers/SnackBarProvider.js +1 -1
  61. package/dist/utils.d.ts.map +1 -1
  62. package/dist/utils.js +1 -0
  63. package/package.json +23 -18
@@ -1,3 +1,4 @@
1
+ import { JSX } from "react";
1
2
  import "moment/locale/ru";
2
3
  import DatetimeRangeInputProps from "./DatetimeRangeInputProps";
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"DatetimeRangeInput.d.ts","sourceRoot":"","sources":["../../../src/components/DatetimeRangeInput/DatetimeRangeInput.tsx"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAQ1B,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAQhE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,cAAc,EACd,IAAI,EACJ,EAAE,EACF,OAAO,EACP,EAAE,EACF,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAiHvC"}
1
+ {"version":3,"file":"DatetimeRangeInput.d.ts","sourceRoot":"","sources":["../../../src/components/DatetimeRangeInput/DatetimeRangeInput.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,GAAG,EAAoC,MAAM,OAAO,CAAC;AAGrE,OAAO,kBAAkB,CAAC;AAQ1B,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAQhE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,cAAc,EACd,IAAI,EACJ,EAAE,EACF,OAAO,EACP,EAAE,EACF,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAiHvC"}
@@ -1,14 +1,14 @@
1
1
  import React, { lazy, Suspense, useRef, useState } from "react";
2
2
  import moment from "moment-timezone";
3
3
  import "moment/locale/ru";
4
- import IconButton from "@mui/material/IconButton";
4
+ import ClearIcon from "@mui/icons-material/Clear";
5
5
  import DateRangeIcon from "@mui/icons-material/DateRange";
6
+ import IconButton from "@mui/material/IconButton";
6
7
  import Popover from "@mui/material/Popover";
7
8
  import TextField from "@mui/material/TextField";
8
- import ClearIcon from "@mui/icons-material/Clear";
9
9
  const DateTimeRangePicker = lazy(() => import("../DateTimeRangePicker/DateTimeRangePicker"));
10
- import { prettyDatetime } from "../../utils";
11
10
  import { Skeleton, Stack } from "@mui/material";
11
+ import { prettyDatetime } from "../../utils";
12
12
  /**
13
13
  * Компонент выбора диапазона дат и времени.
14
14
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,OAAO,EACP,OAAO,EACP,IAAI,GACL,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAG,MAAM,CAAC;CAChB,qBAsBA"}
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,OAAO,EACP,OAAO,EACP,IAAI,GACL,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,qBAsBA"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import Typography from "@mui/material/Typography";
3
2
  import { useTheme } from "@mui/material";
3
+ import Typography from "@mui/material/Typography";
4
4
  export default function Footer({ version, appName, desc, }) {
5
5
  const theme = useTheme();
6
6
  return (React.createElement("footer", { style: {
@@ -9,7 +9,7 @@ export default function Footer({ version, appName, desc, }) {
9
9
  justifyContent: "space-between",
10
10
  alignItems: "center",
11
11
  flexWrap: "wrap",
12
- boxShadow: theme.shadows[5],
12
+ boxShadow: theme.vars?.shadows[5] || theme.shadows[5],
13
13
  } },
14
14
  React.createElement(Typography, { sx: { marginLeft: "auto", fontSize: "1rem" } },
15
15
  "\u00A9",
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from "react";
2
- import { PopoverOrigin } from "@mui/material/Popover";
3
2
  import { SxProps, Theme } from "@mui/material";
3
+ import { PopoverOrigin } from "@mui/material/Popover";
4
4
  interface NavMenuProps {
5
5
  name: string;
6
6
  routes: {
@@ -1 +1 @@
1
- {"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMzC,OAAO,EAAkB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE/C,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,EAAE,CAAC;IACJ,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACnB,YAAY,EAAE,aAAa,CAAC;IAC5B,eAAe,EAAE,aAAa,CAAC;IAC/B,OAAO,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,IAAI,EACJ,SAAS,EACT,MAAM,EACN,EAAE,EACF,YAAY,EACZ,eAAe,EACf,OAAO,GACR,EAAE,YAAY,qBA2Ed"}
1
+ {"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAK/C,OAAO,EAAkB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGtE,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,EAAE,CAAC;IACJ,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACnB,YAAY,EAAE,aAAa,CAAC;IAC5B,eAAe,EAAE,aAAa,CAAC;IAC/B,OAAO,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,IAAI,EACJ,SAAS,EACT,MAAM,EACN,EAAE,EACF,YAAY,EACZ,eAAe,EACf,OAAO,GACR,EAAE,YAAY,qBA4Ed"}
@@ -1,10 +1,11 @@
1
1
  import React from "react";
2
+ import OpenInNewIcon from "@mui/icons-material/OpenInNew";
2
3
  import Button from "@mui/material/Button";
3
4
  import Link from "@mui/material/Link";
4
5
  import Menu from "@mui/material/Menu";
5
6
  import MenuItem from "@mui/material/MenuItem";
6
7
  import { popoverClasses } from "@mui/material/Popover";
7
- import OpenInNewIcon from "@mui/icons-material/OpenInNew";
8
+ import { Link as RouterLink } from "react-router";
8
9
  export default function NavMenu({ name, activeTab, routes, sx, anchorOrigin, transformOrigin, endIcon, }) {
9
10
  const [anchorEl, setAnchorEl] = React.useState(null);
10
11
  let currentlyHovering = false;
@@ -37,7 +38,7 @@ export default function NavMenu({ name, activeTab, routes, sx, anchorOrigin, tra
37
38
  style: { pointerEvents: "auto" },
38
39
  },
39
40
  }, sx: { [`&.${popoverClasses.root}`]: { pointerEvents: "none" } }, elevation: 0, anchorOrigin: anchorOrigin, transformOrigin: transformOrigin }, routes.map((route, idx) => (React.createElement(MenuItem, { key: idx, disabled: route.url === activeTab, sx: { p: 0 } },
40
- React.createElement(Link, { href: route.url, underline: "none", color: "inherit", sx: { px: "1rem", py: "0.5rem", width: "-webkit-fill-available" }, target: route.targetBlank ? "_blank" : undefined, rel: route.targetBlank ? "noopener noreferrer" : undefined },
41
+ React.createElement(Link, { component: RouterLink, to: route.url, underline: "none", color: "inherit", sx: { px: "1rem", py: "0.5rem", width: "-webkit-fill-available" }, target: route.targetBlank ? "_blank" : undefined, rel: route.targetBlank ? "noopener noreferrer" : undefined },
41
42
  route.name,
42
43
  " ",
43
44
  route.targetBlank && (React.createElement(OpenInNewIcon, { fontSize: "small", color: "primary" })))))))));
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import NavigationProps from "./NavigationProps";
3
- export default function Navigation({ activeTab, additionalControls, username, title, navLinks, logoutPageUrl, defautlUrl, appsUrl, profileUrl, }: NavigationProps): React.JSX.Element;
3
+ export default function Navigation({ additionalControls, username, title, navLinks, logoutPageUrl, defautlUrl, appsUrl, profileUrl, activeTab, withReactRouter, }: NavigationProps): React.JSX.Element;
4
4
  //# sourceMappingURL=Navigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/Navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AA0BzC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAGhD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,SAAS,EACT,kBAAkB,EAClB,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,OAAO,EACP,UAAU,GACX,EAAE,eAAe,qBAuUjB"}
1
+ {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/Navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AA4BzC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAGhD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,kBAAkB,EAClB,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,OAAO,EACP,UAAU,EACV,SAAS,EACT,eAAe,GAChB,EAAE,eAAe,qBA6VjB"}
@@ -15,13 +15,15 @@ import Menu from "@mui/material/Menu";
15
15
  import MenuItem from "@mui/material/MenuItem";
16
16
  import Toolbar from "@mui/material/Toolbar";
17
17
  import Typography from "@mui/material/Typography";
18
+ import { Link as RouterLink, useLocation } from "react-router";
18
19
  import Avatar from "@mui/material/Avatar";
19
20
  import ListItemIcon from "@mui/material/ListItemIcon";
20
21
  import ListItemText from "@mui/material/ListItemText";
21
22
  import { Button, useColorScheme, useMediaQuery } from "@mui/material";
22
23
  import { popoverClasses } from "@mui/material/Popover";
23
24
  import NavMenu from "./NavMenu";
24
- export default function Navigation({ activeTab, additionalControls, username, title, navLinks, logoutPageUrl, defautlUrl, appsUrl, profileUrl, }) {
25
+ export default function Navigation({ additionalControls, username, title, navLinks, logoutPageUrl, defautlUrl, appsUrl, profileUrl, activeTab, withReactRouter, }) {
26
+ const locationRouter = withReactRouter ? useLocation() : undefined;
25
27
  const { mode, setMode } = useColorScheme();
26
28
  const prefersDarkMode = useMediaQuery("(prefers-color-scheme: dark)");
27
29
  const [anchorElNav, setAnchorElNav] = React.useState(null);
@@ -39,10 +41,11 @@ export default function Navigation({ activeTab, additionalControls, username, ti
39
41
  const getPages = (sx, anchorOrigin, transformOrigin, endIcon) => {
40
42
  return navLinks.map((lnk, idx) => {
41
43
  if ("groupName" in lnk) {
42
- return (React.createElement(NavMenu, { key: idx, name: lnk.groupName, routes: lnk.links, activeTab: activeTab, sx: sx, anchorOrigin: anchorOrigin, transformOrigin: transformOrigin, endIcon: endIcon }));
44
+ return (React.createElement(NavMenu, { key: idx, name: lnk.groupName, routes: lnk.links, activeTab: (withReactRouter ? locationRouter?.pathname : activeTab) || "", sx: sx, anchorOrigin: anchorOrigin, transformOrigin: transformOrigin, endIcon: endIcon }));
43
45
  }
44
46
  else {
45
- React.createElement(Button, { key: 2, href: lnk.url, sx: sx, color: "inherit", variant: "text" }, lnk.name);
47
+ return (React.createElement(Button, { component: withReactRouter ? RouterLink : "button", disabled: lnk.url ===
48
+ (withReactRouter ? locationRouter?.pathname : activeTab), to: withReactRouter ? lnk.url : undefined, href: withReactRouter ? undefined : lnk.url, key: idx, sx: sx, color: "inherit", variant: "text" }, lnk.name));
46
49
  }
47
50
  });
48
51
  };
@@ -181,7 +184,7 @@ export default function Navigation({ activeTab, additionalControls, username, ti
181
184
  React.createElement(ListItemIcon, null,
182
185
  React.createElement(HubIcon, { fontSize: "small" })),
183
186
  React.createElement(ListItemText, null, "\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F"))),
184
- React.createElement(MenuItem, { href: logoutPageUrl, component: "a" },
187
+ React.createElement(MenuItem, { to: withReactRouter ? logoutPageUrl : undefined, href: withReactRouter ? undefined : logoutPageUrl, component: withReactRouter ? RouterLink : "a" },
185
188
  React.createElement(ListItemIcon, null,
186
189
  React.createElement(LogoutIcon, { fontSize: "small" })),
187
190
  React.createElement(ListItemText, null, "\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043C\u044B"))))))));
@@ -13,7 +13,8 @@ interface Link {
13
13
  targetBlank?: boolean;
14
14
  }
15
15
  export default interface NavigationProps {
16
- activeTab: string;
16
+ withReactRouter?: boolean;
17
+ activeTab?: string;
17
18
  username: string;
18
19
  appsUrl?: string;
19
20
  profileUrl?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationProps.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationProps.ts"],"names":[],"mappings":"AAAA,UAAU,OAAO;IACf,KAAK,EACD,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,MAAM,GACN,SAAS,GACT,OAAO,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EACD,IAAI,GACJ,IAAI,GACJ,QAAQ,GACR,aAAa,GACb,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,CAAC;IACV,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAED,UAAU,IAAI;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,EAAE,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CACN;QACE,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,IAAI,EAAE,CAAC;KACf,GACD,IAAI,CACP,EAAE,CAAC;CACL"}
1
+ {"version":3,"file":"NavigationProps.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationProps.ts"],"names":[],"mappings":"AAAA,UAAU,OAAO;IACf,KAAK,EACD,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,MAAM,GACN,SAAS,GACT,OAAO,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EACD,IAAI,GACJ,IAAI,GACJ,QAAQ,GACR,aAAa,GACb,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,CAAC;IACV,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAED,UAAU,IAAI;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,EAAE,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CACN;QACE,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,IAAI,EAAE,CAAC;KACf,GACD,IAAI,CACP,EAAE,CAAC;CACL"}
@@ -1 +1 @@
1
- {"version":3,"file":"PageWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/PageWrapper/PageWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAKlD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAAQ,EACR,OAAO,EACP,OAAO,EACP,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,gBAAgB,qBAkBlB"}
1
+ {"version":3,"file":"PageWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/PageWrapper/PageWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAAQ,EACR,OAAO,EACP,OAAO,EACP,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,gBAAgB,qBAqBlB"}
@@ -1,11 +1,12 @@
1
1
  import React from "react";
2
2
  import Stack from "@mui/material/Stack";
3
- import Navigation from "../Navigation/Navigation";
4
- import Footer from "../Footer/Footer";
5
3
  import { useTheme } from "@mui/material";
4
+ import Footer from "../Footer/Footer";
5
+ import Navigation from "../Navigation/Navigation";
6
6
  export default function PageWrapper({ children, version, appName, desc, ...props }) {
7
7
  const theme = useTheme();
8
- return (React.createElement(Stack, { direction: "column", bgcolor: theme.palette.background.default, sx: {
8
+ return (React.createElement(Stack, { direction: "column", bgcolor: theme.vars?.palette.background.default ||
9
+ theme.palette.background.default, sx: {
9
10
  justifyContent: "space-between",
10
11
  minHeight: "100vh",
11
12
  position: "relative",
@@ -1 +1 @@
1
- {"version":3,"file":"RichFilterTextField.d.ts","sourceRoot":"","sources":["../../../src/components/RichFilterTextField/RichFilterTextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAUf,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAKlE,QAAA,MAAM,mBAAmB,GAAI,wIAS1B,wBAAwB,sBA6R1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"RichFilterTextField.d.ts","sourceRoot":"","sources":["../../../src/components/RichFilterTextField/RichFilterTextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAUf,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAKlE,QAAA,MAAM,mBAAmB,GAAI,wIAS1B,wBAAwB,sBA+R1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -197,6 +197,8 @@ const RichFilterTextField = ({ filterExpr, filterExprHist: searchHist, fields, o
197
197
  endAdornment: (React.createElement(InputAdornment, { position: "end" },
198
198
  React.createElement(IconButton, { title: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B", disabled: !search, onClick: (e) => {
199
199
  handleChange("");
200
+ setCursorPos(null);
201
+ setFocusIdx(0);
200
202
  e.stopPropagation();
201
203
  } },
202
204
  React.createElement(ClearIcon, null)))),
@@ -14,21 +14,21 @@ export default function RowContent({ row, columns, onSelectRow, onDoubleClick, c
14
14
  const treeTheme = {
15
15
  scheme: 'google',
16
16
  author: 'seth wright (http://sethawright.com)',
17
- base00: theme.palette.background.paper, // background
18
- base01: theme.palette.background.default, // lighter background
17
+ base00: theme.vars?.palette.background.paper || theme.palette.background.paper, // background
18
+ base01: theme.vars?.palette.background.default || theme.palette.background.default, // lighter background
19
19
  base02: "#e0e0e0", // selection (можно взять divider)
20
- base03: theme.palette.text.disabled || "#9e9e9e",
21
- base04: theme.palette.text.secondary,
22
- base05: theme.palette.text.primary,
20
+ base03: theme.vars?.palette.text.disabled || theme.palette.text.disabled || "#9e9e9e",
21
+ base04: theme.vars?.palette.text.secondary || theme.palette.text.secondary,
22
+ base05: theme.vars?.palette.text.primary || theme.palette.text.primary,
23
23
  base06: "#eeeeee",
24
24
  base07: "#ffffff",
25
- base08: theme.palette.error.main,
26
- base09: theme.palette.warning.main,
27
- base0A: theme.palette.info.main,
28
- base0B: theme.palette.success.main,
29
- base0C: theme.palette.secondary.main,
30
- base0D: theme.palette.primary.main,
31
- base0E: theme.palette.secondary.main,
25
+ base08: theme.vars?.palette.error.main || theme.palette.error.main,
26
+ base09: theme.vars?.palette.warning.main || theme.palette.warning.main,
27
+ base0A: theme.vars?.palette.info.main || theme.palette.info.main,
28
+ base0B: theme.vars?.palette.success.main || theme.palette.success.main,
29
+ base0C: theme.vars?.palette.secondary.main || theme.palette.secondary.main,
30
+ base0D: theme.vars?.palette.primary.main || theme.palette.primary.main,
31
+ base0E: theme.vars?.palette.secondary.main || theme.palette.secondary.main,
32
32
  base0F: "#8d6e63" // обычно brown / deprecated
33
33
  };
34
34
  return (React.createElement(React.Fragment, null,
@@ -1 +1 @@
1
- {"version":3,"file":"SmartTable.d.ts","sourceRoot":"","sources":["../../../src/components/SmartTable/SmartTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AA2BlD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AA4GhD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CAAE,EAAE,EACrE,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,OAAO,EACP,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,UAAU,EACV,WAAW,EACX,EAAE,EACF,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,KAAK,EACL,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAAE,gBAAgB,EAClC,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,cAAc,GACf,EAAE,eAAe,CAAC,CAAC,CAAC,qBA4TpB"}
1
+ {"version":3,"file":"SmartTable.d.ts","sourceRoot":"","sources":["../../../src/components/SmartTable/SmartTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AA2BlD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAgHhD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EAAE,EACpE,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,OAAO,EACP,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,UAAU,EACV,WAAW,EACX,EAAE,EACF,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,KAAK,EACL,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAAE,gBAAgB,EAClC,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,cAAc,GACf,EAAE,eAAe,CAAC,CAAC,CAAC,qBA8TpB"}
@@ -36,7 +36,7 @@ const Row = (props) => {
36
36
  const selectedRow = Object(props).context.selectedRow;
37
37
  const rowStyles = Object(props).context.rowStyles;
38
38
  const selectable = Object(props).context.selectable;
39
- return ContentWrapper ? (React.createElement(ContentWrapper, { dagId: Object(props).item.id, rowProps: {
39
+ return ContentWrapper ? (React.createElement(ContentWrapper, { rowProps: {
40
40
  selected: Object(props).item.id === selectedRow,
41
41
  ...props,
42
42
  }, ...props })) : (React.createElement(TableRow, { hover: true, sx: {
@@ -51,9 +51,7 @@ const TableWrapper = (props) => (React.createElement(Table, { ...props, stickyHe
51
51
  minWidth: Object(props).context.minWidth || "100%",
52
52
  } }));
53
53
  const ItemContent = (_index, row, context) => (React.createElement(RowContent, { key: row.id, row: row, columns: Object(context).columns, controlComponent: Object(context).ControlComponent, onDoubleClick: Object(context).onRowDoubleClick, onSelectRow: Object(context).selectable ? Object(context).handleSelectRow : () => { } }));
54
- const ScrollSeekPlaceholder = (props) => (
55
- // eslint-disable-next-line react/prop-types
56
- React.createElement(TableRow, { sx: { height: Object(props).height } }, Object(props).context.columns.map((col, i) => (React.createElement(TableCell, { sx: {
54
+ const ScrollSeekPlaceholder = (props) => (React.createElement(TableRow, { sx: { height: Object(props).height } }, Object(props).context.columns.map((col, i) => (React.createElement(TableCell, { sx: {
57
55
  paddingTop: "0.25rem",
58
56
  paddingBottom: "0.25rem",
59
57
  py: 0,
@@ -155,7 +153,8 @@ export default function SmartTable({ rows, columns, pageN, numPages, perPage, lo
155
153
  bottom: "0%",
156
154
  zIndex: 600,
157
155
  position: "sticky",
158
- backgroundColor: theme.palette.background.default,
156
+ backgroundColor: theme.vars?.palette.background.default ||
157
+ theme.palette.background.default,
159
158
  } },
160
159
  React.createElement(TableRow, null,
161
160
  React.createElement(TableCell, { colSpan: 11 },
@@ -20,9 +20,11 @@ export default interface SmartTableProps<T extends {
20
20
  disablePerPageSelector?: boolean;
21
21
  globalSearch?: boolean;
22
22
  globalSearchComponent?: ReactElement;
23
- ContentWrapper?({ children, dagId, rowProps, }: {
23
+ controlComponentColSx?: SxProps<Theme>;
24
+ error?: boolean;
25
+ perPageOptions?: number[];
26
+ ContentWrapper?({ children, rowProps, }: {
24
27
  children?: ReactNode;
25
- dagId: string;
26
28
  rowProps: TableRowProps;
27
29
  }): React.JSX.Element;
28
30
  onSelectRow?(rowId: string): void;
@@ -35,8 +37,5 @@ export default interface SmartTableProps<T extends {
35
37
  }[]): void;
36
38
  onPageSelect(pageN: number): void;
37
39
  onChangePerPage?(perPage: number): void;
38
- controlComponentColSx?: SxProps<Theme>;
39
- error?: boolean;
40
- perPageOptions?: number[];
41
40
  }
42
41
  //# sourceMappingURL=SmartTableProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SmartTableProps.d.ts","sourceRoot":"","sources":["../../../src/components/SmartTable/SmartTableProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CAAE;IACzE,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB,CAAC,EAAE,YAAY,CAAC;IACrC,cAAc,CAAC,CAAC,EACd,QAAQ,EACR,KAAK,EACL,QAAQ,GACT,EAAE;QACD,QAAQ,CAAC,EAAE,SAAS,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,aAAa,CAAC;KACzB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IACtB,WAAW,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,gBAAgB,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IACrC,gBAAgB,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC9C,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAClE,aAAa,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;KAAE,EAAE,GAAG,IAAI,CAAC;IACnE,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,eAAe,CAAC,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,qBAAqB,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B"}
1
+ {"version":3,"file":"SmartTableProps.d.ts","sourceRoot":"","sources":["../../../src/components/SmartTable/SmartTableProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE;IACxE,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB,CAAC,EAAE,YAAY,CAAC;IACrC,qBAAqB,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,cAAc,CAAC,CAAC,EACd,QAAQ,EACR,QAAQ,GACT,EAAE;QACD,QAAQ,CAAC,EAAE,SAAS,CAAC;QACrB,QAAQ,EAAE,aAAa,CAAC;KACzB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IACtB,WAAW,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,gBAAgB,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IACrC,gBAAgB,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC9C,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAClE,aAAa,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,GAAG,IAAI,CAAC;IAClE,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,eAAe,CAAC,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/SmartTable/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAkB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAGpE,QAAA,MAAM,WAAW,GAAI,mBAAmB,cAAc,sBAerD,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/SmartTable/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAkB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEpE,QAAA,MAAM,WAAW,GAAI,mBAAmB,cAAc,sBAiBrD,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,13 +1,14 @@
1
1
  import React from "react";
2
- import TableHead from "@mui/material/TableHead";
3
2
  import { useTheme } from "@mui/material";
3
+ import TableHead from "@mui/material/TableHead";
4
4
  const TableHeader = ({ ref, ...props }) => {
5
5
  const theme = useTheme();
6
6
  return (React.createElement(TableHead, { sx: {
7
7
  top: "0",
8
8
  zIndex: 600,
9
9
  position: "sticky",
10
- backgroundColor: theme.palette.background.default,
10
+ backgroundColor: theme.vars?.palette.background.default ||
11
+ theme.palette.background.default,
11
12
  }, ...props, ref: ref }));
12
13
  };
13
14
  export default TableHeader;
@@ -1 +1 @@
1
- {"version":3,"file":"SubtaskItem.d.ts","sourceRoot":"","sources":["../../../src/components/SubtaskItem/SubtaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAIlD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,uBAAuB,GACxB,EAAE,gBAAgB,qBAkFlB"}
1
+ {"version":3,"file":"SubtaskItem.d.ts","sourceRoot":"","sources":["../../../src/components/SubtaskItem/SubtaskItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,uBAAuB,GACxB,EAAE,gBAAgB,qBAoFlB"}
@@ -1,15 +1,15 @@
1
- import React from "react";
2
1
  import moment from "moment";
3
- import Accordion from "@mui/material/Accordion";
4
- import AccordionDetails from "@mui/material/AccordionDetails";
5
- import AccordionSummary from "@mui/material/AccordionSummary";
6
- import CircularProgress from "@mui/material/CircularProgress";
7
- import CheckCircleOutlineRoundedIcon from "@mui/icons-material/CheckCircleOutlineRounded";
8
- import ErrorOutlineSharpIcon from "@mui/icons-material/ErrorOutlineSharp";
2
+ import React from "react";
9
3
  import AccessTimeSharpIcon from "@mui/icons-material/AccessTimeSharp";
10
4
  import BlockSharpIcon from "@mui/icons-material/BlockSharp";
5
+ import CheckCircleOutlineRoundedIcon from "@mui/icons-material/CheckCircleOutlineRounded";
6
+ import ErrorOutlineSharpIcon from "@mui/icons-material/ErrorOutlineSharp";
11
7
  import ExpandMore from "@mui/icons-material/ExpandMore";
12
8
  import { useTheme } from "@mui/material";
9
+ import Accordion from "@mui/material/Accordion";
10
+ import AccordionDetails from "@mui/material/AccordionDetails";
11
+ import AccordionSummary from "@mui/material/AccordionSummary";
12
+ import CircularProgress from "@mui/material/CircularProgress";
13
13
  import { taskStateText } from "../../utils";
14
14
  export default function SubtaskItem({ taskInstance, logs, expanded, onShowLogs, expandedLogContainerRef, }) {
15
15
  const theme = useTheme();
@@ -59,7 +59,8 @@ export default function SubtaskItem({ taskInstance, logs, expanded, onShowLogs,
59
59
  React.createElement(AccordionDetails, { style: { maxHeight: "32vh", overflow: "auto" }, ref: expandedLogContainerRef },
60
60
  React.createElement("article", { style: {
61
61
  padding: "1.5rem",
62
- backgroundColor: theme.palette.background.paper,
62
+ backgroundColor: theme.vars?.palette.background.paper ||
63
+ theme.palette.background.paper,
63
64
  borderRadius: "0.5rem",
64
65
  fontFamily: "consolas",
65
66
  } }, logs.split("\n").map((line, idx) => (React.createElement("p", { key: idx, style: { margin: 0 } }, line)))))));
@@ -4,7 +4,7 @@ export default interface SubtaskItemProps {
4
4
  taskInstance: TaskInstance;
5
5
  logs: string;
6
6
  expanded: boolean;
7
- expandedLogContainerRef?: RefObject<HTMLDivElement>;
7
+ expandedLogContainerRef?: RefObject<HTMLDivElement | null>;
8
8
  onShowLogs(taskId: string, tryNum: number): void;
9
9
  }
10
10
  //# sourceMappingURL=SubtaskItemProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubtaskItemProps.d.ts","sourceRoot":"","sources":["../../../src/components/SubtaskItem/SubtaskItemProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,CAAC,OAAO,WAAW,gBAAgB;IACvC,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACpD,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CAClD"}
1
+ {"version":3,"file":"SubtaskItemProps.d.ts","sourceRoot":"","sources":["../../../src/components/SubtaskItem/SubtaskItemProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,CAAC,OAAO,WAAW,gBAAgB;IACvC,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC3D,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CAClD"}
@@ -1 +1 @@
1
- {"version":3,"file":"TaskStateDialog.d.ts","sourceRoot":"","sources":["../../../src/components/TaskStateDialog/TaskStateDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAa1D,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,SAAS,EACT,QAAQ,EACR,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,OAAO,GACR,EAAE,oBAAoB,qBAyLtB"}
1
+ {"version":3,"file":"TaskStateDialog.d.ts","sourceRoot":"","sources":["../../../src/components/TaskStateDialog/TaskStateDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAuB1B,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAW1D,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,SAAS,EACT,QAAQ,EACR,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,OAAO,GACR,EAAE,oBAAoB,qBA6LtB"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import Dialog from "@mui/material/Dialog";
3
2
  import { useTheme } from "@mui/material";
3
+ import Dialog from "@mui/material/Dialog";
4
4
  import Zoom from "@mui/material/Zoom";
5
5
  const AppBar = React.lazy(() => import("@mui/material/AppBar"));
6
6
  const Stack = React.lazy(() => import("@mui/material/Stack"));
@@ -12,8 +12,8 @@ const Badge = React.lazy(() => import("@mui/material/Badge"));
12
12
  const CloseIcon = React.lazy(() => import("@mui/icons-material/Close"));
13
13
  const CircularProgress = React.lazy(() => import("@mui/material/CircularProgress"));
14
14
  const TaskLoader = React.lazy(() => import("../TaskLoader/TaskLoader"));
15
- import { useDagRunStateContext } from "../../providers/DagStateProvider";
16
15
  import { useAirflowContext } from "../../providers/AirflowProvider";
16
+ import { useDagRunStateContext } from "../../providers/DagStateProvider";
17
17
  const Transition = React.forwardRef(function Transition(props, ref) {
18
18
  return React.createElement(Zoom, { ref: ref, ...props });
19
19
  });
@@ -52,7 +52,10 @@ export default function TaskStateDialog({ taskTitle, subTitle, appendedTitle, vi
52
52
  transition: disableTransition ? undefined : Transition,
53
53
  }, slotProps: {
54
54
  paper: {
55
- sx: { backgroundColor: theme.palette.background.default },
55
+ sx: {
56
+ backgroundColor: theme.vars?.palette.background.default ||
57
+ theme.palette.background.default,
58
+ },
56
59
  },
57
60
  transition: {
58
61
  sx: {
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { SvgIconOwnProps } from "@mui/material";
2
+ import React from "react";
3
3
  interface GenerateAndRunIconProps extends SvgIconOwnProps {
4
4
  disabled?: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GenerateAndRunIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/GenerateAndRunIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AAoHzE,UAAU,uBAAwB,SAAQ,eAAe;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,kBAAkB,GAAI,wBAGzB,uBAAuB,sBAWzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"GenerateAndRunIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/GenerateAndRunIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,MAAM,OAAO,CAAC;AAoH1B,UAAU,uBAAwB,SAAQ,eAAe;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,kBAAkB,GAAI,wBAGzB,uBAAuB,sBAezB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { createSvgIcon, useTheme } from "@mui/material";
2
+ import React from "react";
3
3
  const GenerateAndRunSvgIcon = createSvgIcon(React.createElement("svg", { width: "38", height: "38", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 38 38", preserveAspectRatio: "xMidYMid", version: "1.1" },
4
4
  React.createElement("g", { className: "layer", display: "inline" },
5
5
  React.createElement("g", { id: "s", transform: "translate(-0.02 -0.02) matrix(1.63693 0 0 1.63225 -3.38016 7.32488)" },
@@ -24,6 +24,9 @@ const GenerateAndRunSvgIcon = createSvgIcon(React.createElement("svg", { width:
24
24
  // todo: Обобщить, создать хук
25
25
  const GenerateAndRunIcon = ({ disabled, ...props }) => {
26
26
  const theme = useTheme();
27
- return disabled ? (React.createElement(GenerateAndRunSvgIcon, { sx: { "--disabled": theme.palette.action.disabled, ...props.sx }, ...props })) : (React.createElement(GenerateAndRunSvgIcon, { ...props }));
27
+ return disabled ? (React.createElement(GenerateAndRunSvgIcon, { sx: {
28
+ "--disabled": theme.vars?.palette.action.disabled || theme.palette.action.disabled,
29
+ ...props.sx,
30
+ }, ...props })) : (React.createElement(GenerateAndRunSvgIcon, { ...props }));
28
31
  };
29
32
  export default GenerateAndRunIcon;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { SvgIconOwnProps } from "@mui/material";
2
+ import React from "react";
3
3
  interface GenerateIconProps extends SvgIconOwnProps {
4
4
  disabled?: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GenerateIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/GenerateIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AAoGzE,UAAU,iBAAkB,SAAQ,eAAe;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,GAAI,wBAAwB,iBAAiB,sBAW9D,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"GenerateIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/GenerateIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,MAAM,OAAO,CAAC;AAoG1B,UAAU,iBAAkB,SAAQ,eAAe;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,GAAI,wBAAwB,iBAAiB,sBAe9D,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { createSvgIcon, useTheme } from "@mui/material";
2
+ import React from "react";
3
3
  const GenerateSvgIcon = createSvgIcon(React.createElement("svg", { width: "38", height: "38", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 38 38", preserveAspectRatio: "xMidYMid", version: "1.1" },
4
4
  React.createElement("g", { className: "layer", display: "inline" },
5
5
  React.createElement("g", { id: "s", transform: "translate(-0.02 -0.02) matrix(1.63693 0 0 1.63225 -3.38016 7.32488)" },
@@ -22,6 +22,9 @@ const GenerateSvgIcon = createSvgIcon(React.createElement("svg", { width: "38",
22
22
  // todo: Обобщить, создать хук
23
23
  const GenerateIcon = ({ disabled, ...props }) => {
24
24
  const theme = useTheme();
25
- return disabled ? (React.createElement(GenerateSvgIcon, { sx: { "--disabled": theme.palette.action.disabled, ...props.sx }, ...props })) : (React.createElement(GenerateSvgIcon, { ...props }));
25
+ return disabled ? (React.createElement(GenerateSvgIcon, { sx: {
26
+ "--disabled": theme.vars?.palette.action.disabled || theme.palette.action.disabled,
27
+ ...props.sx,
28
+ }, ...props })) : (React.createElement(GenerateSvgIcon, { ...props }));
26
29
  };
27
30
  export default GenerateIcon;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { SvgIconOwnProps } from "@mui/material";
2
+ import React from "react";
3
3
  interface IntegerIconProps extends SvgIconOwnProps {
4
4
  disabled?: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"IntegerIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/IntegerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AAyBzE,UAAU,gBAAiB,SAAQ,eAAe;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,WAAW,GAAI,wBAAwB,gBAAgB,sBAW5D,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"IntegerIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/IntegerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,UAAU,gBAAiB,SAAQ,eAAe;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,WAAW,GAAI,wBAAwB,gBAAgB,sBAe5D,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { createSvgIcon, useTheme } from "@mui/material";
2
+ import React from "react";
3
3
  const IntegerSvgIcon = createSvgIcon(React.createElement("svg", { fill: "var(--disabled, currentColor)", viewBox: "0 0 32 32", id: "icon", xmlns: "http://www.w3.org/2000/svg", stroke: "var(--disabled, currentColor)" },
4
4
  React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
5
5
  React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -10,6 +10,9 @@ const IntegerSvgIcon = createSvgIcon(React.createElement("svg", { fill: "var(--d
10
10
  // todo: Обобщить, создать хук
11
11
  const IntegerIcon = ({ disabled, ...props }) => {
12
12
  const theme = useTheme();
13
- return disabled ? (React.createElement(IntegerSvgIcon, { sx: { "--disabled": theme.palette.action.disabled, ...props.sx }, ...props })) : (React.createElement(IntegerSvgIcon, { ...props }));
13
+ return disabled ? (React.createElement(IntegerSvgIcon, { sx: {
14
+ "--disabled": theme.vars?.palette.action.disabled || theme.palette.action.disabled,
15
+ ...props.sx,
16
+ }, ...props })) : (React.createElement(IntegerSvgIcon, { ...props }));
14
17
  };
15
18
  export default IntegerIcon;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { SvgIconOwnProps } from "@mui/material";
2
+ import React from "react";
3
3
  interface QueueIconProps extends SvgIconOwnProps {
4
4
  disabled?: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueueIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/QueueIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AA+BzE,UAAU,cAAe,SAAQ,eAAe;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,SAAS,GAAI,wBAAwB,cAAc,sBAWxD,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"QueueIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/QueueIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,MAAM,OAAO,CAAC;AA+B1B,UAAU,cAAe,SAAQ,eAAe;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,SAAS,GAAI,wBAAwB,cAAc,sBAexD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { createSvgIcon, useTheme } from "@mui/material";
2
+ import React from "react";
3
3
  const QueueSvgIcon = createSvgIcon(React.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "#000000" },
4
4
  React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
5
5
  React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -10,6 +10,9 @@ const QueueSvgIcon = createSvgIcon(React.createElement("svg", { viewBox: "0 0 24
10
10
  // todo: Обобщить, создать хук
11
11
  const QueueIcon = ({ disabled, ...props }) => {
12
12
  const theme = useTheme();
13
- return disabled ? (React.createElement(QueueSvgIcon, { sx: { "--disabled": theme.palette.action.disabled, ...props.sx }, ...props })) : (React.createElement(QueueSvgIcon, { ...props }));
13
+ return disabled ? (React.createElement(QueueSvgIcon, { sx: {
14
+ "--disabled": theme.vars?.palette.action.disabled || theme.palette.action.disabled,
15
+ ...props.sx,
16
+ }, ...props })) : (React.createElement(QueueSvgIcon, { ...props }));
14
17
  };
15
18
  export default QueueIcon;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { SvgIconOwnProps } from "@mui/material";
2
+ import React from "react";
3
3
  interface IpIconProps extends SvgIconOwnProps {
4
4
  disabled?: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RangeIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/RangeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AA8CzE,UAAU,WAAY,SAAQ,eAAe;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,GAAI,wBAAwB,WAAW,sBAWlD,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"RangeIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/RangeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,MAAM,OAAO,CAAC;AA8C1B,UAAU,WAAY,SAAQ,eAAe;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,GAAI,wBAAwB,WAAW,sBAelD,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { createSvgIcon, useTheme } from "@mui/material";
2
+ import React from "react";
3
3
  const IpSVGIcon = createSvgIcon(React.createElement("svg", { viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", fill: "#000000", stroke: "#000000", strokeWidth: "4.176" },
4
4
  React.createElement("g", { id: "SVGRepo_bgCarrier", strokeWidth: "0" }),
5
5
  React.createElement("g", { id: "SVGRepo_tracerCarrier", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -10,6 +10,9 @@ const IpSVGIcon = createSvgIcon(React.createElement("svg", { viewBox: "0 0 48 48
10
10
  // todo: Обобщить, создать хук
11
11
  const IpIcon = ({ disabled, ...props }) => {
12
12
  const theme = useTheme();
13
- return disabled ? (React.createElement(IpSVGIcon, { sx: { "--disabled": theme.palette.action.disabled, ...props.sx }, ...props })) : (React.createElement(IpSVGIcon, { ...props }));
13
+ return disabled ? (React.createElement(IpSVGIcon, { sx: {
14
+ "--disabled": theme.vars?.palette.action.disabled || theme.palette.action.disabled,
15
+ ...props.sx,
16
+ }, ...props })) : (React.createElement(IpSVGIcon, { ...props }));
14
17
  };
15
18
  export default IpIcon;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { SvgIconOwnProps } from "@mui/material";
2
+ import React from "react";
3
3
  interface RunIconProps extends SvgIconOwnProps {
4
4
  disabled?: boolean;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RunIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/RunIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AAqDzE,UAAU,YAAa,SAAQ,eAAe;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,OAAO,GAAI,wBAAwB,YAAY,sBAWpD,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"RunIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/RunIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAY,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,MAAM,OAAO,CAAC;AAqD1B,UAAU,YAAa,SAAQ,eAAe;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,OAAO,GAAI,wBAAwB,YAAY,sBAepD,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { createSvgIcon, useTheme } from "@mui/material";
2
+ import React from "react";
3
3
  const RunSvgIcon = createSvgIcon(React.createElement("svg", { width: "38", height: "38", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 38 38", preserveAspectRatio: "xMidYMid", version: "1.1" },
4
4
  React.createElement("g", { className: "layer", display: "inline" },
5
5
  React.createElement("g", { id: "s", transform: "translate(-0.02 -0.02) matrix(1.63693 0 0 1.63225 -3.38016 7.32488)" },
@@ -13,6 +13,9 @@ const RunSvgIcon = createSvgIcon(React.createElement("svg", { width: "38", heigh
13
13
  // todo: Обобщить, создать хук
14
14
  const RunIcon = ({ disabled, ...props }) => {
15
15
  const theme = useTheme();
16
- return disabled ? (React.createElement(RunSvgIcon, { sx: { "--disabled": theme.palette.action.disabled, ...props.sx }, ...props })) : (React.createElement(RunSvgIcon, { ...props }));
16
+ return disabled ? (React.createElement(RunSvgIcon, { sx: {
17
+ "--disabled": theme.vars?.palette.action.disabled || theme.palette.action.disabled,
18
+ ...props.sx,
19
+ }, ...props })) : (React.createElement(RunSvgIcon, { ...props }));
17
20
  };
18
21
  export default RunIcon;
@@ -3,7 +3,7 @@ interface AirflowProviderProps {
3
3
  children?: React.ReactNode;
4
4
  dagId: string;
5
5
  }
6
- export declare const AirflowProvider: ({ children, dagId: _dagId, }: AirflowProviderProps) => React.JSX.Element;
6
+ declare const AirflowProvider: ({ children, dagId: _dagId }: AirflowProviderProps) => React.JSX.Element;
7
7
  export declare const useAirflowContext: () => {
8
8
  airflowAvailable: boolean;
9
9
  dagId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AirflowProvider.d.ts","sourceRoot":"","sources":["../../src/providers/AirflowProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAgBf,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,eAAe,GAAI,8BAG7B,oBAAoB,sBAuFtB,CAAC;AAEF,eAAO,MAAM,iBAAiB;sBA5GV,OAAO;WAClB,MAAM;yBACQ,MAAM,GAAG,IAAI;wBACd,IAAI;CA2GzB,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"AirflowProvider.d.ts","sourceRoot":"","sources":["../../src/providers/AirflowProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAgBf,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,eAAe,GAAI,6BAA6B,oBAAoB,sBAuFzE,CAAC;AAEF,eAAO,MAAM,iBAAiB;sBAzGV,OAAO;WAClB,MAAM;yBACQ,MAAM,GAAG,IAAI;wBACd,IAAI;CAwGzB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -7,7 +7,7 @@ const AirflowContext = createContext({
7
7
  onChangeDagId: () => { },
8
8
  onLostConnection: () => { },
9
9
  });
10
- export const AirflowProvider = ({ children, dagId: _dagId, }) => {
10
+ const AirflowProvider = ({ children, dagId: _dagId }) => {
11
11
  const [airflowAvailable, setAirflowAvailable] = useState(false);
12
12
  const [dagId, setDagId] = useState(_dagId);
13
13
  const [firstRun, setFirstRun] = useState(true);
@@ -9,7 +9,7 @@ interface DagRunStateProviderProps {
9
9
  taskInstances?: TaskInstances;
10
10
  scanInterval?: number;
11
11
  }
12
- export declare const DagRunStateProvider: ({ children, dagRun: _dagRun, autorun: _autorun, poolingByUser, taskInstances: _taskInstances, autorunHandler, scanInterval, }: DagRunStateProviderProps) => React.JSX.Element;
12
+ declare const DagRunStateProvider: ({ children, dagRun: _dagRun, autorun: _autorun, poolingByUser, taskInstances: _taskInstances, autorunHandler, scanInterval, }: DagRunStateProviderProps) => React.JSX.Element;
13
13
  export declare const useDagRunStateContext: () => {
14
14
  isActive: boolean;
15
15
  autorun: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DagStateProvider.d.ts","sourceRoot":"","sources":["../../src/providers/DagStateProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA+BjD,UAAU,wBAAwB;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/D,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB,GAAI,+HAQjC,wBAAwB,sBA2H1B,CAAC;AAEF,eAAO,MAAM,qBAAqB;cAxKtB,OAAO;aACR,OAAO;YACR,MAAM,GAAG,IAAI;mBACN,aAAa,GAAG,IAAI;4BAEvB,OAAO,UACT,MAAM,iBACC,aAAa,GAC3B,IAAI;gBACK,IAAI;kBACF,IAAI;wBACE,OAAO,GAAG,IAAI;kBACpB,MAAM;CA8JrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"DagStateProvider.d.ts","sourceRoot":"","sources":["../../src/providers/DagStateProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA8BjD,UAAU,wBAAwB;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/D,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,QAAA,MAAM,mBAAmB,GAAI,+HAQ1B,wBAAwB,sBA2H1B,CAAC;AAEF,eAAO,MAAM,qBAAqB;cAxKtB,OAAO;aACR,OAAO;YACR,MAAM,GAAG,IAAI;mBACN,aAAa,GAAG,IAAI;4BAEvB,OAAO,UACT,MAAM,iBACC,aAAa,GAC3B,IAAI;gBACK,IAAI;kBACF,IAAI;wBACE,OAAO,GAAG,IAAI;kBACpB,MAAM;CA8JrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -13,7 +13,7 @@ const DagRunStateContext = createContext({
13
13
  setAutorun: () => { },
14
14
  scanInterval: 300,
15
15
  });
16
- export const DagRunStateProvider = ({ children, dagRun: _dagRun, autorun: _autorun, poolingByUser, taskInstances: _taskInstances, autorunHandler, scanInterval, }) => {
16
+ const DagRunStateProvider = ({ children, dagRun: _dagRun, autorun: _autorun, poolingByUser, taskInstances: _taskInstances, autorunHandler, scanInterval, }) => {
17
17
  const { airflowAvailable, dagId, onLostConnection } = useAirflowContext();
18
18
  const [isActive, setIsActive] = useState(_dagRun ? ["queued", "running"].includes(_dagRun.state) : dagId?.length > 0);
19
19
  const [channelBusy, setChannelBusy] = useState(false);
@@ -3,7 +3,7 @@ interface SessionProviderProps {
3
3
  children?: React.ReactNode;
4
4
  pollingInterval: number;
5
5
  }
6
- export declare const SessionProvider: ({ children, pollingInterval, }: SessionProviderProps) => React.JSX.Element;
6
+ declare const SessionProvider: ({ children, pollingInterval, }: SessionProviderProps) => React.JSX.Element;
7
7
  export declare const useSessionContext: () => {
8
8
  expiresIn: number;
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SessionProvider.d.ts","sourceRoot":"","sources":["../../src/providers/SessionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAU9E,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,eAAe,GAAI,gCAG7B,oBAAoB,sBAwCtB,CAAC;AAEF,eAAO,MAAM,iBAAiB;eAvDjB,MAAM;CAyDlB,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"SessionProvider.d.ts","sourceRoot":"","sources":["../../src/providers/SessionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAU9E,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,QAAA,MAAM,eAAe,GAAI,gCAGtB,oBAAoB,sBAwCtB,CAAC;AAEF,eAAO,MAAM,iBAAiB;eAvDjB,MAAM;CAyDlB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import React, { createContext, useContext, useEffect, useState } from "react";
2
- import { useSnackbarContext } from "./SnackBarProvider";
3
2
  import { getRequest } from "../http";
3
+ import { useSnackbarContext } from "./SnackBarProvider";
4
4
  const SessionContext = createContext({
5
5
  expiresIn: 0,
6
6
  });
7
- export const SessionProvider = ({ children, pollingInterval, }) => {
7
+ const SessionProvider = ({ children, pollingInterval, }) => {
8
8
  const { enqueueSnackbar } = useSnackbarContext();
9
9
  const [expires, setExpires] = useState(false);
10
10
  const alertExpire = () => enqueueSnackbar("Сессия завершилась, перезагрузите страницу!", "default");
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  interface SnackBarProps {
3
- children?: React.ReactNode;
3
+ children?: React.ReactNode | React.ReactNode[];
4
4
  }
5
- export declare const SnackBarProvider: ({ children }: SnackBarProps) => React.JSX.Element;
5
+ declare const SnackBarProvider: ({ children }: SnackBarProps) => React.JSX.Element;
6
6
  export declare const useSnackbarContext: () => {
7
7
  enqueueSnackbar(message: string, variant: "default" | "error" | "success" | "warning" | "info"): void;
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SnackBarProvider.d.ts","sourceRoot":"","sources":["../../src/providers/SnackBarProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAezD,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AA8CD,eAAO,MAAM,gBAAgB,GAAI,cAAc,aAAa,sBAM3D,CAAC;AAEF,eAAO,MAAM,kBAAkB;6BA/DlB,MAAM,WACN,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAC5D,IAAI;CA+DR,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"SnackBarProvider.d.ts","sourceRoot":"","sources":["../../src/providers/SnackBarProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAezD,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;CAChD;AA8CD,QAAA,MAAM,gBAAgB,GAAI,cAAc,aAAa,sBAMpD,CAAC;AAEF,eAAO,MAAM,kBAAkB;6BA/DlB,MAAM,WACN,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAC5D,IAAI;CA+DR,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -25,7 +25,7 @@ const SnackBarProviderUtilities = ({ children }) => {
25
25
  enqueueSnackbar: handleEnqueueSnackbar,
26
26
  } }, children));
27
27
  };
28
- export const SnackBarProvider = ({ children }) => {
28
+ const SnackBarProvider = ({ children }) => {
29
29
  return (React.createElement(SnackbarProvider, { maxSnack: 5, autoHideDuration: 5000, preventDuplicate: true },
30
30
  React.createElement(SnackBarProviderUtilities, null, children)));
31
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,OAAO,wBAAwB,CAAC;AAChC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG9C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,wBAAgB,YAAY,WAI3B;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,QAI5C;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,UAM9C;AAED,eAAO,MAAM,aAAa,GACxB,WAAW,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,2EAc5D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,WAUtC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,WAK9C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,WAyC5C,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,OAAO,MAAM,WAkB9D,CAAC;AACF,eAAO,MAAM,aAAa,GACxB,aAAa,MAAM,EACnB,WAAW,MAAM,EACjB,QAAQ,MAAM,EACd,QAAQ,MAAM,EACd,UAAU,OAAO,EACjB,aAAa,MAAM,WAWpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,aAAa,MAAM,EAAE,WAAW,MAAM,WACR,CAAC;AAEhE,wBAAgB,WAAW,CAAC,IAAI,SAAS,OAAO,EAAE,EAChD,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,IAAI,EACjC,KAAK,EAAE,MAAM,aAKD,IAAI,UAUjB;AAED,eAAO,MAAM,yBAAyB,GACpC,UAAU,WAAW,EACrB,eAAe,MAAM,KAOhB,aACN,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,UAAU,WAAW,EACrB,eAAe,MAAM,KAOhB,aACN,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,KAAG,MAMzC,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,UAAU,MAAM,EAChB,QAAQ,MAAM,EACd,OAAO,MAAM,KACZ,MAMF,CAAC;AACF,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,EAAE,OAAO,MAAM,KAAG,MAM3D,CAAC;AACF,eAAO,MAAM,WAAW,GACtB,SAAS,MAAM,EACf,UAAU,MAAM,EAChB,QAAQ,MAAM,EACd,OAAO,MAAM,KACZ,MAMF,CAAC;AACF,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,MAM7C,CAAC;AACF,eAAO,MAAM,aAAa,GACxB,KAAK,MAAM,EAEX,KAAK,GAAG,EACR,QAAQ,OAAO,KACd,MAKF,CAAC;AACF,eAAO,MAAM,WAAW,GAAI,YAAY,MAAM,KAAG,MAKhD,CAAC;AACF,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,KAAG,MAK3C,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,OAAO,wBAAwB,CAAC;AAChC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG9C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,wBAAgB,YAAY,WAI3B;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,QAI5C;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,UAM9C;AAED,eAAO,MAAM,aAAa,GACxB,WAAW,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,2EAc5D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,WAWtC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,WAK9C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,WAyC5C,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,OAAO,MAAM,WAkB9D,CAAC;AACF,eAAO,MAAM,aAAa,GACxB,aAAa,MAAM,EACnB,WAAW,MAAM,EACjB,QAAQ,MAAM,EACd,QAAQ,MAAM,EACd,UAAU,OAAO,EACjB,aAAa,MAAM,WAWpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,aAAa,MAAM,EAAE,WAAW,MAAM,WACR,CAAC;AAEhE,wBAAgB,WAAW,CAAC,IAAI,SAAS,OAAO,EAAE,EAChD,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,IAAI,EACjC,KAAK,EAAE,MAAM,aAKD,IAAI,UAUjB;AAED,eAAO,MAAM,yBAAyB,GACpC,UAAU,WAAW,EACrB,eAAe,MAAM,KAOhB,aACN,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,UAAU,WAAW,EACrB,eAAe,MAAM,KAOhB,aACN,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,KAAG,MAMzC,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,UAAU,MAAM,EAChB,QAAQ,MAAM,EACd,OAAO,MAAM,KACZ,MAMF,CAAC;AACF,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,EAAE,OAAO,MAAM,KAAG,MAM3D,CAAC;AACF,eAAO,MAAM,WAAW,GACtB,SAAS,MAAM,EACf,UAAU,MAAM,EAChB,QAAQ,MAAM,EACd,OAAO,MAAM,KACZ,MAMF,CAAC;AACF,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,MAM7C,CAAC;AACF,eAAO,MAAM,aAAa,GACxB,KAAK,MAAM,EAEX,KAAK,GAAG,EACR,QAAQ,OAAO,KACd,MAKF,CAAC;AACF,eAAO,MAAM,WAAW,GAAI,YAAY,MAAM,KAAG,MAKhD,CAAC;AACF,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,KAAG,MAK3C,CAAC"}
package/dist/utils.js CHANGED
@@ -41,6 +41,7 @@ export const formatDate = (date) => {
41
41
  hour: "2-digit",
42
42
  minute: "2-digit",
43
43
  second: "2-digit",
44
+ timeZone: "Europe/Moscow",
44
45
  });
45
46
  };
46
47
  export const formatDuration = (duration) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danikokonn/yarik-frontend-lib",
3
- "version": "2.0.5-test1",
3
+ "version": "2.0.5-test3",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "author": "",
@@ -13,39 +13,44 @@
13
13
  "url": "https://github.com/YARIK-ML/YARIK-frontend-lib.git"
14
14
  },
15
15
  "devDependencies": {
16
- "@eslint/js": "^9.16.0",
16
+ "@eslint/js": "^9.34.0",
17
17
  "@types/lodash.debounce": "^4.0.9",
18
18
  "@types/moment-duration-format": "^2.2.6",
19
- "eslint": "^9.19.0",
20
- "eslint-plugin-react": "^7.37.4",
21
- "globals": "^15.14.0",
22
- "prettier": "3.2.5",
23
- "ts-loader": "^9.5.2",
24
- "tss-react": "^4.9.15",
25
- "typescript": "^5.7.3",
26
- "typescript-eslint": "^8.23.0"
19
+ "eslint": "^9.34.0",
20
+ "eslint-plugin-react": "^7.37.5",
21
+ "globals": "^16.3.0",
22
+ "prettier": "3.6.2",
23
+ "ts-loader": "^9.5.4",
24
+ "tss-react": "^4.9.19",
25
+ "typescript": "^5.9.2",
26
+ "typescript-eslint": "^8.42.0",
27
+ "react": "^19.1.1",
28
+ "react-dom": "^19.1.1",
29
+ "@types/react": "^19.1.12",
30
+ "@types/react-dom": "^19.1.9"
27
31
  },
28
32
  "dependencies": {
29
33
  "@emotion/react": "^11.14.0",
30
- "@emotion/styled": "^11.14.0",
34
+ "@emotion/styled": "^11.14.1",
31
35
  "@mui/icons-material": "^7.3.2",
32
36
  "@mui/material": "^7.3.2",
33
- "@mui/x-date-pickers": "^7.25.0",
34
- "@types/react": "^18.3.18",
35
- "@types/react-dom": "^18.3.5",
37
+ "@mui/x-date-pickers": "^8.11.1",
36
38
  "css-loader": "^7.1.2",
37
39
  "moment": "^2.30.1",
38
40
  "moment-duration-format": "^2.3.2",
39
- "moment-timezone": "^0.5.47",
41
+ "moment-timezone": "^0.6.0",
40
42
  "notistack": "^3.0.2",
41
- "react": "^18.3.1",
42
- "react-dom": "^18.3.1",
43
43
  "react-imask": "^7.6.1",
44
44
  "react-json-tree": "^0.20.0",
45
- "react-virtuoso": "^4.13.0",
45
+ "react-router": "^7.8.2",
46
+ "react-virtuoso": "^4.14.0",
46
47
  "style-loader": "^4.0.0",
47
48
  "transliteration": "^2.3.5"
48
49
  },
50
+ "peerDependencies": {
51
+ "react": ">=18 <20",
52
+ "react-dom": ">=18 <20"
53
+ },
49
54
  "scripts": {
50
55
  "test": "echo \"Error: no test specified\"",
51
56
  "build": "tsc"