@base-framework/ui 1.0.25 → 1.0.27
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/{calendar-cfaISqs6.js → calendar-CYExSMEO.js} +13 -13
- package/dist/{confirmation-BR9Nfflx.js → confirmation-WhNImSlG.js} +50 -50
- package/dist/icons.es.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{mobile-nav-wrapper-DyNFnla-.js → mobile-nav-wrapper-BE_hr65B.js} +17 -17
- package/dist/molecules.es.js +2 -2
- package/dist/organisms.es.js +3 -3
- package/dist/pages.es.js +1 -1
- package/dist/{sidebar-menu-page-lAu74WTl.js → sidebar-menu-page-nCAVFk3R.js} +5 -5
- package/dist/{signature-panel-Bl8_88Dh.js → signature-panel-dqDinVVp.js} +51 -51
- package/dist/{tooltip-B4V33DsN.js → tooltip-BfjS2tiN.js} +40 -40
- package/dist/types/components/atoms/form/inputs/checkbox.d.ts +1 -1
- package/dist/types/components/atoms/form/inputs/range-slider.d.ts +1 -1
- package/dist/types/components/atoms/progress/progress-bar.d.ts +1 -1
- package/dist/types/components/atoms/veil.d.ts +1 -1
- package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +3 -2
- package/dist/types/components/molecules/breadcrumb/dots-indicator.d.ts +2 -2
- package/dist/types/components/molecules/combobox/combobox.d.ts +2 -2
- package/dist/types/components/molecules/counters/counter.d.ts +2 -2
- package/dist/types/components/molecules/date-time/date-picker.d.ts +2 -2
- package/dist/types/components/molecules/date-time/time-picker.d.ts +2 -2
- package/dist/types/components/molecules/form/form-field.d.ts +2 -2
- package/dist/types/components/molecules/theme-toggle.d.ts +1 -1
- package/dist/types/components/molecules/toggle/toggle.d.ts +2 -2
- package/dist/types/components/organisms/lists/data-table.d.ts +1 -1
- package/dist/types/components/organisms/search/search-dropdown.d.ts +2 -2
- package/package.json +1 -1
package/dist/atoms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e, C as t, a as n, F as o, L as p, P as r, R as u, S as I, b as i, T as l } from "./tooltip-
|
|
1
|
+
import { B as e, C as t, a as n, F as o, L as p, P as r, R as u, S as I, b as i, T as l } from "./tooltip-BfjS2tiN.js";
|
|
2
2
|
import { B as m, I as T, L as c } from "./buttons-CVEwmPAi.js";
|
|
3
3
|
import { C as B, d as C, D as S, c as g, E as b, F as f, H as h, I as F, M as L, N as P, P as R, R as k, S as D, T as V, a as E, b as H, U as M, W as N } from "./inputs-CzHSmZKP.js";
|
|
4
4
|
import { V as W, a as w } from "./veil-DSQdR6CM.js";
|
|
@@ -163,10 +163,10 @@ const H = k(({ src: e, alt: t }) => e ? I({
|
|
|
163
163
|
return i(
|
|
164
164
|
{
|
|
165
165
|
class: `
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
flex items-center justify-center w-full h-full rounded-full
|
|
167
|
+
bg-muted text-muted-foreground font-medium
|
|
168
|
+
${o}
|
|
169
|
+
`
|
|
170
170
|
},
|
|
171
171
|
[
|
|
172
172
|
t ? X(t) : M(s)
|
|
@@ -263,11 +263,11 @@ const H = k(({ src: e, alt: t }) => e ? I({
|
|
|
263
263
|
), $ = ({ label: e, click: t }) => A(
|
|
264
264
|
{
|
|
265
265
|
class: `
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
266
|
+
inline-flex items-center justify-center h-7 w-7 bg-transparent p-0
|
|
267
|
+
opacity-50 hover:opacity-100 text-muted-foreground absolute
|
|
268
|
+
${e === "Previous" ? "left-1" : "right-1"}
|
|
269
|
+
focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2
|
|
270
|
+
`,
|
|
271
271
|
click: t,
|
|
272
272
|
"aria-label": `${e} month`,
|
|
273
273
|
variant: "icon",
|
|
@@ -309,10 +309,10 @@ const H = k(({ src: e, alt: t }) => e ? I({
|
|
|
309
309
|
]);
|
|
310
310
|
class ut extends N {
|
|
311
311
|
/**
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
312
|
+
* This will declare the props for the compiler.
|
|
313
|
+
*
|
|
314
|
+
* @returns {void}
|
|
315
|
+
*/
|
|
316
316
|
declareProps() {
|
|
317
317
|
this.selectedDate = null, this.selectedCallBack = null, this.blockPriorDates = !1;
|
|
318
318
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Div as n, I as f, H5 as _, P as b, Li as O, Span as a, Ul as V, Button as h, OnState as v, Label as R, Form as W, H2 as B, Footer as $, Header as M, A as Y, H3 as G, Checkbox as J, Nav as K, Input as C, Time as Q, Dialog as X } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as c, Component as p, Html as L, Dom as Z, base as ee, Data as k, Builder as q, Jot as S, DateTime as A } from "@base-framework/base";
|
|
3
|
-
import { P as D, b as te } from "./calendar-
|
|
3
|
+
import { P as D, b as te } from "./calendar-CYExSMEO.js";
|
|
4
4
|
import { B as u, I as x } from "./buttons-CVEwmPAi.js";
|
|
5
5
|
import { Icons as d } from "./icons.es.js";
|
|
6
6
|
import { a as w } from "./veil-DSQdR6CM.js";
|
|
@@ -46,10 +46,10 @@ const P = {
|
|
|
46
46
|
});
|
|
47
47
|
class ae extends p {
|
|
48
48
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
* This will declare the props for the compiler.
|
|
50
|
+
*
|
|
51
|
+
* @returns {void}
|
|
52
|
+
*/
|
|
53
53
|
declareProps() {
|
|
54
54
|
this.removingClass = "";
|
|
55
55
|
}
|
|
@@ -85,8 +85,8 @@ const ce = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
|
|
|
85
85
|
]), ge = ({ label: e, icon: t, toggleDropdown: s }) => h({
|
|
86
86
|
cache: "button",
|
|
87
87
|
class: `inline-flex items-center justify-between rounded-md border border-input
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
bg-background px-2 py-2 text-sm font-medium hover:bg-muted
|
|
89
|
+
focus:outline-none transition duration-150 ease-in-out`,
|
|
90
90
|
click: s
|
|
91
91
|
}, [
|
|
92
92
|
e && a(e),
|
|
@@ -105,10 +105,10 @@ const ce = (e) => a({ class: "ml-auto text-xs tracking-widest opacity-60" }, e),
|
|
|
105
105
|
]);
|
|
106
106
|
class mt extends p {
|
|
107
107
|
/**
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
* This will declare the props for the compiler.
|
|
109
|
+
*
|
|
110
|
+
* @returns {void}
|
|
111
|
+
*/
|
|
112
112
|
declareProps() {
|
|
113
113
|
this.label = null, this.icon = null, this.onSelect = null, this.groups = [];
|
|
114
114
|
}
|
|
@@ -298,10 +298,10 @@ class xt extends p {
|
|
|
298
298
|
);
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
301
|
+
* This will setup the states.
|
|
302
|
+
*
|
|
303
|
+
* @returns {object}
|
|
304
|
+
*/
|
|
305
305
|
setupStates() {
|
|
306
306
|
return {
|
|
307
307
|
open: {
|
|
@@ -321,10 +321,10 @@ class xt extends p {
|
|
|
321
321
|
return [];
|
|
322
322
|
}
|
|
323
323
|
/**
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
324
|
+
* This will get the buttons for the modal.
|
|
325
|
+
*
|
|
326
|
+
* @returns {array}
|
|
327
|
+
*/
|
|
328
328
|
getButtons() {
|
|
329
329
|
return [
|
|
330
330
|
u({ variant: "outline", click: () => this.destroy() }, "Cancel"),
|
|
@@ -332,11 +332,11 @@ class xt extends p {
|
|
|
332
332
|
];
|
|
333
333
|
}
|
|
334
334
|
/**
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
* This will check if the click was outside the component.
|
|
336
|
+
*
|
|
337
|
+
* @param {object} element
|
|
338
|
+
* @returns {boolean}
|
|
339
|
+
*/
|
|
340
340
|
isOutsideClick(t) {
|
|
341
341
|
return !this.panel.contains(t);
|
|
342
342
|
}
|
|
@@ -379,10 +379,10 @@ class xt extends p {
|
|
|
379
379
|
return this.getSizeClass() + " " + this.getTypeClass();
|
|
380
380
|
}
|
|
381
381
|
/**
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
382
|
+
* This will override the set up to use the app shell.
|
|
383
|
+
*
|
|
384
|
+
* @param {object} container
|
|
385
|
+
*/
|
|
386
386
|
setContainer(t) {
|
|
387
387
|
this.container = app.root;
|
|
388
388
|
}
|
|
@@ -452,10 +452,10 @@ const z = {
|
|
|
452
452
|
}, s));
|
|
453
453
|
class Me extends ae {
|
|
454
454
|
/**
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
455
|
+
* This will declare the props for the compiler.
|
|
456
|
+
*
|
|
457
|
+
* @returns {void}
|
|
458
|
+
*/
|
|
459
459
|
declareProps() {
|
|
460
460
|
this.removingClass = "pullRight", this.secondaryAction = null, this.primaryAction = null, this.primary = !1, this.secondary = !1, this.title = null, this.description = null, this.icon = null, this.onClick = null;
|
|
461
461
|
}
|
|
@@ -1227,8 +1227,8 @@ const $t = w(
|
|
|
1227
1227
|
]), st = c((e, t) => X(
|
|
1228
1228
|
{
|
|
1229
1229
|
class: `fixed pullUpIn z-30 w-[98%] border md:w-full max-w-lg bg-popover text-foreground shadow-lg duration-200
|
|
1230
|
-
|
|
1231
|
-
|
|
1230
|
+
rounded-lg flex flex-auto flex-col
|
|
1231
|
+
bottom-4 top-auto inset-auto m-auto md:bottom-0 md:top-0 left-0 right-0 ${e.class}`,
|
|
1232
1232
|
click: e.click,
|
|
1233
1233
|
aria: { expanded: ["open"] }
|
|
1234
1234
|
},
|
|
@@ -1275,10 +1275,10 @@ const $t = w(
|
|
|
1275
1275
|
};
|
|
1276
1276
|
class nt extends p {
|
|
1277
1277
|
/**
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1278
|
+
* This will declare the props for the compiler.
|
|
1279
|
+
*
|
|
1280
|
+
* @returns {void}
|
|
1281
|
+
*/
|
|
1282
1282
|
declareProps() {
|
|
1283
1283
|
this.title = null, this.description = null, this.type = "", this.icon = null, this.onClose = null, this.hideFooter = !1, this.buttons = null;
|
|
1284
1284
|
}
|
|
@@ -1322,10 +1322,10 @@ class nt extends p {
|
|
|
1322
1322
|
};
|
|
1323
1323
|
}
|
|
1324
1324
|
/**
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1325
|
+
* This will get the modal class.
|
|
1326
|
+
*
|
|
1327
|
+
* @returns {string}
|
|
1328
|
+
*/
|
|
1329
1329
|
getMainClass() {
|
|
1330
1330
|
return "";
|
|
1331
1331
|
}
|
|
@@ -1348,18 +1348,18 @@ class nt extends p {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
class Mt extends nt {
|
|
1350
1350
|
/**
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1351
|
+
* This will declare the props for the compiler.
|
|
1352
|
+
*
|
|
1353
|
+
* @returns {void}
|
|
1354
|
+
*/
|
|
1355
1355
|
declareProps() {
|
|
1356
1356
|
this.confirmTextLabel = null, this.confirmed = null;
|
|
1357
1357
|
}
|
|
1358
1358
|
/**
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1359
|
+
* This will get the buttons for the modal.
|
|
1360
|
+
*
|
|
1361
|
+
* @returns {array}
|
|
1362
|
+
*/
|
|
1363
1363
|
getButtons() {
|
|
1364
1364
|
const t = this.confirmTextLabel || "Confirm";
|
|
1365
1365
|
return [
|
package/dist/icons.es.js
CHANGED
|
@@ -640,7 +640,7 @@ const o = {
|
|
|
640
640
|
</svg>`,
|
|
641
641
|
companies: {
|
|
642
642
|
gitHub: `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" class="size-6">
|
|
643
|
-
|
|
643
|
+
<path d="M12 2C6.48 2 2 6.48 2 12c0 4.42 2.87 8.16 6.84 9.49.5.09.66-.22.66-.49 0-.24-.01-.87-.01-1.71-2.78.61-3.37-1.34-3.37-1.34-.45-1.16-1.1-1.47-1.1-1.47-.9-.61.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.89 1.53 2.34 1.09 2.91.83.09-.65.35-1.09.64-1.34-2.22-.25-4.55-1.11-4.55-4.93 0-1.09.39-1.98 1.02-2.68-.1-.25-.45-1.27.1-2.64 0 0 .84-.27 2.75 1.02A9.6 9.6 0 0 1 12 6.8c.85.004 1.71.11 2.5.33 1.9-1.3 2.75-1.02 2.75-1.02.56 1.37.21 2.39.11 2.64.63.7 1.02 1.59 1.02 2.68 0 3.83-2.34 4.68-4.57 4.92.36.31.68.91.68 1.84 0 1.33-.01 2.41-.01 2.74 0 .27.16.59.67.49C19.14 20.16 22 16.42 22 12c0-5.52-4.48-10-10-10z"/>
|
|
644
644
|
</svg>`,
|
|
645
645
|
apple: `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" class="size-6">
|
|
646
646
|
<path d="M16.36 1.43c.55-.65.96-1.53.86-2.43-.83.04-1.83.52-2.42 1.18-.53.6-.99 1.52-.87 2.39.95.08 1.88-.5 2.43-1.14zM20.36 13.2c-.14-.13-2.68-1.36-2.68-4.06 0-2.59 2.08-3.69 2.18-3.76-.69-1.02-1.8-1.68-3.04-1.7-1.31-.01-2.56.77-3.21.77-.69 0-1.78-.75-2.92-.73-1.5.02-2.91.89-3.69 2.26-1.56 2.7-.4 6.67 1.11 8.85.72 1.08 1.58 2.3 2.72 2.25.89-.04 1.23-.57 2.3-.57 1.06 0 1.37.57 2.27.55 1.08-.02 1.75-1.1 2.44-2.19.75-1.16 1.06-2.28 1.08-2.33-.03-.01-2.32-.91-2.38-3.23z"/>
|
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { B as e, C as o, a as t, F as r, L as n, P as i, R as l, S as p, b as u, T as m } from "./tooltip-
|
|
1
|
+
import { B as e, C as o, a as t, F as r, L as n, P as i, R as l, S as p, b as u, T as m } from "./tooltip-BfjS2tiN.js";
|
|
2
2
|
import { B as g, I as C, L as T } from "./buttons-CVEwmPAi.js";
|
|
3
3
|
import { C as D, d as I, D as S, c as b, E as B, F as P, H as F, I as M, M as k, N, P as v, R as f, S as x, T as h, a as y, b as W, U as L, W as A } from "./inputs-CzHSmZKP.js";
|
|
4
4
|
import { V as w, a as U } from "./veil-DSQdR6CM.js";
|
|
5
5
|
import { Icons as R } from "./icons.es.js";
|
|
6
|
-
import { A as G, B as V, C as j, z as q, u as z, v as J, w as _, D as K, j as Q, k as X, G as Y, E as Z, s as $, c as aa, a as sa, b as ea, i as oa, g as ta, e as ra, h as na, F as ia, d as la, f as pa, t as ua, M as ma, l as da, N as ga, P as Ca, p as Ta, q as ca, S as Da, n as Ia, o as Sa, T as ba, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-
|
|
7
|
-
import { A as Na, b as va, C as fa, D as xa, a as ha, F as ya, M as Wa, P as La, c as Aa, g as Ha, p as wa } from "./calendar-
|
|
8
|
-
import { B as Oa, m as Ra, C as Ea, j as Ga, D as Va, l as ja, H as qa, I as za, N as Ja, O as _a, P as Ka, S as Qa, q as Xa, p as Ya, n as Za, o as $a, T as as, k as ss, U as es, W as os, f as ts, h as rs, i as ns, c as is, d as ls, b as ps, e as us, a as ms, g as ds } from "./signature-panel-
|
|
9
|
-
import { B as Cs, I as Ts, M as cs, d as Ds, e as Is, g as Ss, N as bs, b as Bs, a as Ps, f as Fs, P as Ms, c as ks, S as Ns, T as vs } from "./mobile-nav-wrapper-
|
|
10
|
-
import { B as xs, a as hs, C as ys, F as Ws, b as Ls, c as As, M as Hs, P as ws, S as Us } from "./sidebar-menu-page-
|
|
6
|
+
import { A as G, B as V, C as j, z as q, u as z, v as J, w as _, D as K, j as Q, k as X, G as Y, E as Z, s as $, c as aa, a as sa, b as ea, i as oa, g as ta, e as ra, h as na, F as ia, d as la, f as pa, t as ua, M as ma, l as da, N as ga, P as Ca, p as Ta, q as ca, S as Da, n as Ia, o as Sa, T as ba, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-WhNImSlG.js";
|
|
7
|
+
import { A as Na, b as va, C as fa, D as xa, a as ha, F as ya, M as Wa, P as La, c as Aa, g as Ha, p as wa } from "./calendar-CYExSMEO.js";
|
|
8
|
+
import { B as Oa, m as Ra, C as Ea, j as Ga, D as Va, l as ja, H as qa, I as za, N as Ja, O as _a, P as Ka, S as Qa, q as Xa, p as Ya, n as Za, o as $a, T as as, k as ss, U as es, W as os, f as ts, h as rs, i as ns, c as is, d as ls, b as ps, e as us, a as ms, g as ds } from "./signature-panel-dqDinVVp.js";
|
|
9
|
+
import { B as Cs, I as Ts, M as cs, d as Ds, e as Is, g as Ss, N as bs, b as Bs, a as Ps, f as Fs, P as Ms, c as ks, S as Ns, T as vs } from "./mobile-nav-wrapper-BE_hr65B.js";
|
|
10
|
+
import { B as xs, a as hs, C as ys, F as Ws, b as Ls, c as As, M as Hs, P as ws, S as Us } from "./sidebar-menu-page-nCAVFk3R.js";
|
|
11
11
|
import { A as Rs, F as Es, M as Gs, a as Vs, T as js } from "./aside-template-McEj_Gxc.js";
|
|
12
12
|
import { B as zs } from "./bside-template-Du2m3rsE.js";
|
|
13
13
|
export {
|
|
@@ -372,25 +372,25 @@ const F = ({ title: s, options: e, class: t = "", mobileBorder: a = !1, sticky:
|
|
|
372
372
|
s.title && T(s.title)
|
|
373
373
|
]), G = () => l({
|
|
374
374
|
class: `
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
375
|
+
absolute inset-0 bg-black/40 z-[-1] fadeIn
|
|
376
|
+
transition-opacity duration-200
|
|
377
|
+
`,
|
|
378
378
|
click: (s, { state: e }) => e.open = !1
|
|
379
379
|
});
|
|
380
380
|
class W extends n {
|
|
381
381
|
/**
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
382
|
+
* This will declare the props for the compiler.
|
|
383
|
+
*
|
|
384
|
+
* @returns {void}
|
|
385
|
+
*/
|
|
386
386
|
declareProps() {
|
|
387
387
|
this.title = "";
|
|
388
388
|
}
|
|
389
389
|
/**
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
390
|
+
* This will render the modal component.
|
|
391
|
+
*
|
|
392
|
+
* @returns {object}
|
|
393
|
+
*/
|
|
394
394
|
render() {
|
|
395
395
|
return l({
|
|
396
396
|
class: "fixed inset-0 z-50",
|
|
@@ -400,8 +400,8 @@ class W extends n {
|
|
|
400
400
|
// Popover Content
|
|
401
401
|
l({
|
|
402
402
|
class: `
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
absolute popIn w-auto p-0 bg-popover m-auto shadow-lg rounded-md top-0 bottom-0 left-2 right-2 max-h-[85vh] text-inherit block
|
|
404
|
+
`,
|
|
405
405
|
dataSet: ["open", ["expanded", !0, "true"]]
|
|
406
406
|
}, [
|
|
407
407
|
l({ class: "flex flex-auto flex-col w-full h-full overflow-y-auto max-h-[85vh] rounded-md bg-popover border" }, [
|
|
@@ -435,10 +435,10 @@ class W extends n {
|
|
|
435
435
|
document.documentElement.style.overflowY = "hidden";
|
|
436
436
|
}
|
|
437
437
|
/**
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
438
|
+
* This will override the set up to use the body.
|
|
439
|
+
*
|
|
440
|
+
* @param {object} container
|
|
441
|
+
*/
|
|
442
442
|
setContainer(e) {
|
|
443
443
|
this.container = app.root;
|
|
444
444
|
}
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as o, B as t, C as e, z as i, u as r, v as n, w as m, D as l, j as S, k as D, G as c, E as u, s as d, c as g, a as p, b as C, i as F, g as T, e as A, h as P, F as f, d as b, f as w, t as B, M as I, l as M, N as x, P as y, p as k, q as v, S as N, n as h, o as E, T as L, x as U, y as j, m as q, r as z } from "./confirmation-
|
|
2
|
-
import { A as O, P as R, g as _ } from "./calendar-
|
|
1
|
+
import { A as o, B as t, C as e, z as i, u as r, v as n, w as m, D as l, j as S, k as D, G as c, E as u, s as d, c as g, a as p, b as C, i as F, g as T, e as A, h as P, F as f, d as b, f as w, t as B, M as I, l as M, N as x, P as y, p as k, q as v, S as N, n as h, o as E, T as L, x as U, y as j, m as q, r as z } from "./confirmation-WhNImSlG.js";
|
|
2
|
+
import { A as O, P as R, g as _ } from "./calendar-CYExSMEO.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Alert,
|
|
5
5
|
O as Avatar,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as s, m as o, C as t, j as r, D as n, l, H as i, I as d, N as b, O as v, P as g, S as p, q as u, p as N, n as k, o as C, T as D, k as M, U as T, W as c, f as B, h as m, i as y, c as W, d as h, b as H, e as P, a as S, g as f } from "./signature-panel-
|
|
2
|
-
import { b as I, C as L, D as O, a as F, F as U, M as G, c as j, p as q } from "./calendar-
|
|
3
|
-
import { B as z, I as A, M as E, d as J, e as K, g as Q, N as R, b as V, a as X, f as Y, P as Z, c as _, S as $, T as aa } from "./mobile-nav-wrapper-
|
|
1
|
+
import { B as s, m as o, C as t, j as r, D as n, l, H as i, I as d, N as b, O as v, P as g, S as p, q as u, p as N, n as k, o as C, T as D, k as M, U as T, W as c, f as B, h as m, i as y, c as W, d as h, b as H, e as P, a as S, g as f } from "./signature-panel-dqDinVVp.js";
|
|
2
|
+
import { b as I, C as L, D as O, a as F, F as U, M as G, c as j, p as q } from "./calendar-CYExSMEO.js";
|
|
3
|
+
import { B as z, I as A, M as E, d as J, e as K, g as Q, N as R, b as V, a as X, f as Y, P as Z, c as _, S as $, T as aa } from "./mobile-nav-wrapper-BE_hr65B.js";
|
|
4
4
|
export {
|
|
5
5
|
s as BackButton,
|
|
6
6
|
z as Backdrop,
|
package/dist/pages.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, a as P, C as g, F as n, b as l, c as i, M as r, P as c, S as o } from "./sidebar-menu-page-
|
|
1
|
+
import { B as s, a as P, C as g, F as n, b as l, c as i, M as r, P as c, S as o } from "./sidebar-menu-page-nCAVFk3R.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BasicPage,
|
|
4
4
|
P as BlankPage,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Div as t, Header as c, H1 as d, P as o } from "@base-framework/atoms";
|
|
2
2
|
import { F as l, A as x } from "./aside-template-McEj_Gxc.js";
|
|
3
3
|
import { Component as h, Atom as i } from "@base-framework/base";
|
|
4
|
-
import { c as u, e as p } from "./mobile-nav-wrapper-
|
|
4
|
+
import { c as u, e as p } from "./mobile-nav-wrapper-BE_hr65B.js";
|
|
5
5
|
class n extends h {
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
* This will declare the props for the compiler.
|
|
8
|
+
*
|
|
9
|
+
* @returns {void}
|
|
10
|
+
*/
|
|
11
11
|
declareProps() {
|
|
12
12
|
this.class = "";
|
|
13
13
|
}
|
|
@@ -4,7 +4,7 @@ import { B as C, I as z } from "./buttons-CVEwmPAi.js";
|
|
|
4
4
|
import { Icons as w } from "./icons.es.js";
|
|
5
5
|
import { TableBody as _, List as G, IntervalTimer as V } from "@base-framework/organisms";
|
|
6
6
|
import { C as J, I as Z, H as ee } from "./inputs-CzHSmZKP.js";
|
|
7
|
-
import { A as te, P as se } from "./calendar-
|
|
7
|
+
import { A as te, P as se } from "./calendar-CYExSMEO.js";
|
|
8
8
|
u((t, e) => ({
|
|
9
9
|
class: "flex items-center px-4 py-2",
|
|
10
10
|
...t,
|
|
@@ -86,10 +86,10 @@ const ne = (t) => {
|
|
|
86
86
|
text: t || "",
|
|
87
87
|
disabled: !t,
|
|
88
88
|
class: `
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
px-2 py-1 text-center rounded-md
|
|
90
|
+
${i ? "bg-accent text-accent-foreground" : ""}
|
|
91
|
+
hover:bg-primary hover:text-primary-foreground
|
|
92
|
+
`,
|
|
93
93
|
click: () => a(n, s)
|
|
94
94
|
});
|
|
95
95
|
}, ce = (t, e) => {
|
|
@@ -159,11 +159,11 @@ const ne = (t) => {
|
|
|
159
159
|
}), W = ({ label: t, click: e }) => C(
|
|
160
160
|
{
|
|
161
161
|
class: `
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
inline-flex items-center justify-center h-7 w-7 bg-transparent p-0
|
|
163
|
+
opacity-50 hover:opacity-100 text-muted-foreground absolute
|
|
164
|
+
${t === "Previous" ? "left-1" : "right-1"}
|
|
165
|
+
focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2
|
|
166
|
+
`,
|
|
167
167
|
click: e,
|
|
168
168
|
"aria-label": `${t} month`,
|
|
169
169
|
variant: "icon",
|
|
@@ -182,10 +182,10 @@ const ne = (t) => {
|
|
|
182
182
|
]);
|
|
183
183
|
class Ze extends g {
|
|
184
184
|
/**
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
* This will declare the props for the compiler.
|
|
186
|
+
*
|
|
187
|
+
* @returns {void}
|
|
188
|
+
*/
|
|
189
189
|
declareProps() {
|
|
190
190
|
this.selectedDate = null, this.selectedWeek = null, this.selectedCallBack = null;
|
|
191
191
|
}
|
|
@@ -519,10 +519,10 @@ const ue = (t, e) => {
|
|
|
519
519
|
});
|
|
520
520
|
class st extends g {
|
|
521
521
|
/**
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
522
|
+
* This will declare the props for the compiler.
|
|
523
|
+
*
|
|
524
|
+
* @returns {void}
|
|
525
|
+
*/
|
|
526
526
|
declareProps() {
|
|
527
527
|
this.options = [], this.class = "";
|
|
528
528
|
}
|
|
@@ -635,10 +635,10 @@ const nt = u((t) => {
|
|
|
635
635
|
});
|
|
636
636
|
class N extends g {
|
|
637
637
|
/**
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
638
|
+
* This will declare the props for the compiler.
|
|
639
|
+
*
|
|
640
|
+
* @returns {void}
|
|
641
|
+
*/
|
|
642
642
|
declareProps() {
|
|
643
643
|
this.class = "";
|
|
644
644
|
}
|
|
@@ -669,11 +669,11 @@ class N extends g {
|
|
|
669
669
|
return "overlay fixed top-[0px] left-0 bottom-0 right-0 flex-col bg-background z-20 lg:z-10 flex flex-auto lg:left-[64px] lg:top-0 overflow-y-auto will-change-contents " + (this.class || "");
|
|
670
670
|
}
|
|
671
671
|
/**
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
672
|
+
* This will setup and render the component.
|
|
673
|
+
*
|
|
674
|
+
* @param {object} container
|
|
675
|
+
* @returns {void}
|
|
676
|
+
*/
|
|
677
677
|
setContainer(e) {
|
|
678
678
|
this.container = app.root;
|
|
679
679
|
}
|
|
@@ -761,11 +761,11 @@ class at extends N {
|
|
|
761
761
|
return "flex flex-auto flex-col bg-background flex will-change-contents " + (this.class || "");
|
|
762
762
|
}
|
|
763
763
|
/**
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
764
|
+
* This will setup and render the component.
|
|
765
|
+
*
|
|
766
|
+
* @param {object} container
|
|
767
|
+
* @returns {void}
|
|
768
|
+
*/
|
|
769
769
|
setup(e) {
|
|
770
770
|
this.container = e, this.initialize();
|
|
771
771
|
}
|
|
@@ -833,11 +833,11 @@ class it extends N {
|
|
|
833
833
|
return "overlay relative inline top-[0px] left-0 bottom-0 right-0 flex-col bg-background z-20 lg:left-[64px] lg:top-0 will-change-contents " + (this.class || "");
|
|
834
834
|
}
|
|
835
835
|
/**
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
836
|
+
* This will setup and render the component.
|
|
837
|
+
*
|
|
838
|
+
* @param {object} container
|
|
839
|
+
* @returns {void}
|
|
840
|
+
*/
|
|
841
841
|
setup(e) {
|
|
842
842
|
this.container = e, this.initialize();
|
|
843
843
|
}
|
|
@@ -957,8 +957,8 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
|
|
|
957
957
|
this.state.searchQuery = e.label, this.state.open = !1, typeof this.onSelect == "function" && this.onSelect(e);
|
|
958
958
|
},
|
|
959
959
|
/**
|
|
960
|
-
|
|
961
|
-
|
|
960
|
+
* Toggles the dropdown open state.
|
|
961
|
+
*/
|
|
962
962
|
toggleDropdown() {
|
|
963
963
|
this.state.toggle("open"), this.state.open && this.setSelectedIndexByQuery();
|
|
964
964
|
},
|
|
@@ -1019,10 +1019,10 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
|
|
|
1019
1019
|
]);
|
|
1020
1020
|
class lt extends g {
|
|
1021
1021
|
/**
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1022
|
+
* This will declare the props for the compiler.
|
|
1023
|
+
*
|
|
1024
|
+
* @returns {void}
|
|
1025
|
+
*/
|
|
1026
1026
|
declareProps() {
|
|
1027
1027
|
this.options = [], this.class = "", this.callBack = null;
|
|
1028
1028
|
}
|
|
@@ -1123,10 +1123,10 @@ const ze = (t) => D(
|
|
|
1123
1123
|
]);
|
|
1124
1124
|
class rt extends g {
|
|
1125
1125
|
/**
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1126
|
+
* This will declare the props for the compiler.
|
|
1127
|
+
*
|
|
1128
|
+
* @returns {void}
|
|
1129
|
+
*/
|
|
1130
1130
|
declareProps() {
|
|
1131
1131
|
this.options = [], this.class = "", this.onSelect = null;
|
|
1132
1132
|
}
|
|
@@ -1232,10 +1232,10 @@ class Ye extends g {
|
|
|
1232
1232
|
s !== !0 && n && this.updateLink(n, !0);
|
|
1233
1233
|
}
|
|
1234
1234
|
/**
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1235
|
+
* This will deactivate all links.
|
|
1236
|
+
*
|
|
1237
|
+
* @returns {void}
|
|
1238
|
+
*/
|
|
1239
1239
|
deactivateAllLinks() {
|
|
1240
1240
|
for (const e of this.links)
|
|
1241
1241
|
this.updateLink(e, !1);
|
|
@@ -181,43 +181,43 @@ const a = {
|
|
|
181
181
|
}
|
|
182
182
|
})), v = (t) => !t || isNaN(t) ? null : t, i = (t, r) => {
|
|
183
183
|
const e = t, o = 16, n = 2 * Math.PI * o, d = e / 100 * n, m = `
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
184
|
+
<svg class="w-40 h-40 mx-auto" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
|
|
185
|
+
<!-- Background Circle -->
|
|
186
|
+
<circle
|
|
187
|
+
cx="18"
|
|
188
|
+
cy="18"
|
|
189
|
+
r="${o}"
|
|
190
|
+
fill="none"
|
|
191
|
+
stroke="currentColor"
|
|
192
|
+
stroke-width="4"
|
|
193
|
+
class="bg-muted"
|
|
194
|
+
stroke-opacity="0.2"
|
|
195
|
+
/>
|
|
196
|
+
<!-- Progress Circle -->
|
|
197
|
+
<circle
|
|
198
|
+
cx="18"
|
|
199
|
+
cy="18"
|
|
200
|
+
r="${o}"
|
|
201
|
+
fill="none"
|
|
202
|
+
stroke="currentColor"
|
|
203
|
+
stroke-width="4"
|
|
204
|
+
class="stroke-primary"
|
|
205
|
+
stroke-dasharray="${n}"
|
|
206
|
+
stroke-dashoffset="${n - d}"
|
|
207
|
+
stroke-linecap="round"
|
|
208
|
+
class="${r}"
|
|
209
|
+
/>
|
|
210
|
+
<!-- Percentage Text -->
|
|
211
|
+
<text
|
|
212
|
+
x="18"
|
|
213
|
+
y="20"
|
|
214
|
+
class="text-[0.25em] font-medium fill-primary"
|
|
215
|
+
text-anchor="middle"
|
|
216
|
+
dominant-baseline="middle">
|
|
217
|
+
${e}%
|
|
218
|
+
</text>
|
|
219
|
+
</svg>
|
|
220
|
+
`;
|
|
221
221
|
return l({
|
|
222
222
|
class: "circle-graph text-inherit",
|
|
223
223
|
html: m
|
|
@@ -304,9 +304,9 @@ const a = {
|
|
|
304
304
|
// Tooltip box
|
|
305
305
|
c({
|
|
306
306
|
class: `
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
absolute z-20 px-2 py-1 border text-sm bg-background rounded shadow-md opacity-0 whitespace-nowrap
|
|
308
|
+
group-hover:opacity-100 transition-opacity duration-200 ${o} pointer-events-none
|
|
309
|
+
`
|
|
310
310
|
}, r)
|
|
311
311
|
]);
|
|
312
312
|
});
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
* @param {object} props
|
|
7
7
|
* @returns {object}
|
|
8
8
|
*/
|
|
9
|
-
export const Checkbox: import("
|
|
9
|
+
export const Checkbox: typeof import("@base-framework/base").Component;
|
|
10
10
|
export default Checkbox;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* @param {array} children
|
|
10
10
|
* @returns {object}
|
|
11
11
|
*/
|
|
12
|
-
export const Veil: import("
|
|
12
|
+
export const Veil: typeof import("@base-framework/base").Component;
|
|
13
13
|
export function VeilJot(props: any): import("node_modules/@base-framework/base/dist/types/modules/component/jot").ComponentConstructor;
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props
|
|
7
7
|
* @param {array} children
|
|
8
|
-
* @returns {
|
|
8
|
+
* @returns {typeof Component}
|
|
9
9
|
*/
|
|
10
|
-
export const Breadcrumb:
|
|
10
|
+
export const Breadcrumb: typeof Component;
|
|
11
11
|
export default Breadcrumb;
|
|
12
|
+
import { Component } from '@base-framework/base';
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Renders a row of circular dots, one of which is "active."
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props
|
|
7
|
-
* @returns {
|
|
7
|
+
* @returns {typeof Component}
|
|
8
8
|
* @example
|
|
9
9
|
* new DotsIndicator({ count: 4, activeIndex: 0 })
|
|
10
10
|
*/
|
|
11
|
-
export const DotsIndicator: import("
|
|
11
|
+
export const DotsIndicator: typeof import("@base-framework/base").Component;
|
|
12
12
|
export default DotsIndicator;
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props
|
|
7
7
|
* @param {array} children
|
|
8
|
-
* @returns {
|
|
8
|
+
* @returns {typeof Component}
|
|
9
9
|
*/
|
|
10
|
-
export const Combobox: import("
|
|
10
|
+
export const Combobox: typeof import("@base-framework/base").Component;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props
|
|
7
7
|
* @param {array} children
|
|
8
|
-
* @returns {
|
|
8
|
+
* @returns {typeof Component}
|
|
9
9
|
*/
|
|
10
|
-
export const Counter:
|
|
10
|
+
export const Counter: any;
|
|
11
11
|
export default Counter;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props
|
|
7
7
|
* @param {array} children
|
|
8
|
-
* @returns {
|
|
8
|
+
* @returns {typeof Component}
|
|
9
9
|
*/
|
|
10
|
-
export const DatePicker:
|
|
10
|
+
export const DatePicker: any;
|
|
11
11
|
export default DatePicker;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This will create a time picker component.
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props
|
|
7
|
-
* @returns {
|
|
7
|
+
* @returns {typeof Component}
|
|
8
8
|
*/
|
|
9
|
-
export const TimePicker:
|
|
9
|
+
export const TimePicker: any;
|
|
10
10
|
export default TimePicker;
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props
|
|
7
7
|
* @param {array} children
|
|
8
|
-
* @returns {
|
|
8
|
+
* @returns {typeof Component}
|
|
9
9
|
*/
|
|
10
|
-
export const FormField:
|
|
10
|
+
export const FormField: any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props
|
|
7
7
|
* @param {array} children
|
|
8
|
-
* @returns {
|
|
8
|
+
* @returns {typeof Component}
|
|
9
9
|
*/
|
|
10
|
-
export const Toggle:
|
|
10
|
+
export const Toggle: any;
|
|
11
11
|
export default Toggle;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @param {object} props
|
|
7
7
|
* @returns {object}
|
|
8
8
|
*/
|
|
9
|
-
export const DataTable: import("
|
|
9
|
+
export const DataTable: typeof import("@base-framework/base").Component;
|
|
10
10
|
import { CheckboxCol } from './table-header.js';
|
|
11
11
|
import { HeaderCol } from './table-header.js';
|
|
12
12
|
import { TableHeader } from './table-header.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This will create a search dropdown.
|
|
5
5
|
*
|
|
6
6
|
* @param {object} props - The properties of the component.
|
|
7
|
-
* @returns {
|
|
7
|
+
* @returns {typeof Component} - The search dropdown component.
|
|
8
8
|
*/
|
|
9
|
-
export const SearchDropdown: import("
|
|
9
|
+
export const SearchDropdown: typeof import("@base-framework/base").Component;
|
|
10
10
|
export default SearchDropdown;
|
package/package.json
CHANGED