@amateescu/portal-ui-components 0.0.7-beta0 → 0.0.7-beta2

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,8 +1,9 @@
1
1
  import { jsx as _e, jsxs as xn } from "react/jsx-runtime";
2
2
  import * as g from "react";
3
3
  import P, { useContext as pe, useRef as te, forwardRef as ft, useState as st, useEffect as Ne, useMemo as Se, createRef as ho, Children as vo } from "react";
4
- import { X as po, Y as Tt, I as Ye, d as M, Z as gt, H as Ae, q as D, $ as yo, a0 as bo, h as lt, C as mt, g as K, m as Xt, R as Fe, k as ht, p as Co, s as xo, y as E, _ as Yt, a as Re, b as Zt, e as Ze, c as Ie, j as ue, D as Eo, i as nr, K as de, L as Je, a1 as Et, J as rr, Q as or, M as Y, a2 as ir, a3 as wo, U as So, E as Fo, a4 as Oo, u as $o, w as En, v as Po, a5 as wn, x as Sn, P as No, B as le, a6 as Ro, a7 as Io, a8 as ke, a9 as Oe, aa as we, A as Fn, t as Vo, T as Jt, ab as To, ac as ar, ad as _o, N as Mo, S as sr, G as ct, W as Lo, V as Ho, ae as Qt, af as Bo, ag as jo, ah as lr } from "../../Skeleton-BB4Y_Her.js";
5
- import { _ as ne, R as Do } from "../../toPropertyKey-DMiYgyB_.js";
4
+ import { X as po, Y as Tt, I as Ye, d as M, Z as gt, H as Ae, q as D, $ as yo, a0 as bo, h as lt, C as mt, g as K, m as Xt, R as Fe, k as ht, p as Co, s as xo, y as E, _ as Yt, a as Re, b as Zt, e as Ze, c as Ie, j as ue, D as Eo, i as nr, K as de, L as Je, a1 as Et, J as rr, Q as or, M as Y, a2 as ir, a3 as wo, U as So, E as Fo, a4 as Oo, u as $o, w as En, v as Po, a5 as wn, x as Sn, P as No, B as le, a6 as Ro, a7 as Io, a8 as ke, a9 as Oe, aa as we, A as Fn, t as Vo, T as Jt, ab as To, ac as ar, ad as _o, N as Mo, S as sr, G as ct, W as Lo, V as Ho, ae as Qt, af as Bo, ag as jo, ah as lr } from "../../Skeleton-DsmxphyA.js";
5
+ import { _ as ne } from "../../toPropertyKey-Dgu5PCQm.js";
6
+ import { a as Do } from "../../index-D2lG1Jv0.js";
6
7
  import { a as se } from "../../index-kNWC7pFF.js";
7
8
  import { _ as cr, a as k } from "../../assertThisInitialized-BUtkG-md.js";
8
9
  import '../../assets/index3.css';const Ao = (e) => /* @__PURE__ */ g.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M13 16H12V12H11M12 8H12.01M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), zo = (e) => /* @__PURE__ */ g.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M5 13L9 17L19 7", stroke: "#12121A", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Wo = "_flexRowCenter_14ewh_1", qo = "_mr10_14ewh_7", Go = "_text18_14ewh_15", Uo = "_content_14ewh_19", Ge = {
