@ukpc-lib/react 0.3.43 → 0.3.44

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.
@@ -3,5 +3,6 @@ export type GlobalMenuProps = {
3
3
  baseUrl: string;
4
4
  menuPath?: string;
5
5
  logout?(): void;
6
+ disabledMenuItems?: string[];
6
7
  } & OwnMenuItemProps;
7
8
  export declare function GlobalMenu(props: GlobalMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -6,4 +6,5 @@ export interface MenuItemDto {
6
6
  icon?: string;
7
7
  parentKey: Identity | null;
8
8
  children?: MenuItemDto[];
9
+ serviceKey: string;
9
10
  }
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),m=require("../index.module-42e2de1d.cjs"),K=require("moment"),Gt=require("axios");require("@r2wc/react-to-web-component");const an=require("react-router-dom"),N=require("@mui/material");function Jn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=Jn(j),Qn=e=>{var n,o;const{tabs:t}=e,r=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),s.jsxs(s.Fragment,{children:[s.jsx("style",{children:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),m=require("../index.module-31b7b1cb.cjs"),K=require("moment"),Gt=require("axios");require("@r2wc/react-to-web-component");const an=require("react-router-dom"),N=require("@mui/material");function Jn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=Jn(j),Qn=e=>{var n,o;const{tabs:t}=e,r=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),s.jsxs(s.Fragment,{children:[s.jsx("style",{children:`
2
2
  .tab-title {
3
3
  min-width: 90px;
4
4
  padding: 5px 16px;
@@ -1,8 +1,8 @@
1
1
  import { jsxs as N, Fragment as $e, jsx as c } from "react/jsx-runtime";
2
2
  import * as L from "react";
3
3
  import Co, { useState as G, useContext as xe, useEffect as Q, useRef as be, useCallback as bt, forwardRef as Oo, createElement as tr, PureComponent as No } from "react";
4
- import { c as Ne, Q as $n, g as To, C as Te, p as Pt, S as ko, a as $o, L as Io, b as Pr, u as Mo, d as mt, e as Ao, s as pt, _ as z, f as _e, P as k, h as he, i as Po, o as Ro, j as Do, k as zo, l as Rr, m as In, n as xt, q as Dr, I as Fo, r as Lo, t as zr, D as jo, v as Mn, w as An, x as Vo, y as Ho, z as Oe, A as Bo, B as gt } from "../index.module-8b49f064.js";
5
- import { G as Tc, E as kc, F as $c } from "../index.module-8b49f064.js";
4
+ import { c as Ne, Q as $n, g as To, C as Te, p as Pt, S as ko, a as $o, L as Io, b as Pr, u as Mo, d as mt, e as Ao, s as pt, _ as z, f as _e, P as k, h as he, i as Po, o as Ro, j as Do, k as zo, l as Rr, m as In, n as xt, q as Dr, I as Fo, r as Lo, t as zr, D as jo, v as Mn, w as An, x as Vo, y as Ho, z as Oe, A as Bo, B as gt } from "../index.module-bc09f930.js";
5
+ import { G as Tc, E as kc, F as $c } from "../index.module-bc09f930.js";
6
6
  import Z from "moment";
7
7
  import hr from "axios";
8
8
  import "@r2wc/react-to-web-component";