@smart-factor/gem-ui-components 0.0.78 → 0.0.80

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.
@@ -1,5 +1,5 @@
1
1
  import pt, { jsx as x, jsxs as de } from "react/jsx-runtime";
2
- import { a as Z, P as n, _ as f, o as q, C as ft, b as H, e as mt, s as ge, g as ye, h as ht, i as bt, j as vt, k as Ee, l as Y, m as gt, n as yt, p as Q, q as ee, r as L, t as $e, v as te, w as z, x as pe, y as V, z as ne, A as He, B as Ue, D as le, E as ze, F as We, G as Et, H as Me, I as xt, J as Tt, K as kt, S as ke, L as Pt, M as Rt, N as Nt } from "./Stack-B3SBR1st.js";
2
+ import { a as Z, P as n, _ as f, o as q, C as ft, b as H, e as mt, s as ge, g as ye, h as ht, i as bt, j as vt, k as Ee, l as Y, m as gt, n as yt, p as Q, q as ee, r as L, t as $e, v as te, w as z, x as pe, y as V, z as ne, A as He, B as Ue, D as le, E as ze, F as We, G as Et, H as Me, I as xt, J as Tt, K as kt, S as ke, L as Pt, M as Rt, N as Nt } from "./Stack-CU3sSZaK.js";
3
3
  import * as u from "react";
4
4
  import * as wt from "react-dom";
5
5
  var be = {};
