@smart-factor/gem-ui-components 0.0.109 → 0.0.111

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 @@ var EI = (o, e, t) => e in o ? BI(o, e, { enumerable: !0, configurable: !0, writ
6
6
  var Vu = (o, e, t) => EI(o, typeof e != "symbol" ? e + "" : e, t), Zm = (o, e, t) => e.has(o) || $x("Cannot " + t);
7
7
  var Ct = (o, e, t) => (Zm(o, e, "read from private field"), t ? t.call(o) : e.get(o)), ba = (o, e, t) => e.has(o) ? $x("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(o) : e.set(o, t), gi = (o, e, t, n) => (Zm(o, e, "write to private field"), n ? n.call(o, t) : e.set(o, t), t), Di = (o, e, t) => (Zm(o, e, "access private method"), t);
8
8
  import { jsx as Dt, jsxs as ca, Fragment as E_ } from "react/jsx-runtime";
9
- import { S as jI, p as Wx, r as xl, s as av, a as Rf, n as LI, i as rv, b as Xx, t as PI, f as FI, c as NI, d as Yx, e as q5, g as II, u as Tp, h as Zx, G as sv, j as wA, k as vs, D as R5, B as Ep, l as Rw, m as MI, z as tu, o as j_, q as Q5, I as s_, A as G5, F as OI, U as Jx, v as qI, w as RI, x as QI, y as GI, T as VI, K as DI, Q as HI } from "./theme-B10ryfSl.js";
9
+ import { S as jI, p as Wx, r as xl, s as av, a as Rf, n as LI, i as rv, b as Xx, t as PI, f as FI, c as NI, d as Yx, e as q5, g as II, u as Tp, h as Zx, G as sv, j as wA, k as vs, D as R5, B as Ep, l as Rw, m as MI, z as tu, o as j_, q as Q5, I as s_, A as G5, F as OI, U as Jx, v as qI, w as RI, x as QI, y as GI, T as VI, K as DI, Q as HI } from "./theme-BLG8R3oq.js";
10
10
  import { c as V5, s as $i, F as pu, G as L_, E as D5, S as jp } from "./Stack-CP81SpOh.js";
11
11
  import * as uc from "react";
12
12
  import { createContext as UI, useContext as zI, useState as Ll, useCallback as sA, useEffect as hc, useMemo as Lp, useRef as KI } from "react";
package/dist/main.d.ts CHANGED
@@ -30,5 +30,7 @@ export * from './helpers';
30
30
  export { theme } from './theme/theme';
31
31
  export { Accordion, AccordionDetails, styled, type Theme, ThemeProvider, Typography, useTheme, } from '@mui/material';
32
32
  export { default as GemUIComponentsProvider } from './providers/GemUIComponentsProvider';
33
+ export { default as GemUILocalizationProvider } from './providers/GemUILocalizationProvider';
34
+ export { GemUIToaster } from './providers/GemUIToaster';
33
35
  export { DATA_GRID_LOCALE } from './consts/data-grid';
34
36
  export * from '@mui/x-data-grid-pro';
package/dist/main.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { jsx as l, jsxs as D, Fragment as yt } from "react/jsx-runtime";
2
2
  import { P as d, R as Nn, U as zn, V as Rn, W as Bn, q as Yn, X as Fn, c as Q, T as Me, Y as Vn, Z as Un, $ as Gn, f as bt, g as vt, h as Le, x as Oe, k as De, s as re, n as je, p as ce, e as Hn, A as Wn, C as X, N as Ee, a0 as qn, a1 as Kn, a2 as Vt, a3 as Ut, G as se, a4 as cr, a5 as Zn, L as Jn, j as be, I as Ae, E as Gr, i as St, F as le, S as Pe, a6 as Xn, a7 as He, _ as Qn } from "./Stack-CP81SpOh.js";
3
- import { C as eo, E as to, L as ro, H as no, J as Xe, M as oo, N as ao, O as so, P as io, R as co, V as wt, W as lo, X as uo, B as Fe, y as fo, l as lr, Y as po, Z as We, _ as ve, $ as Hr, a0 as Wr, a1 as ho, a2 as te, a3 as Se, a4 as mo, a5 as $e, a6 as Gt, a7 as ut, a8 as qr, a9 as Ie, aa as ft, ab as L, z as Kr, k as go, m as yo, G as bo, ac as vo, ad as Ht, ae as So, K as To, af as Co, ag as ne, ah as Wt, x as Zr, ai as ke, aj as xo, ak as wo, al as Mo, am as Oo, F as Po, an as Tt, ao as Eo, ap as Ao, aq as $o, ar as Jr, as as Lo, at as Xr, au as Qr, av as Do, aw as jo, ax as Io, ay as en, az as ko, aA as _o, aB as No, aC as zo, aD as Ro, aE as Bo, aF as Yo, aG as Fo, aH as Vo, aI as Uo, aJ as Go, aK as Ho, w as Wo, aL as qo, aM as tn, aN as rn, aO as nn, aP as Ko, aQ as Zo } from "./theme-B10ryfSl.js";
4
- import { aU as af, A as sf, D as cf, aV as lf, v as df, aW as uf, I as ff, aR as pf, aS as hf, T as mf, U as gf, aX as yf, aZ as bf, aT as vf, aY as Sf } from "./theme-B10ryfSl.js";
3
+ import { C as eo, E as to, L as ro, H as no, J as Xe, M as oo, N as ao, O as so, P as io, R as co, V as wt, W as lo, X as uo, B as Fe, y as fo, l as lr, Y as po, Z as We, _ as ve, $ as Hr, a0 as Wr, a1 as ho, a2 as te, a3 as Se, a4 as mo, a5 as $e, a6 as Gt, a7 as ut, a8 as qr, a9 as Ie, aa as ft, ab as L, z as Kr, k as go, m as yo, G as bo, ac as vo, ad as Ht, ae as So, K as To, af as Co, ag as ne, ah as Wt, x as Zr, ai as ke, aj as xo, ak as wo, al as Mo, am as Oo, F as Po, an as Tt, ao as Eo, ap as Ao, aq as $o, ar as Jr, as as Lo, at as Xr, au as Qr, av as Do, aw as jo, ax as Io, ay as en, az as ko, aA as _o, aB as No, aC as zo, aD as Ro, aE as Bo, aF as Yo, aG as Fo, aH as Vo, aI as Uo, aJ as Go, aK as Ho, w as Wo, aL as qo, aM as tn, aN as rn, aO as nn, aP as Ko, aQ as Zo } from "./theme-BLG8R3oq.js";
4
+ import { aU as sf, A as cf, D as lf, aV as df, v as uf, aW as ff, I as pf, aR as hf, aS as mf, T as gf, U as yf, aX as bf, aZ as vf, aT as Sf, aY as Tf } from "./theme-BLG8R3oq.js";
5
5
  import * as w from "react";
6
6
  import { useState as Y, useCallback as de, useEffect as Te, useLayoutEffect as Ue, useMemo as ie, Component as Jo, createElement as dr, createContext as Xo, useRef as Qo } from "react";
7
7
  import { e as on, P as an, i as ea } from "./Drawer-CR1frcWF.js";
8
- import { D as Cf, L as xf } from "./Drawer-CR1frcWF.js";
8
+ import { D as xf, L as wf } from "./Drawer-CR1frcWF.js";
9
9
  import ta, { createPortal as ra } from "react-dom";
10
10
  import { useSearchParams as qt, Link as na } from "react-router-dom";
11
11
  import { GridLogicOperator as oa, getGridBooleanOperators as aa, getGridNumericOperators as sa, getGridStringOperators as ia, GridToolbarContainer as ca, GridToolbarColumnsButton as la, GridToolbarFilterButton as da, GridToolbarDensitySelector as ua, DataGridPro as sn, useGridApiRef as fa } from "@mui/x-data-grid-pro";
12
12
  export * from "@mui/x-data-grid-pro";
13
13
  import { C as pa, a as ha } from "./Tree-6R0L5vqg.js";
14
- import { T as Of } from "./Tree-6R0L5vqg.js";
14
+ import { T as Pf } from "./Tree-6R0L5vqg.js";
15
15
  import { u as ma, w as ga } from "./warning-CJpi1iFg.js";
16
16
  const Kt = /* @__PURE__ */ w.createContext(null);
17
17
  process.env.NODE_ENV !== "production" && (Kt.displayName = "ThemeContext");
@@ -620,7 +620,7 @@ const Qe = {
620
620
  }, t;
621
621
  }
622
622
  }), La = $a;
