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