@wrdagency/blockout 1.0.23 → 1.0.25
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/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/style23.css +1 -1
- package/dist/assets/style25.css +1 -1
- package/dist/assets/style26.css +1 -1
- package/dist/assets/style27.css +1 -1
- package/dist/assets/style28.css +1 -0
- package/dist/assets/style6.css +1 -1
- package/dist/assets/style8.css +1 -1
- package/dist/assets/style9.css +1 -1
- package/dist/assets/styles5.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/icon.js +1 -1
- package/dist/components/button/row.js +4 -4
- package/dist/components/command-palette/index.d.ts +24 -0
- package/dist/components/command-palette/index.js +164 -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/card-number-control/index.js +1 -1
- 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 +12 -13
- 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 +2 -2
- 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 +4 -4
- package/dist/components/data-view/data/layout.js +7 -4
- package/dist/components/data-view/data/options.js +142 -102
- package/dist/components/data-view/index.d.ts +3 -2
- package/dist/components/data-view/index.js +1 -1
- package/dist/components/data-view/layouts/grid/group.js +11 -11
- package/dist/components/data-view/layouts/grid/item.js +4 -4
- package/dist/components/data-view/layouts/kanban/group.js +11 -11
- package/dist/components/data-view/layouts/kanban/item.js +4 -4
- package/dist/components/data-view/layouts/kanban/root.js +1 -1
- package/dist/components/data-view/layouts/list/group.js +11 -11
- package/dist/components/data-view/layouts/list/item.js +4 -4
- package/dist/components/data-view/layouts/table/empty.js +4 -4
- package/dist/components/data-view/layouts/table/group.js +28 -21
- package/dist/components/data-view/layouts/table/item.js +5 -5
- package/dist/components/data-view/layouts/table/root.js +4 -4
- package/dist/components/data-view/layouts/tile/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/tile/empty.js +6 -0
- package/dist/components/data-view/layouts/tile/group.d.ts +2 -0
- package/dist/components/data-view/layouts/tile/group.js +58 -0
- package/dist/components/data-view/layouts/tile/index.d.ts +3 -0
- package/dist/components/data-view/layouts/tile/index.js +8 -0
- package/dist/components/data-view/layouts/tile/item.d.ts +2 -0
- package/dist/components/data-view/layouts/tile/item.js +81 -0
- package/dist/components/data-view/layouts/tile/root.d.ts +2 -0
- package/dist/components/data-view/layouts/tile/root.js +6 -0
- package/dist/components/data-view/parts/body/empty.js +1 -1
- package/dist/components/data-view/parts/body/index.js +6 -6
- package/dist/components/data-view/parts/controls/index.js +39 -39
- package/dist/components/data-view/parts/controls/search.js +4 -4
- package/dist/components/data-view/parts/filters/chip.js +1 -1
- package/dist/components/data-view/parts/filters/editor.js +3 -3
- package/dist/components/data-view/parts/filters/index.js +1 -1
- package/dist/components/data-view/parts/footer/actions.js +4 -4
- package/dist/components/data-view/parts/footer/index.js +4 -4
- package/dist/components/data-view/parts/footer/selection.js +4 -4
- package/dist/components/data-view/parts/view-control/index.js +4 -4
- package/dist/components/data-view/root.d.ts +5 -3
- package/dist/components/data-view/root.js +51 -47
- package/dist/components/data-view/slots/group/checkbox.js +5 -5
- package/dist/components/data-view/slots/group/context.js +1 -1
- package/dist/components/data-view/slots/group/header.d.ts +3 -0
- package/dist/components/data-view/slots/group/header.js +12 -0
- package/dist/components/data-view/slots/group/icon.js +1 -1
- package/dist/components/data-view/slots/group/index.js +3 -2
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/components/data-view/slots/root/context.d.ts +1 -0
- package/dist/components/data-view/slots/root/index.js +1 -1
- package/dist/components/data-view/types/view.d.ts +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/index.js +1 -1
- package/dist/components/shell/pane.js +1 -1
- 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-rHYsh8Gq.js → filter-DzrtcAfG.js} +3 -3
- package/dist/{index-Cn5kB2Fd.js → index-B5z_GwnD.js} +5 -5
- package/dist/{index-CXFb4Xny.js → index-Bp_FFk15.js} +16 -14
- package/dist/{index-DRiUXF8g.js → index-C8OctMj0.js} +3 -3
- 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.js +1 -1
- 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/{style-C7eFpUVU.js → style-CWAa57kN.js} +1 -1
- package/dist/{style-DzV7-wks.js → style-D1AX7G7x.js} +1 -1
- 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,208 +1,213 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { f as
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { c as
|
|
6
|
-
import {
|
|
7
|
-
import { B as
|
|
8
|
-
import { u as
|
|
9
|
-
import { C as
|
|
10
|
-
import { a as ce, c as
|
|
11
|
-
import { useRef as
|
|
12
|
-
import { jsx as
|
|
13
|
-
import { a as
|
|
14
|
-
import { d as
|
|
15
|
-
import { u as
|
|
16
|
-
import { C as
|
|
17
|
-
import { c as
|
|
18
|
-
import { u as
|
|
19
|
-
import {
|
|
20
|
-
import { b as
|
|
21
|
-
import { D as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { u as
|
|
26
|
-
import { C as
|
|
27
|
-
import { u as
|
|
28
|
-
import { C as
|
|
29
|
-
import { u as
|
|
30
|
-
import { C as
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { C as
|
|
34
|
-
import {
|
|
35
|
-
import { C as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import { u as
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import { T as
|
|
68
|
-
import {
|
|
69
|
-
import { T as
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import { T as
|
|
73
|
-
import { u as
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
1
|
+
import { u as He, e as Dt } from "../../../tag-remove-BdHvB_5c.js";
|
|
2
|
+
import { f as cu, C as lu, b as du, d as mu, a as vu, T as fu, c as pu, g as bu, h as Cu, i as hu, j as gu } from "../../../tag-remove-BdHvB_5c.js";
|
|
3
|
+
import { d as yt } from "../../../MAXQOH4L-DB7jDisS.js";
|
|
4
|
+
import { a as Su, c as Pu, b as ku, C as Fu, i as Tu } from "../../../MAXQOH4L-DB7jDisS.js";
|
|
5
|
+
import { c as C, _ as k, e as E, h as ve, a1 as Et, k as ee, A as It, m as D, n as A, o as d, r as U, f as h, a as g, s as V, U as K, T as O, V as L, l as X, q as W, b as Be, Y as _t, J as Se, X as ie, t as Ge, a8 as je, i as _, S as Ue, a5 as fe, al as ue, am as Mt, an as Pe, W as We, j as wt, ao as $t, D as Rt, a0 as Vt, L as pe, ap as Lt, O as Ot } from "../../../LMDWO4NN-BfJb6my4.js";
|
|
6
|
+
import { u as re } from "../../../F5MUBM3I-AbDoeFd8.js";
|
|
7
|
+
import { B as Du, D as yu } from "../../../F5MUBM3I-AbDoeFd8.js";
|
|
8
|
+
import { u as At } from "../../../2RSXSRCN-dNqvVCu5.js";
|
|
9
|
+
import { C as Iu } from "../../../2RSXSRCN-dNqvVCu5.js";
|
|
10
|
+
import { a as ce, c as oe, b as le, f as te, t as qe, s as $e, i as Ht, d as Ke } from "../../../YV4JVR4I-D8_aZ62q.js";
|
|
11
|
+
import { useRef as G, useEffect as $, useContext as ne, useCallback as z, useMemo as ze, useState as de, Fragment as Bt } from "react";
|
|
12
|
+
import { jsx as I, jsxs as Xe, Fragment as Gt } from "react/jsx-runtime";
|
|
13
|
+
import { a as jt, e as Ut, C as Wt, f as Je, g as Qe, h as qt } from "../../../P7GR5CS5-DbUZzAnv.js";
|
|
14
|
+
import { d as Mu } from "../../../P7GR5CS5-DbUZzAnv.js";
|
|
15
|
+
import { u as se } from "../../../RZ4GPYOB-rG3RP8Xi.js";
|
|
16
|
+
import { C as $u } from "../../../RZ4GPYOB-rG3RP8Xi.js";
|
|
17
|
+
import { c as Ye, b as Ze, a as Kt, e as zt, f as Xt } from "../../../4CMBR7SL-Cf8t3EeF.js";
|
|
18
|
+
import { u as Vu } from "../../../4CMBR7SL-Cf8t3EeF.js";
|
|
19
|
+
import { u as ke, a as Fe, c as Jt, b as Qt } from "../../../S43UC3DV-bOoyE-xW.js";
|
|
20
|
+
import { b as et } from "../../../WMYDSCNQ-qLZnyPON.js";
|
|
21
|
+
import { D as Ou, c as Au, P as Hu } from "../../../WMYDSCNQ-qLZnyPON.js";
|
|
22
|
+
import { C as Gu, a as ju } from "../../../combobox-group-BCdU5rML.js";
|
|
23
|
+
import { t as Yt } from "../../../7PRQYBBV-91wrWGjk.js";
|
|
24
|
+
import { C as Wu } from "../../../combobox-popover-D5bLZY4d.js";
|
|
25
|
+
import { u as tt } from "../../../J2LQO3EC-Cevd6Bvq.js";
|
|
26
|
+
import { C as Ku } from "../../../J2LQO3EC-Cevd6Bvq.js";
|
|
27
|
+
import { u as ot } from "../../../TP7N7UIH-D_nR5wDv.js";
|
|
28
|
+
import { C as Xu, S as Ju } from "../../../TP7N7UIH-D_nR5wDv.js";
|
|
29
|
+
import { u as rt } from "../../../5JTVDSTH-zDMMKAyC.js";
|
|
30
|
+
import { C as Yu } from "../../../5JTVDSTH-zDMMKAyC.js";
|
|
31
|
+
import { u as nt, a as st, c as Zt, d as eo } from "../../../YORGHBM4-6CReFG7i.js";
|
|
32
|
+
import { C as ei, b as ti, G as oi, e as ri } from "../../../YORGHBM4-6CReFG7i.js";
|
|
33
|
+
import { C as si } from "../../../UQQRIHDV-ULrGYPSq.js";
|
|
34
|
+
import { u as to } from "../../../6VRAQV3D-pLV6BqmA.js";
|
|
35
|
+
import { C as ui } from "../../../6VRAQV3D-pLV6BqmA.js";
|
|
36
|
+
import { C as ci } from "../../../composite-provider-DFOFHro7.js";
|
|
37
|
+
import { C as di } from "../../../T7VMP3TM-DZitNAMz.js";
|
|
38
|
+
import { F as oo, b as ro } from "../../../G7GW6PWC-DeYlSr7f.js";
|
|
39
|
+
import { D as vi, d as fi, P as pi, a as bi, e as Ci, R as hi, V as gi } from "../../../G7GW6PWC-DeYlSr7f.js";
|
|
40
|
+
import { f as no, b as so } from "../../../RS7LB2H4-D1_VRecC.js";
|
|
41
|
+
import { g as Si, h as Pi } from "../../../RS7LB2H4-D1_VRecC.js";
|
|
42
|
+
import { u as ao, b as uo } from "../../../TIW3GMFC-DPiX149D.js";
|
|
43
|
+
import { a as Fi, D as Ti, H as Ni } from "../../../TIW3GMFC-DPiX149D.js";
|
|
44
|
+
import { a as io } from "../../../BM6PGYQY-g6WySwtg.js";
|
|
45
|
+
import { D as yi } from "../../../KFH4SEIX-JLk95eQA.js";
|
|
46
|
+
import { D as Ii } from "../../../disclosure-provider-DIT2ijtk.js";
|
|
47
|
+
import { e as Z, r as ge, j as Te, g as co, u as lo } from "../../../PFRGBC2K-DmHoUTiZ.js";
|
|
48
|
+
import { m as Mi } from "../../../PFRGBC2K-DmHoUTiZ.js";
|
|
49
|
+
import { d as mo } from "../../../MR26YJYP-CDaPeerB.js";
|
|
50
|
+
import { H as $i, e as Ri } from "../../../MR26YJYP-CDaPeerB.js";
|
|
51
|
+
import { u as at } from "../../../tooltip-arrow-BRJ4m2ZL.js";
|
|
52
|
+
import { P as Li, b as Oi, a as Ai, c as Hi, T as Bi, d as Gi, e as ji } from "../../../tooltip-arrow-BRJ4m2ZL.js";
|
|
53
|
+
import { a as vo, b as fo, u as po, c as bo } from "../../../EM5CXX6A-BAj-o9Ka.js";
|
|
54
|
+
import { c as Co } from "../../../MTZPJQMC-CraWj4on.js";
|
|
55
|
+
import { u as Wi } from "../../../MTZPJQMC-CraWj4on.js";
|
|
56
|
+
import { b as Ki, a as zi, c as Xi, M as Ji, u as Qi } from "../../../menu-button-C-h3k7Gh.js";
|
|
57
|
+
import { f as ho, g as go, h as xo, b as ut, u as Ne, i as it } from "../../../VIIRIBF3-C4pOScX8.js";
|
|
58
|
+
import { j as Zi, c as ec } from "../../../VIIRIBF3-C4pOScX8.js";
|
|
59
|
+
import { u as So } from "../../../select-popover-DmN0T8PP.js";
|
|
60
|
+
import { P as oc, a as rc, e as nc, d as sc, c as ac, b as uc, S as ic, f as cc } from "../../../select-popover-DmN0T8PP.js";
|
|
61
|
+
import { u as ct } from "../../../2NBKRL7C-Cunv252F.js";
|
|
62
|
+
import { M as dc } from "../../../2NBKRL7C-Cunv252F.js";
|
|
63
|
+
import { M as vc } from "../../../menu-separator-CuuhJPnR.js";
|
|
64
|
+
import { P as pc } from "../../../popover-provider-BoZ9PI_r.js";
|
|
65
|
+
import { c as Po, e as ko, d as Fo, a as To, u as lt } from "../../../DG5U6ZEL-9kCi_mGg.js";
|
|
66
|
+
import { S as Cc } from "../../../select-value-DnWKxDD-.js";
|
|
67
|
+
import { T as gc } from "../../../tab-BXGTM7Se.js";
|
|
68
|
+
import { T as Sc } from "../../../tab-list-BPSxHllS.js";
|
|
69
|
+
import { T as kc } from "../../../tab-panel-fbUcLE4f.js";
|
|
70
|
+
import { T as Tc, u as Nc } from "../../../tab-provider-x586a8l7.js";
|
|
71
|
+
import { u as No } from "../../../toolbar-hQ58P-Nk.js";
|
|
72
|
+
import { T as yc } from "../../../toolbar-hQ58P-Nk.js";
|
|
73
|
+
import { u as dt } from "../../../IWEFDH56-DLJvQd6v.js";
|
|
74
|
+
import { T as Ic } from "../../../IWEFDH56-DLJvQd6v.js";
|
|
75
|
+
import { b as Do, u as mt } from "../../../A3WPL2ZJ-DEsxy0M-.js";
|
|
76
|
+
import { b as yo } from "../../../5VQZOHHZ-BbettT93.js";
|
|
77
|
+
import { T as Mc } from "../../../toolbar-separator-CN00-jyc.js";
|
|
78
|
+
import { u as $c } from "../../../WYCIER3C-BJwD0YDE.js";
|
|
79
|
+
import { u as Vc } from "../../../O2PQ2652-BCwdW7qA.js";
|
|
80
|
+
import { c as Oc } from "../../../UYGDZTLQ-CTQQ8oFQ.js";
|
|
81
|
+
function qs(r = {}) {
|
|
82
|
+
const e = No(r);
|
|
83
|
+
return /* @__PURE__ */ I(Do, { value: e, children: r.children });
|
|
79
84
|
}
|
|
80
|
-
var
|
|
81
|
-
function
|
|
82
|
-
|
|
83
|
-
const e =
|
|
84
|
-
return
|
|
85
|
+
var Eo = "div";
|
|
86
|
+
function Re(r) {
|
|
87
|
+
ge(r);
|
|
88
|
+
const e = Te(r);
|
|
89
|
+
return Z(r), e;
|
|
85
90
|
}
|
|
86
|
-
var vt =
|
|
91
|
+
var vt = C(function(e) {
|
|
87
92
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
88
|
-
const s =
|
|
93
|
+
const s = jt();
|
|
89
94
|
t = t || s;
|
|
90
|
-
const a =
|
|
95
|
+
const a = G(null), c = G(!1), u = (S = !1) => {
|
|
91
96
|
const M = a.current;
|
|
92
97
|
if (!M) return;
|
|
93
|
-
|
|
94
|
-
const F =
|
|
98
|
+
ge(M);
|
|
99
|
+
const F = Te(M);
|
|
95
100
|
if (!F) {
|
|
96
|
-
|
|
101
|
+
Z(M);
|
|
97
102
|
return;
|
|
98
103
|
}
|
|
99
104
|
c.current = !0, queueMicrotask(() => {
|
|
100
|
-
F.focus(), (
|
|
105
|
+
F.focus(), (ee(F) || F.isContentEditable) && yo(F, S);
|
|
101
106
|
});
|
|
102
107
|
}, i = () => {
|
|
103
|
-
const
|
|
104
|
-
|
|
108
|
+
const S = a.current;
|
|
109
|
+
S && (c.current = !1, Z(S));
|
|
105
110
|
}, m = ce(t, "renderedItems");
|
|
106
111
|
$(() => {
|
|
107
|
-
const
|
|
108
|
-
if (!
|
|
109
|
-
!c.current && (m != null && m.length) &&
|
|
112
|
+
const S = a.current;
|
|
113
|
+
if (!S) return;
|
|
114
|
+
!c.current && (m != null && m.length) && Z(S);
|
|
110
115
|
}, [m]);
|
|
111
|
-
const v = n.onFocus,
|
|
112
|
-
if (v == null || v(
|
|
116
|
+
const v = n.onFocus, f = E((S) => {
|
|
117
|
+
if (v == null || v(S), S.defaultPrevented || !t) return;
|
|
113
118
|
const M = c.current;
|
|
114
|
-
if (
|
|
119
|
+
if (ve(S)) {
|
|
115
120
|
c.current = !1;
|
|
116
121
|
const { baseElement: F } = t.getState(), R = F, q = R == null ? void 0 : R.querySelectorAll("[data-composite-container]");
|
|
117
122
|
if (q)
|
|
118
|
-
for (const
|
|
119
|
-
|
|
120
|
-
} else M || (c.current = !0,
|
|
121
|
-
}),
|
|
122
|
-
|
|
123
|
-
}),
|
|
124
|
-
if (
|
|
125
|
-
const M =
|
|
126
|
-
if (
|
|
127
|
-
if (
|
|
128
|
-
const F =
|
|
123
|
+
for (const N of q)
|
|
124
|
+
Z(N);
|
|
125
|
+
} else M || (c.current = !0, ge(S.currentTarget), t == null || t.setState("moves", 0));
|
|
126
|
+
}), p = n.onBlur, l = E((S) => {
|
|
127
|
+
p == null || p(S), !S.defaultPrevented && Et(S) && i();
|
|
128
|
+
}), b = n.onKeyDown, x = E((S) => {
|
|
129
|
+
if (b == null || b(S), S.defaultPrevented || S.altKey || S.ctrlKey || S.metaKey || S.shiftKey) return;
|
|
130
|
+
const M = S.currentTarget;
|
|
131
|
+
if (ve(S)) {
|
|
132
|
+
if (S.key.length === 1 && S.key !== " ") {
|
|
133
|
+
const F = Re(M);
|
|
129
134
|
if (!F) return;
|
|
130
|
-
(
|
|
131
|
-
} else if (
|
|
132
|
-
const F =
|
|
135
|
+
(ee(F) || F.isContentEditable) && (S.stopPropagation(), u());
|
|
136
|
+
} else if (S.key === "Delete" || S.key === "Backspace") {
|
|
137
|
+
const F = Re(M);
|
|
133
138
|
if (!F) return;
|
|
134
|
-
if (
|
|
139
|
+
if (ee(F) || F.isContentEditable) {
|
|
135
140
|
u();
|
|
136
141
|
const R = () => queueMicrotask(() => M.focus());
|
|
137
142
|
M.addEventListener("input", R, { once: !0 });
|
|
138
143
|
}
|
|
139
144
|
}
|
|
140
|
-
} else if (
|
|
145
|
+
} else if (S.key === "Escape")
|
|
141
146
|
queueMicrotask(() => M.focus());
|
|
142
|
-
else if (
|
|
143
|
-
const F =
|
|
144
|
-
(F.tagName === "INPUT" && !
|
|
147
|
+
else if (S.key === "Enter") {
|
|
148
|
+
const F = S.target;
|
|
149
|
+
(F.tagName === "INPUT" && !It(F) || F.tagName === "TEXTAREA" || F.isContentEditable) && (S.preventDefault(), queueMicrotask(() => M.focus()));
|
|
145
150
|
}
|
|
146
|
-
}),
|
|
147
|
-
|
|
151
|
+
}), P = n.onClick, T = E((S) => {
|
|
152
|
+
P == null || P(S), !S.defaultPrevented && ve(S) && !S.detail && u(!0);
|
|
148
153
|
});
|
|
149
|
-
return n =
|
|
154
|
+
return n = D(d({
|
|
150
155
|
"data-composite-container": ""
|
|
151
156
|
}, n), {
|
|
152
|
-
ref:
|
|
153
|
-
onFocus:
|
|
157
|
+
ref: A(a, n.ref),
|
|
158
|
+
onFocus: f,
|
|
154
159
|
onBlur: l,
|
|
155
160
|
onKeyDown: x,
|
|
156
161
|
onClick: T
|
|
157
|
-
}),
|
|
162
|
+
}), U(n);
|
|
158
163
|
});
|
|
159
|
-
|
|
164
|
+
h(function(e) {
|
|
160
165
|
const o = vt(e);
|
|
161
|
-
return
|
|
166
|
+
return g(Eo, o);
|
|
162
167
|
});
|
|
163
|
-
var
|
|
168
|
+
var Io = "div", _o = C(
|
|
164
169
|
function(e) {
|
|
165
170
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
166
171
|
const s = mt();
|
|
167
172
|
return t = t || s, n = vt(d({ store: t }, n)), n = dt(d({ store: t }, n)), n;
|
|
168
173
|
}
|
|
169
|
-
),
|
|
170
|
-
|
|
171
|
-
const o =
|
|
172
|
-
return
|
|
174
|
+
), Ks = V(
|
|
175
|
+
h(function(e) {
|
|
176
|
+
const o = _o(e);
|
|
177
|
+
return g(Io, o);
|
|
173
178
|
})
|
|
174
|
-
),
|
|
179
|
+
), Mo = "input", wo = C(
|
|
175
180
|
function(e) {
|
|
176
181
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
177
182
|
const s = mt();
|
|
178
183
|
return t = t || s, n = dt(d({ store: t }, n)), n;
|
|
179
184
|
}
|
|
180
|
-
),
|
|
181
|
-
|
|
182
|
-
const o =
|
|
183
|
-
return
|
|
185
|
+
), zs = V(
|
|
186
|
+
h(function(e) {
|
|
187
|
+
const o = wo(e);
|
|
188
|
+
return g(Mo, o);
|
|
184
189
|
})
|
|
185
190
|
);
|
|
186
|
-
function
|
|
191
|
+
function $o(r = {}) {
|
|
187
192
|
var e;
|
|
188
|
-
const o = (e = r.store) == null ? void 0 : e.getState(), t =
|
|
189
|
-
orientation:
|
|
193
|
+
const o = (e = r.store) == null ? void 0 : e.getState(), t = Ye(K(L({}, r), {
|
|
194
|
+
orientation: O(
|
|
190
195
|
r.orientation,
|
|
191
196
|
o == null ? void 0 : o.orientation,
|
|
192
197
|
"horizontal"
|
|
193
198
|
),
|
|
194
|
-
focusLoop:
|
|
195
|
-
})), n =
|
|
196
|
-
return
|
|
199
|
+
focusLoop: O(r.focusLoop, o == null ? void 0 : o.focusLoop, !0)
|
|
200
|
+
})), n = L({}, t.getState()), s = oe(n, t, r.store);
|
|
201
|
+
return L(L({}, t), s);
|
|
197
202
|
}
|
|
198
|
-
function
|
|
199
|
-
return
|
|
203
|
+
function Ro(r, e, o) {
|
|
204
|
+
return Ze(r, e, o);
|
|
200
205
|
}
|
|
201
|
-
function
|
|
202
|
-
const [e, o] = le(
|
|
203
|
-
return
|
|
206
|
+
function De(r = {}) {
|
|
207
|
+
const [e, o] = le($o, r);
|
|
208
|
+
return Ro(e, o, r);
|
|
204
209
|
}
|
|
205
|
-
var
|
|
210
|
+
var Vo = "div", ft = C(
|
|
206
211
|
function(e) {
|
|
207
212
|
var o = e, {
|
|
208
213
|
store: t,
|
|
@@ -219,167 +224,100 @@ var Ao = "div", pt = b(
|
|
|
219
224
|
"focusLoop",
|
|
220
225
|
"rtl"
|
|
221
226
|
]);
|
|
222
|
-
const m =
|
|
227
|
+
const m = ho();
|
|
223
228
|
t = t || m;
|
|
224
|
-
const v =
|
|
229
|
+
const v = De({
|
|
225
230
|
store: t,
|
|
226
231
|
orientation: s,
|
|
227
232
|
virtualFocus: a,
|
|
228
233
|
focusLoop: c,
|
|
229
234
|
rtl: u
|
|
230
|
-
}),
|
|
231
|
-
(
|
|
235
|
+
}), f = v.useState(
|
|
236
|
+
(p) => !n || p.orientation === "both" ? void 0 : p.orientation
|
|
232
237
|
);
|
|
233
238
|
return i = X(
|
|
234
239
|
i,
|
|
235
|
-
(
|
|
240
|
+
(p) => /* @__PURE__ */ I(go, { value: v, children: p }),
|
|
236
241
|
[v]
|
|
237
242
|
), n && (i = d({
|
|
238
243
|
role: "menubar",
|
|
239
|
-
"aria-orientation":
|
|
240
|
-
}, i)), i =
|
|
244
|
+
"aria-orientation": f
|
|
245
|
+
}, i)), i = rt(d({ store: v, composite: n }, i)), i;
|
|
241
246
|
}
|
|
242
|
-
),
|
|
243
|
-
const o =
|
|
244
|
-
return
|
|
247
|
+
), Xs = h(function(e) {
|
|
248
|
+
const o = ft(e);
|
|
249
|
+
return g(Vo, o);
|
|
245
250
|
});
|
|
246
|
-
function
|
|
247
|
-
const e =
|
|
248
|
-
return /* @__PURE__ */
|
|
251
|
+
function Lo(r = {}) {
|
|
252
|
+
const e = De(r);
|
|
253
|
+
return /* @__PURE__ */ I(xo, { value: e, children: r.children });
|
|
249
254
|
}
|
|
250
|
-
var
|
|
255
|
+
var Oo = "p", pt = C(function(e) {
|
|
251
256
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
252
|
-
const s =
|
|
253
|
-
return
|
|
257
|
+
const s = ne(no), a = W(n.id);
|
|
258
|
+
return Be(() => (s == null || s(a), () => s == null ? void 0 : s(void 0)), [s, a]), n = d({
|
|
254
259
|
id: a
|
|
255
|
-
}, n),
|
|
256
|
-
}),
|
|
257
|
-
const o =
|
|
258
|
-
return
|
|
259
|
-
}),
|
|
260
|
-
return e =
|
|
261
|
-
}),
|
|
260
|
+
}, n), U(n);
|
|
261
|
+
}), Js = h(function(e) {
|
|
262
|
+
const o = pt(e);
|
|
263
|
+
return g(Oo, o);
|
|
264
|
+
}), Ao = "p", bt = C(function(e) {
|
|
265
|
+
return e = pt(e), e;
|
|
266
|
+
}), Qs = h(function(e) {
|
|
262
267
|
const o = bt(e);
|
|
263
|
-
return
|
|
264
|
-
}),
|
|
265
|
-
function(e) {
|
|
266
|
-
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
267
|
-
const s = co();
|
|
268
|
-
t = t || s;
|
|
269
|
-
const a = n.onClick, c = _((i) => {
|
|
270
|
-
a == null || a(i), !i.defaultPrevented && (t == null || t.hide());
|
|
271
|
-
}), u = de(
|
|
272
|
-
() => /* @__PURE__ */ De(
|
|
273
|
-
"svg",
|
|
274
|
-
{
|
|
275
|
-
"aria-label": "Dismiss popup",
|
|
276
|
-
display: "block",
|
|
277
|
-
fill: "none",
|
|
278
|
-
stroke: "currentColor",
|
|
279
|
-
strokeLinecap: "round",
|
|
280
|
-
strokeLinejoin: "round",
|
|
281
|
-
strokeWidth: 1.5,
|
|
282
|
-
viewBox: "0 0 16 16",
|
|
283
|
-
height: "1em",
|
|
284
|
-
width: "1em",
|
|
285
|
-
children: [
|
|
286
|
-
/* @__PURE__ */ E("line", { x1: "4", y1: "4", x2: "12", y2: "12" }),
|
|
287
|
-
/* @__PURE__ */ E("line", { x1: "4", y1: "12", x2: "12", y2: "4" })
|
|
288
|
-
]
|
|
289
|
-
}
|
|
290
|
-
),
|
|
291
|
-
[]
|
|
292
|
-
);
|
|
293
|
-
return n = N(d({
|
|
294
|
-
"data-dialog-dismiss": "",
|
|
295
|
-
children: u
|
|
296
|
-
}, n), {
|
|
297
|
-
onClick: c
|
|
298
|
-
}), n = Y(n), n;
|
|
299
|
-
}
|
|
300
|
-
), ia = C(function(e) {
|
|
301
|
-
const o = Ct(e);
|
|
302
|
-
return h(Uo, o);
|
|
303
|
-
}), Wo = "button", $e = b(
|
|
268
|
+
return g(Ao, o);
|
|
269
|
+
}), Ho = "button", ye = C(
|
|
304
270
|
function(e) {
|
|
305
271
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
306
|
-
const s =
|
|
307
|
-
return t = t || s, n =
|
|
272
|
+
const s = Co();
|
|
273
|
+
return t = t || s, n = ao(d({ store: t }, n)), n;
|
|
308
274
|
}
|
|
309
|
-
),
|
|
310
|
-
const o =
|
|
311
|
-
return
|
|
312
|
-
}),
|
|
275
|
+
), Ys = h(function(e) {
|
|
276
|
+
const o = ye(e);
|
|
277
|
+
return g(Ho, o);
|
|
278
|
+
}), Bo = "h1", Ee = C(
|
|
313
279
|
function(e) {
|
|
314
|
-
|
|
315
|
-
() => !!s && /^h\d$/.test(s),
|
|
316
|
-
[s]
|
|
317
|
-
);
|
|
318
|
-
return e = N(d({
|
|
319
|
-
render: /* @__PURE__ */ E(n, {}),
|
|
320
|
-
role: a ? void 0 : "heading",
|
|
321
|
-
"aria-level": a ? void 0 : t
|
|
322
|
-
}, e), {
|
|
323
|
-
ref: O(o, e.ref)
|
|
324
|
-
}), e;
|
|
325
|
-
}
|
|
326
|
-
), la = C(function(e) {
|
|
327
|
-
const o = ht(e);
|
|
328
|
-
return h(qo, o);
|
|
329
|
-
}), Ko = "h1", gt = b(
|
|
330
|
-
function(e) {
|
|
331
|
-
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
332
|
-
const s = Z(lo), a = j(n.id);
|
|
333
|
-
return ke(() => (s == null || s(a), () => s == null ? void 0 : s(void 0)), [s, a]), n = d({
|
|
334
|
-
id: a
|
|
335
|
-
}, n), n = ht(n), n;
|
|
280
|
+
return e = uo(e), e;
|
|
336
281
|
}
|
|
337
|
-
),
|
|
338
|
-
const o =
|
|
339
|
-
return
|
|
340
|
-
}), zo = "h1", Re = b(
|
|
341
|
-
function(e) {
|
|
342
|
-
return e = gt(e), e;
|
|
343
|
-
}
|
|
344
|
-
), ma = C(function(e) {
|
|
345
|
-
const o = Re(e);
|
|
346
|
-
return h(zo, o);
|
|
282
|
+
), Zs = h(function(e) {
|
|
283
|
+
const o = Ee(e);
|
|
284
|
+
return g(Bo, o);
|
|
347
285
|
});
|
|
348
|
-
function
|
|
349
|
-
var e =
|
|
350
|
-
const t = (o = e.store) == null ? void 0 : o.getState(), n =
|
|
351
|
-
focusLoop:
|
|
352
|
-
})), s = K(
|
|
353
|
-
value:
|
|
286
|
+
function Go(r = {}) {
|
|
287
|
+
var e = _t(r, []), o;
|
|
288
|
+
const t = (o = e.store) == null ? void 0 : o.getState(), n = Ye(K(L({}, e), {
|
|
289
|
+
focusLoop: O(e.focusLoop, t == null ? void 0 : t.focusLoop, !0)
|
|
290
|
+
})), s = K(L({}, n.getState()), {
|
|
291
|
+
value: O(
|
|
354
292
|
e.value,
|
|
355
293
|
t == null ? void 0 : t.value,
|
|
356
294
|
e.defaultValue,
|
|
357
295
|
null
|
|
358
296
|
)
|
|
359
|
-
}), a =
|
|
360
|
-
return K(
|
|
297
|
+
}), a = oe(s, n, e.store);
|
|
298
|
+
return K(L(L({}, n), a), {
|
|
361
299
|
setValue: (c) => a.setState("value", c)
|
|
362
300
|
});
|
|
363
301
|
}
|
|
364
|
-
function
|
|
365
|
-
return r =
|
|
302
|
+
function jo(r, e, o) {
|
|
303
|
+
return r = Ze(r, e, o), te(r, o, "value", "setValue"), r;
|
|
366
304
|
}
|
|
367
|
-
function
|
|
368
|
-
const [e, o] = le(
|
|
369
|
-
return
|
|
305
|
+
function Uo(r = {}) {
|
|
306
|
+
const [e, o] = le(Go, r);
|
|
307
|
+
return jo(e, o, r);
|
|
370
308
|
}
|
|
371
|
-
var
|
|
372
|
-
[
|
|
373
|
-
[
|
|
374
|
-
),
|
|
375
|
-
function
|
|
309
|
+
var me = Se(
|
|
310
|
+
[Wt],
|
|
311
|
+
[Ut]
|
|
312
|
+
), Wo = me.useContext, qo = me.useProviderContext, Ko = me.ContextProvider, zo = me.ScopedContextProvider, Ct = "input";
|
|
313
|
+
function Xo(r, e) {
|
|
376
314
|
if (e !== void 0)
|
|
377
315
|
return r != null && e != null ? e === r : !!e;
|
|
378
316
|
}
|
|
379
|
-
function
|
|
317
|
+
function Jo(r, e) {
|
|
380
318
|
return r === "input" && (!e || e === "radio");
|
|
381
319
|
}
|
|
382
|
-
var
|
|
320
|
+
var Ie = C(function(e) {
|
|
383
321
|
var o = e, {
|
|
384
322
|
store: t,
|
|
385
323
|
name: n,
|
|
@@ -391,225 +329,225 @@ var Le = b(function(e) {
|
|
|
391
329
|
"value",
|
|
392
330
|
"checked"
|
|
393
331
|
]);
|
|
394
|
-
const u =
|
|
332
|
+
const u = Wo();
|
|
395
333
|
t = t || u;
|
|
396
|
-
const i =
|
|
334
|
+
const i = W(c.id), m = G(null), v = ce(
|
|
397
335
|
t,
|
|
398
|
-
(y) => a ??
|
|
336
|
+
(y) => a ?? Xo(s, y == null ? void 0 : y.value)
|
|
399
337
|
);
|
|
400
338
|
$(() => {
|
|
401
339
|
!i || !v || (t == null ? void 0 : t.getState().activeId) === i || t == null || t.setActiveId(i);
|
|
402
340
|
}, [t, v, i]);
|
|
403
|
-
const
|
|
341
|
+
const f = c.onChange, p = ie(m, Ct), l = Jo(p, c.type), b = Ge(c), [x, P] = je();
|
|
404
342
|
$(() => {
|
|
405
343
|
const y = m.current;
|
|
406
344
|
y && (l || (v !== void 0 && (y.checked = v), n !== void 0 && (y.name = n), s !== void 0 && (y.value = `${s}`)));
|
|
407
345
|
}, [x, l, v, n, s]);
|
|
408
|
-
const T =
|
|
409
|
-
if (
|
|
346
|
+
const T = E((y) => {
|
|
347
|
+
if (b) {
|
|
410
348
|
y.preventDefault(), y.stopPropagation();
|
|
411
349
|
return;
|
|
412
350
|
}
|
|
413
|
-
(t == null ? void 0 : t.getState().value) !== s && (l || (y.currentTarget.checked = !0,
|
|
414
|
-
}),
|
|
415
|
-
|
|
416
|
-
}), F = c.onFocus, R =
|
|
351
|
+
(t == null ? void 0 : t.getState().value) !== s && (l || (y.currentTarget.checked = !0, P()), f == null || f(y), !y.defaultPrevented && (t == null || t.setValue(s)));
|
|
352
|
+
}), S = c.onClick, M = E((y) => {
|
|
353
|
+
S == null || S(y), !y.defaultPrevented && (l || T(y));
|
|
354
|
+
}), F = c.onFocus, R = E((y) => {
|
|
417
355
|
if (F == null || F(y), y.defaultPrevented || !l || !t) return;
|
|
418
|
-
const { moves: q, activeId:
|
|
419
|
-
q && (i &&
|
|
356
|
+
const { moves: q, activeId: N } = t.getState();
|
|
357
|
+
q && (i && N !== i || T(y));
|
|
420
358
|
});
|
|
421
|
-
return c =
|
|
359
|
+
return c = D(d({
|
|
422
360
|
id: i,
|
|
423
361
|
role: l ? void 0 : "radio",
|
|
424
362
|
type: l ? "radio" : void 0,
|
|
425
363
|
"aria-checked": v
|
|
426
364
|
}, c), {
|
|
427
|
-
ref:
|
|
365
|
+
ref: A(m, c.ref),
|
|
428
366
|
onChange: T,
|
|
429
367
|
onClick: M,
|
|
430
368
|
onFocus: R
|
|
431
|
-
}), c =
|
|
369
|
+
}), c = to(d({
|
|
432
370
|
store: t,
|
|
433
371
|
clickOnEnter: !l
|
|
434
|
-
}, c)),
|
|
372
|
+
}, c)), U(d({
|
|
435
373
|
name: l ? n : void 0,
|
|
436
374
|
value: l ? s : void 0,
|
|
437
375
|
checked: v
|
|
438
376
|
}, c));
|
|
439
|
-
}),
|
|
440
|
-
|
|
441
|
-
const o =
|
|
442
|
-
return
|
|
377
|
+
}), ea = V(
|
|
378
|
+
h(function(e) {
|
|
379
|
+
const o = Ie(e);
|
|
380
|
+
return g(Ct, o);
|
|
443
381
|
})
|
|
444
382
|
);
|
|
445
|
-
function
|
|
446
|
-
const e =
|
|
447
|
-
return /* @__PURE__ */
|
|
383
|
+
function ta(r = {}) {
|
|
384
|
+
const e = Uo(r);
|
|
385
|
+
return /* @__PURE__ */ I(Ko, { value: e, children: r.children });
|
|
448
386
|
}
|
|
449
|
-
var
|
|
387
|
+
var Qo = "div", Yo = C(
|
|
450
388
|
function(e) {
|
|
451
389
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
452
|
-
const s =
|
|
453
|
-
return t = t || s,
|
|
390
|
+
const s = qo();
|
|
391
|
+
return t = t || s, _(
|
|
454
392
|
t,
|
|
455
393
|
process.env.NODE_ENV !== "production" && "RadioGroup must receive a `store` prop or be wrapped in a RadioProvider component."
|
|
456
394
|
), n = X(
|
|
457
395
|
n,
|
|
458
|
-
(a) => /* @__PURE__ */
|
|
396
|
+
(a) => /* @__PURE__ */ I(zo, { value: t, children: a }),
|
|
459
397
|
[t]
|
|
460
398
|
), n = d({
|
|
461
399
|
role: "radiogroup"
|
|
462
|
-
}, n), n =
|
|
400
|
+
}, n), n = rt(d({ store: t }, n)), n;
|
|
463
401
|
}
|
|
464
|
-
),
|
|
465
|
-
const o =
|
|
466
|
-
return
|
|
467
|
-
}),
|
|
402
|
+
), oa = h(function(e) {
|
|
403
|
+
const o = Yo(e);
|
|
404
|
+
return g(Qo, o);
|
|
405
|
+
}), Zo = "button", er = C(
|
|
468
406
|
function(e) {
|
|
469
407
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
470
|
-
const s =
|
|
471
|
-
return t = t || s, n =
|
|
408
|
+
const s = Po();
|
|
409
|
+
return t = t || s, n = ye(d({ store: t }, n)), n;
|
|
472
410
|
}
|
|
473
|
-
),
|
|
474
|
-
const o =
|
|
475
|
-
return
|
|
476
|
-
}),
|
|
411
|
+
), ra = h(function(e) {
|
|
412
|
+
const o = er(e);
|
|
413
|
+
return g(Zo, o);
|
|
414
|
+
}), tr = "div", or = C(
|
|
477
415
|
function(e) {
|
|
478
|
-
return e =
|
|
416
|
+
return e = nt(e), e;
|
|
479
417
|
}
|
|
480
|
-
),
|
|
481
|
-
const o =
|
|
482
|
-
return
|
|
483
|
-
}),
|
|
418
|
+
), na = h(function(e) {
|
|
419
|
+
const o = or(e);
|
|
420
|
+
return g(tr, o);
|
|
421
|
+
}), rr = "div", nr = C(
|
|
484
422
|
function(e) {
|
|
485
|
-
return e =
|
|
423
|
+
return e = st(e), e;
|
|
486
424
|
}
|
|
487
|
-
),
|
|
488
|
-
const o =
|
|
489
|
-
return
|
|
490
|
-
}),
|
|
425
|
+
), sa = h(function(e) {
|
|
426
|
+
const o = nr(e);
|
|
427
|
+
return g(rr, o);
|
|
428
|
+
}), sr = "h1", ar = C(
|
|
491
429
|
function(e) {
|
|
492
|
-
const [, o] =
|
|
493
|
-
return
|
|
430
|
+
const [, o] = ne(ko) || [], t = W(e.id);
|
|
431
|
+
return Be(() => (o == null || o(t), () => o == null ? void 0 : o(void 0)), [o, t]), e = d({
|
|
494
432
|
id: t
|
|
495
|
-
}, e), e =
|
|
433
|
+
}, e), e = Ee(e), e;
|
|
496
434
|
}
|
|
497
|
-
),
|
|
498
|
-
const o =
|
|
499
|
-
return
|
|
500
|
-
}),
|
|
435
|
+
), aa = h(function(e) {
|
|
436
|
+
const o = ar(e);
|
|
437
|
+
return g(sr, o);
|
|
438
|
+
}), ur = "span", ir = C(
|
|
501
439
|
function(e) {
|
|
502
440
|
var o = e, { store: t, checked: n } = o, s = k(o, ["store", "checked"]);
|
|
503
|
-
const a =
|
|
504
|
-
return n = n ?? a, s =
|
|
441
|
+
const a = ne(Fo);
|
|
442
|
+
return n = n ?? a, s = He(D(d({}, s), { checked: n })), s;
|
|
505
443
|
}
|
|
506
|
-
),
|
|
507
|
-
const o =
|
|
508
|
-
return
|
|
509
|
-
}),
|
|
444
|
+
), ua = h(function(e) {
|
|
445
|
+
const o = ir(e);
|
|
446
|
+
return g(ur, o);
|
|
447
|
+
}), cr = "div", lr = C(
|
|
510
448
|
function(e) {
|
|
511
449
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
512
|
-
const s =
|
|
513
|
-
t = t || s,
|
|
450
|
+
const s = To();
|
|
451
|
+
t = t || s, _(
|
|
514
452
|
t,
|
|
515
453
|
process.env.NODE_ENV !== "production" && "SelectLabel must receive a `store` prop or be wrapped in a SelectProvider component."
|
|
516
454
|
);
|
|
517
|
-
const a =
|
|
455
|
+
const a = W(n.id), c = n.onClick, u = E((i) => {
|
|
518
456
|
c == null || c(i), !i.defaultPrevented && queueMicrotask(() => {
|
|
519
457
|
const m = t == null ? void 0 : t.getState().selectElement;
|
|
520
458
|
m == null || m.focus();
|
|
521
459
|
});
|
|
522
460
|
});
|
|
523
|
-
return n =
|
|
461
|
+
return n = D(d({
|
|
524
462
|
id: a
|
|
525
463
|
}, n), {
|
|
526
|
-
ref:
|
|
464
|
+
ref: A(t.setLabelElement, n.ref),
|
|
527
465
|
onClick: u,
|
|
528
466
|
style: d({
|
|
529
467
|
cursor: "default"
|
|
530
468
|
}, n.style)
|
|
531
|
-
}),
|
|
469
|
+
}), U(n);
|
|
532
470
|
}
|
|
533
|
-
),
|
|
534
|
-
|
|
535
|
-
const o =
|
|
536
|
-
return
|
|
471
|
+
), ia = V(
|
|
472
|
+
h(function(e) {
|
|
473
|
+
const o = lr(e);
|
|
474
|
+
return g(cr, o);
|
|
537
475
|
})
|
|
538
|
-
),
|
|
476
|
+
), dr = "div", mr = C(
|
|
539
477
|
function(e) {
|
|
540
478
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
541
479
|
const s = lt();
|
|
542
|
-
t = t || s,
|
|
480
|
+
t = t || s, _(
|
|
543
481
|
t,
|
|
544
482
|
process.env.NODE_ENV !== "production" && "SelectRow must be wrapped in a SelectList or SelectPopover component"
|
|
545
483
|
);
|
|
546
|
-
const a = t.useState("listElement"), u =
|
|
547
|
-
return n = d({ role: u }, n), n =
|
|
484
|
+
const a = t.useState("listElement"), u = Ue(a) === "grid" ? "row" : "presentation";
|
|
485
|
+
return n = d({ role: u }, n), n = tt(d({ store: t }, n)), n;
|
|
548
486
|
}
|
|
549
|
-
),
|
|
550
|
-
const o =
|
|
551
|
-
return
|
|
552
|
-
}),
|
|
487
|
+
), ca = h(function(e) {
|
|
488
|
+
const o = mr(e);
|
|
489
|
+
return g(dr, o);
|
|
490
|
+
}), vr = "hr", fr = C(
|
|
553
491
|
function(e) {
|
|
554
492
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
555
493
|
const s = lt();
|
|
556
|
-
return t = t || s, n =
|
|
494
|
+
return t = t || s, n = ot(d({ store: t }, n)), n;
|
|
557
495
|
}
|
|
558
|
-
),
|
|
559
|
-
const o =
|
|
560
|
-
return
|
|
561
|
-
}),
|
|
496
|
+
), la = h(function(e) {
|
|
497
|
+
const o = fr(e);
|
|
498
|
+
return g(vr, o);
|
|
499
|
+
}), pr = "div", br = C(
|
|
562
500
|
function(e) {
|
|
563
501
|
var o = e, { enabled: t = !1 } = o, n = k(o, ["enabled"]);
|
|
564
|
-
const s =
|
|
502
|
+
const s = G(null);
|
|
565
503
|
return n = X(
|
|
566
504
|
n,
|
|
567
505
|
(a) => {
|
|
568
|
-
const c = () => t ? /* @__PURE__ */
|
|
569
|
-
|
|
506
|
+
const c = () => t ? /* @__PURE__ */ I(
|
|
507
|
+
oo,
|
|
570
508
|
{
|
|
571
509
|
onFocus: (u) => {
|
|
572
510
|
const i = s.current;
|
|
573
511
|
if (!i) return;
|
|
574
|
-
const m =
|
|
512
|
+
const m = co(i, !0), v = m[0], f = m[m.length - 1];
|
|
575
513
|
if (!m.length) {
|
|
576
514
|
i.focus();
|
|
577
515
|
return;
|
|
578
516
|
}
|
|
579
|
-
u.relatedTarget === v ?
|
|
517
|
+
u.relatedTarget === v ? f == null || f.focus() : v == null || v.focus();
|
|
580
518
|
}
|
|
581
519
|
}
|
|
582
520
|
) : null;
|
|
583
|
-
return /* @__PURE__ */
|
|
521
|
+
return /* @__PURE__ */ Xe(Gt, { children: [
|
|
584
522
|
c(),
|
|
585
523
|
a,
|
|
586
524
|
c()
|
|
587
525
|
] });
|
|
588
526
|
},
|
|
589
527
|
[t]
|
|
590
|
-
), n =
|
|
591
|
-
ref:
|
|
592
|
-
}),
|
|
528
|
+
), n = D(d({}, n), {
|
|
529
|
+
ref: A(s, n.ref)
|
|
530
|
+
}), U(n);
|
|
593
531
|
}
|
|
594
|
-
),
|
|
595
|
-
const o =
|
|
596
|
-
return
|
|
532
|
+
), da = h(function(e) {
|
|
533
|
+
const o = br(e);
|
|
534
|
+
return g(pr, o);
|
|
597
535
|
});
|
|
598
|
-
function
|
|
536
|
+
function Ve() {
|
|
599
537
|
return new Promise((r) => requestAnimationFrame(() => r()));
|
|
600
538
|
}
|
|
601
539
|
function J(r) {
|
|
602
|
-
return Object.keys(r).some((e) =>
|
|
540
|
+
return Object.keys(r).some((e) => ue(r[e]) ? J(r[e]) : !!r[e]);
|
|
603
541
|
}
|
|
604
|
-
function
|
|
542
|
+
function j(r, e, o) {
|
|
605
543
|
var t;
|
|
606
544
|
const [n, ...s] = Array.isArray(e) ? e : `${e}`.split(".");
|
|
607
|
-
return n == null || !r ? o : s.length ?
|
|
545
|
+
return n == null || !r ? o : s.length ? j(r[n], s, o) : (t = r[n]) != null ? t : o;
|
|
608
546
|
}
|
|
609
547
|
function Q(r, e, o) {
|
|
610
548
|
const [t, ...n] = Array.isArray(e) ? e : `${e}`.split(".");
|
|
611
549
|
if (t == null) return r;
|
|
612
|
-
const s = t, a =
|
|
550
|
+
const s = t, a = Mt(s), u = (a ? r || [] : r || {})[s], i = n.length && (Array.isArray(u) || ue(u)) ? Q(u, n, o) : o;
|
|
613
551
|
if (a) {
|
|
614
552
|
const m = Number(s);
|
|
615
553
|
if (r && Array.isArray(r))
|
|
@@ -621,17 +559,17 @@ function Q(r, e, o) {
|
|
|
621
559
|
const v = [];
|
|
622
560
|
return v[m] = i, v;
|
|
623
561
|
}
|
|
624
|
-
return K(
|
|
562
|
+
return K(L({}, r), { [s]: i });
|
|
625
563
|
}
|
|
626
|
-
function
|
|
564
|
+
function xe(r, e) {
|
|
627
565
|
const o = {}, t = Object.keys(r);
|
|
628
566
|
for (const n of t) {
|
|
629
567
|
const s = r[n];
|
|
630
|
-
Array.isArray(s) ? o[n] = s.map((a) =>
|
|
568
|
+
Array.isArray(s) ? o[n] = s.map((a) => ue(a) ? xe(a, e) : e) : ue(s) ? o[n] = xe(s, e) : o[n] = e;
|
|
631
569
|
}
|
|
632
570
|
return o;
|
|
633
571
|
}
|
|
634
|
-
function
|
|
572
|
+
function ht(r, e = []) {
|
|
635
573
|
return {
|
|
636
574
|
get(t, n) {
|
|
637
575
|
if (["toString", "valueOf", Symbol.toPrimitive].includes(n))
|
|
@@ -639,124 +577,124 @@ function Pt(r, e = []) {
|
|
|
639
577
|
const s = [...e, n], a = s.join(".");
|
|
640
578
|
if (r[a])
|
|
641
579
|
return r[a];
|
|
642
|
-
const c = new Proxy(t,
|
|
580
|
+
const c = new Proxy(t, ht(r, s));
|
|
643
581
|
return r[a] = c, c;
|
|
644
582
|
}
|
|
645
583
|
};
|
|
646
584
|
}
|
|
647
|
-
function
|
|
585
|
+
function Cr(r) {
|
|
648
586
|
return r == null ? void 0 : r.__unstableCallbacks;
|
|
649
587
|
}
|
|
650
|
-
function
|
|
588
|
+
function hr() {
|
|
651
589
|
const r = /* @__PURE__ */ Object.create(null);
|
|
652
|
-
return new Proxy(/* @__PURE__ */ Object.create(null),
|
|
590
|
+
return new Proxy(/* @__PURE__ */ Object.create(null), ht(r));
|
|
653
591
|
}
|
|
654
|
-
function
|
|
592
|
+
function gr(r = {}) {
|
|
655
593
|
var e;
|
|
656
|
-
|
|
657
|
-
const o = (e = r.store) == null ? void 0 : e.getState(), t =
|
|
594
|
+
qe(r, r.store);
|
|
595
|
+
const o = (e = r.store) == null ? void 0 : e.getState(), t = Kt(r), n = O(
|
|
658
596
|
r.values,
|
|
659
597
|
o == null ? void 0 : o.values,
|
|
660
598
|
r.defaultValues,
|
|
661
599
|
{}
|
|
662
|
-
), s =
|
|
600
|
+
), s = O(
|
|
663
601
|
r.errors,
|
|
664
602
|
o == null ? void 0 : o.errors,
|
|
665
603
|
r.defaultErrors,
|
|
666
604
|
{}
|
|
667
|
-
), a =
|
|
605
|
+
), a = O(
|
|
668
606
|
r.touched,
|
|
669
607
|
o == null ? void 0 : o.touched,
|
|
670
608
|
r.defaultTouched,
|
|
671
609
|
{}
|
|
672
|
-
), c = K(
|
|
610
|
+
), c = K(L({}, t.getState()), {
|
|
673
611
|
values: n,
|
|
674
612
|
errors: s,
|
|
675
613
|
touched: a,
|
|
676
|
-
validating:
|
|
677
|
-
submitting:
|
|
678
|
-
submitSucceed:
|
|
679
|
-
submitFailed:
|
|
614
|
+
validating: O(o == null ? void 0 : o.validating, !1),
|
|
615
|
+
submitting: O(o == null ? void 0 : o.submitting, !1),
|
|
616
|
+
submitSucceed: O(o == null ? void 0 : o.submitSucceed, 0),
|
|
617
|
+
submitFailed: O(o == null ? void 0 : o.submitFailed, 0),
|
|
680
618
|
valid: !J(s)
|
|
681
|
-
}), u =
|
|
619
|
+
}), u = oe(c, t, r.store), i = Cr(r.store), m = i == null ? void 0 : i.getState(), v = {
|
|
682
620
|
validate: (m == null ? void 0 : m.validate) || [],
|
|
683
621
|
submit: (m == null ? void 0 : m.submit) || []
|
|
684
|
-
},
|
|
685
|
-
|
|
622
|
+
}, f = oe(v, i);
|
|
623
|
+
$e(u, () => Ht(f)), $e(
|
|
686
624
|
u,
|
|
687
|
-
() =>
|
|
625
|
+
() => Ke(u, ["validating", "errors"], (l) => {
|
|
688
626
|
l.validating || u.setState("valid", !J(l.errors));
|
|
689
627
|
})
|
|
690
628
|
);
|
|
691
|
-
const
|
|
629
|
+
const p = async () => {
|
|
692
630
|
u.setState("validating", !0), u.setState("errors", {});
|
|
693
|
-
const l =
|
|
631
|
+
const l = f.getState().validate;
|
|
694
632
|
try {
|
|
695
|
-
for (const
|
|
696
|
-
await
|
|
697
|
-
return await
|
|
633
|
+
for (const b of l)
|
|
634
|
+
await b(u.getState());
|
|
635
|
+
return await Ve(), !J(u.getState().errors);
|
|
698
636
|
} finally {
|
|
699
637
|
u.setState("validating", !1);
|
|
700
638
|
}
|
|
701
639
|
};
|
|
702
|
-
return K(
|
|
703
|
-
names:
|
|
640
|
+
return K(L(L({}, t), u), {
|
|
641
|
+
names: hr(),
|
|
704
642
|
setValues: (l) => u.setState("values", l),
|
|
705
|
-
getValue: (l) =>
|
|
706
|
-
setValue: (l,
|
|
707
|
-
const
|
|
708
|
-
return T ===
|
|
643
|
+
getValue: (l) => j(u.getState().values, l),
|
|
644
|
+
setValue: (l, b) => u.setState("values", (x) => {
|
|
645
|
+
const P = j(x, l), T = fe(b, P);
|
|
646
|
+
return T === P ? x : Q(x, l, T);
|
|
709
647
|
}),
|
|
710
|
-
pushValue: (l,
|
|
711
|
-
const
|
|
712
|
-
return Q(x, l, [...
|
|
648
|
+
pushValue: (l, b) => u.setState("values", (x) => {
|
|
649
|
+
const P = j(x, l, []);
|
|
650
|
+
return Q(x, l, [...P, b]);
|
|
713
651
|
}),
|
|
714
|
-
removeValue: (l,
|
|
715
|
-
const
|
|
652
|
+
removeValue: (l, b) => u.setState("values", (x) => {
|
|
653
|
+
const P = j(x, l, []);
|
|
716
654
|
return Q(x, l, [
|
|
717
|
-
...
|
|
655
|
+
...P.slice(0, b),
|
|
718
656
|
null,
|
|
719
|
-
...
|
|
657
|
+
...P.slice(b + 1)
|
|
720
658
|
]);
|
|
721
659
|
}),
|
|
722
660
|
setErrors: (l) => u.setState("errors", l),
|
|
723
|
-
getError: (l) =>
|
|
724
|
-
setError: (l,
|
|
725
|
-
const
|
|
726
|
-
return T ===
|
|
661
|
+
getError: (l) => j(u.getState().errors, l),
|
|
662
|
+
setError: (l, b) => u.setState("errors", (x) => {
|
|
663
|
+
const P = j(x, l), T = fe(b, P);
|
|
664
|
+
return T === P ? x : Q(x, l, T);
|
|
727
665
|
}),
|
|
728
666
|
setTouched: (l) => u.setState("touched", l),
|
|
729
|
-
getFieldTouched: (l) => !!
|
|
730
|
-
setFieldTouched: (l,
|
|
731
|
-
const
|
|
732
|
-
return T ===
|
|
667
|
+
getFieldTouched: (l) => !!j(u.getState().touched, l),
|
|
668
|
+
setFieldTouched: (l, b) => u.setState("touched", (x) => {
|
|
669
|
+
const P = j(x, l), T = fe(b, P);
|
|
670
|
+
return T === P ? x : Q(x, l, T);
|
|
733
671
|
}),
|
|
734
|
-
onValidate: (l) => (
|
|
735
|
-
|
|
672
|
+
onValidate: (l) => (f.setState("validate", (b) => [...b, l]), () => {
|
|
673
|
+
f.setState(
|
|
736
674
|
"validate",
|
|
737
|
-
(
|
|
675
|
+
(b) => b.filter((x) => x !== l)
|
|
738
676
|
);
|
|
739
677
|
}),
|
|
740
|
-
validate:
|
|
741
|
-
onSubmit: (l) => (
|
|
742
|
-
|
|
678
|
+
validate: p,
|
|
679
|
+
onSubmit: (l) => (f.setState("submit", (b) => [...b, l]), () => {
|
|
680
|
+
f.setState(
|
|
743
681
|
"submit",
|
|
744
|
-
(
|
|
682
|
+
(b) => b.filter((x) => x !== l)
|
|
745
683
|
);
|
|
746
684
|
}),
|
|
747
685
|
submit: async () => {
|
|
748
|
-
u.setState("submitting", !0), u.setState("touched",
|
|
686
|
+
u.setState("submitting", !0), u.setState("touched", xe(u.getState().values, !0));
|
|
749
687
|
try {
|
|
750
|
-
if (await
|
|
751
|
-
const l =
|
|
752
|
-
for (const
|
|
753
|
-
await
|
|
754
|
-
if (await
|
|
755
|
-
return u.setState("submitSucceed", (
|
|
688
|
+
if (await p()) {
|
|
689
|
+
const l = f.getState().submit;
|
|
690
|
+
for (const b of l)
|
|
691
|
+
await b(u.getState());
|
|
692
|
+
if (await Ve(), !J(u.getState().errors))
|
|
693
|
+
return u.setState("submitSucceed", (b) => b + 1), !0;
|
|
756
694
|
}
|
|
757
695
|
return u.setState("submitFailed", (l) => l + 1), !1;
|
|
758
696
|
} catch (l) {
|
|
759
|
-
throw u.setState("submitFailed", (
|
|
697
|
+
throw u.setState("submitFailed", (b) => b + 1), l;
|
|
760
698
|
} finally {
|
|
761
699
|
u.setState("submitting", !1);
|
|
762
700
|
}
|
|
@@ -765,31 +703,31 @@ function Nr(r = {}) {
|
|
|
765
703
|
u.setState("values", n), u.setState("errors", s), u.setState("touched", a), u.setState("validating", !1), u.setState("submitting", !1), u.setState("submitSucceed", 0), u.setState("submitFailed", 0), u.setState("valid", !J(s));
|
|
766
704
|
},
|
|
767
705
|
// @ts-expect-error Internal
|
|
768
|
-
__unstableCallbacks:
|
|
706
|
+
__unstableCallbacks: f
|
|
769
707
|
});
|
|
770
708
|
}
|
|
771
|
-
function
|
|
772
|
-
r =
|
|
709
|
+
function xr(r, e, o) {
|
|
710
|
+
r = zt(r, e, o), te(r, o, "values", "setValues"), te(r, o, "errors", "setErrors"), te(r, o, "touched", "setTouched");
|
|
773
711
|
const t = z(
|
|
774
712
|
(a) => r.useState(() => r.getValue(a)),
|
|
775
713
|
[r]
|
|
776
714
|
), n = z(
|
|
777
715
|
(a) => {
|
|
778
|
-
a =
|
|
716
|
+
a = E(a);
|
|
779
717
|
const c = r.useState("items");
|
|
780
718
|
$(() => r.onValidate(a), [c, a]);
|
|
781
719
|
},
|
|
782
720
|
[r]
|
|
783
721
|
), s = z(
|
|
784
722
|
(a) => {
|
|
785
|
-
a =
|
|
723
|
+
a = E(a);
|
|
786
724
|
const c = r.useState("items");
|
|
787
725
|
$(() => r.onSubmit(a), [c, a]);
|
|
788
726
|
},
|
|
789
727
|
[r]
|
|
790
728
|
);
|
|
791
|
-
return
|
|
792
|
-
() =>
|
|
729
|
+
return ze(
|
|
730
|
+
() => D(d({}, r), {
|
|
793
731
|
useValue: t,
|
|
794
732
|
useValidate: n,
|
|
795
733
|
useSubmit: s
|
|
@@ -797,20 +735,20 @@ function Dr(r, e, o) {
|
|
|
797
735
|
[]
|
|
798
736
|
);
|
|
799
737
|
}
|
|
800
|
-
function
|
|
801
|
-
const [e, o] = le(
|
|
802
|
-
return
|
|
738
|
+
function Sr(r = {}) {
|
|
739
|
+
const [e, o] = le(gr, r);
|
|
740
|
+
return xr(e, o, r);
|
|
803
741
|
}
|
|
804
|
-
var
|
|
805
|
-
[
|
|
806
|
-
[
|
|
807
|
-
),
|
|
808
|
-
function
|
|
742
|
+
var _e = Se(
|
|
743
|
+
[Qe],
|
|
744
|
+
[Je]
|
|
745
|
+
), H = _e.useContext, Pr = _e.ContextProvider, kr = _e.ScopedContextProvider, gt = "form";
|
|
746
|
+
function Fr(r, e) {
|
|
809
747
|
return e.some(
|
|
810
748
|
(o) => o.type === "field" && o.element === r
|
|
811
749
|
);
|
|
812
750
|
}
|
|
813
|
-
function
|
|
751
|
+
function Tr(r) {
|
|
814
752
|
return r.find(
|
|
815
753
|
(e) => {
|
|
816
754
|
var o;
|
|
@@ -818,7 +756,7 @@ function Mr(r) {
|
|
|
818
756
|
}
|
|
819
757
|
);
|
|
820
758
|
}
|
|
821
|
-
var
|
|
759
|
+
var Nr = C(function(e) {
|
|
822
760
|
var o = e, {
|
|
823
761
|
store: t,
|
|
824
762
|
validateOnChange: n = !0,
|
|
@@ -834,67 +772,67 @@ var wr = b(function(e) {
|
|
|
834
772
|
"resetOnSubmit",
|
|
835
773
|
"autoFocusOnSubmit"
|
|
836
774
|
]);
|
|
837
|
-
const m =
|
|
838
|
-
t = t || m,
|
|
775
|
+
const m = H();
|
|
776
|
+
t = t || m, _(
|
|
839
777
|
t,
|
|
840
778
|
process.env.NODE_ENV !== "production" && "Form must receive a `store` prop or be wrapped in a FormProvider component."
|
|
841
779
|
);
|
|
842
|
-
const v =
|
|
780
|
+
const v = G(null), f = t.useState("values"), p = t.useState("submitSucceed"), l = t.useState("submitFailed"), b = t.useState("items"), x = Pe(f);
|
|
843
781
|
$(
|
|
844
782
|
() => a ? t == null ? void 0 : t.reset : void 0,
|
|
845
783
|
[a, t]
|
|
846
|
-
),
|
|
847
|
-
n &&
|
|
848
|
-
}, [n,
|
|
849
|
-
c &&
|
|
850
|
-
}, [c,
|
|
851
|
-
const [
|
|
784
|
+
), We(() => {
|
|
785
|
+
n && f !== x && (t == null || t.validate());
|
|
786
|
+
}, [n, f, x, t]), $(() => {
|
|
787
|
+
c && p && (t == null || t.reset());
|
|
788
|
+
}, [c, p, t]);
|
|
789
|
+
const [P, T] = de(!1);
|
|
852
790
|
$(() => {
|
|
853
|
-
if (!
|
|
854
|
-
const w =
|
|
855
|
-
|
|
856
|
-
}, [u, l,
|
|
857
|
-
const
|
|
858
|
-
|
|
859
|
-
}), F = i.onBlur, R =
|
|
860
|
-
F == null || F(w), !w.defaultPrevented && s && t &&
|
|
861
|
-
}), y = i.onReset, q =
|
|
791
|
+
if (!P || !l) return;
|
|
792
|
+
const w = Tr(b), B = w == null ? void 0 : w.element;
|
|
793
|
+
B && (T(!1), B.focus(), ee(B) && B.select());
|
|
794
|
+
}, [u, l, b]);
|
|
795
|
+
const S = i.onSubmit, M = E((w) => {
|
|
796
|
+
S == null || S(w), !w.defaultPrevented && (w.preventDefault(), t == null || t.submit(), u && T(!0));
|
|
797
|
+
}), F = i.onBlur, R = E((w) => {
|
|
798
|
+
F == null || F(w), !w.defaultPrevented && s && t && Fr(w.target, t.getState().items) && t.validate();
|
|
799
|
+
}), y = i.onReset, q = E((w) => {
|
|
862
800
|
y == null || y(w), !w.defaultPrevented && (w.preventDefault(), t == null || t.reset());
|
|
863
801
|
});
|
|
864
802
|
i = X(
|
|
865
803
|
i,
|
|
866
|
-
(w) => /* @__PURE__ */
|
|
804
|
+
(w) => /* @__PURE__ */ I(kr, { value: t, children: w }),
|
|
867
805
|
[t]
|
|
868
806
|
);
|
|
869
|
-
const
|
|
870
|
-
return i =
|
|
871
|
-
role:
|
|
807
|
+
const N = ie(v, gt);
|
|
808
|
+
return i = D(d({
|
|
809
|
+
role: N !== "form" ? "form" : void 0,
|
|
872
810
|
noValidate: !0
|
|
873
811
|
}, i), {
|
|
874
|
-
ref:
|
|
812
|
+
ref: A(v, i.ref),
|
|
875
813
|
onSubmit: M,
|
|
876
814
|
onBlur: R,
|
|
877
815
|
onReset: q
|
|
878
816
|
}), i;
|
|
879
|
-
}),
|
|
880
|
-
const o =
|
|
881
|
-
return
|
|
817
|
+
}), ma = h(function(e) {
|
|
818
|
+
const o = Nr(e);
|
|
819
|
+
return g(gt, o);
|
|
882
820
|
});
|
|
883
|
-
function
|
|
884
|
-
const e =
|
|
885
|
-
return /* @__PURE__ */
|
|
821
|
+
function va(r = {}) {
|
|
822
|
+
const e = Sr(r);
|
|
823
|
+
return /* @__PURE__ */ I(Pr, { value: e, children: r.children });
|
|
886
824
|
}
|
|
887
|
-
var
|
|
888
|
-
function
|
|
825
|
+
var Dr = "input";
|
|
826
|
+
function yr(r, e) {
|
|
889
827
|
const o = r.current;
|
|
890
|
-
return o ? o.name === e ? o : o.form ? o.form.elements.namedItem(e) :
|
|
828
|
+
return o ? o.name === e ? o : o.form ? o.form.elements.namedItem(e) : Rt(o).getElementsByName(e)[0] : null;
|
|
891
829
|
}
|
|
892
|
-
function
|
|
830
|
+
function be(r, e, o) {
|
|
893
831
|
return r.useState(
|
|
894
832
|
(t) => t.items.find((n) => n.type === o && n.name === e)
|
|
895
833
|
);
|
|
896
834
|
}
|
|
897
|
-
var
|
|
835
|
+
var ae = C(
|
|
898
836
|
function(e) {
|
|
899
837
|
var o = e, {
|
|
900
838
|
store: t,
|
|
@@ -907,80 +845,80 @@ var ue = b(
|
|
|
907
845
|
"getItem",
|
|
908
846
|
"touchOnBlur"
|
|
909
847
|
]);
|
|
910
|
-
const u =
|
|
911
|
-
t = t || u,
|
|
848
|
+
const u = H();
|
|
849
|
+
t = t || u, _(
|
|
912
850
|
t,
|
|
913
851
|
process.env.NODE_ENV !== "production" && "FormControl must be wrapped in a Form component."
|
|
914
852
|
);
|
|
915
|
-
const i = `${n}`, m =
|
|
853
|
+
const i = `${n}`, m = W(c.id), v = G(null);
|
|
916
854
|
t.useValidate(async () => {
|
|
917
|
-
const F =
|
|
855
|
+
const F = yr(v, i);
|
|
918
856
|
F && (await Promise.resolve(), "validity" in F && !F.validity.valid && (t == null || t.setError(i, F.validationMessage)));
|
|
919
857
|
});
|
|
920
|
-
const
|
|
858
|
+
const f = z(
|
|
921
859
|
(F) => {
|
|
922
|
-
const R =
|
|
860
|
+
const R = D(d({}, F), { id: m || F.id, name: i, type: "field" });
|
|
923
861
|
return s ? s(R) : R;
|
|
924
862
|
},
|
|
925
863
|
[m, i, s]
|
|
926
|
-
),
|
|
927
|
-
|
|
928
|
-
}), x =
|
|
929
|
-
|
|
864
|
+
), p = c.onBlur, l = wt(a), b = E((F) => {
|
|
865
|
+
p == null || p(F), !F.defaultPrevented && l(F) && (t == null || t.setFieldTouched(i, !0));
|
|
866
|
+
}), x = be(t, i, "label"), P = be(t, i, "error"), T = be(t, i, "description"), S = $t(
|
|
867
|
+
P == null ? void 0 : P.id,
|
|
930
868
|
T == null ? void 0 : T.id,
|
|
931
869
|
c["aria-describedby"]
|
|
932
870
|
), M = t.useState(
|
|
933
871
|
() => !!(t != null && t.getError(i)) && t.getFieldTouched(i)
|
|
934
872
|
);
|
|
935
|
-
return c =
|
|
873
|
+
return c = D(d({
|
|
936
874
|
id: m,
|
|
937
875
|
"aria-labelledby": x == null ? void 0 : x.id,
|
|
938
876
|
"aria-invalid": M
|
|
939
877
|
}, c), {
|
|
940
|
-
"aria-describedby":
|
|
941
|
-
ref:
|
|
942
|
-
onBlur:
|
|
943
|
-
}), c =
|
|
878
|
+
"aria-describedby": S || void 0,
|
|
879
|
+
ref: A(v, c.ref),
|
|
880
|
+
onBlur: b
|
|
881
|
+
}), c = se(D(d({ store: t }, c), { name: i, getItem: f })), c;
|
|
944
882
|
}
|
|
945
|
-
),
|
|
946
|
-
|
|
947
|
-
const o =
|
|
948
|
-
return
|
|
883
|
+
), fa = V(
|
|
884
|
+
h(function(e) {
|
|
885
|
+
const o = ae(e);
|
|
886
|
+
return g(Dr, o);
|
|
949
887
|
})
|
|
950
888
|
);
|
|
951
|
-
function
|
|
889
|
+
function Er(r = {}) {
|
|
952
890
|
var e;
|
|
953
|
-
|
|
891
|
+
qe(r, r.store);
|
|
954
892
|
const o = (e = r.store) == null ? void 0 : e.getState(), t = {
|
|
955
|
-
value:
|
|
893
|
+
value: O(
|
|
956
894
|
r.value,
|
|
957
895
|
o == null ? void 0 : o.value,
|
|
958
896
|
r.defaultValue,
|
|
959
897
|
!1
|
|
960
898
|
)
|
|
961
|
-
}, n =
|
|
962
|
-
return K(
|
|
899
|
+
}, n = oe(t, r.store);
|
|
900
|
+
return K(L({}, n), {
|
|
963
901
|
setValue: (s) => n.setState("value", s)
|
|
964
902
|
});
|
|
965
903
|
}
|
|
966
|
-
function
|
|
967
|
-
return
|
|
904
|
+
function Ir(r, e, o) {
|
|
905
|
+
return We(e, [o.store]), te(r, o, "value", "setValue"), r;
|
|
968
906
|
}
|
|
969
|
-
function
|
|
970
|
-
const [e, o] = le(
|
|
971
|
-
return
|
|
907
|
+
function Me(r = {}) {
|
|
908
|
+
const [e, o] = le(Er, r);
|
|
909
|
+
return Ir(e, o, r);
|
|
972
910
|
}
|
|
973
|
-
var
|
|
974
|
-
function
|
|
911
|
+
var xt = Se(), _r = xt.useContext, Mr = xt.ContextProvider, St = "input";
|
|
912
|
+
function Le(r, e) {
|
|
975
913
|
e ? r.indeterminate = !0 : r.indeterminate && (r.indeterminate = !1);
|
|
976
914
|
}
|
|
977
|
-
function
|
|
915
|
+
function wr(r, e) {
|
|
978
916
|
return r === "input" && (!e || e === "checkbox");
|
|
979
917
|
}
|
|
980
|
-
function
|
|
918
|
+
function Oe(r) {
|
|
981
919
|
return Array.isArray(r) ? r.toString() : r;
|
|
982
920
|
}
|
|
983
|
-
var
|
|
921
|
+
var we = C(
|
|
984
922
|
function(e) {
|
|
985
923
|
var o = e, {
|
|
986
924
|
store: t,
|
|
@@ -995,61 +933,61 @@ var He = b(
|
|
|
995
933
|
"checked",
|
|
996
934
|
"defaultChecked"
|
|
997
935
|
]);
|
|
998
|
-
const i =
|
|
936
|
+
const i = _r();
|
|
999
937
|
t = t || i;
|
|
1000
|
-
const [m, v] =
|
|
938
|
+
const [m, v] = de(c ?? !1), f = ce(t, (N) => {
|
|
1001
939
|
if (a !== void 0) return a;
|
|
1002
|
-
if ((
|
|
940
|
+
if ((N == null ? void 0 : N.value) === void 0) return m;
|
|
1003
941
|
if (s != null) {
|
|
1004
|
-
if (Array.isArray(
|
|
1005
|
-
const w =
|
|
1006
|
-
return
|
|
942
|
+
if (Array.isArray(N.value)) {
|
|
943
|
+
const w = Oe(s);
|
|
944
|
+
return N.value.includes(w);
|
|
1007
945
|
}
|
|
1008
|
-
return
|
|
946
|
+
return N.value === s;
|
|
1009
947
|
}
|
|
1010
|
-
return Array.isArray(
|
|
1011
|
-
}),
|
|
948
|
+
return Array.isArray(N.value) ? !1 : typeof N.value == "boolean" ? N.value : !1;
|
|
949
|
+
}), p = G(null), l = ie(p, St), b = wr(l, u.type), x = f ? f === "mixed" : void 0, P = f === "mixed" ? !1 : f, T = Ge(u), [S, M] = je();
|
|
1012
950
|
$(() => {
|
|
1013
|
-
const
|
|
1014
|
-
|
|
1015
|
-
}, [
|
|
1016
|
-
const F = u.onChange, R =
|
|
951
|
+
const N = p.current;
|
|
952
|
+
N && (Le(N, x), !b && (N.checked = P, n !== void 0 && (N.name = n), s !== void 0 && (N.value = `${s}`)));
|
|
953
|
+
}, [S, x, b, P, n, s]);
|
|
954
|
+
const F = u.onChange, R = E((N) => {
|
|
1017
955
|
if (T) {
|
|
1018
|
-
|
|
956
|
+
N.stopPropagation(), N.preventDefault();
|
|
1019
957
|
return;
|
|
1020
958
|
}
|
|
1021
|
-
if (
|
|
1022
|
-
const w =
|
|
1023
|
-
v(w), t == null || t.setValue((
|
|
959
|
+
if (Le(N.currentTarget, x), b || (N.currentTarget.checked = !N.currentTarget.checked, M()), F == null || F(N), N.defaultPrevented) return;
|
|
960
|
+
const w = N.currentTarget.checked;
|
|
961
|
+
v(w), t == null || t.setValue((B) => {
|
|
1024
962
|
if (s == null) return w;
|
|
1025
|
-
const
|
|
1026
|
-
return Array.isArray(
|
|
963
|
+
const Y = Oe(s);
|
|
964
|
+
return Array.isArray(B) ? w ? B.includes(Y) ? B : [...B, Y] : B.filter((Nt) => Nt !== Y) : B === Y ? !1 : Y;
|
|
1027
965
|
});
|
|
1028
|
-
}), y = u.onClick, q =
|
|
1029
|
-
y == null || y(
|
|
966
|
+
}), y = u.onClick, q = E((N) => {
|
|
967
|
+
y == null || y(N), !N.defaultPrevented && (b || R(N));
|
|
1030
968
|
});
|
|
1031
969
|
return u = X(
|
|
1032
970
|
u,
|
|
1033
|
-
(
|
|
1034
|
-
[
|
|
1035
|
-
), u =
|
|
1036
|
-
role:
|
|
1037
|
-
type:
|
|
1038
|
-
"aria-checked":
|
|
971
|
+
(N) => /* @__PURE__ */ I(Dt.Provider, { value: P, children: N }),
|
|
972
|
+
[P]
|
|
973
|
+
), u = D(d({
|
|
974
|
+
role: b ? void 0 : "checkbox",
|
|
975
|
+
type: b ? "checkbox" : void 0,
|
|
976
|
+
"aria-checked": f
|
|
1039
977
|
}, u), {
|
|
1040
|
-
ref:
|
|
978
|
+
ref: A(p, u.ref),
|
|
1041
979
|
onChange: R,
|
|
1042
980
|
onClick: q
|
|
1043
|
-
}), u =
|
|
1044
|
-
name:
|
|
1045
|
-
value:
|
|
1046
|
-
checked:
|
|
981
|
+
}), u = At(d({ clickOnEnter: !b }, u)), U(d({
|
|
982
|
+
name: b ? n : void 0,
|
|
983
|
+
value: b ? s : void 0,
|
|
984
|
+
checked: P
|
|
1047
985
|
}, u));
|
|
1048
986
|
}
|
|
1049
|
-
),
|
|
1050
|
-
const o =
|
|
1051
|
-
return
|
|
1052
|
-
}),
|
|
987
|
+
), pa = h(function(e) {
|
|
988
|
+
const o = we(e);
|
|
989
|
+
return g(St, o);
|
|
990
|
+
}), $r = "input", Rr = C(
|
|
1053
991
|
function(e) {
|
|
1054
992
|
var o = e, {
|
|
1055
993
|
store: t,
|
|
@@ -1064,27 +1002,27 @@ var He = b(
|
|
|
1064
1002
|
"checked",
|
|
1065
1003
|
"defaultChecked"
|
|
1066
1004
|
]);
|
|
1067
|
-
const i =
|
|
1068
|
-
t = t || i,
|
|
1005
|
+
const i = H();
|
|
1006
|
+
t = t || i, _(
|
|
1069
1007
|
t,
|
|
1070
1008
|
process.env.NODE_ENV !== "production" && "FormCheckbox must be wrapped in a Form component."
|
|
1071
1009
|
);
|
|
1072
|
-
const m = `${n}`, v =
|
|
1010
|
+
const m = `${n}`, v = Me({
|
|
1073
1011
|
value: t.useValue(m),
|
|
1074
|
-
setValue: (
|
|
1012
|
+
setValue: (f) => t == null ? void 0 : t.setValue(m, f)
|
|
1075
1013
|
});
|
|
1076
|
-
return u =
|
|
1014
|
+
return u = we(d({ store: v, value: s, checked: a }, u)), u = ae(d({
|
|
1077
1015
|
store: t,
|
|
1078
1016
|
name: m,
|
|
1079
1017
|
"aria-labelledby": void 0
|
|
1080
1018
|
}, u)), u;
|
|
1081
1019
|
}
|
|
1082
|
-
),
|
|
1083
|
-
|
|
1084
|
-
const o =
|
|
1085
|
-
return
|
|
1020
|
+
), ba = V(
|
|
1021
|
+
h(function(e) {
|
|
1022
|
+
const o = Rr(e);
|
|
1023
|
+
return g($r, o);
|
|
1086
1024
|
})
|
|
1087
|
-
),
|
|
1025
|
+
), Vr = "div", Lr = C(
|
|
1088
1026
|
function(e) {
|
|
1089
1027
|
var o = e, {
|
|
1090
1028
|
store: t,
|
|
@@ -1095,34 +1033,34 @@ var He = b(
|
|
|
1095
1033
|
"name",
|
|
1096
1034
|
"getItem"
|
|
1097
1035
|
]);
|
|
1098
|
-
const c =
|
|
1099
|
-
t = t || c,
|
|
1036
|
+
const c = H();
|
|
1037
|
+
t = t || c, _(
|
|
1100
1038
|
t,
|
|
1101
1039
|
process.env.NODE_ENV !== "production" && "FormDescription must be wrapped in a Form component."
|
|
1102
1040
|
);
|
|
1103
|
-
const u =
|
|
1104
|
-
(
|
|
1105
|
-
const
|
|
1106
|
-
id: u ||
|
|
1041
|
+
const u = W(a.id), i = G(null), m = `${n}`, v = z(
|
|
1042
|
+
(f) => {
|
|
1043
|
+
const p = D(d({}, f), {
|
|
1044
|
+
id: u || f.id,
|
|
1107
1045
|
name: m,
|
|
1108
1046
|
type: "description"
|
|
1109
1047
|
});
|
|
1110
|
-
return s ? s(
|
|
1048
|
+
return s ? s(p) : p;
|
|
1111
1049
|
},
|
|
1112
1050
|
[u, m, s]
|
|
1113
1051
|
);
|
|
1114
|
-
return a =
|
|
1052
|
+
return a = D(d({
|
|
1115
1053
|
id: u
|
|
1116
1054
|
}, a), {
|
|
1117
|
-
ref:
|
|
1118
|
-
}), a =
|
|
1055
|
+
ref: A(i, a.ref)
|
|
1056
|
+
}), a = se(D(d({ store: t }, a), { getItem: v })), a;
|
|
1119
1057
|
}
|
|
1120
|
-
),
|
|
1121
|
-
|
|
1122
|
-
const o =
|
|
1123
|
-
return
|
|
1058
|
+
), Ca = V(
|
|
1059
|
+
h(function(e) {
|
|
1060
|
+
const o = Lr(e);
|
|
1061
|
+
return g(Vr, o);
|
|
1124
1062
|
})
|
|
1125
|
-
),
|
|
1063
|
+
), Or = "div", Ar = C(
|
|
1126
1064
|
function(e) {
|
|
1127
1065
|
var o = e, {
|
|
1128
1066
|
store: t,
|
|
@@ -1133,87 +1071,87 @@ var He = b(
|
|
|
1133
1071
|
"name",
|
|
1134
1072
|
"getItem"
|
|
1135
1073
|
]);
|
|
1136
|
-
const c =
|
|
1137
|
-
t = t || c,
|
|
1074
|
+
const c = H();
|
|
1075
|
+
t = t || c, _(
|
|
1138
1076
|
t,
|
|
1139
1077
|
process.env.NODE_ENV !== "production" && "FormError must be wrapped in a Form component."
|
|
1140
1078
|
);
|
|
1141
|
-
const u =
|
|
1142
|
-
(
|
|
1143
|
-
const l =
|
|
1079
|
+
const u = W(a.id), i = G(null), m = `${n}`, v = z(
|
|
1080
|
+
(p) => {
|
|
1081
|
+
const l = D(d({}, p), { id: u || p.id, name: m, type: "error" });
|
|
1144
1082
|
return s ? s(l) : l;
|
|
1145
1083
|
},
|
|
1146
1084
|
[u, m, s]
|
|
1147
|
-
),
|
|
1148
|
-
const
|
|
1149
|
-
if (
|
|
1150
|
-
return
|
|
1085
|
+
), f = t.useState(() => {
|
|
1086
|
+
const p = t == null ? void 0 : t.getError(m);
|
|
1087
|
+
if (p != null && t != null && t.getFieldTouched(m))
|
|
1088
|
+
return p;
|
|
1151
1089
|
});
|
|
1152
|
-
return a =
|
|
1090
|
+
return a = D(d({
|
|
1153
1091
|
id: u,
|
|
1154
1092
|
role: "alert",
|
|
1155
|
-
children:
|
|
1093
|
+
children: f
|
|
1156
1094
|
}, a), {
|
|
1157
|
-
ref:
|
|
1158
|
-
}), a =
|
|
1095
|
+
ref: A(i, a.ref)
|
|
1096
|
+
}), a = se(D(d({ store: t }, a), { getItem: v })), a;
|
|
1159
1097
|
}
|
|
1160
|
-
),
|
|
1161
|
-
|
|
1162
|
-
const o =
|
|
1163
|
-
return
|
|
1098
|
+
), ha = V(
|
|
1099
|
+
h(function(e) {
|
|
1100
|
+
const o = Ar(e);
|
|
1101
|
+
return g(Or, o);
|
|
1164
1102
|
})
|
|
1165
|
-
),
|
|
1103
|
+
), Hr = "input", Br = C(
|
|
1166
1104
|
function(e) {
|
|
1167
|
-
return
|
|
1105
|
+
return ae(e);
|
|
1168
1106
|
}
|
|
1169
|
-
),
|
|
1170
|
-
|
|
1171
|
-
const o =
|
|
1172
|
-
return
|
|
1107
|
+
), ga = V(
|
|
1108
|
+
h(function(e) {
|
|
1109
|
+
const o = Br(e);
|
|
1110
|
+
return g(Hr, o);
|
|
1173
1111
|
})
|
|
1174
|
-
),
|
|
1112
|
+
), Gr = "div", jr = C(
|
|
1175
1113
|
function(e) {
|
|
1176
1114
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1177
|
-
return n =
|
|
1115
|
+
return n = Zt(n), n;
|
|
1178
1116
|
}
|
|
1179
|
-
),
|
|
1180
|
-
const o =
|
|
1181
|
-
return
|
|
1182
|
-
}),
|
|
1117
|
+
), xa = h(function(e) {
|
|
1118
|
+
const o = jr(e);
|
|
1119
|
+
return g(Gr, o);
|
|
1120
|
+
}), Ur = "div", Pt = C(
|
|
1183
1121
|
function(e) {
|
|
1184
1122
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1185
|
-
return n =
|
|
1123
|
+
return n = eo(n), n;
|
|
1186
1124
|
}
|
|
1187
|
-
),
|
|
1188
|
-
const o =
|
|
1189
|
-
return
|
|
1190
|
-
}),
|
|
1125
|
+
), Sa = h(function(e) {
|
|
1126
|
+
const o = Pt(e);
|
|
1127
|
+
return g(Ur, o);
|
|
1128
|
+
}), Wr = "input", qr = C(
|
|
1191
1129
|
function(e) {
|
|
1192
1130
|
var o = e, { store: t, name: n } = o, s = k(o, ["store", "name"]);
|
|
1193
|
-
const a =
|
|
1194
|
-
t = t || a,
|
|
1131
|
+
const a = H();
|
|
1132
|
+
t = t || a, _(
|
|
1195
1133
|
t,
|
|
1196
1134
|
process.env.NODE_ENV !== "production" && "FormInput must be wrapped in a Form component."
|
|
1197
1135
|
);
|
|
1198
|
-
const c = `${n}`, u = s.onChange, i =
|
|
1136
|
+
const c = `${n}`, u = s.onChange, i = E((v) => {
|
|
1199
1137
|
u == null || u(v), !v.defaultPrevented && (t == null || t.setValue(c, v.target.value));
|
|
1200
1138
|
}), m = t.useValue(c);
|
|
1201
|
-
return s =
|
|
1139
|
+
return s = D(d({
|
|
1202
1140
|
value: m
|
|
1203
1141
|
}, s), {
|
|
1204
1142
|
onChange: i
|
|
1205
|
-
}), s =
|
|
1143
|
+
}), s = lo(s), s = ae(d({ store: t, name: c }, s)), s;
|
|
1206
1144
|
}
|
|
1207
|
-
),
|
|
1208
|
-
|
|
1209
|
-
const o =
|
|
1210
|
-
return
|
|
1145
|
+
), Pa = V(
|
|
1146
|
+
h(function(e) {
|
|
1147
|
+
const o = qr(e);
|
|
1148
|
+
return g(Wr, o);
|
|
1211
1149
|
})
|
|
1212
|
-
),
|
|
1213
|
-
function
|
|
1150
|
+
), Kr = "label";
|
|
1151
|
+
function zr(r) {
|
|
1214
1152
|
return r === "input" || r === "textarea" || r === "select" || r === "meter" || r === "progress";
|
|
1215
1153
|
}
|
|
1216
|
-
var
|
|
1154
|
+
var Xr = C(
|
|
1217
1155
|
function(e) {
|
|
1218
1156
|
var o = e, {
|
|
1219
1157
|
store: t,
|
|
@@ -1224,47 +1162,47 @@ var on = b(
|
|
|
1224
1162
|
"name",
|
|
1225
1163
|
"getItem"
|
|
1226
1164
|
]);
|
|
1227
|
-
const c =
|
|
1228
|
-
t = t || c,
|
|
1165
|
+
const c = H();
|
|
1166
|
+
t = t || c, _(
|
|
1229
1167
|
t,
|
|
1230
1168
|
process.env.NODE_ENV !== "production" && "FormLabel must be wrapped in a Form component."
|
|
1231
1169
|
);
|
|
1232
|
-
const u =
|
|
1233
|
-
(
|
|
1234
|
-
const T =
|
|
1170
|
+
const u = W(a.id), i = G(null), m = `${n}`, v = z(
|
|
1171
|
+
(P) => {
|
|
1172
|
+
const T = D(d({}, P), { id: u || P.id, name: m, type: "label" });
|
|
1235
1173
|
return s ? s(T) : T;
|
|
1236
1174
|
},
|
|
1237
1175
|
[u, m, s]
|
|
1238
|
-
),
|
|
1239
|
-
(
|
|
1240
|
-
),
|
|
1241
|
-
if (
|
|
1242
|
-
const T =
|
|
1176
|
+
), f = t.useState(
|
|
1177
|
+
(P) => P.items.find((T) => T.type === "field" && T.name === m)
|
|
1178
|
+
), p = ie(f == null ? void 0 : f.element, "input"), l = zr(p), b = a.onClick, x = E((P) => {
|
|
1179
|
+
if (b == null || b(P), P.defaultPrevented || l) return;
|
|
1180
|
+
const T = f == null ? void 0 : f.element;
|
|
1243
1181
|
T && queueMicrotask(() => {
|
|
1244
|
-
const
|
|
1245
|
-
|
|
1182
|
+
const S = Te(T, !0, !0);
|
|
1183
|
+
S == null || S.focus(), (S == null ? void 0 : S.getAttribute("role")) !== "combobox" && (S == null || S.click());
|
|
1246
1184
|
});
|
|
1247
1185
|
});
|
|
1248
|
-
return a =
|
|
1186
|
+
return a = D(d({
|
|
1249
1187
|
id: u,
|
|
1250
|
-
render: l ? /* @__PURE__ */
|
|
1251
|
-
htmlFor: l ?
|
|
1188
|
+
render: l ? /* @__PURE__ */ I("label", {}) : /* @__PURE__ */ I("span", {}),
|
|
1189
|
+
htmlFor: l ? f == null ? void 0 : f.id : void 0
|
|
1252
1190
|
}, a), {
|
|
1253
|
-
ref:
|
|
1191
|
+
ref: A(i, a.ref),
|
|
1254
1192
|
onClick: x
|
|
1255
|
-
}), l || (a =
|
|
1193
|
+
}), l || (a = D(d({}, a), {
|
|
1256
1194
|
style: d({
|
|
1257
1195
|
cursor: "default"
|
|
1258
1196
|
}, a.style)
|
|
1259
|
-
})), a =
|
|
1197
|
+
})), a = se(D(d({ store: t }, a), { getItem: v })), a;
|
|
1260
1198
|
}
|
|
1261
|
-
),
|
|
1262
|
-
|
|
1263
|
-
const o =
|
|
1264
|
-
return
|
|
1199
|
+
), ka = V(
|
|
1200
|
+
h(function(e) {
|
|
1201
|
+
const o = Xr(e);
|
|
1202
|
+
return g(Kr, o);
|
|
1265
1203
|
})
|
|
1266
|
-
),
|
|
1267
|
-
function
|
|
1204
|
+
), Jr = "button";
|
|
1205
|
+
function Qr(r, e) {
|
|
1268
1206
|
if (!r) return [];
|
|
1269
1207
|
const o = [];
|
|
1270
1208
|
for (const t of r) {
|
|
@@ -1274,7 +1212,7 @@ function nn(r, e) {
|
|
|
1274
1212
|
}
|
|
1275
1213
|
return o;
|
|
1276
1214
|
}
|
|
1277
|
-
var
|
|
1215
|
+
var Yr = C(
|
|
1278
1216
|
function(e) {
|
|
1279
1217
|
var o = e, {
|
|
1280
1218
|
store: t,
|
|
@@ -1289,71 +1227,71 @@ var sn = b(
|
|
|
1289
1227
|
"getItem",
|
|
1290
1228
|
"autoFocusOnClick"
|
|
1291
1229
|
]);
|
|
1292
|
-
const i =
|
|
1293
|
-
t = t || i,
|
|
1230
|
+
const i = H();
|
|
1231
|
+
t = t || i, _(
|
|
1294
1232
|
t,
|
|
1295
1233
|
process.env.NODE_ENV !== "production" && "FormPush must be wrapped in a Form component."
|
|
1296
1234
|
);
|
|
1297
|
-
const m = `${s}`, [v,
|
|
1235
|
+
const m = `${s}`, [v, f] = de(!1);
|
|
1298
1236
|
$(() => {
|
|
1299
1237
|
var x;
|
|
1300
1238
|
if (!v) return;
|
|
1301
|
-
const
|
|
1302
|
-
T && (T.focus(),
|
|
1239
|
+
const P = Qr(t == null ? void 0 : t.getState().items, m), T = (x = P == null ? void 0 : P[P.length - 1]) == null ? void 0 : x.element;
|
|
1240
|
+
T && (T.focus(), f(!1));
|
|
1303
1241
|
}, [t, v, m]);
|
|
1304
|
-
const
|
|
1242
|
+
const p = z(
|
|
1305
1243
|
(x) => {
|
|
1306
|
-
const
|
|
1307
|
-
return a ? a(
|
|
1244
|
+
const P = D(d({}, x), { type: "button", name: m });
|
|
1245
|
+
return a ? a(P) : P;
|
|
1308
1246
|
},
|
|
1309
1247
|
[m, a]
|
|
1310
|
-
), l = u.onClick,
|
|
1311
|
-
l == null || l(x), !x.defaultPrevented && (t == null || t.pushValue(m, n), c &&
|
|
1248
|
+
), l = u.onClick, b = E((x) => {
|
|
1249
|
+
l == null || l(x), !x.defaultPrevented && (t == null || t.pushValue(m, n), c && f(!0));
|
|
1312
1250
|
});
|
|
1313
|
-
return u =
|
|
1314
|
-
onClick:
|
|
1315
|
-
}), u =
|
|
1251
|
+
return u = D(d({}, u), {
|
|
1252
|
+
onClick: b
|
|
1253
|
+
}), u = re(u), u = se(D(d({ store: t }, u), { getItem: p })), u;
|
|
1316
1254
|
}
|
|
1317
|
-
),
|
|
1318
|
-
const o =
|
|
1319
|
-
return
|
|
1320
|
-
}),
|
|
1255
|
+
), Fa = h(function(e) {
|
|
1256
|
+
const o = Yr(e);
|
|
1257
|
+
return g(Jr, o);
|
|
1258
|
+
}), Zr = "div", en = C(
|
|
1321
1259
|
function(e) {
|
|
1322
1260
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1323
|
-
return n = d({ role: "radiogroup" }, n), n =
|
|
1261
|
+
return n = d({ role: "radiogroup" }, n), n = Pt(n), n;
|
|
1324
1262
|
}
|
|
1325
|
-
),
|
|
1326
|
-
const o =
|
|
1327
|
-
return
|
|
1328
|
-
}),
|
|
1263
|
+
), Ta = h(function(e) {
|
|
1264
|
+
const o = en(e);
|
|
1265
|
+
return g(Zr, o);
|
|
1266
|
+
}), tn = "input", on = C(
|
|
1329
1267
|
function(e) {
|
|
1330
1268
|
var o = e, { store: t, name: n, value: s } = o, a = k(o, ["store", "name", "value"]);
|
|
1331
|
-
const c =
|
|
1332
|
-
t = t || c,
|
|
1269
|
+
const c = H();
|
|
1270
|
+
t = t || c, _(
|
|
1333
1271
|
t,
|
|
1334
1272
|
process.env.NODE_ENV !== "production" && "FormRadio must be wrapped in a Form component."
|
|
1335
1273
|
);
|
|
1336
|
-
const u = `${n}`, i = a.onChange, m =
|
|
1337
|
-
i == null || i(
|
|
1338
|
-
}), v = a.checked,
|
|
1274
|
+
const u = `${n}`, i = a.onChange, m = E((p) => {
|
|
1275
|
+
i == null || i(p), !p.defaultPrevented && (t == null || t.setValue(u, s));
|
|
1276
|
+
}), v = a.checked, f = t.useState(
|
|
1339
1277
|
() => v ?? (t == null ? void 0 : t.getValue(u)) === s
|
|
1340
1278
|
);
|
|
1341
|
-
return a =
|
|
1342
|
-
checked:
|
|
1279
|
+
return a = D(d({}, a), {
|
|
1280
|
+
checked: f,
|
|
1343
1281
|
onChange: m
|
|
1344
|
-
}), a =
|
|
1282
|
+
}), a = Ie(d({ value: s }, a)), a = ae(d({
|
|
1345
1283
|
store: t,
|
|
1346
1284
|
name: u,
|
|
1347
1285
|
"aria-labelledby": void 0
|
|
1348
1286
|
}, a)), a;
|
|
1349
1287
|
}
|
|
1350
|
-
),
|
|
1351
|
-
|
|
1352
|
-
const o =
|
|
1353
|
-
return
|
|
1288
|
+
), Na = V(
|
|
1289
|
+
h(function(e) {
|
|
1290
|
+
const o = on(e);
|
|
1291
|
+
return g(tn, o);
|
|
1354
1292
|
})
|
|
1355
|
-
),
|
|
1356
|
-
function
|
|
1293
|
+
), rn = "button";
|
|
1294
|
+
function nn(r, e, o) {
|
|
1357
1295
|
const t = r == null ? void 0 : r.filter(
|
|
1358
1296
|
(a) => a.type === "field" && a.name.startsWith(e)
|
|
1359
1297
|
), n = new RegExp(`^${e}\\.(\\d+)`), s = t == null ? void 0 : t.find((a) => {
|
|
@@ -1365,10 +1303,10 @@ function mn(r, e, o) {
|
|
|
1365
1303
|
return Number.parseInt(c) < o;
|
|
1366
1304
|
}));
|
|
1367
1305
|
}
|
|
1368
|
-
function
|
|
1306
|
+
function sn(r, e) {
|
|
1369
1307
|
return r == null ? void 0 : r.find((o) => o.type === "button" && o.name === e);
|
|
1370
1308
|
}
|
|
1371
|
-
var
|
|
1309
|
+
var an = C(
|
|
1372
1310
|
function(e) {
|
|
1373
1311
|
var o = e, {
|
|
1374
1312
|
store: t,
|
|
@@ -1381,115 +1319,115 @@ var pn = b(
|
|
|
1381
1319
|
"index",
|
|
1382
1320
|
"autoFocusOnClick"
|
|
1383
1321
|
]);
|
|
1384
|
-
const u =
|
|
1385
|
-
t = t || u,
|
|
1322
|
+
const u = H();
|
|
1323
|
+
t = t || u, _(
|
|
1386
1324
|
t,
|
|
1387
1325
|
process.env.NODE_ENV !== "production" && "FormRemove must be wrapped in a Form component."
|
|
1388
1326
|
);
|
|
1389
|
-
const i = `${n}`, m = c.onClick, v =
|
|
1390
|
-
var
|
|
1391
|
-
if (m == null || m(
|
|
1392
|
-
const { items: l } = t.getState(),
|
|
1327
|
+
const i = `${n}`, m = c.onClick, v = E((f) => {
|
|
1328
|
+
var p;
|
|
1329
|
+
if (m == null || m(f), f.defaultPrevented || !t || (t.removeValue(i, s), !a)) return;
|
|
1330
|
+
const { items: l } = t.getState(), b = nn(l, i, s), x = b == null ? void 0 : b.element;
|
|
1393
1331
|
if (x)
|
|
1394
|
-
x.focus(),
|
|
1332
|
+
x.focus(), ee(x) && x.select();
|
|
1395
1333
|
else {
|
|
1396
|
-
const
|
|
1397
|
-
(
|
|
1334
|
+
const P = sn(l, i);
|
|
1335
|
+
(p = P == null ? void 0 : P.element) == null || p.focus();
|
|
1398
1336
|
}
|
|
1399
1337
|
});
|
|
1400
|
-
return c =
|
|
1338
|
+
return c = D(d({}, c), {
|
|
1401
1339
|
onClick: v
|
|
1402
|
-
}), c =
|
|
1340
|
+
}), c = re(c), c;
|
|
1403
1341
|
}
|
|
1404
|
-
),
|
|
1405
|
-
const o =
|
|
1406
|
-
return
|
|
1407
|
-
}),
|
|
1342
|
+
), Da = h(function(e) {
|
|
1343
|
+
const o = an(e);
|
|
1344
|
+
return g(rn, o);
|
|
1345
|
+
}), un = "button", cn = C(
|
|
1408
1346
|
function(e) {
|
|
1409
1347
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1410
|
-
const s =
|
|
1411
|
-
return t = t || s,
|
|
1348
|
+
const s = H();
|
|
1349
|
+
return t = t || s, _(
|
|
1412
1350
|
t,
|
|
1413
1351
|
process.env.NODE_ENV !== "production" && "FormReset must be wrapped in a Form component."
|
|
1414
1352
|
), n = d({
|
|
1415
1353
|
type: "reset",
|
|
1416
1354
|
disabled: t.useState("submitting")
|
|
1417
|
-
}, n), n =
|
|
1355
|
+
}, n), n = re(n), n;
|
|
1418
1356
|
}
|
|
1419
|
-
),
|
|
1420
|
-
const o =
|
|
1421
|
-
return
|
|
1422
|
-
}),
|
|
1357
|
+
), ya = h(function(e) {
|
|
1358
|
+
const o = cn(e);
|
|
1359
|
+
return g(un, o);
|
|
1360
|
+
}), ln = "button", dn = C(
|
|
1423
1361
|
function(e) {
|
|
1424
1362
|
var o = e, { store: t, accessibleWhenDisabled: n = !0 } = o, s = k(o, ["store", "accessibleWhenDisabled"]);
|
|
1425
|
-
const a =
|
|
1426
|
-
return t = t || a,
|
|
1363
|
+
const a = H();
|
|
1364
|
+
return t = t || a, _(
|
|
1427
1365
|
t,
|
|
1428
1366
|
process.env.NODE_ENV !== "production" && "FormSubmit must be wrapped in a Form component."
|
|
1429
1367
|
), s = d({
|
|
1430
1368
|
type: "submit",
|
|
1431
1369
|
disabled: t.useState("submitting")
|
|
1432
|
-
}, s), s =
|
|
1370
|
+
}, s), s = re(D(d({}, s), { accessibleWhenDisabled: n })), s;
|
|
1433
1371
|
}
|
|
1434
|
-
),
|
|
1435
|
-
const o =
|
|
1436
|
-
return
|
|
1372
|
+
), Ea = h(function(e) {
|
|
1373
|
+
const o = dn(e);
|
|
1374
|
+
return g(ln, o);
|
|
1437
1375
|
});
|
|
1438
|
-
function
|
|
1439
|
-
const e =
|
|
1440
|
-
return /* @__PURE__ */
|
|
1376
|
+
function Ia(r = {}) {
|
|
1377
|
+
const e = mo(r);
|
|
1378
|
+
return /* @__PURE__ */ I(vo, { value: e, children: r.children });
|
|
1441
1379
|
}
|
|
1442
|
-
var
|
|
1380
|
+
var mn = "div", vn = C(
|
|
1443
1381
|
function(e) {
|
|
1444
1382
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1445
|
-
const s =
|
|
1383
|
+
const s = fo();
|
|
1446
1384
|
return t = t || s, n = at(d({ store: t }, n)), n;
|
|
1447
1385
|
}
|
|
1448
|
-
),
|
|
1449
|
-
const o =
|
|
1450
|
-
return
|
|
1451
|
-
}),
|
|
1386
|
+
), _a = h(function(e) {
|
|
1387
|
+
const o = vn(e);
|
|
1388
|
+
return g(mn, o);
|
|
1389
|
+
}), fn = "p", kt = C(function(e) {
|
|
1452
1390
|
return e = bt(e), e;
|
|
1453
|
-
}),
|
|
1454
|
-
const o =
|
|
1455
|
-
return
|
|
1456
|
-
}),
|
|
1391
|
+
}), Ma = h(function(e) {
|
|
1392
|
+
const o = kt(e);
|
|
1393
|
+
return g(fn, o);
|
|
1394
|
+
}), pn = "button", bn = C(function(e) {
|
|
1457
1395
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1458
|
-
const s =
|
|
1459
|
-
t = t || s,
|
|
1396
|
+
const s = po();
|
|
1397
|
+
t = t || s, _(
|
|
1460
1398
|
t,
|
|
1461
1399
|
process.env.NODE_ENV !== "production" && "HovercardDisclosure must receive a `store` prop or be wrapped in a HovercardProvider component."
|
|
1462
1400
|
);
|
|
1463
|
-
const [a, c] =
|
|
1464
|
-
$(() => a ?
|
|
1401
|
+
const [a, c] = de(!1);
|
|
1402
|
+
$(() => a ? Vt("focusout", (b) => {
|
|
1465
1403
|
if (!t) return;
|
|
1466
|
-
const x =
|
|
1404
|
+
const x = b.relatedTarget;
|
|
1467
1405
|
if (x) {
|
|
1468
1406
|
const {
|
|
1469
|
-
anchorElement:
|
|
1407
|
+
anchorElement: P,
|
|
1470
1408
|
popoverElement: T,
|
|
1471
|
-
disclosureElement:
|
|
1409
|
+
disclosureElement: S
|
|
1472
1410
|
} = t.getState();
|
|
1473
|
-
if (
|
|
1411
|
+
if (P && pe(P, x) || T && pe(T, x) || S && pe(S, x) || x.hasAttribute("data-focus-trap")) return;
|
|
1474
1412
|
}
|
|
1475
1413
|
c(!1);
|
|
1476
|
-
}, !0) : void 0, [a, t]), $(() =>
|
|
1477
|
-
const
|
|
1478
|
-
if (!
|
|
1414
|
+
}, !0) : void 0, [a, t]), $(() => Ke(t, ["anchorElement"], (l) => {
|
|
1415
|
+
const b = l.anchorElement;
|
|
1416
|
+
if (!b) return;
|
|
1479
1417
|
const x = new MutationObserver(() => {
|
|
1480
|
-
|
|
1418
|
+
b.hasAttribute("data-focus-visible") && c(!0);
|
|
1481
1419
|
});
|
|
1482
|
-
return x.observe(
|
|
1420
|
+
return x.observe(b, { attributeFilter: ["data-focus-visible"] }), () => x.disconnect();
|
|
1483
1421
|
}), [t]);
|
|
1484
|
-
const u = n.onClick, i =
|
|
1422
|
+
const u = n.onClick, i = E((l) => {
|
|
1485
1423
|
u == null || u(l), !l.defaultPrevented && (t == null || t.setAutoFocusOnShow(!0));
|
|
1486
|
-
}), m = n.onFocus, v =
|
|
1424
|
+
}), m = n.onFocus, v = E((l) => {
|
|
1487
1425
|
m == null || m(l), !l.defaultPrevented && c(!0);
|
|
1488
|
-
}), { style:
|
|
1489
|
-
return a || (n =
|
|
1490
|
-
style: d(d({},
|
|
1491
|
-
})), n =
|
|
1492
|
-
children: /* @__PURE__ */
|
|
1426
|
+
}), { style: f } = ro();
|
|
1427
|
+
return a || (n = D(d({}, n), {
|
|
1428
|
+
style: d(d({}, f), n.style)
|
|
1429
|
+
})), n = D(d({
|
|
1430
|
+
children: /* @__PURE__ */ I(
|
|
1493
1431
|
"svg",
|
|
1494
1432
|
{
|
|
1495
1433
|
display: "block",
|
|
@@ -1501,138 +1439,138 @@ var gn = "div", xn = b(
|
|
|
1501
1439
|
viewBox: "0 0 16 16",
|
|
1502
1440
|
height: "1em",
|
|
1503
1441
|
width: "1em",
|
|
1504
|
-
children: /* @__PURE__ */
|
|
1442
|
+
children: /* @__PURE__ */ I("polyline", { points: "4,6 8,10 12,6" })
|
|
1505
1443
|
}
|
|
1506
1444
|
)
|
|
1507
1445
|
}, n), {
|
|
1508
|
-
ref:
|
|
1446
|
+
ref: A(t.setDisclosureElement, n.ref),
|
|
1509
1447
|
onClick: i,
|
|
1510
1448
|
onFocus: v
|
|
1511
|
-
}), n =
|
|
1512
|
-
}),
|
|
1513
|
-
const o =
|
|
1514
|
-
return
|
|
1515
|
-
}),
|
|
1449
|
+
}), n = et(d({ store: t }, n)), n;
|
|
1450
|
+
}), wa = h(function(e) {
|
|
1451
|
+
const o = bn(e);
|
|
1452
|
+
return g(pn, o);
|
|
1453
|
+
}), Cn = "button", Ft = C(
|
|
1516
1454
|
function(e) {
|
|
1517
1455
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1518
|
-
const s =
|
|
1519
|
-
return t = t || s, n =
|
|
1456
|
+
const s = bo();
|
|
1457
|
+
return t = t || s, n = ye(d({ store: t }, n)), n;
|
|
1520
1458
|
}
|
|
1521
|
-
),
|
|
1522
|
-
const o =
|
|
1523
|
-
return
|
|
1524
|
-
}),
|
|
1459
|
+
), $a = h(function(e) {
|
|
1460
|
+
const o = Ft(e);
|
|
1461
|
+
return g(Cn, o);
|
|
1462
|
+
}), hn = "h1", Tt = C(
|
|
1525
1463
|
function(e) {
|
|
1526
|
-
return e =
|
|
1464
|
+
return e = Ee(e), e;
|
|
1527
1465
|
}
|
|
1528
|
-
),
|
|
1529
|
-
const o =
|
|
1530
|
-
return
|
|
1466
|
+
), Ra = h(function(e) {
|
|
1467
|
+
const o = Tt(e);
|
|
1468
|
+
return g(hn, o);
|
|
1531
1469
|
});
|
|
1532
|
-
function
|
|
1470
|
+
function Va(r = {}) {
|
|
1533
1471
|
return $(() => {
|
|
1534
1472
|
process.env.NODE_ENV !== "production" && console.warn(
|
|
1535
1473
|
"useMenuBarStore is deprecated. Use useMenubarStore instead.",
|
|
1536
1474
|
"See https://ariakit.org/reference/use-menubar-store"
|
|
1537
1475
|
);
|
|
1538
|
-
}, []),
|
|
1476
|
+
}, []), De(r);
|
|
1539
1477
|
}
|
|
1540
|
-
var
|
|
1478
|
+
var gn = "div", xn = C(
|
|
1541
1479
|
function(e) {
|
|
1542
1480
|
return $(() => {
|
|
1543
1481
|
process.env.NODE_ENV !== "production" && console.warn(
|
|
1544
1482
|
"MenuBar is deprecated. Use Menubar instead.",
|
|
1545
1483
|
"See https://ariakit.org/reference/menubar"
|
|
1546
1484
|
);
|
|
1547
|
-
}, []),
|
|
1485
|
+
}, []), ft(e);
|
|
1548
1486
|
}
|
|
1549
|
-
),
|
|
1550
|
-
const o =
|
|
1551
|
-
return
|
|
1487
|
+
), La = h(function(e) {
|
|
1488
|
+
const o = xn(e);
|
|
1489
|
+
return g(gn, o);
|
|
1552
1490
|
});
|
|
1553
|
-
function
|
|
1491
|
+
function Oa(r = {}) {
|
|
1554
1492
|
return $(() => {
|
|
1555
1493
|
process.env.NODE_ENV !== "production" && console.warn(
|
|
1556
1494
|
"MenuBarProvider is deprecated. Use MenubarProvider instead.",
|
|
1557
1495
|
"See https://ariakit.org/reference/menubar-provider"
|
|
1558
1496
|
);
|
|
1559
|
-
}, []), /* @__PURE__ */
|
|
1497
|
+
}, []), /* @__PURE__ */ I(Lo, d({}, r));
|
|
1560
1498
|
}
|
|
1561
|
-
var
|
|
1499
|
+
var Sn = "div", Pn = C(
|
|
1562
1500
|
function(e) {
|
|
1563
1501
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1564
1502
|
const s = ut();
|
|
1565
1503
|
return t = t || s, at(d({ store: t }, n));
|
|
1566
1504
|
}
|
|
1567
|
-
),
|
|
1568
|
-
const o =
|
|
1569
|
-
return
|
|
1570
|
-
}),
|
|
1505
|
+
), Aa = h(function(e) {
|
|
1506
|
+
const o = Pn(e);
|
|
1507
|
+
return g(Sn, o);
|
|
1508
|
+
}), kn = "span", Fn = C(
|
|
1571
1509
|
function(e) {
|
|
1572
1510
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1573
1511
|
const s = ut();
|
|
1574
|
-
return t = t || s, n =
|
|
1512
|
+
return t = t || s, n = So(d({ store: t }, n)), n;
|
|
1575
1513
|
}
|
|
1576
|
-
),
|
|
1577
|
-
const o =
|
|
1578
|
-
return
|
|
1579
|
-
}),
|
|
1514
|
+
), Ha = h(function(e) {
|
|
1515
|
+
const o = Fn(e);
|
|
1516
|
+
return g(kn, o);
|
|
1517
|
+
}), Tn = "p", Nn = C(
|
|
1580
1518
|
function(e) {
|
|
1581
|
-
return e =
|
|
1519
|
+
return e = kt(e), e;
|
|
1582
1520
|
}
|
|
1583
|
-
),
|
|
1584
|
-
const o =
|
|
1585
|
-
return
|
|
1586
|
-
}),
|
|
1521
|
+
), Ba = h(function(e) {
|
|
1522
|
+
const o = Nn(e);
|
|
1523
|
+
return g(Tn, o);
|
|
1524
|
+
}), Dn = "button", yn = C(
|
|
1587
1525
|
function(e) {
|
|
1588
1526
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1589
|
-
const s =
|
|
1590
|
-
return t = t || s, n =
|
|
1527
|
+
const s = Ne();
|
|
1528
|
+
return t = t || s, n = Ft(d({ store: t }, n)), n;
|
|
1591
1529
|
}
|
|
1592
|
-
),
|
|
1593
|
-
const o =
|
|
1594
|
-
return
|
|
1595
|
-
}),
|
|
1530
|
+
), Ga = h(function(e) {
|
|
1531
|
+
const o = yn(e);
|
|
1532
|
+
return g(Dn, o);
|
|
1533
|
+
}), En = "div", In = C(
|
|
1596
1534
|
function(e) {
|
|
1597
|
-
return e =
|
|
1535
|
+
return e = nt(e), e;
|
|
1598
1536
|
}
|
|
1599
|
-
),
|
|
1600
|
-
const o =
|
|
1601
|
-
return
|
|
1602
|
-
}),
|
|
1537
|
+
), ja = h(function(e) {
|
|
1538
|
+
const o = In(e);
|
|
1539
|
+
return g(En, o);
|
|
1540
|
+
}), _n = "div", Mn = C(
|
|
1603
1541
|
function(e) {
|
|
1604
|
-
return e =
|
|
1542
|
+
return e = st(e), e;
|
|
1605
1543
|
}
|
|
1606
|
-
),
|
|
1607
|
-
const o =
|
|
1608
|
-
return
|
|
1609
|
-
}),
|
|
1544
|
+
), Ua = h(function(e) {
|
|
1545
|
+
const o = Mn(e);
|
|
1546
|
+
return g(_n, o);
|
|
1547
|
+
}), wn = "h1", $n = C(
|
|
1610
1548
|
function(e) {
|
|
1611
|
-
return e =
|
|
1549
|
+
return e = Tt(e), e;
|
|
1612
1550
|
}
|
|
1613
|
-
),
|
|
1614
|
-
const o =
|
|
1615
|
-
return
|
|
1616
|
-
}),
|
|
1551
|
+
), Wa = h(function(e) {
|
|
1552
|
+
const o = $n(e);
|
|
1553
|
+
return g(wn, o);
|
|
1554
|
+
}), Rn = "span", Vn = C(
|
|
1617
1555
|
function(e) {
|
|
1618
1556
|
var o = e, { store: t, checked: n } = o, s = k(o, ["store", "checked"]);
|
|
1619
|
-
const a =
|
|
1620
|
-
return n = n ?? a, s =
|
|
1557
|
+
const a = ne(it);
|
|
1558
|
+
return n = n ?? a, s = He(D(d({}, s), { checked: n })), s;
|
|
1621
1559
|
}
|
|
1622
|
-
),
|
|
1623
|
-
const o =
|
|
1624
|
-
return
|
|
1625
|
-
}),
|
|
1626
|
-
function
|
|
1560
|
+
), qa = h(function(e) {
|
|
1561
|
+
const o = Vn(e);
|
|
1562
|
+
return g(Rn, o);
|
|
1563
|
+
}), Ln = "div";
|
|
1564
|
+
function On(r) {
|
|
1627
1565
|
return Array.isArray(r) ? r.toString() : r;
|
|
1628
1566
|
}
|
|
1629
|
-
function
|
|
1567
|
+
function Ce(r, e, o) {
|
|
1630
1568
|
if (e === void 0)
|
|
1631
1569
|
return Array.isArray(r) ? r : !!o;
|
|
1632
|
-
const t =
|
|
1570
|
+
const t = On(e);
|
|
1633
1571
|
return Array.isArray(r) ? o ? r.includes(t) ? r : [...r, t] : r.filter((n) => n !== t) : o ? t : r === t ? !1 : r;
|
|
1634
1572
|
}
|
|
1635
|
-
var
|
|
1573
|
+
var An = C(
|
|
1636
1574
|
function(e) {
|
|
1637
1575
|
var o = e, {
|
|
1638
1576
|
store: t,
|
|
@@ -1649,46 +1587,46 @@ var qn = b(
|
|
|
1649
1587
|
"defaultChecked",
|
|
1650
1588
|
"hideOnClick"
|
|
1651
1589
|
]);
|
|
1652
|
-
const m =
|
|
1653
|
-
t = t || m,
|
|
1590
|
+
const m = Ne();
|
|
1591
|
+
t = t || m, _(
|
|
1654
1592
|
t,
|
|
1655
1593
|
process.env.NODE_ENV !== "production" && "MenuItemCheckbox must be wrapped in a MenuList or Menu component"
|
|
1656
1594
|
);
|
|
1657
|
-
const v =
|
|
1595
|
+
const v = Pe(c);
|
|
1658
1596
|
$(() => {
|
|
1659
|
-
t == null || t.setValue(n, (
|
|
1597
|
+
t == null || t.setValue(n, (p = []) => v ? Ce(p, s, !0) : p);
|
|
1660
1598
|
}, [t, n, s, v]), $(() => {
|
|
1661
|
-
a !== void 0 && (t == null || t.setValue(n, (
|
|
1599
|
+
a !== void 0 && (t == null || t.setValue(n, (p) => Ce(p, s, a)));
|
|
1662
1600
|
}, [t, n, s, a]);
|
|
1663
|
-
const
|
|
1664
|
-
value: t.useState((
|
|
1665
|
-
setValue(
|
|
1601
|
+
const f = Me({
|
|
1602
|
+
value: t.useState((p) => p.values[n]),
|
|
1603
|
+
setValue(p) {
|
|
1666
1604
|
t == null || t.setValue(n, () => {
|
|
1667
|
-
if (a === void 0) return
|
|
1668
|
-
const l =
|
|
1669
|
-
return !Array.isArray(l) || !Array.isArray(
|
|
1605
|
+
if (a === void 0) return p;
|
|
1606
|
+
const l = Ce(p, s, a);
|
|
1607
|
+
return !Array.isArray(l) || !Array.isArray(p) ? l : Lt(p, l) ? p : l;
|
|
1670
1608
|
});
|
|
1671
1609
|
}
|
|
1672
1610
|
});
|
|
1673
1611
|
return i = d({
|
|
1674
1612
|
role: "menuitemcheckbox"
|
|
1675
|
-
}, i), i =
|
|
1676
|
-
store:
|
|
1613
|
+
}, i), i = we(d({
|
|
1614
|
+
store: f,
|
|
1677
1615
|
name: n,
|
|
1678
1616
|
value: s,
|
|
1679
1617
|
checked: a
|
|
1680
1618
|
}, i)), i = ct(d({ store: t, hideOnClick: u }, i)), i;
|
|
1681
1619
|
}
|
|
1682
|
-
),
|
|
1683
|
-
|
|
1684
|
-
const o =
|
|
1685
|
-
return
|
|
1620
|
+
), Ka = V(
|
|
1621
|
+
h(function(e) {
|
|
1622
|
+
const o = An(e);
|
|
1623
|
+
return g(Ln, o);
|
|
1686
1624
|
})
|
|
1687
|
-
),
|
|
1688
|
-
function
|
|
1625
|
+
), Hn = "div";
|
|
1626
|
+
function he(r, e, o) {
|
|
1689
1627
|
return o === void 0 ? r : o ? e : r;
|
|
1690
1628
|
}
|
|
1691
|
-
var
|
|
1629
|
+
var Bn = C(
|
|
1692
1630
|
function(e) {
|
|
1693
1631
|
var o = e, {
|
|
1694
1632
|
store: t,
|
|
@@ -1705,64 +1643,64 @@ var zn = b(
|
|
|
1705
1643
|
"onChange",
|
|
1706
1644
|
"hideOnClick"
|
|
1707
1645
|
]);
|
|
1708
|
-
const m =
|
|
1709
|
-
t = t || m,
|
|
1646
|
+
const m = Ne();
|
|
1647
|
+
t = t || m, _(
|
|
1710
1648
|
t,
|
|
1711
1649
|
process.env.NODE_ENV !== "production" && "MenuItemRadio must be wrapped in a MenuList or Menu component"
|
|
1712
1650
|
);
|
|
1713
|
-
const v =
|
|
1651
|
+
const v = Pe(i.defaultChecked);
|
|
1714
1652
|
$(() => {
|
|
1715
|
-
t == null || t.setValue(n, (
|
|
1653
|
+
t == null || t.setValue(n, (p = !1) => he(p, s, v));
|
|
1716
1654
|
}, [t, n, s, v]), $(() => {
|
|
1717
|
-
a !== void 0 && (t == null || t.setValue(n, (
|
|
1655
|
+
a !== void 0 && (t == null || t.setValue(n, (p) => he(p, s, a)));
|
|
1718
1656
|
}, [t, n, s, a]);
|
|
1719
|
-
const
|
|
1657
|
+
const f = t.useState((p) => p.values[n] === s);
|
|
1720
1658
|
return i = X(
|
|
1721
1659
|
i,
|
|
1722
|
-
(
|
|
1723
|
-
[
|
|
1660
|
+
(p) => /* @__PURE__ */ I(it.Provider, { value: !!f, children: p }),
|
|
1661
|
+
[f]
|
|
1724
1662
|
), i = d({
|
|
1725
1663
|
role: "menuitemradio"
|
|
1726
|
-
}, i), i =
|
|
1664
|
+
}, i), i = Ie(d({
|
|
1727
1665
|
name: n,
|
|
1728
1666
|
value: s,
|
|
1729
|
-
checked:
|
|
1730
|
-
onChange(
|
|
1731
|
-
if (c == null || c(
|
|
1732
|
-
const l =
|
|
1733
|
-
t == null || t.setValue(n, (
|
|
1667
|
+
checked: f,
|
|
1668
|
+
onChange(p) {
|
|
1669
|
+
if (c == null || c(p), p.defaultPrevented) return;
|
|
1670
|
+
const l = p.currentTarget;
|
|
1671
|
+
t == null || t.setValue(n, (b) => he(b, s, a ?? l.checked));
|
|
1734
1672
|
}
|
|
1735
1673
|
}, i)), i = ct(d({ store: t, hideOnClick: u }, i)), i;
|
|
1736
1674
|
}
|
|
1737
|
-
),
|
|
1738
|
-
|
|
1739
|
-
const o =
|
|
1740
|
-
return
|
|
1675
|
+
), za = V(
|
|
1676
|
+
h(function(e) {
|
|
1677
|
+
const o = Bn(e);
|
|
1678
|
+
return g(Hn, o);
|
|
1741
1679
|
})
|
|
1742
1680
|
);
|
|
1743
|
-
function
|
|
1744
|
-
const e =
|
|
1745
|
-
return /* @__PURE__ */
|
|
1681
|
+
function Xa(r = {}) {
|
|
1682
|
+
const e = Me(r);
|
|
1683
|
+
return /* @__PURE__ */ I(Mr, { value: e, children: r.children });
|
|
1746
1684
|
}
|
|
1747
|
-
var
|
|
1685
|
+
var Gn = "div", jn = C(
|
|
1748
1686
|
function(e) {
|
|
1749
1687
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1750
|
-
const s =
|
|
1688
|
+
const s = qt();
|
|
1751
1689
|
return t = t || s, n = X(
|
|
1752
1690
|
n,
|
|
1753
|
-
(a) => /* @__PURE__ */
|
|
1691
|
+
(a) => /* @__PURE__ */ I(Je, { value: t, children: a }),
|
|
1754
1692
|
[t]
|
|
1755
|
-
),
|
|
1693
|
+
), U(n);
|
|
1756
1694
|
}
|
|
1757
|
-
),
|
|
1758
|
-
const o =
|
|
1759
|
-
return
|
|
1695
|
+
), Ja = h(function(e) {
|
|
1696
|
+
const o = jn(e);
|
|
1697
|
+
return g(Gn, o);
|
|
1760
1698
|
});
|
|
1761
|
-
function
|
|
1762
|
-
const e =
|
|
1763
|
-
return /* @__PURE__ */
|
|
1699
|
+
function Qa(r = {}) {
|
|
1700
|
+
const e = Xt(r);
|
|
1701
|
+
return /* @__PURE__ */ I(Qe, { value: e, children: r.children });
|
|
1764
1702
|
}
|
|
1765
|
-
var
|
|
1703
|
+
var Un = "button", Wn = /* @__PURE__ */ Xe(
|
|
1766
1704
|
"svg",
|
|
1767
1705
|
{
|
|
1768
1706
|
"aria-hidden": "true",
|
|
@@ -1777,30 +1715,30 @@ var Jn = "button", Qn = /* @__PURE__ */ De(
|
|
|
1777
1715
|
height: "1em",
|
|
1778
1716
|
pointerEvents: "none",
|
|
1779
1717
|
children: [
|
|
1780
|
-
/* @__PURE__ */
|
|
1781
|
-
/* @__PURE__ */
|
|
1718
|
+
/* @__PURE__ */ I("line", { x1: "5", y1: "5", x2: "11", y2: "11" }),
|
|
1719
|
+
/* @__PURE__ */ I("line", { x1: "5", y1: "11", x2: "11", y2: "5" })
|
|
1782
1720
|
]
|
|
1783
1721
|
}
|
|
1784
|
-
),
|
|
1722
|
+
), qn = C(
|
|
1785
1723
|
function(e) {
|
|
1786
1724
|
var o = e, { store: t, hideWhenEmpty: n } = o, s = k(o, ["store", "hideWhenEmpty"]);
|
|
1787
|
-
const a =
|
|
1788
|
-
t = t || a,
|
|
1725
|
+
const a = ke();
|
|
1726
|
+
t = t || a, _(
|
|
1789
1727
|
t,
|
|
1790
1728
|
process.env.NODE_ENV !== "production" && "ComboboxCancel must receive a `store` prop or be wrapped in a ComboboxProvider component."
|
|
1791
1729
|
);
|
|
1792
|
-
const c = s.onClick, u =
|
|
1730
|
+
const c = s.onClick, u = E((v) => {
|
|
1793
1731
|
c == null || c(v), !v.defaultPrevented && (t == null || t.setValue(""), t == null || t.move(null));
|
|
1794
1732
|
}), i = t.useState((v) => {
|
|
1795
|
-
var
|
|
1796
|
-
return (
|
|
1733
|
+
var f;
|
|
1734
|
+
return (f = v.baseElement) == null ? void 0 : f.id;
|
|
1797
1735
|
}), m = t.useState((v) => v.value === "");
|
|
1798
1736
|
return s = X(
|
|
1799
1737
|
s,
|
|
1800
|
-
(v) => n && m ? /* @__PURE__ */
|
|
1738
|
+
(v) => n && m ? /* @__PURE__ */ I(Bt, {}) : v,
|
|
1801
1739
|
[n, m]
|
|
1802
|
-
), s =
|
|
1803
|
-
children:
|
|
1740
|
+
), s = D(d({
|
|
1741
|
+
children: Wn,
|
|
1804
1742
|
"aria-label": "Clear input",
|
|
1805
1743
|
// This aria-controls will ensure the combobox popup remains visible when
|
|
1806
1744
|
// this element gets focused. This logic is done in the ComboboxPopover
|
|
@@ -1808,12 +1746,12 @@ var Jn = "button", Qn = /* @__PURE__ */ De(
|
|
|
1808
1746
|
"aria-controls": i
|
|
1809
1747
|
}, s), {
|
|
1810
1748
|
onClick: u
|
|
1811
|
-
}), s =
|
|
1749
|
+
}), s = re(s), s;
|
|
1812
1750
|
}
|
|
1813
|
-
),
|
|
1814
|
-
const o =
|
|
1815
|
-
return
|
|
1816
|
-
}),
|
|
1751
|
+
), Ya = h(function(e) {
|
|
1752
|
+
const o = qn(e);
|
|
1753
|
+
return g(Un, o);
|
|
1754
|
+
}), Kn = "button", zn = /* @__PURE__ */ I(
|
|
1817
1755
|
"svg",
|
|
1818
1756
|
{
|
|
1819
1757
|
"aria-hidden": "true",
|
|
@@ -1827,58 +1765,39 @@ var Jn = "button", Qn = /* @__PURE__ */ De(
|
|
|
1827
1765
|
height: "1em",
|
|
1828
1766
|
width: "1em",
|
|
1829
1767
|
pointerEvents: "none",
|
|
1830
|
-
children: /* @__PURE__ */
|
|
1768
|
+
children: /* @__PURE__ */ I("polyline", { points: "4,6 8,10 12,6" })
|
|
1831
1769
|
}
|
|
1832
|
-
),
|
|
1770
|
+
), Xn = C(function(e) {
|
|
1833
1771
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1834
|
-
const s =
|
|
1835
|
-
t = t || s,
|
|
1772
|
+
const s = ke();
|
|
1773
|
+
t = t || s, _(
|
|
1836
1774
|
t,
|
|
1837
1775
|
process.env.NODE_ENV !== "production" && "ComboboxDisclosure must receive a `store` prop or be wrapped in a ComboboxProvider component."
|
|
1838
1776
|
);
|
|
1839
|
-
const a = n.onMouseDown, c =
|
|
1777
|
+
const a = n.onMouseDown, c = E((v) => {
|
|
1840
1778
|
a == null || a(v), v.preventDefault(), t == null || t.move(null);
|
|
1841
|
-
}), u = n.onClick, i =
|
|
1779
|
+
}), u = n.onClick, i = E((v) => {
|
|
1842
1780
|
if (u == null || u(v), v.defaultPrevented || !t) return;
|
|
1843
|
-
const { baseElement:
|
|
1844
|
-
t.setDisclosureElement(
|
|
1781
|
+
const { baseElement: f } = t.getState();
|
|
1782
|
+
t.setDisclosureElement(f);
|
|
1845
1783
|
}), m = t.useState("open");
|
|
1846
|
-
return n =
|
|
1847
|
-
children:
|
|
1784
|
+
return n = D(d({
|
|
1785
|
+
children: zn,
|
|
1848
1786
|
tabIndex: -1,
|
|
1849
1787
|
"aria-label": m ? "Hide popup" : "Show popup",
|
|
1850
1788
|
"aria-expanded": m
|
|
1851
1789
|
}, n), {
|
|
1852
1790
|
onMouseDown: c,
|
|
1853
1791
|
onClick: i
|
|
1854
|
-
}), n =
|
|
1855
|
-
}),
|
|
1856
|
-
const o =
|
|
1857
|
-
return
|
|
1858
|
-
}),
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
const o = ns(e);
|
|
1862
|
-
return h(rs, o);
|
|
1863
|
-
}), ss = "div", as = b(
|
|
1864
|
-
function(e) {
|
|
1865
|
-
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1866
|
-
const s = ve();
|
|
1867
|
-
t = t || s, I(
|
|
1868
|
-
t,
|
|
1869
|
-
process.env.NODE_ENV !== "production" && "ComboboxRow must be wrapped in a ComboboxList or ComboboxPopover component"
|
|
1870
|
-
);
|
|
1871
|
-
const a = t.useState("contentElement");
|
|
1872
|
-
return Te(a) === "grid" && (n = d({ role: "rowgroup" }, n)), n = _e(d({ store: t }, n)), n;
|
|
1873
|
-
}
|
|
1874
|
-
), pu = C(function(e) {
|
|
1875
|
-
const o = as(e);
|
|
1876
|
-
return h(ss, o);
|
|
1877
|
-
}), us = "span";
|
|
1878
|
-
function We(r) {
|
|
1879
|
-
return Gt(r).toLowerCase();
|
|
1792
|
+
}), n = et(d({ store: t }, n)), n;
|
|
1793
|
+
}), Za = h(function(e) {
|
|
1794
|
+
const o = Xn(e);
|
|
1795
|
+
return g(Kn, o);
|
|
1796
|
+
}), Jn = "span";
|
|
1797
|
+
function Ae(r) {
|
|
1798
|
+
return Ot(r).toLowerCase();
|
|
1880
1799
|
}
|
|
1881
|
-
function
|
|
1800
|
+
function Qn(r, e) {
|
|
1882
1801
|
const o = [];
|
|
1883
1802
|
for (const t of e) {
|
|
1884
1803
|
let n = 0;
|
|
@@ -1890,17 +1809,17 @@ function is(r, e) {
|
|
|
1890
1809
|
}
|
|
1891
1810
|
return o;
|
|
1892
1811
|
}
|
|
1893
|
-
function
|
|
1812
|
+
function Yn(r) {
|
|
1894
1813
|
return r.filter(([e, o], t, n) => !n.some(
|
|
1895
1814
|
([s, a], c) => c !== t && s <= e && s + a >= e + o
|
|
1896
1815
|
));
|
|
1897
1816
|
}
|
|
1898
|
-
function
|
|
1817
|
+
function Zn(r) {
|
|
1899
1818
|
return r.sort(([e], [o]) => e - o);
|
|
1900
1819
|
}
|
|
1901
|
-
function
|
|
1820
|
+
function es(r, e) {
|
|
1902
1821
|
if (!r || !e) return r;
|
|
1903
|
-
const o =
|
|
1822
|
+
const o = Yt(e).filter(Boolean).map(Ae), t = [], n = (u, i = !1) => /* @__PURE__ */ I(
|
|
1904
1823
|
"span",
|
|
1905
1824
|
{
|
|
1906
1825
|
"data-autocomplete-value": i ? "" : void 0,
|
|
@@ -1908,10 +1827,10 @@ function ds(r, e) {
|
|
|
1908
1827
|
children: u
|
|
1909
1828
|
},
|
|
1910
1829
|
t.length
|
|
1911
|
-
), s =
|
|
1912
|
-
|
|
1830
|
+
), s = Zn(
|
|
1831
|
+
Yn(
|
|
1913
1832
|
// Convert userValues into a set to avoid duplicates
|
|
1914
|
-
|
|
1833
|
+
Qn(Ae(r), new Set(o))
|
|
1915
1834
|
)
|
|
1916
1835
|
);
|
|
1917
1836
|
if (!s.length)
|
|
@@ -1921,32 +1840,32 @@ function ds(r, e) {
|
|
|
1921
1840
|
r.slice(0, a),
|
|
1922
1841
|
...s.flatMap(([u, i], m) => {
|
|
1923
1842
|
var v;
|
|
1924
|
-
const
|
|
1925
|
-
return [
|
|
1843
|
+
const f = r.slice(u, u + i), p = (v = s[m + 1]) == null ? void 0 : v[0], l = r.slice(u + i, p);
|
|
1844
|
+
return [f, l];
|
|
1926
1845
|
})
|
|
1927
1846
|
].forEach((u, i) => {
|
|
1928
1847
|
u && t.push(n(u, i % 2 === 0));
|
|
1929
1848
|
}), t;
|
|
1930
1849
|
}
|
|
1931
|
-
var
|
|
1850
|
+
var ts = C(function(e) {
|
|
1932
1851
|
var o = e, { store: t, value: n, userValue: s } = o, a = k(o, ["store", "value", "userValue"]);
|
|
1933
|
-
const c =
|
|
1852
|
+
const c = Fe();
|
|
1934
1853
|
t = t || c;
|
|
1935
|
-
const u =
|
|
1854
|
+
const u = ne(Jt), i = n ?? u, m = ce(t, (f) => s ?? (f == null ? void 0 : f.value)), v = ze(() => {
|
|
1936
1855
|
if (i)
|
|
1937
|
-
return m ?
|
|
1856
|
+
return m ? es(i, m) : i;
|
|
1938
1857
|
}, [i, m]);
|
|
1939
1858
|
return a = d({
|
|
1940
1859
|
children: v
|
|
1941
|
-
}, a),
|
|
1942
|
-
}),
|
|
1943
|
-
const o =
|
|
1944
|
-
return
|
|
1945
|
-
}),
|
|
1860
|
+
}, a), U(a);
|
|
1861
|
+
}), eu = h(function(e) {
|
|
1862
|
+
const o = ts(e);
|
|
1863
|
+
return g(Jn, o);
|
|
1864
|
+
}), os = "label", rs = C(
|
|
1946
1865
|
function(e) {
|
|
1947
1866
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1948
|
-
const s =
|
|
1949
|
-
t = t || s,
|
|
1867
|
+
const s = ke();
|
|
1868
|
+
t = t || s, _(
|
|
1950
1869
|
t,
|
|
1951
1870
|
process.env.NODE_ENV !== "production" && "ComboboxLabel must receive a `store` prop or be wrapped in a ComboboxProvider component."
|
|
1952
1871
|
);
|
|
@@ -1956,258 +1875,258 @@ var ms = b(function(e) {
|
|
|
1956
1875
|
});
|
|
1957
1876
|
return n = d({
|
|
1958
1877
|
htmlFor: a
|
|
1959
|
-
}, n),
|
|
1878
|
+
}, n), U(n);
|
|
1960
1879
|
}
|
|
1961
|
-
),
|
|
1962
|
-
|
|
1963
|
-
const o =
|
|
1964
|
-
return
|
|
1880
|
+
), tu = V(
|
|
1881
|
+
h(function(e) {
|
|
1882
|
+
const o = rs(e);
|
|
1883
|
+
return g(os, o);
|
|
1965
1884
|
})
|
|
1966
|
-
),
|
|
1885
|
+
), ns = "div", ss = C(
|
|
1967
1886
|
function(e) {
|
|
1968
1887
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1969
|
-
const s =
|
|
1970
|
-
t = t || s,
|
|
1888
|
+
const s = Fe();
|
|
1889
|
+
t = t || s, _(
|
|
1971
1890
|
t,
|
|
1972
1891
|
process.env.NODE_ENV !== "production" && "ComboboxRow must be wrapped in a ComboboxList or ComboboxPopover component"
|
|
1973
1892
|
);
|
|
1974
|
-
const a = t.useState("contentElement"), u =
|
|
1975
|
-
return n = d({ role: u }, n), n =
|
|
1893
|
+
const a = t.useState("contentElement"), u = Ue(a) === "grid" ? "row" : "presentation";
|
|
1894
|
+
return n = d({ role: u }, n), n = tt(d({ store: t }, n)), n;
|
|
1976
1895
|
}
|
|
1977
|
-
),
|
|
1978
|
-
const o =
|
|
1979
|
-
return
|
|
1980
|
-
}),
|
|
1896
|
+
), ou = h(function(e) {
|
|
1897
|
+
const o = ss(e);
|
|
1898
|
+
return g(ns, o);
|
|
1899
|
+
}), as = "hr", us = C(function(e) {
|
|
1981
1900
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
1982
|
-
const s =
|
|
1983
|
-
return t = t || s,
|
|
1901
|
+
const s = Fe();
|
|
1902
|
+
return t = t || s, _(
|
|
1984
1903
|
t,
|
|
1985
1904
|
process.env.NODE_ENV !== "production" && "ComboboxSeparator must be wrapped in a ComboboxList or ComboboxPopover component."
|
|
1986
|
-
), n =
|
|
1987
|
-
}),
|
|
1988
|
-
const o =
|
|
1989
|
-
return
|
|
1905
|
+
), n = ot(d({ store: t }, n)), n;
|
|
1906
|
+
}), ru = h(function(e) {
|
|
1907
|
+
const o = us(e);
|
|
1908
|
+
return g(as, o);
|
|
1990
1909
|
});
|
|
1991
|
-
function
|
|
1992
|
-
const o =
|
|
1993
|
-
r = r || o,
|
|
1910
|
+
function nu({ store: r, children: e } = {}) {
|
|
1911
|
+
const o = Qt();
|
|
1912
|
+
r = r || o, _(
|
|
1994
1913
|
r,
|
|
1995
1914
|
process.env.NODE_ENV !== "production" && "ComboboxValue must receive a `store` prop or be wrapped in a ComboboxProvider component."
|
|
1996
1915
|
);
|
|
1997
1916
|
const t = r.useState("value");
|
|
1998
1917
|
return e ? e(t) : t;
|
|
1999
1918
|
}
|
|
2000
|
-
function
|
|
2001
|
-
const e =
|
|
2002
|
-
return /* @__PURE__ */
|
|
1919
|
+
function su(r = {}) {
|
|
1920
|
+
const e = io(r);
|
|
1921
|
+
return /* @__PURE__ */ I(so, { value: e, children: r.children });
|
|
2003
1922
|
}
|
|
2004
|
-
var
|
|
1923
|
+
var is = "label", cs = C(
|
|
2005
1924
|
function(e) {
|
|
2006
1925
|
var o = e, { store: t } = o, n = k(o, ["store"]);
|
|
2007
|
-
const s =
|
|
2008
|
-
t = t || s,
|
|
1926
|
+
const s = yt();
|
|
1927
|
+
t = t || s, _(
|
|
2009
1928
|
t,
|
|
2010
1929
|
process.env.NODE_ENV !== "production" && "TagListLabel must receive a `store` prop or be wrapped in a TagProvider component."
|
|
2011
1930
|
);
|
|
2012
|
-
const a =
|
|
1931
|
+
const a = W(n.id), c = t.useState((u) => {
|
|
2013
1932
|
var i;
|
|
2014
1933
|
return (i = u.inputElement) == null ? void 0 : i.id;
|
|
2015
1934
|
});
|
|
2016
|
-
return n =
|
|
1935
|
+
return n = D(d({
|
|
2017
1936
|
id: a,
|
|
2018
1937
|
htmlFor: c
|
|
2019
1938
|
}, n), {
|
|
2020
|
-
ref:
|
|
1939
|
+
ref: A(t.setLabelElement, n.ref)
|
|
2021
1940
|
}), n;
|
|
2022
1941
|
}
|
|
2023
|
-
),
|
|
2024
|
-
const o =
|
|
2025
|
-
return
|
|
1942
|
+
), au = h(function(e) {
|
|
1943
|
+
const o = cs(e);
|
|
1944
|
+
return g(is, o);
|
|
2026
1945
|
});
|
|
2027
1946
|
export {
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
1947
|
+
Du as Button,
|
|
1948
|
+
pa as Checkbox,
|
|
1949
|
+
cu as CheckboxCheck,
|
|
1950
|
+
Xa as CheckboxProvider,
|
|
1951
|
+
Ja as Collection,
|
|
1952
|
+
$u as CollectionItem,
|
|
1953
|
+
Qa as CollectionProvider,
|
|
1954
|
+
Su as Combobox,
|
|
1955
|
+
Ya as ComboboxCancel,
|
|
1956
|
+
Za as ComboboxDisclosure,
|
|
1957
|
+
Gu as ComboboxGroup,
|
|
1958
|
+
ju as ComboboxGroupLabel,
|
|
1959
|
+
Pu as ComboboxItem,
|
|
1960
|
+
lu as ComboboxItemCheck,
|
|
1961
|
+
eu as ComboboxItemValue,
|
|
1962
|
+
tu as ComboboxLabel,
|
|
1963
|
+
ku as ComboboxList,
|
|
1964
|
+
Wu as ComboboxPopover,
|
|
1965
|
+
Fu as ComboboxProvider,
|
|
1966
|
+
ou as ComboboxRow,
|
|
1967
|
+
ru as ComboboxSeparator,
|
|
1968
|
+
nu as ComboboxValue,
|
|
1969
|
+
Iu as Command,
|
|
1970
|
+
Yu as Composite,
|
|
1971
|
+
ei as CompositeGroup,
|
|
1972
|
+
ti as CompositeGroupLabel,
|
|
1973
|
+
si as CompositeHover,
|
|
1974
|
+
ui as CompositeItem,
|
|
1975
|
+
ci as CompositeProvider,
|
|
1976
|
+
Ku as CompositeRow,
|
|
1977
|
+
Xu as CompositeSeparator,
|
|
1978
|
+
di as CompositeTypeahead,
|
|
1979
|
+
vi as Dialog,
|
|
1980
|
+
Js as DialogDescription,
|
|
1981
|
+
Ou as DialogDisclosure,
|
|
1982
|
+
Fi as DialogDismiss,
|
|
1983
|
+
Ti as DialogHeading,
|
|
1984
|
+
su as DialogProvider,
|
|
1985
|
+
yu as Disclosure,
|
|
1986
|
+
yi as DisclosureContent,
|
|
1987
|
+
Ii as DisclosureProvider,
|
|
1988
|
+
oo as FocusTrap,
|
|
1989
|
+
da as FocusTrapRegion,
|
|
1990
|
+
Mi as Focusable,
|
|
1991
|
+
ma as Form,
|
|
1992
|
+
ba as FormCheckbox,
|
|
1993
|
+
fa as FormControl,
|
|
1994
|
+
Ca as FormDescription,
|
|
1995
|
+
ha as FormError,
|
|
1996
|
+
ga as FormField,
|
|
1997
|
+
Sa as FormGroup,
|
|
1998
|
+
xa as FormGroupLabel,
|
|
1999
|
+
Pa as FormInput,
|
|
2000
|
+
ka as FormLabel,
|
|
2001
|
+
va as FormProvider,
|
|
2002
|
+
Fa as FormPush,
|
|
2003
|
+
Na as FormRadio,
|
|
2004
|
+
Ta as FormRadioGroup,
|
|
2005
|
+
Da as FormRemove,
|
|
2006
|
+
ya as FormReset,
|
|
2007
|
+
Ea as FormSubmit,
|
|
2008
|
+
oi as Group,
|
|
2009
|
+
ri as GroupLabel,
|
|
2010
|
+
Ni as Heading,
|
|
2011
|
+
fi as HeadingLevel,
|
|
2012
|
+
$i as Hovercard,
|
|
2013
|
+
Ri as HovercardAnchor,
|
|
2014
|
+
_a as HovercardArrow,
|
|
2015
|
+
Ma as HovercardDescription,
|
|
2016
|
+
wa as HovercardDisclosure,
|
|
2017
|
+
$a as HovercardDismiss,
|
|
2018
|
+
Ra as HovercardHeading,
|
|
2019
|
+
Ia as HovercardProvider,
|
|
2020
|
+
Ki as Menu,
|
|
2021
|
+
Aa as MenuArrow,
|
|
2022
|
+
La as MenuBar,
|
|
2023
|
+
Oa as MenuBarProvider,
|
|
2024
|
+
zi as MenuButton,
|
|
2025
|
+
Ha as MenuButtonArrow,
|
|
2026
|
+
Ba as MenuDescription,
|
|
2027
|
+
Ga as MenuDismiss,
|
|
2028
|
+
Ua as MenuGroup,
|
|
2029
|
+
ja as MenuGroupLabel,
|
|
2030
|
+
Wa as MenuHeading,
|
|
2031
|
+
dc as MenuItem,
|
|
2032
|
+
qa as MenuItemCheck,
|
|
2033
|
+
Ka as MenuItemCheckbox,
|
|
2034
|
+
za as MenuItemRadio,
|
|
2035
|
+
Xi as MenuList,
|
|
2036
|
+
Ji as MenuProvider,
|
|
2037
|
+
vc as MenuSeparator,
|
|
2038
|
+
Xs as Menubar,
|
|
2039
|
+
Lo as MenubarProvider,
|
|
2040
|
+
pi as Popover,
|
|
2041
|
+
Au as PopoverAnchor,
|
|
2042
|
+
Li as PopoverArrow,
|
|
2043
|
+
Qs as PopoverDescription,
|
|
2044
|
+
Hu as PopoverDisclosure,
|
|
2045
|
+
oc as PopoverDisclosureArrow,
|
|
2046
|
+
Ys as PopoverDismiss,
|
|
2047
|
+
Zs as PopoverHeading,
|
|
2048
|
+
pc as PopoverProvider,
|
|
2049
|
+
bi as Portal,
|
|
2050
|
+
Ci as PortalContext,
|
|
2051
|
+
ea as Radio,
|
|
2052
|
+
oa as RadioGroup,
|
|
2053
|
+
ta as RadioProvider,
|
|
2054
|
+
hi as Role,
|
|
2055
|
+
rc as Select,
|
|
2056
|
+
nc as SelectArrow,
|
|
2057
|
+
ra as SelectDismiss,
|
|
2058
|
+
sa as SelectGroup,
|
|
2059
|
+
na as SelectGroupLabel,
|
|
2060
|
+
aa as SelectHeading,
|
|
2061
|
+
sc as SelectItem,
|
|
2062
|
+
ua as SelectItemCheck,
|
|
2063
|
+
ia as SelectLabel,
|
|
2064
|
+
ac as SelectList,
|
|
2065
|
+
uc as SelectPopover,
|
|
2066
|
+
ic as SelectProvider,
|
|
2067
|
+
ca as SelectRow,
|
|
2068
|
+
la as SelectSeparator,
|
|
2069
|
+
Cc as SelectValue,
|
|
2070
|
+
Ju as Separator,
|
|
2071
|
+
gc as Tab,
|
|
2072
|
+
Sc as TabList,
|
|
2073
|
+
kc as TabPanel,
|
|
2074
|
+
Tc as TabProvider,
|
|
2075
|
+
du as Tag,
|
|
2076
|
+
mu as TagInput,
|
|
2077
|
+
vu as TagList,
|
|
2078
|
+
au as TagListLabel,
|
|
2079
|
+
fu as TagProvider,
|
|
2080
|
+
pu as TagRemove,
|
|
2081
|
+
yc as Toolbar,
|
|
2082
|
+
Ks as ToolbarContainer,
|
|
2083
|
+
zs as ToolbarInput,
|
|
2084
|
+
Ic as ToolbarItem,
|
|
2085
|
+
qs as ToolbarProvider,
|
|
2086
|
+
Mc as ToolbarSeparator,
|
|
2087
|
+
Oi as Tooltip,
|
|
2088
|
+
Ai as TooltipAnchor,
|
|
2089
|
+
Hi as TooltipArrow,
|
|
2090
|
+
Bi as TooltipProvider,
|
|
2091
|
+
gi as VisuallyHidden,
|
|
2092
|
+
_r as useCheckboxContext,
|
|
2093
|
+
Me as useCheckboxStore,
|
|
2094
|
+
Mu as useCollectionContext,
|
|
2095
|
+
Xt as useCollectionStore,
|
|
2096
|
+
Qt as useComboboxContext,
|
|
2097
|
+
Tu as useComboboxStore,
|
|
2098
|
+
jt as useCompositeContext,
|
|
2099
|
+
Vu as useCompositeStore,
|
|
2100
|
+
Si as useDialogContext,
|
|
2101
|
+
io as useDialogStore,
|
|
2102
|
+
Pi as useDisclosureContext,
|
|
2103
|
+
$c as useDisclosureStore,
|
|
2104
|
+
H as useFormContext,
|
|
2105
|
+
Sr as useFormStore,
|
|
2106
|
+
fo as useHovercardContext,
|
|
2107
|
+
mo as useHovercardStore,
|
|
2108
|
+
Zi as useMenuBarContext,
|
|
2109
|
+
Va as useMenuBarStore,
|
|
2191
2110
|
ut as useMenuContext,
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2111
|
+
Qi as useMenuStore,
|
|
2112
|
+
ec as useMenubarContext,
|
|
2113
|
+
De as useMenubarStore,
|
|
2114
|
+
Wi as usePopoverContext,
|
|
2115
|
+
Vc as usePopoverStore,
|
|
2116
|
+
Wo as useRadioContext,
|
|
2117
|
+
Uo as useRadioStore,
|
|
2199
2118
|
lt as useSelectContext,
|
|
2200
|
-
|
|
2119
|
+
cc as useSelectStore,
|
|
2201
2120
|
ce as useStoreState,
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2121
|
+
Oc as useTabContext,
|
|
2122
|
+
Nc as useTabStore,
|
|
2123
|
+
bu as useTag,
|
|
2124
|
+
Cu as useTagInput,
|
|
2125
|
+
hu as useTagList,
|
|
2126
|
+
cs as useTagListLabel,
|
|
2127
|
+
gu as useTagRemove,
|
|
2209
2128
|
mt as useToolbarContext,
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2129
|
+
No as useToolbarStore,
|
|
2130
|
+
Gi as useTooltipContext,
|
|
2131
|
+
ji as useTooltipStore
|
|
2213
2132
|
};
|