@crystaltech/hsms-shared-ui 0.7.7 → 0.7.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.
@@ -370,7 +370,7 @@ const PA = (I) => I ? `${vA()}/api/public/hsms/media/${I}` : "", q = "data:image
370
370
  }
371
371
  }
372
372
  ),
373
- /* @__PURE__ */ l.jsx(
373
+ n && /* @__PURE__ */ l.jsx(
374
374
  "img",
375
375
  {
376
376
  src: n,
package/dist/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var O0 = Object.defineProperty;
2
2
  var B0 = (e, t, n) => t in e ? O0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var bi = (e, t, n) => B0(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { j as g, g as Gr, L as Nf, a as va, s as Vl } from "./Loader-Bm0TJUy6.js";
5
- import { c as zF, b as HF, d as FF } from "./Loader-Bm0TJUy6.js";
4
+ import { j as g, g as Gr, L as Nf, a as va, s as Vl } from "./Loader-DI7qIiDV.js";
5
+ import { c as zF, b as HF, d as FF } from "./Loader-DI7qIiDV.js";
6
6
  import * as v from "react";
7
7
  import T, { isValidElement as Ui, PureComponent as ya, Component as Ea, useState as Ue, cloneElement as fs, Children as D0, useEffect as Dt, Suspense as k0, useRef as Oh, useCallback as T0 } from "react";
8
8
  import { Box as Qe, IconButton as Vs, Typography as ke, Stack as Ft, Button as qr, Popper as M0, Fade as j0, Paper as _r, TextField as ps, Autocomplete as Q0, SpeedDial as N0, SpeedDialIcon as L0, Dialog as z0, DialogTitle as H0, DialogContent as F0, DialogActions as Y0, styled as Cr, Container as Lf, AppBar as V0, Toolbar as G0, Drawer as q0, Tooltip as ia, Divider as Vy, List as aa, ListItemButton as Ar, ListItemIcon as zr, ListItemText as Go, Collapse as U0, Popover as Gy, Grid as Wi, Avatar as uf, useMediaQuery as W0, FormControl as J0, OutlinedInput as X0, Grid2 as vi, Chip as Bh, TableCell as K0, TableContainer as Z0, Table as _0, TableHead as $0, TableRow as Dh, TableBody as ew, TablePagination as tw, CircularProgress as kh, StyledEngineProvider as Th, ThemeProvider as Mh, CssBaseline as jh, createTheme as Qh } from "@mui/material";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var JR=Object.defineProperty;var XR=(e,t,n)=>t in e?JR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ui=(e,t,n)=>XR(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./Loader-Dapxo4eI.cjs"),S=require("react"),N=require("@mui/material"),KR=require("@emotion/styled"),_n=require("@emotion/react"),wi=require("react-dom"),gr=require("@mui/icons-material"),Dt=require("react-router-dom"),yt=require("dayjs");function ay(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 v=ay(S),ZR=ay(wi);var Bs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const wn={palette:{mode:"light",navbar:{background:"#1976d2",foreground:"#ffffff"},sidebar:{background:"#ffffff",foreground:"#1976d2"},primary:{main:"#1976d2"},secondary:{main:"#dc004e"},background:{default:"#f5f5f5",paper:"#ffffff"},text:{primary:"#212121",secondary:"#757575"},neutral:{100:"#f6f9fc",200:"#e9ecef",300:"#dee2e6",400:"#ced4da",500:"#adb5bd",600:"#868e96",700:"#495057",800:"#343a40",900:"#212529"}},typography:{fontFamily:"Roboto",h1:{fontSize:"2.5rem",fontWeight:700,lineHeight:"3rem"},h2:{fontSize:"2rem",fontWeight:700,lineHeight:"2.5rem"},h3:{fontSize:"1.75rem",fontWeight:600,lineHeight:"2.25rem"},h4:{fontSize:"1.5rem",fontWeight:600,lineHeight:"2rem"},h5:{fontSize:"1.25rem",fontWeight:500,lineHeight:"1.75rem"},h6:{fontSize:"1rem",fontWeight:500,lineHeight:"1.5rem"},subtitle1:{fontSize:"1.125rem",fontWeight:400,lineHeight:"1.5rem"},subtitle2:{fontSize:"1rem",fontWeight:400,lineHeight:"1.25rem"},body1:{fontSize:"1rem",fontWeight:400,lineHeight:"1.5rem"},body2:{fontSize:"0.875rem",fontWeight:400,lineHeight:"1.25rem"},button:{fontSize:"0.875rem",fontWeight:500,lineHeight:"1.25rem",textTransform:"uppercase"},caption:{fontSize:"0.75rem",fontWeight:400,lineHeight:"1rem"},overline:{fontSize:"0.75rem",fontWeight:400,lineHeight:"1rem",textTransform:"uppercase"}}};function Sn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}var Os={exports:{}},tt={};/**
1
+ "use strict";var JR=Object.defineProperty;var XR=(e,t,n)=>t in e?JR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ui=(e,t,n)=>XR(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./Loader-DBfrAa2w.cjs"),S=require("react"),N=require("@mui/material"),KR=require("@emotion/styled"),_n=require("@emotion/react"),wi=require("react-dom"),gr=require("@mui/icons-material"),Dt=require("react-router-dom"),yt=require("dayjs");function ay(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 v=ay(S),ZR=ay(wi);var Bs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const wn={palette:{mode:"light",navbar:{background:"#1976d2",foreground:"#ffffff"},sidebar:{background:"#ffffff",foreground:"#1976d2"},primary:{main:"#1976d2"},secondary:{main:"#dc004e"},background:{default:"#f5f5f5",paper:"#ffffff"},text:{primary:"#212121",secondary:"#757575"},neutral:{100:"#f6f9fc",200:"#e9ecef",300:"#dee2e6",400:"#ced4da",500:"#adb5bd",600:"#868e96",700:"#495057",800:"#343a40",900:"#212529"}},typography:{fontFamily:"Roboto",h1:{fontSize:"2.5rem",fontWeight:700,lineHeight:"3rem"},h2:{fontSize:"2rem",fontWeight:700,lineHeight:"2.5rem"},h3:{fontSize:"1.75rem",fontWeight:600,lineHeight:"2.25rem"},h4:{fontSize:"1.5rem",fontWeight:600,lineHeight:"2rem"},h5:{fontSize:"1.25rem",fontWeight:500,lineHeight:"1.75rem"},h6:{fontSize:"1rem",fontWeight:500,lineHeight:"1.5rem"},subtitle1:{fontSize:"1.125rem",fontWeight:400,lineHeight:"1.5rem"},subtitle2:{fontSize:"1rem",fontWeight:400,lineHeight:"1.25rem"},body1:{fontSize:"1rem",fontWeight:400,lineHeight:"1.5rem"},body2:{fontSize:"0.875rem",fontWeight:400,lineHeight:"1.25rem"},button:{fontSize:"0.875rem",fontWeight:500,lineHeight:"1.25rem",textTransform:"uppercase"},caption:{fontSize:"0.75rem",fontWeight:400,lineHeight:"1rem"},overline:{fontSize:"0.75rem",fontWeight:400,lineHeight:"1rem",textTransform:"uppercase"}}};function Sn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}var Os={exports:{}},tt={};/**
2
2
  * @license React
3
3
  * react-is.production.js
4
4
  *
@@ -1,7 +1,7 @@
1
1
  import Br from "react";
2
2
  import * as oS from "react-dom";
3
3
  import M2 from "react-dom";
4
- import { L as IT } from "./Loader-Bm0TJUy6.js";
4
+ import { L as IT } from "./Loader-DI7qIiDV.js";
5
5
  var Hg = { exports: {} }, up = {}, Bg = { exports: {} }, fS = {};
6
6
  /**
7
7
  * @license React