@commercetools/nimbus 0.0.0-canary-20250922155413 → 0.0.0-canary-20250924083846
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/chunks/Button-BtJHe9xY.cjs.js.map +1 -1
- package/dist/chunks/Button-CNBS3n5a.es.js.map +1 -1
- package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -1
- package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -1
- package/dist/chunks/{DatePicker-e_53Dtsm.cjs.js → DatePicker-BYhiEF2C.cjs.js} +2 -2
- package/dist/chunks/{DatePicker-e_53Dtsm.cjs.js.map → DatePicker-BYhiEF2C.cjs.js.map} +1 -1
- package/dist/chunks/{DatePicker-kvQcWFTq.es.js → DatePicker-C4UN4l9t.es.js} +2 -2
- package/dist/chunks/{DatePicker-kvQcWFTq.es.js.map → DatePicker-C4UN4l9t.es.js.map} +1 -1
- package/dist/chunks/{Dialog-K19USc7c.cjs.js → Dialog-32GmWneq.cjs.js} +2 -2
- package/dist/chunks/{Dialog-K19USc7c.cjs.js.map → Dialog-32GmWneq.cjs.js.map} +1 -1
- package/dist/chunks/{Dialog-BH-H4BEe.es.js → Dialog-CpUyTYgL.es.js} +4 -4
- package/dist/chunks/{Dialog-BH-H4BEe.es.js.map → Dialog-CpUyTYgL.es.js.map} +1 -1
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -1
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -1
- package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
- package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
- package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
- package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
- package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -1
- package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -1
- package/dist/chunks/{Header-zz3aj0c7.cjs.js → Header-C0mOQKWH.cjs.js} +2 -2
- package/dist/chunks/{Header-zz3aj0c7.cjs.js.map → Header-C0mOQKWH.cjs.js.map} +1 -1
- package/dist/chunks/{Header-Bi219Q1R.es.js → Header-CRiZqLJU.es.js} +3 -3
- package/dist/chunks/{Header-Bi219Q1R.es.js.map → Header-CRiZqLJU.es.js.map} +1 -1
- package/dist/chunks/Heading-BaW6t55l.cjs.js.map +1 -1
- package/dist/chunks/Heading-DEfy_f01.es.js.map +1 -1
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
- package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
- package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -1
- package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -1
- package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
- package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
- package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -1
- package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
- package/dist/chunks/{ListBox-BHUS7cW2.cjs.js → ListBox-DW2g6DgQ.cjs.js} +2 -2
- package/dist/chunks/{ListBox-BHUS7cW2.cjs.js.map → ListBox-DW2g6DgQ.cjs.js.map} +1 -1
- package/dist/chunks/{ListBox-DKAR_w69.es.js → ListBox-Vxd1SXUB.es.js} +4 -4
- package/dist/chunks/{ListBox-DKAR_w69.es.js.map → ListBox-Vxd1SXUB.es.js.map} +1 -1
- package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -1
- package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -1
- package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +1 -1
- package/dist/chunks/ProgressBar-DjaUQI7N.es.js.map +1 -1
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -1
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -1
- package/dist/chunks/{SelectionManager-BgUVI3vz.es.js → SelectionManager-BCXBpjO4.es.js} +2 -2
- package/dist/chunks/{SelectionManager-BgUVI3vz.es.js.map → SelectionManager-BCXBpjO4.es.js.map} +1 -1
- package/dist/chunks/{SelectionManager-CmUHDDN6.cjs.js → SelectionManager-CZSEfn4s.cjs.js} +2 -2
- package/dist/chunks/{SelectionManager-CmUHDDN6.cjs.js.map → SelectionManager-CZSEfn4s.cjs.js.map} +1 -1
- package/dist/chunks/Separator-DQ53Zxpp.cjs.js +18 -0
- package/dist/chunks/Separator-DQ53Zxpp.cjs.js.map +1 -0
- package/dist/chunks/{Separator-CuZ-VIh8.es.js → Separator-Qp4OCFiC.es.js} +275 -277
- package/dist/chunks/Separator-Qp4OCFiC.es.js.map +1 -0
- package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
- package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
- package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -1
- package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -1
- package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +1 -1
- package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +1 -1
- package/dist/chunks/accordion-CSSdv9jZ.es.js.map +1 -1
- package/dist/chunks/accordion-xYvGyXy-.cjs.js.map +1 -1
- package/dist/chunks/checkbox-Bv0NXUyX.cjs.js.map +1 -1
- package/dist/chunks/checkbox-CdSHDZgM.es.js.map +1 -1
- package/dist/chunks/{combobox-Dmn2vxIz.es.js → combobox-C1LdL2D0.es.js} +228 -229
- package/dist/chunks/combobox-C1LdL2D0.es.js.map +1 -0
- package/dist/chunks/{combobox-C9pPDZQn.cjs.js → combobox-uCNxpE7-.cjs.js} +2 -2
- package/dist/chunks/combobox-uCNxpE7-.cjs.js.map +1 -0
- package/dist/chunks/{data-table-DIsDZ5JZ.cjs.js → data-table-BBgNLX1F.cjs.js} +2 -2
- package/dist/chunks/{data-table-DIsDZ5JZ.cjs.js.map → data-table-BBgNLX1F.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-CBr4TLyH.es.js → data-table-D3e1Jwo7.es.js} +4 -4
- package/dist/chunks/{data-table-CBr4TLyH.es.js.map → data-table-D3e1Jwo7.es.js.map} +1 -1
- package/dist/chunks/{date-picker-_7Gh_ROw.cjs.js → date-picker-Bb3NXrgg.cjs.js} +2 -2
- package/dist/chunks/{date-picker-_7Gh_ROw.cjs.js.map → date-picker-Bb3NXrgg.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-BVrTKhZ_.es.js → date-picker-Bic1MCyC.es.js} +3 -3
- package/dist/chunks/{date-picker-BVrTKhZ_.es.js.map → date-picker-Bic1MCyC.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-D7pPpSEj.cjs.js → date-range-picker-C8Qvuf85.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-D7pPpSEj.cjs.js.map → date-range-picker-C8Qvuf85.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-D55giMLZ.es.js → date-range-picker-D4jLAymc.es.js} +3 -3
- package/dist/chunks/{date-range-picker-D55giMLZ.es.js.map → date-range-picker-D4jLAymc.es.js.map} +1 -1
- package/dist/chunks/{form-field-DHvafAwV.cjs.js → form-field-D2DlhLF_.cjs.js} +2 -2
- package/dist/chunks/{form-field-DHvafAwV.cjs.js.map → form-field-D2DlhLF_.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-DIUXRuTp.es.js → form-field-DY3B_1tq.es.js} +2 -2
- package/dist/chunks/{form-field-DIUXRuTp.es.js.map → form-field-DY3B_1tq.es.js.map} +1 -1
- package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
- package/dist/chunks/{menu-cYj3HcOe.cjs.js → menu-Bfk7xGk8.cjs.js} +2 -2
- package/dist/chunks/{menu-cYj3HcOe.cjs.js.map → menu-Bfk7xGk8.cjs.js.map} +1 -1
- package/dist/chunks/{menu-D5UbPSbm.es.js → menu-Dfwew0Go.es.js} +4 -4
- package/dist/chunks/{menu-D5UbPSbm.es.js.map → menu-Dfwew0Go.es.js.map} +1 -1
- package/dist/chunks/{money-input-CtG9FJDJ.es.js → money-input-B2X3PtKX.es.js} +2 -2
- package/dist/chunks/{money-input-CtG9FJDJ.es.js.map → money-input-B2X3PtKX.es.js.map} +1 -1
- package/dist/chunks/{money-input-DXpiO23i.cjs.js → money-input-BFhtaiLG.cjs.js} +2 -2
- package/dist/chunks/{money-input-DXpiO23i.cjs.js.map → money-input-BFhtaiLG.cjs.js.map} +1 -1
- package/dist/chunks/{pagination-BM1xkmu9.cjs.js → pagination-Dis-nnBy.cjs.js} +2 -2
- package/dist/chunks/{pagination-BM1xkmu9.cjs.js.map → pagination-Dis-nnBy.cjs.js.map} +1 -1
- package/dist/chunks/{pagination-C5bOKHnF.es.js → pagination-ZXOMcPAB.es.js} +2 -2
- package/dist/chunks/{pagination-C5bOKHnF.es.js.map → pagination-ZXOMcPAB.es.js.map} +1 -1
- package/dist/chunks/radio-input-CBsoUt1S.es.js.map +1 -1
- package/dist/chunks/radio-input-D7oHngVQ.cjs.js.map +1 -1
- package/dist/chunks/{rich-text-input-CxWC-yrf.cjs.js → rich-text-input-3MgAtZuL.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-CxWC-yrf.cjs.js.map → rich-text-input-3MgAtZuL.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-YYPcexom.es.js → rich-text-input-C8bdPxGb.es.js} +3 -3
- package/dist/chunks/{rich-text-input-YYPcexom.es.js.map → rich-text-input-C8bdPxGb.es.js.map} +1 -1
- package/dist/chunks/{select-DA6mGi-n.cjs.js → select-C1SC1XAp.cjs.js} +2 -2
- package/dist/chunks/{select-DA6mGi-n.cjs.js.map → select-C1SC1XAp.cjs.js.map} +1 -1
- package/dist/chunks/{select-Bj9NNlBG.es.js → select-DpHmAHrs.es.js} +7 -7
- package/dist/chunks/{select-Bj9NNlBG.es.js.map → select-DpHmAHrs.es.js.map} +1 -1
- package/dist/chunks/{separator-CoMx0Mmv.cjs.js → separator-BGepaXda.cjs.js} +2 -2
- package/dist/chunks/{separator-CoMx0Mmv.cjs.js.map → separator-BGepaXda.cjs.js.map} +1 -1
- package/dist/chunks/{separator-BBcK9ROS.es.js → separator-BSLmXG3h.es.js} +2 -2
- package/dist/chunks/{separator-BBcK9ROS.es.js.map → separator-BSLmXG3h.es.js.map} +1 -1
- package/dist/chunks/{split-button-C5RRpvG-.es.js → split-button-BxfsI-af.es.js} +2 -2
- package/dist/chunks/{split-button-C5RRpvG-.es.js.map → split-button-BxfsI-af.es.js.map} +1 -1
- package/dist/chunks/{split-button-DS-OCnNN.cjs.js → split-button-D8Zq-S4o.cjs.js} +2 -2
- package/dist/chunks/{split-button-DS-OCnNN.cjs.js.map → split-button-D8Zq-S4o.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-BfVRqsqw.cjs.js → tag-group-3ESWulAU.cjs.js} +2 -2
- package/dist/chunks/{tag-group-BfVRqsqw.cjs.js.map → tag-group-3ESWulAU.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-Bs6sb_ky.es.js → tag-group-CnStbH_k.es.js} +5 -5
- package/dist/chunks/{tag-group-Bs6sb_ky.es.js.map → tag-group-CnStbH_k.es.js.map} +1 -1
- package/dist/chunks/toolbar-BZFjOgau.es.js.map +1 -1
- package/dist/chunks/toolbar-CRak3D0J.cjs.js.map +1 -1
- package/dist/chunks/tooltip-B1YdruCE.es.js.map +1 -1
- package/dist/chunks/tooltip-g8-hEdZp.cjs.js.map +1 -1
- package/dist/chunks/{useSingleSelectListState-C-E1yca1.cjs.js → useSingleSelectListState-BjYKH0pH.cjs.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-C-E1yca1.cjs.js.map → useSingleSelectListState-BjYKH0pH.cjs.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-CdPCvWTv.es.js → useSingleSelectListState-BsnptkyP.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-CdPCvWTv.es.js.map → useSingleSelectListState-BsnptkyP.es.js.map} +1 -1
- package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
- package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -1
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +13 -13
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/money-input.cjs +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/pagination.cjs +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +14 -14
- package/package.json +17 -17
- package/dist/chunks/Separator-CTkcgvBE.cjs.js +0 -18
- package/dist/chunks/Separator-CTkcgvBE.cjs.js.map +0 -1
- package/dist/chunks/Separator-CuZ-VIh8.es.js.map +0 -1
- package/dist/chunks/combobox-C9pPDZQn.cjs.js.map +0 -1
- package/dist/chunks/combobox-Dmn2vxIz.es.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import
|
|
3
|
-
import { a as
|
|
4
|
-
import { createPortal as
|
|
1
|
+
import { $ as F } from "./utils-BkdW_cdL.es.js";
|
|
2
|
+
import v, { useMemo as k, cloneElement as W, forwardRef as L, useContext as b, createContext as E, useCallback as C, useState as Y, useRef as J } from "react";
|
|
3
|
+
import { a as Q } from "./Hidden-j3Lbt7xL.es.js";
|
|
4
|
+
import { createPortal as X } from "react-dom";
|
|
5
5
|
import { b as N } from "./useFocusable-CrsD8ZcF.es.js";
|
|
6
6
|
import { $ as A } from "./SSRProvider-Cu8KibIK.es.js";
|
|
7
|
-
import { c as
|
|
7
|
+
import { c as Z, $ as ee } from "./mergeProps-B_9syxhT.es.js";
|
|
8
8
|
import { $ as P } from "./filterDOMProps-BSVCO5jK.es.js";
|
|
9
|
-
var
|
|
9
|
+
var w = { exports: {} }, _ = {};
|
|
10
10
|
/**
|
|
11
11
|
* @license React
|
|
12
12
|
* use-sync-external-store-shim.production.js
|
|
@@ -17,45 +17,45 @@ var K = { exports: {} }, _ = {};
|
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
18
|
*/
|
|
19
19
|
var M;
|
|
20
|
-
function
|
|
20
|
+
function te() {
|
|
21
21
|
if (M) return _;
|
|
22
22
|
M = 1;
|
|
23
|
-
var
|
|
24
|
-
function e(
|
|
25
|
-
return
|
|
26
|
-
}
|
|
27
|
-
var t = typeof Object.is == "function" ? Object.is : e,
|
|
28
|
-
function
|
|
29
|
-
var c =
|
|
30
|
-
return
|
|
23
|
+
var l = v;
|
|
24
|
+
function e(h, f) {
|
|
25
|
+
return h === f && (h !== 0 || 1 / h === 1 / f) || h !== h && f !== f;
|
|
26
|
+
}
|
|
27
|
+
var t = typeof Object.is == "function" ? Object.is : e, n = l.useState, i = l.useEffect, r = l.useLayoutEffect, o = l.useDebugValue;
|
|
28
|
+
function s(h, f) {
|
|
29
|
+
var c = f(), p = n({ inst: { value: c, getSnapshot: f } }), y = p[0].inst, S = p[1];
|
|
30
|
+
return r(
|
|
31
31
|
function() {
|
|
32
|
-
|
|
32
|
+
y.value = c, y.getSnapshot = f, a(y) && S({ inst: y });
|
|
33
33
|
},
|
|
34
|
-
[
|
|
34
|
+
[h, c, f]
|
|
35
35
|
), i(
|
|
36
36
|
function() {
|
|
37
|
-
return
|
|
38
|
-
|
|
37
|
+
return a(y) && S({ inst: y }), h(function() {
|
|
38
|
+
a(y) && S({ inst: y });
|
|
39
39
|
});
|
|
40
40
|
},
|
|
41
|
-
[
|
|
42
|
-
),
|
|
41
|
+
[h]
|
|
42
|
+
), o(c), c;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
var
|
|
46
|
-
|
|
44
|
+
function a(h) {
|
|
45
|
+
var f = h.getSnapshot;
|
|
46
|
+
h = h.value;
|
|
47
47
|
try {
|
|
48
|
-
var c =
|
|
49
|
-
return !t(
|
|
48
|
+
var c = f();
|
|
49
|
+
return !t(h, c);
|
|
50
50
|
} catch {
|
|
51
51
|
return !0;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
return
|
|
54
|
+
function u(h, f) {
|
|
55
|
+
return f();
|
|
56
56
|
}
|
|
57
|
-
var
|
|
58
|
-
return _.useSyncExternalStore =
|
|
57
|
+
var d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? u : s;
|
|
58
|
+
return _.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : d, _;
|
|
59
59
|
}
|
|
60
60
|
var D = {};
|
|
61
61
|
/**
|
|
@@ -68,68 +68,68 @@ var D = {};
|
|
|
68
68
|
* LICENSE file in the root directory of this source tree.
|
|
69
69
|
*/
|
|
70
70
|
var O;
|
|
71
|
-
function
|
|
71
|
+
function ie() {
|
|
72
72
|
return O || (O = 1, process.env.NODE_ENV !== "production" && function() {
|
|
73
|
-
function
|
|
74
|
-
return c ===
|
|
73
|
+
function l(c, p) {
|
|
74
|
+
return c === p && (c !== 0 || 1 / c === 1 / p) || c !== c && p !== p;
|
|
75
75
|
}
|
|
76
|
-
function e(c,
|
|
77
|
-
|
|
76
|
+
function e(c, p) {
|
|
77
|
+
d || i.startTransition === void 0 || (d = !0, console.error(
|
|
78
78
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
79
79
|
));
|
|
80
|
-
var
|
|
81
|
-
if (!
|
|
82
|
-
var S =
|
|
83
|
-
|
|
80
|
+
var y = p();
|
|
81
|
+
if (!h) {
|
|
82
|
+
var S = p();
|
|
83
|
+
r(y, S) || (console.error(
|
|
84
84
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
85
|
-
),
|
|
85
|
+
), h = !0);
|
|
86
86
|
}
|
|
87
|
-
S =
|
|
88
|
-
inst: { value:
|
|
87
|
+
S = o({
|
|
88
|
+
inst: { value: y, getSnapshot: p }
|
|
89
89
|
});
|
|
90
|
-
var m = S[0].inst,
|
|
91
|
-
return
|
|
90
|
+
var m = S[0].inst, x = S[1];
|
|
91
|
+
return a(
|
|
92
92
|
function() {
|
|
93
|
-
m.value =
|
|
93
|
+
m.value = y, m.getSnapshot = p, t(m) && x({ inst: m });
|
|
94
94
|
},
|
|
95
|
-
[c,
|
|
96
|
-
),
|
|
95
|
+
[c, y, p]
|
|
96
|
+
), s(
|
|
97
97
|
function() {
|
|
98
|
-
return t(m) &&
|
|
99
|
-
t(m) &&
|
|
98
|
+
return t(m) && x({ inst: m }), c(function() {
|
|
99
|
+
t(m) && x({ inst: m });
|
|
100
100
|
});
|
|
101
101
|
},
|
|
102
102
|
[c]
|
|
103
|
-
),
|
|
103
|
+
), u(y), y;
|
|
104
104
|
}
|
|
105
105
|
function t(c) {
|
|
106
|
-
var
|
|
106
|
+
var p = c.getSnapshot;
|
|
107
107
|
c = c.value;
|
|
108
108
|
try {
|
|
109
|
-
var
|
|
110
|
-
return !
|
|
109
|
+
var y = p();
|
|
110
|
+
return !r(c, y);
|
|
111
111
|
} catch {
|
|
112
112
|
return !0;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function n(c, p) {
|
|
116
|
+
return p();
|
|
117
117
|
}
|
|
118
118
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
119
|
-
var i =
|
|
120
|
-
D.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore :
|
|
119
|
+
var i = v, r = typeof Object.is == "function" ? Object.is : l, o = i.useState, s = i.useEffect, a = i.useLayoutEffect, u = i.useDebugValue, d = !1, h = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? n : e;
|
|
120
|
+
D.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
121
121
|
}()), D;
|
|
122
122
|
}
|
|
123
123
|
var R;
|
|
124
|
-
function
|
|
125
|
-
return R || (R = 1, process.env.NODE_ENV === "production" ?
|
|
124
|
+
function ne() {
|
|
125
|
+
return R || (R = 1, process.env.NODE_ENV === "production" ? w.exports = te() : w.exports = ie()), w.exports;
|
|
126
126
|
}
|
|
127
|
-
var
|
|
128
|
-
function
|
|
129
|
-
let e = P(
|
|
127
|
+
var le = /* @__PURE__ */ ne();
|
|
128
|
+
function re(l) {
|
|
129
|
+
let e = P(l, {
|
|
130
130
|
labelable: !0
|
|
131
131
|
}), t;
|
|
132
|
-
return
|
|
132
|
+
return l.orientation === "vertical" && (t = "vertical"), l.elementType !== "hr" ? {
|
|
133
133
|
separatorProps: {
|
|
134
134
|
...e,
|
|
135
135
|
role: "separator",
|
|
@@ -139,7 +139,7 @@ function le(r) {
|
|
|
139
139
|
separatorProps: e
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
class
|
|
142
|
+
class K {
|
|
143
143
|
get childNodes() {
|
|
144
144
|
throw new Error("childNodes is not supported");
|
|
145
145
|
}
|
|
@@ -148,7 +148,7 @@ class E {
|
|
|
148
148
|
return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e.render = this.render, e.colSpan = this.colSpan, e.colIndex = this.colIndex, e;
|
|
149
149
|
}
|
|
150
150
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
151
|
-
filter(e, t,
|
|
151
|
+
filter(e, t, n) {
|
|
152
152
|
let i = this.clone();
|
|
153
153
|
return t.addDescendants(i, e), i;
|
|
154
154
|
}
|
|
@@ -156,39 +156,39 @@ class E {
|
|
|
156
156
|
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
class T extends
|
|
160
|
-
filter(e, t,
|
|
161
|
-
let [i,
|
|
162
|
-
return
|
|
159
|
+
class T extends K {
|
|
160
|
+
filter(e, t, n) {
|
|
161
|
+
let [i, r] = H(e, t, this.firstChildKey, n), o = this.clone();
|
|
162
|
+
return o.firstChildKey = i, o.lastChildKey = r, o;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
class
|
|
165
|
+
class oe extends K {
|
|
166
166
|
}
|
|
167
|
-
|
|
168
|
-
class se extends
|
|
167
|
+
oe.type = "header";
|
|
168
|
+
class se extends K {
|
|
169
169
|
}
|
|
170
170
|
se.type = "loader";
|
|
171
|
-
class
|
|
172
|
-
filter(e, t,
|
|
173
|
-
if (
|
|
171
|
+
class ae extends T {
|
|
172
|
+
filter(e, t, n) {
|
|
173
|
+
if (n(this.textValue, this)) {
|
|
174
174
|
let i = this.clone();
|
|
175
175
|
return t.addDescendants(i, e), i;
|
|
176
176
|
}
|
|
177
177
|
return null;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
|
|
181
|
-
class
|
|
182
|
-
filter(e, t,
|
|
183
|
-
let i = super.filter(e, t,
|
|
180
|
+
ae.type = "item";
|
|
181
|
+
class ue extends T {
|
|
182
|
+
filter(e, t, n) {
|
|
183
|
+
let i = super.filter(e, t, n);
|
|
184
184
|
if (i && i.lastChildKey !== null) {
|
|
185
|
-
let
|
|
186
|
-
if (
|
|
185
|
+
let r = e.getItem(i.lastChildKey);
|
|
186
|
+
if (r && r.type !== "header") return i;
|
|
187
187
|
}
|
|
188
188
|
return null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
ue.type = "section";
|
|
192
192
|
class de {
|
|
193
193
|
get size() {
|
|
194
194
|
return this.itemCount;
|
|
@@ -205,7 +205,7 @@ class de {
|
|
|
205
205
|
let t = this.keyMap;
|
|
206
206
|
return {
|
|
207
207
|
*[Symbol.iterator]() {
|
|
208
|
-
let
|
|
208
|
+
let n = t.get(e), i = n?.firstChildKey != null ? t.get(n.firstChildKey) : null;
|
|
209
209
|
for (; i; )
|
|
210
210
|
yield i, i = i.nextKey != null ? t.get(i.nextKey) : void 0;
|
|
211
211
|
}
|
|
@@ -216,8 +216,8 @@ class de {
|
|
|
216
216
|
if (!t) return null;
|
|
217
217
|
if (t.prevKey != null) {
|
|
218
218
|
for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null; ) t = this.keyMap.get(t.lastChildKey);
|
|
219
|
-
var
|
|
220
|
-
return (
|
|
219
|
+
var n;
|
|
220
|
+
return (n = t?.key) !== null && n !== void 0 ? n : null;
|
|
221
221
|
}
|
|
222
222
|
return t.parentKey;
|
|
223
223
|
}
|
|
@@ -259,44 +259,44 @@ class de {
|
|
|
259
259
|
// Deeply add a node and its children to the collection from another collection, primarily used when filtering a collection
|
|
260
260
|
addDescendants(e, t) {
|
|
261
261
|
this.addNode(e);
|
|
262
|
-
let
|
|
263
|
-
for (let i of
|
|
262
|
+
let n = t.getChildren(e.key);
|
|
263
|
+
for (let i of n) this.addDescendants(i, t);
|
|
264
264
|
}
|
|
265
265
|
removeNode(e) {
|
|
266
266
|
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
267
267
|
let t = this.keyMap.get(e);
|
|
268
268
|
t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);
|
|
269
269
|
}
|
|
270
|
-
commit(e, t,
|
|
270
|
+
commit(e, t, n = !1) {
|
|
271
271
|
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
272
|
-
this.firstKey = e, this.lastKey = t, this.frozen = !
|
|
272
|
+
this.firstKey = e, this.lastKey = t, this.frozen = !n;
|
|
273
273
|
}
|
|
274
274
|
filter(e) {
|
|
275
|
-
let t = new this.constructor(), [
|
|
276
|
-
return t?.commit(
|
|
275
|
+
let t = new this.constructor(), [n, i] = H(this, t, this.firstKey, e);
|
|
276
|
+
return t?.commit(n, i), t;
|
|
277
277
|
}
|
|
278
278
|
constructor() {
|
|
279
279
|
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
function H(
|
|
282
|
+
function H(l, e, t, n) {
|
|
283
283
|
if (t == null) return [
|
|
284
284
|
null,
|
|
285
285
|
null
|
|
286
286
|
];
|
|
287
|
-
let i = null,
|
|
288
|
-
for (;
|
|
289
|
-
let
|
|
290
|
-
|
|
287
|
+
let i = null, r = null, o = l.getItem(t);
|
|
288
|
+
for (; o != null; ) {
|
|
289
|
+
let u = o.filter(l, e, n);
|
|
290
|
+
u != null && (u.nextKey = null, r && (u.prevKey = r.key, r.nextKey = u.key), i == null && (i = u), e.addNode(u), r = u), o = o.nextKey ? l.getItem(o.nextKey) : null;
|
|
291
291
|
}
|
|
292
|
-
if (
|
|
293
|
-
let
|
|
294
|
-
e.removeNode(
|
|
292
|
+
if (r && r.type === "separator") {
|
|
293
|
+
let u = r.prevKey;
|
|
294
|
+
e.removeNode(r.key), u ? (r = e.getItem(u), r.nextKey = null) : r = null;
|
|
295
295
|
}
|
|
296
|
-
var
|
|
296
|
+
var s, a;
|
|
297
297
|
return [
|
|
298
|
-
(
|
|
299
|
-
(
|
|
298
|
+
(s = i?.key) !== null && s !== void 0 ? s : null,
|
|
299
|
+
(a = r?.key) !== null && a !== void 0 ? a : null
|
|
300
300
|
];
|
|
301
301
|
}
|
|
302
302
|
class q {
|
|
@@ -386,7 +386,7 @@ class q {
|
|
|
386
386
|
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
class
|
|
389
|
+
class g extends q {
|
|
390
390
|
get index() {
|
|
391
391
|
return this._index;
|
|
392
392
|
}
|
|
@@ -395,46 +395,43 @@ class x extends q {
|
|
|
395
395
|
}
|
|
396
396
|
get level() {
|
|
397
397
|
var e;
|
|
398
|
-
return this.parentNode instanceof
|
|
399
|
-
}
|
|
400
|
-
get node() {
|
|
401
|
-
if (this._node == null) throw Error("Attempted to access node before it was defined. Check if setProps wasn't called before attempting to access the node.");
|
|
402
|
-
return this._node;
|
|
403
|
-
}
|
|
404
|
-
set node(e) {
|
|
405
|
-
this._node = e;
|
|
398
|
+
return this.parentNode instanceof g ? this.parentNode.level + (((e = this.node) === null || e === void 0 ? void 0 : e.type) === "item" ? 1 : 0) : 0;
|
|
406
399
|
}
|
|
407
400
|
/**
|
|
408
401
|
* Lazily gets a mutable instance of a Node. If the node has already
|
|
409
402
|
* been cloned during this update cycle, it just returns the existing one.
|
|
410
403
|
*/
|
|
411
404
|
getMutableNode() {
|
|
412
|
-
return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
|
|
405
|
+
return this.node == null ? null : (this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node);
|
|
413
406
|
}
|
|
414
407
|
updateNode() {
|
|
415
|
-
var e, t,
|
|
416
|
-
let
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
if (
|
|
429
|
-
|
|
430
|
-
|
|
408
|
+
var e, t, n, i, r, o, s, a;
|
|
409
|
+
let u = this.nextVisibleSibling, d = this.getMutableNode();
|
|
410
|
+
if (d != null) {
|
|
411
|
+
d.index = this.index, d.level = this.level;
|
|
412
|
+
var h;
|
|
413
|
+
d.parentKey = this.parentNode instanceof g && (h = (e = this.parentNode.node) === null || e === void 0 ? void 0 : e.key) !== null && h !== void 0 ? h : null;
|
|
414
|
+
var f;
|
|
415
|
+
d.prevKey = (f = (n = this.previousVisibleSibling) === null || n === void 0 || (t = n.node) === null || t === void 0 ? void 0 : t.key) !== null && f !== void 0 ? f : null;
|
|
416
|
+
var c;
|
|
417
|
+
d.nextKey = (c = u == null || (i = u.node) === null || i === void 0 ? void 0 : i.key) !== null && c !== void 0 ? c : null, d.hasChildNodes = !!this.firstChild;
|
|
418
|
+
var p;
|
|
419
|
+
d.firstChildKey = (p = (o = this.firstVisibleChild) === null || o === void 0 || (r = o.node) === null || r === void 0 ? void 0 : r.key) !== null && p !== void 0 ? p : null;
|
|
420
|
+
var y;
|
|
421
|
+
if (d.lastChildKey = (y = (a = this.lastVisibleChild) === null || a === void 0 || (s = a.node) === null || s === void 0 ? void 0 : s.key) !== null && y !== void 0 ? y : null, (d.colSpan != null || d.colIndex != null) && u) {
|
|
422
|
+
var S, m;
|
|
423
|
+
let x = ((S = d.colIndex) !== null && S !== void 0 ? S : d.index) + ((m = d.colSpan) !== null && m !== void 0 ? m : 1);
|
|
424
|
+
if (u.node != null && x !== u.node.colIndex) {
|
|
425
|
+
let j = u.getMutableNode();
|
|
426
|
+
j.colIndex = x;
|
|
427
|
+
}
|
|
431
428
|
}
|
|
432
429
|
}
|
|
433
430
|
}
|
|
434
|
-
setProps(e, t,
|
|
435
|
-
let
|
|
436
|
-
if (this.
|
|
437
|
-
|
|
431
|
+
setProps(e, t, n, i, r) {
|
|
432
|
+
let o, { value: s, textValue: a, id: u, ...d } = e;
|
|
433
|
+
if (this.node == null ? (o = new n(u ?? `react-aria-${++this.ownerDocument.nodeId}`), this.node = o) : o = this.getMutableNode(), d.ref = t, o.props = d, o.rendered = i, o.render = r, o.value = s, o.textValue = a || (typeof d.children == "string" ? d.children : "") || e["aria-label"] || "", u != null && u !== o.key) throw new Error("Cannot change the id of an item");
|
|
434
|
+
d.colSpan != null && (o.colSpan = d.colSpan), this.isConnected && this.ownerDocument.queueUpdate();
|
|
438
435
|
}
|
|
439
436
|
get style() {
|
|
440
437
|
let e = this;
|
|
@@ -443,12 +440,12 @@ class x extends q {
|
|
|
443
440
|
return e.isHidden ? "none" : "";
|
|
444
441
|
},
|
|
445
442
|
set display(t) {
|
|
446
|
-
let
|
|
447
|
-
if (e.isHidden !==
|
|
448
|
-
var i,
|
|
449
|
-
(((i = e.parentNode) === null || i === void 0 ? void 0 : i.firstVisibleChild) === e || ((
|
|
450
|
-
let
|
|
451
|
-
|
|
443
|
+
let n = t === "none";
|
|
444
|
+
if (e.isHidden !== n) {
|
|
445
|
+
var i, r;
|
|
446
|
+
(((i = e.parentNode) === null || i === void 0 ? void 0 : i.firstVisibleChild) === e || ((r = e.parentNode) === null || r === void 0 ? void 0 : r.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
|
|
447
|
+
let o = e.previousVisibleSibling, s = e.nextVisibleSibling;
|
|
448
|
+
o && e.ownerDocument.markDirty(o), s && e.ownerDocument.markDirty(s), e.isHidden = n, e.ownerDocument.markDirty(e);
|
|
452
449
|
}
|
|
453
450
|
}
|
|
454
451
|
};
|
|
@@ -462,15 +459,15 @@ class x extends q {
|
|
|
462
459
|
removeAttribute() {
|
|
463
460
|
}
|
|
464
461
|
constructor(e, t) {
|
|
465
|
-
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.
|
|
462
|
+
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
|
|
466
463
|
}
|
|
467
464
|
}
|
|
468
|
-
class
|
|
465
|
+
class he extends q {
|
|
469
466
|
get isConnected() {
|
|
470
467
|
return this.isMounted;
|
|
471
468
|
}
|
|
472
469
|
createElement(e) {
|
|
473
|
-
return new
|
|
470
|
+
return new g(e, this);
|
|
474
471
|
}
|
|
475
472
|
getMutableCollection() {
|
|
476
473
|
return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
|
|
@@ -479,13 +476,14 @@ class ue extends q {
|
|
|
479
476
|
this.dirtyNodes.add(e);
|
|
480
477
|
}
|
|
481
478
|
addNode(e) {
|
|
482
|
-
if (e.isHidden) return;
|
|
479
|
+
if (e.isHidden || e.node == null) return;
|
|
483
480
|
let t = this.getMutableCollection();
|
|
484
|
-
if (!t.getItem(e.node.key)) for (let
|
|
481
|
+
if (!t.getItem(e.node.key)) for (let n of e) this.addNode(n);
|
|
485
482
|
t.addNode(e.node);
|
|
486
483
|
}
|
|
487
484
|
removeNode(e) {
|
|
488
|
-
|
|
485
|
+
if (e.node == null) return;
|
|
486
|
+
for (let n of e) this.removeNode(n);
|
|
489
487
|
this.getMutableCollection().removeNode(e.node.key);
|
|
490
488
|
}
|
|
491
489
|
/** Finalizes the collection update, updating all nodes and freezing the collection. */
|
|
@@ -493,11 +491,11 @@ class ue extends q {
|
|
|
493
491
|
return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
494
492
|
}
|
|
495
493
|
updateCollection() {
|
|
496
|
-
for (let
|
|
497
|
-
for (let
|
|
494
|
+
for (let s of this.dirtyNodes) s instanceof g && (!s.isConnected || s.isHidden) ? this.removeNode(s) : s.updateChildIndices();
|
|
495
|
+
for (let s of this.dirtyNodes) s instanceof g && (s.isConnected && !s.isHidden && (s.updateNode(), this.addNode(s)), s.isMutated = !1);
|
|
498
496
|
if (this.dirtyNodes.clear(), this.nextCollection) {
|
|
499
|
-
var e, t,
|
|
500
|
-
this.nextCollection.commit((
|
|
497
|
+
var e, t, n, i, r, o;
|
|
498
|
+
this.nextCollection.commit((r = (t = this.firstVisibleChild) === null || t === void 0 || (e = t.node) === null || e === void 0 ? void 0 : e.key) !== null && r !== void 0 ? r : null, (o = (i = this.lastVisibleChild) === null || i === void 0 || (n = i.node) === null || n === void 0 ? void 0 : n.key) !== null && o !== void 0 ? o : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
|
|
501
499
|
}
|
|
502
500
|
}
|
|
503
501
|
queueUpdate() {
|
|
@@ -517,178 +515,178 @@ class ue extends q {
|
|
|
517
515
|
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
|
|
518
516
|
}
|
|
519
517
|
}
|
|
520
|
-
function
|
|
521
|
-
let { children: e, items: t, idScope:
|
|
522
|
-
return
|
|
518
|
+
function ce(l) {
|
|
519
|
+
let { children: e, items: t, idScope: n, addIdAndValue: i, dependencies: r = [] } = l, o = k(() => /* @__PURE__ */ new WeakMap(), r);
|
|
520
|
+
return k(() => {
|
|
523
521
|
if (t && typeof e == "function") {
|
|
524
|
-
let
|
|
525
|
-
for (let
|
|
526
|
-
let
|
|
527
|
-
if (!
|
|
528
|
-
|
|
529
|
-
var
|
|
530
|
-
let
|
|
531
|
-
if (
|
|
532
|
-
|
|
533
|
-
key:
|
|
534
|
-
id:
|
|
535
|
-
value:
|
|
522
|
+
let u = [];
|
|
523
|
+
for (let d of t) {
|
|
524
|
+
let h = o.get(d);
|
|
525
|
+
if (!h) {
|
|
526
|
+
h = e(d);
|
|
527
|
+
var s, a;
|
|
528
|
+
let f = (a = (s = h.props.id) !== null && s !== void 0 ? s : d.key) !== null && a !== void 0 ? a : d.id;
|
|
529
|
+
if (f == null) throw new Error("Could not determine key for item");
|
|
530
|
+
n && (f = n + ":" + f), h = W(h, i ? {
|
|
531
|
+
key: f,
|
|
532
|
+
id: f,
|
|
533
|
+
value: d
|
|
536
534
|
} : {
|
|
537
|
-
key:
|
|
538
|
-
}),
|
|
535
|
+
key: f
|
|
536
|
+
}), o.set(d, h);
|
|
539
537
|
}
|
|
540
|
-
|
|
538
|
+
u.push(h);
|
|
541
539
|
}
|
|
542
|
-
return
|
|
540
|
+
return u;
|
|
543
541
|
} else if (typeof e != "function") return e;
|
|
544
542
|
}, [
|
|
545
543
|
e,
|
|
546
544
|
t,
|
|
547
|
-
|
|
548
|
-
|
|
545
|
+
o,
|
|
546
|
+
n,
|
|
549
547
|
i
|
|
550
548
|
]);
|
|
551
549
|
}
|
|
552
|
-
const U = /* @__PURE__ */
|
|
553
|
-
function
|
|
554
|
-
if (b(
|
|
555
|
-
return
|
|
556
|
-
let { collection: t, document:
|
|
557
|
-
return /* @__PURE__ */
|
|
558
|
-
value:
|
|
559
|
-
},
|
|
560
|
-
render:
|
|
550
|
+
const U = /* @__PURE__ */ E(!1), $ = /* @__PURE__ */ E(null);
|
|
551
|
+
function De(l) {
|
|
552
|
+
if (b($))
|
|
553
|
+
return l.content;
|
|
554
|
+
let { collection: t, document: n } = ye(l.createCollection);
|
|
555
|
+
return /* @__PURE__ */ v.createElement(v.Fragment, null, /* @__PURE__ */ v.createElement(Q, null, /* @__PURE__ */ v.createElement($.Provider, {
|
|
556
|
+
value: n
|
|
557
|
+
}, l.content)), /* @__PURE__ */ v.createElement(fe, {
|
|
558
|
+
render: l.children,
|
|
561
559
|
collection: t
|
|
562
560
|
}));
|
|
563
561
|
}
|
|
564
|
-
function
|
|
565
|
-
return e(
|
|
562
|
+
function fe({ collection: l, render: e }) {
|
|
563
|
+
return e(l);
|
|
566
564
|
}
|
|
567
|
-
function
|
|
568
|
-
let
|
|
569
|
-
i.current =
|
|
570
|
-
let
|
|
565
|
+
function pe(l, e, t) {
|
|
566
|
+
let n = A(), i = J(n);
|
|
567
|
+
i.current = n;
|
|
568
|
+
let r = C(() => i.current ? t() : e(), [
|
|
571
569
|
e,
|
|
572
570
|
t
|
|
573
571
|
]);
|
|
574
|
-
return
|
|
572
|
+
return le.useSyncExternalStore(l, r);
|
|
575
573
|
}
|
|
576
|
-
const
|
|
577
|
-
function ye(
|
|
578
|
-
let [e] =
|
|
574
|
+
const ve = typeof v.useSyncExternalStore == "function" ? v.useSyncExternalStore : pe;
|
|
575
|
+
function ye(l) {
|
|
576
|
+
let [e] = Y(() => new he(l?.() || new de())), t = C((o) => e.subscribe(o), [
|
|
579
577
|
e
|
|
580
|
-
]),
|
|
581
|
-
let
|
|
582
|
-
return e.isSSR && e.resetAfterSSR(),
|
|
578
|
+
]), n = C(() => {
|
|
579
|
+
let o = e.getCollection();
|
|
580
|
+
return e.isSSR && e.resetAfterSSR(), o;
|
|
583
581
|
}, [
|
|
584
582
|
e
|
|
585
|
-
]), i =
|
|
583
|
+
]), i = C(() => (e.isSSR = !0, e.getCollection()), [
|
|
586
584
|
e
|
|
587
|
-
]),
|
|
588
|
-
return
|
|
585
|
+
]), r = ve(t, n, i);
|
|
586
|
+
return Z(() => (e.isMounted = !0, () => {
|
|
589
587
|
e.isMounted = !1;
|
|
590
588
|
}), [
|
|
591
589
|
e
|
|
592
590
|
]), {
|
|
593
|
-
collection:
|
|
591
|
+
collection: r,
|
|
594
592
|
document: e
|
|
595
593
|
};
|
|
596
594
|
}
|
|
597
|
-
const I = /* @__PURE__ */
|
|
598
|
-
function
|
|
595
|
+
const I = /* @__PURE__ */ E(null);
|
|
596
|
+
function Se(l) {
|
|
599
597
|
var e;
|
|
600
|
-
return e = class extends
|
|
601
|
-
}, e.type =
|
|
598
|
+
return e = class extends K {
|
|
599
|
+
}, e.type = l, e;
|
|
602
600
|
}
|
|
603
|
-
function B(
|
|
604
|
-
typeof
|
|
605
|
-
let
|
|
606
|
-
|
|
601
|
+
function B(l, e, t, n, i, r) {
|
|
602
|
+
typeof l == "string" && (l = Se(l));
|
|
603
|
+
let o = C((a) => {
|
|
604
|
+
a?.setProps(e, t, l, n, r);
|
|
607
605
|
}, [
|
|
608
606
|
e,
|
|
609
607
|
t,
|
|
610
|
-
l,
|
|
611
608
|
n,
|
|
612
|
-
r
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
609
|
+
r,
|
|
610
|
+
l
|
|
611
|
+
]), s = b(I);
|
|
612
|
+
if (s) {
|
|
613
|
+
let a = s.ownerDocument.nodesByProps.get(e);
|
|
614
|
+
return a || (a = s.ownerDocument.createElement(l.type), a.setProps(e, t, l, n, r), s.appendChild(a), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(e, a)), i ? /* @__PURE__ */ v.createElement(I.Provider, {
|
|
615
|
+
value: a
|
|
618
616
|
}, i) : null;
|
|
619
617
|
}
|
|
620
|
-
return /* @__PURE__ */
|
|
621
|
-
ref:
|
|
618
|
+
return /* @__PURE__ */ v.createElement(l.type, {
|
|
619
|
+
ref: o
|
|
622
620
|
}, i);
|
|
623
621
|
}
|
|
624
|
-
function
|
|
625
|
-
let t = ({ node: i }) => e(i.props, i.props.ref, i),
|
|
626
|
-
let
|
|
622
|
+
function me(l, e) {
|
|
623
|
+
let t = ({ node: i }) => e(i.props, i.props.ref, i), n = L((i, r) => {
|
|
624
|
+
let o = b(N);
|
|
627
625
|
if (!b(U)) {
|
|
628
626
|
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
629
|
-
return e(i,
|
|
627
|
+
return e(i, r);
|
|
630
628
|
}
|
|
631
|
-
return B(
|
|
629
|
+
return B(l, i, r, "children" in i ? i.children : null, null, (a) => (
|
|
632
630
|
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
633
|
-
/* @__PURE__ */
|
|
634
|
-
value:
|
|
635
|
-
}, /* @__PURE__ */
|
|
636
|
-
node:
|
|
631
|
+
/* @__PURE__ */ v.createElement(N.Provider, {
|
|
632
|
+
value: o
|
|
633
|
+
}, /* @__PURE__ */ v.createElement(t, {
|
|
634
|
+
node: a
|
|
637
635
|
}))
|
|
638
636
|
));
|
|
639
637
|
});
|
|
640
|
-
return
|
|
638
|
+
return n.displayName = e.name, n;
|
|
641
639
|
}
|
|
642
|
-
function
|
|
643
|
-
let
|
|
644
|
-
let
|
|
645
|
-
var
|
|
646
|
-
return (
|
|
647
|
-
node:
|
|
648
|
-
}))) !== null &&
|
|
640
|
+
function Ie(l, e, t = z) {
|
|
641
|
+
let n = ({ node: r }) => e(r.props, r.props.ref, r), i = L((r, o) => {
|
|
642
|
+
let s = t(r);
|
|
643
|
+
var a;
|
|
644
|
+
return (a = B(l, r, o, null, s, (u) => /* @__PURE__ */ v.createElement(n, {
|
|
645
|
+
node: u
|
|
646
|
+
}))) !== null && a !== void 0 ? a : /* @__PURE__ */ v.createElement(v.Fragment, null);
|
|
649
647
|
});
|
|
650
648
|
return i.displayName = e.name, i;
|
|
651
649
|
}
|
|
652
|
-
function z(
|
|
653
|
-
return
|
|
654
|
-
...
|
|
650
|
+
function z(l) {
|
|
651
|
+
return ce({
|
|
652
|
+
...l,
|
|
655
653
|
addIdAndValue: !0
|
|
656
654
|
});
|
|
657
655
|
}
|
|
658
|
-
const V = /* @__PURE__ */
|
|
659
|
-
function
|
|
660
|
-
let e = b(V), t = (e?.dependencies || []).concat(
|
|
661
|
-
...
|
|
662
|
-
idScope:
|
|
656
|
+
const V = /* @__PURE__ */ E(null);
|
|
657
|
+
function Ne(l) {
|
|
658
|
+
let e = b(V), t = (e?.dependencies || []).concat(l.dependencies), n = l.idScope || e?.idScope, i = z({
|
|
659
|
+
...l,
|
|
660
|
+
idScope: n,
|
|
663
661
|
dependencies: t
|
|
664
662
|
});
|
|
665
|
-
return b(
|
|
663
|
+
return b($) && (i = /* @__PURE__ */ v.createElement(be, null, i)), e = k(() => ({
|
|
666
664
|
dependencies: t,
|
|
667
|
-
idScope:
|
|
665
|
+
idScope: n
|
|
668
666
|
}), [
|
|
669
|
-
|
|
667
|
+
n,
|
|
670
668
|
...t
|
|
671
|
-
]), /* @__PURE__ */
|
|
669
|
+
]), /* @__PURE__ */ v.createElement(V.Provider, {
|
|
672
670
|
value: e
|
|
673
671
|
}, i);
|
|
674
672
|
}
|
|
675
|
-
function
|
|
676
|
-
let e = b(
|
|
673
|
+
function be({ children: l }) {
|
|
674
|
+
let e = b($), t = k(() => /* @__PURE__ */ v.createElement($.Provider, {
|
|
677
675
|
value: null
|
|
678
|
-
}, /* @__PURE__ */
|
|
676
|
+
}, /* @__PURE__ */ v.createElement(U.Provider, {
|
|
679
677
|
value: !0
|
|
680
|
-
},
|
|
681
|
-
|
|
678
|
+
}, l)), [
|
|
679
|
+
l
|
|
682
680
|
]);
|
|
683
|
-
return A() ? /* @__PURE__ */
|
|
681
|
+
return A() ? /* @__PURE__ */ v.createElement(I.Provider, {
|
|
684
682
|
value: e
|
|
685
|
-
}, t) : /* @__PURE__ */
|
|
683
|
+
}, t) : /* @__PURE__ */ X(t, e);
|
|
686
684
|
}
|
|
687
|
-
const
|
|
688
|
-
class G extends
|
|
685
|
+
const xe = /* @__PURE__ */ E({});
|
|
686
|
+
class G extends K {
|
|
689
687
|
filter(e, t) {
|
|
690
|
-
let
|
|
691
|
-
if (
|
|
688
|
+
let n = t.getItem(this.prevKey);
|
|
689
|
+
if (n && n.type !== "separator") {
|
|
692
690
|
let i = this.clone();
|
|
693
691
|
return t.addDescendants(i, e), i;
|
|
694
692
|
}
|
|
@@ -696,39 +694,39 @@ class G extends E {
|
|
|
696
694
|
}
|
|
697
695
|
}
|
|
698
696
|
G.type = "separator";
|
|
699
|
-
const
|
|
700
|
-
[e, t] =
|
|
701
|
-
let { elementType:
|
|
702
|
-
|
|
703
|
-
let { separatorProps:
|
|
704
|
-
...
|
|
705
|
-
elementType:
|
|
697
|
+
const Me = /* @__PURE__ */ me(G, function(e, t) {
|
|
698
|
+
[e, t] = F(e, t, xe);
|
|
699
|
+
let { elementType: n, orientation: i, style: r, className: o, slot: s, ...a } = e, u = n || "hr";
|
|
700
|
+
u === "hr" && i === "vertical" && (u = "div");
|
|
701
|
+
let { separatorProps: d } = re({
|
|
702
|
+
...a,
|
|
703
|
+
elementType: n,
|
|
706
704
|
orientation: i
|
|
707
|
-
}),
|
|
705
|
+
}), h = P(e, {
|
|
708
706
|
global: !0
|
|
709
707
|
});
|
|
710
|
-
return /* @__PURE__ */
|
|
711
|
-
...
|
|
712
|
-
style:
|
|
713
|
-
className:
|
|
708
|
+
return /* @__PURE__ */ v.createElement(u, {
|
|
709
|
+
...ee(h, d),
|
|
710
|
+
style: r,
|
|
711
|
+
className: o ?? "react-aria-Separator",
|
|
714
712
|
ref: t,
|
|
715
|
-
slot:
|
|
713
|
+
slot: s || void 0
|
|
716
714
|
});
|
|
717
715
|
});
|
|
718
716
|
export {
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
717
|
+
Me as $,
|
|
718
|
+
me as a,
|
|
719
|
+
oe as b,
|
|
720
|
+
Ie as c,
|
|
721
|
+
ae as d,
|
|
722
|
+
ue as e,
|
|
723
|
+
De as f,
|
|
724
|
+
Ne as g,
|
|
725
|
+
xe as h,
|
|
728
726
|
se as i,
|
|
729
|
-
|
|
727
|
+
ce as j,
|
|
730
728
|
de as k,
|
|
731
|
-
|
|
729
|
+
K as l,
|
|
732
730
|
T as m
|
|
733
731
|
};
|
|
734
|
-
//# sourceMappingURL=Separator-
|
|
732
|
+
//# sourceMappingURL=Separator-Qp4OCFiC.es.js.map
|