@wrdagency/blockout 1.0.4 → 1.0.6
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/2NBKRL7C-CzwWfv1x.js +76 -0
- package/dist/2RSXSRCN-rMUAytae.js +61 -0
- package/dist/{4CMBR7SL-xNGezbCB.js → 4CMBR7SL-ChJnawVl.js} +132 -126
- package/dist/{5JTVDSTH-CIreO5bC.js → 5JTVDSTH-DcfjjEya.js} +4 -4
- package/dist/{5VQZOHHZ-CNzYHc1X.js → 5VQZOHHZ-BN-teS5E.js} +1 -1
- package/dist/{6VRAQV3D-BoLhl3hf.js → 6VRAQV3D-DK_p41oq.js} +6 -6
- package/dist/A3WPL2ZJ-CpUtG5Sk.js +12 -0
- package/dist/{BM6PGYQY-Bhr7peim.js → BM6PGYQY-CkMwDqt0.js} +2 -2
- package/dist/Check.es-CMkTf2It.js +38 -0
- package/dist/{DG5U6ZEL-C7eLVyh-.js → DG5U6ZEL-GfwW2sqh.js} +3 -3
- package/dist/EM5CXX6A-C74NAQPE.js +13 -0
- package/dist/{F5MUBM3I-_HauDyEF.js → F5MUBM3I-BbDMTUwx.js} +24 -24
- package/dist/{G7GW6PWC-Crp1Jn-8.js → G7GW6PWC-A0eDeXMt.js} +100 -96
- package/dist/IWEFDH56-CvOsIcbb.js +19 -0
- package/dist/{J2LQO3EC-CcHJqN0I.js → J2LQO3EC-DYtZQQv6.js} +4 -3
- package/dist/{KFH4SEIX-D-fCkpQv.js → KFH4SEIX-BFT9WmYk.js} +3 -3
- package/dist/{LMDWO4NN-DdLnHzru.js → LMDWO4NN-CIZvvtic.js} +233 -203
- package/dist/MAXQOH4L-DBaf8WKp.js +564 -0
- package/dist/MR26YJYP-DacZIkgJ.js +287 -0
- package/dist/MTZPJQMC-DPwZ6caC.js +13 -0
- package/dist/{O2PQ2652-THp22K4G.js → O2PQ2652-D2GSkoLq.js} +6 -6
- package/dist/P7GR5CS5-5PtDURPc.js +24 -0
- package/dist/{PFRGBC2K-DUhGSIey.js → PFRGBC2K-B9ko--FF.js} +34 -33
- package/dist/Plus.es-DJ5SuqNv.js +38 -0
- package/dist/RS7LB2H4-BvDKQaCt.js +18 -0
- package/dist/RZ4GPYOB-COPqjbOz.js +37 -0
- package/dist/{S43UC3DV-erT1ucAd.js → S43UC3DV-CiBKpqp8.js} +3 -3
- package/dist/{T7VMP3TM-C-Aesx9K.js → T7VMP3TM-C0xl-w4G.js} +21 -21
- package/dist/TP7N7UIH-Dc0CLLi8.js +33 -0
- package/dist/{UQQRIHDV-DIXH69U3.js → UQQRIHDV-BBkcyl82.js} +17 -17
- package/dist/UYGDZTLQ-9uAEICxv.js +13 -0
- package/dist/VIIRIBF3-uvnIyICw.js +31 -0
- package/dist/WMYDSCNQ-D4CU76mX.js +61 -0
- package/dist/{WYCIER3C-S-jsj0wy.js → WYCIER3C-CaoIoaX7.js} +4 -4
- package/dist/{YV4JVR4I-BXEaRiAN.js → YV4JVR4I-w1-dnslS.js} +47 -47
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/style16.css +1 -1
- package/dist/assets/style17.css +1 -1
- package/dist/assets/style18.css +1 -1
- package/dist/assets/style19.css +1 -1
- package/dist/assets/style20.css +1 -1
- package/dist/assets/style21.css +1 -1
- package/dist/assets/style22.css +1 -1
- package/dist/assets/style23.css +1 -1
- package/dist/assets/style24.css +1 -1
- package/dist/assets/style25.css +1 -1
- package/dist/assets/style26.css +1 -1
- package/dist/assets/style27.css +1 -0
- package/dist/components/breadcrumbs/index.js +5 -5
- package/dist/components/button/row.js +4 -4
- package/dist/components/controls/base-popover-control/index.js +4 -4
- package/dist/components/controls/card-number-control/index.js +1 -1
- package/dist/components/controls/date-control/index.js +1 -1
- package/dist/components/controls/date-control/picker.js +5 -5
- package/dist/components/controls/index.d.ts +1 -0
- package/dist/components/controls/index.js +12 -10
- package/dist/components/controls/list-control/item.js +34 -67
- package/dist/components/controls/list-control/list.js +1 -1
- package/dist/components/controls/recurrence-control/index.js +19 -18
- package/dist/components/controls/select-control/control.js +26 -37
- package/dist/components/controls/select-control/select.js +62 -1129
- package/dist/components/controls/tag-control/ariakit-experimental.d.ts +7 -0
- package/dist/components/controls/tag-control/ariakit-experimental.js +2308 -0
- package/dist/components/controls/tag-control/index.d.ts +10 -0
- package/dist/components/controls/tag-control/index.js +134 -0
- package/dist/components/controls/tag-control/props.d.ts +11 -0
- package/dist/components/controls/tag-control/props.js +29 -0
- package/dist/components/controls/text-control/index.js +1 -1
- package/dist/components/data-view/data/apply.js +15 -15
- package/dist/components/data-view/data/filter.js +14 -12
- package/dist/components/data-view/index.js +1 -1
- package/dist/components/data-view/layouts/grid/empty.js +1 -1
- package/dist/components/data-view/layouts/grid/group.js +9 -7
- package/dist/components/data-view/layouts/grid/item.js +9 -7
- package/dist/components/data-view/layouts/grid/root.js +1 -1
- package/dist/components/data-view/layouts/kanban/empty.js +1 -1
- package/dist/components/data-view/layouts/kanban/group.js +9 -7
- package/dist/components/data-view/layouts/kanban/item.js +9 -7
- package/dist/components/data-view/layouts/kanban/root.js +1 -1
- package/dist/components/data-view/layouts/list/empty.js +1 -1
- package/dist/components/data-view/layouts/list/group.js +9 -7
- package/dist/components/data-view/layouts/list/item.js +9 -7
- package/dist/components/data-view/layouts/list/root.js +1 -1
- package/dist/components/data-view/layouts/table/empty.js +9 -7
- package/dist/components/data-view/layouts/table/group.js +10 -8
- package/dist/components/data-view/layouts/table/item.js +10 -8
- package/dist/components/data-view/layouts/table/root.js +9 -7
- package/dist/components/data-view/parts/body/index.js +11 -9
- package/dist/components/data-view/parts/controls/index.js +9 -7
- package/dist/components/data-view/parts/controls/search.js +9 -7
- package/dist/components/data-view/parts/filters/editor.js +8 -6
- package/dist/components/data-view/parts/filters/index.js +1 -1
- package/dist/components/data-view/parts/filters/list.js +39 -73
- package/dist/components/data-view/parts/footer/actions.js +9 -7
- package/dist/components/data-view/parts/footer/index.js +9 -7
- package/dist/components/data-view/parts/footer/selection.js +9 -7
- package/dist/components/data-view/parts/view-control/index.js +23 -21
- package/dist/components/data-view/root.js +9 -7
- package/dist/components/data-view/slots/group/checkbox.js +9 -7
- package/dist/components/data-view/slots/group/context.js +1 -1
- package/dist/components/data-view/slots/group/icon.js +1 -1
- package/dist/components/data-view/slots/group/index.js +1 -1
- package/dist/components/data-view/slots/group/label.js +1 -1
- package/dist/components/data-view/slots/index.js +3 -3
- package/dist/components/data-view/slots/item/actions.js +1 -1
- package/dist/components/data-view/slots/item/checkbox.js +9 -7
- package/dist/components/data-view/slots/item/depth.js +3 -3
- package/dist/components/data-view/slots/item/description.js +1 -1
- package/dist/components/data-view/slots/item/index.js +2 -2
- package/dist/components/data-view/slots/item/properties.js +2 -2
- package/dist/components/data-view/slots/item/relations.js +3 -3
- package/dist/components/data-view/slots/item/tags.js +1 -1
- package/dist/components/data-view/slots/item/thumbnail.js +1 -1
- package/dist/components/data-view/slots/item/title.js +1 -1
- package/dist/components/data-view/slots/item/util.js +2 -2
- package/dist/components/data-view/slots/property/field/editable.js +8 -6
- package/dist/components/data-view/slots/property/field/index.js +2 -2
- package/dist/components/data-view/slots/property/field/static.js +1 -1
- package/dist/components/data-view/slots/property/index.js +1 -1
- package/dist/components/data-view/slots/property/label.js +1 -1
- package/dist/components/data-view/slots/root/checkbox.js +8 -6
- package/dist/components/data-view/slots/root/index.js +1 -1
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +29 -80
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/index.js +41 -39
- package/dist/components/menu/index.js +14 -13
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +1 -1
- package/dist/components/menu/items/spacer.js +4 -16
- package/dist/components/menu/items/submenu.js +4 -3
- package/dist/components/menu/items/toggle.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/tabs/list.js +8 -36
- package/dist/components/tabs/panel.js +13 -126
- package/dist/components/tabs/root.js +14 -166
- package/dist/components/tabs/tab.js +5 -79
- package/dist/components/toolbar/divider.js +7 -19
- package/dist/components/toolbar/index.js +10 -24
- package/dist/components/toolbar/root.js +5 -67
- package/dist/components/window/index.js +2 -2
- package/dist/{composite-provider-R5SnRc_G.js → composite-provider-B-M1AaRb.js} +2 -2
- package/dist/disclosure-provider-DW9RmAuE.js +61 -0
- package/dist/{filter-C-ZkRgt_.js → filter-GoxwLwkT.js} +14 -12
- package/dist/{index-DI0cEpya.js → index-C_xrLeQq.js} +20 -18
- package/dist/{index-BW-2OhmK.js → index-DJ2XZnew.js} +7 -5
- package/dist/{index-Bj4Ga50P.js → index-DpV0obFX.js} +6 -4
- package/dist/index.js +87 -85
- package/dist/item-CYpF0or4.js +58 -0
- package/dist/{style-tA0yiKCL.js → match-sorter.esm-MNVE8H_6.js} +1 -1
- package/dist/menu-button-D0chRxS0.js +416 -0
- package/dist/menu-separator-Cy38O3cZ.js +16 -0
- package/dist/{picker-BkmBjgWA.js → picker-BAQPD-c9.js} +4 -4
- package/dist/popover-provider-DZV1nb7Q.js +10 -0
- package/dist/primitives/nav-link/index.d.ts +2 -2
- package/dist/primitives/popover/index.js +2 -2
- package/dist/primitives/popover/root.js +12 -3
- package/dist/primitives/popover/target.js +1 -1
- package/dist/primitives/popover/window.js +3 -3
- package/dist/primitives/tooltip/index.js +10 -173
- package/dist/select-popover-DYAZyLp4.js +542 -0
- package/dist/select-value-CeoMyvpZ.js +15 -0
- package/dist/{sortable.esm-De3H-_AA.js → sortable.esm-BuV7eW2H.js} +4 -4
- package/dist/{style-C7eFpUVU.js → style-CWAa57kN.js} +1 -1
- package/dist/tab-DjNG1rEI.js +79 -0
- package/dist/tab-list-DtMnUjoy.js +33 -0
- package/dist/tab-panel-DdkeLgKE.js +118 -0
- package/dist/tab-provider-BMkHrtIK.js +158 -0
- package/dist/tag-remove-BVa8oSsq.js +533 -0
- package/dist/toolbar-B7_t1rYu.js +68 -0
- package/dist/toolbar-separator-DBoO5XdF.js +16 -0
- package/dist/tooltip-anchor-CxZWazuo.js +173 -0
- package/dist/utils/url.js +6 -6
- package/package.json +1 -1
- package/dist/2NBKRL7C-Cug3TzgR.js +0 -85
- package/dist/2RSXSRCN-Bc3g-z-i.js +0 -61
- package/dist/A3WPL2ZJ-D0Eh1dEB.js +0 -11
- package/dist/EM5CXX6A-DKxCXPnz.js +0 -14
- package/dist/MR26YJYP-yD1_RvCA.js +0 -283
- package/dist/MTZPJQMC-RLG1q394.js +0 -12
- package/dist/P7GR5CS5-Dub2zqTX.js +0 -22
- package/dist/RS7LB2H4-C0kmTjy8.js +0 -15
- package/dist/RZ4GPYOB-c8s_KHUk.js +0 -37
- package/dist/TP7N7UIH-mdk33dnV.js +0 -34
- package/dist/UYGDZTLQ-fOwUiOjI.js +0 -12
- package/dist/VIIRIBF3-DylpToFV.js +0 -18
- package/dist/WMYDSCNQ-D43V-JUe.js +0 -62
- package/dist/item-C5GtZF5t.js +0 -470
- package/dist/root-C7IYlG1s.js +0 -20
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { a as o, P as r } from "./MTZPJQMC-DPwZ6caC.js";
|
|
2
|
+
import { I as t } from "./LMDWO4NN-CIZvvtic.js";
|
|
3
|
+
var e = t(
|
|
4
|
+
[r],
|
|
5
|
+
[o]
|
|
6
|
+
), d = e.useContext, x = e.useScopedContext, s = e.useProviderContext, c = e.ContextProvider, n = e.ScopedContextProvider;
|
|
7
|
+
export {
|
|
8
|
+
n as H,
|
|
9
|
+
c as a,
|
|
10
|
+
d as b,
|
|
11
|
+
x as c,
|
|
12
|
+
s as u
|
|
13
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as T } from "./RS7LB2H4-
|
|
2
|
-
import { u as h } from "./2RSXSRCN-
|
|
3
|
-
import { c as v,
|
|
4
|
-
import { useRef as C, useState as P, useEffect as
|
|
5
|
-
var
|
|
1
|
+
import { u as T } from "./RS7LB2H4-BvDKQaCt.js";
|
|
2
|
+
import { u as h } from "./2RSXSRCN-rMUAytae.js";
|
|
3
|
+
import { c as v, R as j, A as f, m as p, n as g, o as l, f as E, a as D, _ as w, i as M, j as V, E as A, e as H } from "./LMDWO4NN-CIZvvtic.js";
|
|
4
|
+
import { useRef as C, useState as P, useEffect as B } from "react";
|
|
5
|
+
var _ = "button", b = v(
|
|
6
6
|
function(t) {
|
|
7
|
-
const s = C(null), e = j(s,
|
|
7
|
+
const s = C(null), e = j(s, _), [a, o] = P(
|
|
8
8
|
() => !!e && f({ tagName: e, type: t.type })
|
|
9
9
|
);
|
|
10
|
-
return
|
|
10
|
+
return B(() => {
|
|
11
11
|
s.current && o(f(s.current));
|
|
12
12
|
}, []), t = p(l({
|
|
13
13
|
role: !a && e !== "a" ? "button" : void 0
|
|
@@ -15,40 +15,40 @@ var b = "button", N = v(
|
|
|
15
15
|
ref: g(s, t.ref)
|
|
16
16
|
}), t = h(t), t;
|
|
17
17
|
}
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
});
|
|
23
|
-
var I = "button", $ = Symbol("disclosure"), q = v(
|
|
18
|
+
), K = E(function(t) {
|
|
19
|
+
const s = b(t);
|
|
20
|
+
return D(_, s);
|
|
21
|
+
}), I = "button", $ = Symbol("disclosure"), q = v(
|
|
24
22
|
function(t) {
|
|
25
23
|
var s = t, { store: e, toggleOnClick: a = !0 } = s, o = w(s, ["store", "toggleOnClick"]);
|
|
26
|
-
const
|
|
27
|
-
e = e ||
|
|
24
|
+
const N = T();
|
|
25
|
+
e = e || N, M(
|
|
28
26
|
e,
|
|
29
27
|
process.env.NODE_ENV !== "production" && "Disclosure must receive a `store` prop or be wrapped in a DisclosureProvider component."
|
|
30
28
|
);
|
|
31
|
-
const i = C(null), [
|
|
32
|
-
|
|
29
|
+
const i = C(null), [k, x] = P(!1), n = e.useState("disclosureElement"), c = e.useState("open");
|
|
30
|
+
B(() => {
|
|
33
31
|
let r = n === i.current;
|
|
34
32
|
n != null && n.isConnected || (e == null || e.setDisclosureElement(i.current), r = !0), x(c && r);
|
|
35
33
|
}, [n, e, c]);
|
|
36
|
-
const d = o.onClick,
|
|
37
|
-
d == null || d(r), !r.defaultPrevented && (S ||
|
|
34
|
+
const d = o.onClick, R = V(a), [S, y] = A(o, $, !0), O = H((r) => {
|
|
35
|
+
d == null || d(r), !r.defaultPrevented && (S || R(r) && (e == null || e.setDisclosureElement(r.currentTarget), e == null || e.toggle()));
|
|
38
36
|
}), m = e.useState("contentElement");
|
|
39
37
|
return o = p(l(l({
|
|
40
|
-
"aria-expanded":
|
|
38
|
+
"aria-expanded": k,
|
|
41
39
|
"aria-controls": m == null ? void 0 : m.id
|
|
42
40
|
}, y), o), {
|
|
43
41
|
ref: g(i, o.ref),
|
|
44
|
-
onClick:
|
|
45
|
-
}), o =
|
|
42
|
+
onClick: O
|
|
43
|
+
}), o = b(o), o;
|
|
46
44
|
}
|
|
47
|
-
),
|
|
45
|
+
), L = E(function(t) {
|
|
48
46
|
const s = q(t);
|
|
49
47
|
return D(I, s);
|
|
50
48
|
});
|
|
51
49
|
export {
|
|
52
|
-
K as
|
|
50
|
+
K as B,
|
|
51
|
+
L as D,
|
|
52
|
+
b as a,
|
|
53
53
|
q as u
|
|
54
54
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createContext as ze, useRef as q, useContext as Ye, useState as Q, useEffect as C, useCallback as $e, useMemo as Ot, isValidElement as Ft } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { f as K, c as ue, a as ne, m as x, o as y, _ as Me, n as ct, b as N, ai as Qe, C as F, l as ee, $ as be, Z as Xe, a1 as re, M as j, X as Dt, e as Ce, a8 as At, aj as lt, ag as Tt, ak as Rt, ab as Ne, a2 as ft, q as $t, g as dt, A as Ct, j as Ve, G as Mt, x as _t, i as pt } from "./LMDWO4NN-CIZvvtic.js";
|
|
3
|
+
import { c as He, d as et, r as Nt, e as Vt, F as Ht, i as Lt, g as It, j as kt, k as ye, u as Bt, l as qt } from "./PFRGBC2K-B9ko--FF.js";
|
|
4
4
|
import { r as Be } from "./index-Cgx3BqdJ.js";
|
|
5
5
|
import { jsx as E, jsxs as Te, Fragment as Re } from "react/jsx-runtime";
|
|
6
|
-
import { a as te, e as jt } from "./YV4JVR4I-
|
|
7
|
-
import { u as vt, i as Wt } from "./KFH4SEIX-
|
|
8
|
-
import { u as zt } from "./WYCIER3C-
|
|
9
|
-
import { a as Yt } from "./BM6PGYQY-
|
|
10
|
-
import { b as Ke, D as Xt, d as Kt, e as Ut } from "./RS7LB2H4-
|
|
11
|
-
import { b as mt,
|
|
6
|
+
import { a as te, e as jt } from "./YV4JVR4I-w1-dnslS.js";
|
|
7
|
+
import { u as vt, i as Wt } from "./KFH4SEIX-BFT9WmYk.js";
|
|
8
|
+
import { u as zt } from "./WYCIER3C-CaoIoaX7.js";
|
|
9
|
+
import { a as Yt } from "./BM6PGYQY-CkMwDqt0.js";
|
|
10
|
+
import { b as Ke, D as Xt, d as Kt, e as Ut } from "./RS7LB2H4-BvDKQaCt.js";
|
|
11
|
+
import { b as mt, a as Gt } from "./MTZPJQMC-DPwZ6caC.js";
|
|
12
12
|
import { a as Zt, c as Jt, o as Qt, f as er, s as tr, b as rr, d as nr, l as or } from "./floating-ui.dom-2MezWvgs.js";
|
|
13
13
|
var tt = ze(null), sr = "span", gt = ue(
|
|
14
14
|
function(t) {
|
|
@@ -26,12 +26,10 @@ var tt = ze(null), sr = "span", gt = ue(
|
|
|
26
26
|
}, t.style)
|
|
27
27
|
}), t;
|
|
28
28
|
}
|
|
29
|
-
)
|
|
30
|
-
K(function(t) {
|
|
29
|
+
), un = K(function(t) {
|
|
31
30
|
const n = gt(t);
|
|
32
31
|
return ne(sr, n);
|
|
33
|
-
})
|
|
34
|
-
var ir = "span", ur = ue(
|
|
32
|
+
}), ir = "span", ur = ue(
|
|
35
33
|
function(t) {
|
|
36
34
|
return t = x(y({
|
|
37
35
|
"data-focus-trap": "",
|
|
@@ -78,7 +76,7 @@ var ht = ue(function(t) {
|
|
|
78
76
|
"portalRef",
|
|
79
77
|
"portal"
|
|
80
78
|
]);
|
|
81
|
-
const m = q(null), b = ct(m, a.ref), D = Ye(tt), [f, V] = Q(null), [
|
|
79
|
+
const m = q(null), b = ct(m, a.ref), D = Ye(tt), [f, V] = Q(null), [H, L] = Q(
|
|
82
80
|
null
|
|
83
81
|
), I = q(null), M = q(null), _ = q(null), A = q(null);
|
|
84
82
|
return N(() => {
|
|
@@ -100,8 +98,8 @@ var ht = ue(function(t) {
|
|
|
100
98
|
}, [i, s, D, u]), N(() => {
|
|
101
99
|
if (!i || !r || !o) return;
|
|
102
100
|
const d = F(o).createElement("span");
|
|
103
|
-
return d.style.position = "fixed", o.insertAdjacentElement("afterend", d),
|
|
104
|
-
d.remove(),
|
|
101
|
+
return d.style.position = "fixed", o.insertAdjacentElement("afterend", d), L(d), () => {
|
|
102
|
+
d.remove(), L(null);
|
|
105
103
|
};
|
|
106
104
|
}, [i, r, o]), C(() => {
|
|
107
105
|
if (!f || !r) return;
|
|
@@ -143,7 +141,7 @@ var ht = ue(function(t) {
|
|
|
143
141
|
"data-focus-trap": a.id,
|
|
144
142
|
className: "__focus-trap-inner-before",
|
|
145
143
|
onFocus: (g) => {
|
|
146
|
-
be(g, f) ? J(
|
|
144
|
+
be(g, f) ? J(He()) : J(I.current);
|
|
147
145
|
}
|
|
148
146
|
}
|
|
149
147
|
),
|
|
@@ -185,11 +183,11 @@ var ht = ue(function(t) {
|
|
|
185
183
|
if (be(g, f))
|
|
186
184
|
J(_.current);
|
|
187
185
|
else {
|
|
188
|
-
const p =
|
|
186
|
+
const p = He();
|
|
189
187
|
if (p === M.current) {
|
|
190
188
|
requestAnimationFrame(() => {
|
|
191
189
|
var U;
|
|
192
|
-
return (U =
|
|
190
|
+
return (U = He()) == null ? void 0 : U.focus();
|
|
193
191
|
});
|
|
194
192
|
return;
|
|
195
193
|
}
|
|
@@ -199,19 +197,19 @@ var ht = ue(function(t) {
|
|
|
199
197
|
}
|
|
200
198
|
)
|
|
201
199
|
] });
|
|
202
|
-
return
|
|
200
|
+
return H && r && (d = Be.createPortal(
|
|
203
201
|
d,
|
|
204
|
-
|
|
202
|
+
H
|
|
205
203
|
)), /* @__PURE__ */ Te(Re, { children: [
|
|
206
204
|
d,
|
|
207
205
|
l
|
|
208
206
|
] });
|
|
209
207
|
},
|
|
210
|
-
[f, D, i, a.id, r,
|
|
208
|
+
[f, D, i, a.id, r, H]
|
|
211
209
|
), a = x(y({}, a), {
|
|
212
210
|
ref: b
|
|
213
211
|
}), a;
|
|
214
|
-
}),
|
|
212
|
+
}), an = K(function(t) {
|
|
215
213
|
const n = ht(t);
|
|
216
214
|
return ne(ar, n);
|
|
217
215
|
}), rt = ze(0);
|
|
@@ -226,7 +224,7 @@ var pr = "div", bt = ue(function(t) {
|
|
|
226
224
|
var n = t, { autoFocusOnShow: r = !0 } = n, o = Me(n, ["autoFocusOnShow"]);
|
|
227
225
|
return o = ee(
|
|
228
226
|
o,
|
|
229
|
-
(s) => /* @__PURE__ */ E(
|
|
227
|
+
(s) => /* @__PURE__ */ E(Ht.Provider, { value: r, children: s }),
|
|
230
228
|
[r]
|
|
231
229
|
), o;
|
|
232
230
|
});
|
|
@@ -262,10 +260,10 @@ function mr(e) {
|
|
|
262
260
|
}, !0);
|
|
263
261
|
}, [e]), t;
|
|
264
262
|
}
|
|
265
|
-
var
|
|
263
|
+
var Le = /* @__PURE__ */ new WeakMap();
|
|
266
264
|
function Ee(e, t, n) {
|
|
267
|
-
|
|
268
|
-
const r =
|
|
265
|
+
Le.has(e) || Le.set(e, /* @__PURE__ */ new Map());
|
|
266
|
+
const r = Le.get(e), o = r.get(t);
|
|
269
267
|
if (!o)
|
|
270
268
|
return r.set(t, n()), () => {
|
|
271
269
|
var i;
|
|
@@ -360,7 +358,7 @@ function yt(e, ...t) {
|
|
|
360
358
|
function pe(e = "", t = !1) {
|
|
361
359
|
return `__ariakit-dialog-${t ? "ancestor" : "outside"}${e ? `-${e}` : ""}`;
|
|
362
360
|
}
|
|
363
|
-
function
|
|
361
|
+
function wr(e, t = "") {
|
|
364
362
|
return re(
|
|
365
363
|
ie(e, pe(), !0),
|
|
366
364
|
ie(e, pe(t), !0)
|
|
@@ -388,7 +386,7 @@ function nt(e, t) {
|
|
|
388
386
|
e,
|
|
389
387
|
t,
|
|
390
388
|
(s) => {
|
|
391
|
-
yt(s, ...r) || n.unshift(
|
|
389
|
+
yt(s, ...r) || n.unshift(wr(s, e));
|
|
392
390
|
},
|
|
393
391
|
(s, u) => {
|
|
394
392
|
u.hasAttribute("data-dialog") && u.id !== e || n.unshift(Et(s, e));
|
|
@@ -398,7 +396,7 @@ function nt(e, t) {
|
|
|
398
396
|
s();
|
|
399
397
|
};
|
|
400
398
|
}
|
|
401
|
-
function
|
|
399
|
+
function Pr(e) {
|
|
402
400
|
return e.tagName === "HTML" ? !0 : j(F(e).body, e);
|
|
403
401
|
}
|
|
404
402
|
function xr(e, t) {
|
|
@@ -435,7 +433,7 @@ function Ie({
|
|
|
435
433
|
return a.addEventListener("focusin", m, !0), () => a.removeEventListener("focusin", m, !0);
|
|
436
434
|
}, [e, u, o]), C(() => u ? Xe(t, (m) => {
|
|
437
435
|
const { contentElement: b, disclosureElement: D } = e.getState(), f = m.target;
|
|
438
|
-
!b || !f || !
|
|
436
|
+
!b || !f || !Pr(f) || j(b, f) || xr(D, f) || f.hasAttribute("data-focus-trap") || Sr(m, b) || i.current && !Ze(f, b.id) || Lt(f) || s(m);
|
|
439
437
|
}, r) : void 0, [u, r]);
|
|
440
438
|
}
|
|
441
439
|
function ke(e, t) {
|
|
@@ -525,8 +523,8 @@ function Tr(e, t, n) {
|
|
|
525
523
|
overflow: "hidden",
|
|
526
524
|
[D]: `${m}px`
|
|
527
525
|
}), V = () => {
|
|
528
|
-
var
|
|
529
|
-
const { scrollX: M, scrollY: _, visualViewport: A } = s, l = (
|
|
526
|
+
var L, I;
|
|
527
|
+
const { scrollX: M, scrollY: _, visualViewport: A } = s, l = (L = A == null ? void 0 : A.offsetLeft) != null ? L : 0, d = (I = A == null ? void 0 : A.offsetTop) != null ? I : 0, g = qe(i, {
|
|
530
528
|
position: "fixed",
|
|
531
529
|
overflow: "hidden",
|
|
532
530
|
top: `${-(_ - Math.floor(d))}px`,
|
|
@@ -537,10 +535,10 @@ function Tr(e, t, n) {
|
|
|
537
535
|
return () => {
|
|
538
536
|
g(), process.env.NODE_ENV !== "test" && s.scrollTo({ left: M, top: _, behavior: "instant" });
|
|
539
537
|
};
|
|
540
|
-
},
|
|
538
|
+
}, H = Tt() && !Rt();
|
|
541
539
|
return re(
|
|
542
540
|
b(),
|
|
543
|
-
|
|
541
|
+
H ? V() : f()
|
|
544
542
|
);
|
|
545
543
|
}, [r, e]);
|
|
546
544
|
}
|
|
@@ -549,15 +547,15 @@ function Rr(e, ...t) {
|
|
|
549
547
|
const n = e.getAttribute("data-focus-trap");
|
|
550
548
|
return n == null ? !1 : t.length ? n === "" ? !1 : t.some((r) => n === r) : !0;
|
|
551
549
|
}
|
|
552
|
-
function
|
|
550
|
+
function wt() {
|
|
553
551
|
return "inert" in HTMLElement.prototype;
|
|
554
552
|
}
|
|
555
553
|
function $r(e) {
|
|
556
554
|
return Ue(e, "aria-hidden", "true");
|
|
557
555
|
}
|
|
558
|
-
function
|
|
556
|
+
function Pt(e, t) {
|
|
559
557
|
if (!("style" in e)) return Ne;
|
|
560
|
-
if (
|
|
558
|
+
if (wt())
|
|
561
559
|
return ie(e, "inert", !0);
|
|
562
560
|
const r = It(e, !0).map((o) => {
|
|
563
561
|
if (t != null && t.some((u) => u && j(u, o))) return Ne;
|
|
@@ -582,7 +580,7 @@ function Cr(e, t) {
|
|
|
582
580
|
e,
|
|
583
581
|
t,
|
|
584
582
|
(s) => {
|
|
585
|
-
yt(s, ...r) || Rr(s, ...r) || n.unshift(
|
|
583
|
+
yt(s, ...r) || Rr(s, ...r) || n.unshift(Pt(s, t));
|
|
586
584
|
},
|
|
587
585
|
(s) => {
|
|
588
586
|
s.hasAttribute("role") && (t.some((u) => u && j(u, s)) || n.unshift(Ue(s, "role", "none")));
|
|
@@ -677,7 +675,7 @@ function Nr({
|
|
|
677
675
|
return /* @__PURE__ */ E(We, x(y({}, i), { render: /* @__PURE__ */ E(a, {}) }));
|
|
678
676
|
}
|
|
679
677
|
var Vr = "div", st = _t();
|
|
680
|
-
function
|
|
678
|
+
function Hr(e) {
|
|
681
679
|
const t = dt();
|
|
682
680
|
return !t || e && j(e, t) ? !1 : !!ye(t);
|
|
683
681
|
}
|
|
@@ -699,8 +697,8 @@ var xt = ue(function(t) {
|
|
|
699
697
|
hideOnInteractOutside: D = !0,
|
|
700
698
|
getPersistentElements: f,
|
|
701
699
|
preventBodyScroll: V = !!i,
|
|
702
|
-
autoFocusOnShow:
|
|
703
|
-
autoFocusOnHide:
|
|
700
|
+
autoFocusOnShow: H = !0,
|
|
701
|
+
autoFocusOnHide: L = !0,
|
|
704
702
|
initialFocus: I,
|
|
705
703
|
finalFocus: M,
|
|
706
704
|
unmountOnHide: _,
|
|
@@ -731,30 +729,30 @@ var xt = ue(function(t) {
|
|
|
731
729
|
if (c) return;
|
|
732
730
|
const v = g.current;
|
|
733
731
|
if (!v) return;
|
|
734
|
-
const
|
|
735
|
-
s && v.addEventListener("close", s, { once: !0 }), v.dispatchEvent(
|
|
732
|
+
const P = new Event("close", { bubbles: !1, cancelable: !0 });
|
|
733
|
+
s && v.addEventListener("close", s, { once: !0 }), v.dispatchEvent(P), P.defaultPrevented && p.setOpen(!0);
|
|
736
734
|
}
|
|
737
735
|
}), { portalRef: U, domReady: S } = ft(a, l.portalRef), O = l.preserveTabOrder, G = te(
|
|
738
736
|
p,
|
|
739
737
|
(c) => O && !i && c.mounted
|
|
740
|
-
), T = $t(l.id),
|
|
741
|
-
Tr(k, T, V && !
|
|
742
|
-
const { wrapElement: ae, nestedDialogs:
|
|
738
|
+
), T = $t(l.id), w = te(p, "open"), R = te(p, "mounted"), k = te(p, "contentElement"), we = Wt(R, l.hidden, l.alwaysVisible);
|
|
739
|
+
Tr(k, T, V && !we), Or(p, D, S);
|
|
740
|
+
const { wrapElement: ae, nestedDialogs: Pe } = Fr(p);
|
|
743
741
|
l = ee(l, ae, [ae]), N(() => {
|
|
744
|
-
if (!
|
|
742
|
+
if (!w) return;
|
|
745
743
|
const c = g.current, v = dt(c, !0);
|
|
746
744
|
v && v.tagName !== "BODY" && (c && j(c, v) || p.setDisclosureElement(v));
|
|
747
|
-
}, [p,
|
|
745
|
+
}, [p, w]), st && C(() => {
|
|
748
746
|
if (!R) return;
|
|
749
747
|
const { disclosureElement: c } = p.getState();
|
|
750
748
|
if (!c || !Ct(c)) return;
|
|
751
749
|
const v = () => {
|
|
752
|
-
let
|
|
750
|
+
let P = !1;
|
|
753
751
|
const h = () => {
|
|
754
|
-
|
|
752
|
+
P = !0;
|
|
755
753
|
}, $ = { capture: !0, once: !0 };
|
|
756
754
|
c.addEventListener("focusin", h, $), Mt(c, "mouseup", () => {
|
|
757
|
-
c.removeEventListener("focusin", h, !0), !
|
|
755
|
+
c.removeEventListener("focusin", h, !0), !P && qt(c);
|
|
758
756
|
});
|
|
759
757
|
};
|
|
760
758
|
return c.addEventListener("mousedown", v), () => {
|
|
@@ -764,13 +762,13 @@ var xt = ue(function(t) {
|
|
|
764
762
|
if (!R || !S) return;
|
|
765
763
|
const c = g.current;
|
|
766
764
|
if (!c) return;
|
|
767
|
-
const v = lt(c),
|
|
765
|
+
const v = lt(c), P = v.visualViewport || v, h = () => {
|
|
768
766
|
var $, Y;
|
|
769
767
|
const he = (Y = ($ = v.visualViewport) == null ? void 0 : $.height) != null ? Y : v.innerHeight;
|
|
770
768
|
c.style.setProperty("--dialog-viewport-height", `${he}px`);
|
|
771
769
|
};
|
|
772
|
-
return h(),
|
|
773
|
-
|
|
770
|
+
return h(), P.addEventListener("resize", h), () => {
|
|
771
|
+
P.removeEventListener("resize", h);
|
|
774
772
|
};
|
|
775
773
|
}, [R, S]), C(() => {
|
|
776
774
|
if (!i || !R || !S) return;
|
|
@@ -778,12 +776,12 @@ var xt = ue(function(t) {
|
|
|
778
776
|
if (!(!c || c.querySelector("[data-dialog-dismiss]")))
|
|
779
777
|
return vr(c, p.hide);
|
|
780
778
|
}, [p, i, R, S]), N(() => {
|
|
781
|
-
if (!
|
|
779
|
+
if (!wt() || w || !R || !S) return;
|
|
782
780
|
const c = g.current;
|
|
783
781
|
if (c)
|
|
784
|
-
return
|
|
785
|
-
}, [
|
|
786
|
-
const Z =
|
|
782
|
+
return Pt(c);
|
|
783
|
+
}, [w, R, S]);
|
|
784
|
+
const Z = w && S;
|
|
787
785
|
N(() => {
|
|
788
786
|
if (!T || !Z) return;
|
|
789
787
|
const c = g.current;
|
|
@@ -792,10 +790,10 @@ var xt = ue(function(t) {
|
|
|
792
790
|
const ve = Ce(f);
|
|
793
791
|
N(() => {
|
|
794
792
|
if (!T || !Z) return;
|
|
795
|
-
const { disclosureElement: c } = p.getState(), v = g.current,
|
|
793
|
+
const { disclosureElement: c } = p.getState(), v = g.current, P = ve() || [], h = [
|
|
796
794
|
v,
|
|
797
|
-
...
|
|
798
|
-
...
|
|
795
|
+
...P,
|
|
796
|
+
...Pe.map(($) => $.getState().contentElement)
|
|
799
797
|
];
|
|
800
798
|
return i ? re(
|
|
801
799
|
nt(T, h),
|
|
@@ -806,13 +804,13 @@ var xt = ue(function(t) {
|
|
|
806
804
|
p,
|
|
807
805
|
Z,
|
|
808
806
|
ve,
|
|
809
|
-
|
|
807
|
+
Pe,
|
|
810
808
|
i,
|
|
811
809
|
A
|
|
812
810
|
]);
|
|
813
|
-
const me = !!
|
|
811
|
+
const me = !!H, ge = Ve(H), [xe, B] = Q(!1);
|
|
814
812
|
C(() => {
|
|
815
|
-
if (!
|
|
813
|
+
if (!w || !me || !S || !(k != null && k.isConnected)) return;
|
|
816
814
|
const c = it(I, !0) || // If no initial focus is specified, we try to focus the first element
|
|
817
815
|
// with the autofocus attribute. If it's an Ariakit component, the
|
|
818
816
|
// Focusable component will consume the autoFocus prop and add the
|
|
@@ -829,7 +827,7 @@ var xt = ue(function(t) {
|
|
|
829
827
|
c.focus(), st && v && c.scrollIntoView({ block: "nearest", inline: "nearest" });
|
|
830
828
|
}));
|
|
831
829
|
}, [
|
|
832
|
-
|
|
830
|
+
w,
|
|
833
831
|
me,
|
|
834
832
|
S,
|
|
835
833
|
k,
|
|
@@ -838,16 +836,16 @@ var xt = ue(function(t) {
|
|
|
838
836
|
G,
|
|
839
837
|
ge
|
|
840
838
|
]);
|
|
841
|
-
const W = !!
|
|
839
|
+
const W = !!L, _e = Ve(L), [ce, X] = Q(!1);
|
|
842
840
|
C(() => {
|
|
843
|
-
if (
|
|
841
|
+
if (w)
|
|
844
842
|
return X(!0), () => X(!1);
|
|
845
|
-
}, [
|
|
843
|
+
}, [w]);
|
|
846
844
|
const oe = $e(
|
|
847
845
|
(c, v = !0) => {
|
|
848
|
-
const { disclosureElement:
|
|
849
|
-
if (
|
|
850
|
-
let h = it(M) ||
|
|
846
|
+
const { disclosureElement: P } = p.getState();
|
|
847
|
+
if (Hr(c)) return;
|
|
848
|
+
let h = it(M) || P;
|
|
851
849
|
if (h != null && h.id) {
|
|
852
850
|
const Y = F(h), he = `[aria-activedescendant="${h.id}"]`, De = Y.querySelector(he);
|
|
853
851
|
De && (h = De);
|
|
@@ -869,10 +867,10 @@ var xt = ue(function(t) {
|
|
|
869
867
|
[p, M, _e]
|
|
870
868
|
), z = q(!1);
|
|
871
869
|
N(() => {
|
|
872
|
-
if (
|
|
870
|
+
if (w || !ce || !W) return;
|
|
873
871
|
const c = g.current;
|
|
874
872
|
z.current = !0, oe(c);
|
|
875
|
-
}, [
|
|
873
|
+
}, [w, ce, S, W, oe]), C(() => {
|
|
876
874
|
if (!ce || !W) return;
|
|
877
875
|
const c = g.current;
|
|
878
876
|
return () => {
|
|
@@ -886,12 +884,12 @@ var xt = ue(function(t) {
|
|
|
886
884
|
const Se = Ve(b);
|
|
887
885
|
C(() => !S || !R ? void 0 : Xe("keydown", (v) => {
|
|
888
886
|
if (v.key !== "Escape" || v.defaultPrevented) return;
|
|
889
|
-
const
|
|
890
|
-
if (!
|
|
887
|
+
const P = g.current;
|
|
888
|
+
if (!P || Ze(P)) return;
|
|
891
889
|
const h = v.target;
|
|
892
890
|
if (!h) return;
|
|
893
891
|
const { disclosureElement: $ } = p.getState();
|
|
894
|
-
!!(h.tagName === "BODY" || j(
|
|
892
|
+
!!(h.tagName === "BODY" || j(P, h) || !$ || j($, h)) && Se(v) && p.hide();
|
|
895
893
|
}, !0), [p, S, R, Se]), l = ee(
|
|
896
894
|
l,
|
|
897
895
|
(c) => /* @__PURE__ */ E(dr, { level: i ? 1 : void 0, children: c }),
|
|
@@ -941,14 +939,13 @@ function St(e, t = Ke) {
|
|
|
941
939
|
) ? /* @__PURE__ */ E(e, y({}, r)) : null;
|
|
942
940
|
});
|
|
943
941
|
}
|
|
944
|
-
St(
|
|
942
|
+
var cn = St(
|
|
945
943
|
K(function(t) {
|
|
946
944
|
const n = xt(t);
|
|
947
945
|
return ne(Vr, n);
|
|
948
946
|
}),
|
|
949
947
|
Ke
|
|
950
|
-
);
|
|
951
|
-
var Hr = "div";
|
|
948
|
+
), Lr = "div";
|
|
952
949
|
function ut(e = 0, t = 0, n = 0, r = 0) {
|
|
953
950
|
if (typeof DOMRect == "function")
|
|
954
951
|
return new DOMRect(e, t, n, r);
|
|
@@ -1055,8 +1052,8 @@ var Xr = ue(
|
|
|
1055
1052
|
shift: D = 0,
|
|
1056
1053
|
slide: f = !0,
|
|
1057
1054
|
overlap: V = !1,
|
|
1058
|
-
sameWidth:
|
|
1059
|
-
fitViewport:
|
|
1055
|
+
sameWidth: H = !1,
|
|
1056
|
+
fitViewport: L = !1,
|
|
1060
1057
|
gutter: I,
|
|
1061
1058
|
arrowPadding: M = 4,
|
|
1062
1059
|
overflowPadding: _ = 8,
|
|
@@ -1087,7 +1084,7 @@ var Xr = ue(
|
|
|
1087
1084
|
r,
|
|
1088
1085
|
process.env.NODE_ENV !== "production" && "Popover must receive a `store` prop or be wrapped in a PopoverProvider component."
|
|
1089
1086
|
);
|
|
1090
|
-
const p = r.useState("arrowElement"), U = r.useState("anchorElement"), S = r.useState("disclosureElement"), O = r.useState("popoverElement"), G = r.useState("contentElement"), T = r.useState("placement"),
|
|
1087
|
+
const p = r.useState("arrowElement"), U = r.useState("anchorElement"), S = r.useState("disclosureElement"), O = r.useState("popoverElement"), G = r.useState("contentElement"), T = r.useState("placement"), w = r.useState("mounted"), R = r.useState("rendered"), k = q(null), [we, ae] = Q(!1), { portalRef: Pe, domReady: Z } = ft(s, d.portalRef), ve = Ce(A), me = Ce(l), ge = !!l;
|
|
1091
1088
|
N(() => {
|
|
1092
1089
|
if (!(O != null && O.isConnected)) return;
|
|
1093
1090
|
O.style.setProperty(
|
|
@@ -1095,7 +1092,7 @@ var Xr = ue(
|
|
|
1095
1092
|
`${_}px`
|
|
1096
1093
|
);
|
|
1097
1094
|
const B = kr(U, ve), W = async () => {
|
|
1098
|
-
if (!
|
|
1095
|
+
if (!w) return;
|
|
1099
1096
|
p || (k.current = k.current || document.createElement("div"));
|
|
1100
1097
|
const X = p || k.current, oe = [
|
|
1101
1098
|
qr(X, { gutter: I, shift: D }),
|
|
@@ -1103,8 +1100,8 @@ var Xr = ue(
|
|
|
1103
1100
|
Wr({ slide: f, overlap: V, overflowPadding: _ }),
|
|
1104
1101
|
Yr(X, { arrowPadding: M }),
|
|
1105
1102
|
zr({
|
|
1106
|
-
sameWidth:
|
|
1107
|
-
fitViewport:
|
|
1103
|
+
sameWidth: H,
|
|
1104
|
+
fitViewport: L,
|
|
1108
1105
|
overflowPadding: _
|
|
1109
1106
|
})
|
|
1110
1107
|
], z = await Jt(B, O, {
|
|
@@ -1151,15 +1148,15 @@ var Xr = ue(
|
|
|
1151
1148
|
U,
|
|
1152
1149
|
O,
|
|
1153
1150
|
T,
|
|
1154
|
-
|
|
1151
|
+
w,
|
|
1155
1152
|
Z,
|
|
1156
1153
|
m,
|
|
1157
1154
|
b,
|
|
1158
1155
|
D,
|
|
1159
1156
|
f,
|
|
1160
1157
|
V,
|
|
1161
|
-
L,
|
|
1162
1158
|
H,
|
|
1159
|
+
L,
|
|
1163
1160
|
I,
|
|
1164
1161
|
M,
|
|
1165
1162
|
_,
|
|
@@ -1167,7 +1164,7 @@ var Xr = ue(
|
|
|
1167
1164
|
ge,
|
|
1168
1165
|
me
|
|
1169
1166
|
]), N(() => {
|
|
1170
|
-
if (!
|
|
1167
|
+
if (!w || !Z || !(O != null && O.isConnected) || !(G != null && G.isConnected)) return;
|
|
1171
1168
|
const B = () => {
|
|
1172
1169
|
O.style.zIndex = getComputedStyle(G).zIndex;
|
|
1173
1170
|
};
|
|
@@ -1176,7 +1173,7 @@ var Xr = ue(
|
|
|
1176
1173
|
W = requestAnimationFrame(B);
|
|
1177
1174
|
});
|
|
1178
1175
|
return () => cancelAnimationFrame(W);
|
|
1179
|
-
}, [
|
|
1176
|
+
}, [w, Z, O, G]);
|
|
1180
1177
|
const xe = m ? "fixed" : "absolute";
|
|
1181
1178
|
return d = ee(
|
|
1182
1179
|
d,
|
|
@@ -1204,7 +1201,7 @@ var Xr = ue(
|
|
|
1204
1201
|
// we can wait for the popover to be positioned before other components
|
|
1205
1202
|
// move focus into it. For example, this attribute is observed by the
|
|
1206
1203
|
// Combobox component with the autoSelect behavior.
|
|
1207
|
-
"data-placing": !
|
|
1204
|
+
"data-placing": !we || void 0
|
|
1208
1205
|
}, d), {
|
|
1209
1206
|
style: y({
|
|
1210
1207
|
position: "relative"
|
|
@@ -1215,22 +1212,29 @@ var Xr = ue(
|
|
|
1215
1212
|
portal: s,
|
|
1216
1213
|
preserveTabOrder: u,
|
|
1217
1214
|
preserveTabOrderAnchor: S || U,
|
|
1218
|
-
autoFocusOnShow:
|
|
1215
|
+
autoFocusOnShow: we && i
|
|
1219
1216
|
}, d), {
|
|
1220
|
-
portalRef:
|
|
1217
|
+
portalRef: Pe
|
|
1221
1218
|
})), d;
|
|
1222
1219
|
}
|
|
1223
|
-
),
|
|
1220
|
+
), ln = St(
|
|
1224
1221
|
K(function(t) {
|
|
1225
1222
|
const n = Xr(t);
|
|
1226
|
-
return ne(
|
|
1223
|
+
return ne(Lr, n);
|
|
1227
1224
|
}),
|
|
1228
1225
|
mt
|
|
1229
1226
|
);
|
|
1230
1227
|
export {
|
|
1231
|
-
|
|
1228
|
+
cn as D,
|
|
1229
|
+
Ae as F,
|
|
1230
|
+
rt as H,
|
|
1231
|
+
ln as P,
|
|
1232
1232
|
We as R,
|
|
1233
|
-
un as
|
|
1233
|
+
un as V,
|
|
1234
|
+
an as a,
|
|
1235
|
+
gt as b,
|
|
1234
1236
|
St as c,
|
|
1237
|
+
dr as d,
|
|
1238
|
+
tt as e,
|
|
1235
1239
|
Xr as u
|
|
1236
1240
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { u as m } from "./A3WPL2ZJ-CpUtG5Sk.js";
|
|
2
|
+
import { u } from "./6VRAQV3D-DK_p41oq.js";
|
|
3
|
+
import { s as n, f as p, c as b, a as c, _ as f, o as l } from "./LMDWO4NN-CIZvvtic.js";
|
|
4
|
+
var T = "button", i = b(
|
|
5
|
+
function(e) {
|
|
6
|
+
var o = e, { store: r } = o, t = f(o, ["store"]);
|
|
7
|
+
const s = m();
|
|
8
|
+
return r = r || s, t = u(l({ store: r }, t)), t;
|
|
9
|
+
}
|
|
10
|
+
), x = n(
|
|
11
|
+
p(function(e) {
|
|
12
|
+
const o = i(e);
|
|
13
|
+
return c(T, o);
|
|
14
|
+
})
|
|
15
|
+
);
|
|
16
|
+
export {
|
|
17
|
+
x as T,
|
|
18
|
+
i as u
|
|
19
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as d, b as v } from "./P7GR5CS5-
|
|
2
|
-
import { f as l, c as C, a as f, _ as w, i as R, q as _, l as b, o as E, r as x } from "./LMDWO4NN-
|
|
1
|
+
import { a as d, b as v } from "./P7GR5CS5-5PtDURPc.js";
|
|
2
|
+
import { f as l, c as C, a as f, _ as w, i as R, q as _, l as b, o as E, r as x } from "./LMDWO4NN-CIZvvtic.js";
|
|
3
3
|
import { useMemo as S } from "react";
|
|
4
4
|
import { jsx as V } from "react/jsx-runtime";
|
|
5
5
|
var z = "div", N = C(
|
|
@@ -35,5 +35,6 @@ var z = "div", N = C(
|
|
|
35
35
|
return f(z, o);
|
|
36
36
|
});
|
|
37
37
|
export {
|
|
38
|
-
g as C
|
|
38
|
+
g as C,
|
|
39
|
+
N as u
|
|
39
40
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as A, D as z } from "./RS7LB2H4-
|
|
2
|
-
import { a as T } from "./YV4JVR4I-
|
|
3
|
-
import { f as R, _ as V, o as E, c as B, a as G, i as J, q as K, b as p, l as Q, m as x, n as X, r as Y } from "./LMDWO4NN-
|
|
1
|
+
import { u as A, D as z } from "./RS7LB2H4-BvDKQaCt.js";
|
|
2
|
+
import { a as T } from "./YV4JVR4I-w1-dnslS.js";
|
|
3
|
+
import { f as R, _ as V, o as E, c as B, a as G, i as J, q as K, b as p, l as Q, m as x, n as X, r as Y } from "./LMDWO4NN-CIZvvtic.js";
|
|
4
4
|
import { useRef as Z, useState as $, useMemo as tt } from "react";
|
|
5
5
|
import { r as et } from "./index-Cgx3BqdJ.js";
|
|
6
6
|
import { jsx as g } from "react/jsx-runtime";
|