1mpacto-react-ui 0.0.52 → 0.0.53

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.
package/dist/index.mjs CHANGED
@@ -1563,7 +1563,7 @@ function ha(e, t = "currency", n = {
1563
1563
  const i4 = (e, t, n) => {
1564
1564
  let r = n ?? "-";
1565
1565
  return e && !isNaN(new Date(e).getTime()) && (r = ls(e, t ?? "dd/MM/yyyy", { locale: cs })), r;
1566
- }, g6 = (e, t, n, r, a) => {
1566
+ }, g9 = (e, t, n, r, a) => {
1567
1567
  if (e && !isNaN(new Date(e).getTime())) {
1568
1568
  const o = ls(e, n ?? "dd/MM/yyyy", { locale: cs });
1569
1569
  if (t && !isNaN(new Date(t).getTime())) {
@@ -1576,7 +1576,7 @@ const i4 = (e, t, n) => {
1576
1576
  }, u4 = (e, t) => e.reduce((n, r) => {
1577
1577
  const a = String(r[t]);
1578
1578
  return n[a] || (n[a] = []), n[a].push(r), n;
1579
- }, {}), m6 = (e, t, n) => {
1579
+ }, {}), m9 = (e, t, n) => {
1580
1580
  const r = e.map((a) => ({
1581
1581
  ...a,
1582
1582
  [t]: i4(a.date, n ?? "dd/MM/yyyy")
@@ -1585,9 +1585,9 @@ const i4 = (e, t, n) => {
1585
1585
  }, s4 = (e, t = 2) => {
1586
1586
  let n = parseFloat(ds(e) ? e : 0);
1587
1587
  return n = (+(Math.round(n + "e" + t) + "e-" + t)).toFixed(t), n = Number(n), n;
1588
- }, p6 = (e) => (Object.keys(e).forEach((t) => {
1588
+ }, p9 = (e) => (Object.keys(e).forEach((t) => {
1589
1589
  ["", null, void 0, [], {}].includes(e[t]) && delete e[t];
1590
- }), e), h6 = (e, t) => {
1590
+ }), e), h9 = (e, t) => {
1591
1591
  var g, d;
1592
1592
  const n = /^-?\d+[0-9.,]*$/, r = /([.])(?=.*\1)/, a = /([,])(?=.*\1)/, o = ((g = e.split(",")[0]) == null ? void 0 : g.trim()) || "", i = ((d = e.split(",")[1]) == null ? void 0 : d.trim()) || "", u = !r.test(o) && (o === "-" || n.test(o) || !o), s = !r.test(i) && (i === "-" || n.test(i) || !i), l = (m, h, v) => {
1593
1593
  let p = m;
@@ -1620,7 +1620,7 @@ function ug(e, t) {
1620
1620
  return !1;
1621
1621
  return !0;
1622
1622
  }
1623
- function b6(e, t = { maxTime: "hour" }) {
1623
+ function b9(e, t = { maxTime: "hour" }) {
1624
1624
  const { maxTime: n = "hour" } = t, r = (s) => s < 10 ? `0${s}` : s;
1625
1625
  let a = r(0), o = r(0);
1626
1626
  const i = r(Math.floor(e % 3600 / 60)), u = r(Math.floor(e % 60));
@@ -2548,7 +2548,7 @@ Xi(Yi("slide", !0));
2548
2548
  Xi(Yi("zoom"));
2549
2549
  Xi(Yi("flip"));
2550
2550
  const D4 = { position: "top-right", transition: x4, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
2551
- function v6(e) {
2551
+ function v9(e) {
2552
2552
  let t = { ...D4, ...e };
2553
2553
  const n = e.stacked, [r, a] = ue(!0), o = fe(null), { getToastToRender: i, isToastActive: u, count: s } = m4(t), { className: l, style: c, rtl: f, containerId: g } = t;
2554
2554
  function d(h) {
@@ -2592,7 +2592,7 @@ const Pt = {
2592
2592
  "alert-success-outlined": "_alert-success-outlined_l9fm8_1",
2593
2593
  "alert-body": "_alert-body_l9fm8_62",
2594
2594
  "text-header": "_text-header_l9fm8_68"
2595
- }, y6 = (e, t, n) => {
2595
+ }, y9 = (e, t, n) => {
2596
2596
  const r = (n == null ? void 0 : n.kind) ?? "payhere", a = {
2597
2597
  position: "top-center",
2598
2598
  autoClose: 2e3,
@@ -2806,7 +2806,7 @@ const Pt = {
2806
2806
  d: "M18 10.5C18 12.6217 17.1571 14.6566 15.6569 16.1569C14.1566 17.6571 12.1217 18.5 10 18.5C7.87827 18.5 5.84344 17.6571 4.34315 16.1569C2.84285 14.6566 2 12.6217 2 10.5C2 8.37827 2.84285 6.34344 4.34315 4.84315C5.84344 3.34285 7.87827 2.5 10 2.5C12.1217 2.5 14.1566 3.34285 15.6569 4.84315C17.1571 6.34344 18 8.37827 18 10.5ZM11 6.5C11 6.76522 10.8946 7.01957 10.7071 7.20711C10.5196 7.39464 10.2652 7.5 10 7.5C9.73478 7.5 9.48043 7.39464 9.29289 7.20711C9.10536 7.01957 9 6.76522 9 6.5C9 6.23478 9.10536 5.98043 9.29289 5.79289C9.48043 5.60536 9.73478 5.5 10 5.5C10.2652 5.5 10.5196 5.60536 10.7071 5.79289C10.8946 5.98043 11 6.23478 11 6.5ZM9 9.5C8.73478 9.5 8.48043 9.60536 8.29289 9.79289C8.10536 9.98043 8 10.2348 8 10.5C8 10.7652 8.10536 11.0196 8.29289 11.2071C8.48043 11.3946 8.73478 11.5 9 11.5V14.5C9 14.7652 9.10536 15.0196 9.29289 15.2071C9.48043 15.3946 9.73478 15.5 10 15.5H11C11.2652 15.5 11.5196 15.3946 11.7071 15.2071C11.8946 15.0196 12 14.7652 12 14.5C12 14.2348 11.8946 13.9804 11.7071 13.7929C11.5196 13.6054 11.2652 13.5 11 13.5V10.5C11 10.2348 10.8946 9.98043 10.7071 9.79289C10.5196 9.60536 10.2652 9.5 10 9.5H9Z",
2807
2807
  fill: "#0288D1"
2808
2808
  }
2809
- ) }) }), C6 = {
2809
+ ) }) }), C9 = {
2810
2810
  black: "#212121",
2811
2811
  white: "#FFFFFF",
2812
2812
  "primary-50": "#E3F2FD",
@@ -3114,13 +3114,13 @@ const Pt = {
3114
3114
  // small semibold
3115
3115
  "laba-subtitle-sr": ["10px", { lineHeight: "12px", fontWeight: 400 }]
3116
3116
  // small reguler
3117
- }, x6 = { ...T4, ...P4 }, D6 = {
3117
+ }, x9 = { ...T4, ...P4 }, D9 = {
3118
3118
  sm: "576px",
3119
3119
  md: "768px",
3120
3120
  lg: "1024px",
3121
3121
  xl: "1280px",
3122
3122
  "2xl": "1536px"
3123
- }, w6 = () => /* @__PURE__ */ w.jsx("div", { className: "1ru-w-full 1ru-bg-red-900", children: "index" }), B4 = "_loading_1rn0v_10", rt = {
3123
+ }, w9 = () => /* @__PURE__ */ w.jsx("div", { className: "1ru-w-full 1ru-bg-red-900", children: "index" }), B4 = "_loading_1rn0v_10", rt = {
3124
3124
  "button-base": "_button-base_1rn0v_6",
3125
3125
  "button-xs": "_button-xs_1rn0v_6",
3126
3126
  "button-s": "_button-s_1rn0v_6",
@@ -7946,7 +7946,7 @@ function yC(e) {
7946
7946
  }
7947
7947
  })), n.current;
7948
7948
  }
7949
- const I6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7949
+ const I9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7950
7950
  __proto__: null,
7951
7951
  ColumnFaceting: zg,
7952
7952
  ColumnFiltering: em,
@@ -10836,7 +10836,7 @@ const Bx = /* @__PURE__ */ Be(() => {
10836
10836
  const n = Ue("useWindowScroll"), r = Ue("customScrollParent"), a = r || n ? Hx : Gx, o = r || n ? Ox : Nx;
10837
10837
  return /* @__PURE__ */ P.createElement(a, { ...t }, /* @__PURE__ */ P.createElement(o, null, /* @__PURE__ */ P.createElement(Vx, null), /* @__PURE__ */ P.createElement(kx, null), /* @__PURE__ */ P.createElement(Mx, null)));
10838
10838
  }), {
10839
- Component: E6,
10839
+ Component: E9,
10840
10840
  usePublisher: tn,
10841
10841
  useEmitterValue: Ue,
10842
10842
  useEmitter: jm
@@ -11317,7 +11317,7 @@ const u2 = ({ style: e, context: t, ...n }) => /* @__PURE__ */ w.jsx("table", {
11317
11317
  ...a
11318
11318
  }
11319
11319
  );
11320
- }, S6 = ({
11320
+ }, S9 = ({
11321
11321
  tableInstance: e,
11322
11322
  classNameWrapperTable: t = "",
11323
11323
  classNameTable: n = "",
@@ -11473,7 +11473,7 @@ const f2 = "_tabs_wpw6e_1", g2 = "_ripple_wpw6e_12", m2 = "_active_wpw6e_17", On
11473
11473
  active: m2,
11474
11474
  "tabs-slider": "_tabs-slider_wpw6e_24",
11475
11475
  "tab-panel": "_tab-panel_wpw6e_30"
11476
- }, $6 = ({ id: e, value: t = "", keyValueTab: n = "", tabsList: r, className: a, onChange: o }) => {
11476
+ }, $9 = ({ id: e, value: t = "", keyValueTab: n = "", tabsList: r, className: a, onChange: o }) => {
11477
11477
  const i = fe([]);
11478
11478
  let u = r || [];
11479
11479
  const s = Object.fromEntries(new URL(window.location.href).searchParams.entries()), [l, c] = ue(0), [f, g] = ue(0), [d, m] = ue(0);
@@ -11518,7 +11518,7 @@ const f2 = "_tabs_wpw6e_1", g2 = "_ripple_wpw6e_12", m2 = "_active_wpw6e_17", On
11518
11518
  )) }),
11519
11519
  /* @__PURE__ */ w.jsx("div", { className: On["tabs-slider"], style: { left: d, width: f } })
11520
11520
  ] });
11521
- }, R6 = ({ children: e, id: t, value: n, selected: r, className: a, isHide: o }) => /* @__PURE__ */ w.jsx(
11521
+ }, R9 = ({ children: e, id: t, value: n, selected: r, className: a, isHide: o }) => /* @__PURE__ */ w.jsx(
11522
11522
  "div",
11523
11523
  {
11524
11524
  role: "tabpanel",
@@ -11612,7 +11612,7 @@ const f2 = "_tabs_wpw6e_1", g2 = "_ripple_wpw6e_12", m2 = "_active_wpw6e_17", On
11612
11612
  }, _o = (e, t) => {
11613
11613
  const n = t - e + 1;
11614
11614
  return Array.from({ length: n }, (r, a) => a + e);
11615
- }, F6 = ({
11615
+ }, F9 = ({
11616
11616
  totalData: e,
11617
11617
  totalPage: t,
11618
11618
  pageNumber: n,
@@ -22332,7 +22332,7 @@ const Z1 = (e) => {
22332
22332
  let t;
22333
22333
  const n = new Date(e ?? /* @__PURE__ */ new Date());
22334
22334
  return e && (t = Y0(new Date(n.setHours(n.getHours() + 7)).toISOString().slice(0, 10))), t;
22335
- }, A6 = (e) => {
22335
+ }, A9 = (e) => {
22336
22336
  const {
22337
22337
  minDate: t,
22338
22338
  maxDate: n,
@@ -22520,7 +22520,7 @@ const Z1 = (e) => {
22520
22520
  }
22521
22521
  )
22522
22522
  ] }) });
22523
- }, T6 = ({
22523
+ }, T9 = ({
22524
22524
  value: e,
22525
22525
  prevIcon: t,
22526
22526
  nextIcon: n,
@@ -22713,7 +22713,7 @@ const Z1 = (e) => {
22713
22713
  "title-switch-base": "_title-switch-base_1e40z_12",
22714
22714
  "description-switch-base": "_description-switch-base_1e40z_16",
22715
22715
  active: o$
22716
- }, P6 = ({
22716
+ }, P9 = ({
22717
22717
  value: e,
22718
22718
  disabled: t,
22719
22719
  title: n = "",
@@ -23081,7 +23081,7 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23081
23081
  disabled: p$,
23082
23082
  label: h$,
23083
23083
  desc: b$
23084
- }, B6 = ({
23084
+ }, B9 = ({
23085
23085
  radioCheckboxProps: e,
23086
23086
  name: t,
23087
23087
  id: n,
@@ -23246,7 +23246,7 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23246
23246
  urls: C$,
23247
23247
  url: x$,
23248
23248
  active: D$
23249
- }, _6 = ({
23249
+ }, _9 = ({
23250
23250
  as: e,
23251
23251
  variants: t = "laba-blue-10",
23252
23252
  fonts: n = "lato",
@@ -23323,22 +23323,22 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23323
23323
  "sidebar-close": "_sidebar-close_1vhxp_91",
23324
23324
  "sidebar-payhere": "_sidebar-payhere_1vhxp_110",
23325
23325
  "sidebar-laba": "_sidebar-laba_1vhxp_115"
23326
- }, E$ = "_hidden_md6i5_89", ft = {
23327
- "base-icon-sidebar": "_base-icon-sidebar_md6i5_1",
23328
- "base-item-sidebar": "_base-item-sidebar_md6i5_1",
23329
- "item-icon-subs": "_item-icon-subs_md6i5_1",
23330
- "item-sidebar-2": "_item-sidebar-2_md6i5_1",
23331
- "item-sidebar-1": "_item-sidebar-1_md6i5_1",
23332
- "item-icon": "_item-icon_md6i5_1",
23333
- "item-label": "_item-label_md6i5_13",
23334
- "item-sidebar-open": "_item-sidebar-open_md6i5_37",
23335
- "item-sidebar-close": "_item-sidebar-close_md6i5_47",
23336
- "item-icon-subs-active": "_item-icon-subs-active_md6i5_56",
23337
- "item-sidebar-laba": "_item-sidebar-laba_md6i5_56",
23338
- "item-sidebar-payhere": "_item-sidebar-payhere_md6i5_56",
23339
- "item-subs-sidebar": "_item-subs-sidebar_md6i5_85",
23326
+ }, E$ = "_hidden_1sk1b_89", ft = {
23327
+ "base-icon-sidebar": "_base-icon-sidebar_1sk1b_1",
23328
+ "base-item-sidebar": "_base-item-sidebar_1sk1b_1",
23329
+ "item-icon-subs": "_item-icon-subs_1sk1b_1",
23330
+ "item-sidebar-2": "_item-sidebar-2_1sk1b_1",
23331
+ "item-sidebar-1": "_item-sidebar-1_1sk1b_1",
23332
+ "item-icon": "_item-icon_1sk1b_1",
23333
+ "item-label": "_item-label_1sk1b_13",
23334
+ "item-sidebar-open": "_item-sidebar-open_1sk1b_37",
23335
+ "item-sidebar-close": "_item-sidebar-close_1sk1b_47",
23336
+ "item-icon-subs-active": "_item-icon-subs-active_1sk1b_56",
23337
+ "item-sidebar-laba": "_item-sidebar-laba_1sk1b_56",
23338
+ "item-sidebar-payhere": "_item-sidebar-payhere_1sk1b_56",
23339
+ "item-subs-sidebar": "_item-subs-sidebar_1sk1b_85",
23340
23340
  hidden: E$,
23341
- "divider-item-sidebar": "_divider-item-sidebar_md6i5_94"
23341
+ "divider-item-sidebar": "_divider-item-sidebar_1sk1b_94"
23342
23342
  }, J1 = ({
23343
23343
  as: e,
23344
23344
  show: t,
@@ -23368,7 +23368,7 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23368
23368
  i(`${t}${l.name}/`);
23369
23369
  else typeof u == "function" && u(l);
23370
23370
  };
23371
- return l.parent === 1 && (f = /* @__PURE__ */ w.jsxs(
23371
+ return l.isShow ? (l.parent === 1 && (f = /* @__PURE__ */ w.jsxs(
23372
23372
  g,
23373
23373
  {
23374
23374
  id: l.name,
@@ -23427,8 +23427,8 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23427
23427
  }
23428
23428
  )) }),
23429
23429
  o === "payhere" && /* @__PURE__ */ w.jsx("div", { className: ft["divider-item-sidebar"] })
23430
- ] }) : f;
23431
- }, k6 = ({
23430
+ ] }) : f) : /* @__PURE__ */ w.jsx(w.Fragment, {});
23431
+ }, k9 = ({
23432
23432
  as: e,
23433
23433
  children: t,
23434
23434
  patch: n = "/",
@@ -23526,7 +23526,7 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23526
23526
  }, S$ = "_collapse_13kys_1", $$ = "_hidden_13kys_5", Uf = {
23527
23527
  collapse: S$,
23528
23528
  hidden: $$
23529
- }, V6 = ({ children: e, open: t, className: n }) => {
23529
+ }, V9 = ({ children: e, open: t, className: n }) => {
23530
23530
  const [r, a] = P.useState(!1);
23531
23531
  return P.useEffect(() => {
23532
23532
  t && a(!0);
@@ -23544,7 +23544,7 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23544
23544
  "modal-regular": "_modal-regular_1j8ss_28",
23545
23545
  "modal-large": "_modal-large_1j8ss_32",
23546
23546
  "modal-show": "_modal-show_1j8ss_36"
23547
- }, M6 = ({
23547
+ }, M9 = ({
23548
23548
  as: e,
23549
23549
  children: t,
23550
23550
  id: n = "modal",
@@ -23600,7 +23600,7 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23600
23600
  /* @__PURE__ */ w.jsx("div", { className: cr.dot })
23601
23601
  ] }) }),
23602
23602
  /* @__PURE__ */ w.jsx("div", { className: `${cr["right-content"]} ${n ?? ""}`, children: e })
23603
- ] }), N6 = Object.assign(A$, { TimelineContent: T$ }), Jf = (e, t, n) => {
23603
+ ] }), N9 = Object.assign(A$, { TimelineContent: T$ }), Jf = (e, t, n) => {
23604
23604
  if ((t == null ? void 0 : t.length) > 0) {
23605
23605
  const r = {};
23606
23606
  return t.forEach((a) => {
@@ -23608,7 +23608,7 @@ const m$ = "_container_1q8xg_1", p$ = "_disabled_1q8xg_5", h$ = "_label_1q8xg_9"
23608
23608
  }), r;
23609
23609
  }
23610
23610
  return e;
23611
- }, O6 = ({
23611
+ }, O9 = ({
23612
23612
  children: e,
23613
23613
  onChange: t,
23614
23614
  prefixNativeValue: n = "",
@@ -24196,7 +24196,7 @@ function q$(e) {
24196
24196
  var t = Q$(e);
24197
24197
  return P.createElement(ob, Object.assign({}, t));
24198
24198
  }
24199
- function e6(e, t) {
24199
+ function e9(e, t) {
24200
24200
  var n = t.format, r = t.allowEmptyFormatting, a = t.mask, o = t.patternChar;
24201
24201
  if (o === void 0 && (o = "#"), e === "" && !r)
24202
24202
  return "";
@@ -24204,7 +24204,7 @@ function e6(e, t) {
24204
24204
  n[s] === o && (u[s] = e[i] || rb(a, i), i += 1);
24205
24205
  return u.join("");
24206
24206
  }
24207
- function t6(e, t, n) {
24207
+ function t9(e, t, n) {
24208
24208
  t === void 0 && (t = nb(e));
24209
24209
  var r = n.format, a = n.patternChar;
24210
24210
  a === void 0 && (a = "#");
@@ -24232,7 +24232,7 @@ function t6(e, t, n) {
24232
24232
  var d = u.substring(0, o.start), m = e.substring(i.start, i.end), h = u.substring(o.end);
24233
24233
  return "" + l(d, 0) + c(m) + l(h, o.end);
24234
24234
  }
24235
- function n6(e, t) {
24235
+ function n9(e, t) {
24236
24236
  var n = t.format, r = t.mask, a = t.patternChar;
24237
24237
  a === void 0 && (a = "#");
24238
24238
  var o = Array.from({ length: e.length + 1 }).map(function() {
@@ -24248,7 +24248,7 @@ function n6(e, t) {
24248
24248
  o[c] = c === u || l(c) || l(c - 1);
24249
24249
  return o[n.indexOf(a)] = !0, o;
24250
24250
  }
24251
- function r6(e) {
24251
+ function r9(e) {
24252
24252
  var t = e.mask;
24253
24253
  if (t) {
24254
24254
  var n = t === "string" ? t : t.toString();
@@ -24256,10 +24256,10 @@ function r6(e) {
24256
24256
  throw new Error("Mask " + t + " should not contain numeric character;");
24257
24257
  }
24258
24258
  }
24259
- function a6(e, t) {
24259
+ function a9(e, t) {
24260
24260
  return e === "" ? !0 : !(t != null && t.match(/\d/)) && typeof e == "string" && (!!e.match(/^\d+$/) || e === "");
24261
24261
  }
24262
- function o6(e) {
24262
+ function o9(e) {
24263
24263
  e.mask, e.allowEmptyFormatting;
24264
24264
  var t = e.format, n = e.inputMode;
24265
24265
  n === void 0 && (n = "numeric");
@@ -24268,9 +24268,9 @@ function o6(e) {
24268
24268
  var a = e.patternChar;
24269
24269
  a === void 0 && (a = "#");
24270
24270
  var o = e.value, i = e.defaultValue, u = e.valueIsNumericString, s = bc(e, ["mask", "allowEmptyFormatting", "format", "inputMode", "onKeyDown", "patternChar", "value", "defaultValue", "valueIsNumericString"]);
24271
- r6(e);
24271
+ r9(e);
24272
24272
  var l = function(m) {
24273
- return n6(m, e);
24273
+ return n9(m, e);
24274
24274
  }, c = function(m) {
24275
24275
  var h = m.key, v = m.target, p = v.selectionStart, b = v.selectionEnd, y = v.value;
24276
24276
  if (p !== b) {
@@ -24292,27 +24292,27 @@ function o6(e) {
24292
24292
  D = zi(y, D, l(y), C);
24293
24293
  } else t[D] !== a && h !== "ArrowLeft" && h !== "ArrowRight" && (D = zi(y, D + 1, l(y), "right"));
24294
24294
  D !== p && Wn(v, D), r(m);
24295
- }, f = xr(o) ? i : o, g = u ?? a6(f, t), d = Object.assign(Object.assign({}, e), { valueIsNumericString: g });
24295
+ }, f = xr(o) ? i : o, g = u ?? a9(f, t), d = Object.assign(Object.assign({}, e), { valueIsNumericString: g });
24296
24296
  return Object.assign(Object.assign({}, s), {
24297
24297
  value: o,
24298
24298
  defaultValue: i,
24299
24299
  valueIsNumericString: g,
24300
24300
  inputMode: n,
24301
24301
  format: function(m) {
24302
- return e6(m, d);
24302
+ return e9(m, d);
24303
24303
  },
24304
24304
  removeFormatting: function(m, h) {
24305
- return t6(m, h, d);
24305
+ return t9(m, h, d);
24306
24306
  },
24307
24307
  getCaretBoundary: l,
24308
24308
  onKeyDown: c
24309
24309
  });
24310
24310
  }
24311
- function L6(e) {
24312
- var t = o6(e);
24311
+ function L9(e) {
24312
+ var t = o9(e);
24313
24313
  return P.createElement(ob, Object.assign({}, t));
24314
24314
  }
24315
- const G6 = ({ max: e, min: t, onChange: n, ...r }) => /* @__PURE__ */ w.jsx(
24315
+ const G9 = ({ max: e, min: t, onChange: n, ...r }) => /* @__PURE__ */ w.jsx(
24316
24316
  q$,
24317
24317
  {
24318
24318
  isAllowed: (a) => e !== void 0 && ds(e) && Number(a.value) > e ? (typeof n == "function" && n({ target: { value: e.toString() } }), !1) : t !== void 0 && ds(t) && Number(a.value) < t ? (typeof n == "function" && n({ target: { value: t.toString() } }), !1) : !0,
@@ -24326,7 +24326,7 @@ const G6 = ({ max: e, min: t, onChange: n, ...r }) => /* @__PURE__ */ w.jsx(
24326
24326
  thousandsGroupStyle: "thousand",
24327
24327
  ...r
24328
24328
  }
24329
- ), H6 = ({
24329
+ ), H9 = ({
24330
24330
  children: e,
24331
24331
  containerId: t = "portal-root"
24332
24332
  }) => {
@@ -24337,9 +24337,9 @@ const G6 = ({ max: e, min: t, onChange: n, ...r }) => /* @__PURE__ */ w.jsx(
24337
24337
  o && a && document.body.removeChild(a);
24338
24338
  };
24339
24339
  }, [t]), n ? sl(e, n) : null;
24340
- }, i6 = {
24340
+ }, i9 = {
24341
24341
  "button-remove": "_button-remove_1o2yg_1"
24342
- }, u6 = () => /* @__PURE__ */ w.jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ w.jsx(
24342
+ }, u9 = () => /* @__PURE__ */ w.jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ w.jsx(
24343
24343
  "path",
24344
24344
  {
24345
24345
  fillRule: "evenodd",
@@ -24347,7 +24347,7 @@ const G6 = ({ max: e, min: t, onChange: n, ...r }) => /* @__PURE__ */ w.jsx(
24347
24347
  d: "M6.19544 6.19126C6.32045 6.06628 6.48999 5.99607 6.66677 5.99607C6.84354 5.99607 7.01308 6.06628 7.1381 6.19126L10.0001 9.05326L12.8621 6.19126C12.9236 6.12758 12.9972 6.0768 13.0785 6.04186C13.1598 6.00692 13.2473 5.98853 13.3358 5.98776C13.4244 5.98699 13.5121 6.00386 13.5941 6.03738C13.676 6.0709 13.7504 6.1204 13.813 6.18299C13.8756 6.24559 13.9251 6.32002 13.9587 6.40195C13.9922 6.48389 14.009 6.57167 14.0083 6.66019C14.0075 6.74871 13.9891 6.83619 13.9542 6.91753C13.9192 6.99886 13.8684 7.07243 13.8048 7.13392L10.9428 9.99592L13.8048 12.8579C13.9262 12.9837 13.9934 13.1521 13.9919 13.3269C13.9904 13.5017 13.9203 13.6689 13.7966 13.7925C13.673 13.9161 13.5058 13.9862 13.331 13.9877C13.1562 13.9892 12.9878 13.922 12.8621 13.8006L10.0001 10.9386L7.1381 13.8006C7.01237 13.922 6.84397 13.9892 6.66917 13.9877C6.49437 13.9862 6.32716 13.9161 6.20356 13.7925C6.07995 13.6689 6.00984 13.5017 6.00832 13.3269C6.0068 13.1521 6.074 12.9837 6.19544 12.8579L9.05744 9.99592L6.19544 7.13392C6.07045 7.00891 6.00024 6.83937 6.00024 6.66259C6.00024 6.48581 6.07045 6.31628 6.19544 6.19126Z",
24348
24348
  fill: "#212121"
24349
24349
  }
24350
- ) }), s6 = () => /* @__PURE__ */ w.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ w.jsx(
24350
+ ) }), s9 = () => /* @__PURE__ */ w.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ w.jsx(
24351
24351
  "path",
24352
24352
  {
24353
24353
  d: "M2 11.3334V4.66671C2 4.31309 2.14048 3.97395 2.39052 3.7239C2.64057 3.47385 2.97971 3.33337 3.33333 3.33337H7.33333L8.66667 4.66671H12.6667C13.0203 4.66671 13.3594 4.80718 13.6095 5.05723C13.8595 5.30728 14 5.64642 14 6.00004V11.3334C14 11.687 13.8595 12.0261 13.6095 12.2762C13.3594 12.5262 13.0203 12.6667 12.6667 12.6667H3.33333C2.97971 12.6667 2.64057 12.5262 2.39052 12.2762C2.14048 12.0261 2 11.687 2 11.3334Z",
@@ -24356,7 +24356,7 @@ const G6 = ({ max: e, min: t, onChange: n, ...r }) => /* @__PURE__ */ w.jsx(
24356
24356
  strokeLinecap: "round",
24357
24357
  strokeLinejoin: "round"
24358
24358
  }
24359
- ) }), l6 = P.forwardRef((e) => {
24359
+ ) }), l9 = P.forwardRef((e) => {
24360
24360
  const t = P.useRef(null), { fileName: n, onChange: r, maxFile: a, maxSize: o = 2, validateFile: i, error: u, label: s, inputProps: l } = e, c = i || ["image/png", "image/jpeg", "image/jpg"], [f, g] = P.useState(""), d = (v) => {
24361
24361
  if (v != null && v.length) {
24362
24362
  const p = v[0], b = p.size / 1024 / 1024;
@@ -24402,13 +24402,13 @@ const G6 = ({ max: e, min: t, onChange: n, ...r }) => /* @__PURE__ */ w.jsx(
24402
24402
  value: n,
24403
24403
  readOnly: !0,
24404
24404
  onClick: (v) => m(v),
24405
- startIcon: /* @__PURE__ */ w.jsx(s6, {}),
24405
+ startIcon: /* @__PURE__ */ w.jsx(s9, {}),
24406
24406
  endIcon: n && /* @__PURE__ */ w.jsx(
24407
24407
  "div",
24408
24408
  {
24409
- className: i6["button-remove"],
24409
+ className: i9["button-remove"],
24410
24410
  onClick: (v) => h(v),
24411
- children: /* @__PURE__ */ w.jsx(u6, {})
24411
+ children: /* @__PURE__ */ w.jsx(u9, {})
24412
24412
  }
24413
24413
  ),
24414
24414
  error: u ?? f,
@@ -24417,8 +24417,8 @@ const G6 = ({ max: e, min: t, onChange: n, ...r }) => /* @__PURE__ */ w.jsx(
24417
24417
  )
24418
24418
  ] });
24419
24419
  });
24420
- l6.displayName = "UploadFile";
24421
- function W6(e, t = null) {
24420
+ l9.displayName = "UploadFile";
24421
+ function W9(e, t = null) {
24422
24422
  const [n, r] = ue(!1);
24423
24423
  return Ae(() => {
24424
24424
  let a = null, o = null;
@@ -24437,7 +24437,7 @@ function W6(e, t = null) {
24437
24437
  };
24438
24438
  }, [e, t]), n;
24439
24439
  }
24440
- const j6 = (e) => {
24440
+ const j9 = (e) => {
24441
24441
  const t = (c) => {
24442
24442
  const f = /* @__PURE__ */ new Date(), g = c.getTime() - f.getTime();
24443
24443
  return Math.max(Math.floor(g / 1e3), 0);
@@ -24464,7 +24464,7 @@ const j6 = (e) => {
24464
24464
  }
24465
24465
  };
24466
24466
  };
24467
- function z6(e, t = 0) {
24467
+ function z9(e, t = 0) {
24468
24468
  const n = fe({ promise: null, resolve: null, reject: null, timeout: null });
24469
24469
  return $e(
24470
24470
  (...a) => (n.current.timeout && clearTimeout(n.current.timeout), n.current.promise || (n.current.promise = new Promise((o, i) => {
@@ -24481,7 +24481,7 @@ function z6(e, t = 0) {
24481
24481
  [e, t]
24482
24482
  );
24483
24483
  }
24484
- const c6 = typeof window < "u" ? Fr : Ae, Z6 = (e) => {
24484
+ const c9 = typeof window < "u" ? Fr : Ae, Z9 = (e) => {
24485
24485
  const [t, n] = ue({
24486
24486
  width: 0,
24487
24487
  height: 0
@@ -24495,7 +24495,7 @@ const c6 = typeof window < "u" ? Fr : Ae, Z6 = (e) => {
24495
24495
  x: 0,
24496
24496
  y: 0
24497
24497
  }), o = fe(null);
24498
- return c6(() => {
24498
+ return c9(() => {
24499
24499
  const i = () => {
24500
24500
  n({
24501
24501
  width: window.innerWidth,
@@ -24521,75 +24521,75 @@ const c6 = typeof window < "u" ? Fr : Ae, Z6 = (e) => {
24521
24521
  };
24522
24522
  }, [e]), { ref: o, windowSize: t, contentRect: r };
24523
24523
  };
24524
- function X6(e) {
24524
+ function X9(e) {
24525
24525
  const [t, n] = ue(e), r = fe(t);
24526
24526
  return Ae(() => {
24527
24527
  r.current = t;
24528
24528
  }, [t]), [t, n, r];
24529
24529
  }
24530
24530
  export {
24531
- v6 as AlertContainer,
24531
+ v9 as AlertContainer,
24532
24532
  u$ as Badges,
24533
- _6 as Breadcrumbs,
24533
+ _9 as Breadcrumbs,
24534
24534
  La as Button,
24535
24535
  i$ as ButtonIcon,
24536
24536
  Y1 as Calendar,
24537
24537
  r$ as CalendarRange,
24538
24538
  s$ as Chips,
24539
- V6 as Collapse,
24540
- C6 as ConfigColors,
24539
+ V9 as Collapse,
24540
+ C9 as ConfigColors,
24541
24541
  sn as ConfigTable,
24542
- A6 as DatePicker,
24542
+ A9 as DatePicker,
24543
24543
  a$ as DateRangePicker,
24544
24544
  f$ as DefaultCheckedChecboxIcon,
24545
24545
  g$ as DefaultRadioChecboxIcon,
24546
- O6 as FilterContainer,
24547
- T6 as FilterDate,
24546
+ O9 as FilterContainer,
24547
+ T9 as FilterDate,
24548
24548
  k3 as InputFloatingInner,
24549
24549
  Lg as InputReguler,
24550
24550
  d2 as ListVirtualization,
24551
- M6 as ModalDialog,
24552
- G6 as NumberFormat,
24553
- F6 as Pagination,
24554
- L6 as PatternFormat,
24551
+ M9 as ModalDialog,
24552
+ G9 as NumberFormat,
24553
+ F9 as Pagination,
24554
+ L9 as PatternFormat,
24555
24555
  Qi as Popover,
24556
- H6 as PortalComponent,
24556
+ H9 as PortalComponent,
24557
24557
  U1 as RadioCheckbox,
24558
- B6 as RadioCheckboxLabel,
24558
+ B9 as RadioCheckboxLabel,
24559
24559
  wI as SelectDropdownContainer,
24560
24560
  Dw as SelectDropdownContainerComponents,
24561
- k6 as Sidebar,
24562
- P6 as Switch,
24563
- w6 as TPublish,
24564
- R6 as TabPanel,
24565
- S6 as Table,
24561
+ k9 as Sidebar,
24562
+ P9 as Switch,
24563
+ w9 as TPublish,
24564
+ R9 as TabPanel,
24565
+ S9 as Table,
24566
24566
  zm as TableVirtualization,
24567
- $6 as Tabs,
24568
- N6 as Timeline,
24569
- l6 as UploadFile,
24570
- D6 as configScreens,
24571
- x6 as configTypography,
24567
+ $9 as Tabs,
24568
+ N9 as Timeline,
24569
+ l9 as UploadFile,
24570
+ D9 as configScreens,
24571
+ x9 as configTypography,
24572
24572
  P4 as configTypographyLabaBisnis,
24573
24573
  T4 as configTypographyPayhere,
24574
24574
  ug as deepCompareEquals,
24575
24575
  i4 as formatDate,
24576
- g6 as formatDateRange,
24576
+ g9 as formatDateRange,
24577
24577
  ha as formatNumber,
24578
24578
  u4 as groupByKey,
24579
24579
  ds as isAccurateNumber,
24580
- y6 as openAlert,
24580
+ y9 as openAlert,
24581
24581
  s4 as parseDecimal,
24582
- p6 as removeKeyObjectEmptyValue,
24583
- m6 as transformDataHistory,
24584
- h6 as transformLatLong,
24585
- b6 as transformSecondTime,
24586
- z6 as useAsyncDebounce,
24587
- Z6 as useCombinedResizeObserver,
24588
- j6 as useCountdown,
24582
+ p9 as removeKeyObjectEmptyValue,
24583
+ m9 as transformDataHistory,
24584
+ h9 as transformLatLong,
24585
+ b9 as transformSecondTime,
24586
+ z9 as useAsyncDebounce,
24587
+ Z9 as useCombinedResizeObserver,
24588
+ j9 as useCountdown,
24589
24589
  DI as useDeepCompareEffect,
24590
24590
  xI as useDeepCompareMemoize,
24591
- W6 as useElementOrWindowMediaQuery,
24592
- X6 as useStateRef,
24593
- I6 as utilTable
24591
+ W9 as useElementOrWindowMediaQuery,
24592
+ X9 as useStateRef,
24593
+ I9 as utilTable
24594
24594
  };
24595
24595
  //# sourceMappingURL=index.mjs.map