@base-framework/ui 1.2.41 → 1.2.43
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 +1 -1
- package/dist/{confirmation-B34b53JC.js → confirmation-8zD2a5hB.js} +1 -1
- package/dist/{full-page-4f7_qOkb.js → full-page-Bnweb6Sc.js} +41 -40
- package/dist/index.es.js +5 -5
- package/dist/molecules.es.js +2 -2
- package/dist/organisms.es.js +3 -3
- package/dist/pages.es.js +2 -2
- package/dist/{sidebar-menu-DHQ0LZEC.js → sidebar-menu-BHHp2hXa.js} +1 -1
- package/dist/{sidebar-menu-page-B8VlixG8.js → sidebar-menu-page-D12NEBpp.js} +2 -2
- package/dist/{signature-panel-ClU6uDct.js → signature-panel-BWHC9V2v.js} +1 -1
- package/dist/types/components/atoms/buttons/toggle-button.d.ts +4 -0
- package/package.json +1 -1
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-
|
|
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-Bnweb6Sc.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-
|
|
3
|
+
import { az as k, b8 as C, f as c, at as E, F as L } from "./full-page-Bnweb6Sc.js";
|
|
4
4
|
import { List as N, DynamicTime as M } from "@base-framework/organisms";
|
|
5
5
|
class X extends d {
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as j, Span as u, Button as
|
|
1
|
+
import { I as j, Span as u, Button as v, OnState as M, Div as o, Legend as ft, Fieldset as gt, H4 as qe, P as k, Label as E, Checkbox as he, Input as p, Textarea as Ge, UseParent as V, Img as fe, H5 as mt, H2 as J, Form as bt, Header as X, Footer as ge, A as Ke, H3 as me, Nav as be, Ul as Z, Li as xe, OnStateOpen as pe, On as Q, Dialog as xt, Th as Qe, Thead as pt, Tr as yt, Table as ye, Time as wt, H1 as vt } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as r, Jot as P, Component as S, Html as Je, Data as z, Events as R, DateTime as ee, NavLink as kt, router as De, DataTracker as Xe } from "@base-framework/base";
|
|
3
3
|
import { Icons as h } from "./icons.es.js";
|
|
4
4
|
import { Timer as Ct, TableBody as St, DataTableBody as $t, ScrollableTableBody as Dt, List as It } from "@base-framework/organisms";
|
|
@@ -183,7 +183,7 @@ class Ma extends Ze {
|
|
|
183
183
|
* Declare public props and their defaults.
|
|
184
184
|
*/
|
|
185
185
|
declareProps() {
|
|
186
|
-
this.icon = null, this.activeIcon = null, this.value = null, this.dataKey = null, this.active = !1, this.toggle = null, this.size = "sm", this.formatType = "number";
|
|
186
|
+
this.icon = null, this.activeIcon = null, this.value = null, this.dataKey = null, this.active = !1, this.toggle = null, this.size = "sm", this.fill = !1, this.formatType = "number";
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
189
|
* Set up internal states.
|
|
@@ -211,19 +211,19 @@ class Ma extends Ze {
|
|
|
211
211
|
render() {
|
|
212
212
|
const t = this.size, s = this.icon, n = this.activeIcon || this.icon, a = (() => {
|
|
213
213
|
if (this.dataKey) {
|
|
214
|
-
let
|
|
215
|
-
return this.formatType === "number" ?
|
|
214
|
+
let i = `[[${this.dataKey}]]`;
|
|
215
|
+
return this.formatType === "number" ? i = _.number(i, "0") : this.formatType === "money" ? i = _.roundMoney(i) : this.formatType === "date" ? i = _.date(i) : this.formatType === "percent" && (i = _.percentage(i)), u({ class: "toggle-btn-value text-sm tabular-nums capitalize" }, i);
|
|
216
216
|
}
|
|
217
217
|
return this.value !== null && this.value !== void 0 ? u({ class: "toggle-btn-value text-sm tabular-nums" }, String(this.value)) : null;
|
|
218
|
-
})();
|
|
219
|
-
return
|
|
218
|
+
})(), l = this.fill;
|
|
219
|
+
return v({
|
|
220
220
|
click: () => this.handleToggle(),
|
|
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
224
|
M(
|
|
225
225
|
"active",
|
|
226
|
-
(
|
|
226
|
+
(i) => x({ size: t, variant: i && l ? "filled" : "outlined" }, i ? n : s)
|
|
227
227
|
),
|
|
228
228
|
a
|
|
229
229
|
]);
|
|
@@ -242,7 +242,7 @@ class Pa extends S {
|
|
|
242
242
|
* Declare public props.
|
|
243
243
|
*/
|
|
244
244
|
declareProps() {
|
|
245
|
-
this.icon = null, this.activeIcon = null, this.active = !1, this.size = "md", this.activeClass = "", this.toggle = null;
|
|
245
|
+
this.icon = null, this.activeIcon = null, this.active = !1, this.size = "md", this.activeClass = "", this.fill = !1, this.toggle = null;
|
|
246
246
|
}
|
|
247
247
|
/**
|
|
248
248
|
* Set up internal states.
|
|
@@ -268,24 +268,25 @@ class Pa extends S {
|
|
|
268
268
|
* @returns {object}
|
|
269
269
|
*/
|
|
270
270
|
render() {
|
|
271
|
-
const t = this.icon, s = this.activeIcon || this.icon, n = ae[this.size] || ae.md, a = ["xs", "sm"].includes(this.size) ? "xs" : "sm", l = this.class ?? "bg-background/40 backdrop-blur-sm", i = "text-foreground", c = this.activeClass || i, f = this.circle ?? !1;
|
|
272
|
-
return
|
|
271
|
+
const t = this.icon, s = this.activeIcon || this.icon, n = ae[this.size] || ae.md, a = ["xs", "sm"].includes(this.size) ? "xs" : "sm", l = this.class ?? "bg-background/40 backdrop-blur-sm", i = "text-foreground", c = this.activeClass || i, f = this.circle ?? !1, m = this.fill;
|
|
272
|
+
return v({
|
|
273
273
|
click: () => this.handleToggle(),
|
|
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
|
-
M("active", (
|
|
277
|
+
M("active", (w) => [
|
|
278
278
|
x({
|
|
279
279
|
size: a,
|
|
280
|
-
|
|
281
|
-
|
|
280
|
+
variant: w && m ? "filled" : "outlined",
|
|
281
|
+
class: `transition-colors ${w ? c : i}`
|
|
282
|
+
}, w ? s : t)
|
|
282
283
|
])
|
|
283
284
|
]);
|
|
284
285
|
}
|
|
285
286
|
}
|
|
286
287
|
const Ba = r((e, t) => {
|
|
287
288
|
const s = e.size || "md", n = ae[s] || ae.md, a = ["xs", "sm"].includes(s) ? "xs" : "sm";
|
|
288
|
-
return
|
|
289
|
+
return v({
|
|
289
290
|
...e,
|
|
290
291
|
// @ts-ignore
|
|
291
292
|
class: `circle-btn inline-flex items-center justify-center rounded-full border-0 bg-background/40 backdrop-blur-sm text-foreground cursor-pointer transition-colors hover:bg-background/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 ${n} ${e.class || ""}`
|
|
@@ -317,13 +318,13 @@ const et = (e) => {
|
|
|
317
318
|
return ue.set(t, a), a;
|
|
318
319
|
}, tt = (e) => {
|
|
319
320
|
ue.delete(e || "");
|
|
320
|
-
}, L = (e) => r((t, s) =>
|
|
321
|
+
}, L = (e) => r((t, s) => v({
|
|
321
322
|
...e,
|
|
322
323
|
...t,
|
|
323
324
|
// @ts-ignore
|
|
324
325
|
class: `bttn ${e.class} ${t.class || ""}`
|
|
325
326
|
}, s)), we = r(
|
|
326
|
-
(e, t) =>
|
|
327
|
+
(e, t) => v({
|
|
327
328
|
...e,
|
|
328
329
|
// @ts-ignore
|
|
329
330
|
class: e.class
|
|
@@ -375,7 +376,7 @@ const et = (e) => {
|
|
|
375
376
|
lg: "w-12 h-12",
|
|
376
377
|
xl: "w-14 h-14"
|
|
377
378
|
}, a = e.backgroundClass || "bg-background/30 hover:bg-background/50";
|
|
378
|
-
return
|
|
379
|
+
return v({
|
|
379
380
|
...e,
|
|
380
381
|
// @ts-ignore
|
|
381
382
|
class: `circle-icon-btn inline-flex items-center justify-center rounded-full ${a} text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ring-offset-background transition-colors disabled:pointer-events-none disabled:opacity-50 cursor-pointer ${n[s] || n.md} ${e.class || ""}`
|
|
@@ -1075,8 +1076,8 @@ const ls = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
|
|
|
1075
1076
|
}), gs = (e, t) => {
|
|
1076
1077
|
const s = e ? e.getBoundingClientRect() : { top: 0, bottom: 0, left: 0 }, n = t.getBoundingClientRect(), a = 10, l = globalThis.scrollX, i = globalThis.scrollY;
|
|
1077
1078
|
let c = s.left + l, f = s.bottom + i;
|
|
1078
|
-
const m = globalThis.innerHeight - s.bottom,
|
|
1079
|
-
return c + n.width > globalThis.innerWidth && (c = globalThis.innerWidth - n.width - a), m < n.height &&
|
|
1079
|
+
const m = globalThis.innerHeight - s.bottom, w = s.top;
|
|
1080
|
+
return c + n.width > globalThis.innerWidth && (c = globalThis.innerWidth - n.width - a), m < n.height && w > m ? f = s.top + i - n.height - a : m < n.height && (f = s.bottom + i - (n.height - m) - a), { x: c, y: f };
|
|
1080
1081
|
};
|
|
1081
1082
|
class se extends S {
|
|
1082
1083
|
/**
|
|
@@ -1297,7 +1298,7 @@ const ms = r((e, t) => o({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t))
|
|
|
1297
1298
|
]), po = (e, t) => o({ class: "flex" }, [
|
|
1298
1299
|
u({ class: "text-muted-foreground mr-8 w-24 truncate text-nowrap" }, e),
|
|
1299
1300
|
u(t)
|
|
1300
|
-
]), ks = r(({ title: e, description: t, back: s, icon: n, options: a = [], titleCenter: l = !1 }) => X({ class: "modal-header bg-background/80 backdrop-blur-md sticky
|
|
1301
|
+
]), ks = r(({ title: e, description: t, back: s, icon: n, options: a = [], titleCenter: l = !1 }) => X({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10 min-w-0" }, [
|
|
1301
1302
|
/**
|
|
1302
1303
|
* Back Button (Mobile Only)
|
|
1303
1304
|
*/
|
|
@@ -1484,7 +1485,7 @@ class wo extends S {
|
|
|
1484
1485
|
t && t.stopPropagation(), this.duration !== "infinite" && this.timer.stop(), this.onClick && this.onClick(), this.destroy();
|
|
1485
1486
|
}
|
|
1486
1487
|
}
|
|
1487
|
-
const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) =>
|
|
1488
|
+
const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) => v({
|
|
1488
1489
|
class: 'text-sm gap-1 font-medium leading-none disabled:cursor-not-allowed disabled:opacity-70 flex flex-col items-center justify-between rounded-md border-2 bg-popover p-4 hover:bg-accent hover:text-accent-foreground data-[state="active"]:border-primary [&:has([data-state="active"])]:border-primary',
|
|
1489
1490
|
onState: ["method", { active: e }],
|
|
1490
1491
|
dataSet: ["method", ["state", e, "active"]],
|
|
@@ -1556,7 +1557,7 @@ const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) => w(
|
|
|
1556
1557
|
* @returns {object}
|
|
1557
1558
|
*/
|
|
1558
1559
|
render() {
|
|
1559
|
-
return
|
|
1560
|
+
return v({
|
|
1560
1561
|
class: "relative inline-flex h-6 w-11 min-w-11 items-center rounded-full bg-muted transition-colors focus:outline-none",
|
|
1561
1562
|
onState: ["active", { "bg-primary": !0, "bg-muted": !1 }],
|
|
1562
1563
|
click: (t, { state: s }) => {
|
|
@@ -1893,7 +1894,7 @@ const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) => w(
|
|
|
1893
1894
|
);
|
|
1894
1895
|
}
|
|
1895
1896
|
}
|
|
1896
|
-
), Es = ({ toggleDropdown: e }) =>
|
|
1897
|
+
), Es = ({ toggleDropdown: e }) => v(
|
|
1897
1898
|
{
|
|
1898
1899
|
cache: "button",
|
|
1899
1900
|
class: "relative z-2 inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border bg-input hover:bg-muted h-10 px-4 py-2 justify-between",
|
|
@@ -2113,7 +2114,7 @@ const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) => w(
|
|
|
2113
2114
|
select: i,
|
|
2114
2115
|
disabled: c
|
|
2115
2116
|
} = e;
|
|
2116
|
-
return
|
|
2117
|
+
return v(
|
|
2117
2118
|
{
|
|
2118
2119
|
class: `
|
|
2119
2120
|
flex items-center justify-center h-9 w-auto p-0 font-normal text-sm rounded-md cursor-pointer
|
|
@@ -2129,10 +2130,10 @@ const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) => w(
|
|
|
2129
2130
|
t.toString()
|
|
2130
2131
|
);
|
|
2131
2132
|
}, ie = (e, t, s, n) => e === n.date && t === n.month && s === n.year, en = (e, t, s, n = !1) => {
|
|
2132
|
-
const { year: a, month: l } = e, i = A(a, l, e.date), c = new Date(a, l, 1).getDay(), f = new Date(a, l + 1, 0).getDate(), m = new Date(a, l, 0).getDate(),
|
|
2133
|
+
const { year: a, month: l } = e, i = A(a, l, e.date), c = new Date(a, l, 1).getDay(), f = new Date(a, l + 1, 0).getDate(), m = new Date(a, l, 0).getDate(), w = [], W = l === 0 ? 11 : l - 1, U = l === 0 ? a - 1 : a;
|
|
2133
2134
|
for (let d = c - 1; d >= 0; d--) {
|
|
2134
2135
|
const y = m - d, I = ie(y, W, U, t), T = new Date(U, W, y) < new Date(t.year, t.month, t.date), F = n && T;
|
|
2135
|
-
|
|
2136
|
+
w.push(
|
|
2136
2137
|
re({
|
|
2137
2138
|
day: y,
|
|
2138
2139
|
currentDate: i,
|
|
@@ -2146,7 +2147,7 @@ const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) => w(
|
|
|
2146
2147
|
}
|
|
2147
2148
|
for (let d = 1; d <= f; d++) {
|
|
2148
2149
|
const y = ie(d, l, a, t), I = new Date(a, l, d) < new Date(t.year, t.month, t.date), T = n && I;
|
|
2149
|
-
|
|
2150
|
+
w.push(
|
|
2150
2151
|
re({
|
|
2151
2152
|
day: d,
|
|
2152
2153
|
currentDate: i,
|
|
@@ -2158,10 +2159,10 @@ const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) => w(
|
|
|
2158
2159
|
})
|
|
2159
2160
|
);
|
|
2160
2161
|
}
|
|
2161
|
-
const Y = l === 11 ? 0 : l + 1, ne = l === 11 ? a + 1 : a, g = (7 -
|
|
2162
|
+
const Y = l === 11 ? 0 : l + 1, ne = l === 11 ? a + 1 : a, g = (7 - w.length % 7) % 7;
|
|
2162
2163
|
for (let d = 1; d <= g; d++) {
|
|
2163
2164
|
const y = ie(d, Y, ne, t), I = new Date(ne, Y, d) < new Date(t.year, t.month, t.date), T = n && I;
|
|
2164
|
-
|
|
2165
|
+
w.push(
|
|
2165
2166
|
re({
|
|
2166
2167
|
day: d,
|
|
2167
2168
|
currentDate: i,
|
|
@@ -2173,7 +2174,7 @@ const Re = globalThis.matchMedia, le = r(({ value: e, label: t, icon: s }) => w(
|
|
|
2173
2174
|
})
|
|
2174
2175
|
);
|
|
2175
2176
|
}
|
|
2176
|
-
return
|
|
2177
|
+
return w;
|
|
2177
2178
|
}, Ye = ({ label: e, click: t }) => b(
|
|
2178
2179
|
{
|
|
2179
2180
|
class: `
|
|
@@ -2423,7 +2424,7 @@ const rn = (e) => {
|
|
|
2423
2424
|
[
|
|
2424
2425
|
dn({ bind: e, required: t }),
|
|
2425
2426
|
un({ placeholder: l, handleInputChange: n, handleInputFocus: a }),
|
|
2426
|
-
|
|
2427
|
+
v(
|
|
2427
2428
|
{
|
|
2428
2429
|
class: "shrink-0 hover:bg-muted/50 rounded p-1 cursor-pointer",
|
|
2429
2430
|
click: s
|
|
@@ -2557,16 +2558,16 @@ const rn = (e) => {
|
|
|
2557
2558
|
class: `flex items-center justify-center p-0 text-sm font-medium rounded-md transition-colors ${m}`,
|
|
2558
2559
|
variant: f,
|
|
2559
2560
|
disabled: s,
|
|
2560
|
-
click: (
|
|
2561
|
-
|
|
2561
|
+
click: (w) => {
|
|
2562
|
+
w.preventDefault(), w.stopPropagation(), s || c();
|
|
2562
2563
|
}
|
|
2563
2564
|
},
|
|
2564
2565
|
e.toString()
|
|
2565
2566
|
);
|
|
2566
2567
|
}, pn = ({ today: e, current: t, blockPriorDates: s, onDateClick: n }) => {
|
|
2567
|
-
const { start: a, end: l } = t, i = new Date(t.year, t.month, 1).getDay(), c = new Date(t.year, t.month + 1, 0).getDate(), f = [], m = t.month === 0 ? 11 : t.month - 1,
|
|
2568
|
+
const { start: a, end: l } = t, i = new Date(t.year, t.month, 1).getDay(), c = new Date(t.year, t.month + 1, 0).getDate(), f = [], m = t.month === 0 ? 11 : t.month - 1, w = t.month === 0 ? t.year - 1 : t.year, W = new Date(w, m + 1, 0).getDate(), U = t.month === 11 ? 0 : t.month + 1, Y = t.month === 11 ? t.year + 1 : t.year;
|
|
2568
2569
|
for (let g = i - 1; g >= 0; g--) {
|
|
2569
|
-
const d = W - g, y = A(
|
|
2570
|
+
const d = W - g, y = A(w, m, d), I = new Date(w, m, d), T = new Date(e.year, e.month, e.date), F = I < T, q = s && F, G = a === y, K = l === y, ht = a && l && y > a && y < l;
|
|
2570
2571
|
f.push({
|
|
2571
2572
|
day: d,
|
|
2572
2573
|
iso: y,
|
|
@@ -2865,7 +2866,7 @@ const $n = ({ bind: e, required: t }) => p({
|
|
|
2865
2866
|
class: "opacity-0 absolute top-0 left-0 w-full h-full pointer-events-none",
|
|
2866
2867
|
bind: e,
|
|
2867
2868
|
required: t
|
|
2868
|
-
}), Dn = ({ bind: e, required: t, toggleOpen: s }) =>
|
|
2869
|
+
}), Dn = ({ bind: e, required: t, toggleOpen: s }) => v({
|
|
2869
2870
|
class: "relative flex items-center gap-2 w-full justify-between border bg-input hover:bg-muted rounded-md h-10 px-4 py-2",
|
|
2870
2871
|
click: s
|
|
2871
2872
|
}, [
|
|
@@ -2981,7 +2982,7 @@ function zn({ bind: e, required: t, toggleOpen: s, handleInputChange: n, handleI
|
|
|
2981
2982
|
[
|
|
2982
2983
|
Pn({ bind: e, required: t }),
|
|
2983
2984
|
Bn({ placeholder: l, handleInputChange: n, handleInputFocus: a }),
|
|
2984
|
-
|
|
2985
|
+
v(
|
|
2985
2986
|
{
|
|
2986
2987
|
class: "shrink-0 hover:bg-muted/50 rounded p-1 cursor-pointer",
|
|
2987
2988
|
click: s
|
|
@@ -2998,7 +2999,7 @@ function ce({ items: e, handleTimeSelect: t, state: s, stateValue: n, pad: a = !
|
|
|
2998
2999
|
{ class: "flex flex-col max-h-[200px] overflow-y-auto" },
|
|
2999
3000
|
e.map((l) => {
|
|
3000
3001
|
let i = a ? l.toString().padStart(2, "0") : l.toString();
|
|
3001
|
-
return
|
|
3002
|
+
return v({
|
|
3002
3003
|
text: i,
|
|
3003
3004
|
class: "hover:bg-muted/50 rounded-md pr-2 py-1",
|
|
3004
3005
|
click: () => t({ [n]: i }),
|
|
@@ -3222,7 +3223,7 @@ r((e, t) => ({
|
|
|
3222
3223
|
...e,
|
|
3223
3224
|
children: t
|
|
3224
3225
|
}));
|
|
3225
|
-
r(({ value: e, label: t }) =>
|
|
3226
|
+
r(({ value: e, label: t }) => v({
|
|
3226
3227
|
class: "inline-flex flex-auto items-center justify-center whitespace-nowrap rounded-md px-8 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
|
|
3227
3228
|
onState: ["performance", { active: e }],
|
|
3228
3229
|
dataSet: ["performance", ["state", e, "active"]],
|
|
@@ -3685,7 +3686,7 @@ class Jn extends S {
|
|
|
3685
3686
|
*/
|
|
3686
3687
|
render() {
|
|
3687
3688
|
const t = this.state;
|
|
3688
|
-
return
|
|
3689
|
+
return v({
|
|
3689
3690
|
class: this.class || "",
|
|
3690
3691
|
onState: [
|
|
3691
3692
|
["selected", {
|
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-
|
|
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-Bnweb6Sc.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-
|
|
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-
|
|
6
|
-
import { S as ms } from "./sidebar-menu-
|
|
7
|
-
import { B as gs, C as cs, F as Ts, a as bs, S as Is } from "./sidebar-menu-page-
|
|
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-8zD2a5hB.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-BWHC9V2v.js";
|
|
6
|
+
import { S as ms } from "./sidebar-menu-BHHp2hXa.js";
|
|
7
|
+
import { B as gs, C as cs, F as Ts, a as bs, S as Is } from "./sidebar-menu-page-D12NEBpp.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";
|
package/dist/molecules.es.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-Bnweb6Sc.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-8zD2a5hB.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Alert,
|
|
5
5
|
t as Avatar,
|
package/dist/organisms.es.js
CHANGED
|
@@ -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-
|
|
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-
|
|
3
|
-
import { S as da } from "./sidebar-menu-
|
|
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-Bnweb6Sc.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-BWHC9V2v.js";
|
|
3
|
+
import { S as da } from "./sidebar-menu-BHHp2hXa.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-
|
|
2
|
-
import { B as r, C as o, F as i, a as t, S as u } from "./sidebar-menu-page-
|
|
1
|
+
import { d as s, a5 as g, ah as n, aw as P } from "./full-page-Bnweb6Sc.js";
|
|
2
|
+
import { B as r, C as o, F as i, a as t, S as u } from "./sidebar-menu-page-D12NEBpp.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-
|
|
2
|
+
import { ab as n } from "./full-page-Bnweb6Sc.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-
|
|
2
|
+
import { d as a, ah as i, aw as r, al as n } from "./full-page-Bnweb6Sc.js";
|
|
3
3
|
import { F as l, A as d } from "./bside-template-C7AQgQ6H.js";
|
|
4
|
-
import { S as c } from "./sidebar-menu-
|
|
4
|
+
import { S as c } from "./sidebar-menu-BHHp2hXa.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-
|
|
3
|
+
import { f as C, av as A, b0 as u, a7 as F } from "./full-page-Bnweb6Sc.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 {
|
|
@@ -29,6 +29,8 @@ export class ToggleButton extends Veil {
|
|
|
29
29
|
toggle: Function | null;
|
|
30
30
|
/** @type {string} Icon size: xs | sm | md | lg */
|
|
31
31
|
size: string;
|
|
32
|
+
/** @type {boolean} When true, renders the icon with variant: 'filled' in the active state (Material Symbols) */
|
|
33
|
+
fill: boolean;
|
|
32
34
|
/** @type {string} the format type for the value: 'number' | 'string' */
|
|
33
35
|
formatType: string;
|
|
34
36
|
/**
|
|
@@ -72,6 +74,8 @@ export class CircleToggleButton extends Component {
|
|
|
72
74
|
size: string;
|
|
73
75
|
/** @type {string} Extra Tailwind classes applied when active */
|
|
74
76
|
activeClass: string;
|
|
77
|
+
/** @type {boolean} When true, renders the icon with variant: 'filled' in the active state (Material Symbols) */
|
|
78
|
+
fill: boolean;
|
|
75
79
|
/** @type {Function|null} Called with the new boolean state on each click */
|
|
76
80
|
toggle: Function | null;
|
|
77
81
|
/**
|
package/package.json
CHANGED