@wrdagency/blockout 1.0.24 → 1.0.26
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-Ds7w7Ay7.js → 2NBKRL7C-Cunv252F.js} +10 -10
- package/dist/{2RSXSRCN-BBEFwUiL.js → 2RSXSRCN-dNqvVCu5.js} +6 -6
- package/dist/{4CMBR7SL-_MPrTek0.js → 4CMBR7SL-Cf8t3EeF.js} +24 -24
- package/dist/{5JTVDSTH-Ci6OX9MK.js → 5JTVDSTH-zDMMKAyC.js} +4 -4
- package/dist/{5VQZOHHZ-DpLj3Rqp.js → 5VQZOHHZ-BbettT93.js} +1 -1
- package/dist/{6VRAQV3D-Cnyfi8tq.js → 6VRAQV3D-pLV6BqmA.js} +6 -6
- package/dist/{A3WPL2ZJ-1yF0wSQn.js → A3WPL2ZJ-DEsxy0M-.js} +2 -2
- package/dist/{BM6PGYQY-B6HfecNi.js → BM6PGYQY-g6WySwtg.js} +2 -2
- package/dist/{DG5U6ZEL-ETCdoLWP.js → DG5U6ZEL-9kCi_mGg.js} +3 -3
- package/dist/{EM5CXX6A-CW08TdIG.js → EM5CXX6A-BAj-o9Ka.js} +2 -2
- package/dist/{F5MUBM3I-CSfmQDAz.js → F5MUBM3I-AbDoeFd8.js} +17 -17
- package/dist/{G7GW6PWC-DtkamyQv.js → G7GW6PWC-DeYlSr7f.js} +56 -56
- package/dist/{IWEFDH56-UEiMfbRm.js → IWEFDH56-DLJvQd6v.js} +3 -3
- package/dist/{J2LQO3EC-TlCRyAh7.js → J2LQO3EC-Cevd6Bvq.js} +2 -2
- package/dist/{KFH4SEIX-D9qCWzyY.js → KFH4SEIX-JLk95eQA.js} +3 -3
- package/dist/{LMDWO4NN-BxsnVArz.js → LMDWO4NN-BfJb6my4.js} +29 -29
- package/dist/MAXQOH4L-DB7jDisS.js +564 -0
- package/dist/{MR26YJYP-BSJHEQsl.js → MR26YJYP-CDaPeerB.js} +33 -33
- package/dist/{MTZPJQMC-CNw1MVtu.js → MTZPJQMC-CraWj4on.js} +4 -4
- package/dist/{O2PQ2652-BxRvOru-.js → O2PQ2652-BCwdW7qA.js} +11 -11
- package/dist/{P7GR5CS5-CZKSJ9w8.js → P7GR5CS5-DbUZzAnv.js} +1 -1
- package/dist/{PFRGBC2K-6AvuBT5M.js → PFRGBC2K-DmHoUTiZ.js} +60 -60
- package/dist/{RS7LB2H4-DJkydTnE.js → RS7LB2H4-D1_VRecC.js} +6 -6
- package/dist/{RZ4GPYOB-DPUx6A2B.js → RZ4GPYOB-rG3RP8Xi.js} +5 -5
- package/dist/{S43UC3DV-D5IqpYPC.js → S43UC3DV-bOoyE-xW.js} +6 -6
- package/dist/{T7VMP3TM-DX7RU0Yc.js → T7VMP3TM-DZitNAMz.js} +17 -17
- package/dist/TIW3GMFC-DPiX149D.js +81 -0
- package/dist/{TP7N7UIH-CFp7Hh_A.js → TP7N7UIH-D_nR5wDv.js} +2 -2
- package/dist/{UQQRIHDV-D5fevAL1.js → UQQRIHDV-ULrGYPSq.js} +8 -8
- package/dist/{UYGDZTLQ-CEz9ajCa.js → UYGDZTLQ-CTQQ8oFQ.js} +2 -2
- package/dist/{VIIRIBF3-Co_vwgwZ.js → VIIRIBF3-C4pOScX8.js} +5 -5
- package/dist/{WMYDSCNQ-BIYNTVEx.js → WMYDSCNQ-qLZnyPON.js} +13 -13
- package/dist/{WYCIER3C-C_60hKUt.js → WYCIER3C-BJwD0YDE.js} +2 -2
- package/dist/YORGHBM4-6CReFG7i.js +54 -0
- package/dist/{YV4JVR4I-BLQoWp1E.js → YV4JVR4I-D8_aZ62q.js} +48 -48
- package/dist/assets/button.css +1 -1
- 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/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -0
- package/dist/assets/index22.css +1 -0
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/style10.css +1 -1
- package/dist/assets/style20.css +1 -1
- package/dist/assets/style25.css +1 -1
- package/dist/assets/style4.css +1 -1
- package/dist/assets/style6.css +1 -1
- package/dist/assets/style8.css +1 -1
- package/dist/assets/style9.css +1 -1
- package/dist/combobox-group-BCdU5rML.js +27 -0
- package/dist/combobox-popover-D5bLZY4d.js +95 -0
- package/dist/components/breadcrumbs/index.js +5 -5
- package/dist/components/button/button.d.ts +5 -2
- package/dist/components/button/button.js +10 -10
- package/dist/components/button/icon.js +1 -1
- package/dist/components/button/row.js +4 -4
- package/dist/components/command-palette/index.d.ts +28 -0
- package/dist/components/command-palette/index.js +177 -0
- package/dist/components/command-palette/types.d.ts +10 -0
- package/dist/components/command-palette/types.js +1 -0
- package/dist/components/controls/base-popover-control/index.js +4 -4
- package/dist/components/controls/checkbox-control/index.js +1 -1
- package/dist/components/controls/choice-control/choice.js +1 -1
- package/dist/components/controls/choice-control/index.js +1 -1
- package/dist/components/controls/date-control/index.js +2 -2
- package/dist/components/controls/date-control/picker.js +5 -5
- package/dist/components/controls/list-control/item.js +1 -1
- package/dist/components/controls/recurrence-control/index.js +1 -1
- package/dist/components/controls/select-control/control.js +1 -1
- package/dist/components/controls/select-control/select.js +12 -11
- package/dist/components/controls/tag-control/ariakit-experimental.js +1081 -1162
- package/dist/components/controls/tag-control/index.js +9 -8
- package/dist/components/controls/tag-control/props.js +1 -1
- package/dist/components/controls/toggle-control/index.js +1 -1
- package/dist/components/controls/toggle-group-control/index.js +1 -1
- package/dist/components/data-form/status.js +1 -1
- package/dist/components/data-form/submit.js +1 -1
- package/dist/components/data-view/data/filter.js +2 -2
- package/dist/components/data-view/index.d.ts +1 -1
- package/dist/components/data-view/index.js +1 -1
- package/dist/components/data-view/layouts/grid/group.js +2 -2
- package/dist/components/data-view/layouts/grid/item.js +2 -2
- package/dist/components/data-view/layouts/kanban/group.js +2 -2
- package/dist/components/data-view/layouts/kanban/item.js +2 -2
- package/dist/components/data-view/layouts/kanban/root.js +1 -1
- package/dist/components/data-view/layouts/list/group.js +2 -2
- package/dist/components/data-view/layouts/list/item.js +2 -2
- package/dist/components/data-view/layouts/table/empty.js +2 -2
- package/dist/components/data-view/layouts/table/group.js +3 -3
- package/dist/components/data-view/layouts/table/item.js +3 -3
- package/dist/components/data-view/layouts/table/root.js +2 -2
- package/dist/components/data-view/layouts/tile/group.js +2 -2
- package/dist/components/data-view/layouts/tile/item.js +2 -2
- package/dist/components/data-view/parts/body/empty.js +1 -1
- package/dist/components/data-view/parts/body/index.js +4 -4
- package/dist/components/data-view/parts/controls/index.js +2 -2
- package/dist/components/data-view/parts/controls/search.js +2 -2
- package/dist/components/data-view/parts/filters/chip.js +1 -1
- package/dist/components/data-view/parts/filters/editor.js +1 -1
- package/dist/components/data-view/parts/filters/index.js +1 -1
- package/dist/components/data-view/parts/footer/actions.js +2 -2
- package/dist/components/data-view/parts/footer/index.js +2 -2
- package/dist/components/data-view/parts/footer/selection.js +2 -2
- package/dist/components/data-view/parts/view-control/index.js +2 -2
- package/dist/components/data-view/root.js +2 -2
- package/dist/components/data-view/slots/group/checkbox.js +3 -3
- package/dist/components/data-view/slots/group/context.js +1 -1
- package/dist/components/data-view/slots/group/header.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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/dist/components/data-view/slots/property/field/index.js +1 -1
- 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 +2 -2
- package/dist/components/data-view/slots/root/index.js +1 -1
- package/dist/components/dialog/index.d.ts +14 -0
- package/dist/components/dialog/index.js +72 -0
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +7 -6
- package/dist/components/filesystem/index.js +1 -1
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +67 -63
- package/dist/components/menu/index.js +2 -2
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +1 -1
- package/dist/components/menu/items/spacer.js +1 -1
- package/dist/components/menu/items/submenu.js +3 -3
- package/dist/components/menu/items/toggle.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/shell/context.d.ts +9 -0
- package/dist/components/shell/context.js +25 -0
- package/dist/components/shell/index.js +9 -5
- package/dist/components/shell/navigation.js +49 -4
- package/dist/components/shell/pane.d.ts +0 -2
- package/dist/components/shell/pane.js +10 -22
- package/dist/components/shell/root.js +18 -17
- package/dist/components/shell/sidebar-item.d.ts +8 -0
- package/dist/components/shell/sidebar-item.js +46 -0
- package/dist/components/shell/sidebar-separator.d.ts +6 -0
- package/dist/components/shell/sidebar-separator.js +16 -0
- package/dist/components/shell/sidebar.js +3 -3
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/list.js +1 -1
- package/dist/components/tabs/panel.js +1 -1
- package/dist/components/tabs/root.js +1 -1
- package/dist/components/tabs/tab.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/toolbar/divider.js +1 -1
- package/dist/components/toolbar/index.js +2 -2
- package/dist/components/toolbar/root.js +1 -1
- package/dist/components/window/index.js +2 -2
- package/dist/{composite-provider-K8zU8z0x.js → composite-provider-DFOFHro7.js} +2 -2
- package/dist/disclosure-provider-DIT2ijtk.js +10 -0
- package/dist/{filter-DHK0UoZG.js → filter-DzrtcAfG.js} +1 -1
- package/dist/{index-BnbjJBS4.js → index-B5z_GwnD.js} +3 -3
- package/dist/{index-BLCPauyN.js → index-Bp_FFk15.js} +2 -2
- package/dist/{index-CLl-PPjx.js → index-C8OctMj0.js} +1 -1
- package/dist/index.js +118 -112
- package/dist/{item-BZJ3JrHw.js → item-CGLYiEST.js} +2 -2
- package/dist/{menu-button-DBjUzoaw.js → menu-button-C-h3k7Gh.js} +26 -26
- package/dist/{menu-separator-H9l1SpSV.js → menu-separator-CuuhJPnR.js} +3 -3
- package/dist/{picker-aBRTIOUU.js → picker-BUCg1BqW.js} +4 -4
- package/dist/{popover-provider-xofWxUiu.js → popover-provider-BoZ9PI_r.js} +4 -4
- package/dist/primitives/index.d.ts +1 -1
- package/dist/primitives/index.js +14 -12
- package/dist/primitives/link/index.js +1 -1
- package/dist/primitives/popover/index.js +1 -1
- package/dist/primitives/popover/root.js +1 -1
- package/dist/primitives/popover/target.js +1 -1
- package/dist/primitives/popover/window.js +3 -3
- package/dist/primitives/scroll-area/index.js +1 -1
- package/dist/primitives/tooltip/index.d.ts +2 -0
- package/dist/primitives/tooltip/index.js +38 -21
- package/dist/primitives/typography/index.d.ts +1 -0
- package/dist/primitives/typography/index.js +9 -7
- package/dist/primitives/typography/keyboard.d.ts +8 -0
- package/dist/primitives/typography/keyboard.js +33 -0
- package/dist/{select-popover-BuB2Ioa9.js → select-popover-DmN0T8PP.js} +46 -46
- package/dist/{select-value-C1gT40_5.js → select-value-DnWKxDD-.js} +2 -2
- package/dist/{tab-BbgJF9GJ.js → tab-BXGTM7Se.js} +4 -4
- package/dist/{tab-list-BvZvev5m.js → tab-list-BPSxHllS.js} +3 -3
- package/dist/{tab-panel-QxtN3GO3.js → tab-panel-fbUcLE4f.js} +7 -7
- package/dist/{tab-provider-T_g-bJwY.js → tab-provider-x586a8l7.js} +17 -17
- package/dist/{tag-remove-DVXj7CeY.js → tag-remove-BdHvB_5c.js} +37 -37
- package/dist/{toolbar-Bl6JBFO2.js → toolbar-hQ58P-Nk.js} +5 -5
- package/dist/{toolbar-separator-CN-A8iMa.js → toolbar-separator-CN00-jyc.js} +3 -3
- package/dist/{tooltip-arrow-DSk_atex.js → tooltip-arrow-BRJ4m2ZL.js} +36 -36
- package/package.json +1 -1
- package/dist/combobox-popover-DFcT6u90.js +0 -650
- package/dist/disclosure-provider-CX3wr_3W.js +0 -61
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { d as pe } from "./S43UC3DV-
|
|
1
|
+
import { d as pe } from "./S43UC3DV-bOoyE-xW.js";
|
|
2
2
|
import { createContext as ve, useContext as W, useState as ee, useEffect as te, useCallback as fe } from "react";
|
|
3
|
-
import { f as L, c as N, a as B, _ as M, m as P, o as C, r as ge, a7 as he, s as Ce, i as
|
|
3
|
+
import { f as L, c as N, a as B, _ as M, m as P, o as C, r as ge, a7 as he, s as Ce, i as H, q as ne, j as R, e as I, ah as oe, l as re, ai as be, y as G, aa as Te, n as ke, H as ye, U as J, T as F, V as q, a5 as Pe } from "./LMDWO4NN-BfJb6my4.js";
|
|
4
4
|
import { jsx as x, jsxs as ae, Fragment as xe } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
6
|
-
import { u as ue } from "./6VRAQV3D-
|
|
7
|
-
import { a as we, c as Ee, s as Ie,
|
|
5
|
+
import { d as A, T as se, e as ie, f as Ve, g as Se, h as De } from "./MAXQOH4L-DB7jDisS.js";
|
|
6
|
+
import { u as ue } from "./6VRAQV3D-pLV6BqmA.js";
|
|
7
|
+
import { a as we, c as Ee, s as Ie, d as _e, b as Oe, f as Q } from "./YV4JVR4I-D8_aZ62q.js";
|
|
8
8
|
import { t as Ke } from "./7PRQYBBV-91wrWGjk.js";
|
|
9
|
-
import { u as Re } from "./5JTVDSTH-
|
|
10
|
-
import { b as Le } from "./PFRGBC2K-
|
|
11
|
-
import { c as Ne, b as Be } from "./4CMBR7SL-
|
|
12
|
-
import { R as Me } from "./G7GW6PWC-
|
|
9
|
+
import { u as Re } from "./5JTVDSTH-zDMMKAyC.js";
|
|
10
|
+
import { b as Le } from "./PFRGBC2K-DmHoUTiZ.js";
|
|
11
|
+
import { c as Ne, b as Be } from "./4CMBR7SL-Cf8t3EeF.js";
|
|
12
|
+
import { R as Me } from "./G7GW6PWC-DeYlSr7f.js";
|
|
13
13
|
var je = ve(!1), Ue = "span", $e = /* @__PURE__ */ x(
|
|
14
14
|
"svg",
|
|
15
15
|
{
|
|
@@ -48,21 +48,21 @@ var le = N(
|
|
|
48
48
|
), ht = L(function(r) {
|
|
49
49
|
const n = le(r);
|
|
50
50
|
return B(Ue, n);
|
|
51
|
-
}), We = "span",
|
|
51
|
+
}), We = "span", He = N(function(r) {
|
|
52
52
|
var n = r, { store: e, checked: a } = n, s = M(n, ["store", "checked"]);
|
|
53
53
|
const c = W(pe);
|
|
54
54
|
return a = a ?? c, s = le(P(C({}, s), { checked: a })), s;
|
|
55
55
|
}), Ct = L(function(r) {
|
|
56
|
-
const n =
|
|
56
|
+
const n = He(r);
|
|
57
57
|
return B(We, n);
|
|
58
58
|
});
|
|
59
|
-
function
|
|
59
|
+
function Z() {
|
|
60
60
|
const [o, r] = ee(!1);
|
|
61
61
|
return te(() => {
|
|
62
62
|
r(he());
|
|
63
63
|
}, []), o;
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var qe = "div", Ae = N(function(r) {
|
|
66
66
|
var n = r, {
|
|
67
67
|
store: e,
|
|
68
68
|
value: a,
|
|
@@ -74,12 +74,12 @@ var Ae = "div", Ge = N(function(r) {
|
|
|
74
74
|
"getItem",
|
|
75
75
|
"removeOnKeyPress"
|
|
76
76
|
]);
|
|
77
|
-
const p =
|
|
78
|
-
e = e || p,
|
|
77
|
+
const p = A();
|
|
78
|
+
e = e || p, H(
|
|
79
79
|
e,
|
|
80
80
|
process.env.NODE_ENV !== "production" && "Tag must be wrapped in a TagList component."
|
|
81
81
|
);
|
|
82
|
-
const u = ne(i.id), l =
|
|
82
|
+
const u = ne(i.id), l = Z(), v = fe(
|
|
83
83
|
(t) => {
|
|
84
84
|
const d = P(C({}, t), { value: a });
|
|
85
85
|
return s ? s(d) : d;
|
|
@@ -114,8 +114,8 @@ var Ae = "div", Ge = N(function(r) {
|
|
|
114
114
|
})), i;
|
|
115
115
|
}), bt = Ce(
|
|
116
116
|
L(function(r) {
|
|
117
|
-
const n =
|
|
118
|
-
return B(
|
|
117
|
+
const n = Ae(r);
|
|
118
|
+
return B(qe, n);
|
|
119
119
|
})
|
|
120
120
|
);
|
|
121
121
|
function ce(o) {
|
|
@@ -124,8 +124,8 @@ function ce(o) {
|
|
|
124
124
|
return ce(async () => (await (r == null ? void 0 : r()), o));
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
|
-
var U =
|
|
128
|
-
function
|
|
127
|
+
var U = Ze();
|
|
128
|
+
function Ze({
|
|
129
129
|
limit: o = 100
|
|
130
130
|
} = {}) {
|
|
131
131
|
const r = [];
|
|
@@ -162,9 +162,9 @@ function He({
|
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
var
|
|
165
|
+
var ze = "input", Ge = [`
|
|
166
166
|
`, ";", ",", /\s/];
|
|
167
|
-
function X(o, r =
|
|
167
|
+
function X(o, r = Ge) {
|
|
168
168
|
const n = o === void 0 ? r : o;
|
|
169
169
|
return n ? Ke(n) : [];
|
|
170
170
|
}
|
|
@@ -197,8 +197,8 @@ var Je = N(
|
|
|
197
197
|
"setValueOnChange",
|
|
198
198
|
"removeOnBackspace"
|
|
199
199
|
]);
|
|
200
|
-
const v =
|
|
201
|
-
e = e || v,
|
|
200
|
+
const v = A();
|
|
201
|
+
e = e || v, H(
|
|
202
202
|
e,
|
|
203
203
|
process.env.NODE_ENV !== "production" && "TagInput must receive a `store` prop or be wrapped in a TagProvider component."
|
|
204
204
|
);
|
|
@@ -212,7 +212,7 @@ var Je = N(
|
|
|
212
212
|
}
|
|
213
213
|
}), D = l.onChange, t = R(p), d = R(i), h = I((m) => {
|
|
214
214
|
if (D == null || D(m), m.defaultPrevented || !e) return;
|
|
215
|
-
const { value: k } = e.getState(), w = be(m), y = m.currentTarget, { start: S, end: E } =
|
|
215
|
+
const { value: k } = e.getState(), w = be(m), y = m.currentTarget, { start: S, end: E } = G(y), { value: $ } = y;
|
|
216
216
|
if (t(m) && U.execute(() => {
|
|
217
217
|
if (e.setValue($), queueMicrotask(() => {
|
|
218
218
|
Te(y, S, E);
|
|
@@ -221,7 +221,7 @@ var Je = N(
|
|
|
221
221
|
}, w), S === E && S === $.length) {
|
|
222
222
|
const de = X(s);
|
|
223
223
|
let K = Y($, de);
|
|
224
|
-
const
|
|
224
|
+
const z = K.pop() || "";
|
|
225
225
|
K = K.map((j) => j.trim()).filter((j) => j !== "");
|
|
226
226
|
const me = Object.assign(m, { values: K });
|
|
227
227
|
if (K.length && d(me)) {
|
|
@@ -229,14 +229,14 @@ var Je = N(
|
|
|
229
229
|
for (const j of K)
|
|
230
230
|
e.addValue(j);
|
|
231
231
|
U.execute(() => {
|
|
232
|
-
if (e.setValue(
|
|
232
|
+
if (e.setValue(z), z !== k)
|
|
233
233
|
return () => e.setValue(k);
|
|
234
234
|
}, w);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
}), V = l.onKeyDown, _ = R(u), O = I((m) => {
|
|
238
238
|
if (V == null || V(m), !m.defaultPrevented && m.key === "Backspace" && _(m)) {
|
|
239
|
-
const { start: k, end: w } =
|
|
239
|
+
const { start: k, end: w } = G(m.currentTarget);
|
|
240
240
|
if (!(k === w && k === 0)) return;
|
|
241
241
|
e.setValues((S) => S.length ? S.slice(0, -1) : S);
|
|
242
242
|
}
|
|
@@ -252,12 +252,12 @@ var Je = N(
|
|
|
252
252
|
}
|
|
253
253
|
), Tt = L(function(r) {
|
|
254
254
|
const n = Je(r);
|
|
255
|
-
return B(
|
|
255
|
+
return B(ze, n);
|
|
256
256
|
}), Qe = "div", Xe = N(
|
|
257
257
|
function(r) {
|
|
258
258
|
var n = r, { store: e } = n, a = M(n, ["store"]);
|
|
259
259
|
const s = Ve();
|
|
260
|
-
e = e || s,
|
|
260
|
+
e = e || s, H(
|
|
261
261
|
e,
|
|
262
262
|
process.env.NODE_ENV !== "production" && "TagList must receive a `store` prop or be wrapped in a TagProvider component."
|
|
263
263
|
);
|
|
@@ -293,7 +293,7 @@ var Je = N(
|
|
|
293
293
|
const d = t;
|
|
294
294
|
b[d] = a[d], delete a[d];
|
|
295
295
|
}
|
|
296
|
-
const T =
|
|
296
|
+
const T = Z(), D = /* @__PURE__ */ ae(xe, { children: [
|
|
297
297
|
/* @__PURE__ */ x(
|
|
298
298
|
"div",
|
|
299
299
|
P(C({
|
|
@@ -320,7 +320,7 @@ var Je = N(
|
|
|
320
320
|
});
|
|
321
321
|
function Ye(o = {}) {
|
|
322
322
|
var r;
|
|
323
|
-
const n = (r = o.store) == null ? void 0 : r.getState(), e = Ne(o), a = J(
|
|
323
|
+
const n = (r = o.store) == null ? void 0 : r.getState(), e = Ne(o), a = J(q({}, e.getState()), {
|
|
324
324
|
inputElement: F(n == null ? void 0 : n.inputElement, null),
|
|
325
325
|
labelElement: F(n == null ? void 0 : n.labelElement, null),
|
|
326
326
|
value: F(o.value, n == null ? void 0 : n.value, o.defaultValue, ""),
|
|
@@ -351,7 +351,7 @@ function Ye(o = {}) {
|
|
|
351
351
|
};
|
|
352
352
|
});
|
|
353
353
|
};
|
|
354
|
-
return J(
|
|
354
|
+
return J(q(q({}, e), s), {
|
|
355
355
|
setInputElement: (i) => s.setState("inputElement", i),
|
|
356
356
|
setLabelElement: (i) => s.setState("labelElement", i),
|
|
357
357
|
setValue: (i) => s.setState("value", i),
|
|
@@ -385,8 +385,8 @@ var nt = "button", ot = N(
|
|
|
385
385
|
"value",
|
|
386
386
|
"removeOnClick"
|
|
387
387
|
]);
|
|
388
|
-
const i =
|
|
389
|
-
e = e || i,
|
|
388
|
+
const i = A();
|
|
389
|
+
e = e || i, H(
|
|
390
390
|
e,
|
|
391
391
|
process.env.NODE_ENV !== "production" && "TagRemove must receive a `store` prop or be wrapped in a TagProvider component."
|
|
392
392
|
);
|
|
@@ -414,7 +414,7 @@ var nt = "button", ot = N(
|
|
|
414
414
|
/* @__PURE__ */ x("path", { d: "M10.052 9L16 15M15.948 9L10 15" })
|
|
415
415
|
]
|
|
416
416
|
}
|
|
417
|
-
), t =
|
|
417
|
+
), t = Z() && v;
|
|
418
418
|
return c = P(C({
|
|
419
419
|
id: p,
|
|
420
420
|
children: D,
|
|
@@ -439,7 +439,7 @@ export {
|
|
|
439
439
|
Tt as d,
|
|
440
440
|
je as e,
|
|
441
441
|
ht as f,
|
|
442
|
-
|
|
442
|
+
Ae as g,
|
|
443
443
|
Je as h,
|
|
444
444
|
Xe as i,
|
|
445
445
|
ot as j,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as d, b as v } from "./4CMBR7SL-
|
|
2
|
-
import { b as T } from "./YV4JVR4I-
|
|
3
|
-
import {
|
|
4
|
-
import { a as V, T as g } from "./A3WPL2ZJ-
|
|
5
|
-
import { u as j } from "./5JTVDSTH-
|
|
1
|
+
import { c as d, b as v } from "./4CMBR7SL-Cf8t3EeF.js";
|
|
2
|
+
import { b as T } from "./YV4JVR4I-D8_aZ62q.js";
|
|
3
|
+
import { U as _, T as i, V as S, f as P, c as x, a as C, _ as L, l as h, o as u } from "./LMDWO4NN-BfJb6my4.js";
|
|
4
|
+
import { a as V, T as g } from "./A3WPL2ZJ-DEsxy0M-.js";
|
|
5
|
+
import { u as j } from "./5JTVDSTH-zDMMKAyC.js";
|
|
6
6
|
import { jsx as E } from "react/jsx-runtime";
|
|
7
7
|
function F(t = {}) {
|
|
8
8
|
var r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as p } from "./A3WPL2ZJ-
|
|
2
|
-
import { u as n } from "./TP7N7UIH-
|
|
3
|
-
import { f as u, c as m, a as c, _ as f, o as l } from "./LMDWO4NN-
|
|
1
|
+
import { u as p } from "./A3WPL2ZJ-DEsxy0M-.js";
|
|
2
|
+
import { u as n } from "./TP7N7UIH-D_nR5wDv.js";
|
|
3
|
+
import { f as u, c as m, a as c, _ as f, o as l } from "./LMDWO4NN-BfJb6my4.js";
|
|
4
4
|
var b = "hr", T = m(
|
|
5
5
|
function(o) {
|
|
6
6
|
var r = o, { store: a } = r, e = f(r, ["store"]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as q, u as
|
|
2
|
-
import { c as K } from "./G7GW6PWC-
|
|
3
|
-
import {
|
|
1
|
+
import { c as q, u as J, a as Z, b as G } from "./MR26YJYP-CDaPeerB.js";
|
|
2
|
+
import { c as K } from "./G7GW6PWC-DeYlSr7f.js";
|
|
3
|
+
import { U as R, T as w, V as y, J as Q, f as x, c as E, a as O, _, i as k, l as X, o as b, m as N, C as V, L as Y, a2 as ee, e as H, q as te, n as oe, r as re, b as ne, ad as ae, s as se } from "./LMDWO4NN-BfJb6my4.js";
|
|
4
4
|
import { jsx as h, jsxs as ie } from "react/jsx-runtime";
|
|
5
|
-
import { c as
|
|
6
|
-
import { useRef as le, useEffect as
|
|
7
|
-
import { H as de, a as pe } from "./EM5CXX6A-
|
|
8
|
-
import { u as ve } from "./MTZPJQMC-
|
|
5
|
+
import { c as L, b as ue, f as I, d as z, a as U } from "./YV4JVR4I-D8_aZ62q.js";
|
|
6
|
+
import { useRef as le, useEffect as D, useMemo as M, useState as ce } from "react";
|
|
7
|
+
import { H as de, a as pe } from "./EM5CXX6A-BAj-o9Ka.js";
|
|
8
|
+
import { u as ve } from "./MTZPJQMC-CraWj4on.js";
|
|
9
9
|
function fe(o = {}) {
|
|
10
10
|
var r;
|
|
11
11
|
process.env.NODE_ENV !== "production" && o.type === "label" && console.warn(
|
|
@@ -23,20 +23,20 @@ function fe(o = {}) {
|
|
|
23
23
|
})), c = R(y({}, e.getState()), {
|
|
24
24
|
type: w(o.type, t == null ? void 0 : t.type, "description"),
|
|
25
25
|
skipTimeout: w(o.skipTimeout, t == null ? void 0 : t.skipTimeout, 300)
|
|
26
|
-
}), n =
|
|
26
|
+
}), n = L(c, e, o.store);
|
|
27
27
|
return y(y({}, e), n);
|
|
28
28
|
}
|
|
29
29
|
function me(o, r, t) {
|
|
30
|
-
return I(o, t, "type"), I(o, t, "skipTimeout"),
|
|
30
|
+
return I(o, t, "type"), I(o, t, "skipTimeout"), J(o, r, t);
|
|
31
31
|
}
|
|
32
32
|
function he(o = {}) {
|
|
33
33
|
const [r, t] = ue(fe, o);
|
|
34
34
|
return me(r, t, o);
|
|
35
35
|
}
|
|
36
|
-
var
|
|
36
|
+
var C = Q(
|
|
37
37
|
[pe],
|
|
38
38
|
[de]
|
|
39
|
-
), Se =
|
|
39
|
+
), Se = C.useContext, W = C.useProviderContext, be = C.ContextProvider, Te = C.ScopedContextProvider, Pe = "div", ge = E(
|
|
40
40
|
function(r) {
|
|
41
41
|
var t = r, {
|
|
42
42
|
store: e,
|
|
@@ -65,7 +65,7 @@ var A = Q(
|
|
|
65
65
|
const P = e.useState(
|
|
66
66
|
(u) => u.type === "description" ? "tooltip" : "none"
|
|
67
67
|
);
|
|
68
|
-
return s = b({ role: P }, s), s =
|
|
68
|
+
return s = b({ role: P }, s), s = Z(N(b({}, s), {
|
|
69
69
|
store: e,
|
|
70
70
|
portal: c,
|
|
71
71
|
gutter: n,
|
|
@@ -82,18 +82,18 @@ var A = Q(
|
|
|
82
82
|
}
|
|
83
83
|
})), s;
|
|
84
84
|
}
|
|
85
|
-
),
|
|
85
|
+
), ze = K(
|
|
86
86
|
x(function(r) {
|
|
87
87
|
const t = ge(r);
|
|
88
88
|
return O(Pe, t);
|
|
89
89
|
}),
|
|
90
90
|
W
|
|
91
91
|
);
|
|
92
|
-
function
|
|
92
|
+
function De(o = {}) {
|
|
93
93
|
const r = he(o);
|
|
94
94
|
return /* @__PURE__ */ h(be, { value: r, children: o.children });
|
|
95
95
|
}
|
|
96
|
-
var we = "div", S =
|
|
96
|
+
var we = "div", S = L({
|
|
97
97
|
activeStore: null
|
|
98
98
|
});
|
|
99
99
|
function B(o) {
|
|
@@ -111,16 +111,16 @@ var ye = E(
|
|
|
111
111
|
process.env.NODE_ENV !== "production" && "TooltipAnchor must receive a `store` prop or be wrapped in a TooltipProvider component."
|
|
112
112
|
);
|
|
113
113
|
const v = le(!1);
|
|
114
|
-
|
|
114
|
+
D(() => z(e, ["mounted"], (a) => {
|
|
115
115
|
a.mounted || (v.current = !1);
|
|
116
|
-
}), [e]),
|
|
116
|
+
}), [e]), D(() => {
|
|
117
117
|
if (e)
|
|
118
118
|
return ee(
|
|
119
119
|
// Immediately remove the current store from the global store when
|
|
120
120
|
// the component unmounts. This is useful, for example, to avoid
|
|
121
121
|
// showing tooltips immediately on serial tests.
|
|
122
122
|
B(e),
|
|
123
|
-
|
|
123
|
+
z(e, ["mounted", "skipTimeout"], (a) => {
|
|
124
124
|
if (!e) return;
|
|
125
125
|
if (a.mounted) {
|
|
126
126
|
const { activeStore: T } = S.getState();
|
|
@@ -142,17 +142,17 @@ var ye = E(
|
|
|
142
142
|
if (u == null || u(a), a.defaultPrevented) return;
|
|
143
143
|
const { activeStore: l } = S.getState();
|
|
144
144
|
v.current = !1, l === e && S.setState("activeStore", null);
|
|
145
|
-
}),
|
|
145
|
+
}), A = e.useState("type"), g = e.useState((a) => {
|
|
146
146
|
var l;
|
|
147
147
|
return (l = a.contentElement) == null ? void 0 : l.id;
|
|
148
148
|
});
|
|
149
149
|
return n = N(b({
|
|
150
|
-
"aria-labelledby":
|
|
150
|
+
"aria-labelledby": A === "label" ? g : void 0
|
|
151
151
|
}, n), {
|
|
152
152
|
onMouseEnter: s,
|
|
153
153
|
onFocusVisible: P,
|
|
154
154
|
onBlur: f
|
|
155
|
-
}), n =
|
|
155
|
+
}), n = G(b({
|
|
156
156
|
store: e,
|
|
157
157
|
showOnHover(a) {
|
|
158
158
|
if (!v.current || V(c, a)) return !1;
|
|
@@ -161,7 +161,7 @@ var ye = E(
|
|
|
161
161
|
}
|
|
162
162
|
}, n)), n;
|
|
163
163
|
}
|
|
164
|
-
),
|
|
164
|
+
), Me = x(function(r) {
|
|
165
165
|
const t = ye(r);
|
|
166
166
|
return O(we, t);
|
|
167
167
|
}), F = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z", xe = "div", $ = 30, m = $ / 2, Ee = {
|
|
@@ -171,7 +171,7 @@ var ye = E(
|
|
|
171
171
|
left: `rotate(90 ${m} ${m})`
|
|
172
172
|
};
|
|
173
173
|
function Oe(o) {
|
|
174
|
-
const [r, t] = ce(), e =
|
|
174
|
+
const [r, t] = ce(), e = U(o, "contentElement");
|
|
175
175
|
return ne(() => {
|
|
176
176
|
if (!e) return;
|
|
177
177
|
const n = ae(e).getComputedStyle(e);
|
|
@@ -182,7 +182,7 @@ function _e(o) {
|
|
|
182
182
|
var r;
|
|
183
183
|
return o ? (r = o.getPropertyValue("box-shadow").match(/0px 0px 0px ([^0]+px)/)) == null ? void 0 : r[1] : void 0;
|
|
184
184
|
}
|
|
185
|
-
var
|
|
185
|
+
var j = E(
|
|
186
186
|
function(r) {
|
|
187
187
|
var t = r, {
|
|
188
188
|
store: e,
|
|
@@ -198,17 +198,17 @@ var L = E(
|
|
|
198
198
|
e,
|
|
199
199
|
process.env.NODE_ENV !== "production" && "PopoverArrow must be wrapped in a Popover component."
|
|
200
200
|
);
|
|
201
|
-
const p =
|
|
201
|
+
const p = U(
|
|
202
202
|
e,
|
|
203
203
|
(l) => l.currentPlacement.split("-")[0]
|
|
204
|
-
), s = te(), i = Oe(e), P = (i == null ? void 0 : i.getPropertyValue("background-color")) || "none", u = (i == null ? void 0 : i.getPropertyValue(`border-${p}-color`)) || "none",
|
|
204
|
+
), s = te(), i = Oe(e), P = (i == null ? void 0 : i.getPropertyValue("background-color")) || "none", u = (i == null ? void 0 : i.getPropertyValue(`border-${p}-color`)) || "none", A = M(() => {
|
|
205
205
|
if (n != null) return n;
|
|
206
206
|
if (!i) return 0;
|
|
207
207
|
const l = _e(i);
|
|
208
208
|
if (l) return Number.parseInt(l);
|
|
209
209
|
const T = i.getPropertyValue(`border-${p}-width`);
|
|
210
210
|
return T ? Number.parseInt(T) : 0;
|
|
211
|
-
}, [n, i, p]) * 2 * ($ / c), g = Ee[p], a =
|
|
211
|
+
}, [n, i, p]) * 2 * ($ / c), g = Ee[p], a = M(
|
|
212
212
|
() => /* @__PURE__ */ h("svg", { display: "block", viewBox: "0 0 30 30", children: /* @__PURE__ */ ie("g", { transform: g, children: [
|
|
213
213
|
/* @__PURE__ */ h("path", { fill: "none", d: F, mask: `url(#${s})` }),
|
|
214
214
|
/* @__PURE__ */ h("path", { stroke: "none", d: F }),
|
|
@@ -239,35 +239,35 @@ var L = E(
|
|
|
239
239
|
pointerEvents: "none",
|
|
240
240
|
fill: `var(--ak-layer, ${P})`,
|
|
241
241
|
stroke: `var(--ak-layer-border, ${u})`,
|
|
242
|
-
strokeWidth:
|
|
242
|
+
strokeWidth: A
|
|
243
243
|
}, d.style)
|
|
244
244
|
}), re(d);
|
|
245
245
|
}
|
|
246
246
|
), Be = se(
|
|
247
247
|
x(function(r) {
|
|
248
|
-
const t =
|
|
248
|
+
const t = j(r);
|
|
249
249
|
return O(xe, t);
|
|
250
250
|
})
|
|
251
|
-
), ke = "div",
|
|
251
|
+
), ke = "div", Ce = E(
|
|
252
252
|
function(r) {
|
|
253
253
|
var t = r, { store: e, size: c = 16 } = t, n = _(t, ["store", "size"]);
|
|
254
254
|
const d = Se();
|
|
255
255
|
return e = e || d, k(
|
|
256
256
|
e,
|
|
257
257
|
process.env.NODE_ENV !== "production" && "TooltipArrow must be wrapped in a Tooltip component."
|
|
258
|
-
), n =
|
|
258
|
+
), n = j(b({ store: e, size: c }, n)), n;
|
|
259
259
|
}
|
|
260
260
|
), Fe = x(function(r) {
|
|
261
|
-
const t =
|
|
261
|
+
const t = Ce(r);
|
|
262
262
|
return O(ke, t);
|
|
263
263
|
});
|
|
264
264
|
export {
|
|
265
265
|
Be as P,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
De as T,
|
|
267
|
+
Me as a,
|
|
268
|
+
ze as b,
|
|
269
269
|
Fe as c,
|
|
270
270
|
Se as d,
|
|
271
271
|
he as e,
|
|
272
|
-
|
|
272
|
+
j as u
|
|
273
273
|
};
|