@@ -6113,7 +6114,7 @@ ve.destroyAll = function() {
6113
6114
  ve.config = Qs;
6114
6115
  ve._InternalPanelDoNotUseOrYouWillBeFired = ll;
6115
6116
  process.env.NODE_ENV !== "production" && (ve.displayName = "Modal");
6116
- function hl({ modalOpen: e, contentText: t, setModalOpen: n, title: r, okText: o }) {
6117
+ function vl({ modalOpen: e, contentText: t, setModalOpen: n, title: r, okText: o }) {
6117
6118
  return /* @__PURE__ */ _e(
6118
6119
  ve,
6119
6120
  {
@@ -6145,5 +6146,5 @@ function hl({ modalOpen: e, contentText: t, setModalOpen: n, title: r, okText: o
6145
6146
  );
6146
6147
  }
6147
6148
  export {
6148
- hl as InfoModal
6149
+ vl as InfoModal
6149
6150
  };
@@ -3,9 +3,10 @@ import { LoadingAnimation as li } from "../LoadingAnimation/index.js";
3
3
  import si from "../../utils/cn.js";
4
4
  import * as i from "react";
5
5
  import ot, { useState as qe, useMemo as Nn, useCallback as Qt, forwardRef as ci, useRef as Fe, useImperativeHandle as ui, createContext as di, useEffect as Mt } from "react";
6
- import { _ as ua, a as da, b as fa, c as va, s as Xn, u as Jn, f as dr, d as V, t as xr, w as fr, i as fi, K as Zt, e as Ke, g as te, h as At, j as O, k as zt, l as $t, C as Qn, m as Er, n as vi, o as vr, p as ma, q as _t, r as mr, v as mi, P as ha, x as je, y as ce, z as hi, A as ga, B as nn, D as bn, E as Zn, I as ba, F as gi, G as bi, H as Rr, J as pa, L as ya, M as L, N as Mr, O as Pr, Q as Ca, R as Yn, S as pi, T as yi, U as Sa, V as er, W as Ci } from "../../Skeleton-BB4Y_Her.js";
6
+ import { _ as ua, a as da, b as fa, c as va, s as Xn, u as Jn, f as dr, d as V, t as xr, w as fr, i as fi, K as Zt, e as Ke, g as te, h as At, j as O, k as zt, l as $t, C as Qn, m as Er, n as vi, o as vr, p as ma, q as _t, r as mr, v as mi, P as ha, x as je, y as ce, z as hi, A as ga, B as nn, D as bn, E as Zn, I as ba, F as gi, G as bi, H as Rr, J as pa, L as ya, M as L, N as Mr, O as Pr, Q as Ca, R as Yn, S as pi, T as yi, U as Sa, V as er, W as Ci } from "../../Skeleton-DsmxphyA.js";
7
7
  import { a as de } from "../../index-kNWC7pFF.js";
8
- import { _ as Tn, r as wa } from "../../toPropertyKey-DMiYgyB_.js";
8
+ import { _ as Tn } from "../../toPropertyKey-Dgu5PCQm.js";
9
+ import { r as wa } from "../../index-D2lG1Jv0.js";
9
10
  import '../../assets/index2.css';var hr = /* @__PURE__ */ i.createContext(null);
10
11
  function Si(e) {
11
12
  var t = e.children, n = e.onBatchResize, r = i.useRef(0), a = i.useRef([]), o = i.useContext(hr), l = i.useCallback(function(s, c, u) {
@@ -4723,7 +4724,7 @@ const us = "_kpiCard_aruiy_1", ds = "_width430_aruiy_7", fs = "_width384_aruiy_1
4723
4724
  title: hs,
4724
4725
  content: gs
4725
4726
  };
4726
- function _s({ title: e, content: t, icon: n, menuCollapsed: r }) {
4727
+ function xs({ title: e, content: t, icon: n, menuCollapsed: r }) {
4727
4728
  return /* @__PURE__ */ $n(or, { className: si(Jt.kpiCard, r ? Jt.width430 : Jt.width384), children: e && t ? /* @__PURE__ */ $n("div", { className: Jt.flexCol, children: /* @__PURE__ */ Kr("div", { className: Jt.flexRow, children: [
4728
4729
  n,
4729
4730
  /* @__PURE__ */ Kr("div", { className: Jt.flexCol, children: [
@@ -4733,5 +4734,5 @@ function _s({ title: e, content: t, icon: n, menuCollapsed: r }) {
4733
4734
  ] }) }) : /* @__PURE__ */ $n(li, {}) });
4734
4735
  }
4735
4736
  export {
4736
- _s as KpiCard
4737
+ xs as KpiCard
4737
4738
  };
@@ -1,8 +1,9 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as y, a as C, e as T, c as N, g, C as B, b as P, T as _, P as e } from "../../generateUtilityClasses-sdN6xOVt.js";
3
- import { _ as b, a as j } from "../../index-kNWC7pFF.js";
2
+ import { h as y, i as C, j as T, d as N, a as g, C as B, k as P, T as _, P as e } from "../../generateUtilityClasses-BzhjuzcK.js";
3
+ import { _ as j, a as b } from "../../index-kNWC7pFF.js";
4
4
  import * as v from "react";
5
- import { u as E, C as I } from "../../CircularProgress-BsBIRj7X.js";
5
+ import { u as E } from "../../useTheme-CvjG_1hx.js";
6
+ import { C as I } from "../../CircularProgress-CrVlDhIx.js";
6
7
  const O = ["className", "component"];
7
8
  function M(i = {}) {
8
9
  const {
@@ -13,14 +14,14 @@ function M(i = {}) {
13
14
  } = i, d = y("div", {
14
15
  shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
15
16
  })(C);
16
- return /* @__PURE__ */ v.forwardRef(function(u, f) {
17
- const t = E(l), c = T(u), {
17
+ return /* @__PURE__ */ v.forwardRef(function(f, u) {
18
+ const t = E(l), c = T(f), {
18
19
  className: x,
19
20
  component: p = "div"
20
- } = c, h = b(c, O);
21
- return /* @__PURE__ */ s(d, j({
21
+ } = c, h = j(c, O);
22
+ return /* @__PURE__ */ s(d, b({
22
23
  as: p,
23
- ref: f,
24
+ ref: u,
24
25
  className: N(x, r ? r(n) : n),
25
26
  theme: a && t[a] || t
26
27
  }, h));