@base-framework/ui 1.2.63 → 1.2.64
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-BYhgXB4V.js → confirmation-hbSrtjpk.js} +78 -68
- package/dist/{full-page-CgsmOUuL.js → full-page-BTj2Huvt.js} +3 -3
- 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-DzNAISW3.js → sidebar-menu-DpMrjmz4.js} +1 -1
- package/dist/{sidebar-menu-page-CHP_Dip6.js → sidebar-menu-page-Cxal38Hn.js} +2 -2
- package/dist/{signature-panel-BwV4Vg_K.js → signature-panel-eL8Lji5s.js} +1 -1
- package/dist/types/components/molecules/dropdowns/dropdown-menu.d.ts +8 -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-BTj2Huvt.js";
|
|
2
2
|
import { S as $ } from "./skeleton-BlY3opxG.js";
|
|
3
3
|
export {
|
|
4
4
|
t as Badge,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Component as d, Html as
|
|
2
|
-
import { Li as
|
|
3
|
-
import {
|
|
1
|
+
import { Component as d, Html as g, Dom as v, base as T, Data as S, Builder as C, DateTime as f } from "@base-framework/base";
|
|
2
|
+
import { Li as w, Span as p, Div as a, Ul as D, Button as x, OnState as Y, Time as B } from "@base-framework/atoms";
|
|
3
|
+
import { aY as m, f as h, az as k, b8 as y, at as E, F as L } from "./full-page-BTj2Huvt.js";
|
|
4
4
|
import { List as N, DynamicTime as M } from "@base-framework/organisms";
|
|
5
|
-
class
|
|
5
|
+
class V extends d {
|
|
6
6
|
/**
|
|
7
7
|
* This will declare the props for the compiler.
|
|
8
8
|
*
|
|
@@ -20,35 +20,43 @@ class X extends d {
|
|
|
20
20
|
this.prepareDestroy(), this.removeContext();
|
|
21
21
|
const t = this.panel, s = this.removingClass;
|
|
22
22
|
if (!s) {
|
|
23
|
-
|
|
23
|
+
g.removeElement(t);
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
v.addClass(t, s), T.on("animationend", t, (o) => g.removeElement(t));
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
const O = (e) => p({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), F = (e) => p({ class: "flex
|
|
29
|
+
const O = (e) => p({ class: "ml-auto text-xs tracking-widest opacity-60" }, e), F = (e) => p({ class: "flex-auto" }, e), P = (e, t) => w({
|
|
30
30
|
class: "relative flex cursor-pointer hover:bg-muted/50 select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
31
31
|
click: () => t(e)
|
|
32
32
|
}, [
|
|
33
|
-
e.icon &&
|
|
34
|
-
|
|
33
|
+
e.icon && m({ class: "sm" }, e.icon),
|
|
34
|
+
F(e.label),
|
|
35
35
|
e.shortcut && O(e.shortcut)
|
|
36
|
-
]),
|
|
37
|
-
e.map((s) =>
|
|
38
|
-
]),
|
|
36
|
+
]), I = (e, t) => D({ class: "grid gap-2" }, [
|
|
37
|
+
e.map((s) => P(s, t))
|
|
38
|
+
]), _ = (e) => a({ class: "w-full z-10" }, [
|
|
39
39
|
a({
|
|
40
40
|
class: "max-h-60 border rounded-md overflow-y-auto p-1 grid gap-2 divide-y divide-border",
|
|
41
|
-
for: ["groups", (t) =>
|
|
41
|
+
for: ["groups", (t) => I(t, e)]
|
|
42
42
|
})
|
|
43
|
-
]),
|
|
43
|
+
]), A = ({ label: e, icon: t, toggleDropdown: s, variant: o, btnClass: i }) => o != null ? h({
|
|
44
|
+
cache: "button",
|
|
45
|
+
variant: o,
|
|
46
|
+
class: i || "",
|
|
47
|
+
click: s
|
|
48
|
+
}, [
|
|
49
|
+
e && p(e),
|
|
50
|
+
t && m({}, t)
|
|
51
|
+
]) : x({
|
|
44
52
|
cache: "button",
|
|
45
53
|
class: `inline-flex items-center justify-between rounded-md border
|
|
46
54
|
px-2 py-2 text-sm font-medium hover:bg-muted
|
|
47
|
-
focus:outline-none transition duration-150 ease-in-out`,
|
|
55
|
+
focus:outline-none transition duration-150 ease-in-out ${i || ""}`,
|
|
48
56
|
click: s
|
|
49
57
|
}, [
|
|
50
58
|
e && p(e),
|
|
51
|
-
t &&
|
|
59
|
+
t && m({}, t)
|
|
52
60
|
]), U = ({ onSelect: e }) => a([
|
|
53
61
|
Y(
|
|
54
62
|
"open",
|
|
@@ -57,18 +65,18 @@ const O = (e) => p({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
|
|
|
57
65
|
parent: o,
|
|
58
66
|
button: o.button
|
|
59
67
|
}, [
|
|
60
|
-
|
|
68
|
+
_(e)
|
|
61
69
|
]) : null
|
|
62
70
|
)
|
|
63
71
|
]);
|
|
64
|
-
class
|
|
72
|
+
class X extends d {
|
|
65
73
|
/**
|
|
66
74
|
* This will declare the props for the compiler.
|
|
67
75
|
*
|
|
68
76
|
* @returns {void}
|
|
69
77
|
*/
|
|
70
78
|
declareProps() {
|
|
71
|
-
this.label = null, this.icon = null, this.onSelect = null, this.groups = [];
|
|
79
|
+
this.label = null, this.icon = null, this.onSelect = null, this.groups = [], this.variant = null, this.btnClass = null;
|
|
72
80
|
}
|
|
73
81
|
/**
|
|
74
82
|
* Initializes component data.
|
|
@@ -76,7 +84,7 @@ class Z extends d {
|
|
|
76
84
|
* @returns {Data}
|
|
77
85
|
*/
|
|
78
86
|
setData() {
|
|
79
|
-
return new
|
|
87
|
+
return new S({
|
|
80
88
|
groups: this.groups || []
|
|
81
89
|
});
|
|
82
90
|
}
|
|
@@ -115,17 +123,19 @@ class Z extends d {
|
|
|
115
123
|
*/
|
|
116
124
|
render() {
|
|
117
125
|
return a({ class: "relative" }, [
|
|
118
|
-
|
|
126
|
+
A({
|
|
119
127
|
label: this.label,
|
|
120
128
|
icon: this.icon,
|
|
121
|
-
toggleDropdown: this.toggleDropdown.bind(this)
|
|
129
|
+
toggleDropdown: this.toggleDropdown.bind(this),
|
|
130
|
+
variant: this.variant,
|
|
131
|
+
btnClass: this.btnClass
|
|
122
132
|
}),
|
|
123
133
|
U({ onSelect: this.handleSelect.bind(this) })
|
|
124
134
|
]);
|
|
125
135
|
}
|
|
126
136
|
}
|
|
127
|
-
const
|
|
128
|
-
class
|
|
137
|
+
const z = (e) => C.render(e, app.root);
|
|
138
|
+
class $ extends d {
|
|
129
139
|
/**
|
|
130
140
|
* This will declare the props for the compiler.
|
|
131
141
|
*
|
|
@@ -141,7 +151,7 @@ class W extends d {
|
|
|
141
151
|
*/
|
|
142
152
|
render() {
|
|
143
153
|
const t = this.getMainClass(), s = this.title || "", o = this.description || null;
|
|
144
|
-
return
|
|
154
|
+
return y(
|
|
145
155
|
{
|
|
146
156
|
class: t,
|
|
147
157
|
title: s,
|
|
@@ -190,8 +200,8 @@ class W extends d {
|
|
|
190
200
|
*/
|
|
191
201
|
getButtons() {
|
|
192
202
|
return [
|
|
193
|
-
|
|
194
|
-
this.hidePrimaryButton !== !0 &&
|
|
203
|
+
h({ variant: "outline", click: () => this.destroy() }, "Cancel"),
|
|
204
|
+
this.hidePrimaryButton !== !0 && h({ variant: "primary", type: "submit" }, "Save")
|
|
195
205
|
];
|
|
196
206
|
}
|
|
197
207
|
/**
|
|
@@ -259,7 +269,7 @@ class W extends d {
|
|
|
259
269
|
* @returns {void}
|
|
260
270
|
*/
|
|
261
271
|
open() {
|
|
262
|
-
|
|
272
|
+
z(this), this.showModal();
|
|
263
273
|
}
|
|
264
274
|
/**
|
|
265
275
|
* This will destroy the modal.
|
|
@@ -288,7 +298,7 @@ class W extends d {
|
|
|
288
298
|
this?.panel?.hidePopover(), this.state.open = !1, typeof this.onClose == "function" && this.onClose(this), document.documentElement.style.overflowY = "auto";
|
|
289
299
|
}
|
|
290
300
|
}
|
|
291
|
-
class
|
|
301
|
+
class W {
|
|
292
302
|
/**
|
|
293
303
|
* Creates an instance of DrawerGesture.
|
|
294
304
|
*
|
|
@@ -307,9 +317,9 @@ class G {
|
|
|
307
317
|
modalBody: i = null,
|
|
308
318
|
closeThreshold: n = 150,
|
|
309
319
|
snapThreshold: r = 50,
|
|
310
|
-
onClose:
|
|
320
|
+
onClose: c = null
|
|
311
321
|
} = t;
|
|
312
|
-
this.modal = s, this.modalContent = o, this.modalBody = i, this.closeThreshold = n, this.snapThreshold = r, this.onClose =
|
|
322
|
+
this.modal = s, this.modalContent = o, this.modalBody = i, this.closeThreshold = n, this.snapThreshold = r, this.onClose = c, this._boundTouchStart = this.handleTouchStart.bind(this), this._boundTouchMove = this.handleTouchMove.bind(this), this._boundTouchEnd = this.handleTouchEnd.bind(this), this.reset(), this.modalContent && this._bindListeners();
|
|
313
323
|
}
|
|
314
324
|
/**
|
|
315
325
|
* Registers touch event listeners on the modal content element.
|
|
@@ -381,8 +391,8 @@ class G {
|
|
|
381
391
|
t.preventDefault();
|
|
382
392
|
const r = this.calculateTranslateY(o);
|
|
383
393
|
this.modal.style.transform = `translateY(${r}px)`, this.modal.style.transition = "none";
|
|
384
|
-
const
|
|
385
|
-
this.updateBackdropOpacity(
|
|
394
|
+
const c = this.calculateBackdropOpacity(o);
|
|
395
|
+
this.updateBackdropOpacity(c);
|
|
386
396
|
} else i > 1 && (this.state.canDrag = !1);
|
|
387
397
|
}
|
|
388
398
|
/**
|
|
@@ -470,7 +480,7 @@ class G {
|
|
|
470
480
|
this.modalContent && (this.modalContent.removeEventListener("touchstart", this._boundTouchStart), this.modalContent.removeEventListener("touchmove", this._boundTouchMove), this.modalContent.removeEventListener("touchend", this._boundTouchEnd)), this.reset(), this.modal = null, this.modalContent = null, this.onClose = null;
|
|
471
481
|
}
|
|
472
482
|
}
|
|
473
|
-
class
|
|
483
|
+
class Z extends $ {
|
|
474
484
|
/**
|
|
475
485
|
* Declares the component props
|
|
476
486
|
*
|
|
@@ -494,7 +504,7 @@ class tt extends W {
|
|
|
494
504
|
*/
|
|
495
505
|
render() {
|
|
496
506
|
const t = this.getMainClass(), s = this.title || "", o = this.description || null, i = this.getContainerProps();
|
|
497
|
-
return
|
|
507
|
+
return y(
|
|
498
508
|
{
|
|
499
509
|
class: t,
|
|
500
510
|
title: s,
|
|
@@ -523,7 +533,7 @@ class tt extends W {
|
|
|
523
533
|
* @returns {void}
|
|
524
534
|
*/
|
|
525
535
|
showModal() {
|
|
526
|
-
super.showModal(), this.swipeToClose && !this.gesture && (this.gesture = new
|
|
536
|
+
super.showModal(), this.swipeToClose && !this.gesture && (this.gesture = new W({
|
|
527
537
|
// @ts-ignore
|
|
528
538
|
modal: this.panel,
|
|
529
539
|
// @ts-ignore
|
|
@@ -545,8 +555,8 @@ class tt extends W {
|
|
|
545
555
|
this.gesture && (this.gesture.destroy(), this.gesture = null), super.beforeDestroy();
|
|
546
556
|
}
|
|
547
557
|
}
|
|
548
|
-
let
|
|
549
|
-
class
|
|
558
|
+
let G = 0;
|
|
559
|
+
class tt extends d {
|
|
550
560
|
/**
|
|
551
561
|
* This will render the component.
|
|
552
562
|
*
|
|
@@ -569,7 +579,7 @@ class et extends d {
|
|
|
569
579
|
* @returns {void}
|
|
570
580
|
*/
|
|
571
581
|
addNotice(t = {}) {
|
|
572
|
-
t.id =
|
|
582
|
+
t.id = G++, t.callBack = () => this.removeNotice(t), this?.list?.append([t]), this?.panel?.hidePopover(), this?.panel?.showPopover();
|
|
573
583
|
}
|
|
574
584
|
/**
|
|
575
585
|
* This will remove a notification.
|
|
@@ -591,9 +601,9 @@ const u = {
|
|
|
591
601
|
OFFLINE: "bg-gray-500",
|
|
592
602
|
BUSY: "bg-red-500",
|
|
593
603
|
AWAY: "bg-yellow-500"
|
|
594
|
-
},
|
|
595
|
-
class: `absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full ${
|
|
596
|
-
}),
|
|
604
|
+
}, H = (e = "") => (e = e.toUpperCase(), l[e] || l.OFFLINE), et = (e) => a({
|
|
605
|
+
class: `absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full ${H(e)}`
|
|
606
|
+
}), st = ({ propName: e = "status" } = {}) => a({
|
|
597
607
|
class: "absolute bottom-0 right-0 w-3 h-3 border-2 rounded-full",
|
|
598
608
|
onSet: [e, {
|
|
599
609
|
[l.ONLINE]: u.ONLINE,
|
|
@@ -601,15 +611,15 @@ const u = {
|
|
|
601
611
|
[l.BUSY]: u.BUSY,
|
|
602
612
|
[l.AWAY]: u.AWAY
|
|
603
613
|
}]
|
|
604
|
-
}),
|
|
614
|
+
}), ot = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => B([
|
|
605
615
|
new M({
|
|
606
616
|
dateTime: e,
|
|
607
617
|
filter: s || ((o) => {
|
|
608
|
-
const i =
|
|
609
|
-
return
|
|
618
|
+
const i = f.getLocalTime(o, !0, !1, t);
|
|
619
|
+
return f.getTimeFrame(i);
|
|
610
620
|
})
|
|
611
621
|
})
|
|
612
|
-
]),
|
|
622
|
+
]), j = (e) => C.render(e, app.root), b = {
|
|
613
623
|
info: {
|
|
614
624
|
borderColor: "border-blue-500",
|
|
615
625
|
bgColor: "bg-muted/10",
|
|
@@ -636,7 +646,7 @@ const u = {
|
|
|
636
646
|
iconColor: "text-muted-foreground"
|
|
637
647
|
}
|
|
638
648
|
};
|
|
639
|
-
class
|
|
649
|
+
class q extends d {
|
|
640
650
|
/**
|
|
641
651
|
* This will declare the props for the compiler.
|
|
642
652
|
*
|
|
@@ -651,9 +661,9 @@ class J extends d {
|
|
|
651
661
|
* @returns {object}
|
|
652
662
|
*/
|
|
653
663
|
render() {
|
|
654
|
-
const t = (
|
|
655
|
-
|
|
656
|
-
}, { borderColor: s, bgColor: o, iconColor: i } =
|
|
664
|
+
const t = (c) => {
|
|
665
|
+
c.target === this.panel && this.close();
|
|
666
|
+
}, { borderColor: s, bgColor: o, iconColor: i } = b[this.type] || b.default, n = `${this.getMainClass()} ${o} ${s}`, r = this.title || "Dialog Title";
|
|
657
667
|
return L({
|
|
658
668
|
class: n,
|
|
659
669
|
title: r,
|
|
@@ -671,7 +681,7 @@ class J extends d {
|
|
|
671
681
|
*/
|
|
672
682
|
getButtons() {
|
|
673
683
|
return this.hideFooter ? null : this.buttons ? this.buttons : [
|
|
674
|
-
|
|
684
|
+
h({ variant: "outline", click: () => this.close() }, "Close")
|
|
675
685
|
];
|
|
676
686
|
}
|
|
677
687
|
/**
|
|
@@ -698,7 +708,7 @@ class J extends d {
|
|
|
698
708
|
* @returns {void}
|
|
699
709
|
*/
|
|
700
710
|
open() {
|
|
701
|
-
|
|
711
|
+
j(this), this.panel.showModal(), this.state.open = !0;
|
|
702
712
|
}
|
|
703
713
|
/**
|
|
704
714
|
* This will close the modal.
|
|
@@ -709,7 +719,7 @@ class J extends d {
|
|
|
709
719
|
this.state.open = !1, this.panel.close(), typeof this.onClose == "function" && this.onClose(), this.destroy();
|
|
710
720
|
}
|
|
711
721
|
}
|
|
712
|
-
class
|
|
722
|
+
class it extends q {
|
|
713
723
|
/**
|
|
714
724
|
* This will declare the props for the compiler.
|
|
715
725
|
*
|
|
@@ -726,8 +736,8 @@ class nt extends J {
|
|
|
726
736
|
getButtons() {
|
|
727
737
|
const t = this.confirmTextLabel || "Confirm";
|
|
728
738
|
return [
|
|
729
|
-
|
|
730
|
-
|
|
739
|
+
h({ variant: "outline", click: () => this.close() }, "Cancel"),
|
|
740
|
+
h({ variant: "primary", click: () => this.confirm() }, t)
|
|
731
741
|
];
|
|
732
742
|
}
|
|
733
743
|
/**
|
|
@@ -740,19 +750,19 @@ class nt extends J {
|
|
|
740
750
|
}
|
|
741
751
|
}
|
|
742
752
|
export {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
753
|
+
it as C,
|
|
754
|
+
V as D,
|
|
755
|
+
$ as M,
|
|
756
|
+
tt as N,
|
|
747
757
|
u as S,
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
758
|
+
ot as T,
|
|
759
|
+
q as a,
|
|
760
|
+
Z as b,
|
|
761
|
+
_ as c,
|
|
762
|
+
P as d,
|
|
763
|
+
X as e,
|
|
754
764
|
l as f,
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
765
|
+
et as g,
|
|
766
|
+
st as h,
|
|
767
|
+
H as i
|
|
758
768
|
};
|
|
@@ -1165,11 +1165,11 @@ class oe extends S {
|
|
|
1165
1165
|
* @returns {object}
|
|
1166
1166
|
*/
|
|
1167
1167
|
render() {
|
|
1168
|
-
const t = this.getSize();
|
|
1168
|
+
const t = this.getSize(), s = this.class || "";
|
|
1169
1169
|
return l({
|
|
1170
|
-
class: `absolute inset-auto fadeIn mt-2 rounded-md p-0 shadow-lg bg-popover min-h-12 backdrop:bg-transparent text-inherit r z-30 ${t}`,
|
|
1170
|
+
class: `absolute inset-auto fadeIn mt-2 rounded-md p-0 shadow-lg bg-popover min-h-12 backdrop:bg-transparent text-inherit r z-30 ${t} ${s}`,
|
|
1171
1171
|
popover: "manual",
|
|
1172
|
-
toggle: (
|
|
1172
|
+
toggle: (n, { state: a }) => n.newState === "closed" ? a.open = !1 : null,
|
|
1173
1173
|
style: "top: [[position.y]]px; left: [[position.x]]px"
|
|
1174
1174
|
// @ts-ignore
|
|
1175
1175
|
}, this.children);
|
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-BTj2Huvt.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-hbSrtjpk.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-eL8Lji5s.js";
|
|
6
|
+
import { S as ms } from "./sidebar-menu-DpMrjmz4.js";
|
|
7
|
+
import { B as gs, C as cs, F as Ts, a as bs, S as Is } from "./sidebar-menu-page-Cxal38Hn.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-BTj2Huvt.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-hbSrtjpk.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-BTj2Huvt.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-eL8Lji5s.js";
|
|
3
|
+
import { S as da } from "./sidebar-menu-DpMrjmz4.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-BTj2Huvt.js";
|
|
2
|
+
import { B as r, C as o, F as i, a as t, S as u } from "./sidebar-menu-page-Cxal38Hn.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-BTj2Huvt.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-BTj2Huvt.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-DpMrjmz4.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 b, On as U, Span as $, Nav as f, Ul as p, Section as y, Li as w, Canvas as R } from "@base-framework/atoms";
|
|
2
2
|
import { Component as k, Data as F, DateTime as O, router as v, NavLink as C, base as P, Dom as W } from "@base-framework/base";
|
|
3
|
-
import { f as N, av as Y, b0 as d, a7 as A } from "./full-page-
|
|
3
|
+
import { f as N, av as Y, b0 as d, a7 as A } from "./full-page-BTj2Huvt.js";
|
|
4
4
|
import { Icons as B } from "./icons.es.js";
|
|
5
5
|
import { IntervalTimer as V } from "@base-framework/organisms";
|
|
6
6
|
class Pt extends k {
|
|
@@ -25,6 +25,14 @@ export class DropdownMenu extends Component {
|
|
|
25
25
|
* @member {array} groups
|
|
26
26
|
*/
|
|
27
27
|
groups: any[];
|
|
28
|
+
/**
|
|
29
|
+
* @member {string|null} variant - Button variant (e.g. 'ghost', 'outline', 'primary').
|
|
30
|
+
*/
|
|
31
|
+
variant: any;
|
|
32
|
+
/**
|
|
33
|
+
* @member {string|null} btnClass - Additional CSS classes for the button.
|
|
34
|
+
*/
|
|
35
|
+
btnClass: any;
|
|
28
36
|
/**
|
|
29
37
|
* Initializes component data.
|
|
30
38
|
*
|
package/package.json
CHANGED