@base-framework/ui 1.2.47 → 1.2.49

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/atoms.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as t, f as e, h as n, i as o, k as l, l as i, m as u, n as r, t as p, w as I, J as g, L as c, M as d, N as m, O as F, P as T, Q as B, R as S, S as b, T as C, U as x, a0 as f, a7 as P, a8 as h, a9 as k, ac as M, ad as U, ae as w, ai as E, an as G, au as L, ax as N, aB as R, aC as Z, aE as D, aF as H, aG as J, aK as Q, aP as V, aQ as W, aS as v, aW as K, aX as O, aY as X, aZ as Y, b0 as j, b1 as q, b2 as y, b5 as z, b6 as A } from "./full-page-B94AsK9X.js";
1
+ import { c as t, f as e, h as n, i as o, k as l, l as i, m as u, n as r, t as p, w as I, J as g, L as c, M as d, N as m, O as F, P as T, Q as B, R as S, S as b, T as C, U as x, a0 as f, a7 as P, a8 as h, a9 as k, ac as M, ad as U, ae as w, ai as E, an as G, au as L, ax as N, aB as R, aC as Z, aE as D, aF as H, aG as J, aK as Q, aP as V, aQ as W, aS as v, aW as K, aX as O, aY as X, aZ as Y, b0 as j, b1 as q, b2 as y, b5 as z, b6 as A } from "./full-page-C72g6t7s.js";
2
2
  import { S as $ } from "./skeleton-BlY3opxG.js";
