@wrdagency/blockout 1.0.26 → 1.0.29
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-Cunv252F.js → 2NBKRL7C-DBbnghCe.js} +16 -16
- package/dist/{2RSXSRCN-dNqvVCu5.js → 2RSXSRCN-BxQ_v-Je.js} +15 -15
- package/dist/{4CMBR7SL-Cf8t3EeF.js → 4CMBR7SL-DezfZPUS.js} +25 -25
- package/dist/{5JTVDSTH-zDMMKAyC.js → 5JTVDSTH-CZ7mfyUK.js} +4 -4
- package/dist/{5VQZOHHZ-BbettT93.js → 5VQZOHHZ-DLX-ulBK.js} +1 -1
- package/dist/{6VRAQV3D-pLV6BqmA.js → 6VRAQV3D-BYmT0QTl.js} +6 -6
- package/dist/{A3WPL2ZJ-DEsxy0M-.js → A3WPL2ZJ-24tGIJIQ.js} +2 -2
- package/dist/{BM6PGYQY-g6WySwtg.js → BM6PGYQY-DCbkDr5N.js} +4 -4
- package/dist/{DG5U6ZEL-9kCi_mGg.js → DG5U6ZEL-DB0iwihy.js} +3 -3
- package/dist/{EM5CXX6A-BAj-o9Ka.js → EM5CXX6A-B4ZS4Hs_.js} +2 -2
- package/dist/{F5MUBM3I-AbDoeFd8.js → F5MUBM3I-75qY3y0N.js} +17 -17
- package/dist/{G7GW6PWC-DeYlSr7f.js → G7GW6PWC-Dk4hVbAk.js} +32 -32
- package/dist/{IWEFDH56-DLJvQd6v.js → IWEFDH56-BACkQ6dc.js} +3 -3
- package/dist/{J2LQO3EC-Cevd6Bvq.js → J2LQO3EC-BXJIaM2U.js} +2 -2
- package/dist/JMHAJKUZ-D5KCN1Aj.js +114 -0
- package/dist/{KFH4SEIX-JLk95eQA.js → KFH4SEIX-DaQeP5D_.js} +13 -13
- package/dist/{LMDWO4NN-BfJb6my4.js → LMDWO4NN-CpSMaD5G.js} +26 -26
- package/dist/MAXQOH4L-BYWBWXpb.js +459 -0
- package/dist/{MR26YJYP-CDaPeerB.js → MR26YJYP-CTh6rCwA.js} +66 -66
- package/dist/{MTZPJQMC-CraWj4on.js → MTZPJQMC-D2i4-LA_.js} +4 -4
- package/dist/{O2PQ2652-BCwdW7qA.js → O2PQ2652-DIoegIkE.js} +3 -3
- package/dist/{P7GR5CS5-DbUZzAnv.js → P7GR5CS5-3RsPGPTy.js} +1 -1
- package/dist/{PFRGBC2K-DmHoUTiZ.js → PFRGBC2K-BdRJd-gU.js} +36 -36
- package/dist/{RS7LB2H4-D1_VRecC.js → RS7LB2H4-COOfOq9w.js} +1 -1
- package/dist/{RZ4GPYOB-rG3RP8Xi.js → RZ4GPYOB-CovncfhJ.js} +5 -5
- package/dist/{S43UC3DV-bOoyE-xW.js → S43UC3DV-HCi6u_G4.js} +8 -8
- package/dist/{T7VMP3TM-DZitNAMz.js → T7VMP3TM-C8D6mVva.js} +19 -19
- package/dist/{TIW3GMFC-DPiX149D.js → TIW3GMFC-BF0w2_9R.js} +16 -16
- package/dist/{TP7N7UIH-D_nR5wDv.js → TP7N7UIH-C4jXJDlO.js} +2 -2
- package/dist/{UQQRIHDV-ULrGYPSq.js → UQQRIHDV-DEGlgATx.js} +10 -10
- package/dist/{UYGDZTLQ-CTQQ8oFQ.js → UYGDZTLQ-HiDKLOW5.js} +2 -2
- package/dist/{VIIRIBF3-C4pOScX8.js → VIIRIBF3-B-djNAU9.js} +3 -3
- package/dist/{WMYDSCNQ-qLZnyPON.js → WMYDSCNQ-pGjWB-Pk.js} +12 -12
- package/dist/{WYCIER3C-BJwD0YDE.js → WYCIER3C-CxfgpZG_.js} +2 -2
- package/dist/{YORGHBM4-6CReFG7i.js → YORGHBM4-D_fOXG5Y.js} +1 -1
- package/dist/{YV4JVR4I-D8_aZ62q.js → YV4JVR4I-CQnJhUSg.js} +26 -26
- package/dist/assets/button.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/static.css +1 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/style10.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 → combobox-group-hNvv1WJm.js} +3 -3
- package/dist/{combobox-popover-D5bLZY4d.js → combobox-popover-BZ_1wNrj.js} +5 -5
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +20 -18
- package/dist/components/breadcrumbs/index.js +5 -5
- package/dist/components/button/icon.js +1 -1
- package/dist/components/button/row.js +4 -4
- package/dist/components/command-palette/dialog.d.ts +9 -0
- package/dist/components/command-palette/dialog.js +34 -0
- package/dist/components/command-palette/index.js +8 -175
- package/dist/components/command-palette/presets.d.ts +4 -0
- package/dist/components/command-palette/presets.js +10 -0
- package/dist/components/command-palette/static.d.ts +19 -0
- package/dist/components/command-palette/static.js +76 -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 +33 -32
- package/dist/components/controls/tag-control/ariakit-experimental.js +253 -252
- 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.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/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.js +3 -3
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +5 -5
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- 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/progress/index.js +1 -1
- package/dist/components/shell/index.js +14 -12
- package/dist/components/shell/navigation-separator.d.ts +6 -0
- package/dist/components/shell/navigation-separator.js +14 -0
- package/dist/components/shell/pane.js +1 -1
- package/dist/components/shell/sidebar-item.d.ts +5 -4
- package/dist/components/shell/sidebar-item.js +26 -20
- 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/tag.js +1 -1
- package/dist/components/toolbar/divider.js +1 -1
- package/dist/components/toolbar/index.js +1 -1
- package/dist/components/toolbar/root.js +1 -1
- package/dist/components/window/index.js +2 -2
- package/dist/{composite-provider-DFOFHro7.js → composite-provider-BPIeS4Cg.js} +2 -2
- package/dist/{disclosure-provider-DIT2ijtk.js → disclosure-provider-cEVysvZT.js} +2 -2
- package/dist/{filter-DzrtcAfG.js → filter-DHK0UoZG.js} +1 -1
- package/dist/{index-Bp_FFk15.js → index-BLCPauyN.js} +2 -2
- package/dist/{index-B5z_GwnD.js → index-BnbjJBS4.js} +3 -3
- package/dist/{index-C8OctMj0.js → index-CLl-PPjx.js} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +77 -56
- package/dist/{item-CGLYiEST.js → item-CmTk8eHD.js} +2 -2
- package/dist/{menu-button-C-h3k7Gh.js → menu-button-GQO5dB3U.js} +33 -33
- package/dist/{menu-separator-CuuhJPnR.js → menu-separator-Z6pSHpX5.js} +3 -3
- package/dist/{picker-BUCg1BqW.js → picker-DyJogHYh.js} +4 -4
- package/dist/{popover-provider-BoZ9PI_r.js → popover-provider-BJEfhgr1.js} +4 -4
- package/dist/presets-BDIhXP0C.js +148 -0
- package/dist/primitives/icon-label/index.d.ts +2 -0
- package/dist/primitives/icon-label/index.js +18 -14
- package/dist/primitives/link/index.d.ts +3 -1
- package/dist/primitives/link/index.js +26 -25
- package/dist/primitives/nav-link/index.d.ts +4 -3
- package/dist/primitives/nav-link/index.js +21 -17
- 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 +36 -24
- package/dist/{select-popover-DmN0T8PP.js → select-popover-Dheunyb0.js} +53 -53
- package/dist/{select-value-DnWKxDD-.js → select-value-B3DYk9eV.js} +2 -2
- package/dist/{tab-BXGTM7Se.js → tab-DejwS4C8.js} +4 -4
- package/dist/{tab-list-BPSxHllS.js → tab-list-CndMWcVv.js} +3 -3
- package/dist/{tab-panel-fbUcLE4f.js → tab-panel-DedzuWUA.js} +7 -7
- package/dist/{tab-provider-x586a8l7.js → tab-provider-B0BoLfST.js} +21 -21
- package/dist/{tag-remove-BdHvB_5c.js → tag-remove-Dz-sGbyZ.js} +35 -35
- package/dist/{toolbar-hQ58P-Nk.js → toolbar-PSaF1mdF.js} +11 -11
- package/dist/{toolbar-separator-CN00-jyc.js → toolbar-separator-DJHiHbGj.js} +3 -3
- package/dist/{tooltip-arrow-BRJ4m2ZL.js → tooltip-arrow-BVwULA6B.js} +9 -9
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +23 -0
- package/package.json +1 -1
- package/dist/MAXQOH4L-DB7jDisS.js +0 -564
- package/dist/assets/index22.css +0 -1
- package/dist/components/command-palette/index.d.ts +0 -28
|
@@ -1,34 +1,42 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { useState as
|
|
1
|
+
import { jsxs as o, Fragment as n, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { cn as c } from "../../utils/css.js";
|
|
3
|
+
import { useState as T } from "react";
|
|
4
4
|
import '../../assets/style4.css';/* empty css */
|
|
5
|
-
import { T as
|
|
6
|
-
const
|
|
7
|
-
className:
|
|
8
|
-
label:
|
|
9
|
-
force:
|
|
10
|
-
children:
|
|
11
|
-
placement:
|
|
5
|
+
import { T as f, a as u, b as v, c as h } from "../../tooltip-arrow-BVwULA6B.js";
|
|
6
|
+
const j = ({
|
|
7
|
+
className: a,
|
|
8
|
+
label: t,
|
|
9
|
+
force: i,
|
|
10
|
+
children: r,
|
|
11
|
+
placement: m,
|
|
12
|
+
render: e
|
|
12
13
|
}) => {
|
|
13
|
-
const [
|
|
14
|
-
return
|
|
15
|
-
|
|
14
|
+
const [p, l] = T(!1);
|
|
15
|
+
return t ? /* @__PURE__ */ o(
|
|
16
|
+
f,
|
|
16
17
|
{
|
|
17
|
-
open:
|
|
18
|
-
setOpen:
|
|
19
|
-
placement:
|
|
18
|
+
open: p || i,
|
|
19
|
+
setOpen: l,
|
|
20
|
+
placement: m,
|
|
20
21
|
children: [
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
/* @__PURE__ */ s(
|
|
23
|
+
u,
|
|
24
|
+
{
|
|
25
|
+
className: c("primitive-tooltip", a),
|
|
26
|
+
render: e,
|
|
27
|
+
children: r
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
(p || i) && /* @__PURE__ */ o(
|
|
31
|
+
v,
|
|
24
32
|
{
|
|
25
33
|
gutter: 4,
|
|
26
34
|
className: "primitive-tooltip__label",
|
|
27
35
|
"data-colour-scheme": "invert",
|
|
28
36
|
children: [
|
|
29
|
-
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
|
|
37
|
+
t,
|
|
38
|
+
/* @__PURE__ */ s(
|
|
39
|
+
h,
|
|
32
40
|
{
|
|
33
41
|
size: 24,
|
|
34
42
|
className: "primitive-tooltip__arrow"
|
|
@@ -39,8 +47,12 @@ const N = ({
|
|
|
39
47
|
)
|
|
40
48
|
]
|
|
41
49
|
}
|
|
42
|
-
) :
|
|
50
|
+
) : /* @__PURE__ */ o(n, { children: [
|
|
51
|
+
e,
|
|
52
|
+
" ",
|
|
53
|
+
r
|
|
54
|
+
] });
|
|
43
55
|
};
|
|
44
56
|
export {
|
|
45
|
-
|
|
57
|
+
j as Tooltip
|
|
46
58
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { u as Se, a as se, S as be, b as xe, c as Oe, d as Ce, e as de } from "./DG5U6ZEL-
|
|
2
|
-
import { u as Ie } from "./MTZPJQMC-
|
|
3
|
-
import { c as R, _ as T, i as
|
|
4
|
-
import { useMemo as ae, useState as
|
|
1
|
+
import { u as Se, a as se, S as be, b as xe, c as Oe, d as Ce, e as de } from "./DG5U6ZEL-DB0iwihy.js";
|
|
2
|
+
import { u as Ie } from "./MTZPJQMC-D2i4-LA_.js";
|
|
3
|
+
import { c as R, _ as T, i as Y, m as I, o as p, r as Ae, f as F, a as H, Y as De, V as W, U as O, W as V, X as _e, j as k, e as le, J as Ve, l as X, n as he, S as ke, s as Ke, q as ge, t as Le, E as Me, F as Ne, R as Re, h as Te, u as Fe, aa as He } from "./LMDWO4NN-CpSMaD5G.js";
|
|
4
|
+
import { useMemo as ae, useState as J, useRef as je, useEffect as ne, useCallback as Be, useContext as me, createContext as $e } from "react";
|
|
5
5
|
import { jsx as P, jsxs as oe, Fragment as ve } from "react/jsx-runtime";
|
|
6
|
-
import { u as we } from "./T7VMP3TM-
|
|
7
|
-
import {
|
|
6
|
+
import { u as we } from "./T7VMP3TM-C8D6mVva.js";
|
|
7
|
+
import { a as Ue } from "./WMYDSCNQ-pGjWB-Pk.js";
|
|
8
8
|
import { t as ye } from "./7PRQYBBV-91wrWGjk.js";
|
|
9
|
-
import { c as qe, a as We } from "./O2PQ2652-
|
|
10
|
-
import { c as ze, d as Ge, b as
|
|
11
|
-
import { u as
|
|
12
|
-
import { m as
|
|
13
|
-
import { u as nt } from "./UQQRIHDV-
|
|
14
|
-
import { u as st } from "./6VRAQV3D-
|
|
15
|
-
import { i as lt } from "./KFH4SEIX-
|
|
16
|
-
import { u as at } from "./5JTVDSTH-
|
|
17
|
-
import { c as it, u as ut } from "./G7GW6PWC-
|
|
9
|
+
import { c as qe, a as We } from "./O2PQ2652-DIoegIkE.js";
|
|
10
|
+
import { c as ze, d as Ge, b as Je } from "./4CMBR7SL-DezfZPUS.js";
|
|
11
|
+
import { u as Xe } from "./S43UC3DV-HCi6u_G4.js";
|
|
12
|
+
import { m as Ye, o as Qe, t as Ze, c as et, s as z, d as re, g as tt, b as ot, f as pe, u as rt } from "./YV4JVR4I-CQnJhUSg.js";
|
|
13
|
+
import { u as nt } from "./UQQRIHDV-DEGlgATx.js";
|
|
14
|
+
import { u as st } from "./6VRAQV3D-BYmT0QTl.js";
|
|
15
|
+
import { i as lt } from "./KFH4SEIX-DaQeP5D_.js";
|
|
16
|
+
import { u as at } from "./5JTVDSTH-CZ7mfyUK.js";
|
|
17
|
+
import { c as it, u as ut } from "./G7GW6PWC-Dk4hVbAk.js";
|
|
18
18
|
var ct = "span", dt = {
|
|
19
19
|
top: "4,10 8,6 12,10",
|
|
20
20
|
right: "6,4 10,8 6,12",
|
|
@@ -23,7 +23,7 @@ var ct = "span", dt = {
|
|
|
23
23
|
}, Pe = R(function(o) {
|
|
24
24
|
var r = o, { store: e, placement: t } = r, a = T(r, ["store", "placement"]);
|
|
25
25
|
const m = Ie();
|
|
26
|
-
e = e || m,
|
|
26
|
+
e = e || m, Y(
|
|
27
27
|
e,
|
|
28
28
|
process.env.NODE_ENV !== "production" && "PopoverDisclosureArrow must be wrapped in a PopoverDisclosure component."
|
|
29
29
|
);
|
|
@@ -55,10 +55,10 @@ var ct = "span", dt = {
|
|
|
55
55
|
pointerEvents: "none"
|
|
56
56
|
}, a.style)
|
|
57
57
|
}), Ae(a);
|
|
58
|
-
}),
|
|
58
|
+
}), Jt = F(
|
|
59
59
|
function(o) {
|
|
60
60
|
const r = Pe(o);
|
|
61
|
-
return
|
|
61
|
+
return H(ct, r);
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
64
|
function mt(s = {}) {
|
|
@@ -67,9 +67,9 @@ function mt(s = {}) {
|
|
|
67
67
|
} = o, e = De(o, [
|
|
68
68
|
"combobox"
|
|
69
69
|
]);
|
|
70
|
-
const t =
|
|
70
|
+
const t = Ye(
|
|
71
71
|
e.store,
|
|
72
|
-
|
|
72
|
+
Qe(r, [
|
|
73
73
|
"value",
|
|
74
74
|
"items",
|
|
75
75
|
"renderedItems",
|
|
@@ -170,7 +170,7 @@ function mt(s = {}) {
|
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
172
|
function vt(s) {
|
|
173
|
-
const o =
|
|
173
|
+
const o = Xe();
|
|
174
174
|
return s = I(p({}, s), {
|
|
175
175
|
combobox: s.combobox !== void 0 ? s.combobox : o
|
|
176
176
|
}), Ge(s);
|
|
@@ -178,7 +178,7 @@ function vt(s) {
|
|
|
178
178
|
function pt(s, o, r) {
|
|
179
179
|
return _e(o, [r.combobox]), pe(s, r, "value", "setValue"), pe(s, r, "setValueOnMove"), Object.assign(
|
|
180
180
|
We(
|
|
181
|
-
|
|
181
|
+
Je(s, o, r),
|
|
182
182
|
o,
|
|
183
183
|
r
|
|
184
184
|
),
|
|
@@ -196,9 +196,9 @@ var St = "span", bt = R(
|
|
|
196
196
|
const a = Se();
|
|
197
197
|
return e = e || a, t = Pe(p({ store: e }, t)), t;
|
|
198
198
|
}
|
|
199
|
-
), ht =
|
|
199
|
+
), ht = F(function(o) {
|
|
200
200
|
const r = bt(o);
|
|
201
|
-
return
|
|
201
|
+
return H(St, r);
|
|
202
202
|
}), gt = "button";
|
|
203
203
|
function wt(s) {
|
|
204
204
|
return Array.from(s.selectedOptions).map((o) => o.value);
|
|
@@ -238,7 +238,7 @@ var yt = R(function(o) {
|
|
|
238
238
|
"toggleOnClick"
|
|
239
239
|
]);
|
|
240
240
|
const f = se();
|
|
241
|
-
e = e || f,
|
|
241
|
+
e = e || f, Y(
|
|
242
242
|
e,
|
|
243
243
|
process.env.NODE_ENV !== "production" && "Select must receive a `store` prop or be wrapped in a SelectProvider component."
|
|
244
244
|
);
|
|
@@ -260,12 +260,12 @@ var yt = R(function(o) {
|
|
|
260
260
|
ArrowRight: y === "right"
|
|
261
261
|
})[c.key] && w(c) && (c.preventDefault(), e.move($), Ve(c.currentTarget, "keyup", e.show));
|
|
262
262
|
});
|
|
263
|
-
n =
|
|
263
|
+
n = X(
|
|
264
264
|
n,
|
|
265
265
|
(c) => /* @__PURE__ */ P(be, { value: e, children: c }),
|
|
266
266
|
[e]
|
|
267
267
|
);
|
|
268
|
-
const [j, M] =
|
|
268
|
+
const [j, M] = J(!1), C = je(!1);
|
|
269
269
|
ne(() => {
|
|
270
270
|
const c = C.current;
|
|
271
271
|
C.current = !1, !c && M(!1);
|
|
@@ -277,7 +277,7 @@ var yt = R(function(o) {
|
|
|
277
277
|
if (t)
|
|
278
278
|
return c.items;
|
|
279
279
|
}), A = ae(() => [...new Set(_ == null ? void 0 : _.map((c) => c.value).filter((c) => c != null))], [_]);
|
|
280
|
-
n =
|
|
280
|
+
n = X(
|
|
281
281
|
n,
|
|
282
282
|
(c) => t ? /* @__PURE__ */ oe(ve, { children: [
|
|
283
283
|
/* @__PURE__ */ oe(
|
|
@@ -337,12 +337,12 @@ var yt = R(function(o) {
|
|
|
337
337
|
const B = /* @__PURE__ */ oe(ve, { children: [
|
|
338
338
|
x,
|
|
339
339
|
/* @__PURE__ */ P(ht, {})
|
|
340
|
-
] }),
|
|
340
|
+
] }), Q = e.useState("contentElement");
|
|
341
341
|
return n = I(p({
|
|
342
342
|
role: "combobox",
|
|
343
343
|
"aria-autocomplete": "none",
|
|
344
344
|
"aria-labelledby": N,
|
|
345
|
-
"aria-haspopup": ke(
|
|
345
|
+
"aria-haspopup": ke(Q, "listbox"),
|
|
346
346
|
"data-autofill": j || void 0,
|
|
347
347
|
"data-name": t,
|
|
348
348
|
children: B
|
|
@@ -350,11 +350,11 @@ var yt = R(function(o) {
|
|
|
350
350
|
ref: he(e.setSelectElement, n.ref),
|
|
351
351
|
onKeyDown: L
|
|
352
352
|
}), n = Ue(p({ store: e, toggleOnClick: l }, n)), n = we(p({ store: e }, n)), n;
|
|
353
|
-
}),
|
|
353
|
+
}), Xt = F(function(o) {
|
|
354
354
|
const r = yt(o);
|
|
355
|
-
return
|
|
355
|
+
return H(gt, r);
|
|
356
356
|
});
|
|
357
|
-
function
|
|
357
|
+
function Yt(s = {}) {
|
|
358
358
|
const o = ft(s);
|
|
359
359
|
return /* @__PURE__ */ P(xe, { value: o, children: s.children });
|
|
360
360
|
}
|
|
@@ -383,7 +383,7 @@ var xt = R(
|
|
|
383
383
|
"focusOnHover"
|
|
384
384
|
]), n;
|
|
385
385
|
const f = Oe();
|
|
386
|
-
e = e || f,
|
|
386
|
+
e = e || f, Y(
|
|
387
387
|
e,
|
|
388
388
|
process.env.NODE_ENV !== "production" && "SelectItem must be wrapped in a SelectList or SelectPopover component."
|
|
389
389
|
);
|
|
@@ -412,7 +412,7 @@ var xt = R(
|
|
|
412
412
|
const L = l.onClick, j = k(S), M = k(m), C = le((i) => {
|
|
413
413
|
L == null || L(i), !i.defaultPrevented && (Me(i) || Ne(i) || (j(i) && t != null && (e == null || e.setValue((h) => Array.isArray(h) ? h.includes(t) ? h.filter((_) => _ !== t) : [...h, t] : t)), M(i) && (e == null || e.hide())));
|
|
414
414
|
});
|
|
415
|
-
l =
|
|
415
|
+
l = X(
|
|
416
416
|
l,
|
|
417
417
|
(i) => /* @__PURE__ */ P(Ce.Provider, { value: y ?? !1, children: i }),
|
|
418
418
|
[y]
|
|
@@ -443,10 +443,10 @@ var xt = R(
|
|
|
443
443
|
}
|
|
444
444
|
})), l;
|
|
445
445
|
}
|
|
446
|
-
),
|
|
447
|
-
|
|
446
|
+
), Qt = Ke(
|
|
447
|
+
F(function(o) {
|
|
448
448
|
const r = xt(o);
|
|
449
|
-
return
|
|
449
|
+
return H(Pt, r);
|
|
450
450
|
})
|
|
451
451
|
), Ot = "div", fe = $e(null), Ee = R(
|
|
452
452
|
function(o) {
|
|
@@ -466,33 +466,33 @@ var xt = R(
|
|
|
466
466
|
"alwaysVisible"
|
|
467
467
|
]);
|
|
468
468
|
const l = Se();
|
|
469
|
-
e = e || l,
|
|
469
|
+
e = e || l, Y(
|
|
470
470
|
e,
|
|
471
471
|
process.env.NODE_ENV !== "production" && "SelectList must receive a `store` prop or be wrapped in a SelectProvider component."
|
|
472
472
|
);
|
|
473
|
-
const n = ge(u.id), f = e.useState("value"), b = Array.isArray(f), [w, g] =
|
|
473
|
+
const n = ge(u.id), f = e.useState("value"), b = Array.isArray(f), [w, g] = J(f), K = e.useState("mounted");
|
|
474
474
|
ne(() => {
|
|
475
475
|
K || g(f);
|
|
476
476
|
}, [K, f]), t = t && !b;
|
|
477
477
|
const y = u.onKeyDown, x = k(t), D = k(a), L = le((v) => {
|
|
478
478
|
y == null || y(v), !v.defaultPrevented && (v.key === "Escape" && x(v) && (e == null || e.setValue(w)), (v.key === " " || v.key === "Enter") && Te(v) && D(v) && (v.preventDefault(), e == null || e.hide()));
|
|
479
|
-
}), j = me(de), M =
|
|
479
|
+
}), j = me(de), M = J(), [C, N] = j || M, i = ae(
|
|
480
480
|
() => [C, N],
|
|
481
481
|
[C]
|
|
482
|
-
), [h, _] =
|
|
482
|
+
), [h, _] = J(null), A = me(fe);
|
|
483
483
|
ne(() => {
|
|
484
484
|
if (A)
|
|
485
485
|
return A(e), () => A(null);
|
|
486
|
-
}, [A, e]), u =
|
|
486
|
+
}, [A, e]), u = X(
|
|
487
487
|
u,
|
|
488
488
|
(v) => /* @__PURE__ */ P(be, { value: e, children: /* @__PURE__ */ P(fe.Provider, { value: _, children: /* @__PURE__ */ P(de.Provider, { value: i, children: v }) }) }),
|
|
489
489
|
[e, i]
|
|
490
490
|
);
|
|
491
491
|
const B = !!e.combobox;
|
|
492
492
|
S = S ?? (!B && h !== e);
|
|
493
|
-
const [
|
|
493
|
+
const [Q, c] = Fe(
|
|
494
494
|
S ? e.setListElement : null
|
|
495
|
-
), d =
|
|
495
|
+
), d = He(Q, "role", u.role), ee = (S || (d === "listbox" || d === "menu" || d === "tree" || d === "grid")) && b || void 0, $ = lt(K, u.hidden, E), U = $ ? I(p({}, u.style), { display: "none" }) : u.style;
|
|
496
496
|
S && (u = p({
|
|
497
497
|
role: "listbox",
|
|
498
498
|
"aria-multiselectable": ee
|
|
@@ -513,9 +513,9 @@ var xt = R(
|
|
|
513
513
|
onKeyDown: L
|
|
514
514
|
}), u = at(I(p({ store: e }, u), { composite: S })), u = we(p({ store: e, typeahead: !B }, u)), u;
|
|
515
515
|
}
|
|
516
|
-
), Zt =
|
|
516
|
+
), Zt = F(function(o) {
|
|
517
517
|
const r = Ee(o);
|
|
518
|
-
return
|
|
518
|
+
return H(Ot, r);
|
|
519
519
|
}), Ct = "div", It = R(
|
|
520
520
|
function(o) {
|
|
521
521
|
var r = o, { store: e, alwaysVisible: t } = r, a = T(r, ["store", "alwaysVisible"]);
|
|
@@ -523,19 +523,19 @@ var xt = R(
|
|
|
523
523
|
return e = e || m, a = Ee(p({ store: e, alwaysVisible: t }, a)), a = ut(p({ store: e, alwaysVisible: t }, a)), a;
|
|
524
524
|
}
|
|
525
525
|
), eo = it(
|
|
526
|
-
|
|
526
|
+
F(function(o) {
|
|
527
527
|
const r = It(o);
|
|
528
|
-
return
|
|
528
|
+
return H(Ct, r);
|
|
529
529
|
}),
|
|
530
530
|
se
|
|
531
531
|
);
|
|
532
532
|
export {
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
533
|
+
Jt as P,
|
|
534
|
+
Yt as S,
|
|
535
|
+
Xt as a,
|
|
536
536
|
eo as b,
|
|
537
537
|
Zt as c,
|
|
538
|
-
|
|
538
|
+
Qt as d,
|
|
539
539
|
ht as e,
|
|
540
540
|
ft as f,
|
|
541
541
|
Pe as u
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as w } from "./UYGDZTLQ-
|
|
2
|
-
import { C as v, u as E } from "./6VRAQV3D-
|
|
3
|
-
import { a as F } from "./YV4JVR4I-
|
|
4
|
-
import { s as V, f as W, c as D, a as N, _ as j, i as A, q, t as H, m as r, o as a, e as L } from "./LMDWO4NN-
|
|
1
|
+
import { a as w } from "./UYGDZTLQ-HiDKLOW5.js";
|
|
2
|
+
import { C as v, u as E } from "./6VRAQV3D-BYmT0QTl.js";
|
|
3
|
+
import { a as F } from "./YV4JVR4I-CQnJhUSg.js";
|
|
4
|
+
import { s as V, f as W, c as D, a as N, _ as j, i as A, q, t as H, m as r, o as a, e as L } from "./LMDWO4NN-CpSMaD5G.js";
|
|
5
5
|
import { useCallback as O } from "react";
|
|
6
6
|
import { jsx as C } from "react/jsx-runtime";
|
|
7
7
|
var y = "button", z = D(function(c) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as c, T as u } from "./UYGDZTLQ-
|
|
2
|
-
import { u as m } from "./5JTVDSTH-
|
|
3
|
-
import { f as b, c as v, a as f, _ as d, i as l, l as T, o as s } from "./LMDWO4NN-
|
|
1
|
+
import { u as c, T as u } from "./UYGDZTLQ-HiDKLOW5.js";
|
|
2
|
+
import { u as m } from "./5JTVDSTH-CZ7mfyUK.js";
|
|
3
|
+
import { f as b, c as v, a as f, _ as d, i as l, l as T, o as s } from "./LMDWO4NN-CpSMaD5G.js";
|
|
4
4
|
import { jsx as _ } from "react/jsx-runtime";
|
|
5
5
|
var x = "div", L = v(
|
|
6
6
|
function(a) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as A, T as K } from "./UYGDZTLQ-
|
|
2
|
-
import { u as N } from "./KFH4SEIX-
|
|
3
|
-
import { u as O } from "./WYCIER3C-
|
|
4
|
-
import { u as j } from "./RZ4GPYOB-
|
|
5
|
-
import { g as V, u as q } from "./PFRGBC2K-
|
|
6
|
-
import { a as P } from "./YV4JVR4I-
|
|
7
|
-
import { f as F, c as W, a as z, _ as B, i as G, q as J, e as y, m as T, o as i, l as Q, n as U } from "./LMDWO4NN-
|
|
1
|
+
import { u as A, T as K } from "./UYGDZTLQ-HiDKLOW5.js";
|
|
2
|
+
import { u as N } from "./KFH4SEIX-DaQeP5D_.js";
|
|
3
|
+
import { u as O } from "./WYCIER3C-CxfgpZG_.js";
|
|
4
|
+
import { u as j } from "./RZ4GPYOB-CovncfhJ.js";
|
|
5
|
+
import { g as V, u as q } from "./PFRGBC2K-BdRJd-gU.js";
|
|
6
|
+
import { a as P } from "./YV4JVR4I-CQnJhUSg.js";
|
|
7
|
+
import { f as F, c as W, a as z, _ as B, i as G, q as J, e as y, m as T, o as i, l as Q, n as U } from "./LMDWO4NN-CpSMaD5G.js";
|
|
8
8
|
import { useRef as h, useEffect as w, useState as X, useCallback as Y } from "react";
|
|
9
9
|
import { jsx as Z } from "react/jsx-runtime";
|
|
10
10
|
var $ = "div", ee = W(
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as F } from "./DG5U6ZEL-
|
|
2
|
-
import { c as U, a as W, b as $ } from "./4CMBR7SL-
|
|
3
|
-
import {
|
|
4
|
-
import { m as z, o as E, c as A, s as f, d as l, g as K, b as V, f as O } from "./YV4JVR4I-
|
|
5
|
-
import { Y as R,
|
|
6
|
-
import { useMemo as
|
|
7
|
-
import { b as
|
|
8
|
-
import { jsx as
|
|
9
|
-
function
|
|
1
|
+
import { u as F } from "./DG5U6ZEL-DB0iwihy.js";
|
|
2
|
+
import { c as U, a as W, b as $ } from "./4CMBR7SL-DezfZPUS.js";
|
|
3
|
+
import { d as k } from "./S43UC3DV-HCi6u_G4.js";
|
|
4
|
+
import { m as z, o as E, c as A, s as f, d as l, g as K, b as V, f as O } from "./YV4JVR4I-CQnJhUSg.js";
|
|
5
|
+
import { Y as R, V as p, U as I, W as S, a2 as M, m as y, o as B, X as T } from "./LMDWO4NN-CpSMaD5G.js";
|
|
6
|
+
import { useMemo as X } from "react";
|
|
7
|
+
import { b as Y } from "./UYGDZTLQ-HiDKLOW5.js";
|
|
8
|
+
import { jsx as q } from "react/jsx-runtime";
|
|
9
|
+
function w(e = {}) {
|
|
10
10
|
var c = e, {
|
|
11
11
|
composite: s,
|
|
12
12
|
combobox: r
|
|
@@ -114,12 +114,12 @@ function D(e = {}) {
|
|
|
114
114
|
h = !1, t.setState("selectedId", g);
|
|
115
115
|
};
|
|
116
116
|
if (s && "setSelectElement" in s)
|
|
117
|
-
return
|
|
117
|
+
return M(
|
|
118
118
|
l(s, ["value"], o),
|
|
119
119
|
l(s, ["mounted"], d)
|
|
120
120
|
);
|
|
121
121
|
if (r)
|
|
122
|
-
return
|
|
122
|
+
return M(
|
|
123
123
|
l(r, ["selectedValue"], o),
|
|
124
124
|
l(r, ["mounted"], d)
|
|
125
125
|
);
|
|
@@ -131,28 +131,28 @@ function D(e = {}) {
|
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
|
|
134
|
+
function D(e, c, s) {
|
|
135
|
+
T(c, [s.composite, s.combobox]), e = $(e, c, s), O(e, s, "selectedId", "setSelectedId"), O(e, s, "selectOnMove");
|
|
136
136
|
const [r, n] = V(() => e.panels, {});
|
|
137
|
-
return
|
|
138
|
-
|
|
137
|
+
return T(n, [e, n]), Object.assign(
|
|
138
|
+
X(() => y(B({}, e), { panels: r }), [e, r]),
|
|
139
139
|
{ composite: s.composite, combobox: s.combobox }
|
|
140
140
|
);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function G(e = {}) {
|
|
143
143
|
const c = k(), s = F() || c;
|
|
144
144
|
e = y(B({}, e), {
|
|
145
145
|
composite: e.composite !== void 0 ? e.composite : s,
|
|
146
146
|
combobox: e.combobox !== void 0 ? e.combobox : c
|
|
147
147
|
});
|
|
148
|
-
const [r, n] = V(
|
|
149
|
-
return
|
|
148
|
+
const [r, n] = V(w, e);
|
|
149
|
+
return D(r, n, e);
|
|
150
150
|
}
|
|
151
151
|
function se(e = {}) {
|
|
152
|
-
const c =
|
|
153
|
-
return /* @__PURE__ */
|
|
152
|
+
const c = G(e);
|
|
153
|
+
return /* @__PURE__ */ q(Y, { value: c, children: e.children });
|
|
154
154
|
}
|
|
155
155
|
export {
|
|
156
156
|
se as T,
|
|
157
|
-
|
|
157
|
+
G as u
|
|
158
158
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createContext as ve, useContext as
|
|
3
|
-
import { f as L, c as N, a as B, _ as M, m as P, o as C, r as ge,
|
|
1
|
+
import { b as pe } from "./S43UC3DV-HCi6u_G4.js";
|
|
2
|
+
import { createContext as ve, useContext as F, 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, a5 as he, s as Ce, i as q, q as ne, j as R, e as I, ah as oe, l as re, ai as be, y as G, a8 as Te, n as ke, J as ye, V as J, U as W, W as A, ab as Pe } from "./LMDWO4NN-CpSMaD5G.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, d as _e, b as Oe, f as Q } from "./YV4JVR4I-
|
|
5
|
+
import { c as H, T as se, d as ie, e as Ve, f as Se, g as De } from "./MAXQOH4L-BYWBWXpb.js";
|
|
6
|
+
import { u as ue } from "./6VRAQV3D-BYmT0QTl.js";
|
|
7
|
+
import { a as we, c as Ee, s as Ie, d as _e, b as Oe, f as Q } from "./YV4JVR4I-CQnJhUSg.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-CZ7mfyUK.js";
|
|
10
|
+
import { b as Le } from "./PFRGBC2K-BdRJd-gU.js";
|
|
11
|
+
import { c as Ne, b as Be } from "./4CMBR7SL-DezfZPUS.js";
|
|
12
|
+
import { R as Me } from "./G7GW6PWC-Dk4hVbAk.js";
|
|
13
13
|
var je = ve(!1), Ue = "span", $e = /* @__PURE__ */ x(
|
|
14
14
|
"svg",
|
|
15
15
|
{
|
|
@@ -25,15 +25,15 @@ var je = ve(!1), Ue = "span", $e = /* @__PURE__ */ x(
|
|
|
25
25
|
children: /* @__PURE__ */ x("polyline", { points: "4,8 7,12 12,4" })
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
|
-
function
|
|
28
|
+
function We(o) {
|
|
29
29
|
return o.checked ? o.children || $e : typeof o.children == "function" ? o.children : null;
|
|
30
30
|
}
|
|
31
31
|
var le = N(
|
|
32
32
|
function(r) {
|
|
33
33
|
var n = r, { store: e, checked: a } = n, s = M(n, ["store", "checked"]);
|
|
34
|
-
const c =
|
|
34
|
+
const c = F(je);
|
|
35
35
|
a = a ?? c;
|
|
36
|
-
const i =
|
|
36
|
+
const i = We({ checked: a, children: s.children });
|
|
37
37
|
return s = P(C({
|
|
38
38
|
"aria-hidden": !0
|
|
39
39
|
}, s), {
|
|
@@ -48,13 +48,13 @@ var le = N(
|
|
|
48
48
|
), ht = L(function(r) {
|
|
49
49
|
const n = le(r);
|
|
50
50
|
return B(Ue, n);
|
|
51
|
-
}),
|
|
51
|
+
}), Fe = "span", qe = N(function(r) {
|
|
52
52
|
var n = r, { store: e, checked: a } = n, s = M(n, ["store", "checked"]);
|
|
53
|
-
const c =
|
|
53
|
+
const c = F(pe);
|
|
54
54
|
return a = a ?? c, s = le(P(C({}, s), { checked: a })), s;
|
|
55
55
|
}), Ct = L(function(r) {
|
|
56
|
-
const n =
|
|
57
|
-
return B(
|
|
56
|
+
const n = qe(r);
|
|
57
|
+
return B(Fe, n);
|
|
58
58
|
});
|
|
59
59
|
function Z() {
|
|
60
60
|
const [o, r] = ee(!1);
|
|
@@ -62,7 +62,7 @@ function Z() {
|
|
|
62
62
|
r(he());
|
|
63
63
|
}, []), o;
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var Ae = "div", He = N(function(r) {
|
|
66
66
|
var n = r, {
|
|
67
67
|
store: e,
|
|
68
68
|
value: a,
|
|
@@ -74,8 +74,8 @@ var qe = "div", Ae = N(function(r) {
|
|
|
74
74
|
"getItem",
|
|
75
75
|
"removeOnKeyPress"
|
|
76
76
|
]);
|
|
77
|
-
const p =
|
|
78
|
-
e = e || p,
|
|
77
|
+
const p = H();
|
|
78
|
+
e = e || p, q(
|
|
79
79
|
e,
|
|
80
80
|
process.env.NODE_ENV !== "production" && "Tag must be wrapped in a TagList component."
|
|
81
81
|
);
|
|
@@ -114,8 +114,8 @@ var qe = "div", Ae = N(function(r) {
|
|
|
114
114
|
})), i;
|
|
115
115
|
}), bt = Ce(
|
|
116
116
|
L(function(r) {
|
|
117
|
-
const n =
|
|
118
|
-
return B(
|
|
117
|
+
const n = He(r);
|
|
118
|
+
return B(Ae, n);
|
|
119
119
|
})
|
|
120
120
|
);
|
|
121
121
|
function ce(o) {
|
|
@@ -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 = H();
|
|
201
|
+
e = e || v, q(
|
|
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
|
);
|
|
@@ -257,7 +257,7 @@ var Je = 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, q(
|
|
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
|
);
|
|
@@ -320,11 +320,11 @@ 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(
|
|
324
|
-
inputElement:
|
|
325
|
-
labelElement:
|
|
326
|
-
value:
|
|
327
|
-
values:
|
|
323
|
+
const n = (r = o.store) == null ? void 0 : r.getState(), e = Ne(o), a = J(A({}, e.getState()), {
|
|
324
|
+
inputElement: W(n == null ? void 0 : n.inputElement, null),
|
|
325
|
+
labelElement: W(n == null ? void 0 : n.labelElement, null),
|
|
326
|
+
value: W(o.value, n == null ? void 0 : n.value, o.defaultValue, ""),
|
|
327
|
+
values: W(
|
|
328
328
|
o.values,
|
|
329
329
|
n == null ? void 0 : n.values,
|
|
330
330
|
o.defaultValues,
|
|
@@ -351,7 +351,7 @@ function Ye(o = {}) {
|
|
|
351
351
|
};
|
|
352
352
|
});
|
|
353
353
|
};
|
|
354
|
-
return J(
|
|
354
|
+
return J(A(A({}, 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,12 +385,12 @@ var nt = "button", ot = N(
|
|
|
385
385
|
"value",
|
|
386
386
|
"removeOnClick"
|
|
387
387
|
]);
|
|
388
|
-
const i =
|
|
389
|
-
e = e || i,
|
|
388
|
+
const i = H();
|
|
389
|
+
e = e || i, q(
|
|
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
|
);
|
|
393
|
-
const p = ne(c.id), u =
|
|
393
|
+
const p = ne(c.id), u = F(ie), l = F(se), v = l !== null, f = a ?? l;
|
|
394
394
|
te(() => (u == null || u(p), () => u == null ? void 0 : u()), [p, u]);
|
|
395
395
|
const g = c.onClick, b = R(s), T = I((d) => {
|
|
396
396
|
if (g == null || g(d), d.defaultPrevented || !e || !f || !b(d)) return;
|
|
@@ -439,7 +439,7 @@ export {
|
|
|
439
439
|
Tt as d,
|
|
440
440
|
je as e,
|
|
441
441
|
ht as f,
|
|
442
|
-
|
|
442
|
+
He as g,
|
|
443
443
|
Je as h,
|
|
444
444
|
Xe as i,
|
|
445
445
|
ot as j,
|