@gen-epix/ui-client-common 4.3.0 → 4.3.1

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 (49) hide show
  1. package/dist/_chunks/Breadcrumbs.js +22 -22
  2. package/dist/_chunks/Table.js +559 -3173
  3. package/dist/_chunks/Table.js.map +1 -1
  4. package/dist/_chunks/{oidc-client-ts.js → UserManagerUtil.js} +222 -198
  5. package/dist/_chunks/UserManagerUtil.js.map +1 -0
  6. package/dist/_chunks/middleware.js +1 -1
  7. package/dist/_chunks/middleware.js.map +1 -1
  8. package/dist/_chunks/omit.js +1 -1
  9. package/dist/_chunks/omit.js.map +1 -1
  10. package/dist/_chunks/react.js +1 -1
  11. package/dist/_chunks/react.js.map +1 -1
  12. package/dist/_chunks/useColumnsMenu.js +2 -2
  13. package/dist/_chunks/useColumnsMenu.js.map +1 -1
  14. package/dist/_chunks/useQueryMemo.js +1 -1
  15. package/dist/_chunks/useQueryMemo.js.map +1 -1
  16. package/dist/_chunks/vanilla.js +1 -1
  17. package/dist/_chunks/vanilla.js.map +1 -1
  18. package/dist/_chunks/yup.js +2 -2
  19. package/dist/_chunks/yup.js.map +1 -1
  20. package/dist/classes/services/LogService/index.js +1 -1
  21. package/dist/classes/services/LogService/index.js.map +1 -1
  22. package/dist/classes/services/RouterService/index.js +4 -4
  23. package/dist/components/app/App/index.js +35 -100
  24. package/dist/components/app/App/index.js.map +1 -1
  25. package/dist/components/app/AuthenticationWrapper/index.js +38 -38
  26. package/dist/components/app/AuthorizationWrapper/index.js +20 -20
  27. package/dist/components/app/RouterRoot/index.js +58 -59
  28. package/dist/components/app/RouterRoot/index.js.map +1 -1
  29. package/dist/components/ui/ApplicationBar/index.js +146 -146
  30. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  31. package/dist/components/ui/GenericErrorMessage/index.js +34 -34
  32. package/dist/components/ui/GenericErrorMessage/index.js.map +1 -1
  33. package/dist/components/ui/NavLink/index.js +8 -8
  34. package/dist/components/ui/PageContainer/index.js +1 -1
  35. package/dist/components/ui/PageContainer/index.js.map +1 -1
  36. package/dist/pages/AcceptInvitationPage/index.js +28 -28
  37. package/dist/pages/AdminPage/index.js +23 -23
  38. package/dist/pages/OrganizationContactsAdminPage/index.js +29 -29
  39. package/dist/pages/OrganizationSitesAdminPage/index.js +25 -25
  40. package/dist/pages/PostLoginPage/index.js +11 -11
  41. package/dist/pages/RouterErrorPage/index.js +10 -10
  42. package/dist/utils/UserManagerUtil/index.js +2 -31
  43. package/package.json +13 -8
  44. package/dist/_chunks/chunk-OB3PAWPO.js +0 -3742
  45. package/dist/_chunks/chunk-OB3PAWPO.js.map +0 -1
  46. package/dist/_chunks/oidc-client-ts.js.map +0 -1
  47. package/dist/_chunks/react-oidc-context.js +0 -201
  48. package/dist/_chunks/react-oidc-context.js.map +0 -1
  49. package/dist/utils/UserManagerUtil/index.js.map +0 -1
@@ -1,37 +1,37 @@
1
- import { u as e } from "./chunk-OB3PAWPO.js";
2
- import { RouterService as t } from "../classes/services/RouterService/index.js";
3
- import { BreadcrumbService as n } from "../classes/services/BreadcrumbService/index.js";
4
- import { Breadcrumbs as r, Link as i, Typography as a, useTheme as o } from "@mui/material";
5
- import { useCallback as s, useMemo as c } from "react";
6
- import { jsx as l } from "react/jsx-runtime";
7
- import { TestIdUtil as u } from "@gen-epix/ui-core/utils/TestIdUtil";
1
+ import { RouterService as e } from "../classes/services/RouterService/index.js";
2
+ import { BreadcrumbService as t } from "../classes/services/BreadcrumbService/index.js";
3
+ import { Breadcrumbs as n, Link as r, Typography as i, useTheme as a } from "@mui/material";
4
+ import { useCallback as o, useMemo as s } from "react";
5
+ import { jsx as c } from "react/jsx-runtime";
6
+ import { TestIdUtil as l } from "@gen-epix/ui-core/utils/TestIdUtil";
7
+ import { useMatches as u } from "react-router-dom";
8
8
  import { useSubscribable as d } from "@gen-epix/ui-core/hooks/useSubscribable";
9
9
  //#region src/components/ui/Breadcrumbs/Breadcrumb.tsx
10
- var f = ({ isLast: e, item: r }) => {
11
- let o = d(n.getInstance()), u = c(() => o[r.handle.title] ? o[r.handle.title] : r.handle.title, [o, r.handle.title]), f = s(async (e) => {
12
- e.preventDefault(), await t.getInstance().router.navigate(r.pathname);
13
- }, [r.pathname]);
14
- return e ? /* @__PURE__ */ l(a, {
10
+ var f = ({ isLast: n, item: a }) => {
11
+ let l = d(t.getInstance()), u = s(() => l[a.handle.title] ? l[a.handle.title] : a.handle.title, [l, a.handle.title]), f = o(async (t) => {
12
+ t.preventDefault(), await e.getInstance().router.navigate(a.pathname);
13
+ }, [a.pathname]);
14
+ return n ? /* @__PURE__ */ c(i, {
15
15
  color: "textPrimary",
16
16
  component: "h1",
17
17
  children: u
18
- }) : /* @__PURE__ */ l(i, {
18
+ }) : /* @__PURE__ */ c(r, {
19
19
  color: "inherit",
20
- href: r.pathname,
20
+ href: a.pathname,
21
21
  onClick: f,
22
22
  underline: "hover",
23
23
  children: u
24
24
  });
25
25
  }, p = () => {
26
- let t = e().filter((e) => !e.handle.hidden).filter((e, t, n) => !n.slice(t + 1).find((t) => t.pathname === `${e.pathname}/`)), n = o();
27
- return /* @__PURE__ */ l(r, {
26
+ let e = u().filter((e) => !e.handle.hidden).filter((e, t, n) => !n.slice(t + 1).find((t) => t.pathname === `${e.pathname}/`)), t = a();
27
+ return /* @__PURE__ */ c(n, {
28
28
  "aria-label": "breadcrumbs",
29
- ...u.createAttributes("Breadcrumbs"),
30
- sx: { height: n.spacing(3) },
31
- children: t.map((e, n) => /* @__PURE__ */ l(f, {
32
- isLast: n === t.length - 1,
33
- item: e
34
- }, e.id))
29
+ ...l.createAttributes("Breadcrumbs"),
30
+ sx: { height: t.spacing(3) },
31
+ children: e.map((t, n) => /* @__PURE__ */ c(f, {
32
+ isLast: n === e.length - 1,
33
+ item: t
34
+ }, t.id))
35
35
  });
36
36
  };
37
37
  //#endregion