3
3
  export {
4
4
  t as Badge,
@@ -1,6 +1,6 @@
1
1
  import { Component as d, Html as m, Dom as y, base as v, Data as T, Builder as b, DateTime as g } from "@base-framework/base";
2
2
  import { Li as S, Span as p, Div as a, Ul as w, Button as D, I as x, OnState as Y, Time as B } from "@base-framework/atoms";
3
- import { az as k, b8 as C, f as c, at as E, F as L } from "./full-page-B94AsK9X.js";
3
+ import { az as k, b8 as C, f as c, at as E, F as L } from "./full-page-C72g6t7s.js";
4
4
  import { List as N, DynamicTime as M } from "@base-framework/organisms";
5
5
  class X extends d {
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { I as E, Span as u, Button as v, OnState as P, Div as o, Legend as ht, Fieldset as ft, H4 as qe, P as k, Label as H, Checkbox as ge, Input as p, Textarea as Ge, UseParent as V, Img as me, H5 as gt, H2 as Z, Form as mt, Header as ee, Footer as be, A as Ke, H3 as xe, Nav as pe, Ul as te, Li as ye, OnStateOpen as we, On as J, Dialog as bt, Th as Qe, Thead as xt, Tr as pt, Table as ve, Time as yt, H1 as wt } from "@base-framework/atoms";
2
- import { Atom as i, Jot as M, Component as S, router as X, Html as Je, Data as O, Events as j, DateTime as se, NavLink as vt, DataTracker as Xe } from "@base-framework/base";
1
+ import { I as E, Span as u, Button as v, OnState as M, Div as o, Legend as ht, Fieldset as ft, H4 as qe, P as k, Label as H, Checkbox as ge, Input as p, Textarea as Ge, UseParent as V, Img as me, H5 as gt, H2 as Z, Form as mt, Header as ee, Footer as be, A as Ke, H3 as xe, Nav as pe, Ul as te, Li as ye, OnStateOpen as we, On as J, Dialog as bt, Th as Qe, Thead as xt, Tr as pt, Table as ve, Time as yt, H1 as wt } from "@base-framework/atoms";
2
+ import { Atom as i, Jot as P, Component as S, router as X, Html as Je, Data as O, Events as j, DateTime as se, NavLink as vt, DataTracker as Xe } from "@base-framework/base";
3
3
  import { Icons as h } from "./icons.es.js";
4
4
  import { Timer as kt, TableBody as Ct, DataTableBody as St, ScrollableTableBody as $t, List as Dt } from "@base-framework/organisms";
5
5
  import { F as W } from "./format-DE4rFWuD.js";
@@ -43,13 +43,13 @@ const Tt = {
43
43
  xl: "48px",
44
44
  "2xl": "56px",
45
45
  "3xl": "64px"
46
- }, Pe = {
46
+ }, Me = {
47
47
  outlined: "material-symbols-outlined",
48
48
  filled: "material-symbols-filled",
49
49
  rounded: "material-symbols-rounded",
50
50
  sharp: "material-symbols-sharp"
51
- }, Me = i((e) => {
52
- const t = e.size || "sm", s = e.variant || "outlined", n = Ie[t] || Ie.sm, a = Te[t] || Te.sm, l = Pe[s] || Pe.outlined;
51
+ }, Pe = i((e) => {
52
+ const t = e.size || "sm", s = e.variant || "outlined", n = Ie[t] || Ie.sm, a = Te[t] || Te.sm, l = Me[s] || Me.outlined;
53
53
  return u({
54
54
  ...e,
55
55
  // @ts-ignore
@@ -62,11 +62,11 @@ const Tt = {
62
62
  name: void 0
63
63
  // @ts-ignore
64
64
  }, e.name);
65
- }), x = (e = {}, t) => t ? typeof t == "string" && t.includes("<svg") ? he(e, t) : typeof t == "object" && t.name ? Me({
65
+ }), x = (e = {}, t) => t ? typeof t == "string" && t.includes("<svg") ? he(e, t) : typeof t == "object" && t.name ? Pe({
66
66
  ...e,
67
67
  name: t.name,
68
68
  variant: t.variant || e.variant || "outlined"
69
- }) : typeof t == "string" ? Me({
69
+ }) : typeof t == "string" ? Pe({
70
70
  ...e,
71
71
  name: t
72
72
  }) : he(e, t) : null, Da = (e) => e ? !!(typeof e == "object" && e.name || typeof e == "string" && !e.includes("<svg")) : !1, Ia = (e) => typeof e == "string" && e.includes("<svg"), Be = {
@@ -150,11 +150,11 @@ const Tt = {
150
150
  textColor: "text-foreground",
151
151
  ringColor: "ring-white/10"
152
152
  }
153
- }, Pt = (e) => Be[e] || Be.gray, Mt = (e, t = {}) => {
154
- const s = Pt(e), n = t.backgroundColor ?? s.backgroundColor, a = t.textColor ?? s.textColor, l = t.ringColor ?? s.ringColor;
153
+ }, Mt = (e) => Be[e] || Be.gray, Pt = (e, t = {}) => {
154
+ const s = Mt(e), n = t.backgroundColor ?? s.backgroundColor, a = t.textColor ?? s.textColor, l = t.ringColor ?? s.ringColor;
155
155
  return `inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors ${n} ${a} ${l}`;
156
156
  }, Ta = i((e, t) => {
157
- const { type: s, icon: n, size: a = "xs", backgroundColor: l, textColor: r, ringColor: c, ...f } = e, m = Mt(s, { backgroundColor: l, textColor: r, ringColor: c });
157
+ const { type: s, icon: n, size: a = "xs", backgroundColor: l, textColor: r, ringColor: c, ...f } = e, m = Pt(s, { backgroundColor: l, textColor: r, ringColor: c });
158
158
  return u({ ...f, class: m }, [
159
159
  n ? x({ size: a, class: "mr-1" }, n) : null,
160
160
  ...t || []
@@ -176,9 +176,9 @@ class Ze extends S {
176
176
  }
177
177
  const N = (e) => (
178
178
  /** @type {VeilComponentConstructor} */
179
- M(e, Ze)
179
+ P(e, Ze)
180
180
  );
181
- class Pa extends Ze {
181
+ class Ma extends Ze {
182
182
  /**
183
183
  * Declare public props and their defaults.
184
184
  */
@@ -221,7 +221,7 @@ class Pa extends Ze {
221
221
  // @ts-ignore
222
222
  class: `toggle-btn inline-flex items-center gap-1.5 bg-transparent border-0 p-0 cursor-pointer text-foreground/70 hover:text-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${this.class || ""}`
223
223
  }, [
224
- P(
224
+ M(
225
225
  "active",
226
226
  (r) => x({ size: t, variant: r && l ? "filled" : "outlined" }, r ? n : s)
227
227
  ),
@@ -237,7 +237,7 @@ const le = {
237
237
  xl: "w-14 h-14",
238
238
  "2xl": "w-16 h-16"
239
239
  };
240
- class Ma extends S {
240
+ class Pa extends S {
241
241
  /**
242
242
  * Declare public props.
243
243
  */
@@ -274,7 +274,7 @@ class Ma extends S {
274
274
  // @ts-ignore
275
275
  class: `circle-toggle-btn inline-flex items-center justify-center rounded-full border-0 cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 ${n} ${l}${f ? " rounded-full w-[40px] h-[40px] max-w-[40px]" : ""}`
276
276
  }, [
277
- P("active", (w) => [
277
+ M("active", (w) => [
278
278
  x({
279
279
  size: a,
280
280
  variant: w && m ? "filled" : "outlined",
@@ -461,7 +461,7 @@ const Nt = (e) => {
461
461
  checked: t,
462
462
  bind: s
463
463
  }), Yt = () => u({ class: "absolute text-xs pointer-events-none" }, [
464
- P(
464
+ M(
465
465
  "checked",
466
466
  (e) => e ? E({
467
467
  class: "w-2 h-2 pointer-events-none",
@@ -494,7 +494,7 @@ const Nt = (e) => {
494
494
  class: "text-base cursor-pointer",
495
495
  htmlFor: e,
496
496
  click: s
497
- }, t), qt = M(
497
+ }, t), qt = P(
498
498
  {
499
499
  /**
500
500
  * This will initialize the state of the checkbox.
@@ -863,15 +863,18 @@ const ls = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
863
863
  ...n,
864
864
  class: `[&>option]:text-foreground [&>option]:bg-background ${ke} ${n.class || ""}`.trim()
865
865
  };
866
- }), rs = i(({ src: e, alt: t, class: s, checkPath: n = !0 }) => !e || (s = s || "", n && e.indexOf(".") === -1 && e.indexOf("[[") === -1) ? null : me({
866
+ }), rs = i(({ src: e, alt: t, class: s, checkPath: n = !0, loading: a = "lazy", decoding: l = "async", fetchPriority: r = "auto" }) => !e || (s = s || "", n && e.indexOf(".") === -1 && e.indexOf("[[") === -1) ? null : me({
867
867
  class: `absolute w-full h-full object-cover fadeIn ${s}`,
868
868
  src: e,
869
869
  alt: t,
870
- load: (a) => a.target.style.visibility = "visible",
870
+ loading: a,
871
+ decoding: l,
872
+ fetchPriority: r,
873
+ load: (c) => c.target.style.visibility = "visible",
871
874
  /**
872
875
  * If there's an error loading the image, hide it.
873
876
  */
874
- error: (a) => a.target.style.visibility = "hidden"
877
+ error: (c) => c.target.style.visibility = "hidden"
875
878
  })), is = (e) => !e || isNaN(e) ? null : e, Ne = (e, t) => {
876
879
  const s = e, n = 16, a = 2 * Math.PI * n, l = s / 100 * a, r = `
877
880
  <svg class="w-40 h-40 mx-auto" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
@@ -1511,7 +1514,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1511
1514
  }
1512
1515
  const s = e === "light" ? "dark" : "light";
1513
1516
  t.classList.remove(s);
1514
- }, vo = M(
1517
+ }, vo = P(
1515
1518
  {
1516
1519
  /**
1517
1520
  * This will render the component.
@@ -1594,7 +1597,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1594
1597
  src: e,
1595
1598
  alt: t,
1596
1599
  class: "rounded-full"
1597
- })), Ts = (e) => e && (Array.isArray(e) && (e = e.join(" ")), typeof e != "string" && (e = String(e)), e.split(" ").map((t) => t.charAt(0)).join("").toUpperCase()), nt = (e) => !e || e.length < 2 ? e : Ts(e), Ps = (e) => u([e, (t, s) => {
1600
+ })), Ts = (e) => e && (Array.isArray(e) && (e = e.join(" ")), typeof e != "string" && (e = String(e)), e.split(" ").map((t) => t.charAt(0)).join("").toUpperCase()), nt = (e) => !e || e.length < 2 ? e : Ts(e), Ms = (e) => u([e, (t, s) => {
1598
1601
  s.textContent = nt(t);
1599
1602
  }]), je = {
1600
1603
  xs: "h-6 w-6",
@@ -1616,7 +1619,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1616
1619
  "3xl": "text-4xl",
1617
1620
  "4xl": "text-5xl",
1618
1621
  default: "text-base"
1619
- }, Ms = (e) => je[e] || je.default, Bs = (e) => Ee[e] || Ee.default, zs = (e, t = null, s = "md") => {
1622
+ }, Ps = (e) => je[e] || je.default, Bs = (e) => Ee[e] || Ee.default, zs = (e, t = null, s = "md") => {
1620
1623
  const n = nt(String(e)), a = Bs(s);
1621
1624
  return o(
1622
1625
  {
@@ -1627,11 +1630,11 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1627
1630
  `
1628
1631
  },
1629
1632
  [
1630
- t ? Ps(t) : u({ class: "uppercase" }, n)
1633
+ t ? Ms(t) : u({ class: "uppercase" }, n)
1631
1634
  ]
1632
1635
  );
1633
1636
  }, Os = i(({ src: e, alt: t, fallbackText: s, watcherFallback: n, size: a }) => {
1634
- const l = Ms(a);
1637
+ const l = Ps(a);
1635
1638
  return o(
1636
1639
  {
1637
1640
  class: `relative flex items-center justify-center ${l}`
@@ -1641,7 +1644,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1641
1644
  zs(s, n, a)
1642
1645
  ]
1643
1646
  );
1644
- }), He = (e) => !e || e.includes("[[") || e.indexOf(".") === -1 && e.indexOf("blob:") === -1, Co = M(
1647
+ }), He = (e) => !e || e.includes("[[") || e.indexOf(".") === -1 && e.indexOf("blob:") === -1, Co = P(
1645
1648
  {
1646
1649
  /**
1647
1650
  * Get the initial state for the component.
@@ -1697,7 +1700,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1697
1700
  s.preventDefault(), s.stopPropagation(), this.openFileBrowse();
1698
1701
  }
1699
1702
  }, [
1700
- P("loaded", (s) => s === !1 || He(this.src) ? H({
1703
+ M("loaded", (s) => s === !1 || He(this.src) ? H({
1701
1704
  htmlFor: e,
1702
1705
  class: "z-10 flex flex-col items-center justify-center text-sm text-muted-foreground group-hover:text-primary"
1703
1706
  }, [
@@ -1712,7 +1715,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1712
1715
  ]);
1713
1716
  }
1714
1717
  }
1715
- ), So = M(
1718
+ ), So = P(
1716
1719
  {
1717
1720
  /**
1718
1721
  * Get the initial state for the component.
@@ -1768,7 +1771,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1768
1771
  s.preventDefault(), s.stopPropagation(), this.openFileBrowse();
1769
1772
  }
1770
1773
  }, [
1771
- P(
1774
+ M(
1772
1775
  "loaded",
1773
1776
  (s) => s ? me({
1774
1777
  // @ts-ignore
@@ -1809,7 +1812,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1809
1812
  }, h.chevron.single.right), Ls = (e) => o({ class: "flex items-center" }, [
1810
1813
  e.href ? Ns(e.href, e.label) : u(e.label),
1811
1814
  e.separator && Fs()
1812
- ]), $o = M(
1815
+ ]), $o = P(
1813
1816
  {
1814
1817
  /**
1815
1818
  * Set initial data
@@ -1871,7 +1874,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1871
1874
  ]), js = (e, t) => Array.from({ length: e }, (s, n) => Rs({
1872
1875
  index: n,
1873
1876
  size: t
1874
- })), Do = M(
1877
+ })), Do = P(
1875
1878
  {
1876
1879
  /**
1877
1880
  * Defines component data (props).
@@ -1922,7 +1925,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1922
1925
  ]), _s = (e, t) => o({ class: "w-full border rounded-md" }, [
1923
1926
  te({ class: "max-h-60 overflow-y-auto p-2 grid gap-1", for: ["items", (s) => Hs(s, e, t)] })
1924
1927
  ]), Us = ({ onSelect: e, state: t }) => o({ class: "flex flex-auto flex-col" }, [
1925
- P(
1928
+ M(
1926
1929
  "open",
1927
1930
  (s, n, a) => s ? new ae({
1928
1931
  cache: "dropdown",
@@ -1932,7 +1935,7 @@ const Re = globalThis.matchMedia, ie = i(({ value: e, label: t, icon: s }) => v(
1932
1935
  _s(e, t)
1933
1936
  ]) : null
1934
1937
  )
1935
- ]), Io = M(
1938
+ ]), Io = P(
1936
1939
  {
1937
1940
  /**
1938
1941
  * This will set up the data.
@@ -2357,7 +2360,7 @@ class ln extends S {
2357
2360
  */
2358
2361
  render() {
2359
2362
  return o({ class: "calendar-container p-3 rounded-md border min-w-80" }, [
2360
- P("view", (t) => {
2363
+ M("view", (t) => {
2361
2364
  switch (t) {
2362
2365
  case "months":
2363
2366
  return qs(
@@ -2455,7 +2458,7 @@ const rn = (e) => {
2455
2458
  blockPriorDates: t
2456
2459
  })
2457
2460
  ])
2458
- ), Po = N(
2461
+ ), Mo = N(
2459
2462
  {
2460
2463
  /**
2461
2464
  * The initial state of the DatePicker.
@@ -2819,7 +2822,7 @@ class Sn extends S {
2819
2822
  r.preventDefault(), r.stopPropagation(), this.data.selecting = "end";
2820
2823
  }
2821
2824
  }),
2822
- P("view", (r) => {
2825
+ M("view", (r) => {
2823
2826
  switch (r) {
2824
2827
  case "months":
2825
2828
  return wn(
@@ -2897,7 +2900,7 @@ const $n = ({ bind: e, required: t }) => p({
2897
2900
  onRangeSelect: e,
2898
2901
  blockPriorDates: t
2899
2902
  })
2900
- ])), Mo = N(
2903
+ ])), Po = N(
2901
2904
  {
2902
2905
  /**
2903
2906
  * The initial state of the DateRangePicker.
@@ -2950,7 +2953,7 @@ function Tn(e) {
2950
2953
  let t = "";
2951
2954
  return e.length > 0 && (t = e.substring(0, 2), e.length > 2 && (t += ":" + e.substring(2, 4))), t;
2952
2955
  }
2953
- function Pn(e) {
2956
+ function Mn(e) {
2954
2957
  if (e.length < 4)
2955
2958
  return { formattedTime: null, hour: null, minute: null, meridian: null };
2956
2959
  const t = parseInt(e.substring(0, 2), 10), s = parseInt(e.substring(2, 4), 10);
@@ -2964,7 +2967,7 @@ function Pn(e) {
2964
2967
  meridian: a
2965
2968
  };
2966
2969
  }
2967
- function Mn({ bind: e, required: t }) {
2970
+ function Pn({ bind: e, required: t }) {
2968
2971
  return p({
2969
2972
  cache: "input",
2970
2973
  class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
@@ -2988,7 +2991,7 @@ function zn({ bind: e, required: t, toggleOpen: s, handleInputChange: n, handleI
2988
2991
  class: "relative flex items-center gap-2 w-full justify-between border bg-input hover:bg-muted rounded-md h-10 pr-4 py-2"
2989
2992
  },
2990
2993
  [
2991
- Mn({ bind: e, required: t }),
2994
+ Pn({ bind: e, required: t }),
2992
2995
  Bn({ placeholder: l, handleInputChange: n, handleInputFocus: a }),
2993
2996
  v(
2994
2997
  {
@@ -3125,7 +3128,7 @@ const Bo = N(
3125
3128
  */
3126
3129
  handleInputChange(e) {
3127
3130
  let t = e.target.value.replace(/[^\d]/g, ""), s = Tn(t);
3128
- const n = Pn(t);
3131
+ const n = Mn(t);
3129
3132
  n.formattedTime && (s = n.formattedTime, this.state.set({
3130
3133
  hour: n.hour,
3131
3134
  minute: n.minute,
@@ -3449,6 +3452,7 @@ const En = (e) => new St({
3449
3452
  limit: e.limit,
3450
3453
  key: e.key,
3451
3454
  tableData: e.tableData,
3455
+ xhrMethod: e.xhrMethod,
3452
3456
  items: e.items,
3453
3457
  rowItem: (t) => e.rowItem(t, e.selectRow),
3454
3458
  class: "divide-y divide-border",
@@ -3483,6 +3487,8 @@ class Hn extends ot {
3483
3487
  // @ts-ignore
3484
3488
  tableData: this.tableData,
3485
3489
  // @ts-ignore
3490
+ xhrMethod: this.xhrMethod,
3491
+ // @ts-ignore
3486
3492
  key: this.key,
3487
3493
  // @ts-ignore
3488
3494
  items: this.rows,
@@ -3534,6 +3540,8 @@ const No = i((e) => new Hn(
3534
3540
  // @ts-ignore
3535
3541
  border: e.border,
3536
3542
  // @ts-ignore
3543
+ xhrMethod: e.xhrMethod,
3544
+ // @ts-ignore
3537
3545
  emptyState: e.emptyState,
3538
3546
  // @ts-ignore
3539
3547
  skeleton: e.skeleton
@@ -3546,6 +3554,7 @@ const No = i((e) => new Hn(
3546
3554
  limit: e.limit,
3547
3555
  key: e.key,
3548
3556
  tableData: e.tableData,
3557
+ xhrMethod: e.xhrMethod,
3549
3558
  items: e.items,
3550
3559
  rowItem: (t) => e.rowItem(t, e.selectRow),
3551
3560
  class: "divide-y divide-border",
@@ -3582,6 +3591,8 @@ class Un extends ot {
3582
3591
  // @ts-ignore
3583
3592
  tableData: this.tableData,
3584
3593
  // @ts-ignore
3594
+ xhrMethod: this.xhrMethod,
3595
+ // @ts-ignore
3585
3596
  key: this.key,
3586
3597
  // @ts-ignore
3587
3598
  items: this.rows,
@@ -3635,6 +3646,8 @@ const Fo = i((e) => new Un(
3635
3646
  // @ts-ignore
3636
3647
  border: e.border,
3637
3648
  // @ts-ignore
3649
+ xhrMethod: e.xhrMethod,
3650
+ // @ts-ignore
3638
3651
  emptyState: e.emptyState,
3639
3652
  // @ts-ignore
3640
3653
  skeleton: e.skeleton
@@ -4131,7 +4144,7 @@ const it = () => b({ class: "m-2", variant: "ghost", addState() {
4131
4144
  s.callBack = t;
4132
4145
  });
4133
4146
  }, dt = (e) => o({ class: "bg-background flex flex-auto flex-col w-full relative" }, [
4134
- P(
4147
+ M(
4135
4148
  "open",
4136
4149
  (t) => t ? [
4137
4150
  new ia({ title: e.title }, [
@@ -4418,7 +4431,7 @@ const ha = i(({ index: e, click: t, state: s }, n) => ye({
4418
4431
  fa(e)
4419
4432
  ]);
4420
4433
  }]
4421
- }), Ho = M(
4434
+ }), Ho = P(
4422
4435
  {
4423
4436
  /**
4424
4437
  * This will set up the data object.
@@ -4697,7 +4710,7 @@ export {
4697
4710
  Bo as aT,
4698
4711
  da as aU,
4699
4712
  ko as aV,
4700
- Pa as aW,
4713
+ Ma as aW,
4701
4714
  io as aX,
4702
4715
  x as aY,
4703
4716
  Xa as aZ,
@@ -4710,7 +4723,7 @@ export {
4710
4723
  So as af,
4711
4724
  lt as ag,
4712
4725
  pa as ah,
4713
- Me as ai,
4726
+ Pe as ai,
4714
4727
  Ys as aj,
4715
4728
  Ao as ak,
4716
4729
  Ro as al,
@@ -4748,7 +4761,7 @@ export {
4748
4761
  An as j,
4749
4762
  Ba as k,
4750
4763
  ao as l,
4751
- Ma as m,
4764
+ Pa as m,
4752
4765
  eo as n,
4753
4766
  po as o,
4754
4767
  Io as p,
@@ -4756,8 +4769,8 @@ export {
4756
4769
  To as r,
4757
4770
  jn as s,
4758
4771
  Wa as t,
4759
- Po as u,
4760
- Mo as v,
4772
+ Mo as u,
4773
+ Po as v,
4761
4774
  qa as w,
4762
4775
  ce as x,
4763
4776
  sn as y,
package/dist/index.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { A as s, a as o, B as t, b as n, c as r, d as l, e as i, f as u, C as p, g as m, h as d, i as g, j as c, k as T, l as b, m as I, n as C, o as S, p as F, q as D, r as B, D as P, s as k, t as M, u as v, v as N, w as f, x, y as h, z as y, E as U, F as W, G as w, H as L, I as H, J as A, K as G, L as R, M as E, N as O, O as V, P as Z, Q as j, R as J, S as _, T as q, U as z, V as K, W as Q, X, Y, Z as $, _ as aa, $ as ea, a0 as sa, a1 as oa, a2 as ta, a3 as na, a4 as ra, a5 as la, a6 as ia, a7 as ua, a8 as pa, a9 as ma, aa as da, ab as ga, ac as ca, ad as Ta, ae as ba, af as Ia, ag as Ca, ah as Sa, ai as Fa, aj as Da, ak as Ba, al as Pa, am as ka, an as Ma, ao as va, ap as Na, aq as fa, ar as xa, as as ha, at as ya, au as Ua, av as Wa, aw as wa, ax as La, ay as Ha, az as Aa, aA as Ga, aB as Ra, aC as Ea, aD as Oa, aE as Va, aF as Za, aG as ja, aH as Ja, aI as _a, aJ as qa, aK as za, aL as Ka, aM as Qa, aN as Xa, aO as Ya, aP as $a, aQ as ae, aR as ee, aS as se, aT as oe, aU as te, aV as ne, aW as re, aX as le, aY as ie, aZ as ue, a_ as pe, a$ as me, b0 as de, b1 as ge, b2 as ce, b3 as Te, b4 as be, b5 as Ie, b6 as Ce, b7 as Se } from "./full-page-B94AsK9X.js";
1
+ import { A as s, a as o, B as t, b as n, c as r, d as l, e as i, f as u, C as p, g as m, h as d, i as g, j as c, k as T, l as b, m as I, n as C, o as S, p as F, q as D, r as B, D as P, s as k, t as M, u as v, v as N, w as f, x, y as h, z as y, E as U, F as W, G as w, H as L, I as H, J as A, K as G, L as R, M as E, N as O, O as V, P as Z, Q as j, R as J, S as _, T as q, U as z, V as K, W as Q, X, Y, Z as $, _ as aa, $ as ea, a0 as sa, a1 as oa, a2 as ta, a3 as na, a4 as ra, a5 as la, a6 as ia, a7 as ua, a8 as pa, a9 as ma, aa as da, ab as ga, ac as ca, ad as Ta, ae as ba, af as Ia, ag as Ca, ah as Sa, ai as Fa, aj as Da, ak as Ba, al as Pa, am as ka, an as Ma, ao as va, ap as Na, aq as fa, ar as xa, as as ha, at as ya, au as Ua, av as Wa, aw as wa, ax as La, ay as Ha, az as Aa, aA as Ga, aB as Ra, aC as Ea, aD as Oa, aE as Va, aF as Za, aG as ja, aH as Ja, aI as _a, aJ as qa, aK as za, aL as Ka, aM as Qa, aN as Xa, aO as Ya, aP as $a, aQ as ae, aR as ee, aS as se, aT as oe, aU as te, aV as ne, aW as re, aX as le, aY as ie, aZ as ue, a_ as pe, a$ as me, b0 as de, b1 as ge, b2 as ce, b3 as Te, b4 as be, b5 as Ie, b6 as Ce, b7 as Se } from "./full-page-C72g6t7s.js";
2
2
  import { S as De } from "./skeleton-BlY3opxG.js";
3
3
  import { Icons as Pe, MaterialSymbols as ke } from "./icons.es.js";
4
- import { C as ve, D as Ne, a as fe, b as xe, c as he, d as ye, e as Ue, M as We, N as we, S as Le, f as He, g as Ae, h as Ge, T as Re, i as Ee } from "./confirmation-CanrebjP.js";
5
- import { B as Ve, I as Ze, N as je, P as Je, S as _e, T as qe, a as ze, b as Ke, U as Qe, c as Xe, d as Ye, e as $e, W as as, f as es, g as ss, h as os, i as ts, j as ns, k as rs, l as ls, m as is, n as us } from "./signature-panel-B63AkDZP.js";
6
- import { S as ms } from "./sidebar-menu-ChdeuGcO.js";
7
- import { B as gs, C as cs, F as Ts, a as bs, S as Is } from "./sidebar-menu-page-BSdU46Zw.js";
4
+ import { C as ve, D as Ne, a as fe, b as xe, c as he, d as ye, e as Ue, M as We, N as we, S as Le, f as He, g as Ae, h as Ge, T as Re, i as Ee } from "./confirmation-kPMxirr9.js";
5
+ import { B as Ve, I as Ze, N as je, P as Je, S as _e, T as qe, a as ze, b as Ke, U as Qe, c as Xe, d as Ye, e as $e, W as as, f as es, g as ss, h as os, i as ts, j as ns, k as rs, l as ls, m as is, n as us } from "./signature-panel-9WjCJ3-6.js";
6
+ import { S as ms } from "./sidebar-menu-CIOu7Ezf.js";
7
+ import { B as gs, C as cs, F as Ts, a as bs, S as Is } from "./sidebar-menu-page-YxQ1ybaW.js";
8
8
  import { A as Ss, B as Fs, F as Ds, M as Bs, T as Ps, a as ks } from "./bside-template-C7AQgQ6H.js";
9
9
  import { F as vs, c as Ns } from "./format-DE4rFWuD.js";
10
10
  import { I as xs } from "./image-scaler-1G-JzJVG.js";
@@ -1,5 +1,5 @@
1
- import { A as s, a as t, e, o as r, p as i, q as n, r as m, u as l, v as d, z as C, E as p, F as D, H as S, K as u, V as c, W as g, X as F, Y as T, Z as f, _ as b, $ as w, a1 as A, a2 as I, a3 as M, aa as P, af as y, aj as B, at as R, ay as U, az as k, aM as v, aR as x, aT as E, aV as L, b4 as N } from "./full-page-B94AsK9X.js";
2
- import { C as z, D as V, a as _, b as j, c as q, d as G, e as H, M as K, N as O, S as W, f as X, g as Y, h as Z, T as $, i as J } from "./confirmation-CanrebjP.js";
1
+ import { A as s, a as t, e, o as r, p as i, q as n, r as m, u as l, v as d, z as C, E as p, F as D, H as S, K as u, V as c, W as g, X as F, Y as T, Z as f, _ as b, $ as w, a1 as A, a2 as I, a3 as M, aa as P, af as y, aj as B, at as R, ay as U, az as k, aM as v, aR as x, aT as E, aV as L, b4 as N } from "./full-page-C72g6t7s.js";
2
+ import { C as z, D as V, a as _, b as j, c as q, d as G, e as H, M as K, N as O, S as W, f as X, g as Y, h as Z, T as $, i as J } from "./confirmation-kPMxirr9.js";
3
3
  export {
4
4
  s as Alert,
5
5
  t as Avatar,
@@ -1,6 +1,6 @@
1
- import { B as s, b as n, C as t, g as r, j as o, D as l, s as i, x as d, y as b, G as u, I as g, a4 as p, a6 as v, ab as D, ag as N, ak as T, al as k, am as C, ao as c, ap as m, aq as y, ar as B, as as S, av as h, aA as M, aD as W, aH as I, aI as U, aJ as H, aL as x, aN as P, aO as L, aU as f, a_ as G, a$ as O, b3 as j, b7 as F } from "./full-page-B94AsK9X.js";
2
- import { B as w, I as A, N as J, P as R, S as _, T as $, a as z, b as E, U as K, c as Q, d as V, e as X, W as Y, f as Z, g as aa, h as ea, i as sa, j as na, k as ta, l as ra, m as oa, n as la } from "./signature-panel-B63AkDZP.js";
3
- import { S as da } from "./sidebar-menu-ChdeuGcO.js";
1
+ import { B as s, b as n, C as t, g as r, j as o, D as l, s as i, x as d, y as b, G as u, I as g, a4 as p, a6 as v, ab as D, ag as N, ak as T, al as k, am as C, ao as c, ap as m, aq as y, ar as B, as as S, av as h, aA as M, aD as W, aH as I, aI as U, aJ as H, aL as x, aN as P, aO as L, aU as f, a_ as G, a$ as O, b3 as j, b7 as F } from "./full-page-C72g6t7s.js";
2
+ import { B as w, I as A, N as J, P as R, S as _, T as $, a as z, b as E, U as K, c as Q, d as V, e as X, W as Y, f as Z, g as aa, h as ea, i as sa, j as na, k as ta, l as ra, m as oa, n as la } from "./signature-panel-9WjCJ3-6.js";
3
+ import { S as da } from "./sidebar-menu-CIOu7Ezf.js";
4
4
  export {
5
5
  s as BackButton,
6
6
  n as Backdrop,
package/dist/pages.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as s, a5 as g, ah as n, aw as P } from "./full-page-B94AsK9X.js";
2
- import { B as r, C as o, F as i, a as t, S as u } from "./sidebar-menu-page-BSdU46Zw.js";
1
+ import { d as s, a5 as g, ah as n, aw as P } from "./full-page-C72g6t7s.js";
2
+ import { B as r, C as o, F as i, a as t, S as u } from "./sidebar-menu-page-YxQ1ybaW.js";
3
3
  export {
4
4
  s as BasicPage,
5
5
  r as BlankPage,
@@ -1,5 +1,5 @@
1
1
  import { Div as r, Header as x, H1 as c } from "@base-framework/atoms";
2
- import { ab as n } from "./full-page-B94AsK9X.js";
2
+ import { ab as n } from "./full-page-C72g6t7s.js";
3
3
  const b = ({ title: l, options: a, class: s = "", mobileBorder: t = !1, sticky: e = !1, topNav: o = null, bottomNav: p = null }) => r({ class: `pb-12 p-4 pt-0 lg:p-6 lg:border-r w-full lg:max-w-[300px] flex-auto flex-col ${s}` }, [
4
4
  o,
5
5
  l && x({ class: "pb-4 md:pb-2 px-6 flex" }, [
@@ -1,7 +1,7 @@
1
1
  import { Div as s } from "@base-framework/atoms";
2
- import { d as a, ah as i, aw as r, al as n } from "./full-page-B94AsK9X.js";
2
+ import { d as a, ah as i, aw as r, al as n } from "./full-page-C72g6t7s.js";
3
3
  import { F as l, A as d } from "./bside-template-C7AQgQ6H.js";
4
- import { S as c } from "./sidebar-menu-ChdeuGcO.js";
4
+ import { S as c } from "./sidebar-menu-CIOu7Ezf.js";
5
5
  class f extends a {
6
6
  /**
7
7
  * This will render the page.
@@ -1,6 +1,6 @@
1
1
  import { Div as r, Button as v, On as j, Span as T, Nav as f, Ul as p, Section as y, Li as w, Canvas as z } from "@base-framework/atoms";
2
2
  import { Component as k, Data as I, DateTime as U, router as b, NavLink as S, base as L, Dom as B } from "@base-framework/base";
3
- import { f as C, av as A, b0 as u, a7 as F } from "./full-page-B94AsK9X.js";
3
+ import { f as C, av as A, b0 as u, a7 as F } from "./full-page-C72g6t7s.js";
4
4
  import { Icons as D } from "./icons.es.js";
5
5
  import { IntervalTimer as O } from "@base-framework/organisms";
6
6
  class Lt extends k {
@@ -16,6 +16,7 @@
16
16
  * @property {function} [props.selectRow] - The function to select a row.
17
17
  * @property {string} [props.border] - The border to add to the table.
18
18
  * @property {object} [props.data] - The table data.
19
+ * @property {string} [props.xhrMethod='all'] - The method name to call on data.xhr.
19
20
  * @property {string} [props.cache] - The table cache identifier.
20
21
  * @property {object|null} [props.emptyState] - The empty state to show when there are no items.
21
22
  * @property {boolean|object} [props.skeleton] - Skeleton configuration. Can be true for default or object with { number: 5, row: customRowFunction }
@@ -11,6 +11,7 @@ export function DynamicTableBody(props: object): object;
11
11
  * @property {string} [props.class] - The class to add to the list.
12
12
  * @property {string} [props.key] - The key to use to identify the items.
13
13
  * @property {object} [props.tableData] - The table data.
14
+ * @property {string} [props.xhrMethod='all'] - The method name to call on data.xhr.
14
15
  * @property {array} [props.rows] - The initial rows.
15
16
  * @property {function} [props.rowItem] - The row item.
16
17
  * @property {string} [props.containerClass] - The class to add to the scroll container.
@@ -17,6 +17,7 @@
17
17
  * @property {function} [props.selectRow] - The function to select a row.
18
18
  * @property {string} [props.border] - The border to add to the table.
19
19
  * @property {object} [props.data] - The table data.
20
+ * @property {string} [props.xhrMethod='all'] - The method name to call on data.xhr.
20
21
  * @property {string} [props.cache] - The table cache identifier.
21
22
  * @property {object|null} [props.emptyState] - The empty state to show when there are no items.
22
23
  * @property {boolean|object} [props.skeleton] - Skeleton configuration. Can be true for default or object with { number: 5, row: customRowFunction }
@@ -12,6 +12,7 @@ export function ScrollableDataTableBody(props: object): object;
12
12
  * @property {string} [props.class] - The class to add to the list.
13
13
  * @property {string} [props.key] - The key to use to identify the items.
14
14
  * @property {object} [props.tableData] - The table data.
15
+ * @property {string} [props.xhrMethod='all'] - The method name to call on data.xhr.
15
16
  * @property {array} [props.rows] - The initial rows.
16
17
  * @property {function} [props.rowItem] - The row item.
17
18
  * @property {string} [props.containerClass] - The class to add to the scroll container.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.2.47",
3
+ "version": "1.2.49",
4
4
  "description": "This is a UI package that adds components and atoms that use Tailwind CSS and a theme based on Shadcn.",
5
5
  "main": "./dist/index.es.js",
6
6
  "scripts": {