@base-framework/ui 1.0.2001 → 1.0.2003
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/{empty-state-BfT4MKkN.js → empty-state-CT44uzVx.js} +19 -18
- package/dist/index.es.js +2 -2
- package/dist/molecules.es.js +1 -1
- package/dist/organisms.es.js +1 -1
- package/dist/{signature-panel-Bq-usDxi.js → signature-panel-4rYrI_F5.js} +22 -22
- package/dist/types/components/molecules/modals/modal.d.ts +7 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Div as n, H5 as X, P as b, I as x, Li as q, Span as a, Ul as Y, Button as m, OnState as D, Label as A, H2 as S, Form as Z, Header as
|
|
2
|
-
import { Atom as c, Component as y, Html as O, Dom as re, base as le, Data as
|
|
1
|
+
import { Div as n, H5 as X, P as b, I as x, Li as q, Span as a, Ul as Y, Button as m, OnState as D, Label as A, H2 as S, Form as Z, Header as F, Footer as M, A as V, H3 as ee, Checkbox as te, Input as f, Img as _, Nav as se, UseParent as W, OnStateOpen as P, Time as oe, Dialog as ne } from "@base-framework/atoms";
|
|
2
|
+
import { Atom as c, Component as y, Html as O, Dom as re, base as le, Data as T, Builder as G, Jot as w, Events as p, DateTime as L } from "@base-framework/base";
|
|
3
3
|
import { P as I, b as ie, R as ae } from "./range-calendar-BMWSJTE0.js";
|
|
4
4
|
import { C as ce, F as ue } from "./form-group-CJzpq9Us.js";
|
|
5
5
|
import { B as h, I as g } from "./buttons-CHEs54Wl.js";
|
|
@@ -120,7 +120,7 @@ class Mt extends y {
|
|
|
120
120
|
* @returns {Data}
|
|
121
121
|
*/
|
|
122
122
|
setData() {
|
|
123
|
-
return new
|
|
123
|
+
return new T({
|
|
124
124
|
groups: this.groups || []
|
|
125
125
|
});
|
|
126
126
|
}
|
|
@@ -168,7 +168,7 @@ class Mt extends y {
|
|
|
168
168
|
]);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t)), De = c((e, t) => A({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)),
|
|
171
|
+
const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t)), De = c((e, t) => A({ ...e, class: "flex auto text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" }, t)), Fe = c((e, t) => b({ ...e, class: "text-sm text-muted-foreground italic" }, t)), Te = c((e, t) => b({ ...e, class: "text-sm text-destructive" }, t)), Pt = c((e, t = []) => ce({ class: "flex flex-auto flex-col gap-y-0", margin: "m-0", padding: "p-0" }, [
|
|
172
172
|
e.title && S({ class: "text-lg font-semibold py-4 px-6" }, e.title),
|
|
173
173
|
e.description && b({ class: "text-sm text-muted-foreground pb-4 px-6 max-w-[700px]" }, e.description),
|
|
174
174
|
...t
|
|
@@ -227,8 +227,8 @@ const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t))
|
|
|
227
227
|
value: this.state.value,
|
|
228
228
|
setError: r
|
|
229
229
|
}, this.children),
|
|
230
|
-
o &&
|
|
231
|
-
n({ onState: ["error", (l) => l &&
|
|
230
|
+
o && Fe({ id: this.getId("description") }, o),
|
|
231
|
+
n({ onState: ["error", (l) => l && Te(l)] })
|
|
232
232
|
])
|
|
233
233
|
]);
|
|
234
234
|
}
|
|
@@ -246,7 +246,7 @@ const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t))
|
|
|
246
246
|
]), Rt = (e, t) => n({ class: "flex" }, [
|
|
247
247
|
a({ class: "text-muted-foreground mr-8 w-24 truncate text-nowrap" }, e),
|
|
248
248
|
a(t)
|
|
249
|
-
]), Ae = ({ title: e, description: t, back: s, icon: o, options: r = [] }) =>
|
|
249
|
+
]), Ae = ({ title: e, description: t, back: s, icon: o, options: r = [] }) => F({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10 min-w-0" }, [
|
|
250
250
|
/**
|
|
251
251
|
* Back Button
|
|
252
252
|
*/
|
|
@@ -274,8 +274,8 @@ const ke = c((e, t) => n({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t))
|
|
|
274
274
|
}, [
|
|
275
275
|
K({ class: "modal-content relative bg-background z-[1] flex flex-auto flex-col gap-y-4 overflow-hidden", submit: (s, o) => e.onSubmit && e.onSubmit(o) }, [
|
|
276
276
|
Ae(e),
|
|
277
|
-
n({ class: "modal-body flex flex-grow flex-col overflow-y-auto py-0 px-6 z-0" }, t),
|
|
278
|
-
M({ class: "modal-footer sticky bg-background/80 backdrop-blur-md flex flex-none justify-between py-4 px-6 z-10" }, e.buttons)
|
|
277
|
+
n({ class: "modal-body flex flex-grow flex-col overflow-y-auto py-0 px-6 z-0", cache: "modalBody" }, t),
|
|
278
|
+
!e.hideFooter && M({ class: "modal-footer sticky bg-background/80 backdrop-blur-md flex flex-none justify-between py-4 px-6 z-10" }, e.buttons)
|
|
279
279
|
])
|
|
280
280
|
])), Pe = (e) => G.render(e, app.root);
|
|
281
281
|
class Ht extends y {
|
|
@@ -285,7 +285,7 @@ class Ht extends y {
|
|
|
285
285
|
* @returns {void}
|
|
286
286
|
*/
|
|
287
287
|
declareProps() {
|
|
288
|
-
this.title = null, this.description = null, this.size = null, this.type = null, this.hidePrimaryButton = !1, this.icon = null, this.onSubmit = null, this.onClose = null, this.back = !1;
|
|
288
|
+
this.title = null, this.description = null, this.size = null, this.type = null, this.hidePrimaryButton = !1, this.hideFooter = !1, this.icon = null, this.onSubmit = null, this.onClose = null, this.back = !1;
|
|
289
289
|
}
|
|
290
290
|
/**
|
|
291
291
|
* This will render the modal component.
|
|
@@ -301,6 +301,7 @@ class Ht extends y {
|
|
|
301
301
|
description: o,
|
|
302
302
|
options: this.headerOptions(),
|
|
303
303
|
buttons: this.getButtons(),
|
|
304
|
+
hideFooter: this.hideFooter,
|
|
304
305
|
onSubmit: (r) => {
|
|
305
306
|
let l = !0;
|
|
306
307
|
this.onSubmit && (l = this.onSubmit(r)), l !== !1 && this.destroy();
|
|
@@ -464,7 +465,7 @@ const E = {
|
|
|
464
465
|
borderColor: "border",
|
|
465
466
|
iconColor: "text-muted-foreground"
|
|
466
467
|
}
|
|
467
|
-
}, Oe = (e) =>
|
|
468
|
+
}, Oe = (e) => F({ class: "flex justify-center" }, [
|
|
468
469
|
ee({ class: "text-lg font-bold mb-0" }, e)
|
|
469
470
|
]), je = c(({ href: e, class: t }, s) => V({
|
|
470
471
|
class: `bg-popover text-popover-foreground relative flex flex-auto flex-col justify-start shadow-lg pointer-events-auto p-4 border rounded-md min-w-[340px] max-w-[450px] mt-4 ${t}`,
|
|
@@ -899,7 +900,7 @@ const N = globalThis.matchMedia, $ = c(({ value: e, label: t, icon: s }) => m({
|
|
|
899
900
|
* @returns {Data}
|
|
900
901
|
*/
|
|
901
902
|
setData() {
|
|
902
|
-
return new
|
|
903
|
+
return new T({
|
|
903
904
|
// @ts-ignore
|
|
904
905
|
items: this.items || []
|
|
905
906
|
});
|
|
@@ -961,7 +962,7 @@ const N = globalThis.matchMedia, $ = c(({ value: e, label: t, icon: s }) => m({
|
|
|
961
962
|
* @returns {Data}
|
|
962
963
|
*/
|
|
963
964
|
setData() {
|
|
964
|
-
return new
|
|
965
|
+
return new T({
|
|
965
966
|
// @ts-ignore
|
|
966
967
|
count: this.count || 4,
|
|
967
968
|
// total dots
|
|
@@ -1022,7 +1023,7 @@ const N = globalThis.matchMedia, $ = c(({ value: e, label: t, icon: s }) => m({
|
|
|
1022
1023
|
* @returns {Data}
|
|
1023
1024
|
*/
|
|
1024
1025
|
setData() {
|
|
1025
|
-
return new
|
|
1026
|
+
return new T({
|
|
1026
1027
|
// @ts-ignore
|
|
1027
1028
|
items: this.items || []
|
|
1028
1029
|
});
|
|
@@ -1627,7 +1628,7 @@ const os = C(
|
|
|
1627
1628
|
}
|
|
1628
1629
|
), bt = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
|
|
1629
1630
|
g({ size: "lg" }, e)
|
|
1630
|
-
]), xt = ({ title: e }) =>
|
|
1631
|
+
]), xt = ({ title: e }) => F({ class: "flex flex-auto items-center" }, [
|
|
1631
1632
|
S({ class: "text-lg font-semibold" }, e)
|
|
1632
1633
|
]), vt = c((e, t) => ne(
|
|
1633
1634
|
{
|
|
@@ -1789,7 +1790,7 @@ const rs = c((e, t = []) => n({ class: "w-full max-w-md p-6 m-auto" }, [
|
|
|
1789
1790
|
g(e.icon)
|
|
1790
1791
|
])
|
|
1791
1792
|
]),
|
|
1792
|
-
|
|
1793
|
+
F({ class: "py-4 text-center" }, [
|
|
1793
1794
|
S({ class: "text-xl font-bold" }, e.title),
|
|
1794
1795
|
b({ class: "pb-8 text-muted-foreground" }, e.description || ""),
|
|
1795
1796
|
...t
|
|
@@ -1822,8 +1823,8 @@ export {
|
|
|
1822
1823
|
Mt as b,
|
|
1823
1824
|
Ce as c,
|
|
1824
1825
|
De as d,
|
|
1825
|
-
|
|
1826
|
-
|
|
1826
|
+
Fe as e,
|
|
1827
|
+
Te as f,
|
|
1827
1828
|
Pt as g,
|
|
1828
1829
|
Ot as h,
|
|
1829
1830
|
jt as i,
|
package/dist/index.es.js
CHANGED
|
@@ -4,9 +4,9 @@ import { C as T, F as b } from "./form-group-CJzpq9Us.js";
|
|
|
4
4
|
import { C as I, d as S, D as F, c as B, E as P, F as k, H as M, I as x, M as f, N as v, P as N, R as y, T as h, a as U, b as L, U as W, W as H } from "./inputs-9udyzkHR.js";
|
|
5
5
|
import { V as w, a as A } from "./veil-CqnAmj-D.js";
|
|
6
6
|
import { Icons as O } from "./icons.es.js";
|
|
7
|
-
import { A as V, B as j, C as q, w as J, K as z, y as K, z as Q, E as _, G as X, D as Y, m as Z, n as $, Q as aa, O as ea, v as sa, c as oa, a as ta, b as ra, R as na, l as la, g as ia, i as pa, h as da, j as ma, e as ua, k as ga, F as Ca, d as ca, f as Ta, I as ba, L as Da, x as Ia, M as Sa, o as Fa, N as Ba, P as Pa, s as ka, t as Ma, S as xa, q as fa, r as va, T as Na, H as ya, J as ha, p as Ua, u as La } from "./empty-state-
|
|
7
|
+
import { A as V, B as j, C as q, w as J, K as z, y as K, z as Q, E as _, G as X, D as Y, m as Z, n as $, Q as aa, O as ea, v as sa, c as oa, a as ta, b as ra, R as na, l as la, g as ia, i as pa, h as da, j as ma, e as ua, k as ga, F as Ca, d as ca, f as Ta, I as ba, L as Da, x as Ia, M as Sa, o as Fa, N as Ba, P as Pa, s as ka, t as Ma, S as xa, q as fa, r as va, T as Na, H as ya, J as ha, p as Ua, u as La } from "./empty-state-CT44uzVx.js";
|
|
8
8
|
import { A as Ha, b as Ra, C as wa, D as Aa, a as Ga, F as Oa, M as Ea, P as Va, R as ja, c as qa, g as Ja, p as za } from "./range-calendar-BMWSJTE0.js";
|
|
9
|
-
import { B as Qa, p as _a, C as Xa, j as Ya, D as Za, m as $a, k as ae, H as ee, I as se, N as oe, O as te, P as re, S as ne, n as le, o as ie, x as pe, s as de, q as me, r as ue, T as ge, t as Ce, w as ce, u as Te, v as be, l as De, U as Ie, W as Se, f as Fe, h as Be, i as Pe, c as ke, d as Me, b as xe, e as fe, a as ve, g as Ne } from "./signature-panel-
|
|
9
|
+
import { B as Qa, p as _a, C as Xa, j as Ya, D as Za, m as $a, k as ae, H as ee, I as se, N as oe, O as te, P as re, S as ne, n as le, o as ie, x as pe, s as de, q as me, r as ue, T as ge, t as Ce, w as ce, u as Te, v as be, l as De, U as Ie, W as Se, f as Fe, h as Be, i as Pe, c as ke, d as Me, b as xe, e as fe, a as ve, g as Ne } from "./signature-panel-4rYrI_F5.js";
|
|
10
10
|
import { B as he, I as Ue, M as Le, d as We, e as He, g as Re, N as we, b as Ae, a as Ge, f as Oe, P as Ee, c as Ve, S as je, T as qe } from "./mobile-nav-wrapper-Dm9DinRD.js";
|
|
11
11
|
import { B as ze, a as Ke, C as Qe, F as _e, b as Xe, c as Ye, M as Ze, P as $e, S as as } from "./sidebar-menu-page-D4WMgz5U.js";
|
|
12
12
|
import { A as ss, F as os, M as ts, a as rs, T as ns } from "./aside-template-sUm-F2f0.js";
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, B as t, C as e, w as r, K as i, y as n, z as m, E as l, G as d, D as C, m as p, n as S, Q as g, O as u, v as D, c, a as F, b as T, R as P, l as A, g as I, i as f, h as w, j as b, e as y, k as B, F as M, d as k, f as x, I as L, L as R, x as U, M as v, o as E, N, P as h, s as G, t as O, S as j, q, r as z, T as H, H as J, J as K, p as Q, u as _ } from "./empty-state-
|
|
1
|
+
import { A as s, B as t, C as e, w as r, K as i, y as n, z as m, E as l, G as d, D as C, m as p, n as S, Q as g, O as u, v as D, c, a as F, b as T, R as P, l as A, g as I, i as f, h as w, j as b, e as y, k as B, F as M, d as k, f as x, I as L, L as R, x as U, M as v, o as E, N, P as h, s as G, t as O, S as j, q, r as z, T as H, H as J, J as K, p as Q, u as _ } from "./empty-state-CT44uzVx.js";
|
|
2
2
|
import { A as W, P as X, g as Y } from "./range-calendar-BMWSJTE0.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Alert,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, p as n, C as t, j as o, D as r, m as l, k as i, H as d, I as b, N as u, O as v, P as g, S as p, n as T, o as D, x as N, s as k, q as C, r as c, T as B, t as M, w as m, u as y, v as W, l as h, U as S, W as H, f as P, h as U, i as x, c as I, d as f, b as L, e as O, a as F, g as G } from "./signature-panel-
|
|
1
|
+
import { B as s, p as n, C as t, j as o, D as r, m as l, k as i, H as d, I as b, N as u, O as v, P as g, S as p, n as T, o as D, x as N, s as k, q as C, r as c, T as B, t as M, w as m, u as y, v as W, l as h, U as S, W as H, f as P, h as U, i as x, c as I, d as f, b as L, e as O, a as F, g as G } from "./signature-panel-4rYrI_F5.js";
|
|
2
2
|
import { b as R, C as j, D as q, a as z, F as A, M as E, R as J, c as K, p as Q } from "./range-calendar-BMWSJTE0.js";
|
|
3
3
|
import { B as X, I as Y, M as Z, d as _, e as $, g as aa, N as ea, b as sa, a as na, f as ta, P as oa, c as ra, S as la, T as ia } from "./mobile-nav-wrapper-Dm9DinRD.js";
|
|
4
4
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button as w, Div as o, On as C, Span as L, Th as N, UseParent as E, I as Q, Thead as V, Tr as G, Table as B, P as v, Li as y, Time as X, Nav as m, Ul as f, Section as I, Canvas as q } from "@base-framework/atoms";
|
|
2
|
-
import { Atom as d, Component as p, Data as T, DateTime as K, router as
|
|
2
|
+
import { Atom as d, Component as p, Data as T, DateTime as K, router as k, NavLink as M, DataTracker as U, Jot as _, base as O, Dom as W } from "@base-framework/base";
|
|
3
3
|
import { B as P, I as J } from "./buttons-CHEs54Wl.js";
|
|
4
4
|
import { Icons as S } from "./icons.es.js";
|
|
5
5
|
import { TableBody as Z, DataTableBody as ee, ScrollableTableBody as te, List as se, IntervalTimer as ae } from "@base-framework/organisms";
|
|
@@ -94,13 +94,13 @@ const ce = (t) => {
|
|
|
94
94
|
click: () => i(a, s)
|
|
95
95
|
});
|
|
96
96
|
}, me = (t, e) => {
|
|
97
|
-
const s = new Date(t, e, 1).getDay(), a = new Date(t, e + 1, 0).getDate(), i = he(t, e, s), n = Array.from({ length: a }, (h,
|
|
97
|
+
const s = new Date(t, e, 1).getDay(), a = new Date(t, e + 1, 0).getDate(), i = he(t, e, s), n = Array.from({ length: a }, (h, x) => new Date(t, e, x + 1)), l = (i.length + n.length) % 7, c = l === 0 ? 0 : 7 - l, r = ue(t, e, c), u = [...i, ...n, ...r], b = [];
|
|
98
98
|
for (let h = 0; h < u.length; h += 7) {
|
|
99
|
-
const
|
|
99
|
+
const x = u.slice(h, h + 7), D = x.find((Y) => Y) || new Date(t, e, 1), { weekNumber: H, year: F } = de(D);
|
|
100
100
|
b.push({
|
|
101
101
|
weekNumber: H,
|
|
102
102
|
year: F,
|
|
103
|
-
days:
|
|
103
|
+
days: x
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
return b;
|
|
@@ -179,7 +179,7 @@ const ce = (t) => {
|
|
|
179
179
|
click: t
|
|
180
180
|
})
|
|
181
181
|
]);
|
|
182
|
-
class
|
|
182
|
+
class xt extends p {
|
|
183
183
|
/**
|
|
184
184
|
* This will declare the props for the compiler.
|
|
185
185
|
*
|
|
@@ -297,11 +297,11 @@ class kt extends p {
|
|
|
297
297
|
]);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
const
|
|
300
|
+
const xe = (t, e) => {
|
|
301
301
|
const s = t.toggleAllSelectedRows();
|
|
302
302
|
e.state.checked = !s;
|
|
303
|
-
},
|
|
304
|
-
E((e) => new ie({ class: "mr-2", onChange: (s, a) =>
|
|
303
|
+
}, ke = (t) => N({ class: `cursor-pointer py-3 px-4 text-base w-10 ${t.class || ""}` }, [
|
|
304
|
+
E((e) => new ie({ class: "mr-2", onChange: (s, a) => xe(e, a) }))
|
|
305
305
|
]), we = ({ align: t, sortable: e, key: s, label: a, sort: i, class: n }) => {
|
|
306
306
|
const l = t || "justify-start";
|
|
307
307
|
return N({
|
|
@@ -318,7 +318,7 @@ const ke = (t, e) => {
|
|
|
318
318
|
class: "text-muted-foreground border-b",
|
|
319
319
|
map: [
|
|
320
320
|
t.headers,
|
|
321
|
-
(e) => e.label === "checkbox" ?
|
|
321
|
+
(e) => e.label === "checkbox" ? ke({ toggle: t.toggle }) : we({
|
|
322
322
|
align: e.align,
|
|
323
323
|
sortable: e.sortable,
|
|
324
324
|
key: e.key,
|
|
@@ -567,7 +567,7 @@ class De extends j {
|
|
|
567
567
|
this.list.refresh();
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
|
-
const
|
|
570
|
+
const kt = d((t) => new De(
|
|
571
571
|
{
|
|
572
572
|
cache: t.cache ?? "list",
|
|
573
573
|
tableData: t.data,
|
|
@@ -736,7 +736,7 @@ class vt extends p {
|
|
|
736
736
|
class: "flex gap-x-4",
|
|
737
737
|
map: [this.options, (e) => this.addLink(e)],
|
|
738
738
|
watch: {
|
|
739
|
-
value: ["[[path]]",
|
|
739
|
+
value: ["[[path]]", k.data],
|
|
740
740
|
callBack: this.updateLinks.bind(this)
|
|
741
741
|
}
|
|
742
742
|
})
|
|
@@ -749,7 +749,7 @@ class vt extends p {
|
|
|
749
749
|
* @returns {void}
|
|
750
750
|
*/
|
|
751
751
|
afterSetup() {
|
|
752
|
-
const e =
|
|
752
|
+
const e = k.data.path;
|
|
753
753
|
this.updateLinks(e);
|
|
754
754
|
}
|
|
755
755
|
/**
|
|
@@ -1389,7 +1389,7 @@ class qe extends g {
|
|
|
1389
1389
|
class: "flex flex-auto flex-row",
|
|
1390
1390
|
map: [this.options, (e) => this.addLink(e)],
|
|
1391
1391
|
watch: {
|
|
1392
|
-
value: ["[[path]]",
|
|
1392
|
+
value: ["[[path]]", k.data],
|
|
1393
1393
|
callBack: this.updateLinks.bind(this)
|
|
1394
1394
|
}
|
|
1395
1395
|
})
|
|
@@ -1401,7 +1401,7 @@ class qe extends g {
|
|
|
1401
1401
|
* @returns {void}
|
|
1402
1402
|
*/
|
|
1403
1403
|
afterSetup() {
|
|
1404
|
-
const e =
|
|
1404
|
+
const e = k.data.path;
|
|
1405
1405
|
this.updateLinks(e);
|
|
1406
1406
|
}
|
|
1407
1407
|
/**
|
|
@@ -1535,14 +1535,14 @@ class Mt extends g {
|
|
|
1535
1535
|
*/
|
|
1536
1536
|
render() {
|
|
1537
1537
|
const e = this.select.bind(this);
|
|
1538
|
-
return o({ class: "underlined-button-tab-panel" }, [
|
|
1538
|
+
return o({ class: "underlined-button-tab-panel flex flex-auto flex-col" }, [
|
|
1539
1539
|
Je({
|
|
1540
1540
|
class: this.class,
|
|
1541
1541
|
options: this.options,
|
|
1542
1542
|
callBack: e
|
|
1543
1543
|
}),
|
|
1544
1544
|
I({
|
|
1545
|
-
class: "tab-content pt-6",
|
|
1545
|
+
class: "tab-content pt-6 flex flex-auto flex-col",
|
|
1546
1546
|
onState: ["selected", this.updateContent.bind(this)]
|
|
1547
1547
|
})
|
|
1548
1548
|
]);
|
|
@@ -1691,7 +1691,7 @@ class nt extends g {
|
|
|
1691
1691
|
class: "flex flex-row items-center",
|
|
1692
1692
|
map: [this.options, (e) => this.addLink(e)],
|
|
1693
1693
|
watch: {
|
|
1694
|
-
value: ["[[path]]",
|
|
1694
|
+
value: ["[[path]]", k.data],
|
|
1695
1695
|
callBack: this.updateLinks.bind(this)
|
|
1696
1696
|
}
|
|
1697
1697
|
})
|
|
@@ -1703,7 +1703,7 @@ class nt extends g {
|
|
|
1703
1703
|
* @returns {void}
|
|
1704
1704
|
*/
|
|
1705
1705
|
afterSetup() {
|
|
1706
|
-
const e =
|
|
1706
|
+
const e = k.data.path;
|
|
1707
1707
|
this.updateLinks(e);
|
|
1708
1708
|
}
|
|
1709
1709
|
/**
|
|
@@ -1955,7 +1955,7 @@ class ot extends p {
|
|
|
1955
1955
|
const e = this.canvas, s = this.container, a = W.getSize(s), i = this.targetSize, n = i.width, l = i.height;
|
|
1956
1956
|
let c = n + "px", r = l + "px";
|
|
1957
1957
|
if (this.width = e.width = n, this.height = e.height = l, a.width !== 0 && a.height !== 0) {
|
|
1958
|
-
const u = a.width, b = a.height, h = u / n,
|
|
1958
|
+
const u = a.width, b = a.height, h = u / n, x = b / l, D = Math.min(h, x);
|
|
1959
1959
|
c = n * D + "px", r = l * D + "px";
|
|
1960
1960
|
}
|
|
1961
1961
|
e.style.width = c, e.style.height = r;
|
|
@@ -2112,7 +2112,7 @@ class Ot extends p {
|
|
|
2112
2112
|
}
|
|
2113
2113
|
export {
|
|
2114
2114
|
Dt as B,
|
|
2115
|
-
|
|
2115
|
+
ke as C,
|
|
2116
2116
|
ye as D,
|
|
2117
2117
|
we as H,
|
|
2118
2118
|
Ct as I,
|
|
@@ -2122,7 +2122,7 @@ export {
|
|
|
2122
2122
|
wt as S,
|
|
2123
2123
|
R as T,
|
|
2124
2124
|
Re as U,
|
|
2125
|
-
|
|
2125
|
+
xt as W,
|
|
2126
2126
|
ue as a,
|
|
2127
2127
|
$ as b,
|
|
2128
2128
|
de as c,
|
|
@@ -2133,7 +2133,7 @@ export {
|
|
|
2133
2133
|
pe as h,
|
|
2134
2134
|
be as i,
|
|
2135
2135
|
j,
|
|
2136
|
-
|
|
2136
|
+
kt as k,
|
|
2137
2137
|
yt as l,
|
|
2138
2138
|
St as m,
|
|
2139
2139
|
Lt as n,
|
|
@@ -36,6 +36,13 @@ export class Modal extends Component {
|
|
|
36
36
|
* @values true, false
|
|
37
37
|
*/
|
|
38
38
|
hidePrimaryButton: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* @member {boolean} hideFooter
|
|
41
|
+
* @default false
|
|
42
|
+
* @description This will hide the footer.
|
|
43
|
+
* @values true, false
|
|
44
|
+
*/
|
|
45
|
+
hideFooter: boolean;
|
|
39
46
|
/**
|
|
40
47
|
* @member {string} icon
|
|
41
48
|
*/
|
package/package.json
CHANGED