@@ -17,12 +17,12 @@ var T_ = (o, e, t, n) => ({
17
17
  import Gk, { jsx as Wt, jsxs as Fr, Fragment as Mb } from "react/jsx-runtime";
18
18
  import * as vr from "react";
19
19
  import { useCallback as pd, createContext as iQ, useContext as rQ, useState as kc, useEffect as uu, useMemo as Hm, useRef as aQ } from "react";
20
- import { aj as sQ, al as lQ, G as Ix, am as Mx, an as A0, ao as cQ, a8 as tN, B as Um, ap as Rb, ah as eb, ai as nN, v as uQ, ad as h2, af as dQ, a2 as AQ, n as hQ, f as pQ, aa as gQ } from "./theme-BV7qvYZi.js";
21
- import { C as oN, r as Qk } from "./Drawer-AZWlL1mS.js";
20
+ import { aj as sQ, al as lQ, G as Ix, am as Mx, an as A0, ao as cQ, a8 as tN, B as Um, ap as Rb, ah as eb, ai as nN, v as uQ, ad as h2, af as dQ, a2 as AQ, n as hQ, f as pQ, aa as gQ } from "./theme-6BrOzZN-.js";
21
+ import { C as oN, r as Qk } from "./Drawer-CldXrceX.js";
22
22
  import "react-dom";
23
23
  import "@mui/x-data-grid-pro";
24
24
  import "react-router-dom";
25
- import { r as ur, K as Ed, M as Gb, n as mQ, a9 as p2, aa as fQ, S as zm, L as Dk } from "./Stack-B3SBR1st.js";
25
+ import { r as ur, K as Ed, M as Gb, n as mQ, a9 as p2, aa as fQ, S as zm, L as Dk } from "./Stack-CU3sSZaK.js";
26
26
  var ag = class {
27
27
  constructor() {
28
28
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -6573,23 +6573,24 @@ export {
6573
6573
  Jr as ab,
6574
6574
  ko as ac,
6575
6575
  Mu as ad,
6576
- Zo as ae,
6577
- Yu as af,
6578
- Vl as ag,
6579
- fa as ah,
6580
- Zi as ai,
6581
- Re as aj,
6582
- cr as ak,
6583
- Sr as al,
6584
- Pe as am,
6585
- du as an,
6586
- Yt as ao,
6587
- Qr as ap,
6588
- Au as aq,
6589
- Ho as ar,
6590
- Je as as,
6591
- He as at,
6592
- Ke as au,
6576
+ Uu as ae,
6577
+ Zo as af,
6578
+ Yu as ag,
6579
+ Vl as ah,
6580
+ fa as ai,
6581
+ Zi as aj,
6582
+ Re as ak,
6583
+ cr as al,
6584
+ Sr as am,
6585
+ Pe as an,
6586
+ du as ao,
6587
+ Yt as ap,
6588
+ Qr as aq,
6589
+ Au as ar,
6590
+ Ho as as,
6591
+ Je as at,
6592
+ He as au,
6593
+ Ke as av,
6593
6594
  be as b,
6594
6595
  Xi as c,
6595
6596
  Xo as d,
@@ -1,8 +1,8 @@
1
1
  import { jsx as w, jsxs as ve } from "react/jsx-runtime";
2
2
  import * as x from "react";
3
3
  import { createElement as Wt } from "react";
4
- import { p as fe, q as me, r as U, _ as D, v as nt, O as Jt, A as Gt, w as Le, x as Ht, Q as Yt, l as de, y as Ie, P as r, R as ot, z as ge, D as Qe, U as Qt, I as rt, j as Zt, V as it, b as ue, e as te, t as en, h as tn, k as G, o as nn, J as on, g as rn, H as ce, W as sn, X as st, Y as ie, G as Ze, i as ln, K as an, S as cn, M as dn, N as un } from "./Stack-B3SBR1st.js";
5
- import { u as pn, a as fn, b as X } from "./useFormControl-K73YLReg.js";
4
+ import { p as fe, q as me, r as U, _ as D, v as nt, O as Jt, A as Gt, w as Le, x as Ht, Q as Yt, l as de, y as Ie, P as r, R as ot, z as ge, D as Qe, U as Qt, I as rt, j as Zt, V as it, b as ue, e as te, t as en, h as tn, k as G, o as nn, J as on, g as rn, H as ce, W as sn, X as st, Y as ie, G as Ze, i as ln, K as an, S as cn, M as dn, N as un } from "./Stack-CU3sSZaK.js";
5
+ import { u as pn, a as fn, b as X } from "./useFormControl-v82Vw7n0.js";
6
6
  function mn(e) {
7
7
  return fe("MuiCollapse", e);
8
8
  }
@@ -1,4 +1,4 @@
1
- import { D as e } from "../../Drawer-AZWlL1mS.js";
1
+ import { D as e } from "../../Drawer-CldXrceX.js";
2
2
  export {
3
3
  e as Drawer
4
4
  };
@@ -13,6 +13,8 @@ export interface PaginatedPopoverProps<T> {
13
13
  width?: string;
14
14
  height?: string;
15
15
  title: string;
16
- children: React.ReactNode | Array<React.ReactNode | ((item: T) => React.ReactNode)>;
16
+ children: React.ReactNode | Array<React.ReactNode | ((item: T) => React.ReactNode)> | ((item: T & {
17
+ id: string | number;
18
+ }) => ReactNode) | ReactNode;
17
19
  Icon: ReactNode;
18
20
  }
@@ -10,5 +10,6 @@ export interface TabsPanelProps {
10
10
  onChange?: (value: number) => void;
11
11
  defaultTab?: number;
12
12
  extraComponent?: JSX.Element;
13
+ fullWidth?: boolean;
13
14
  }
14
- export declare const TabsPanel: ({ tabs, children, onChange, defaultTab, extraComponent, }: TabsPanelProps) => import("react/jsx-runtime").JSX.Element | null;
15
+ export declare const TabsPanel: ({ tabs, children, onChange, defaultTab, extraComponent, fullWidth, }: TabsPanelProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,8 +1,17 @@
1
1
  import { TabProps } from './TabsPanel';
2
2
 
3
3
  export declare const StyledTab: import('@emotion/styled').StyledComponent<TabProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
4
+ export declare const StyledWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').StackBaseProps & {
5
+ sx?: import('@mui/material').SxProps<import('@mui/system').Theme> | undefined;
6
+ } & import('@mui/system').SystemProps<import('@mui/system').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
+ ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
8
+ }, "sx" | ("p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | keyof import('@mui/system').StackBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
9
+ fullWidth?: boolean | undefined;
10
+ }, {}, {}>;
4
11
  export declare const StyledTabs: import('@emotion/styled').StyledComponent<import('@mui/material').TabsOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
12
  ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
6
13
  }, "className" | "style" | "classes" | "action" | "children" | "sx" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "variant" | "slots" | "slotProps" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
7
14
  component?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
- } & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
15
+ } & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
16
+ fullWidth?: boolean | undefined;
17
+ }, {}, {}>;
@@ -1,4 +1,4 @@
1
- import { T as o } from "../../Tree-DjhO_q-b.js";
1
+ import { T as o } from "../../Tree-zB7xEw6c.js";
2
2
  export {
3
3
  o as Tree
4
4
  };
