@midas-ds/components 14.0.0 → 14.1.0
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/AccordionItem-CAi-XFOc.js +343 -0
- package/AccordionItem-tWS22wDv.cjs +1 -0
- package/{Breadcrumbs-DpUPChG9.cjs → Breadcrumbs-BBDGxc68.cjs} +1 -1
- package/{Breadcrumbs-CV3rVTjR.js → Breadcrumbs-BenPNv8Z.js} +4 -4
- package/Button-1sEX8jKn.cjs +1 -0
- package/{Button-xc8A29pm.cjs → Button-BEWKXjlP.cjs} +1 -1
- package/{Button-CRIYvCRM.js → Button-CF97piBl.js} +1 -1
- package/{Button-B6lxIKPk.js → Button-CGe3Nyos.js} +121 -115
- package/CHANGELOG.md +26 -0
- package/{Card-CfosvMF5.js → Card-DJ8E5Rzd.js} +3 -3
- package/{Card-D2E3gviQ.cjs → Card-Db9xdzJ0.cjs} +1 -1
- package/{CharacterCounter-C-PFKoGg.cjs → CharacterCounter-CTpQ12f7.cjs} +1 -1
- package/{CharacterCounter-DpFONstE.js → CharacterCounter-gbDGfize.js} +2 -2
- package/Checkbox-BgrLxY6P.cjs +1 -0
- package/{Checkbox-Cr3MmHPE.js → Checkbox-CdN1D5pD.js} +94 -90
- package/{CheckboxGroup-DEY3JDEL.js → CheckboxGroup-B1b-6bKq.js} +7 -7
- package/{CheckboxGroup-f9Oa1MhQ.cjs → CheckboxGroup-BfZyy5yU.cjs} +1 -1
- package/{Collection-j_iWeuZo.js → Collection-BkxwF21i.js} +205 -213
- package/Collection-vGO6v3_U.cjs +1 -0
- package/{ColorSchemeSwitch-Cur7zN5_.cjs → ColorSchemeSwitch-BOooU0iy.cjs} +1 -1
- package/{ColorSchemeSwitch-ChFSNntp.js → ColorSchemeSwitch-KjnsdbDr.js} +2 -2
- package/{ComboBox-D7eKe-M5.js → ComboBox-D1ZSZ6m-.js} +254 -246
- package/ComboBox-Dztk_jtC.cjs +1 -0
- package/{DateField-BszKZodr.cjs → DateField-BogEOseq.cjs} +1 -1
- package/{DateField-xyhyDy7u.js → DateField-lsr_1fw4.js} +4 -4
- package/{DateInputDivider-2Wf2hlXA.js → DateInputDivider-CRv3YuXd.js} +191 -188
- package/DateInputDivider-CYqm6PZP.cjs +1 -0
- package/{DateRangePicker-YwKi0ukr.js → DateRangePicker-5k1swaEt.js} +119 -115
- package/DateRangePicker-CgNXWOT6.cjs +6 -0
- package/Dialog-B1N4Ndyx.js +256 -0
- package/{Dialog-DOyFzvUa.js → Dialog-BUAp30Wc.js} +712 -694
- package/Dialog-BgSxz1JW.cjs +1 -0
- package/Dialog-PrnV8KTh.cjs +6 -0
- package/{DragAndDrop-DQ_6tl6K.cjs → DragAndDrop-Cs-V-9ak.cjs} +1 -1
- package/{DragAndDrop-DPRU3Y0Y.js → DragAndDrop-DF0VoPJw.js} +1 -1
- package/{Dropdown-5rmvcHD_.cjs → Dropdown-DBFLb8Tl.cjs} +1 -1
- package/{Dropdown-uC9wc8vd.js → Dropdown-DaARa89l.js} +2 -2
- package/{FieldError-C4WBoCRc.cjs → FieldError-Cimgm8qD.cjs} +1 -1
- package/{FieldError-C4kD4yJZ.js → FieldError-l3xULRa0.js} +3 -3
- package/{FileUpload-01wGpykv.js → FileUpload-CN0HNJ_Y.js} +9 -9
- package/{FileUpload-CTbh7Gic.cjs → FileUpload-DHmsupSe.cjs} +1 -1
- package/Group-B0Wj9pI8.cjs +1 -0
- package/Group-BAd7alBM.js +46 -0
- package/{Heading-CEx2LJyM.js → Heading-CCoGfKQ8.js} +9 -9
- package/{Heading-CUShN98j.cjs → Heading-x7y3xadc.cjs} +1 -1
- package/{InfoBanner-CRSz8DK2.js → InfoBanner-BW3vy9mc.js} +1 -1
- package/{InfoBanner-D_pNj1J2.cjs → InfoBanner-_M_rGQiu.cjs} +1 -1
- package/{Input-CCuE9Sc5.cjs → Input-Bda0PCu5.cjs} +1 -1
- package/{Input-CkTOajNJ.js → Input-CQzv-D9g.js} +3 -3
- package/{Label-CV9p0K2n.js → Label-BGMXsSFb.js} +4 -4
- package/{Label-CkIRTC0_.cjs → Label-CNTODOFg.cjs} +1 -1
- package/Layout-BrEuHajQ.cjs +16 -0
- package/{Layout-IeVrHpT0.js → Layout-JL9l-y7w.js} +62 -63
- package/{Link-BFvUN5Sq.js → Link-BudFjYrw.js} +1 -1
- package/{Link-D2K7bDd3.cjs → Link-BvUSTIip.cjs} +1 -1
- package/{Link-a3Ymcnoa.cjs → Link-DRU6Qzia.cjs} +1 -1
- package/{Link-B9CQXWzE.js → Link-l-nMP-Zd.js} +5 -5
- package/{LinkButton-BCn5gR10.cjs → LinkButton-DGdnbTgR.cjs} +1 -1
- package/{LinkButton-DN3J1Agu.js → LinkButton-DP9W-E32.js} +1 -1
- package/ListBox-TGCxrXIJ.cjs +1 -0
- package/{ListBox-2eEa1l0M.js → ListBox-mOCZvKD4.js} +187 -176
- package/{ListBoxLoadMoreItem-IcGb_XwN.js → ListBoxLoadMoreItem-CLdTe6-z.js} +3 -3
- package/{ListBoxLoadMoreItem-BBE3OF4J.cjs → ListBoxLoadMoreItem-UX0jFQN4.cjs} +1 -1
- package/ListBoxSection-BNBHosou.cjs +1 -0
- package/{ListBoxSection-dksiACMZ.js → ListBoxSection-D_kTkvgG.js} +139 -140
- package/{ListKeyboardDelegate-Dyu4eFtP.js → ListKeyboardDelegate-BHnZMUhW.js} +36 -40
- package/ListKeyboardDelegate-CLRlDto7.cjs +1 -0
- package/{OverlayArrow-Bh_G2tJ3.js → OverlayArrow-CjGslX2c.js} +2 -2
- package/{OverlayArrow-DJ4nNscD.cjs → OverlayArrow-bcrb_syE.cjs} +1 -1
- package/{Popover-D7_IfJ3o.js → Popover-CZFi2YGz.js} +2 -2
- package/{Popover-BI2Koco0.cjs → Popover-uYTWBGHa.cjs} +1 -1
- package/{PressResponder-DUhG97jJ.js → PressResponder-BMj6Zvbn.js} +3 -3
- package/{PressResponder-AXK2I_yx.cjs → PressResponder-ChvCuOue.cjs} +1 -1
- package/{ProgressBar-B-TOuoAC.cjs → ProgressBar-BGemuJIq.cjs} +1 -1
- package/{ProgressBar-B0WEQkyq.js → ProgressBar-DhRmckYM.js} +2 -2
- package/{RSPContexts-BW2SEIqe.js → RSPContexts-B0lEq7qq.js} +5 -3
- package/RSPContexts-XUvspq3j.cjs +1 -0
- package/Radio-Bp_31Z59.js +340 -0
- package/Radio-D3RGVrEd.cjs +1 -0
- package/{RangeCalendar-D5TMu8GI.js → RangeCalendar-9C96gMvy.js} +58 -58
- package/{RangeCalendar-B6zKSDju.cjs → RangeCalendar-ChfmP_ql.cjs} +2 -2
- package/{SearchField-wojUSY2S.js → SearchField-DrEdzWAy.js} +3 -3
- package/{SearchField-DnBBlPT7.cjs → SearchField-JaDXLq5W.cjs} +1 -1
- package/Select-BCUH-Z7q.cjs +1 -0
- package/Select-CpPE78Ke.js +676 -0
- package/SelectionIndicator-BiSN1toV.cjs +1 -0
- package/{FocusScope-8ILtcq9W.js → SelectionIndicator-ant6jeC1.js} +256 -165
- package/SelectionManager-C469yQeD.js +1063 -0
- package/SelectionManager-uFYC4wpu.cjs +1 -0
- package/{Separator--4b7vckr.js → Separator-B6l5qSpR.js} +2 -2
- package/{Separator-COlhRmJF.js → Separator-BWAnBMVN.js} +4 -4
- package/{Separator-DcbM84B8.cjs → Separator-DbhmtwDa.cjs} +1 -1
- package/{Separator-BQkxEZC9.cjs → Separator-J0pLW4BN.cjs} +1 -1
- package/Spinner-D6Fcu_Dp.js +54 -0
- package/Spinner-DIapnvIz.cjs +6 -0
- package/TabList-C0tRVI6Q.cjs +1 -0
- package/TabList-DmkxO7MM.js +394 -0
- package/Table-BLqjyYKk.cjs +16 -0
- package/{Table-cCSOrPkK.js → Table-CyWZO9uf.js} +707 -703
- package/Tag-DJqYiBLR.js +774 -0
- package/Tag-FDHGu_WP.cjs +1 -0
- package/{Text-CkhG15SU.cjs → Text-0wXj3J8E.cjs} +1 -1
- package/{Text-BQe1I4-r.js → Text-BBFWBNAH.js} +1 -1
- package/{Text-CkhZTTV5.cjs → Text-D5OSv6Uv.cjs} +1 -1
- package/{Text-BpERRete.js → Text-bqP9NeVg.js} +1 -1
- package/{TextArea-B5TsyJxa.cjs → TextArea-CZxwvBcS.cjs} +1 -1
- package/{TextArea-Cado2arG.js → TextArea-CrY7P18c.js} +8 -8
- package/{TextField-5AI6T1ol.js → TextField-BWea-IT-.js} +10 -10
- package/TextField-DsN-kBfh.cjs +1 -0
- package/{Toast-Cs-Uvf1p.cjs → Toast-DUZ5jfG1.cjs} +1 -1
- package/{Toast-CgXRE33Y.js → Toast-Di3h8A14.js} +12 -12
- package/{ToggleButtonGroup-SKGgfFs4.js → ToggleButtonGroup-Bh4hP6Lk.js} +82 -78
- package/ToggleButtonGroup-D7r34GCt.cjs +1 -0
- package/{Tooltip-txk48Qof.js → Tooltip-CUdmOznK.js} +4 -4
- package/{Tooltip-BrupFzaI.cjs → Tooltip-D-ATlbIM.cjs} +1 -1
- package/{VisuallyHidden-Awup6QxT.cjs → VisuallyHidden-BMelU6B0.cjs} +1 -1
- package/{VisuallyHidden-D2ZXHTJs.js → VisuallyHidden-DuW70K-5.js} +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/default.css +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/{getScrollParent-Ru2U2LlM.js → getScrollParent-DFCzfqHG.js} +1 -1
- package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DjULaF_q.cjs} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/index.cjs +1 -1
- package/index.js +42 -42
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/menu/index.cjs +1 -1
- package/menu/index.js +2 -2
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +4 -4
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/scrollIntoView-BVI21Y4-.js +65 -0
- package/scrollIntoView-BueMOyGp.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/select/types.d.ts +1 -1
- package/select/useMultiSelect.d.ts +2 -2
- package/spinner/Spinner.d.ts +5 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tabs.d.ts +2 -9
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +0 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/TextArea.d.ts +3 -2
- package/textfield/TextField.d.ts +3 -2
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-Bh3duhYL.cjs → useButton-C0r5nrqs.cjs} +1 -1
- package/{useButton-A-VOfwuT.js → useButton-CRgN6aZf.js} +2 -2
- package/useDateFormatter-BrrFo4nY.cjs +1 -0
- package/{useDateFormatter-CxlJTAki.js → useDateFormatter-Bs5A6Xtu.js} +353 -322
- package/{useField-sSWPm-He.js → useField-BhJ9dM2g.js} +1 -1
- package/{useField-CY4OYE5a.cjs → useField-DvszkIMx.cjs} +1 -1
- package/{useFilter-DHcouDzv.js → useFilter-BdUU-HQZ.js} +1 -1
- package/{useFilter-DlZLqsJD.cjs → useFilter-R2IPvbS8.cjs} +1 -1
- package/{useFocusRing-Cig5Y0l-.cjs → useFocusRing-C-XVcAE5.cjs} +1 -1
- package/{useFocusRing-Copf_tx8.js → useFocusRing-CcxI7nbg.js} +2 -2
- package/{useFocusWithin-BKopz9sr.js → useFocusWithin-DhXBuB2O.js} +1 -1
- package/{useFocusWithin-TryC2Kkw.cjs → useFocusWithin-GBjoTL5o.cjs} +1 -1
- package/{useFocusable-CCh54GIw.js → useFocusable-BJj-Bkig.js} +3 -3
- package/{useFocusable-DhdAtEw8.cjs → useFocusable-M4se1KJt.cjs} +1 -1
- package/{useFormValidation-DdIIVZ5j.js → useFormValidation-By7G-T7y.js} +1 -1
- package/{useFormValidation-BJNizNDf.cjs → useFormValidation-DV2Ioblb.cjs} +1 -1
- package/useHasTabbableChild-CIZGg_iG.cjs +1 -0
- package/{useHasTabbableChild-BbgOpdGQ.js → useHasTabbableChild-CnpSoDuJ.js} +1 -1
- package/{useHighlightSelectionDescription-D6F-YO6b.cjs → useHighlightSelectionDescription-CBZfyrhy.cjs} +1 -1
- package/{useHighlightSelectionDescription-BL_02EKv.js → useHighlightSelectionDescription-DPiqOr_Z.js} +2 -2
- package/{useHover-eU40luVI.cjs → useHover-DULSfLuK.cjs} +1 -1
- package/{useHover-zCCNtF6g.js → useHover-DkC5FyNd.js} +4 -4
- package/{useListState-BdC308Sq.cjs → useListState-DBawAMhF.cjs} +1 -1
- package/{useListState-D2yPZrFZ.js → useListState-PZF3ahpk.js} +1 -1
- package/{usePress-4yZ5a87p.js → usePress-BqQIhkNY.js} +43 -43
- package/usePress-DmU79HEg.cjs +7 -0
- package/{useSingleSelectListState-lyai-bC_.js → useSingleSelectListState-BLRBEJC7.js} +1 -1
- package/{useSingleSelectListState-b_SPhYG4.cjs → useSingleSelectListState-CNETmoj5.cjs} +1 -1
- package/{useTextField-DjxrmW7d.js → useTextField-B8pM0p6X.js} +4 -4
- package/{useTextField-DUEQl6sr.cjs → useTextField-CiWV3eeD.cjs} +1 -1
- package/utils/types.d.ts +5 -0
- package/utils-CtICjCYt.cjs +1 -0
- package/{utils-BMBoiyL7.js → utils-D2iKpxcZ.js} +43 -39
- package/utils-DRIRjPUS.cjs +1 -0
- package/{utils-CrT5PVBA.js → utils-Dxh86KaB.js} +19 -17
- package/AccordionItem-BJw5IKe0.js +0 -334
- package/AccordionItem-DhMimhYo.cjs +0 -1
- package/Button-BTX5G3le.cjs +0 -1
- package/Checkbox-D-CFY6QF.cjs +0 -1
- package/Collection-DaZzboRu.cjs +0 -1
- package/ComboBox-C4NybZ32.cjs +0 -1
- package/DateInputDivider-BgXKFwB0.cjs +0 -1
- package/DateRangePicker-DTPkr3hX.cjs +0 -6
- package/Dialog-DLnopN3Z.js +0 -237
- package/Dialog-DNu42oLH.cjs +0 -1
- package/Dialog-w6EBWT__.cjs +0 -1
- package/FocusScope-Dv0F-mG2.cjs +0 -1
- package/Group-C2hEIsGV.js +0 -45
- package/Group-cuyk9Hsy.cjs +0 -1
- package/Layout-CVnlO10z.cjs +0 -16
- package/ListBox-Bx9M5vqb.cjs +0 -1
- package/ListBoxSection-kujY2gUl.cjs +0 -1
- package/ListKeyboardDelegate-DJDPir-w.cjs +0 -1
- package/RSPContexts-D8hmBfGm.cjs +0 -1
- package/Radio-D6KNkSA2.js +0 -333
- package/Radio-DsVsutMH.cjs +0 -1
- package/Select-D9h_RQ2k.cjs +0 -1
- package/Select-Dc6y8gPR.js +0 -654
- package/SelectionManager-D-4ThfPZ.js +0 -1043
- package/SelectionManager-FYrDfe5v.cjs +0 -1
- package/Spinner-CTha503N.js +0 -47
- package/Spinner-DKQ9_SQB.cjs +0 -6
- package/TabList-BhC96APe.cjs +0 -1
- package/TabList-P5HnizZt.js +0 -393
- package/Table-BB8Ag5_3.cjs +0 -16
- package/Tag-D2vh0KRD.js +0 -765
- package/Tag-D32MGLjS.cjs +0 -1
- package/TextField-4xfAzdBI.cjs +0 -1
- package/ToggleButtonGroup-CiX2eXB8.cjs +0 -1
- package/scrollIntoView-ClEACHUk.js +0 -57
- package/scrollIntoView-DRSoJp89.cjs +0 -1
- package/useDateFormatter-D0bVjgIb.cjs +0 -1
- package/useHasTabbableChild-wH3RCjTd.cjs +0 -1
- package/useObserveElement-BdI4zgd7.js +0 -27
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-Dj3t18Pf.cjs +0 -7
- package/utils-I-LGXGYH.cjs +0 -1
- package/utils-cBvgilDa.cjs +0 -1
- package/variables-B3KEYyhW.cjs +0 -1
- package/variables-DzXcMW2k.js +0 -5
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { createPortal as
|
|
3
|
-
import { c as
|
|
4
|
-
import
|
|
5
|
-
import { $ as
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
class C {
|
|
1
|
+
import { a as U } from "./Hidden-B5ir3Lei.js";
|
|
2
|
+
import { createPortal as L } from "react-dom";
|
|
3
|
+
import { c as D } from "./useFocusable-BJj-Bkig.js";
|
|
4
|
+
import h, { useMemo as b, cloneElement as E, forwardRef as R, useContext as p, createContext as v, useCallback as m, useState as W, useRef as T, isValidElement as j } from "react";
|
|
5
|
+
import { $ as V } from "./SSRProvider-D8lZ0o6A.js";
|
|
6
|
+
import { s as G } from "./index-DEx4upZl.js";
|
|
7
|
+
class g {
|
|
9
8
|
get childNodes() {
|
|
10
9
|
throw new Error("childNodes is not supported");
|
|
11
10
|
}
|
|
@@ -22,19 +21,19 @@ class C {
|
|
|
22
21
|
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;
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
|
-
class
|
|
24
|
+
class P extends g {
|
|
26
25
|
filter(e, t, l) {
|
|
27
|
-
let [i,
|
|
28
|
-
return
|
|
26
|
+
let [i, r] = _(e, t, this.firstChildKey, l), s = this.clone();
|
|
27
|
+
return s.firstChildKey = i, s.lastChildKey = r, s;
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
|
-
class
|
|
30
|
+
class J extends g {
|
|
32
31
|
}
|
|
33
|
-
|
|
34
|
-
class
|
|
32
|
+
J.type = "header";
|
|
33
|
+
class O extends g {
|
|
35
34
|
}
|
|
36
|
-
|
|
37
|
-
class
|
|
35
|
+
O.type = "loader";
|
|
36
|
+
class Q extends P {
|
|
38
37
|
filter(e, t, l) {
|
|
39
38
|
if (l(this.textValue, this)) {
|
|
40
39
|
let i = this.clone();
|
|
@@ -43,19 +42,19 @@ class T extends D {
|
|
|
43
42
|
return null;
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
|
-
|
|
47
|
-
class
|
|
45
|
+
Q.type = "item";
|
|
46
|
+
class X extends P {
|
|
48
47
|
filter(e, t, l) {
|
|
49
48
|
let i = super.filter(e, t, l);
|
|
50
49
|
if (i && i.lastChildKey !== null) {
|
|
51
|
-
let
|
|
52
|
-
if (
|
|
50
|
+
let r = e.getItem(i.lastChildKey);
|
|
51
|
+
if (r && r.type !== "header") return i;
|
|
53
52
|
}
|
|
54
53
|
return null;
|
|
55
54
|
}
|
|
56
55
|
}
|
|
57
|
-
|
|
58
|
-
class
|
|
56
|
+
X.type = "section";
|
|
57
|
+
class Y {
|
|
59
58
|
get size() {
|
|
60
59
|
return this.itemCount;
|
|
61
60
|
}
|
|
@@ -138,34 +137,34 @@ class G {
|
|
|
138
137
|
this.firstKey = e, this.lastKey = t, this.frozen = !l;
|
|
139
138
|
}
|
|
140
139
|
filter(e) {
|
|
141
|
-
let t = new this.constructor(), [l, i] =
|
|
140
|
+
let t = new this.constructor(), [l, i] = _(this, t, this.firstKey, e);
|
|
142
141
|
return t == null || t.commit(l, i), t;
|
|
143
142
|
}
|
|
144
143
|
constructor() {
|
|
145
144
|
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
|
-
function
|
|
147
|
+
function _(n, e, t, l) {
|
|
149
148
|
if (t == null) return [
|
|
150
149
|
null,
|
|
151
150
|
null
|
|
152
151
|
];
|
|
153
|
-
let i = null,
|
|
154
|
-
for (;
|
|
155
|
-
let u =
|
|
156
|
-
u != null && (u.nextKey = null,
|
|
152
|
+
let i = null, r = null, s = n.getItem(t);
|
|
153
|
+
for (; s != null; ) {
|
|
154
|
+
let u = s.filter(n, e, l);
|
|
155
|
+
u != null && (u.nextKey = null, r && (u.prevKey = r.key, r.nextKey = u.key), i == null && (i = u), e.addNode(u), r = u), s = s.nextKey ? n.getItem(s.nextKey) : null;
|
|
157
156
|
}
|
|
158
|
-
if (
|
|
159
|
-
let u =
|
|
160
|
-
e.removeNode(
|
|
157
|
+
if (r && r.type === "separator") {
|
|
158
|
+
let u = r.prevKey;
|
|
159
|
+
e.removeNode(r.key), u ? (r = e.getItem(u), r.nextKey = null) : r = null;
|
|
161
160
|
}
|
|
162
|
-
var
|
|
161
|
+
var o, d;
|
|
163
162
|
return [
|
|
164
|
-
(
|
|
165
|
-
(
|
|
163
|
+
(o = i == null ? void 0 : i.key) !== null && o !== void 0 ? o : null,
|
|
164
|
+
(d = r == null ? void 0 : r.key) !== null && d !== void 0 ? d : null
|
|
166
165
|
];
|
|
167
166
|
}
|
|
168
|
-
class
|
|
167
|
+
class A {
|
|
169
168
|
*[Symbol.iterator]() {
|
|
170
169
|
let e = this.firstChild;
|
|
171
170
|
for (; e; )
|
|
@@ -222,7 +221,7 @@ class N {
|
|
|
222
221
|
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();
|
|
223
222
|
}
|
|
224
223
|
removeChild(e) {
|
|
225
|
-
e.parentNode
|
|
224
|
+
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());
|
|
226
225
|
}
|
|
227
226
|
addEventListener() {
|
|
228
227
|
}
|
|
@@ -252,7 +251,7 @@ class N {
|
|
|
252
251
|
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
|
|
253
252
|
}
|
|
254
253
|
}
|
|
255
|
-
class y extends
|
|
254
|
+
class y extends A {
|
|
256
255
|
get index() {
|
|
257
256
|
return this._index;
|
|
258
257
|
}
|
|
@@ -263,44 +262,41 @@ class y extends N {
|
|
|
263
262
|
var e;
|
|
264
263
|
return this.parentNode instanceof y ? this.parentNode.level + (((e = this.node) === null || e === void 0 ? void 0 : e.type) === "item" ? 1 : 0) : 0;
|
|
265
264
|
}
|
|
266
|
-
get node() {
|
|
267
|
-
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.");
|
|
268
|
-
return this._node;
|
|
269
|
-
}
|
|
270
|
-
set node(e) {
|
|
271
|
-
this._node = e;
|
|
272
|
-
}
|
|
273
265
|
/**
|
|
274
266
|
* Lazily gets a mutable instance of a Node. If the node has already
|
|
275
267
|
* been cloned during this update cycle, it just returns the existing one.
|
|
276
268
|
*/
|
|
277
269
|
getMutableNode() {
|
|
278
|
-
return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
|
|
270
|
+
return this.node == null ? null : (this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node);
|
|
279
271
|
}
|
|
280
272
|
updateNode() {
|
|
281
|
-
var e, t, l;
|
|
282
|
-
let
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
if (
|
|
295
|
-
|
|
296
|
-
|
|
273
|
+
var e, t, l, i, r, s, o, d;
|
|
274
|
+
let u = this.nextVisibleSibling, a = this.getMutableNode();
|
|
275
|
+
if (a != null) {
|
|
276
|
+
a.index = this.index, a.level = this.level;
|
|
277
|
+
var f;
|
|
278
|
+
a.parentKey = this.parentNode instanceof y && (f = (e = this.parentNode.node) === null || e === void 0 ? void 0 : e.key) !== null && f !== void 0 ? f : null;
|
|
279
|
+
var c;
|
|
280
|
+
a.prevKey = (c = (l = this.previousVisibleSibling) === null || l === void 0 || (t = l.node) === null || t === void 0 ? void 0 : t.key) !== null && c !== void 0 ? c : null;
|
|
281
|
+
var C;
|
|
282
|
+
a.nextKey = (C = u == null || (i = u.node) === null || i === void 0 ? void 0 : i.key) !== null && C !== void 0 ? C : null, a.hasChildNodes = !!this.firstChild;
|
|
283
|
+
var S;
|
|
284
|
+
a.firstChildKey = (S = (s = this.firstVisibleChild) === null || s === void 0 || (r = s.node) === null || r === void 0 ? void 0 : r.key) !== null && S !== void 0 ? S : null;
|
|
285
|
+
var $;
|
|
286
|
+
if (a.lastChildKey = ($ = (d = this.lastVisibleChild) === null || d === void 0 || (o = d.node) === null || o === void 0 ? void 0 : o.key) !== null && $ !== void 0 ? $ : null, (a.colSpan != null || a.colIndex != null) && u) {
|
|
287
|
+
var K, k;
|
|
288
|
+
let I = ((K = a.colIndex) !== null && K !== void 0 ? K : a.index) + ((k = a.colSpan) !== null && k !== void 0 ? k : 1);
|
|
289
|
+
if (u.node != null && I !== u.node.colIndex) {
|
|
290
|
+
let B = u.getMutableNode();
|
|
291
|
+
B.colIndex = I;
|
|
292
|
+
}
|
|
297
293
|
}
|
|
298
294
|
}
|
|
299
295
|
}
|
|
300
|
-
setProps(e, t, l, i,
|
|
301
|
-
let
|
|
302
|
-
if (this.
|
|
303
|
-
|
|
296
|
+
setProps(e, t, l, i, r) {
|
|
297
|
+
let s, { value: o, textValue: d, id: u, ...a } = e;
|
|
298
|
+
if (this.node == null ? (s = new l(u ?? `react-aria-${++this.ownerDocument.nodeId}`), this.node = s) : s = this.getMutableNode(), a.ref = t, s.props = a, s.rendered = i, s.render = r, s.value = o, s.textValue = d || (typeof a.children == "string" ? a.children : "") || e["aria-label"] || "", u != null && u !== s.key) throw new Error("Cannot change the id of an item");
|
|
299
|
+
a.colSpan != null && (s.colSpan = a.colSpan), this.isConnected && this.ownerDocument.queueUpdate();
|
|
304
300
|
}
|
|
305
301
|
get style() {
|
|
306
302
|
let e = this;
|
|
@@ -311,10 +307,10 @@ class y extends N {
|
|
|
311
307
|
set display(t) {
|
|
312
308
|
let l = t === "none";
|
|
313
309
|
if (e.isHidden !== l) {
|
|
314
|
-
var i,
|
|
315
|
-
(((i = e.parentNode) === null || i === void 0 ? void 0 : i.firstVisibleChild) === e || ((
|
|
316
|
-
let
|
|
317
|
-
|
|
310
|
+
var i, r;
|
|
311
|
+
(((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);
|
|
312
|
+
let s = e.previousVisibleSibling, o = e.nextVisibleSibling;
|
|
313
|
+
s && e.ownerDocument.markDirty(s), o && e.ownerDocument.markDirty(o), e.isHidden = l, e.ownerDocument.markDirty(e);
|
|
318
314
|
}
|
|
319
315
|
}
|
|
320
316
|
};
|
|
@@ -328,12 +324,12 @@ class y extends N {
|
|
|
328
324
|
removeAttribute() {
|
|
329
325
|
}
|
|
330
326
|
constructor(e, t) {
|
|
331
|
-
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.
|
|
327
|
+
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
|
|
332
328
|
}
|
|
333
329
|
}
|
|
334
|
-
class
|
|
330
|
+
class Z extends A {
|
|
335
331
|
get isConnected() {
|
|
336
|
-
return
|
|
332
|
+
return !0;
|
|
337
333
|
}
|
|
338
334
|
createElement(e) {
|
|
339
335
|
return new y(e, this);
|
|
@@ -345,25 +341,25 @@ class J extends N {
|
|
|
345
341
|
this.dirtyNodes.add(e);
|
|
346
342
|
}
|
|
347
343
|
addNode(e) {
|
|
348
|
-
if (e.isHidden) return;
|
|
344
|
+
if (e.isHidden || e.node == null) return;
|
|
349
345
|
let t = this.getMutableCollection();
|
|
350
346
|
if (!t.getItem(e.node.key)) for (let l of e) this.addNode(l);
|
|
351
347
|
t.addNode(e.node);
|
|
352
348
|
}
|
|
353
349
|
removeNode(e) {
|
|
354
|
-
for (let
|
|
355
|
-
this.getMutableCollection().removeNode(e.node.key);
|
|
350
|
+
for (let t of e) this.removeNode(t);
|
|
351
|
+
e.node && this.getMutableCollection().removeNode(e.node.key);
|
|
356
352
|
}
|
|
357
353
|
/** Finalizes the collection update, updating all nodes and freezing the collection. */
|
|
358
354
|
getCollection() {
|
|
359
355
|
return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
360
356
|
}
|
|
361
357
|
updateCollection() {
|
|
362
|
-
for (let
|
|
363
|
-
for (let
|
|
364
|
-
if (this.
|
|
365
|
-
var e, t, l, i;
|
|
366
|
-
this.nextCollection.commit((
|
|
358
|
+
for (let o of this.dirtyNodes) o instanceof y && (!o.isConnected || o.isHidden) ? this.removeNode(o) : o.updateChildIndices();
|
|
359
|
+
for (let o of this.dirtyNodes) o instanceof y ? (o.isConnected && !o.isHidden && (o.updateNode(), this.addNode(o)), o.node && this.dirtyNodes.delete(o), o.isMutated = !1) : this.dirtyNodes.delete(o);
|
|
360
|
+
if (this.nextCollection) {
|
|
361
|
+
var e, t, l, i, r, s;
|
|
362
|
+
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, (s = (i = this.lastVisibleChild) === null || i === void 0 || (l = i.node) === null || l === void 0 ? void 0 : l.key) !== null && s !== void 0 ? s : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
|
|
367
363
|
}
|
|
368
364
|
}
|
|
369
365
|
queueUpdate() {
|
|
@@ -380,28 +376,28 @@ class J extends N {
|
|
|
380
376
|
this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
|
|
381
377
|
}
|
|
382
378
|
constructor(e) {
|
|
383
|
-
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.
|
|
379
|
+
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.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
|
|
384
380
|
}
|
|
385
381
|
}
|
|
386
|
-
function
|
|
387
|
-
let { children: e, items: t, idScope: l, addIdAndValue: i, dependencies:
|
|
382
|
+
function H(n) {
|
|
383
|
+
let { children: e, items: t, idScope: l, addIdAndValue: i, dependencies: r = [] } = n, s = b(() => /* @__PURE__ */ new WeakMap(), r);
|
|
388
384
|
return b(() => {
|
|
389
385
|
if (t && typeof e == "function") {
|
|
390
386
|
let u = [];
|
|
391
|
-
for (let
|
|
392
|
-
let f =
|
|
387
|
+
for (let a of t) {
|
|
388
|
+
let f = s.get(a);
|
|
393
389
|
if (!f) {
|
|
394
|
-
f = e(
|
|
395
|
-
var
|
|
396
|
-
let c = (
|
|
390
|
+
f = e(a);
|
|
391
|
+
var o, d;
|
|
392
|
+
let c = (d = (o = f.props.id) !== null && o !== void 0 ? o : a.key) !== null && d !== void 0 ? d : a.id;
|
|
397
393
|
if (c == null) throw new Error("Could not determine key for item");
|
|
398
|
-
l && (c = l + ":" + c), f =
|
|
394
|
+
l && (c = l + ":" + c), f = E(f, i ? {
|
|
399
395
|
key: c,
|
|
400
396
|
id: c,
|
|
401
|
-
value:
|
|
397
|
+
value: a
|
|
402
398
|
} : {
|
|
403
399
|
key: c
|
|
404
|
-
}),
|
|
400
|
+
}), s.set(a, f);
|
|
405
401
|
}
|
|
406
402
|
u.push(f);
|
|
407
403
|
}
|
|
@@ -410,216 +406,212 @@ function E(s) {
|
|
|
410
406
|
}, [
|
|
411
407
|
e,
|
|
412
408
|
t,
|
|
413
|
-
|
|
409
|
+
s,
|
|
414
410
|
l,
|
|
415
411
|
i
|
|
416
412
|
]);
|
|
417
413
|
}
|
|
418
|
-
const
|
|
419
|
-
function
|
|
414
|
+
const z = /* @__PURE__ */ v(!1), x = /* @__PURE__ */ v(null);
|
|
415
|
+
function pe(n) {
|
|
420
416
|
if (p(x))
|
|
421
|
-
return
|
|
422
|
-
let { collection: t, document: l } =
|
|
423
|
-
return /* @__PURE__ */
|
|
417
|
+
return n.content;
|
|
418
|
+
let { collection: t, document: l } = ne(n.createCollection);
|
|
419
|
+
return /* @__PURE__ */ h.createElement(h.Fragment, null, /* @__PURE__ */ h.createElement(U, null, /* @__PURE__ */ h.createElement(x.Provider, {
|
|
424
420
|
value: l
|
|
425
|
-
},
|
|
426
|
-
render:
|
|
421
|
+
}, n.content)), /* @__PURE__ */ h.createElement(ee, {
|
|
422
|
+
render: n.children,
|
|
427
423
|
collection: t
|
|
428
424
|
}));
|
|
429
425
|
}
|
|
430
|
-
function
|
|
431
|
-
return e(
|
|
426
|
+
function ee({ collection: n, render: e }) {
|
|
427
|
+
return e(n);
|
|
432
428
|
}
|
|
433
|
-
function
|
|
434
|
-
let l =
|
|
429
|
+
function te(n, e, t) {
|
|
430
|
+
let l = V(), i = T(l);
|
|
435
431
|
i.current = l;
|
|
436
|
-
let
|
|
432
|
+
let r = m(() => i.current ? t() : e(), [
|
|
437
433
|
e,
|
|
438
434
|
t
|
|
439
435
|
]);
|
|
440
|
-
return
|
|
436
|
+
return G.useSyncExternalStore(n, r);
|
|
441
437
|
}
|
|
442
|
-
const
|
|
443
|
-
function
|
|
444
|
-
let [e] =
|
|
438
|
+
const ie = typeof h.useSyncExternalStore == "function" ? h.useSyncExternalStore : te;
|
|
439
|
+
function ne(n) {
|
|
440
|
+
let [e] = W(() => new Z((n == null ? void 0 : n()) || new Y())), t = m((s) => e.subscribe(s), [
|
|
445
441
|
e
|
|
446
442
|
]), l = m(() => {
|
|
447
|
-
let
|
|
448
|
-
return e.isSSR && e.resetAfterSSR(),
|
|
443
|
+
let s = e.getCollection();
|
|
444
|
+
return e.isSSR && e.resetAfterSSR(), s;
|
|
449
445
|
}, [
|
|
450
446
|
e
|
|
451
447
|
]), i = m(() => (e.isSSR = !0, e.getCollection()), [
|
|
452
448
|
e
|
|
453
|
-
])
|
|
454
|
-
return
|
|
455
|
-
|
|
456
|
-
}), [
|
|
457
|
-
e
|
|
458
|
-
]), {
|
|
459
|
-
collection: n,
|
|
449
|
+
]);
|
|
450
|
+
return {
|
|
451
|
+
collection: ie(t, l, i),
|
|
460
452
|
document: e
|
|
461
453
|
};
|
|
462
454
|
}
|
|
463
|
-
const
|
|
464
|
-
function
|
|
455
|
+
const w = /* @__PURE__ */ v(null);
|
|
456
|
+
function le(n) {
|
|
465
457
|
var e;
|
|
466
|
-
return e = class extends
|
|
467
|
-
}, e.type =
|
|
458
|
+
return e = class extends g {
|
|
459
|
+
}, e.type = n, e;
|
|
468
460
|
}
|
|
469
|
-
function
|
|
470
|
-
typeof
|
|
471
|
-
let
|
|
472
|
-
|
|
461
|
+
function q(n, e, t, l, i, r) {
|
|
462
|
+
typeof n == "string" && (n = le(n));
|
|
463
|
+
let s = m((d) => {
|
|
464
|
+
d == null || d.setProps(e, t, n, l, r);
|
|
473
465
|
}, [
|
|
474
466
|
e,
|
|
475
467
|
t,
|
|
476
468
|
l,
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
]),
|
|
480
|
-
if (
|
|
481
|
-
let
|
|
482
|
-
return
|
|
483
|
-
value:
|
|
469
|
+
r,
|
|
470
|
+
n
|
|
471
|
+
]), o = p(w);
|
|
472
|
+
if (o) {
|
|
473
|
+
let d = o.ownerDocument.nodesByProps.get(e);
|
|
474
|
+
return d || (d = o.ownerDocument.createElement(n.type), d.setProps(e, t, n, l, r), o.appendChild(d), o.ownerDocument.updateCollection(), o.ownerDocument.nodesByProps.set(e, d)), i ? /* @__PURE__ */ h.createElement(w.Provider, {
|
|
475
|
+
value: d
|
|
484
476
|
}, i) : null;
|
|
485
477
|
}
|
|
486
|
-
return /* @__PURE__ */
|
|
487
|
-
ref:
|
|
478
|
+
return /* @__PURE__ */ h.createElement(n.type, {
|
|
479
|
+
ref: s
|
|
488
480
|
}, i);
|
|
489
481
|
}
|
|
490
|
-
function
|
|
491
|
-
let t = ({ node: i }) => e(i.props, i.props.ref, i), l =
|
|
492
|
-
let
|
|
493
|
-
if (!p(
|
|
482
|
+
function ye(n, e) {
|
|
483
|
+
let t = ({ node: i }) => e(i.props, i.props.ref, i), l = R((i, r) => {
|
|
484
|
+
let s = p(D);
|
|
485
|
+
if (!p(z)) {
|
|
494
486
|
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
495
|
-
return e(i,
|
|
487
|
+
return e(i, r);
|
|
496
488
|
}
|
|
497
|
-
return
|
|
489
|
+
return q(n, i, r, "children" in i ? i.children : null, null, (d) => (
|
|
498
490
|
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
499
|
-
/* @__PURE__ */
|
|
500
|
-
value:
|
|
501
|
-
}, /* @__PURE__ */
|
|
502
|
-
node:
|
|
491
|
+
/* @__PURE__ */ h.createElement(D.Provider, {
|
|
492
|
+
value: s
|
|
493
|
+
}, /* @__PURE__ */ h.createElement(t, {
|
|
494
|
+
node: d
|
|
503
495
|
}))
|
|
504
496
|
));
|
|
505
497
|
});
|
|
506
498
|
return l.displayName = e.name, l;
|
|
507
499
|
}
|
|
508
|
-
function
|
|
509
|
-
let l = ({ node:
|
|
510
|
-
let
|
|
511
|
-
var
|
|
512
|
-
return (
|
|
500
|
+
function ve(n, e, t = F) {
|
|
501
|
+
let l = ({ node: r }) => e(r.props, r.props.ref, r), i = R((r, s) => {
|
|
502
|
+
let o = t(r);
|
|
503
|
+
var d;
|
|
504
|
+
return (d = q(n, r, s, null, o, (u) => /* @__PURE__ */ h.createElement(l, {
|
|
513
505
|
node: u
|
|
514
|
-
}))) !== null &&
|
|
506
|
+
}))) !== null && d !== void 0 ? d : /* @__PURE__ */ h.createElement(h.Fragment, null);
|
|
515
507
|
});
|
|
516
508
|
return i.displayName = e.name, i;
|
|
517
509
|
}
|
|
518
|
-
function
|
|
519
|
-
return
|
|
520
|
-
...
|
|
510
|
+
function F(n) {
|
|
511
|
+
return H({
|
|
512
|
+
...n,
|
|
521
513
|
addIdAndValue: !0
|
|
522
514
|
});
|
|
523
515
|
}
|
|
524
|
-
const
|
|
525
|
-
function
|
|
526
|
-
let e = p(
|
|
527
|
-
...
|
|
516
|
+
const N = /* @__PURE__ */ v(null);
|
|
517
|
+
function me(n) {
|
|
518
|
+
let e = p(N), t = ((e == null ? void 0 : e.dependencies) || []).concat(n.dependencies), l = n.idScope || (e == null ? void 0 : e.idScope), i = F({
|
|
519
|
+
...n,
|
|
528
520
|
idScope: l,
|
|
529
521
|
dependencies: t
|
|
530
522
|
});
|
|
531
|
-
return p(x) && (i = /* @__PURE__ */
|
|
523
|
+
return p(x) && (i = /* @__PURE__ */ h.createElement(re, null, i)), e = b(() => ({
|
|
532
524
|
dependencies: t,
|
|
533
525
|
idScope: l
|
|
534
526
|
}), [
|
|
535
527
|
l,
|
|
536
528
|
...t
|
|
537
|
-
]), /* @__PURE__ */
|
|
529
|
+
]), /* @__PURE__ */ h.createElement(N.Provider, {
|
|
538
530
|
value: e
|
|
539
531
|
}, i);
|
|
540
532
|
}
|
|
541
|
-
function
|
|
542
|
-
let e = p(x), t = b(() => /* @__PURE__ */
|
|
533
|
+
function re({ children: n }) {
|
|
534
|
+
let e = p(x), t = b(() => /* @__PURE__ */ h.createElement(x.Provider, {
|
|
543
535
|
value: null
|
|
544
|
-
}, /* @__PURE__ */
|
|
536
|
+
}, /* @__PURE__ */ h.createElement(z.Provider, {
|
|
545
537
|
value: !0
|
|
546
|
-
},
|
|
547
|
-
|
|
538
|
+
}, n)), [
|
|
539
|
+
n
|
|
548
540
|
]);
|
|
549
|
-
return
|
|
541
|
+
return V() ? /* @__PURE__ */ h.createElement(w.Provider, {
|
|
550
542
|
value: e
|
|
551
|
-
}, t) : /* @__PURE__ */
|
|
543
|
+
}, t) : /* @__PURE__ */ L(t, e);
|
|
552
544
|
}
|
|
553
|
-
const
|
|
554
|
-
CollectionRoot({ collection:
|
|
555
|
-
return
|
|
545
|
+
const be = /* @__PURE__ */ v(null), se = {
|
|
546
|
+
CollectionRoot({ collection: n, renderDropIndicator: e }) {
|
|
547
|
+
return M(n, null, e);
|
|
556
548
|
},
|
|
557
|
-
CollectionBranch({ collection:
|
|
558
|
-
return
|
|
549
|
+
CollectionBranch({ collection: n, parent: e, renderDropIndicator: t }) {
|
|
550
|
+
return M(n, e, t);
|
|
559
551
|
}
|
|
560
552
|
};
|
|
561
|
-
function
|
|
562
|
-
return
|
|
563
|
-
items: e ?
|
|
553
|
+
function M(n, e, t) {
|
|
554
|
+
return H({
|
|
555
|
+
items: e ? n.getChildren(e.key) : n,
|
|
564
556
|
dependencies: [
|
|
565
557
|
t
|
|
566
558
|
],
|
|
567
559
|
children(l) {
|
|
568
560
|
let i = l.render(l);
|
|
569
|
-
return !t || l.type !== "item" ? i : /* @__PURE__ */
|
|
561
|
+
return !t || l.type !== "item" ? i : /* @__PURE__ */ h.createElement(h.Fragment, null, t({
|
|
570
562
|
type: "item",
|
|
571
563
|
key: l.key,
|
|
572
564
|
dropPosition: "before"
|
|
573
|
-
}), i,
|
|
565
|
+
}), i, oe(n, l, t));
|
|
574
566
|
}
|
|
575
567
|
});
|
|
576
568
|
}
|
|
577
|
-
function
|
|
578
|
-
let l = e.key, i =
|
|
579
|
-
for (;
|
|
580
|
-
i =
|
|
581
|
-
let
|
|
582
|
-
for (;
|
|
583
|
-
let
|
|
584
|
-
if (
|
|
585
|
-
let
|
|
586
|
-
for (;
|
|
569
|
+
function oe(n, e, t) {
|
|
570
|
+
let l = e.key, i = n.getKeyAfter(l), r = i != null ? n.getItem(i) : null;
|
|
571
|
+
for (; r != null && r.type !== "item"; )
|
|
572
|
+
i = n.getKeyAfter(r.key), r = i != null ? n.getItem(i) : null;
|
|
573
|
+
let s = e.nextKey != null ? n.getItem(e.nextKey) : null;
|
|
574
|
+
for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? n.getItem(s.nextKey) : null;
|
|
575
|
+
let o = [];
|
|
576
|
+
if (s == null) {
|
|
577
|
+
let d = e;
|
|
578
|
+
for (; d && (!r || d.parentKey !== r.parentKey && r.level < d.level); ) {
|
|
587
579
|
let u = t({
|
|
588
580
|
type: "item",
|
|
589
|
-
key:
|
|
581
|
+
key: d.key,
|
|
590
582
|
dropPosition: "after"
|
|
591
583
|
});
|
|
592
|
-
/* @__PURE__ */
|
|
593
|
-
key: `${
|
|
594
|
-
})),
|
|
584
|
+
/* @__PURE__ */ j(u) && o.push(/* @__PURE__ */ E(u, {
|
|
585
|
+
key: `${d.key}-after`
|
|
586
|
+
})), d = d.parentKey != null ? n.getItem(d.parentKey) : null;
|
|
595
587
|
}
|
|
596
588
|
}
|
|
597
|
-
return
|
|
589
|
+
return o;
|
|
598
590
|
}
|
|
599
|
-
const
|
|
600
|
-
function
|
|
601
|
-
return b(() =>
|
|
602
|
-
|
|
591
|
+
const xe = /* @__PURE__ */ v(se);
|
|
592
|
+
function ge(n) {
|
|
593
|
+
return b(() => n != null ? /* @__PURE__ */ new Set([
|
|
594
|
+
n
|
|
603
595
|
]) : null, [
|
|
604
|
-
|
|
596
|
+
n
|
|
605
597
|
]);
|
|
606
598
|
}
|
|
607
599
|
export {
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
600
|
+
ye as $,
|
|
601
|
+
ve as a,
|
|
602
|
+
pe as b,
|
|
603
|
+
me as c,
|
|
604
|
+
Q as d,
|
|
605
|
+
X as e,
|
|
606
|
+
O as f,
|
|
607
|
+
xe as g,
|
|
608
|
+
be as h,
|
|
609
|
+
J as i,
|
|
610
|
+
g as j,
|
|
611
|
+
se as k,
|
|
612
|
+
ge as l,
|
|
613
|
+
oe as m,
|
|
614
|
+
H as n,
|
|
615
|
+
Y as o,
|
|
616
|
+
P as p
|
|
625
617
|
};
|