@povio/ui 3.4.0-rc.32 → 3.4.0-rc.34
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/{BottomSheet-Bf5YauUF.js → BottomSheet-CVIgVXNP.js} +2 -2
- package/dist/{Breadcrumbs-D8ngBc93.js → Breadcrumbs-BypydWR6.js} +2 -2
- package/dist/{Calendar-D2IPtih0.js → Calendar-CJscjq0V.js} +4 -4
- package/dist/{DatePicker-C5inJMib.js → DatePicker-DIad7xyY.js} +4 -4
- package/dist/{DatePickerInput-CtkeReVQ.js → DatePickerInput-g8VFnlw8.js} +1 -1
- package/dist/{DateRangePicker-BcYoPnDA.js → DateRangePicker-0vELBNcS.js} +3 -3
- package/dist/{DateTimePicker-CocJ2QGc.js → DateTimePicker-ChVdA0tD.js} +4 -4
- package/dist/{Dialog-CYPAuk4r.js → Dialog-B5J6LRRw.js} +2 -71
- package/dist/{Form-U_gaYtIz.d.ts → Form-C91OtvWn.d.ts} +1 -1
- package/dist/{InputItem-msRZqamc.js → InputItem-DRjyA0oH.js} +5 -5
- package/dist/{Inputs-D0nApWoP.d.ts → Inputs-CalpKD9s.d.ts} +1 -1
- package/dist/{Inputs-COn_OHA2.js → Inputs-Cmt2mxFU.js} +1 -1
- package/dist/{ListBox-CJbpH_Kh.js → ListBox-CIgWt1tg.js} +1 -1
- package/dist/{Menu-CXlFN-mb.js → Menu-BxbxSqMx.js} +2 -2
- package/dist/{MenuDesktop-CuQBZODp.js → MenuDesktop-Dv25P83N.js} +1 -1
- package/dist/{Modal-BbiLj4ai.js → Modal-CEJ2QkF0.js} +1 -1
- package/dist/{Modal-Cerq7LEf.js → Modal-r0ucQNPK.js} +2 -2
- package/dist/{Select-CO2ppqqL.js → Select-B7vfRfll.js} +1 -1
- package/dist/{TextEditor-CDv7Tf57.js → TextEditor-DScsU-U2.js} +3 -3
- package/dist/{TimePicker-BmTVdF1E.js → TimePicker-DC_MYdqe.js} +2 -2
- package/dist/components/action-modal.js +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumb/react-aria.js +1 -11
- package/dist/components/breadcrumbs/react-aria.js +1 -11
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/cell/react-aria.js +1 -11
- package/dist/components/collection/react-aria.js +1 -11
- package/dist/components/color-swatch-picker/react-aria.js +1 -11
- package/dist/components/color-swatch-picker-item/react-aria.js +1 -11
- package/dist/components/column/react-aria.js +1 -11
- package/dist/components/column-resizer/react-aria.js +1 -11
- package/dist/components/combo-box/react-aria.js +1 -11
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/drawer.js +2 -2
- package/dist/components/grid-list/react-aria.js +1 -11
- package/dist/components/grid-list-header/react-aria.js +1 -11
- package/dist/components/grid-list-item/react-aria.js +1 -11
- package/dist/components/grid-list-load-more-item/react-aria.js +1 -11
- package/dist/components/grid-list-section/react-aria.js +1 -11
- package/dist/components/header/react-aria.js +1 -11
- package/dist/components/list-box/react-aria.js +1 -11
- package/dist/components/list-box-item/react-aria.js +1 -11
- package/dist/components/list-box-load-more-item/react-aria.js +1 -11
- package/dist/components/list-box-section/react-aria.js +1 -11
- package/dist/components/menu/react-aria.js +1 -11
- package/dist/components/menu-item/react-aria.js +1 -11
- package/dist/components/menu-section/react-aria.js +1 -11
- package/dist/components/menu.js +2 -2
- package/dist/components/modal.js +1 -1
- package/dist/components/query-autocomplete.d.ts +1 -1
- package/dist/components/query-autocomplete.js +3 -3
- package/dist/components/query-select.js +1 -1
- package/dist/components/resizable-table-container/react-aria.js +1 -11
- package/dist/components/responsive-popover.js +1 -1
- package/dist/components/row/react-aria.js +1 -11
- package/dist/components/section/react-aria.js +1 -11
- package/dist/components/select/react-aria.js +1 -11
- package/dist/components/select.js +1 -1
- package/dist/components/separator/react-aria.js +1 -11
- package/dist/components/split-button.js +1 -1
- package/dist/components/submenu-trigger/react-aria.js +1 -11
- package/dist/components/tab/react-aria.js +1 -11
- package/dist/components/tab-list/react-aria.js +1 -11
- package/dist/components/tab-panels/react-aria.js +1 -11
- package/dist/components/table/react-aria.js +1 -11
- package/dist/components/table-body/react-aria.js +1 -11
- package/dist/components/table-header/react-aria.js +1 -11
- package/dist/components/table-load-more-item/react-aria.js +1 -11
- package/dist/components/tabs/react-aria.js +1 -11
- package/dist/components/tag/react-aria.js +1 -11
- package/dist/components/tag-group/react-aria.js +1 -11
- package/dist/components/tag-list/react-aria.js +1 -11
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tree/react-aria.js +1 -11
- package/dist/components/tree-item/react-aria.js +1 -11
- package/dist/components/tree-item-content/react-aria.js +1 -11
- package/dist/components/tree-load-more-item/react-aria.js +1 -11
- package/dist/{datePickerValue.utils-u6REHox2.js → datePickerValue.utils-n2HQDle8.js} +1 -1
- package/dist/{dynamicInputs-ByTvSdJe.d.ts → dynamicInputs-BasxVhHP.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -10
- package/dist/{logger-BPhG2izn.js → logger-DpUn65wp.js} +23 -1
- package/dist/{query-autocomplete-CHtcx_ND.d.ts → query-autocomplete-E-PMmf1d.d.ts} +1 -1
- package/dist/{queryAutocomplete.types-DaTDttX5.d.ts → queryAutocomplete.types-BOH9QnRq.d.ts} +1 -0
- package/dist/rhf/date-picker.js +1 -1
- package/dist/rhf/date-range-picker.js +1 -1
- package/dist/rhf/date-time-picker.js +1 -1
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/select.js +1 -1
- package/dist/rhf/text-editor.js +1 -1
- package/dist/rhf/time-picker.js +1 -1
- package/dist/rhf.d.ts +2 -2
- package/dist/rhf.js +10 -10
- package/dist/{staticDateTimeSegments-qJUUAL8d.js → staticDateTimeSegments-B5Uuat4L.js} +2 -2
- package/dist/{staticSelect.utils-CRyAMXOL.js → staticSelect.utils-BqH-4vxg.js} +3 -3
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-editor.js +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack.d.ts +3 -3
- package/dist/tanstack.js +17 -17
- package/dist/text-editor.js +1 -1
- package/dist/{useFilter-Cz_G94ya.js → useFilter-BsjdRENO.js} +1 -1
- package/dist/{useFormAutosave-Cj75UzUP.js → useFormAutosave-C_SlCky9.js} +1 -1
- package/dist/{useTableColumnConfig-CXjUy_VP.js → useTableColumnConfig-BTsMxT8X.js} +2 -2
- package/dist/utils/logger.js +1 -1
- package/package.json +1 -1
- package/dist/rolldown-runtime-DUp30N8C.js +0 -28
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
2
|
import { t as X } from "./x-BYOEO0gW.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "./Dialog-
|
|
4
|
+
import { n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "./Dialog-B5J6LRRw.js";
|
|
5
5
|
import { l as $9daab02d461809db$export$683480f191c0e3ea } from "./OverlayArrow-CyFI2DhX.js";
|
|
6
|
-
import { n as $f3f84453ead64de5$export$8948f78d83984c69, r as $5df64b3807dc15ee$export$d699905dd57c73ca, t as $f3f84453ead64de5$export$2b77a92f1a5ad772 } from "./Modal-
|
|
6
|
+
import { n as $f3f84453ead64de5$export$8948f78d83984c69, r as $5df64b3807dc15ee$export$d699905dd57c73ca, t as $f3f84453ead64de5$export$2b77a92f1a5ad772 } from "./Modal-CEJ2QkF0.js";
|
|
7
7
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
8
8
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
9
9
|
import "./i18n-BDjNuy4Z.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as MenuDesktop } from "./MenuDesktop-
|
|
1
|
+
import { t as MenuDesktop } from "./MenuDesktop-Dv25P83N.js";
|
|
2
2
|
import { t as ChevronRight } from "./chevron-right-C_M98bh3.js";
|
|
3
3
|
import { t as Tooltip } from "./Tooltip-D8YNkKCl.js";
|
|
4
4
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
5
5
|
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, l as $64fa3d84918910a7$export$fabf2dc03a41866e, n as $64fa3d84918910a7$export$29f1550f4b0d4415, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e } from "./utils-D-KKbY-n.js";
|
|
6
6
|
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./import-BXAtbYEe.js";
|
|
7
|
-
import { _ as $e1995378a142960e$export$18af5c7a9e9b3664, h as $7135fc7d473fd974$export$4feb769f8ddf26c5, v as $e1995378a142960e$export$bf788dd355e3a401, x as $23b9f4fcf0fe224b$export$d68d59712b04d9d1, y as $e1995378a142960e$export$fb8073518f34e6ec } from "./Dialog-
|
|
7
|
+
import { _ as $e1995378a142960e$export$18af5c7a9e9b3664, h as $7135fc7d473fd974$export$4feb769f8ddf26c5, v as $e1995378a142960e$export$bf788dd355e3a401, x as $23b9f4fcf0fe224b$export$d68d59712b04d9d1, y as $e1995378a142960e$export$fb8073518f34e6ec } from "./Dialog-B5J6LRRw.js";
|
|
8
8
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
9
9
|
import { n as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-tBB7tXBj.js";
|
|
10
10
|
import { n as $4f118338184dc1d9$export$e2509388b49734e7, t as $4f118338184dc1d9$export$a6c7ac8248d6e38a } from "./Link-BWbPxs6p.js";
|
|
@@ -2,15 +2,15 @@ import { t as ChevronDown } from "./chevron-down-Ciz9yP9R.js";
|
|
|
2
2
|
import { t as ChevronLeft } from "./chevron-left-VO8YZrXZ.js";
|
|
3
3
|
import { t as ChevronRight } from "./chevron-right-C_M98bh3.js";
|
|
4
4
|
import { t as ChevronUp } from "./chevron-up-CHRnDSA3.js";
|
|
5
|
-
import { i as CalendarGrid } from "./DatePickerInput-
|
|
5
|
+
import { i as CalendarGrid } from "./DatePickerInput-g8VFnlw8.js";
|
|
6
6
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
7
7
|
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, h as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-D-KKbY-n.js";
|
|
8
8
|
import { t as $d4ee10de306f2510$export$4282f70798064fe0 } from "./DOMFunctions-BrQjsnDh.js";
|
|
9
9
|
import { o as $9bf71ea28793e738$export$c5251b9e124bf29 } from "./SelectionIndicator-BvWiZS2N.js";
|
|
10
10
|
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./import-BXAtbYEe.js";
|
|
11
11
|
import { t as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./useDescription-4EIEr0rR.js";
|
|
12
|
-
import { C as $dfb4eba373ed9493$exports, S as $3dfb0f96be0d6a08$export$4a931266a3838b86, v as $16f0b7bb276bc17e$export$300019f83c56d282, w as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./staticDateTimeSegments-
|
|
13
|
-
import { i as $eed445e0843c11d0$export$a11e76429ed99b4, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "./ListBox-
|
|
12
|
+
import { C as $dfb4eba373ed9493$exports, S as $3dfb0f96be0d6a08$export$4a931266a3838b86, v as $16f0b7bb276bc17e$export$300019f83c56d282, w as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./staticDateTimeSegments-B5Uuat4L.js";
|
|
13
|
+
import { i as $eed445e0843c11d0$export$a11e76429ed99b4, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "./ListBox-CIgWt1tg.js";
|
|
14
14
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
15
15
|
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
16
16
|
import { n as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-tBB7tXBj.js";
|
|
@@ -19,7 +19,7 @@ import { n as $84b7d8702d4ff4a8$export$40258cc1d95ff477 } from "./ToggleButton-C
|
|
|
19
19
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
20
20
|
import { PillButton } from "./components/pill-button.js";
|
|
21
21
|
import { t as useBreakpoint } from "./useBreakpoint-YuMYUdpG.js";
|
|
22
|
-
import { n as TimePickerForm } from "./datePickerValue.utils-
|
|
22
|
+
import { n as TimePickerForm } from "./datePickerValue.utils-n2HQDle8.js";
|
|
23
23
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
24
24
|
import { c } from "react/compiler-runtime";
|
|
25
25
|
import { CalendarDateTime, Time, today } from "@internationalized/date";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, t as DatePickerInput } from "./DatePickerInput-
|
|
2
|
+
import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, t as DatePickerInput } from "./DatePickerInput-g8VFnlw8.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { f as $5dc95899b306f630$export$c9058316764c140e } from "./utils-D-KKbY-n.js";
|
|
5
|
-
import { d as useCalendarState, i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, p as useDatePickerState, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-
|
|
5
|
+
import { d as useCalendarState, i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, p as useDatePickerState, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-B5Uuat4L.js";
|
|
6
6
|
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
7
|
-
import { r as $6057a3d2a53a12fd$export$42df105a73306d51, t as Calendar } from "./Calendar-
|
|
7
|
+
import { r as $6057a3d2a53a12fd$export$42df105a73306d51, t as Calendar } from "./Calendar-CJscjq0V.js";
|
|
8
8
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
9
9
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
10
10
|
import { t as FormField } from "./FormField-Cl-t5Wi1.js";
|
|
11
11
|
import { t as TooltipWrapper } from "./TooltipWrapper-DyDsoRe-.js";
|
|
12
12
|
import { n as InputFrame, t as useStaticInputHandoff } from "./useStaticInputHandoff-D8dmC_LG.js";
|
|
13
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
13
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-n2HQDle8.js";
|
|
14
14
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
15
15
|
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
16
16
|
import { createCalendar, getLocalTimeZone, toCalendarDate, today } from "@internationalized/date";
|
|
@@ -2,7 +2,7 @@ import { t as createLucideIcon } from "./createLucideIcon-CskCrR9z.js";
|
|
|
2
2
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-D-KKbY-n.js";
|
|
5
|
-
import { b as $16f0b7bb276bc17e$export$5591b0b878c1a989, c as useFirefoxDateSegmentSelectionGuard, f as useDateFieldState, l as DateSegmentItem } from "./staticDateTimeSegments-
|
|
5
|
+
import { b as $16f0b7bb276bc17e$export$5591b0b878c1a989, c as useFirefoxDateSegmentSelectionGuard, f as useDateFieldState, l as DateSegmentItem } from "./staticDateTimeSegments-B5Uuat4L.js";
|
|
6
6
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
7
7
|
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
8
8
|
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Cd0lBvKO.js";
|
|
@@ -3,14 +3,14 @@ import { t as ChevronDown } from "./chevron-down-Ciz9yP9R.js";
|
|
|
3
3
|
import { t as ChevronLeft } from "./chevron-left-VO8YZrXZ.js";
|
|
4
4
|
import { t as ChevronRight } from "./chevron-right-C_M98bh3.js";
|
|
5
5
|
import { n as ChevronsLeft, t as ChevronsRight } from "./chevrons-right-BXdmZ2TS.js";
|
|
6
|
-
import { i as CalendarGrid, n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, t as DatePickerInput } from "./DatePickerInput-
|
|
6
|
+
import { i as CalendarGrid, n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, t as DatePickerInput } from "./DatePickerInput-g8VFnlw8.js";
|
|
7
7
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
8
8
|
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $5dc95899b306f630$export$c9058316764c140e, h as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-D-KKbY-n.js";
|
|
9
9
|
import { t as $d4ee10de306f2510$export$4282f70798064fe0 } from "./DOMFunctions-BrQjsnDh.js";
|
|
10
10
|
import { o as $9bf71ea28793e738$export$c5251b9e124bf29 } from "./SelectionIndicator-BvWiZS2N.js";
|
|
11
11
|
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./import-BXAtbYEe.js";
|
|
12
12
|
import { t as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./useDescription-4EIEr0rR.js";
|
|
13
|
-
import { C as $dfb4eba373ed9493$exports, S as $3dfb0f96be0d6a08$export$4a931266a3838b86, h as useRangeCalendarState, i as getStaticDateTimeFocusTarget, m as useDateRangePickerState, o as DateTimeDialogFooter, r as getStaticDateRangeSegments, s as DateTimeDialog, v as $16f0b7bb276bc17e$export$300019f83c56d282, w as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, x as $16f0b7bb276bc17e$export$7b3062cd49e80452 } from "./staticDateTimeSegments-
|
|
13
|
+
import { C as $dfb4eba373ed9493$exports, S as $3dfb0f96be0d6a08$export$4a931266a3838b86, h as useRangeCalendarState, i as getStaticDateTimeFocusTarget, m as useDateRangePickerState, o as DateTimeDialogFooter, r as getStaticDateRangeSegments, s as DateTimeDialog, v as $16f0b7bb276bc17e$export$300019f83c56d282, w as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, x as $16f0b7bb276bc17e$export$7b3062cd49e80452 } from "./staticDateTimeSegments-B5Uuat4L.js";
|
|
14
14
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
15
15
|
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
16
16
|
import { n as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-tBB7tXBj.js";
|
|
@@ -26,7 +26,7 @@ import "./i18n-BDjNuy4Z.js";
|
|
|
26
26
|
import { t as TooltipWrapper } from "./TooltipWrapper-DyDsoRe-.js";
|
|
27
27
|
import { n as InputFrame, t as useStaticInputHandoff } from "./useStaticInputHandoff-D8dmC_LG.js";
|
|
28
28
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
29
|
-
import { t as Select } from "./Select-
|
|
29
|
+
import { t as Select } from "./Select-B7vfRfll.js";
|
|
30
30
|
import { memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
31
31
|
import { createCalendar, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, startOfMonth, startOfWeek, startOfYear, toCalendarDate, today } from "@internationalized/date";
|
|
32
32
|
import { useFocusWithin } from "@react-aria/interactions";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, t as DatePickerInput } from "./DatePickerInput-
|
|
2
|
+
import { n as renderDatePickerTodayIcon, r as datePickerInputContentRowDefinition, t as DatePickerInput } from "./DatePickerInput-g8VFnlw8.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { f as $5dc95899b306f630$export$c9058316764c140e } from "./utils-D-KKbY-n.js";
|
|
5
|
-
import { d as useCalendarState, i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, p as useDatePickerState, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
5
|
+
import { d as useCalendarState, i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, p as useDatePickerState, s as DateTimeDialog } from "./staticDateTimeSegments-B5Uuat4L.js";
|
|
6
6
|
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
7
|
-
import { r as $6057a3d2a53a12fd$export$42df105a73306d51, t as Calendar } from "./Calendar-
|
|
7
|
+
import { r as $6057a3d2a53a12fd$export$42df105a73306d51, t as Calendar } from "./Calendar-CJscjq0V.js";
|
|
8
8
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
9
9
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
10
10
|
import { t as FormField } from "./FormField-Cl-t5Wi1.js";
|
|
11
11
|
import { t as TooltipWrapper } from "./TooltipWrapper-DyDsoRe-.js";
|
|
12
12
|
import { n as InputFrame, t as useStaticInputHandoff } from "./useStaticInputHandoff-D8dmC_LG.js";
|
|
13
|
-
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
13
|
+
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-n2HQDle8.js";
|
|
14
14
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
15
15
|
import { memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
16
16
|
import { Time, createCalendar, getLocalTimeZone, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { n as __require, t as __commonJSMin } from "./rolldown-runtime-DUp30N8C.js";
|
|
2
1
|
import { i as $4e85f108e88277b8$export$d688439359537581, r as $4e85f108e88277b8$export$b0d3ecf7112093a7, t as $4e85f108e88277b8$export$698f465ec27e93df } from "./RSPContexts-DHQi1l7F.js";
|
|
3
2
|
import { _ as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, d as $3ef42575df84b30b$export$9d1611c77c2fe928, g as $b5e257d569688ac6$export$535bd6ca7f90a273, h as $bdb11010cef70236$export$f680877a34711e37, i as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, l as $64fa3d84918910a7$export$fabf2dc03a41866e, m as $bdb11010cef70236$export$b4cc09c592e8fdb8, n as $64fa3d84918910a7$export$29f1550f4b0d4415, o as $64fa3d84918910a7$export$c62b8e45d58ddad9, p as $ff5963eb1fccf552$export$e08e3b67e392101e, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e, t as $64fa3d84918910a7$export$2881499e37b75b9a, u as $df56164dff5785e2$export$4338b53315abf666 } from "./utils-D-KKbY-n.js";
|
|
4
3
|
import { a as $431fbd86ca7dc216$export$b204af158042fbac, n as $d4ee10de306f2510$export$cd4e5573fbe2b576, o as $431fbd86ca7dc216$export$f21a1ffae260145a, t as $d4ee10de306f2510$export$4282f70798064fe0 } from "./DOMFunctions-BrQjsnDh.js";
|
|
@@ -18,7 +17,7 @@ import { n as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedSt
|
|
|
18
17
|
import { t as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-CWgME09A.js";
|
|
19
18
|
import { n as $f39a9eba43920ace$export$8dc98ba7eadeaa56, r as $f39a9eba43920ace$export$b5d7cc18bb8d2b59 } from "./Hidden-BtagiSrf.js";
|
|
20
19
|
import { t as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-BTtw_Syz.js";
|
|
21
|
-
import $HgANd$react, { cloneElement, createContext, forwardRef, isValidElement, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
20
|
+
import $HgANd$react, { cloneElement, createContext, forwardRef, isValidElement, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
22
21
|
import $4AOtR$reactdom, { createPortal, flushSync } from "react-dom";
|
|
23
22
|
import { ClearPressResponder, FocusableContext, PressResponder, focusSafely, getInteractionModality, isFocusVisible, useFocusWithin, useFocusable, useHover, useInteractOutside, useInteractionModality, useKeyboard, useLongPress, usePress } from "@react-aria/interactions";
|
|
24
23
|
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useUpdateLayoutEffect.mjs
|
|
@@ -3085,75 +3084,7 @@ function $e948873055cbafe4$export$727c8fc270210f13(props) {
|
|
|
3085
3084
|
]);
|
|
3086
3085
|
}
|
|
3087
3086
|
//#endregion
|
|
3088
|
-
//#region ../../node_modules/.bun/use-sync-external-store@1.6.0+83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
|
|
3089
|
-
/**
|
|
3090
|
-
* @license React
|
|
3091
|
-
* use-sync-external-store-shim.development.js
|
|
3092
|
-
*
|
|
3093
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3094
|
-
*
|
|
3095
|
-
* This source code is licensed under the MIT license found in the
|
|
3096
|
-
* LICENSE file in the root directory of this source tree.
|
|
3097
|
-
*/
|
|
3098
|
-
var require_use_sync_external_store_shim_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3099
|
-
(function() {
|
|
3100
|
-
function is(x, y) {
|
|
3101
|
-
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
3102
|
-
}
|
|
3103
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
3104
|
-
didWarnOld18Alpha || void 0 === React.startTransition || (didWarnOld18Alpha = !0, console.error("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."));
|
|
3105
|
-
var value = getSnapshot();
|
|
3106
|
-
if (!didWarnUncachedGetSnapshot) {
|
|
3107
|
-
var cachedValue = getSnapshot();
|
|
3108
|
-
objectIs(value, cachedValue) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0);
|
|
3109
|
-
}
|
|
3110
|
-
cachedValue = useState({ inst: {
|
|
3111
|
-
value,
|
|
3112
|
-
getSnapshot
|
|
3113
|
-
} });
|
|
3114
|
-
var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
|
|
3115
|
-
useLayoutEffect(function() {
|
|
3116
|
-
inst.value = value;
|
|
3117
|
-
inst.getSnapshot = getSnapshot;
|
|
3118
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
3119
|
-
}, [
|
|
3120
|
-
subscribe,
|
|
3121
|
-
value,
|
|
3122
|
-
getSnapshot
|
|
3123
|
-
]);
|
|
3124
|
-
useEffect(function() {
|
|
3125
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
3126
|
-
return subscribe(function() {
|
|
3127
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
3128
|
-
});
|
|
3129
|
-
}, [subscribe]);
|
|
3130
|
-
useDebugValue(value);
|
|
3131
|
-
return value;
|
|
3132
|
-
}
|
|
3133
|
-
function checkIfSnapshotChanged(inst) {
|
|
3134
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
3135
|
-
inst = inst.value;
|
|
3136
|
-
try {
|
|
3137
|
-
var nextValue = latestGetSnapshot();
|
|
3138
|
-
return !objectIs(inst, nextValue);
|
|
3139
|
-
} catch (error) {
|
|
3140
|
-
return !0;
|
|
3141
|
-
}
|
|
3142
|
-
}
|
|
3143
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
3144
|
-
return getSnapshot();
|
|
3145
|
-
}
|
|
3146
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
3147
|
-
var React = __require("react"), objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = !1, didWarnUncachedGetSnapshot = !1, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
3148
|
-
exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
3149
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
3150
|
-
})();
|
|
3151
|
-
}));
|
|
3152
|
-
//#endregion
|
|
3153
3087
|
//#region ../../node_modules/.bun/@react-aria+collections@3.0.2+67f6792bdf102c28/node_modules/@react-aria/collections/dist/CollectionBuilder.mjs
|
|
3154
|
-
var import_shim = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3155
|
-
module.exports = require_use_sync_external_store_shim_development();
|
|
3156
|
-
})))();
|
|
3157
3088
|
const $e1995378a142960e$var$ShallowRenderContext = /*#__PURE__*/ createContext(false);
|
|
3158
3089
|
const $e1995378a142960e$var$CollectionDocumentContext = /*#__PURE__*/ createContext(null);
|
|
3159
3090
|
function $e1995378a142960e$export$bf788dd355e3a401(props) {
|
|
@@ -3174,7 +3105,7 @@ function $e1995378a142960e$var$useSyncExternalStoreFallback(subscribe, getSnapsh
|
|
|
3174
3105
|
let getSnapshotWrapper = useCallback(() => {
|
|
3175
3106
|
return isSSRRef.current ? getServerSnapshot() : getSnapshot();
|
|
3176
3107
|
}, [getSnapshot, getServerSnapshot]);
|
|
3177
|
-
return
|
|
3108
|
+
return useSyncExternalStore(subscribe, getSnapshotWrapper);
|
|
3178
3109
|
}
|
|
3179
3110
|
const $e1995378a142960e$var$useSyncExternalStore = typeof $HgANd$react["useSyncExternalStore"] === "function" ? $HgANd$react["useSyncExternalStore"] : $e1995378a142960e$var$useSyncExternalStoreFallback;
|
|
3180
3111
|
function $e1995378a142960e$var$useCollectionDocument(createCollection) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as ZodObject, h as output } from "./schemas-CAtYiHoz.js";
|
|
2
|
-
import { c as InputComponentProps, i as DefaultComponentType, r as AllowedComponentType, u as InputDefBaseProps } from "./dynamicInputs-
|
|
2
|
+
import { c as InputComponentProps, i as DefaultComponentType, r as AllowedComponentType, u as InputDefBaseProps } from "./dynamicInputs-BasxVhHP.js";
|
|
3
3
|
import { c as UIForm, l as UseFormProps, o as FormSubmitErrorHandler, s as FormSubmitHandler } from "./form.binding-DWlFTecs.js";
|
|
4
4
|
import { DependencyList, ReactNode } from "react";
|
|
5
5
|
//#region src/hooks/useAutosave.d.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as PasswordInput } from "./PasswordInput-CMKZF3YS.js";
|
|
2
2
|
import { t as Checkbox } from "./Checkbox-B0w_4Ri0.js";
|
|
3
3
|
import { t as Slider } from "./Slider-CGESXeRj.js";
|
|
4
|
-
import { t as DateRangePicker } from "./DateRangePicker-
|
|
4
|
+
import { t as DateRangePicker } from "./DateRangePicker-0vELBNcS.js";
|
|
5
5
|
import { t as Toggle } from "./Toggle-bWM3RSXY.js";
|
|
6
6
|
import { t as TextArea } from "./TextArea-CcXiu7JQ.js";
|
|
7
7
|
import { TextInput } from "./components/text-input.js";
|
|
8
8
|
import { Autocomplete } from "./components/autocomplete.js";
|
|
9
9
|
import { CheckboxGroup } from "./components/checkbox-group.js";
|
|
10
|
-
import { t as DatePicker } from "./DatePicker-
|
|
11
|
-
import { t as Select } from "./Select-
|
|
12
|
-
import { t as DateTimePicker } from "./DateTimePicker-
|
|
10
|
+
import { t as DatePicker } from "./DatePicker-DIad7xyY.js";
|
|
11
|
+
import { t as Select } from "./Select-B7vfRfll.js";
|
|
12
|
+
import { t as DateTimePicker } from "./DateTimePicker-ChVdA0tD.js";
|
|
13
13
|
import { NumberInput } from "./components/number-input.js";
|
|
14
14
|
import { t as NumberRangeInput } from "./NumberRangeInput-BFaL0_B5.js";
|
|
15
15
|
import { QueryAutocomplete } from "./components/query-autocomplete.js";
|
|
16
16
|
import { QuerySelect } from "./components/query-select.js";
|
|
17
17
|
import { t as Segment } from "./Segment-BAVcQyuY.js";
|
|
18
|
-
import { t as TimePicker } from "./TimePicker-
|
|
18
|
+
import { t as TimePicker } from "./TimePicker-DC_MYdqe.js";
|
|
19
19
|
import { useMemo } from "react";
|
|
20
20
|
import { jsx } from "react/jsx-runtime";
|
|
21
21
|
//#region src/components/inputs/Inputs/InputItem.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as ZodObject, h as output } from "./schemas-CAtYiHoz.js";
|
|
2
|
-
import { l as InputDef } from "./dynamicInputs-
|
|
2
|
+
import { l as InputDef } from "./dynamicInputs-BasxVhHP.js";
|
|
3
3
|
import { c as UIForm } from "./form.binding-DWlFTecs.js";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
//#region src/components/inputs/Inputs/Inputs.d.ts
|
|
@@ -5,7 +5,7 @@ import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, i as useHover$1, n as u
|
|
|
5
5
|
import { a as $c87311424ea30a05$export$9ac100e40613ea10, r as $c87311424ea30a05$export$78551043582a6a98 } from "./platform-df1ZXSJE.js";
|
|
6
6
|
import { r as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./openLink-CIHtr0U7.js";
|
|
7
7
|
import { t as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useEffectEvent-BdzIyMdT.js";
|
|
8
|
-
import { D as $982254629710d113$export$b95089534ab7c1fd, E as $7613b1592d41b092$export$6cd28814d92fa9c9, O as $2a25aae57d74318e$export$a05409b8bb224a5a, R as $325a3faab7a68acd$export$a16aca283550c30d, S as $23b9f4fcf0fe224b$export$fd11f34e1d07f134, V as $62d8ded9296f3872$export$cfa2225e87938781, _ as $e1995378a142960e$export$18af5c7a9e9b3664, b as $23b9f4fcf0fe224b$export$8258a0665a675899, d as $72a5793c14baf454$export$e0e4026c12a8bdbb, f as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, g as $7135fc7d473fd974$export$d40e14dec8b060a8, h as $7135fc7d473fd974$export$4feb769f8ddf26c5, k as $880e95eb8b93ba9a$export$ecf600387e221c37, p as $7af3f5b51489e0b5$export$253fe78d46329472, u as $431f98aba6844401$export$6615d83f6de245ce, v as $e1995378a142960e$export$bf788dd355e3a401, w as $453cc9f0df89c0a5$export$77d5aafae4e095b2, y as $e1995378a142960e$export$fb8073518f34e6ec } from "./Dialog-
|
|
8
|
+
import { D as $982254629710d113$export$b95089534ab7c1fd, E as $7613b1592d41b092$export$6cd28814d92fa9c9, O as $2a25aae57d74318e$export$a05409b8bb224a5a, R as $325a3faab7a68acd$export$a16aca283550c30d, S as $23b9f4fcf0fe224b$export$fd11f34e1d07f134, V as $62d8ded9296f3872$export$cfa2225e87938781, _ as $e1995378a142960e$export$18af5c7a9e9b3664, b as $23b9f4fcf0fe224b$export$8258a0665a675899, d as $72a5793c14baf454$export$e0e4026c12a8bdbb, f as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, g as $7135fc7d473fd974$export$d40e14dec8b060a8, h as $7135fc7d473fd974$export$4feb769f8ddf26c5, k as $880e95eb8b93ba9a$export$ecf600387e221c37, p as $7af3f5b51489e0b5$export$253fe78d46329472, u as $431f98aba6844401$export$6615d83f6de245ce, v as $e1995378a142960e$export$bf788dd355e3a401, w as $453cc9f0df89c0a5$export$77d5aafae4e095b2, y as $e1995378a142960e$export$fb8073518f34e6ec } from "./Dialog-B5J6LRRw.js";
|
|
9
9
|
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
10
10
|
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Cd0lBvKO.js";
|
|
11
11
|
import { t as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-BTtw_Syz.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-CskCrR9z.js";
|
|
2
|
-
import { a as menuItemDefinition, i as menuDefinition, r as MenuItem, t as MenuDesktop } from "./MenuDesktop-
|
|
2
|
+
import { a as menuItemDefinition, i as menuDefinition, r as MenuItem, t as MenuDesktop } from "./MenuDesktop-Dv25P83N.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { o as $3674c52c6b3c5bce$export$d9b273488cd8ce6f } from "./Dialog-
|
|
4
|
+
import { o as $3674c52c6b3c5bce$export$d9b273488cd8ce6f } from "./Dialog-B5J6LRRw.js";
|
|
5
5
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
6
6
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
7
7
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-CskCrR9z.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import { a as $3674c52c6b3c5bce$export$2ce376c2cc3355c8, c as $07b14b47974efb58$export$5b6b19405a83ff9d, i as $3674c52c6b3c5bce$export$27d2ad3c5815583e, o as $3674c52c6b3c5bce$export$d9b273488cd8ce6f, s as $3674c52c6b3c5bce$export$ecabc99eeffab7ca } from "./Dialog-
|
|
3
|
+
import { a as $3674c52c6b3c5bce$export$2ce376c2cc3355c8, c as $07b14b47974efb58$export$5b6b19405a83ff9d, i as $3674c52c6b3c5bce$export$27d2ad3c5815583e, o as $3674c52c6b3c5bce$export$d9b273488cd8ce6f, s as $3674c52c6b3c5bce$export$ecabc99eeffab7ca } from "./Dialog-B5J6LRRw.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
5
|
import { useRef } from "react";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $5dc95899b306f630$export$c9058316764c140e, g as $b5e257d569688ac6$export$535bd6ca7f90a273, n as $64fa3d84918910a7$export$29f1550f4b0d4415, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e, t as $64fa3d84918910a7$export$2881499e37b75b9a, u as $df56164dff5785e2$export$4338b53315abf666 } from "./utils-D-KKbY-n.js";
|
|
2
2
|
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./import-BXAtbYEe.js";
|
|
3
|
-
import { B as $21f1aa98acb08317$export$c57958e35f31ed73, F as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, H as $cc38e7bd3fc7b213$export$2bb74740c4e19def, I as $a11501f3d1d39e6c$export$ea8f71083e90600f, M as $337b884510726a0d$export$c6fdb837b070b4ff, N as $5e3802645cc19319$export$1c3ebcada18427bf, P as $86ea4cb521eb2e37$export$2317d149ed6f78c4, j as $337b884510726a0d$export$14c98a7594375490, r as $de32f1b87079253c$export$d2f961adcb0afbe } from "./Dialog-
|
|
3
|
+
import { B as $21f1aa98acb08317$export$c57958e35f31ed73, F as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, H as $cc38e7bd3fc7b213$export$2bb74740c4e19def, I as $a11501f3d1d39e6c$export$ea8f71083e90600f, M as $337b884510726a0d$export$c6fdb837b070b4ff, N as $5e3802645cc19319$export$1c3ebcada18427bf, P as $86ea4cb521eb2e37$export$2317d149ed6f78c4, j as $337b884510726a0d$export$14c98a7594375490, r as $de32f1b87079253c$export$d2f961adcb0afbe } from "./Dialog-B5J6LRRw.js";
|
|
4
4
|
import { c as $d3f049242431219c$export$6d3443f2c48bfc20, r as $fc909762b330b746$export$61c6a8c84e605fb6, s as $d3f049242431219c$export$45fda7c47f93fd48 } from "./OverlayArrow-CyFI2DhX.js";
|
|
5
5
|
import $HgANd$react, { createContext, forwardRef, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
6
6
|
//#region ../../node_modules/.bun/@react-aria+utils@3.33.0+67f6792bdf102c28/node_modules/@react-aria/utils/dist/useViewportSize.mjs
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as X } from "./x-BYOEO0gW.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import { n as $de32f1b87079253c$export$3ddf2d174ce01153 } from "./Dialog-
|
|
4
|
-
import { n as $f3f84453ead64de5$export$8948f78d83984c69, t as $f3f84453ead64de5$export$2b77a92f1a5ad772 } from "./Modal-
|
|
3
|
+
import { n as $de32f1b87079253c$export$3ddf2d174ce01153 } from "./Dialog-B5J6LRRw.js";
|
|
4
|
+
import { n as $f3f84453ead64de5$export$8948f78d83984c69, t as $f3f84453ead64de5$export$2b77a92f1a5ad772 } from "./Modal-CEJ2QkF0.js";
|
|
5
5
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
6
6
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
7
7
|
import "./i18n-BDjNuy4Z.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "./staticSelect.utils-
|
|
2
|
+
import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "./staticSelect.utils-BqH-4vxg.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
4
|
import { f as $5dc95899b306f630$export$c9058316764c140e } from "./utils-D-KKbY-n.js";
|
|
5
5
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
@@ -4,8 +4,8 @@ import { t as ChevronDown } from "./chevron-down-Ciz9yP9R.js";
|
|
|
4
4
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
5
5
|
import { a as $64fa3d84918910a7$export$c245e6201fed2f75, d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $5dc95899b306f630$export$c9058316764c140e, h as $bdb11010cef70236$export$f680877a34711e37, n as $64fa3d84918910a7$export$29f1550f4b0d4415, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e } from "./utils-D-KKbY-n.js";
|
|
6
6
|
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./import-BXAtbYEe.js";
|
|
7
|
-
import { c as $07b14b47974efb58$export$5b6b19405a83ff9d, n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "./Dialog-
|
|
8
|
-
import { i as $eed445e0843c11d0$export$a11e76429ed99b4, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "./ListBox-
|
|
7
|
+
import { c as $07b14b47974efb58$export$5b6b19405a83ff9d, n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "./Dialog-B5J6LRRw.js";
|
|
8
|
+
import { i as $eed445e0843c11d0$export$a11e76429ed99b4, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "./ListBox-CIgWt1tg.js";
|
|
9
9
|
import { t as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-Bk39gTui.js";
|
|
10
10
|
import { n as $9446cca9a3875146$export$b6268554fba451f, t as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-DTwXo26a.js";
|
|
11
11
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
@@ -24,7 +24,7 @@ import "./i18n-BDjNuy4Z.js";
|
|
|
24
24
|
import { i as inputSideDefinition, o as useInputCva } from "./input.cva-KYGD4Bdz.js";
|
|
25
25
|
import { t as popoverDefinition } from "./popover.cva-CXha_UMQ.js";
|
|
26
26
|
import { TextInput } from "./components/text-input.js";
|
|
27
|
-
import { t as Select } from "./Select-
|
|
27
|
+
import { t as Select } from "./Select-B7vfRfll.js";
|
|
28
28
|
import { ResponsivePopover } from "./components/responsive-popover.js";
|
|
29
29
|
import $HgANd$react, { createContext, forwardRef, memo, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
30
30
|
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
3
|
import { f as $5dc95899b306f630$export$c9058316764c140e } from "./utils-D-KKbY-n.js";
|
|
4
|
-
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, g as useTimeFieldState, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog, y as $16f0b7bb276bc17e$export$4c842f6a241dc825 } from "./staticDateTimeSegments-
|
|
4
|
+
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, g as useTimeFieldState, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog, y as $16f0b7bb276bc17e$export$4c842f6a241dc825 } from "./staticDateTimeSegments-B5Uuat4L.js";
|
|
5
5
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
6
6
|
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
7
7
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
@@ -12,7 +12,7 @@ import { r as FormFieldLabel, t as FormField } from "./FormField-Cl-t5Wi1.js";
|
|
|
12
12
|
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DyDsoRe-.js";
|
|
13
13
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-KYGD4Bdz.js";
|
|
14
14
|
import { n as InputFrame, t as useStaticInputHandoff } from "./useStaticInputHandoff-D8dmC_LG.js";
|
|
15
|
-
import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
15
|
+
import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-n2HQDle8.js";
|
|
16
16
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
17
17
|
import { memo, useEffect, useRef, useState } from "react";
|
|
18
18
|
import { getLocalTimeZone, now, toTime } from "@internationalized/date";
|
|
@@ -2,7 +2,7 @@ import { t as UIConfig } from "../uiConfig.context-B_wBkrQZ.js";
|
|
|
2
2
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
3
3
|
import { t as Typography } from "../Typography-AcUd9df8.js";
|
|
4
4
|
import { t as Button } from "../Button-D9J5wkMv.js";
|
|
5
|
-
import { t as Modal } from "../Modal-
|
|
5
|
+
import { t as Modal } from "../Modal-r0ucQNPK.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/overlays/ActionModal/ActionModal.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "../staticSelect.utils-
|
|
2
|
+
import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "../staticSelect.utils-BqH-4vxg.js";
|
|
3
3
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
4
|
import { f as $5dc95899b306f630$export$c9058316764c140e } from "../utils-D-KKbY-n.js";
|
|
5
5
|
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../Dialog-
|
|
1
|
+
import { t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../Dialog-B5J6LRRw.js";
|
|
2
2
|
import { Suspense, lazy, useEffect, useState } from "react";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/overlays/BottomSheet/BottomSheet.lazy.tsx
|
|
6
|
-
const BottomSheetRenderer = lazy(() => import("../BottomSheet-
|
|
6
|
+
const BottomSheetRenderer = lazy(() => import("../BottomSheet-CVIgVXNP.js").then(({ BottomSheet }) => ({ default: BottomSheet })));
|
|
7
7
|
const BottomSheet = (t0) => {
|
|
8
8
|
const $ = c(26);
|
|
9
9
|
let isOpen;
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,useMemo as a,useRef as o}from"react";import{filterDOMProps as s,mergeRefs as c,useLayoutEffect as l}from"@react-aria/utils";import{FocusableContext as u}from"@react-aria/interactions";import"react-dom";import"react-aria";
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* use-sync-external-store-shim.production.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
var E=d((e=>{var t=f(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore}));d(((e,t)=>{t.exports=E()}))();const D=t(!1);typeof e.useSyncExternalStore==`function`&&e.useSyncExternalStore;const O=t(null);function k(e){var t;return t=class extends y{},t.type=e,t}function A(t,n,a,o,s,c){typeof t==`string`&&(t=k(t));let l=r(e=>{e?.setProps(n,a,t,o,c)},[n,a,o,c,t]),u=i(O);if(u){let r=u.ownerDocument.nodesByProps.get(n);return r||(r=u.ownerDocument.createElement(t.type),r.setProps(n,a,t,o,c),u.appendChild(r),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,r)),s?e.createElement(O.Provider,{value:r},s):null}return e.createElement(t.type,{ref:l},s)}function j(t,r){let a=({node:e})=>r(e.props,e.props.ref,e),o=n((n,o)=>{let s=i(u);if(!i(D)){if(r.length>=3)throw Error(r.name+` cannot be rendered outside a collection.`);return r(n,o)}return A(t,n,o,`children`in n?n.children:null,null,t=>e.createElement(u.Provider,{value:s},e.createElement(a,{node:t})))});return o.displayName=r.name,o}const M=t(null),N=t(null);var P=class extends y{};P.type=`item`;const F=j(P,function(t,n,r){let i=r.nextKey==null,{isDisabled:a,onAction:o}=h(N),c={"aria-current":i?`page`:null,isDisabled:a||i,onPress:()=>o?.(r.key)},l=m({...r.props,children:r.rendered,values:{isDisabled:a||i,isCurrent:i},defaultClassName:`react-aria-Breadcrumb`}),u=s(t,{global:!0,labelable:!0});return delete u.id,e.createElement(v.li,{...u,...l,ref:n,"data-disabled":a||i||void 0,"data-current":i||void 0},e.createElement(M.Provider,{value:c},l.children))});export{F as Breadcrumb};
|
|
1
|
+
import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,useMemo as a,useRef as o}from"react";import{filterDOMProps as s,mergeRefs as c,useLayoutEffect as l}from"@react-aria/utils";import{FocusableContext as u}from"@react-aria/interactions";import"react-dom";import"react-aria";const d=Symbol(`default`);function f(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return a(()=>{let e,a,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,a=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??i,style:a||s?{...s,...a}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,o,s,c,l])}function p(e,t){let n=i(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||d;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function m(t,n,r){let{render:i,...s}=n,u=o(null),d=a(()=>c(r,u),[r,u]);l(()=>{},[t,i]);let f={...s,ref:d};return i?i(f,void 0):e.createElement(t,f)}const h={},g=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=h[t];return r||(r=n(m.bind(null,t)),h[t]=r),r}});String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var _=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);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}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){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}},v=class extends _{filter(e,t,n){let[r,i]=C(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},y=class extends _{};y.type=`header`;var b=class extends _{};b.type=`loader`;var x=class extends v{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};x.type=`item`;var S=class extends v{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};S.type=`section`;function C(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}const w=t(!1);typeof e.useSyncExternalStore==`function`&&e.useSyncExternalStore;const T=t(null);function E(e){var t;return t=class extends _{},t.type=e,t}function D(t,n,a,o,s,c){typeof t==`string`&&(t=E(t));let l=r(e=>{e?.setProps(n,a,t,o,c)},[n,a,o,c,t]),u=i(T);if(u){let r=u.ownerDocument.nodesByProps.get(n);return r||(r=u.ownerDocument.createElement(t.type),r.setProps(n,a,t,o,c),u.appendChild(r),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,r)),s?e.createElement(T.Provider,{value:r},s):null}return e.createElement(t.type,{ref:l},s)}function O(t,r){let a=({node:e})=>r(e.props,e.props.ref,e),o=n((n,o)=>{let s=i(u);if(!i(w)){if(r.length>=3)throw Error(r.name+` cannot be rendered outside a collection.`);return r(n,o)}return D(t,n,o,`children`in n?n.children:null,null,t=>e.createElement(u.Provider,{value:s},e.createElement(a,{node:t})))});return o.displayName=r.name,o}const k=t(null),A=t(null);var j=class extends _{};j.type=`item`;const M=O(j,function(t,n,r){let i=r.nextKey==null,{isDisabled:a,onAction:o}=p(A),c={"aria-current":i?`page`:null,isDisabled:a||i,onPress:()=>o?.(r.key)},l=f({...r.props,children:r.rendered,values:{isDisabled:a||i,isCurrent:i},defaultClassName:`react-aria-Breadcrumb`}),u=s(t,{global:!0,labelable:!0});return delete u.id,e.createElement(g.li,{...u,...l,ref:n,"data-disabled":a||i||void 0,"data-current":i||void 0},e.createElement(k.Provider,{value:c},l.children))});export{M as Breadcrumb};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useMemo as s,useRef as c,useState as l}from"react";import{filterDOMProps as u,mergeProps as d,mergeRefs as f,useLayoutEffect as p,useObjectRef as m}from"@react-aria/utils";import"@react-aria/interactions";import{createPortal as h}from"react-dom";import{useBreadcrumbs as g}from"react-aria";var _=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),v=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});const y=Symbol(`default`);function b(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||y;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function x(e,t,n){let{ref:r,...i}=b(n,e.slot)||{},a=m(s(()=>f(t,r),[t,r])),o=d(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(o.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[o,a]}function S(t,n,r){let{render:i,...a}=n,o=c(null),l=s(()=>f(r,o),[r,o]);p(()=>{},[t,i]);let u={...a,ref:l};return i?i(u,void 0):e.createElement(t,u)}const C={},ee=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=C[t];return n||(n=r(S.bind(null,t)),C[t]=n),n}});String(Math.round(Math.random()*1e10));const te=e.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement,e.useId;function ne(){return!1}function re(){return!0}function w(e){return()=>{}}function T(){return typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore(w,ne,re):o(te)}var E=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);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}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){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}},D=class extends E{filter(e,t,n){let[r,i]=N(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},O=class extends E{};O.type=`header`;var k=class extends E{};k.type=`loader`;var A=class extends D{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};A.type=`item`;var j=class extends D{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};j.type=`section`;var M=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey==null?void 0:this.keyMap.get(this.firstKey);for(;e;)yield e,e=e.nextKey==null?void 0:this.keyMap.get(e.nextKey)}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(t.prevKey!=null){for(t=this.keyMap.get(t.prevKey);t&&t.type!==`item`&&t.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if(t.type!==`item`&&t.firstChildKey!=null)return t.firstChildKey;for(;t;){if(t.nextKey!=null)return t.nextKey;if(t.parentKey!=null)t=this.keyMap.get(t.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey==null?null:this.keyMap.get(this.lastKey);for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error(`Not implemented`)}clone(){let e=this.constructor,t=new e;return t.keyMap=new Map(this.keyMap),t.firstKey=this.firstKey,t.lastKey=this.lastKey,t.itemCount=this.itemCount,t}addNode(e){if(this.frozen)throw Error(`Cannot add a node to a frozen collection`);e.type===`item`&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let e of n)this.addDescendants(e,t)}removeNode(e){if(this.frozen)throw Error(`Cannot remove a node to a frozen collection`);let t=this.keyMap.get(e);t!=null&&t.type===`item`&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error(`Cannot commit a frozen collection`);this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=N(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function N(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}var P=class{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild??=e,this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}},F=class e extends P{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+ +(this.node?.type===`item`):0}getMutableNode(){return this.node==null?null:(this.isMutated||=(this.node=this.node.clone(),!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let e=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&e!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=e}}}setProps(e,t,n,r,i){let a,{value:o,textValue:s,id:c,...l}=e;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),l.ref=t,a.props=l,a.rendered=r,a.render=i,a.value=o,e[`aria-label`]&&(a[`aria-label`]=e[`aria-label`]),a.textValue=s||(typeof l.children==`string`?l.children:``)||e[`aria-label`]||``,c!=null&&c!==a.key)throw Error(`Cannot change the id of an item`);l.colSpan!=null&&(a.colSpan=l.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?`none`:``},set display(t){let n=t===`none`;if(e.isHidden!==n){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let t=e.previousVisibleSibling,r=e.nextVisibleSibling;t&&e.ownerDocument.markDirty(t),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}},I=class extends P{get isConnected(){return!0}createElement(e){return new F(e,this)}getMutableCollection(){return this.nextCollection||=this.collection.clone(),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||e.node==null)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof F&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof F?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}};function L(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,c=s(()=>new WeakMap,o);return s(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}if(typeof HTMLTemplateElement<`u`){let e=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`).get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const R=n(!1);function z(t){if(o(R))return e.createElement(e.Fragment,null,t.children);let n=e.createElement(R.Provider,{value:!0},t.children);return e.createElement(`template`,{"data-react-aria-hidden":!0},n)}
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* use-sync-external-store-shim.production.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
var ie=_((e=>{var t=v(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),B=_(((e,t)=>{t.exports=ie()}))();const V=n(!1),H=n(null);function U(t){if(o(H))return t.content;let{collection:n,document:r}=q(t.createCollection);return e.createElement(e.Fragment,null,e.createElement(z,null,e.createElement(H.Provider,{value:r},t.content)),e.createElement(W,{render:t.children,collection:n}))}function W({collection:e,render:t}){return t(e)}function G(e,t,n){let r=T(),i=c(r);i.current=r;let o=a(()=>i.current?n():t(),[t,n]);return(0,B.useSyncExternalStore)(e,o)}const K=typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore:G;function q(e){let[t]=l(()=>new I(e?.()||new M)),n=a(e=>t.subscribe(e),[t]),r=a(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),i=a(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:K(n,r,i),document:t}}const J=n(null);function Y(e){return L({...e,addIdAndValue:!0})}const X=n(null);function ae(t){let n=o(X),r=(n?.dependencies||[]).concat(t.dependencies),i=t.idScope??n?.idScope,a=Y({...t,idScope:i,dependencies:r});return o(H)&&(a=e.createElement(oe,null,a)),n=s(()=>({dependencies:r,idScope:i}),[i,...r]),e.createElement(X.Provider,{value:n},a)}function oe({children:t}){let n=o(H),r=s(()=>e.createElement(H.Provider,{value:null},e.createElement(V.Provider,{value:!0},t)),[t]);return T()?e.createElement(J.Provider,{value:n},r):h(r,n)}const se={CollectionRoot({collection:e,renderDropIndicator:t}){return Z(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return Z(e,t,n)}};function Z(t,n,r){return L({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,Q(t,n,r))}})}function Q(e,n,r){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=r({type:`item`,key:a.key,dropPosition:`after`});i(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const ce=n(se),$=n(null),le=r(function(t,n){[t,n]=x(t,n,$);let{CollectionRoot:r}=o(ce),{navProps:i}=g(t),a=u(t,{global:!0,labelable:!0});return e.createElement(U,{content:e.createElement(ae,t)},o=>e.createElement(ee.ol,{render:t.render,ref:n,...d(a,i),slot:t.slot||void 0,style:t.style,className:t.className??`react-aria-Breadcrumbs`},e.createElement($.Provider,{value:t},e.createElement(r,{collection:o}))))});var ue=class extends E{};ue.type=`item`;export{le as Breadcrumbs};
|
|
1
|
+
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useMemo as s,useRef as c,useState as l,useSyncExternalStore as u}from"react";import{filterDOMProps as d,mergeProps as f,mergeRefs as p,useLayoutEffect as m,useObjectRef as h}from"@react-aria/utils";import"@react-aria/interactions";import{createPortal as g}from"react-dom";import{useBreadcrumbs as _}from"react-aria";const v=Symbol(`default`);function y(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||v;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function b(e,t,n){let{ref:r,...i}=y(n,e.slot)||{},a=h(s(()=>p(t,r),[t,r])),o=f(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(o.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[o,a]}function x(t,n,r){let{render:i,...a}=n,o=c(null),l=s(()=>p(r,o),[r,o]);m(()=>{},[t,i]);let u={...a,ref:l};return i?i(u,void 0):e.createElement(t,u)}const S={},C=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=S[t];return n||(n=r(x.bind(null,t)),S[t]=n),n}});String(Math.round(Math.random()*1e10));const w=e.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement,e.useId;function T(){return!1}function ee(){return!0}function te(e){return()=>{}}function E(){return typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore(te,T,ee):o(w)}var D=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);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}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){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}},O=class extends D{filter(e,t,n){let[r,i]=P(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},k=class extends D{};k.type=`header`;var A=class extends D{};A.type=`loader`;var j=class extends O{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};j.type=`item`;var M=class extends O{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};M.type=`section`;var N=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey==null?void 0:this.keyMap.get(this.firstKey);for(;e;)yield e,e=e.nextKey==null?void 0:this.keyMap.get(e.nextKey)}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(t.prevKey!=null){for(t=this.keyMap.get(t.prevKey);t&&t.type!==`item`&&t.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if(t.type!==`item`&&t.firstChildKey!=null)return t.firstChildKey;for(;t;){if(t.nextKey!=null)return t.nextKey;if(t.parentKey!=null)t=this.keyMap.get(t.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey==null?null:this.keyMap.get(this.lastKey);for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error(`Not implemented`)}clone(){let e=this.constructor,t=new e;return t.keyMap=new Map(this.keyMap),t.firstKey=this.firstKey,t.lastKey=this.lastKey,t.itemCount=this.itemCount,t}addNode(e){if(this.frozen)throw Error(`Cannot add a node to a frozen collection`);e.type===`item`&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let e of n)this.addDescendants(e,t)}removeNode(e){if(this.frozen)throw Error(`Cannot remove a node to a frozen collection`);let t=this.keyMap.get(e);t!=null&&t.type===`item`&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error(`Cannot commit a frozen collection`);this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=P(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function P(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}var F=class{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild??=e,this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}},I=class e extends F{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+ +(this.node?.type===`item`):0}getMutableNode(){return this.node==null?null:(this.isMutated||=(this.node=this.node.clone(),!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let e=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&e!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=e}}}setProps(e,t,n,r,i){let a,{value:o,textValue:s,id:c,...l}=e;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),l.ref=t,a.props=l,a.rendered=r,a.render=i,a.value=o,e[`aria-label`]&&(a[`aria-label`]=e[`aria-label`]),a.textValue=s||(typeof l.children==`string`?l.children:``)||e[`aria-label`]||``,c!=null&&c!==a.key)throw Error(`Cannot change the id of an item`);l.colSpan!=null&&(a.colSpan=l.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?`none`:``},set display(t){let n=t===`none`;if(e.isHidden!==n){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let t=e.previousVisibleSibling,r=e.nextVisibleSibling;t&&e.ownerDocument.markDirty(t),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}},L=class extends F{get isConnected(){return!0}createElement(e){return new I(e,this)}getMutableCollection(){return this.nextCollection||=this.collection.clone(),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||e.node==null)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof I&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof I?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}};function R(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,c=s(()=>new WeakMap,o);return s(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}if(typeof HTMLTemplateElement<`u`){let e=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`).get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const z=n(!1);function B(t){if(o(z))return e.createElement(e.Fragment,null,t.children);let n=e.createElement(z.Provider,{value:!0},t.children);return e.createElement(`template`,{"data-react-aria-hidden":!0},n)}const ne=n(!1),V=n(null);function H(t){if(o(V))return t.content;let{collection:n,document:r}=K(t.createCollection);return e.createElement(e.Fragment,null,e.createElement(B,null,e.createElement(V.Provider,{value:r},t.content)),e.createElement(U,{render:t.children,collection:n}))}function U({collection:e,render:t}){return t(e)}function W(e,t,n){let r=E(),i=c(r);i.current=r;let o=a(()=>i.current?n():t(),[t,n]);return u(e,o)}const G=typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore:W;function K(e){let[t]=l(()=>new L(e?.()||new N)),n=a(e=>t.subscribe(e),[t]),r=a(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),i=a(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:G(n,r,i),document:t}}const q=n(null);function J(e){return R({...e,addIdAndValue:!0})}const Y=n(null);function X(t){let n=o(Y),r=(n?.dependencies||[]).concat(t.dependencies),i=t.idScope??n?.idScope,a=J({...t,idScope:i,dependencies:r});return o(V)&&(a=e.createElement(Z,null,a)),n=s(()=>({dependencies:r,idScope:i}),[i,...r]),e.createElement(Y.Provider,{value:n},a)}function Z({children:t}){let n=o(V),r=s(()=>e.createElement(V.Provider,{value:null},e.createElement(ne.Provider,{value:!0},t)),[t]);return E()?e.createElement(q.Provider,{value:n},r):g(r,n)}const re={CollectionRoot({collection:e,renderDropIndicator:t}){return Q(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return Q(e,t,n)}};function Q(t,n,r){return R({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,ie(t,n,r))}})}function ie(e,n,r){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=r({type:`item`,key:a.key,dropPosition:`after`});i(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const ae=n(re),$=n(null),oe=r(function(t,n){[t,n]=b(t,n,$);let{CollectionRoot:r}=o(ae),{navProps:i}=_(t),a=d(t,{global:!0,labelable:!0});return e.createElement(H,{content:e.createElement(X,t)},o=>e.createElement(C.ol,{render:t.render,ref:n,...f(a,i),slot:t.slot||void 0,style:t.style,className:t.className??`react-aria-Breadcrumbs`},e.createElement($.Provider,{value:t},e.createElement(r,{collection:o}))))});var se=class extends D{};se.type=`item`;export{oe as Breadcrumbs};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Breadcrumbs } from "../Breadcrumbs-
|
|
1
|
+
import { t as Breadcrumbs } from "../Breadcrumbs-BypydWR6.js";
|
|
2
2
|
export { Breadcrumbs };
|