@ukpc-lib/react 0.14.7 → 0.14.8

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.
@@ -6,7 +6,7 @@ export type GlobalMenuProps = {
6
6
  baseUrl: string;
7
7
  menuPath?: string;
8
8
  logout?(): void;
9
- hiddenServiceKeys?: string[];
9
+ customData?: (data: MenuItemDto[]) => MenuItemDto[];
10
10
  disabledMenuItems?: string[];
11
11
  handleCallback?(data: MenuItemDto[]): void;
12
12
  initOpenIds?: number[];
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),C=require("react"),m=require("../index.esm2017-Wdt1WKc8.cjs"),$=require("@mui/material");require("axios");require("@r2wc/react-to-web-component");const gn=require("react-router-dom");require("react-query");require("react-dom");const ce=require("moment");function $o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const N=$o(C),Ro=({color:e="#fff"})=>l.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:l.jsx("path",{d:"M3 12H21M3 6H21M3 18H21",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),zo=e=>{var r,o;const{tabs:t}=e,n=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),l.jsxs(l.Fragment,{children:[l.jsx("style",{children:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),C=require("react"),m=require("../index.esm2017-CSy1s5Xi.cjs"),$=require("@mui/material");require("axios");require("@r2wc/react-to-web-component");const gn=require("react-router-dom");require("react-query");require("react-dom");const ce=require("moment");function $o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const N=$o(C),Ro=({color:e="#fff"})=>l.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:l.jsx("path",{d:"M3 12H21M3 6H21M3 18H21",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),zo=e=>{var r,o;const{tabs:t}=e,n=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),l.jsxs(l.Fragment,{children:[l.jsx("style",{children:`
2
2
  .tab-title {
3
3
  min-width: 90px;
4
4
  padding: 5px 16px;
@@ -1,8 +1,8 @@
1
1
  import di, { jsx as u, jsxs as O, Fragment as de } from "react/jsx-runtime";
2
2
  import * as N from "react";
3
3
  import Ce, { createElement as cn, PureComponent as fi, useState as L, useEffect as Z, useRef as ge, useContext as We, useCallback as dt, forwardRef as hi } from "react";
4
- import { c as ke, a as ht, _ as mi, b as Jn, d as G, C as nt, t as Le, I as Xr, N as pi, p as gi, L as Qn, U as yi, G as bi, u as vi, h as Zr, l as xi, e as Si, S as Jr, f as wi, g as _i, Q as Qr, i as Tt, j as eo, k as Ei, s as It, P as R, m as _e, n as Ci, o as Ti, q as Fe, r as Ii, v as At, w as er, x as ki, y as tr, D as Mi, z as to, A as no, B as Oi, E as Ai, F as $i } from "../index.esm2017-fpfNaADA.js";
5
- import { M as lu, H as uu, R as du, J as fu, K as hu, O as mu } from "../index.esm2017-fpfNaADA.js";
4
+ import { c as ke, a as ht, _ as mi, b as Jn, d as G, C as nt, t as Le, I as Xr, N as pi, p as gi, L as Qn, U as yi, G as bi, u as vi, h as Zr, l as xi, e as Si, S as Jr, f as wi, g as _i, Q as Qr, i as Tt, j as eo, k as Ei, s as It, P as R, m as _e, n as Ci, o as Ti, q as Fe, r as Ii, v as At, w as er, x as ki, y as tr, D as Mi, z as to, A as no, B as Oi, E as Ai, F as $i } from "../index.esm2017-FOyyqFUk.js";
5
+ import { M as lu, H as uu, R as du, J as fu, K as hu, O as mu } from "../index.esm2017-FOyyqFUk.js";
6
6
  import { Box as ro, CircularProgress as oo, Typography as Me, Stack as we, Dialog as Ni, DialogTitle as Ri, DialogContent as Pi, DialogActions as zi, Button as yn, ClickAwayListener as Li, TextField as io, IconButton as Di, Fade as Fi, Paper as ji, Checkbox as Hi, Breadcrumbs as Bi } from "@mui/material";
7
7
  import "axios";
8
8
  import "@r2wc/react-to-web-component";