@base-framework/ui 1.1.13 → 1.1.15
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/README.md +44 -0
- package/dist/atoms.es.js +37 -34
- package/dist/buttons-snATS4J5.js +118 -0
- package/dist/{empty-state-CxSSx4bC.js → empty-state-BR5Aa8lA.js} +325 -322
- package/dist/full-page-DccgwWsM.js +69 -0
- package/dist/icons.es.js +127 -1
- package/dist/image-BhZbKYDj.js +237 -0
- package/dist/index.es.js +179 -173
- package/dist/{mobile-nav-wrapper-C3Lvz7CH.js → mobile-nav-wrapper-1erstN34.js} +77 -84
- package/dist/molecules.es.js +5 -5
- package/dist/organisms.es.js +52 -51
- package/dist/pages.es.js +10 -9
- package/dist/sidebar-menu-CVyJBcHE.js +13 -0
- package/dist/sidebar-menu-page-Db-6HPoS.js +153 -0
- package/dist/signature-panel-CVq5N5M1.js +1364 -0
- package/dist/simple-search-input-CuC8q0fJ.js +1654 -0
- package/dist/skeleton-BlY3opxG.js +7 -0
- package/dist/{tooltip-BlFbB8yL.js → tooltip-BmvjA9XQ.js} +104 -84
- package/dist/types/components/atoms/atoms.d.ts +2 -0
- package/dist/types/components/atoms/material-icon.d.ts +17 -0
- package/dist/types/components/atoms/universal-icon.d.ts +3 -0
- package/dist/types/components/icons/icons.d.ts +1 -0
- package/dist/types/components/icons/material-symbols.d.ts +19 -0
- package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/types/components/molecules/image/image-uploader.d.ts +2 -2
- package/dist/types/components/molecules/image/logo-uploader.d.ts +2 -2
- package/dist/types/components/organisms/navigation/mobile/nav-wrapper/title-header.d.ts +1 -1
- package/package.json +1 -1
- package/dist/buttons-Dr-bViom.js +0 -77
- package/dist/form-group-BB7dLJir.js +0 -29
- package/dist/image-BB__4s0g.js +0 -31
- package/dist/inputs-CcimrM1k.js +0 -210
- package/dist/range-calendar-BZW1R_D_.js +0 -831
- package/dist/sidebar-menu-page-BtuUB_XB.js +0 -217
- package/dist/signature-panel-CErd4IW_.js +0 -2186
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Button as
|
|
2
|
-
import { Component as n, Atom as i, NavLink as
|
|
3
|
-
import {
|
|
4
|
-
import { Icons as
|
|
5
|
-
class
|
|
1
|
+
import { Button as g, Div as l, Label as b, Span as w, Ul as r, H4 as S, Nav as d, H3 as h, OnState as B, UseParent as N } from "@base-framework/atoms";
|
|
2
|
+
import { Component as n, Atom as i, NavLink as L, router as u } from "@base-framework/base";
|
|
3
|
+
import { U as o, B as p } from "./buttons-snATS4J5.js";
|
|
4
|
+
import { Icons as c } from "./icons.es.js";
|
|
5
|
+
class C extends n {
|
|
6
6
|
/**
|
|
7
7
|
* This will declare the props for the compiler.
|
|
8
8
|
*
|
|
@@ -19,7 +19,7 @@ class M extends n {
|
|
|
19
19
|
*/
|
|
20
20
|
render() {
|
|
21
21
|
const e = this.state;
|
|
22
|
-
return
|
|
22
|
+
return g({
|
|
23
23
|
class: this.class || "",
|
|
24
24
|
onState: [
|
|
25
25
|
["selected", {
|
|
@@ -63,23 +63,24 @@ class M extends n {
|
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const y = i(({ options: s, click: e }, t) => ({
|
|
67
67
|
tag: "li",
|
|
68
68
|
...{
|
|
69
69
|
class: `relative flex flex-row w-auto text-left p-0 transition-all cursor-pointer min-w-[48px] option${s ? " sub" : ""}`,
|
|
70
70
|
click: e
|
|
71
71
|
},
|
|
72
72
|
children: t
|
|
73
|
-
})),
|
|
74
|
-
e &&
|
|
73
|
+
})), P = (s, e = null, t = !1) => [
|
|
74
|
+
e && l({
|
|
75
75
|
class: "icon w-12 rounded-md flex items-center justify-center min-w-12",
|
|
76
76
|
onState: ["selected", {
|
|
77
77
|
selected: !0
|
|
78
|
-
}]
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
}]
|
|
79
|
+
}, [
|
|
80
|
+
o({ size: "sm" }, e)
|
|
81
|
+
]),
|
|
82
|
+
b({ class: "label flex flex-auto text-sm items-center cursor-pointer whitespace-nowrap" }, s),
|
|
83
|
+
t && w(
|
|
83
84
|
{
|
|
84
85
|
class: "flex justify-center items-center px-1 transition-all text-muted-foreground mr-2",
|
|
85
86
|
onState: [
|
|
@@ -92,11 +93,11 @@ const O = i(({ options: s, click: e }, t) => ({
|
|
|
92
93
|
]
|
|
93
94
|
},
|
|
94
95
|
[
|
|
95
|
-
|
|
96
|
+
o({ size: "xs" }, c.chevron.single.down)
|
|
96
97
|
]
|
|
97
98
|
)
|
|
98
99
|
];
|
|
99
|
-
class
|
|
100
|
+
class f extends n {
|
|
100
101
|
/**
|
|
101
102
|
* This will declare the props for the compiler.
|
|
102
103
|
*
|
|
@@ -113,7 +114,7 @@ class m extends n {
|
|
|
113
114
|
*/
|
|
114
115
|
render() {
|
|
115
116
|
const e = !this.options && this.callBack;
|
|
116
|
-
return
|
|
117
|
+
return y(
|
|
117
118
|
{ options: this.options, click: e },
|
|
118
119
|
[
|
|
119
120
|
this.addLink()
|
|
@@ -127,8 +128,8 @@ class m extends n {
|
|
|
127
128
|
* @protected
|
|
128
129
|
*/
|
|
129
130
|
addLink() {
|
|
130
|
-
const e = this.options && this.options.length > 0, t = this.content ||
|
|
131
|
-
return this.href ? new
|
|
131
|
+
const e = this.options && this.options.length > 0, t = this.content || P(this.label, this.icon, e);
|
|
132
|
+
return this.href ? new L(
|
|
132
133
|
{
|
|
133
134
|
class: "flex flex-auto flex-row rounded-md transition-all overflow-x-hidden",
|
|
134
135
|
cache: "link",
|
|
@@ -137,7 +138,7 @@ class m extends n {
|
|
|
137
138
|
exact: this.exact || !1
|
|
138
139
|
},
|
|
139
140
|
t
|
|
140
|
-
) : new
|
|
141
|
+
) : new C({
|
|
141
142
|
class: "flex flex-auto flex-row rounded-md transition-all overflow-x-hidden",
|
|
142
143
|
cache: "link",
|
|
143
144
|
checkCallBack: this.checkCallBack
|
|
@@ -155,10 +156,10 @@ class m extends n {
|
|
|
155
156
|
this.link.update(e);
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
|
-
const
|
|
159
|
-
|
|
159
|
+
const I = i(({ map: s }, e) => r({ class: "navigation-group flex flex-col gap-2 list-none m-0 py-2 px-0", map: s }, [
|
|
160
|
+
S({ class: "text-muted-foreground text-sm py-0 px-4 whitespace-nowrap" }, e)
|
|
160
161
|
]));
|
|
161
|
-
class
|
|
162
|
+
class $ extends n {
|
|
162
163
|
/**
|
|
163
164
|
* This will declare the props for the compiler.
|
|
164
165
|
*
|
|
@@ -174,8 +175,8 @@ class T extends n {
|
|
|
174
175
|
*/
|
|
175
176
|
render() {
|
|
176
177
|
const e = this.mapOptions(this.options), t = this.class || "", a = this.mobileBorder ? "border md:border-0 rounded-md" : "";
|
|
177
|
-
return
|
|
178
|
-
|
|
178
|
+
return d({ class: `navigation flex flex-auto flex-col ${t}` }, [
|
|
179
|
+
r({
|
|
179
180
|
class: `relative group flex flex-col gap-2 py-2 px-2 list-none m-0 ${a}`,
|
|
180
181
|
map: e
|
|
181
182
|
}),
|
|
@@ -207,7 +208,7 @@ class T extends n {
|
|
|
207
208
|
*/
|
|
208
209
|
addGroup(e) {
|
|
209
210
|
const t = this.mapOptions(e.options);
|
|
210
|
-
return
|
|
211
|
+
return I({ map: t }, e.group);
|
|
211
212
|
}
|
|
212
213
|
/**
|
|
213
214
|
* This will add a link.
|
|
@@ -216,10 +217,10 @@ class T extends n {
|
|
|
216
217
|
* @returns {object}
|
|
217
218
|
*/
|
|
218
219
|
addLink(e) {
|
|
219
|
-
return new
|
|
220
|
+
return new f(e);
|
|
220
221
|
}
|
|
221
222
|
}
|
|
222
|
-
class
|
|
223
|
+
class x extends $ {
|
|
223
224
|
onCreated() {
|
|
224
225
|
this.links = [];
|
|
225
226
|
}
|
|
@@ -230,7 +231,7 @@ class c extends T {
|
|
|
230
231
|
* @returns {object}
|
|
231
232
|
*/
|
|
232
233
|
setupSubNav(e) {
|
|
233
|
-
return new
|
|
234
|
+
return new O(
|
|
234
235
|
{
|
|
235
236
|
parentLink: e,
|
|
236
237
|
options: e.options
|
|
@@ -254,7 +255,7 @@ class c extends T {
|
|
|
254
255
|
* @returns {object}
|
|
255
256
|
*/
|
|
256
257
|
addLink(e) {
|
|
257
|
-
const t = new
|
|
258
|
+
const t = new f(e);
|
|
258
259
|
if (this.links.push(t), !t.options)
|
|
259
260
|
return t;
|
|
260
261
|
const a = this.addSubNav(t);
|
|
@@ -265,11 +266,11 @@ class c extends T {
|
|
|
265
266
|
};
|
|
266
267
|
}
|
|
267
268
|
}
|
|
268
|
-
const
|
|
269
|
+
const z = (s, e) => new RegExp(`${s}($|/|\\.).*`).test(e), M = (s, e) => {
|
|
269
270
|
const t = s.link.panel.pathname;
|
|
270
|
-
return !t && s.isSelected() ? !0 : s.exact ? e === t :
|
|
271
|
+
return !t && s.isSelected() ? !0 : s.exact ? e === t : z(t, e);
|
|
271
272
|
};
|
|
272
|
-
class
|
|
273
|
+
class O extends x {
|
|
273
274
|
/**
|
|
274
275
|
* This will declare the props for the compiler.
|
|
275
276
|
*
|
|
@@ -285,8 +286,8 @@ class W extends c {
|
|
|
285
286
|
*/
|
|
286
287
|
render() {
|
|
287
288
|
const e = `navigation flex flex-auto flex-col sub ${this.mainClassName || ""}`, t = this.mapOptions(this.options);
|
|
288
|
-
return
|
|
289
|
-
|
|
289
|
+
return d({ class: e, onState: this.onState() }, [
|
|
290
|
+
r({ class: "relative group flex flex-col gap-2 py-2 px-0 list-none m-0" }, [...t, ...this.addSubs(), this.addWatcher()])
|
|
290
291
|
]);
|
|
291
292
|
}
|
|
292
293
|
/**
|
|
@@ -298,7 +299,7 @@ class W extends c {
|
|
|
298
299
|
addWatcher() {
|
|
299
300
|
return {
|
|
300
301
|
watch: {
|
|
301
|
-
value: ["[[path]]",
|
|
302
|
+
value: ["[[path]]", u.data],
|
|
302
303
|
callBack: this.updateLinks.bind(this)
|
|
303
304
|
}
|
|
304
305
|
};
|
|
@@ -339,7 +340,7 @@ class W extends c {
|
|
|
339
340
|
* @returns {void}
|
|
340
341
|
*/
|
|
341
342
|
afterSetup() {
|
|
342
|
-
const e =
|
|
343
|
+
const e = u.data.get("path");
|
|
343
344
|
this.updateLinks(e);
|
|
344
345
|
}
|
|
345
346
|
/**
|
|
@@ -351,34 +352,27 @@ class W extends c {
|
|
|
351
352
|
updateLinks(e) {
|
|
352
353
|
let t = !1;
|
|
353
354
|
for (const a of this.links)
|
|
354
|
-
if (a.rendered && (t =
|
|
355
|
+
if (a.rendered && (t = M(a, e), t === !0))
|
|
355
356
|
break;
|
|
356
357
|
this.parentLink.update(t);
|
|
357
358
|
}
|
|
358
359
|
}
|
|
359
|
-
const
|
|
360
|
-
|
|
361
|
-
s && y({ class: "pb-4 md:pb-2 px-6 flex" }, [
|
|
362
|
-
P({ class: "scroll-m-20 text-3xl lg:text-2xl font-bold tracking-tight" }, s)
|
|
363
|
-
]),
|
|
364
|
-
new c({ options: e, mobileBorder: a, class: u ? "sticky top-0" : "" }),
|
|
365
|
-
w
|
|
366
|
-
]), j = (s) => h({ class: "text-lg ml-2" }, s), U = (s) => l({ class: "sticky flex flex-row items-center bg-popover lg:hidden top-0 z-10 border-0 border-b" }, [
|
|
367
|
-
x({
|
|
360
|
+
const E = (s) => h({ class: "text-lg ml-2" }, s), H = (s) => l({ class: "sticky flex flex-row items-center bg-popover lg:hidden top-0 z-10 border-0 border-b" }, [
|
|
361
|
+
p({
|
|
368
362
|
variant: "icon",
|
|
369
363
|
class: "m-2",
|
|
370
364
|
click: (e, { state: t }) => t.toggle("open"),
|
|
371
|
-
icon:
|
|
365
|
+
icon: c.arrows.left
|
|
372
366
|
}),
|
|
373
|
-
s.title &&
|
|
374
|
-
]),
|
|
367
|
+
s.title && E(s.title)
|
|
368
|
+
]), T = () => l({
|
|
375
369
|
class: `
|
|
376
370
|
absolute inset-0 bg-black/40 z-[-1] fadeIn
|
|
377
371
|
transition-opacity duration-200
|
|
378
372
|
`,
|
|
379
373
|
click: (s, { state: e }) => e.open = !1
|
|
380
374
|
});
|
|
381
|
-
class
|
|
375
|
+
class U extends n {
|
|
382
376
|
/**
|
|
383
377
|
* This will declare the props for the compiler.
|
|
384
378
|
*
|
|
@@ -397,7 +391,7 @@ class D extends n {
|
|
|
397
391
|
class: "fixed inset-0 z-50",
|
|
398
392
|
style: "[[typeClass]]"
|
|
399
393
|
}, [
|
|
400
|
-
|
|
394
|
+
T(),
|
|
401
395
|
// Popover Content
|
|
402
396
|
l({
|
|
403
397
|
class: `
|
|
@@ -406,7 +400,7 @@ class D extends n {
|
|
|
406
400
|
dataSet: ["open", ["expanded", !0, "true"]]
|
|
407
401
|
}, [
|
|
408
402
|
l({ class: "flex flex-auto flex-col w-full h-full overflow-y-auto max-h-[85vh] rounded-md bg-popover border" }, [
|
|
409
|
-
|
|
403
|
+
H({ title: this.title }),
|
|
410
404
|
l({ class: "flex flex-auto flex-col" }, this.children)
|
|
411
405
|
])
|
|
412
406
|
])
|
|
@@ -444,31 +438,31 @@ class D extends n {
|
|
|
444
438
|
this.container = app.root;
|
|
445
439
|
}
|
|
446
440
|
}
|
|
447
|
-
const
|
|
441
|
+
const m = () => p({ class: "m-2", variant: "ghost", addState() {
|
|
448
442
|
return {
|
|
449
443
|
open: !1
|
|
450
444
|
};
|
|
451
|
-
}, click: (
|
|
452
|
-
|
|
453
|
-
]),
|
|
454
|
-
|
|
455
|
-
s.title &&
|
|
456
|
-
]),
|
|
445
|
+
}, click: (s, { state: e }) => e.toggle("open") }, [
|
|
446
|
+
o({}, c.bar.three)
|
|
447
|
+
]), A = (s) => h({ class: "text-lg ml-2" }, s), G = (s) => l({ class: "flex flex-auto flex-row items-center lg:hidden" }, [
|
|
448
|
+
m(),
|
|
449
|
+
s.title && A(s.title)
|
|
450
|
+
]), v = (s, e) => {
|
|
457
451
|
s.forEach((t) => {
|
|
458
452
|
if (t.options) {
|
|
459
|
-
|
|
453
|
+
v(t.options, e);
|
|
460
454
|
return;
|
|
461
455
|
}
|
|
462
456
|
t.callBack = e;
|
|
463
457
|
});
|
|
464
458
|
}, k = (s) => l({ class: "bg-background flex flex-auto flex-col w-full relative" }, [
|
|
465
|
-
|
|
459
|
+
B(
|
|
466
460
|
"open",
|
|
467
461
|
(e) => e ? [
|
|
468
|
-
new
|
|
469
|
-
|
|
470
|
-
const a = (
|
|
471
|
-
return
|
|
462
|
+
new U({ title: s.title }, [
|
|
463
|
+
N(({ state: t }) => {
|
|
464
|
+
const a = (W) => t.open = !1;
|
|
465
|
+
return v(s.options, a), new x(
|
|
472
466
|
{
|
|
473
467
|
options: s.options
|
|
474
468
|
}
|
|
@@ -477,30 +471,29 @@ const v = (s) => x({ class: "m-2", variant: "ghost", addState() {
|
|
|
477
471
|
])
|
|
478
472
|
] : null
|
|
479
473
|
)
|
|
480
|
-
]),
|
|
474
|
+
]), q = i((s) => l({ cache: "mobileNav", class: "inline-flex relative lg:hidden" }, [
|
|
481
475
|
l([
|
|
482
|
-
|
|
476
|
+
m(),
|
|
483
477
|
k(s)
|
|
484
478
|
])
|
|
485
|
-
])),
|
|
479
|
+
])), F = i((s) => l({ cache: "mobileNav", class: "flex flex-auto flex-col w-full relative lg:hidden" }, [
|
|
486
480
|
l({ class: "flex flex-auto flex-col w-full" }, [
|
|
487
|
-
|
|
481
|
+
G(s),
|
|
488
482
|
k(s)
|
|
489
483
|
])
|
|
490
484
|
]));
|
|
491
485
|
export {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
W as g
|
|
486
|
+
T as B,
|
|
487
|
+
x as I,
|
|
488
|
+
f as M,
|
|
489
|
+
m as N,
|
|
490
|
+
H as P,
|
|
491
|
+
O as S,
|
|
492
|
+
G as T,
|
|
493
|
+
q as a,
|
|
494
|
+
F as b,
|
|
495
|
+
C as c,
|
|
496
|
+
$ as d,
|
|
497
|
+
I as e,
|
|
498
|
+
U as f
|
|
506
499
|
};
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as s, B as t, C as r, a as e, b as i, c as n, d as m, D as l, e as d, f as C, g as p, h as D, i as S, j as
|
|
2
|
-
import { A as X, P as Y,
|
|
1
|
+
import { A as s, B as t, C as r, a as e, b as i, c as n, d as m, D as l, e as d, f as C, g as p, h as D, i as S, j as u, k as c, l as g, m as F, n as T, o as P, E as w, F as A, p as I, q as f, r as b, s as y, t as B, u as M, v as U, w as k, x, I as L, L as R, M as v, y as E, N, z as h, P as G, S as O, G as j, H as q, J as z, K as H, T as J, O as K, Q, R as _, U as V } from "./empty-state-BR5Aa8lA.js";
|
|
2
|
+
import { A as X, P as Y, m as Z } from "./simple-search-input-CuC8q0fJ.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Alert,
|
|
5
5
|
X as Avatar,
|
|
@@ -15,9 +15,9 @@ export {
|
|
|
15
15
|
p as DetailBody,
|
|
16
16
|
D as DetailSection,
|
|
17
17
|
S as Dialog,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
u as DialogContainer,
|
|
19
|
+
c as DotsIndicator,
|
|
20
|
+
g as Drawer,
|
|
21
21
|
F as Dropdown,
|
|
22
22
|
T as DropdownItem,
|
|
23
23
|
P as DropdownMenu,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,65 +1,66 @@
|
|
|
1
|
-
import { B as s,
|
|
2
|
-
import {
|
|
3
|
-
import { B as Y, I as Z, M as _, a as $, b as aa, N as ea, c as sa, d as na, e as ta, f as ra, P as oa, S as la,
|
|
1
|
+
import { B as s, C as n, a as t, b as r, D as o, c as l, d as i, e as d, f as b, g as p, F as u, H as T, M as g, O as v, R as N, S as k, h as D, i as c, j as C, T as m, U as B, k as S, l as M, p as h } from "./simple-search-input-CuC8q0fJ.js";
|
|
2
|
+
import { B as W, I as U, N as f, P as H, S as I, T as P, a as x, b as L, U as O, c as F, d as G, e as j, W as R, f as w, g as q, h as z, i as A, j as E, k as J, l as K, m as Q, n as V } from "./signature-panel-CVq5N5M1.js";
|
|
3
|
+
import { B as Y, I as Z, M as _, a as $, b as aa, N as ea, c as sa, d as na, e as ta, f as ra, P as oa, S as la, T as ia } from "./mobile-nav-wrapper-1erstN34.js";
|
|
4
|
+
import { S as ba } from "./sidebar-menu-CVyJBcHE.js";
|
|
4
5
|
export {
|
|
5
6
|
s as BackButton,
|
|
6
7
|
Y as Backdrop,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
W as ButtonTab,
|
|
9
|
+
n as Calendar,
|
|
10
|
+
t as CalendarCells,
|
|
11
|
+
r as CheckboxCol,
|
|
12
|
+
o as DataTable,
|
|
13
|
+
l as DataTableBody,
|
|
14
|
+
i as DayCell,
|
|
15
|
+
d as DayHeader,
|
|
16
|
+
b as DockableOverlay,
|
|
17
|
+
p as DynamicDataTable,
|
|
18
|
+
u as FormatDate,
|
|
19
|
+
T as HeaderCol,
|
|
19
20
|
Z as InlineNavigation,
|
|
20
|
-
|
|
21
|
+
U as InlineOverlay,
|
|
21
22
|
_ as MainLink,
|
|
22
23
|
$ as MobileNavButton,
|
|
23
24
|
aa as MobileNavWrapper,
|
|
24
|
-
|
|
25
|
+
g as MonthCalendar,
|
|
25
26
|
ea as NavButton,
|
|
26
27
|
sa as NavButtonLink,
|
|
27
28
|
na as Navigation,
|
|
28
29
|
ta as NavigationGroup,
|
|
29
|
-
|
|
30
|
+
f as NavigationMenu,
|
|
30
31
|
ra as NavigationPopover,
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
v as Overlay,
|
|
33
|
+
H as Panel,
|
|
33
34
|
oa as PopupHeader,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
35
|
+
N as RangeCalendar,
|
|
36
|
+
k as ScrollableDataTable,
|
|
37
|
+
D as SearchDropdown,
|
|
38
|
+
c as SearchInput,
|
|
39
|
+
ba as SidebarMenu,
|
|
40
|
+
I as SignaturePanel,
|
|
41
|
+
C as SimpleSearchInput,
|
|
42
|
+
la as SubNavigation,
|
|
43
|
+
P as Tab,
|
|
44
|
+
x as TabGroup,
|
|
45
|
+
L as TabNavigation,
|
|
46
|
+
m as TableHeader,
|
|
47
|
+
ia as TitleHeader,
|
|
48
|
+
O as UnderlinedButtonTab,
|
|
49
|
+
F as UnderlinedTab,
|
|
50
|
+
G as UnderlinedTabGroup,
|
|
51
|
+
j as UnderlinedTabNavigation,
|
|
52
|
+
B as UserList,
|
|
53
|
+
S as UserListItem,
|
|
54
|
+
R as WeekCalendar,
|
|
55
|
+
w as WeekCell,
|
|
56
|
+
q as WeekCells,
|
|
57
|
+
z as WeekHeader,
|
|
58
|
+
M as addTime,
|
|
59
|
+
A as calculateWeekNumber,
|
|
60
|
+
E as generateWeeks,
|
|
61
|
+
J as getDateFromWeek,
|
|
62
|
+
K as getMonthDays,
|
|
63
|
+
Q as getNextMonthDays,
|
|
64
|
+
V as getPreviousMonthDays,
|
|
65
|
+
h as pad
|
|
65
66
|
};
|
package/dist/pages.es.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { B as s,
|
|
1
|
+
import { B as s, F as P, M as g, P as n } from "./full-page-DccgwWsM.js";
|
|
2
|
+
import { B as r, C as o, F as i, a as t, S as F } from "./sidebar-menu-page-Db-6HPoS.js";
|
|
2
3
|
export {
|
|
3
4
|
s as BasicPage,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
r as BlankPage,
|
|
6
|
+
o as CenterPage,
|
|
7
|
+
i as FullContainPage,
|
|
8
|
+
P as FullPage,
|
|
9
|
+
t as FullscreenPage,
|
|
10
|
+
g as MainSection,
|
|
11
|
+
n as Page,
|
|
12
|
+
F as SidebarMenuPage
|
|
12
13
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Div as r, Header as x, H1 as c } from "@base-framework/atoms";
|
|
2
|
+
import { I as n } from "./mobile-nav-wrapper-1erstN34.js";
|
|
3
|
+
const g = ({ title: l, options: s, class: a = "", 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 ${a}` }, [
|
|
4
|
+
o,
|
|
5
|
+
l && x({ class: "pb-4 md:pb-2 px-6 flex" }, [
|
|
6
|
+
c({ class: "scroll-m-20 text-3xl lg:text-2xl font-bold tracking-tight" }, l)
|
|
7
|
+
]),
|
|
8
|
+
new n({ options: s, mobileBorder: t, class: e ? "sticky top-0" : "" }),
|
|
9
|
+
p
|
|
10
|
+
]);
|
|
11
|
+
export {
|
|
12
|
+
g as S
|
|
13
|
+
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { Div as s } from "@base-framework/atoms";
|
|
2
|
+
import { B as a, M as i, P as r } from "./full-page-DccgwWsM.js";
|
|
3
|
+
import { F as l, A as n } from "./aside-template-BDvEMLnk.js";
|
|
4
|
+
import { b as d } from "./mobile-nav-wrapper-1erstN34.js";
|
|
5
|
+
import { S as o } from "./sidebar-menu-CVyJBcHE.js";
|
|
6
|
+
class p extends a {
|
|
7
|
+
/**
|
|
8
|
+
* This will render the page.
|
|
9
|
+
*
|
|
10
|
+
* @returns {object}
|
|
11
|
+
*/
|
|
12
|
+
render() {
|
|
13
|
+
const e = this.class != "" ? this.class : "pt-[80px] sm:pt-0";
|
|
14
|
+
return l([
|
|
15
|
+
s({ class: `flex flex-auto flex-col ${e}` }, this.children)
|
|
16
|
+
]);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
class m extends a {
|
|
20
|
+
/**
|
|
21
|
+
* This will render the page.
|
|
22
|
+
*
|
|
23
|
+
* @returns {object}
|
|
24
|
+
*/
|
|
25
|
+
render() {
|
|
26
|
+
return l([
|
|
27
|
+
s({ class: "contained px-4 flex flex-auto flex-col" }, this.children)
|
|
28
|
+
]);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
class g extends a {
|
|
32
|
+
/**
|
|
33
|
+
* This will render the page.
|
|
34
|
+
*
|
|
35
|
+
* @returns {object}
|
|
36
|
+
*/
|
|
37
|
+
render() {
|
|
38
|
+
return i([
|
|
39
|
+
l([
|
|
40
|
+
s({ class: "contained px-4 flex flex-auto flex-col" }, this.children)
|
|
41
|
+
])
|
|
42
|
+
]);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
class P extends r {
|
|
46
|
+
/**
|
|
47
|
+
* This will render the page.
|
|
48
|
+
*
|
|
49
|
+
* @returns {object}
|
|
50
|
+
*/
|
|
51
|
+
render() {
|
|
52
|
+
const e = this.class ?? "";
|
|
53
|
+
return s({ class: `flex flex-col flex-auto ${e}` }, this.children);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
class S extends a {
|
|
57
|
+
/**
|
|
58
|
+
* This will declare the props for the compiler.
|
|
59
|
+
*
|
|
60
|
+
* @returns {void}
|
|
61
|
+
*/
|
|
62
|
+
declareProps() {
|
|
63
|
+
super.declareProps(), this.routes = [], this.switch = [], this.links = [], this.title = "";
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* This will render the page.
|
|
67
|
+
*
|
|
68
|
+
* @returns {object}
|
|
69
|
+
*/
|
|
70
|
+
render() {
|
|
71
|
+
return i(
|
|
72
|
+
{
|
|
73
|
+
route: this.addRoutes()
|
|
74
|
+
},
|
|
75
|
+
[
|
|
76
|
+
n({
|
|
77
|
+
left: this.addSidebar(),
|
|
78
|
+
right: this.addBody()
|
|
79
|
+
})
|
|
80
|
+
]
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* This will add the routes.
|
|
85
|
+
*
|
|
86
|
+
* @returns {array}
|
|
87
|
+
*/
|
|
88
|
+
addRoutes() {
|
|
89
|
+
return this.routes || [];
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* This will add the sidebar of the page.
|
|
93
|
+
*
|
|
94
|
+
* @returns {object}
|
|
95
|
+
*/
|
|
96
|
+
addSidebar() {
|
|
97
|
+
return s({ class: "flex flex-auto flex-col" }, this.addNavigation());
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* This will add the body of the page.
|
|
101
|
+
*
|
|
102
|
+
* @returns {object}
|
|
103
|
+
*/
|
|
104
|
+
addBody() {
|
|
105
|
+
return s({ class: "flex flex-auto flex-col" }, [
|
|
106
|
+
{
|
|
107
|
+
class: "contained",
|
|
108
|
+
switch: this.addSwitch()
|
|
109
|
+
}
|
|
110
|
+
]);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* This will add the switch of the page.
|
|
114
|
+
*
|
|
115
|
+
* @returns {array}
|
|
116
|
+
*/
|
|
117
|
+
addSwitch() {
|
|
118
|
+
return this.switch || [];
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* This will add the navigation of the page.
|
|
122
|
+
*
|
|
123
|
+
* @returns {object}
|
|
124
|
+
*/
|
|
125
|
+
addNavigation() {
|
|
126
|
+
const e = this.getLinks();
|
|
127
|
+
return [
|
|
128
|
+
o(
|
|
129
|
+
{
|
|
130
|
+
title: this.title,
|
|
131
|
+
options: e,
|
|
132
|
+
class: "hidden lg:flex"
|
|
133
|
+
}
|
|
134
|
+
),
|
|
135
|
+
d({ title: this.title, options: e })
|
|
136
|
+
];
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* This will get the links.
|
|
140
|
+
*
|
|
141
|
+
* @returns {array}
|
|
142
|
+
*/
|
|
143
|
+
getLinks() {
|
|
144
|
+
return this.links || [];
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
export {
|
|
148
|
+
p as B,
|
|
149
|
+
m as C,
|
|
150
|
+
g as F,
|
|
151
|
+
S,
|
|
152
|
+
P as a
|
|
153
|
+
};
|