623
- function mu({
623
+ function gu({
624
624
  theme: e,
625
625
  ...t
626
626
  }) {
@@ -1956,7 +1956,7 @@ process.env.NODE_ENV !== "production" && (fn.propTypes = {
1956
1956
  */
1957
1957
  value: d.any.isRequired
1958
1958
  });
1959
- const gu = ({
1959
+ const yu = ({
1960
1960
  isSub: e,
1961
1961
  ...t
1962
1962
  }) => /* @__PURE__ */ D(
@@ -1970,7 +1970,7 @@ const gu = ({
1970
1970
  t.children
1971
1971
  ]
1972
1972
  }
1973
- ), yu = ({ children: e, ...t }) => /* @__PURE__ */ l(Fe, { variant: "contained", startIcon: /* @__PURE__ */ l(fo, {}), ...t, children: e });
1973
+ ), bu = ({ children: e, ...t }) => /* @__PURE__ */ l(Fe, { variant: "contained", startIcon: /* @__PURE__ */ l(fo, {}), ...t, children: e });
1974
1974
  function os(e) {
1975
1975
  const t = e.split(",");
1976
1976
  return t.shift(), t.join(",");
@@ -2012,7 +2012,7 @@ function cs(e, t) {
2012
2012
  }
2013
2013
  const ls = Q(/* @__PURE__ */ l("path", {
2014
2014
  d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.89-2-2-2m0 16H5V7h14zm-5.5-6c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5 1.5.67 1.5 1.5M12 9c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"
2015
- }), "Preview"), bu = ({
2015
+ }), "Preview"), vu = ({
2016
2016
  href: e,
2017
2017
  fileName: t,
2018
2018
  size: n = "small"
@@ -2095,7 +2095,7 @@ const ls = Q(/* @__PURE__ */ l("path", {
2095
2095
  d: "M3 21h3.75L17.81 9.94l-3.75-3.75L3 17.25zm2-2.92 9.06-9.06.92.92L5.92 19H5zM18.37 3.29a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41z"
2096
2096
  }), "ModeEditOutlineOutlined"), ys = Q(/* @__PURE__ */ l("path", {
2097
2097
  d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
2098
- }), "Search"), vu = () => {
2098
+ }), "Search"), Su = () => {
2099
2099
  const [e, t] = Y(null);
2100
2100
  return {
2101
2101
  anchorEl: e,
@@ -2107,7 +2107,7 @@ const ls = Q(/* @__PURE__ */ l("path", {
2107
2107
  t(null);
2108
2108
  }
2109
2109
  };
2110
- }, Su = (e, t) => {
2110
+ }, Tu = (e, t) => {
2111
2111
  const [n, r] = Y(hr(e)), o = de(() => {
2112
2112
  var a;
2113
2113
  if ((a = t == null ? void 0 : t.current) != null && a.exportState && localStorage) {
@@ -2729,7 +2729,7 @@ function Yl() {
2729
2729
  (e) => e.value !== "isAnyOf"
2730
2730
  );
2731
2731
  }
2732
- function Tu(e) {
2732
+ function Cu(e) {
2733
2733
  return {
2734
2734
  type: "boolean",
2735
2735
  filterOperators: Yl(),
@@ -2744,7 +2744,7 @@ const xt = (e) => {
2744
2744
  function Fl(e) {
2745
2745
  return Pl(e) ? e : jl(e) ? String(e) : "";
2746
2746
  }
2747
- function Cu(e) {
2747
+ function xu(e) {
2748
2748
  return {
2749
2749
  type: "date",
2750
2750
  valueGetter: (t) => t && L(t).toDate(),
@@ -2752,7 +2752,7 @@ function Cu(e) {
2752
2752
  ...e
2753
2753
  };
2754
2754
  }
2755
- function xu(e) {
2755
+ function wu(e) {
2756
2756
  return {
2757
2757
  type: "dateTime",
2758
2758
  valueGetter: (t) => t && L(t).toDate(),
@@ -2765,7 +2765,7 @@ function Vl() {
2765
2765
  (e) => e.value !== "isAnyOf"
2766
2766
  );
2767
2767
  }
2768
- function wu(e) {
2768
+ function Mu(e) {
2769
2769
  return {
2770
2770
  type: "number",
2771
2771
  filterOperators: Vl(),
@@ -2773,7 +2773,7 @@ function wu(e) {
2773
2773
  ...e
2774
2774
  };
2775
2775
  }
2776
- function Mu(e) {
2776
+ function Ou(e) {
2777
2777
  return {
2778
2778
  ...e,
2779
2779
  sortable: !1,
@@ -2786,7 +2786,7 @@ function Ul() {
2786
2786
  (e) => e.value !== "isAnyOf"
2787
2787
  );
2788
2788
  }
2789
- function Ou(e) {
2789
+ function Pu(e) {
2790
2790
  return {
2791
2791
  type: "string",
2792
2792
  filterOperators: Ul(),
@@ -2820,7 +2820,7 @@ function Hl(e, t, n, r) {
2820
2820
  return i - c;
2821
2821
  });
2822
2822
  }
2823
- function Pu(e, t) {
2823
+ function Eu(e, t) {
2824
2824
  return Hl(e, t, "field", "field");
2825
2825
  }
2826
2826
  function Wl(e, t) {
@@ -2842,7 +2842,7 @@ function Kl(e, t) {
2842
2842
  message: "Sekcja musi być zapisana"
2843
2843
  }), Kr.NEVER) : e;
2844
2844
  }
2845
- const Eu = {
2845
+ const Au = {
2846
2846
  required: Wl,
2847
2847
  nullToUndefined: ql,
2848
2848
  saved: Kl
@@ -3009,7 +3009,7 @@ function id(e) {
3009
3009
  function Dn(e) {
3010
3010
  return !!e.items.length;
3011
3011
  }
3012
- const Au = ({
3012
+ const $u = ({
3013
3013
  placeholder: e,
3014
3014
  tab: t = tr.ALL,
3015
3015
  entityType: n,
@@ -3103,7 +3103,7 @@ function ld(e) {
3103
3103
  function dd(e) {
3104
3104
  return e ? { mine: e } : void 0;
3105
3105
  }
3106
- const $u = ({
3106
+ const Lu = ({
3107
3107
  value: e,
3108
3108
  children: t,
3109
3109
  dataTestId: n
@@ -3240,8 +3240,8 @@ const hd = "error-message", md = (e) => {
3240
3240
  )
3241
3241
  ] })
3242
3242
  ] }) });
3243
- }, Du = ({ children: e }) => /* @__PURE__ */ l(fd, { fallbackRender: md, children: e });
3244
- function ju({
3243
+ }, ju = ({ children: e }) => /* @__PURE__ */ l(fd, { fallbackRender: md, children: e });
3244
+ function Iu({
3245
3245
  primaryLabel: e,
3246
3246
  primaryLoading: t,
3247
3247
  primaryOnClick: n,
@@ -3525,7 +3525,7 @@ const Pd = (e) => /* @__PURE__ */ D(an, { children: [
3525
3525
  }
3526
3526
  )
3527
3527
  ] });
3528
- function Iu(e) {
3528
+ function ku(e) {
3529
3529
  return /* @__PURE__ */ l(
3530
3530
  ke,
3531
3531
  {
@@ -3548,7 +3548,7 @@ function Iu(e) {
3548
3548
  }
3549
3549
  );
3550
3550
  }
3551
- const ku = ({
3551
+ const _u = ({
3552
3552
  name: e,
3553
3553
  control: t,
3554
3554
  label: n,
@@ -3599,7 +3599,7 @@ const ku = ({
3599
3599
  u.error && /* @__PURE__ */ l(wo, { error: !0, children: u.error.message })
3600
3600
  ] })
3601
3601
  }
3602
- )), _u = ({
3602
+ )), Nu = ({
3603
3603
  name: e,
3604
3604
  control: t,
3605
3605
  label: n,
@@ -3645,7 +3645,7 @@ const ku = ({
3645
3645
  ] });
3646
3646
  }
3647
3647
  }
3648
- )), Nu = ({
3648
+ )), zu = ({
3649
3649
  name: e,
3650
3650
  label: t,
3651
3651
  control: n,
@@ -3729,7 +3729,7 @@ function Ed({
3729
3729
  }
3730
3730
  ) });
3731
3731
  }
3732
- const zu = ({
3732
+ const Ru = ({
3733
3733
  name: e,
3734
3734
  control: t,
3735
3735
  label: n,
@@ -3811,7 +3811,7 @@ const zu = ({
3811
3811
  ] });
3812
3812
  }
3813
3813
  }
3814
- ), Ru = ({
3814
+ ), Bu = ({
3815
3815
  name: e,
3816
3816
  control: t,
3817
3817
  label: n,
@@ -3931,7 +3931,7 @@ const Ad = (e) => {
3931
3931
  exportDataAsExcel: e.exportDataAsExcel
3932
3932
  }
3933
3933
  )
3934
- ] }), Bu = ({
3934
+ ] }), Yu = ({
3935
3935
  rowsData: e,
3936
3936
  isLoading: t,
3937
3937
  gridApiRef: n,
@@ -4015,11 +4015,11 @@ function Dd(e) {
4015
4015
  return {};
4016
4016
  }
4017
4017
  }
4018
- const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4018
+ const Fu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4019
4019
  __proto__: null,
4020
4020
  getGridInitialStateFromStorage: Ft,
4021
4021
  useGridInitialState: $d
4022
- }, Symbol.toStringTag, { value: "Module" })), Fu = ({
4022
+ }, Symbol.toStringTag, { value: "Module" })), Vu = ({
4023
4023
  label: e,
4024
4024
  children: t,
4025
4025
  required: n,
@@ -4028,7 +4028,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4028
4028
  /* @__PURE__ */ l(_o, { error: !!r, required: n, children: e }),
4029
4029
  t,
4030
4030
  r && /* @__PURE__ */ l(Wt, { error: !0, children: r })
4031
- ] }), Vu = ({
4031
+ ] }), Uu = ({
4032
4032
  direction: e,
4033
4033
  children: t,
4034
4034
  isOpen: n,
@@ -4042,7 +4042,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4042
4042
  }, [t]);
4043
4043
  const f = () => e === "horizontal" ? n ? u : r : "auto", p = () => e === "vertical" ? n ? s : o : "auto";
4044
4044
  return /* @__PURE__ */ l(No, { width: f(), height: p(), children: /* @__PURE__ */ l(zo, { ref: c, children: t }) });
4045
- }, Uu = ({
4045
+ }, Gu = ({
4046
4046
  options: e,
4047
4047
  label: t,
4048
4048
  placeholder: n,
@@ -4073,7 +4073,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4073
4073
  ),
4074
4074
  ...c
4075
4075
  }
4076
- ), Gu = ({
4076
+ ), Hu = ({
4077
4077
  sx: e,
4078
4078
  errorMessage: t,
4079
4079
  ...n
@@ -4086,7 +4086,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4086
4086
  helperText: t,
4087
4087
  ...n
4088
4088
  }
4089
- ) }), Hu = ({
4089
+ ) }), Wu = ({
4090
4090
  id: e,
4091
4091
  value: t,
4092
4092
  label: n,
@@ -4107,7 +4107,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4107
4107
  children: o.map(({ value: s, label: i }) => /* @__PURE__ */ l(ne, { value: s, children: i }, s))
4108
4108
  }
4109
4109
  )
4110
- ] }), Wu = ({
4110
+ ] }), qu = ({
4111
4111
  steps: e,
4112
4112
  activeStep: t,
4113
4113
  setActiveStep: n,
@@ -4120,7 +4120,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4120
4120
  r == null ? void 0 : r[t]
4121
4121
  ] });
4122
4122
  };
4123
- function qu({
4123
+ function Ku({
4124
4124
  children: e,
4125
4125
  top: t = "0",
4126
4126
  withBoxShadow: n,
@@ -4139,7 +4139,7 @@ function qu({
4139
4139
  }
4140
4140
  );
4141
4141
  }
4142
- const Ku = (e) => {
4142
+ const Zu = (e) => {
4143
4143
  const t = {
4144
4144
  vertical: "bottom",
4145
4145
  horizontal: "right"
@@ -4157,7 +4157,7 @@ const Ku = (e) => {
4157
4157
  }
4158
4158
  ) });
4159
4159
  };
4160
- function Zu(e) {
4160
+ function Ju(e) {
4161
4161
  const t = Ho(), n = () => {
4162
4162
  var o;
4163
4163
  (o = t == null ? void 0 : t.onClose) == null || o.call(t);
@@ -4179,7 +4179,7 @@ function Zu(e) {
4179
4179
  function jd(e) {
4180
4180
  return e instanceof Object && "to" in e;
4181
4181
  }
4182
- const Ju = (e) => /* @__PURE__ */ D(Pe, { direction: "row", display: "inline-flex", children: [
4182
+ const Xu = (e) => /* @__PURE__ */ D(Pe, { direction: "row", display: "inline-flex", children: [
4183
4183
  e.onEdit && /* @__PURE__ */ l(le, { children: /* @__PURE__ */ l(
4184
4184
  Ae,
4185
4185
  {
@@ -4200,7 +4200,7 @@ const Ju = (e) => /* @__PURE__ */ D(Pe, { direction: "row", display: "inline-fle
4200
4200
  children: /* @__PURE__ */ l(Wo, { fontSize: "inherit" })
4201
4201
  }
4202
4202
  ) })
4203
- ] }), Xu = ({ children: e, loading: t }) => e, Qu = ({
4203
+ ] }), Qu = ({ children: e, loading: t }) => e, ef = ({
4204
4204
  rowsData: e,
4205
4205
  paginationAndSortState: t,
4206
4206
  setPaginationAndSortState: n,
@@ -4304,7 +4304,7 @@ const Ju = (e) => /* @__PURE__ */ D(Pe, { direction: "row", display: "inline-fle
4304
4304
  ...h && { getRowId: h }
4305
4305
  }
4306
4306
  ) });
4307
- }, ef = (e, t) => {
4307
+ }, tf = (e, t) => {
4308
4308
  tn.custom(
4309
4309
  (n) => /* @__PURE__ */ D(rn, { type: "info", children: [
4310
4310
  /* @__PURE__ */ l(ms, {}),
@@ -4312,7 +4312,7 @@ const Ju = (e) => /* @__PURE__ */ D(Pe, { direction: "row", display: "inline-fle
4312
4312
  ] }),
4313
4313
  t
4314
4314
  );
4315
- }, tf = (e, t) => {
4315
+ }, rf = (e, t) => {
4316
4316
  tn.custom(
4317
4317
  (n) => /* @__PURE__ */ D(rn, { type: "success", children: [
4318
4318
  /* @__PURE__ */ l(fs, {}),
@@ -4793,99 +4793,103 @@ class nu {
4793
4793
  return t.day() + 1;
4794
4794
  }
4795
4795
  }
4796
- const ou = () => /* @__PURE__ */ l(
4797
- Ko,
4796
+ const ou = ({
4797
+ children: e
4798
+ }) => /* @__PURE__ */ l(Ko, { dateAdapter: nu, adapterLocale: "pl", children: e }), au = () => /* @__PURE__ */ l(
4799
+ Zo,
4798
4800
  {
4799
4801
  position: "top-right",
4800
4802
  toastOptions: {
4801
4803
  duration: 8e3
4802
4804
  }
4803
4805
  }
4804
- ), rf = ({
4806
+ ), nf = ({
4805
4807
  children: e
4806
- }) => /* @__PURE__ */ D(Zo, { dateAdapter: nu, adapterLocale: "pl", children: [
4807
- /* @__PURE__ */ l(ou, {}),
4808
+ }) => /* @__PURE__ */ D(ou, { children: [
4809
+ /* @__PURE__ */ l(au, {}),
4808
4810
  e
4809
4811
  ] });
4810
4812
  export {
4811
- af as ACCEPTED_FILE_TYPES,
4813
+ sf as ACCEPTED_FILE_TYPES,
4812
4814
  _a as Accordion,
4813
4815
  Ba as AccordionDetails,
4814
- gu as AccordionSummary,
4815
- sf as Autocomplete,
4816
+ yu as AccordionSummary,
4817
+ cf as Autocomplete,
4816
4818
  Fe as Button,
4817
- yu as ButtonAdd,
4818
- bu as ButtonPreviewAttachment,
4819
+ bu as ButtonAdd,
4820
+ vu as ButtonPreviewAttachment,
4819
4821
  ds as ButtonWithIcon,
4820
- Ku as ContextMenu,
4821
- Zu as ContextMenuItem,
4822
+ Zu as ContextMenu,
4823
+ Ju as ContextMenuItem,
4822
4824
  Od as ContextualSearch,
4823
- Iu as ContextualSearchControlled,
4825
+ ku as ContextualSearchControlled,
4824
4826
  en as DATA_GRID_LOCALE,
4825
- ku as DatePicker,
4826
- _u as DateTimePicker,
4827
- cf as Dialog,
4828
- Cf as Drawer,
4829
- lf as Dropzone,
4830
- df as DropzoneField,
4831
- uf as ElementsPicker,
4832
- $u as ElementsPickerElement,
4833
- Du as ErrorBoundary,
4834
- ju as FixedActionsBottomPanel,
4835
- rf as GemUIComponentsProvider,
4836
- Bu as Grid,
4837
- Yu as GridInitialState,
4838
- ff as Input,
4839
- xf as LoadingBackdrop,
4840
- pf as LoginModal,
4841
- Fu as MuiLikeWrapper,
4842
- hf as PaginatedPopover,
4843
- Nu as RadioChips,
4844
- Vu as ResizableWrapper,
4827
+ _u as DatePicker,
4828
+ Nu as DateTimePicker,
4829
+ lf as Dialog,
4830
+ xf as Drawer,
4831
+ df as Dropzone,
4832
+ uf as DropzoneField,
4833
+ ff as ElementsPicker,
4834
+ Lu as ElementsPickerElement,
4835
+ ju as ErrorBoundary,
4836
+ Iu as FixedActionsBottomPanel,
4837
+ nf as GemUIComponentsProvider,
4838
+ ou as GemUILocalizationProvider,
4839
+ au as GemUIToaster,
4840
+ Yu as Grid,
4841
+ Fu as GridInitialState,
4842
+ pf as Input,
4843
+ wf as LoadingBackdrop,
4844
+ hf as LoginModal,
4845
+ Vu as MuiLikeWrapper,
4846
+ mf as PaginatedPopover,
4847
+ zu as RadioChips,
4848
+ Uu as ResizableWrapper,
4845
4849
  Ed as SearchInput,
4846
- zu as Select,
4847
- Uu as SimpleAutocomplete,
4848
- Gu as SimpleInput,
4849
- Hu as SimpleSelect,
4850
- Wu as Stepper,
4851
- qu as StickyContainer,
4852
- Ju as TableActions,
4853
- Xu as TableRecord,
4854
- Qu as TableWithPagination,
4855
- mf as TabsPanel,
4856
- mu as ThemeProvider,
4857
- Ru as TimePicker,
4858
- Of as Tree,
4850
+ Ru as Select,
4851
+ Gu as SimpleAutocomplete,
4852
+ Hu as SimpleInput,
4853
+ Wu as SimpleSelect,
4854
+ qu as Stepper,
4855
+ Ku as StickyContainer,
4856
+ Xu as TableActions,
4857
+ Qu as TableRecord,
4858
+ ef as TableWithPagination,
4859
+ gf as TabsPanel,
4860
+ gu as ThemeProvider,
4861
+ Bu as TimePicker,
4862
+ Pf as Tree,
4859
4863
  se as Typography,
4860
- gf as UPLOADED_FILE_MAX_SIZE,
4864
+ yf as UPLOADED_FILE_MAX_SIZE,
4861
4865
  cs as downloadFileFromUrl,
4862
- yf as errorToast,
4866
+ bf as errorToast,
4863
4867
  Gl as formatDate,
4864
4868
  En as formatDateTime,
4865
4869
  as as getBase64FromUrl,
4866
- Tu as getBooleanColumn,
4867
- Cu as getDateColumn,
4868
- xu as getDateTimeColumn,
4869
- bf as getErrorMessage,
4870
+ Cu as getBooleanColumn,
4871
+ xu as getDateColumn,
4872
+ wu as getDateTimeColumn,
4873
+ vf as getErrorMessage,
4870
4874
  is as getFileExtension,
4871
- wu as getNumericColumn,
4872
- Mu as getStaticColumn,
4873
- Ou as getStringColumn,
4874
- ef as infoToast,
4875
+ Mu as getNumericColumn,
4876
+ Ou as getStaticColumn,
4877
+ Pu as getStringColumn,
4878
+ tf as infoToast,
4875
4879
  ss as openBase64InNewTab,
4876
4880
  os as removeBase64Metadata,
4877
4881
  Hl as sortArrayByAnotherArray,
4878
- Pu as sortColumns,
4882
+ Eu as sortColumns,
4879
4883
  re as styled,
4880
- tf as successToast,
4881
- vf as theme,
4882
- vu as useContextMenu,
4883
- Su as useDataGridInitialState,
4884
+ rf as successToast,
4885
+ Sf as theme,
4886
+ Su as useContextMenu,
4887
+ Tu as useDataGridInitialState,
4884
4888
  Ss as useDataGridState,
4885
- Sf as useGetFileUrl,
4889
+ Tf as useGetFileUrl,
4886
4890
  Il as useMemoByValue,
4887
4891
  kl as useScrollPosition,
4888
- Au as useTableQuery,
4892
+ $u as useTableQuery,
4889
4893
  St as useTheme,
4890
- Eu as zodTransforms
4894
+ Au as zodTransforms
4891
4895
  };
@@ -0,0 +1,4 @@
1
+ declare const GemUILocalizationProvider: ({ children, }: {
2
+ children: React.ReactNode;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default GemUILocalizationProvider;
@@ -0,0 +1 @@
1
+ export declare const GemUIToaster: () => import("react/jsx-runtime").JSX.Element;