@base-framework/ui 1.0.154 → 1.0.156
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/{calendar-Dt1hlTfR.js → calendar-DQXME-2u.js} +4 -6
- package/dist/{confirmation-iQDUBfb1.js → confirmation-DmScvEmS.js} +16 -23
- package/dist/index.es.js +3 -3
- package/dist/molecules.es.js +2 -2
- package/dist/organisms.es.js +2 -2
- package/dist/{signature-panel-DyBA4Y6G.js → signature-panel-C8UM0F7Y.js} +1 -1
- package/dist/types/components/molecules/popover.d.ts +6 -0
- package/package.json +1 -1
|
@@ -124,18 +124,16 @@ class lt extends N {
|
|
|
124
124
|
*
|
|
125
125
|
* @param {object} container
|
|
126
126
|
*/
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
// this.container = app.root;
|
|
131
|
-
// }
|
|
127
|
+
setContainer(t) {
|
|
128
|
+
this.container = app.root;
|
|
129
|
+
}
|
|
132
130
|
/**
|
|
133
131
|
* This will hide the popover before destroying.
|
|
134
132
|
*
|
|
135
133
|
* @returns {void}
|
|
136
134
|
*/
|
|
137
135
|
beforeDestroy() {
|
|
138
|
-
this.panel.hidePopover()
|
|
136
|
+
this.panel.hidePopover();
|
|
139
137
|
}
|
|
140
138
|
}
|
|
141
139
|
const H = k(({ src: e, alt: t }) => e ? F({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Div as n, H5 as _, P as b, I as g, Li as O, Span as a, Ul as V, Button as m, OnState as v, Label as R, Form as W, H2 as A, Header as B, Footer as M, A as Y, H3 as G, Checkbox as J, Nav as K, Input as C, UseParent as Q, Time as X, Dialog as Z } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as c, Component as p, Html as L, Dom as ee, base as te, Data as k, Builder as H, Jot as S, DateTime as $ } from "@base-framework/base";
|
|
3
|
-
import { P as D, b as se } from "./calendar-
|
|
3
|
+
import { P as D, b as se } from "./calendar-DQXME-2u.js";
|
|
4
4
|
import { B as h, I as x } from "./buttons-Cm9etaEG.js";
|
|
5
5
|
import { Icons as u } from "./icons.es.js";
|
|
6
6
|
import { a as w } from "./veil-D4dRxILB.js";
|
|
@@ -1023,18 +1023,21 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
|
|
|
1023
1023
|
onState: ["selectedDate", (o) => o ? $.format("standard", o) : "Pick a date"]
|
|
1024
1024
|
}),
|
|
1025
1025
|
g({ html: u.calendar.days })
|
|
1026
|
-
]), Qe = ({ handleDateSelect: e, blockPriorDates: t }) => v(
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1026
|
+
]), Qe = ({ handleDateSelect: e, blockPriorDates: t }) => v(
|
|
1027
|
+
"open",
|
|
1028
|
+
(s, o, r) => s ? new D({
|
|
1029
|
+
cache: "dropdown",
|
|
1030
|
+
parent: r,
|
|
1031
|
+
button: r.panel,
|
|
1032
|
+
size: "fit"
|
|
1033
|
+
}, [
|
|
1034
|
+
new se({
|
|
1035
|
+
selectedDate: r.state.selectedDate,
|
|
1036
|
+
selectedCallBack: e,
|
|
1037
|
+
blockPriorDates: t
|
|
1038
|
+
})
|
|
1039
|
+
]) : null
|
|
1040
|
+
), Bt = w(
|
|
1038
1041
|
{
|
|
1039
1042
|
/**
|
|
1040
1043
|
* The initial state of the DatePicker.
|
|
@@ -1062,7 +1065,6 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
|
|
|
1062
1065
|
* @returns {object}
|
|
1063
1066
|
*/
|
|
1064
1067
|
render() {
|
|
1065
|
-
console.log(this.state);
|
|
1066
1068
|
const e = (s, { state: o }) => o.toggle("open"), t = (s) => {
|
|
1067
1069
|
this.state.selectedDate = s, this.state.open = !1, this.input.value = s, typeof this.onChange == "function" && this.onChange(s);
|
|
1068
1070
|
};
|
|
@@ -1077,15 +1079,6 @@ const N = globalThis.matchMedia, I = c(({ value: e, label: t, icon: s }) => m({
|
|
|
1077
1079
|
blockPriorDates: this.blockPriorDates || !1
|
|
1078
1080
|
})
|
|
1079
1081
|
]);
|
|
1080
|
-
},
|
|
1081
|
-
/**
|
|
1082
|
-
* This will run before the component is destroyed.
|
|
1083
|
-
*
|
|
1084
|
-
* @returns {void}
|
|
1085
|
-
*/
|
|
1086
|
-
beforeDestroy() {
|
|
1087
|
-
var e;
|
|
1088
|
-
this.state.open = !1, (e = this.dropdown) == null || e.destroy();
|
|
1089
1082
|
}
|
|
1090
1083
|
}
|
|
1091
1084
|
), Mt = ({ dateTime: e = "", remoteTimeZone: t = "America/Denver", filter: s = null }) => X([
|
package/dist/index.es.js
CHANGED
|
@@ -3,9 +3,9 @@ import { B as g, I as C, L as T } from "./buttons-Cm9etaEG.js";
|
|
|
3
3
|
import { C as b, d as D, D as S, c as I, 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 H, W as L } from "./inputs-Dmu4Z-7-.js";
|
|
4
4
|
import { V as w, a as U } from "./veil-D4dRxILB.js";
|
|
5
5
|
import { Icons as O } from "./icons.es.js";
|
|
6
|
-
import { A as G, B as V, C as j, t as q, E as z, v as J, w as _, x as K, D as Q, j as X, k as Y, H as Z, G as $, s as aa, c as sa, a as ea, b as oa, i as ta, g as ra, e as na, h as ia, F as la, d as pa, f as ua, u as ma, M as da, l as ga, N as Ca, P as Ta, p as ca, q as ba, S as Da, n as Sa, o as Ia, T as Ba, y as Pa, z as Fa, m as Ma, r as ka } from "./confirmation-
|
|
7
|
-
import { A as va, b as fa, C as xa, D as ha, a as ya, F as Wa, M as Ha, P as La, c as Aa, g as wa, p as Ua } from "./calendar-
|
|
8
|
-
import { B as Oa, n as Ea, C as Ga, j as Va, D as ja, l as qa, H as za, I as Ja, N as _a, O as Ka, P as Qa, S as Xa, m as Ya, r as Za, q as $a, o as as, p as ss, T as es, k as os, U as ts, W as rs, f as ns, h as is, i as ls, c as ps, d as us, b as ms, e as ds, a as gs, g as Cs } from "./signature-panel-
|
|
6
|
+
import { A as G, B as V, C as j, t as q, E as z, v as J, w as _, x as K, D as Q, j as X, k as Y, H as Z, G as $, s as aa, c as sa, a as ea, b as oa, i as ta, g as ra, e as na, h as ia, F as la, d as pa, f as ua, u as ma, M as da, l as ga, N as Ca, P as Ta, p as ca, q as ba, S as Da, n as Sa, o as Ia, T as Ba, y as Pa, z as Fa, m as Ma, r as ka } from "./confirmation-DmScvEmS.js";
|
|
7
|
+
import { A as va, b as fa, C as xa, D as ha, a as ya, F as Wa, M as Ha, P as La, c as Aa, g as wa, p as Ua } from "./calendar-DQXME-2u.js";
|
|
8
|
+
import { B as Oa, n as Ea, C as Ga, j as Va, D as ja, l as qa, H as za, I as Ja, N as _a, O as Ka, P as Qa, S as Xa, m as Ya, r as Za, q as $a, o as as, p as ss, T as es, k as os, U as ts, W as rs, f as ns, h as is, i as ls, c as ps, d as us, b as ms, e as ds, a as gs, g as Cs } from "./signature-panel-C8UM0F7Y.js";
|
|
9
9
|
import { B as cs, I as bs, M as Ds, d as Ss, e as Is, g as Bs, N as Ps, b as Fs, a as Ms, f as ks, P as Ns, c as vs, S as fs, T as xs } from "./mobile-nav-wrapper-Dj67Pb8l.js";
|
|
10
10
|
import { B as ys, a as Ws, C as Hs, F as Ls, b as As, c as ws, M as Us, P as Rs, S as Os } from "./sidebar-menu-page-BVryQj2Z.js";
|
|
11
11
|
import { A as Gs, F as Vs, M as js, a as qs, T as zs } from "./aside-template-McEj_Gxc.js";
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as o, B as t, C as e, t as i, E as r, v as n, w as m, x as l, D as S, j as u, k as D, H as c, G as C, s as d, c as g, a as p, b as F, i as T, g as A, e as P, h as f, F as w, d as b, f as B, u as I, M, l as x, N as y, P as k, p as v, q as N, S as h, n as E, o as L, T as R, y as U, z as j, m as q, r as z } from "./confirmation-
|
|
2
|
-
import { A as H, P as O, g as _ } from "./calendar-
|
|
1
|
+
import { A as o, B as t, C as e, t as i, E as r, v as n, w as m, x as l, D as S, j as u, k as D, H as c, G as C, s as d, c as g, a as p, b as F, i as T, g as A, e as P, h as f, F as w, d as b, f as B, u as I, M, l as x, N as y, P as k, p as v, q as N, S as h, n as E, o as L, T as R, y as U, z as j, m as q, r as z } from "./confirmation-DmScvEmS.js";
|
|
2
|
+
import { A as H, P as O, g as _ } from "./calendar-DQXME-2u.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Alert,
|
|
5
5
|
H as Avatar,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as s, n as o, C as t, j as r, D as l, l as n, H as i, I as b, N as d, O as v, P as g, S as p, m as u, r as N, q as k, o as D, p as C, T, k as c, U as M, W as B, f as m, h as y, i as W, c as h, d as H, b as P, e as S, a as f, g as x } from "./signature-panel-
|
|
2
|
-
import { b as L, C as O, D as F, a as U, F as G, M as j, c as q, p as w } from "./calendar-
|
|
1
|
+
import { B as s, n as o, C as t, j as r, D as l, l as n, H as i, I as b, N as d, O as v, P as g, S as p, m as u, r as N, q as k, o as D, p as C, T, k as c, U as M, W as B, f as m, h as y, i as W, c as h, d as H, b as P, e as S, a as f, g as x } from "./signature-panel-C8UM0F7Y.js";
|
|
2
|
+
import { b as L, C as O, D as F, a as U, F as G, M as j, c as q, p as w } from "./calendar-DQXME-2u.js";
|
|
3
3
|
import { B as A, I as E, M as J, d as K, e as Q, g as R, N as V, b as X, a as Y, f as Z, P as _, c as $, S as aa, T as ea } from "./mobile-nav-wrapper-Dj67Pb8l.js";
|
|
4
4
|
export {
|
|
5
5
|
s as BackButton,
|
|
@@ -4,7 +4,7 @@ import { B as C, I as V } from "./buttons-Cm9etaEG.js";
|
|
|
4
4
|
import { Icons as k } from "./icons.es.js";
|
|
5
5
|
import { TableBody as _, ScrollableTableBody as J, List as Z, IntervalTimer as ee } from "@base-framework/organisms";
|
|
6
6
|
import { C as te, I as se, H as ae } from "./inputs-Dmu4Z-7-.js";
|
|
7
|
-
import { A as ie, P as ne } from "./calendar-
|
|
7
|
+
import { A as ie, P as ne } from "./calendar-DQXME-2u.js";
|
|
8
8
|
d((t, e) => ({
|
|
9
9
|
class: "flex items-center px-4 py-2",
|
|
10
10
|
...t,
|
|
@@ -47,5 +47,11 @@ export class PopOver extends Component {
|
|
|
47
47
|
* @returns {boolean}
|
|
48
48
|
*/
|
|
49
49
|
isOutsideClick(element: object): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* This will override the set up to use the app shell.
|
|
52
|
+
*
|
|
53
|
+
* @param {object} container
|
|
54
|
+
*/
|
|
55
|
+
setContainer(container: object): void;
|
|
50
56
|
}
|
|
51
57
|
import { Component } from '@base-framework/base';
|
package/package.json
CHANGED