package/dist/main.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import te, { jsx as a, jsxs as k, Fragment as at } from "react/jsx-runtime";
2
- import { L as re, P as l, _ as x, Z as Wt, $ as Gt, a0 as qt, a1 as Zt, w as N, T as qe, Y as Xt, a2 as Jt, l as Kt, a3 as Qt, q as ye, p as ve, r as R, v as Z, j as er, y as X, a as tr, a4 as rr, z as J, E as Ye, b as z, F as ze, J as or, a5 as nr, a6 as sr, M as q, U as ir, a7 as ar, x as Te, e as oe, K as H, a8 as lr, S as Ne, a9 as ne, aa as se, N as pe } from "./Stack-B3SBR1st.js";
3
- import { r as ie, e as lt, P as ct, i as cr, C as dr } from "./Drawer-AZWlL1mS.js";
4
- import { D as ii, L as ai } from "./Drawer-AZWlL1mS.js";
5
- import { A as ur, l as Ze, L as hr, g as fr, S as pr, a as mr, t as Xe, T as gr, b as br, c as yr, d as vr, e as Tr, B as ee, f as xr, G as Cr, i as Mr, h as Or, F as Sr, j as Dr, k as dt, M as A, m as Ie, n as ut, C as K, o as P, w as Pr, p as je, q as Lr, r as kr, s as wr, u as Er, v as $r, x as xe, y as _r, z as Yr, D as zr, I as ht, E as Nr, H as ft, J as pt, K as Ir, N as jr, O as Ar, P as mt, Q as Rr, R as Br, U as Fr, V as Vr, W as Ur, X as Hr, Y as Wr, Z as Gr, _ as qr, $ as Zr, a0 as Xr, a1 as Jr, a2 as Kr, a3 as Qr, a4 as gt, a5 as bt, a6 as yt, a7 as eo } from "./theme-BV7qvYZi.js";
6
- import { ac as ci, ai as di, a8 as ui, ae as hi, af as fi, ag as pi, ah as mi, a9 as gi, aa as bi, ad as yi, aj as vi, al as Ti, ab as xi, ak as Ci } from "./theme-BV7qvYZi.js";
2
+ import { L as re, P as l, _ as x, Z as Wt, $ as Gt, a0 as qt, a1 as Zt, w as N, T as qe, Y as Xt, a2 as Jt, l as Kt, a3 as Qt, q as ye, p as ve, r as R, v as Z, j as er, y as X, a as tr, a4 as rr, z as J, E as Ye, b as z, F as ze, J as or, a5 as nr, a6 as sr, M as q, U as ir, a7 as ar, x as Te, e as oe, K as H, a8 as lr, S as Ne, a9 as ne, aa as se, N as pe } from "./Stack-CU3sSZaK.js";
3
+ import { r as ie, e as lt, P as ct, i as cr, C as dr } from "./Drawer-CldXrceX.js";
4
+ import { D as ii, L as ai } from "./Drawer-CldXrceX.js";
5
+ import { A as ur, l as Ze, L as hr, g as fr, S as pr, a as mr, t as Xe, T as gr, b as br, c as yr, d as vr, e as Tr, B as ee, f as xr, G as Cr, i as Mr, h as Or, F as Sr, j as Dr, k as dt, M as A, m as Ie, n as ut, C as K, o as P, w as Pr, p as je, q as Lr, r as kr, s as wr, u as Er, v as $r, x as xe, y as _r, z as Yr, D as zr, I as ht, E as Nr, H as ft, J as pt, K as Ir, N as jr, O as Ar, P as mt, Q as Rr, R as Br, U as Fr, V as Vr, W as Ur, X as Hr, Y as Wr, Z as Gr, _ as qr, $ as Zr, a0 as Xr, a1 as Jr, a2 as Kr, a3 as Qr, a4 as gt, a5 as bt, a6 as yt, a7 as eo } from "./theme-6BrOzZN-.js";
6
+ import { ac as ci, ai as di, a8 as ui, ae as hi, af as fi, ag as pi, ah as mi, a9 as gi, aa as bi, ad as yi, aj as vi, al as Ti, ab as xi, ak as Ci } from "./theme-6BrOzZN-.js";
7
7
  import * as L from "react";
8
8
  import { useState as F, useCallback as me, useLayoutEffect as vt, useEffect as Ce, useMemo as Tt, useRef as to } from "react";
9
- import { b as de } from "./useFormControl-K73YLReg.js";
9
+ import { b as de } from "./useFormControl-v82Vw7n0.js";
10
10
  import ro, { createPortal as oo } from "react-dom";
11
11
  import { GridToolbarContainer as no, GridToolbarColumnsButton as so, GridToolbarFilterButton as io, GridToolbarDensitySelector as ao, DataGridPro as xt, useGridApiRef as lo, getGridBooleanOperators as co, getGridNumericOperators as uo, getGridStringOperators as ho } from "@mui/x-data-grid-pro";
12
12
  export * from "@mui/x-data-grid-pro";
13
13
  import { Link as fo } from "react-router-dom";
14
- import { C as po, a as mo } from "./Tree-DjhO_q-b.js";
15
- import { T as Si } from "./Tree-DjhO_q-b.js";
14
+ import { C as po, a as mo } from "./Tree-zB7xEw6c.js";
15
+ import { T as Si } from "./Tree-zB7xEw6c.js";
16
16
  var Ae = {}, go = re;
17
17
  Object.defineProperty(Ae, "__esModule", {
18
18
  value: !0