@midas-ds/components 10.3.0 → 10.4.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-BcsoC78F.cjs +1 -0
- package/{AccordionItem-ChHpW8EW.js → AccordionItem-BqsgiVWV.js} +38 -36
- package/Breadcrumbs-CfW5IuyE.cjs +1 -0
- package/{Breadcrumbs-CwDUNIqF.js → Breadcrumbs-D7eoibWk.js} +77 -65
- package/{Button-BoJl6JGM.cjs → Button-BXY5ZhqI.cjs} +1 -1
- package/{Button-Csih3v23.js → Button-BZUo7vsZ.js} +1 -1
- package/{Button-DjBChs7s.js → Button-CFYdzG0H.js} +24 -23
- package/Button-DExMoP5f.cjs +1 -0
- package/CHANGELOG.md +28 -0
- package/{Card-yrtGzt70.js → Card-BaWSgtSF.js} +3 -3
- package/{Card-0G0mj9q5.cjs → Card-Cc1TNPcQ.cjs} +1 -1
- package/{CharacterCounter-CHcTDHO-.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
- package/{CharacterCounter-BL_nZHya.js → CharacterCounter-cLhqPZlk.js} +4 -4
- package/Checkbox-Co3h0hur.cjs +1 -0
- package/{Checkbox-5HINZdGu.js → Checkbox-LuUwTZ3W.js} +69 -68
- package/CheckboxGroup-CUA8_xSx.js +160 -0
- package/CheckboxGroup-DmUOM0xl.cjs +1 -0
- package/{Collection-Brgjpkne.js → Collection--62xKPm9.js} +17 -16
- package/Collection-BtBX5IMY.cjs +1 -0
- package/{ColorSchemeSwitch-BpzQ7g0b.js → ColorSchemeSwitch-Cwono7Ap.js} +51 -35
- package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
- package/ComboBox-BBC7jhnm.cjs +1 -0
- package/{ComboBox-CVDyp2a-.js → ComboBox-HLIAbb2q.js} +309 -298
- package/{DateField-DeDhiYnW.cjs → DateField-B3VjOSde.cjs} +1 -1
- package/{DateField-DhU3q-rG.js → DateField-CnLEi7uX.js} +4 -4
- package/DateInputDivider-3BvwXXa9.cjs +1 -0
- package/{DateInputDivider-CF4xWsMT.js → DateInputDivider-Bi5N-C0c.js} +90 -86
- package/DateRangePicker-BPlZ12r8.cjs +6 -0
- package/{DateRangePicker-ziD1_k1W.js → DateRangePicker-CFOoGvut.js} +86 -83
- package/Dialog-CSnN6baf.cjs +1 -0
- package/{Dialog-D14MbJ7o.js → Dialog-CtVrVuMr.js} +101 -98
- package/Dialog-SqciohRY.js +221 -0
- package/Dialog-pSSy1zwf.cjs +1 -0
- package/DragAndDrop-BoEd260f.cjs +1 -0
- package/{DragAndDrop-o3ruz_SR.js → DragAndDrop-DkSTL28C.js} +2 -2
- package/{Dropdown-Df58j43I.js → Dropdown-CkBp70BH.js} +2 -2
- package/{Dropdown-CJ6My6EI.cjs → Dropdown-DAsVShlt.cjs} +1 -1
- package/FieldError-B3YFj-an.js +23 -0
- package/FieldError-BbR-29BM.js +28 -0
- package/FieldError-MVsU-Mgw.cjs +1 -0
- package/FieldError-bRTpchvr.cjs +1 -0
- package/{FileUpload-D6qoEAjn.js → FileUpload-B4rv-wke.js} +496 -475
- package/{FileUpload-CxCOtyB9.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
- package/{FocusScope-CxkURfoc.js → FocusScope-D_hwN_TJ.js} +25 -24
- package/FocusScope-vcXLOQiu.cjs +1 -0
- package/Group-CpkUzEAs.js +45 -0
- package/Group-DOpbdoAi.cjs +1 -0
- package/{Heading-mHhCbGjY.cjs → Heading-CKTR4sOz.cjs} +1 -1
- package/{Heading-BFtiin0g.js → Heading-NxtGri2i.js} +1 -1
- package/{InfoBanner-BLM-TJJ6.js → InfoBanner-CBUoad7A.js} +47 -39
- package/InfoBanner-CVry6Y8i.cjs +1 -0
- package/{Input-BTzwcf72.js → Input-LnjmFI1x.js} +13 -12
- package/Input-MJji5hhq.cjs +1 -0
- package/Label-CNmTN1YY.cjs +1 -0
- package/Label-TVxwGZ-O.js +78 -0
- package/Layout-Dw-oCqxd.cjs +16 -0
- package/Layout-amz9BESl.js +498 -0
- package/{Link-yNO2-sqx.js → Link-Bn8V3ZI0.js} +8 -7
- package/Link-CidjjqHb.cjs +1 -0
- package/{Link-B88l_oaE.cjs → Link-D92ftFi2.cjs} +1 -1
- package/{Link-DX5BbBnn.js → Link-DegonJfl.js} +1 -1
- package/{LinkButton-o6uS1XsR.js → LinkButton-CckYzfJ8.js} +1 -1
- package/{LinkButton-CBpGLETx.cjs → LinkButton-DKZ4z6zu.cjs} +1 -1
- package/ListBox-BCz5-23H.cjs +1 -0
- package/{ListBox-GnVK_Pdq.js → ListBox-C-isJIHL.js} +101 -99
- package/{ListBoxButton-D_J3jlP0.js → ListBoxButton-C_krklY0.js} +1 -1
- package/{ListBoxButton-DPBrtXyv.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
- package/{ListBoxSection-C0BGnpB4.js → ListBoxSection-BVR2xtOH.js} +9 -9
- package/ListBoxSection-CfQZoURJ.cjs +1 -0
- package/{ListKeyboardDelegate-DTg9h4v6.cjs → ListKeyboardDelegate-CPsZ7D83.cjs} +1 -1
- package/{ListKeyboardDelegate-DNI8GQtX.js → ListKeyboardDelegate-CY6t6y1t.js} +3 -3
- package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
- package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
- package/Logo-BpH0HC91.cjs +1 -0
- package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
- package/{OverlayArrow-CDLXPTew.js → OverlayArrow-CfhSYL46.js} +57 -56
- package/OverlayArrow-DpZ1FqOd.cjs +1 -0
- package/{Popover-BGGXeD54.js → Popover-C8VY1YKi.js} +2 -2
- package/{Popover-CqNWzPf-.cjs → Popover-CnAsw3wI.cjs} +1 -1
- package/{ProgressBar-DMSg-Prr.js → ProgressBar-BNCjpcv8.js} +2 -2
- package/{ProgressBar-Jbg28j2a.cjs → ProgressBar-CcbxcWdT.cjs} +1 -1
- package/Radio-B2zfEFdq.cjs +1 -0
- package/{Radio-Cz29wPXd.js → Radio-CZYibh9r.js} +50 -47
- package/{RangeCalendar-RAlAHlNL.js → RangeCalendar-B16b6tJD.js} +304 -293
- package/RangeCalendar-C1LFeOVk.cjs +11 -0
- package/SSRProvider-40TXmsUG.js +50 -0
- package/SSRProvider-Bc-sMhsT.cjs +1 -0
- package/SearchField-CML0kjtn.cjs +6 -0
- package/{SearchField-IlvZ3Kh6.js → SearchField-giwECmXS.js} +175 -166
- package/Select-DKey6CeS.cjs +1 -0
- package/Select-mwaAv20X.js +665 -0
- package/SelectionManager-D0jYUYcy.cjs +1 -0
- package/{SelectionManager-B4ORduja.js → SelectionManager-zsWy3vsd.js} +91 -90
- package/{Separator-DECIYLtZ.cjs → Separator-CxF-3jhR.cjs} +1 -1
- package/{Separator-Cu9fYKUM.js → Separator-Dn5LYN5I.js} +4 -4
- package/Spinner-CbJ6YAz-.js +53 -0
- package/Spinner-yHcy8YHC.cjs +6 -0
- package/TabList-7VtCiXxX.cjs +1 -0
- package/TabList-CthsM5h6.js +435 -0
- package/{Table-F4oYBtUM.js → Table-BcQPvJT3.js} +46 -44
- package/Table-DkvNp6xm.cjs +16 -0
- package/{Tag-Du7GvSv2.js → Tag-Bs8T2Ei7.js} +131 -129
- package/Tag-CFWZ2LQW.cjs +1 -0
- package/Text-92cPh38G.js +15 -0
- package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
- package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
- package/{Text-jWWg0B20.js → Text-DlKqpvSa.js} +1 -1
- package/TextArea-DBNAVWqL.js +119 -0
- package/TextArea-XJDfeXRs.cjs +1 -0
- package/TextField-BdK9KEQ5.cjs +1 -0
- package/{TextField-C-hTPukq.js → TextField-ByDJkig9.js} +23 -22
- package/{Toast-Btg21Xge.js → Toast-DPPvPhrF.js} +75 -68
- package/Toast-l1bKo2oA.cjs +1 -0
- package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
- package/{ToggleButtonGroup-B5yz1tm2.js → ToggleButtonGroup-HOWNWtQZ.js} +46 -45
- package/{Tooltip-CMLs7WMw.js → Tooltip-5mLWn_wO.js} +29 -27
- package/Tooltip-pN5W3IK6.cjs +1 -0
- package/{VisuallyHidden-ZCYf65q4.js → VisuallyHidden-CYfmTSCD.js} +2 -2
- package/VisuallyHidden-Doyzl0F7.cjs +1 -0
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -0
- package/breadcrumbs/Breadcrumbs.d.ts +11 -7
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.d.ts +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/CalendarGrid.d.ts +1 -0
- 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/Checkbox.d.ts +3 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/checkbox/intl/translations.json.d.ts +2 -30
- package/checkbox/types.d.ts +3 -1
- package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/color-scheme-switch/intl/translations.json.d.ts +15 -0
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +11 -0
- package/{context-C81gPYvC.js → context-CGNJ3grH.js} +1 -1
- package/context-Df3XbgBG.cjs +1 -0
- 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/FileUpload.d.ts +1 -0
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/file-upload/intl/translations.json.d.ts +17 -0
- package/{getScrollParent-BhFcYrwL.js → getScrollParent-CT_L9LUr.js} +1 -1
- package/{getScrollParent-DDJu9WHU.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/index.cjs +1 -1
- package/index.js +100 -97
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/info-banner/intl/translations.json.d.ts +11 -0
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/label/intl/translations.json.d.ts +11 -0
- package/layout/Layout.d.ts +1 -0
- package/layout/context/LayoutContext.d.ts +1 -0
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/layout/intl/translations.json.d.ts +23 -0
- 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/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/logo/intl/translations.json.d.ts +11 -0
- package/mergeProps-B5KXZAI3.cjs +1 -0
- package/mergeProps-C1U1OIeJ.js +115 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/modal/intl/translations.json.d.ts +11 -0
- package/package.json +1 -1
- 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/Radio.d.ts +1 -4
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/{scrollIntoView-Hwb_aaNf.js → scrollIntoView-BLnsPvFA.js} +1 -1
- package/scrollIntoView-joIyo-Jt.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/search-field/intl/translations.json.d.ts +11 -0
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/select/intl/translations.json.d.ts +17 -0
- package/spinner/Spinner.d.ts +1 -0
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/spinner/intl/translations.json.d.ts +11 -0
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tab.d.ts +4 -0
- package/tabs/TabList.d.ts +3 -0
- package/tabs/TabPanel.d.ts +4 -0
- package/tabs/Tabs.d.ts +11 -5
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +3 -0
- package/tabs/index.js +5 -2
- 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/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/textfield/intl/translations.json.d.ts +0 -72
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +5 -0
- package/theme/index.js +2 -2
- package/theme/tokens.d.ts +5 -0
- package/toast/Toast.d.ts +5 -2
- 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/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
- package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-B8dB9sot.js → useButton-1-Jf-oHj.js} +3 -3
- package/useButton-D60q0SQw.cjs +1 -0
- package/{useDateFormatter-CnxoJ4jF.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
- package/{useDateFormatter-EHm4auIg.js → useDateFormatter-BVCkxVdw.js} +2 -2
- package/{useEvent-IsD2Awnh.js → useEvent-CigwyJOw.js} +3 -3
- package/useEvent-DPxMu-X9.cjs +1 -0
- package/{useField-DvpGZkw_.js → useField-BEBXv5Mh.js} +4 -4
- package/useField-D1UkzeaI.cjs +1 -0
- package/{useFilter-CUq74PQ2.js → useFilter-CousKe2K.js} +1 -1
- package/{useFilter-BTgDWHVx.cjs → useFilter-e2oIVF_O.cjs} +1 -1
- package/useFocusRing-B-A1OLhU.cjs +1 -0
- package/useFocusRing-DOfBqnUN.js +33 -0
- package/useFocusWithin-CG8mAt2D.cjs +1 -0
- package/useFocusWithin-T1ifEM_s.js +54 -0
- package/{useFocusable-C8uh8K4g.js → useFocusable-ChPA2Jc7.js} +20 -18
- package/useFocusable-D7I1ujkW.cjs +1 -0
- package/useFormValidation-BlFGdPZB.cjs +1 -0
- package/{useFormValidation-BIGzfO9h.js → useFormValidation-BzzruZKm.js} +2 -2
- package/{useHasTabbableChild-C-1mZUQe.js → useHasTabbableChild-BE81d_ab.js} +2 -2
- package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
- package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
- package/{useHighlightSelectionDescription-CnBDT86u.js → useHighlightSelectionDescription-D73hrkmn.js} +5 -5
- package/useHover-BE_XKZKe.cjs +1 -0
- package/useHover-DQvJ3Y-W.js +262 -0
- package/useLabels-CSU0kbtJ.cjs +1 -0
- package/{useLabels-BDwkBYbE.js → useLabels-LrKQiY11.js} +1 -1
- package/{useListState-CrZFZffI.js → useListState-CebsX_1d.js} +1 -1
- package/{useListState-Bx8u4IFG.cjs → useListState-DymkJGDF.cjs} +1 -1
- package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/useLocalizedStringFormatter-CL9MUZ8A.js +22 -0
- package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
- package/usePress-BooY_CAy.cjs +7 -0
- package/{usePress-CNjmDzap.js → usePress-DuR4pVsE.js} +129 -128
- package/{useSingleSelectListState-0AGHxvy3.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
- package/{useSingleSelectListState-Cl3KV5E1.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
- package/{useTextField-Cw-33OP_.js → useTextField-C-sUypsx.js} +8 -8
- package/useTextField-DnRrCg5o.cjs +1 -0
- package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
- package/utils-CoCR_Fce.js +234 -0
- package/utils-DHNZrQmj.cjs +1 -0
- package/utils-DJhAJHk_.js +152 -0
- package/utils-Dvdohqm9.cjs +1 -0
- package/AccordionItem-BGWiWjxA.cjs +0 -1
- package/Breadcrumbs-DtjJ1UmU.cjs +0 -1
- package/Button-htW9qIsS.cjs +0 -1
- package/Checkbox-DqcPg5hz.cjs +0 -1
- package/CheckboxGroup-BBrSMuDY.cjs +0 -1
- package/CheckboxGroup-CLgixk2p.js +0 -243
- package/Collection-BIDsXNhi.cjs +0 -1
- package/ColorSchemeSwitch-C-qWuqkU.cjs +0 -16
- package/ComboBox-CWJUg9Xx.cjs +0 -1
- package/DateInputDivider-ADvOavHw.cjs +0 -1
- package/DateRangePicker-BsAHhy99.cjs +0 -6
- package/Dialog-B8GTYbvu.cjs +0 -1
- package/Dialog-BOrYdX50.cjs +0 -1
- package/Dialog-CXNu48AC.js +0 -208
- package/DragAndDrop-DNth776R.cjs +0 -1
- package/FieldError-CAcjosk_.js +0 -46
- package/FieldError-CKBb2-mp.cjs +0 -1
- package/FocusScope-5c9SVBcR.cjs +0 -1
- package/Group-B6EslsHZ.js +0 -44
- package/Group-CgiqQHH1.cjs +0 -1
- package/InfoBanner-C2kTIsrB.cjs +0 -1
- package/Input-DKSAYvsw.cjs +0 -1
- package/Label-7Ybb99CE.cjs +0 -1
- package/Label-BwJrdqEE.js +0 -70
- package/Layout-1g6bMH62.cjs +0 -16
- package/Layout-Ey8flY7E.js +0 -468
- package/Link-BQhauBuw.cjs +0 -1
- package/ListBox-DP9M4H6R.cjs +0 -1
- package/ListBoxSection-BGaigBnG.cjs +0 -1
- package/Logo-DT2_2O43.cjs +0 -1
- package/OverlayArrow-D75k-EMl.cjs +0 -1
- package/Radio-BwqrdhQE.cjs +0 -1
- package/RangeCalendar-BehUaydF.cjs +0 -11
- package/SearchField-CxMwDeUM.cjs +0 -6
- package/Select-2q1iSzAX.cjs +0 -1
- package/Select-BVQZtoi9.js +0 -646
- package/SelectionManager-CwYux2h3.cjs +0 -1
- package/Spinner-D31SXm-U.js +0 -41
- package/Spinner-P35rvvsl.cjs +0 -6
- package/Table-B40CGLT-.cjs +0 -16
- package/Tabs-B4oZJkZG.js +0 -404
- package/Tabs-DA2qXhzb.cjs +0 -1
- package/Tag-DPAGmcMK.cjs +0 -1
- package/Text-BoXuUVVH.js +0 -15
- package/TextArea-C7JZ_pQd.cjs +0 -1
- package/TextArea-XeBCSyzl.js +0 -191
- package/TextField-BgNdhZi_.cjs +0 -1
- package/Toast-AbDA1BOs.cjs +0 -1
- package/ToggleButtonGroup-BFDoj0P6.cjs +0 -1
- package/Tooltip-DeBuBKhS.cjs +0 -1
- package/VisuallyHidden-CLWHbz2n.cjs +0 -1
- package/assets/Tabs.css +0 -1
- package/context-DjwhtgxQ.cjs +0 -1
- package/scrollIntoView-C8doLzDd.cjs +0 -1
- package/useButton-cpNi-fY4.cjs +0 -1
- package/useEvent-DxBxMX2V.cjs +0 -1
- package/useField-CXKYU74k.cjs +0 -1
- package/useFocusRing-CbImDrwF.cjs +0 -1
- package/useFocusRing-XnR3cZjO.js +0 -82
- package/useFocusable-NUVSFcRC.cjs +0 -1
- package/useFormValidation-ClximP89.cjs +0 -1
- package/useHasTabbableChild-DCBTulUQ.cjs +0 -1
- package/useHighlightSelectionDescription-CzYucm61.cjs +0 -1
- package/useHover-DjIHtjGN.js +0 -490
- package/useHover-_mv5J4_q.cjs +0 -1
- package/useLabels-BLOfc6Y-.cjs +0 -1
- package/useLocalizedStringFormatter-BKoxGZf1.js +0 -96
- package/useLocalizedStringFormatter-BsxLt89S.cjs +0 -1
- package/useLocalizedStringFormatter-D3JQyjb4.js +0 -21
- package/useLocalizedStringFormatter-ioacM-Yt.cjs +0 -1
- package/usePress-0AjDbW9R.cjs +0 -7
- package/useTextField--czJtyNd.cjs +0 -1
- package/utils-BNtZbAib.cjs +0 -1
- package/utils-DIMfEPAt.js +0 -308
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
import { jsx as e, jsxs as l, Fragment as O } from "react/jsx-runtime";
|
|
2
|
+
import { G as z } from "./GridItem-DlbSdRmB.js";
|
|
3
|
+
import * as b from "react";
|
|
4
|
+
import { c as u } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
import { B as M } from "./Button-BZUo7vsZ.js";
|
|
6
|
+
import { $ as g } from "./Link-Bn8V3ZI0.js";
|
|
7
|
+
import { a as $, T as G } from "./Tooltip-5mLWn_wO.js";
|
|
8
|
+
import { a as L, B as E } from "./BadgeContainer-DM8TdyMT.js";
|
|
9
|
+
import { c as T } from "./createLucideIcon-DeWljiyi.js";
|
|
10
|
+
import { $ as w } from "./usePress-DuR4pVsE.js";
|
|
11
|
+
import { u as k } from "./useLocalizedStringFormatter-N0AyjzbM.js";
|
|
12
|
+
import { f as D } from "./tokens-fEwCQXDv.js";
|
|
13
|
+
import { L as y } from "./Logo-ME4ffCue.js";
|
|
14
|
+
import { X as W } from "./x-JK7i-TQC.js";
|
|
15
|
+
import './assets/Layout.css';/**
|
|
16
|
+
* @license lucide-react v0.453.0 - ISC
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the ISC license.
|
|
19
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/
|
|
21
|
+
const j = T("Menu", [
|
|
22
|
+
["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }],
|
|
23
|
+
["line", { x1: "4", x2: "20", y1: "6", y2: "6", key: "1owob3" }],
|
|
24
|
+
["line", { x1: "4", x2: "20", y1: "18", y2: "18", key: "yk5zj1" }]
|
|
25
|
+
]);
|
|
26
|
+
/**
|
|
27
|
+
* @license lucide-react v0.453.0 - ISC
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the ISC license.
|
|
30
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/
|
|
32
|
+
const q = T("PanelLeftClose", [
|
|
33
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
34
|
+
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
35
|
+
["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
|
|
36
|
+
]);
|
|
37
|
+
/**
|
|
38
|
+
* @license lucide-react v0.453.0 - ISC
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the ISC license.
|
|
41
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/
|
|
43
|
+
const A = T("PanelLeftOpen", [
|
|
44
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
45
|
+
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
46
|
+
["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
|
|
47
|
+
]), F = "_baseLayout_12xoh_4", R = "_mainContent_12xoh_13", X = "_header_12xoh_18", J = "_headerExternal_12xoh_29", K = "_headerContent_12xoh_44", Q = "_logo_12xoh_63", U = "_headerItems_12xoh_72", V = "_toggleButton_12xoh_78", Y = "_sidebar_12xoh_86", Z = "_main_12xoh_13", ee = "_app_12xoh_123", ae = "_sidebarOpened_12xoh_132", te = "_sidebarHeader_12xoh_136", ne = "_appName_12xoh_148", se = "_collapseButton_12xoh_155", oe = "_sidebarCollapsed_12xoh_164", ie = "_userName_12xoh_174", re = "_userTitle_12xoh_193", le = "_title_12xoh_205", de = "_sidebarNav_12xoh_216", ce = "_list_12xoh_222", me = "_listGroupTitle_12xoh_229", pe = "_listItem_12xoh_236", he = "_listItemCollapsed_12xoh_241", _e = "_listLink_12xoh_245", ue = "_listLinkCollapsed_12xoh_290", xe = "_active_12xoh_295", be = "_backdrop_12xoh_309", ve = "_backdropOpened_12xoh_319", fe = "_skipToContent_12xoh_337", Ne = "_navbar_12xoh_351", ke = "_navbarList_12xoh_363", Ce = "_navbarItem_12xoh_385", ye = "_headerContentExternal_12xoh_425", ge = "_logoExternalContainer_12xoh_433", Le = "_logoExternal_12xoh_433", Ee = "_logoExternalDesktop_12xoh_445", Me = "_navbarWrapper_12xoh_454", a = {
|
|
48
|
+
baseLayout: F,
|
|
49
|
+
mainContent: R,
|
|
50
|
+
header: X,
|
|
51
|
+
headerExternal: J,
|
|
52
|
+
headerContent: K,
|
|
53
|
+
logo: Q,
|
|
54
|
+
headerItems: U,
|
|
55
|
+
toggleButton: V,
|
|
56
|
+
sidebar: Y,
|
|
57
|
+
main: Z,
|
|
58
|
+
app: ee,
|
|
59
|
+
sidebarOpened: ae,
|
|
60
|
+
sidebarHeader: te,
|
|
61
|
+
appName: ne,
|
|
62
|
+
collapseButton: se,
|
|
63
|
+
sidebarCollapsed: oe,
|
|
64
|
+
userName: ie,
|
|
65
|
+
userTitle: re,
|
|
66
|
+
title: le,
|
|
67
|
+
sidebarNav: de,
|
|
68
|
+
list: ce,
|
|
69
|
+
listGroupTitle: me,
|
|
70
|
+
listItem: pe,
|
|
71
|
+
listItemCollapsed: he,
|
|
72
|
+
listLink: _e,
|
|
73
|
+
listLinkCollapsed: ue,
|
|
74
|
+
active: xe,
|
|
75
|
+
backdrop: be,
|
|
76
|
+
backdropOpened: ve,
|
|
77
|
+
skipToContent: fe,
|
|
78
|
+
navbar: Ne,
|
|
79
|
+
navbarList: ke,
|
|
80
|
+
navbarItem: Ce,
|
|
81
|
+
headerContentExternal: ye,
|
|
82
|
+
logoExternalContainer: ge,
|
|
83
|
+
logoExternal: Le,
|
|
84
|
+
logoExternalDesktop: Ee,
|
|
85
|
+
navbarWrapper: Me
|
|
86
|
+
}, P = b.createContext(
|
|
87
|
+
void 0
|
|
88
|
+
), Te = ({
|
|
89
|
+
items: s,
|
|
90
|
+
title: n,
|
|
91
|
+
user: o,
|
|
92
|
+
app: t,
|
|
93
|
+
children: i,
|
|
94
|
+
clientSideRouter: d,
|
|
95
|
+
clientSideHref: r,
|
|
96
|
+
headerChildren: p,
|
|
97
|
+
isCollapsed: h,
|
|
98
|
+
setIsCollapsed: _,
|
|
99
|
+
isOpened: v,
|
|
100
|
+
setIsOpened: m,
|
|
101
|
+
variant: x,
|
|
102
|
+
id: f
|
|
103
|
+
}) => /* @__PURE__ */ e(
|
|
104
|
+
P.Provider,
|
|
105
|
+
{
|
|
106
|
+
value: {
|
|
107
|
+
items: s,
|
|
108
|
+
title: n,
|
|
109
|
+
user: o,
|
|
110
|
+
app: t,
|
|
111
|
+
headerChildren: p,
|
|
112
|
+
isCollapsed: h,
|
|
113
|
+
setIsCollapsed: _,
|
|
114
|
+
isOpened: v,
|
|
115
|
+
setIsOpened: m,
|
|
116
|
+
clientSideRouter: d,
|
|
117
|
+
clientSideHref: r,
|
|
118
|
+
variant: x,
|
|
119
|
+
id: f
|
|
120
|
+
},
|
|
121
|
+
children: i
|
|
122
|
+
}
|
|
123
|
+
), N = () => {
|
|
124
|
+
const s = b.useContext(P);
|
|
125
|
+
if (!s)
|
|
126
|
+
throw new Error("useLayoutContext must be used within a LayoutProvider");
|
|
127
|
+
return s;
|
|
128
|
+
}, H = ({
|
|
129
|
+
title: s,
|
|
130
|
+
href: n,
|
|
131
|
+
icon: o,
|
|
132
|
+
active: t,
|
|
133
|
+
hasBadge: i
|
|
134
|
+
}) => {
|
|
135
|
+
const { isCollapsed: d, setIsOpened: r } = N(), [p, h] = b.useState(!1);
|
|
136
|
+
return b.useEffect(() => {
|
|
137
|
+
typeof window < "u" && h(t ?? window.location.pathname === n);
|
|
138
|
+
}, [t, n]), d ? /* @__PURE__ */ l($, { children: [
|
|
139
|
+
/* @__PURE__ */ e(
|
|
140
|
+
g,
|
|
141
|
+
{
|
|
142
|
+
href: n,
|
|
143
|
+
"aria-label": s,
|
|
144
|
+
className: u(
|
|
145
|
+
a.listLink,
|
|
146
|
+
a.listLinkCollapsed,
|
|
147
|
+
p && a.active
|
|
148
|
+
),
|
|
149
|
+
onPress: () => r == null ? void 0 : r(!1),
|
|
150
|
+
children: /* @__PURE__ */ l(L, { children: [
|
|
151
|
+
/* @__PURE__ */ e(
|
|
152
|
+
o,
|
|
153
|
+
{
|
|
154
|
+
size: 20,
|
|
155
|
+
"aria-label": s
|
|
156
|
+
}
|
|
157
|
+
),
|
|
158
|
+
i && /* @__PURE__ */ e(E, {})
|
|
159
|
+
] })
|
|
160
|
+
}
|
|
161
|
+
),
|
|
162
|
+
/* @__PURE__ */ e(G, { placement: "right", children: s })
|
|
163
|
+
] }) : /* @__PURE__ */ l(
|
|
164
|
+
g,
|
|
165
|
+
{
|
|
166
|
+
href: n,
|
|
167
|
+
"aria-label": s,
|
|
168
|
+
className: u(a.listLink, p && a.active),
|
|
169
|
+
onPress: () => r == null ? void 0 : r(!1),
|
|
170
|
+
children: [
|
|
171
|
+
/* @__PURE__ */ l(L, { children: [
|
|
172
|
+
/* @__PURE__ */ e(o, { size: 20 }),
|
|
173
|
+
i && /* @__PURE__ */ e(E, {})
|
|
174
|
+
] }),
|
|
175
|
+
s
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
);
|
|
179
|
+
}, Ie = {
|
|
180
|
+
closeMenu: "Close menu",
|
|
181
|
+
openMenu: "Open menu",
|
|
182
|
+
maximizeMenu: "Maximize menu",
|
|
183
|
+
minimizeMenu: "Minimize menu",
|
|
184
|
+
sidebarMenu: "Sidebar menu",
|
|
185
|
+
bottomMenu: "Bottom menu",
|
|
186
|
+
skipToContent: "Skip to main content"
|
|
187
|
+
}, ze = {
|
|
188
|
+
closeMenu: "Stäng meny",
|
|
189
|
+
openMenu: "Öppna meny",
|
|
190
|
+
maximizeMenu: "Maximera meny",
|
|
191
|
+
minimizeMenu: "Minimera meny",
|
|
192
|
+
sidebarMenu: "Sidomeny",
|
|
193
|
+
bottomMenu: "Bottenmeny",
|
|
194
|
+
skipToContent: "Hoppa till huvudinnehåll"
|
|
195
|
+
}, C = {
|
|
196
|
+
en: Ie,
|
|
197
|
+
sv: ze
|
|
198
|
+
}, Se = () => {
|
|
199
|
+
const {
|
|
200
|
+
items: s,
|
|
201
|
+
app: n,
|
|
202
|
+
isOpened: o,
|
|
203
|
+
isCollapsed: t,
|
|
204
|
+
setIsCollapsed: i,
|
|
205
|
+
setIsOpened: d,
|
|
206
|
+
clientSideRouter: r,
|
|
207
|
+
clientSideHref: p,
|
|
208
|
+
id: h
|
|
209
|
+
} = N(), _ = k(C), v = ({ group: m }) => /* @__PURE__ */ e("ul", { className: a.list, children: m.items.map((x, f) => /* @__PURE__ */ e(
|
|
210
|
+
"li",
|
|
211
|
+
{
|
|
212
|
+
className: u(
|
|
213
|
+
a.listItem,
|
|
214
|
+
t && a.listItemCollapsed
|
|
215
|
+
),
|
|
216
|
+
children: /* @__PURE__ */ e(H, { ...x })
|
|
217
|
+
},
|
|
218
|
+
"link_" + f
|
|
219
|
+
)) });
|
|
220
|
+
return b.useEffect(() => {
|
|
221
|
+
const m = (x) => {
|
|
222
|
+
x.key === "Escape" && d !== void 0 && d(!1);
|
|
223
|
+
};
|
|
224
|
+
return window.addEventListener("keydown", m), () => {
|
|
225
|
+
window.removeEventListener("keydown", m);
|
|
226
|
+
};
|
|
227
|
+
}, [d]), /* @__PURE__ */ l(
|
|
228
|
+
"aside",
|
|
229
|
+
{
|
|
230
|
+
id: h,
|
|
231
|
+
className: u(
|
|
232
|
+
a.sidebar,
|
|
233
|
+
t && a.sidebarCollapsed,
|
|
234
|
+
o && a.sidebarOpened
|
|
235
|
+
),
|
|
236
|
+
children: [
|
|
237
|
+
/* @__PURE__ */ l("div", { className: a.sidebarHeader, children: [
|
|
238
|
+
!t && /* @__PURE__ */ e("p", { className: a.appName, children: n.name }),
|
|
239
|
+
/* @__PURE__ */ e(
|
|
240
|
+
M,
|
|
241
|
+
{
|
|
242
|
+
variant: "icon",
|
|
243
|
+
"aria-label": t ? _.format("maximizeMenu") : _.format("minimizeMenu"),
|
|
244
|
+
onPress: () => i(!t),
|
|
245
|
+
className: a.collapseButton,
|
|
246
|
+
children: t ? /* @__PURE__ */ e(A, { size: 20 }) : /* @__PURE__ */ e(q, { size: 20 })
|
|
247
|
+
}
|
|
248
|
+
)
|
|
249
|
+
] }),
|
|
250
|
+
/* @__PURE__ */ e(
|
|
251
|
+
"nav",
|
|
252
|
+
{
|
|
253
|
+
className: a.sidebarNav,
|
|
254
|
+
"aria-label": _.format("sidebarMenu"),
|
|
255
|
+
children: /* @__PURE__ */ e("ul", { className: a.list, children: s.map((m, x) => /* @__PURE__ */ l("li", { children: [
|
|
256
|
+
m.title && !t && /* @__PURE__ */ e("p", { className: a.listGroupTitle, children: m.title }),
|
|
257
|
+
r ? /* @__PURE__ */ e(
|
|
258
|
+
w,
|
|
259
|
+
{
|
|
260
|
+
navigate: r,
|
|
261
|
+
useHref: p,
|
|
262
|
+
children: /* @__PURE__ */ e(v, { group: m })
|
|
263
|
+
}
|
|
264
|
+
) : /* @__PURE__ */ e(v, { group: m })
|
|
265
|
+
] }, "list_" + x)) })
|
|
266
|
+
}
|
|
267
|
+
)
|
|
268
|
+
]
|
|
269
|
+
}
|
|
270
|
+
);
|
|
271
|
+
}, Be = () => {
|
|
272
|
+
const {
|
|
273
|
+
title: s,
|
|
274
|
+
user: n,
|
|
275
|
+
app: o,
|
|
276
|
+
isOpened: t,
|
|
277
|
+
setIsOpened: i,
|
|
278
|
+
setIsCollapsed: d,
|
|
279
|
+
headerChildren: r,
|
|
280
|
+
variant: p,
|
|
281
|
+
id: h
|
|
282
|
+
} = N(), _ = k(C);
|
|
283
|
+
return p === "external" ? /* @__PURE__ */ e("header", { className: u(a.header, a.headerExternal), children: /* @__PURE__ */ l("div", { className: a.headerContentExternal, children: [
|
|
284
|
+
/* @__PURE__ */ l("div", { className: a.logoExternalContainer, children: [
|
|
285
|
+
/* @__PURE__ */ e(
|
|
286
|
+
y,
|
|
287
|
+
{
|
|
288
|
+
size: "x-small",
|
|
289
|
+
padding: !1,
|
|
290
|
+
className: a.logoExternal
|
|
291
|
+
}
|
|
292
|
+
),
|
|
293
|
+
/* @__PURE__ */ e(
|
|
294
|
+
y,
|
|
295
|
+
{
|
|
296
|
+
size: "small",
|
|
297
|
+
padding: !1,
|
|
298
|
+
className: a.logoExternalDesktop
|
|
299
|
+
}
|
|
300
|
+
),
|
|
301
|
+
/* @__PURE__ */ l("div", { children: [
|
|
302
|
+
/* @__PURE__ */ e("p", { className: a.userName, children: n.name }),
|
|
303
|
+
/* @__PURE__ */ e("p", { className: a.userTitle, children: n.title })
|
|
304
|
+
] })
|
|
305
|
+
] }),
|
|
306
|
+
/* @__PURE__ */ e("div", { className: a.headerItems, children: r })
|
|
307
|
+
] }) }) : /* @__PURE__ */ l(
|
|
308
|
+
"header",
|
|
309
|
+
{
|
|
310
|
+
className: a.header,
|
|
311
|
+
style: {
|
|
312
|
+
borderTop: `solid 4px ${o.color ? o.color : D.brandPrimary}`
|
|
313
|
+
},
|
|
314
|
+
children: [
|
|
315
|
+
/* @__PURE__ */ l("div", { className: a.headerContent, children: [
|
|
316
|
+
/* @__PURE__ */ e("div", { className: a.logo, children: /* @__PURE__ */ e(
|
|
317
|
+
y,
|
|
318
|
+
{
|
|
319
|
+
size: "small",
|
|
320
|
+
padding: !1
|
|
321
|
+
}
|
|
322
|
+
) }),
|
|
323
|
+
t !== void 0 && /* @__PURE__ */ e(
|
|
324
|
+
M,
|
|
325
|
+
{
|
|
326
|
+
variant: "icon",
|
|
327
|
+
className: a.toggleButton,
|
|
328
|
+
"aria-label": t ? _.format("closeMenu") : _.format("openMenu"),
|
|
329
|
+
"aria-controls": h,
|
|
330
|
+
onPressStart: () => {
|
|
331
|
+
d(!1), i == null || i(!0);
|
|
332
|
+
},
|
|
333
|
+
children: t ? /* @__PURE__ */ e(
|
|
334
|
+
W,
|
|
335
|
+
{
|
|
336
|
+
size: 20,
|
|
337
|
+
"aria-hidden": "true"
|
|
338
|
+
}
|
|
339
|
+
) : /* @__PURE__ */ e(
|
|
340
|
+
j,
|
|
341
|
+
{
|
|
342
|
+
size: 20,
|
|
343
|
+
"aria-hidden": "true"
|
|
344
|
+
}
|
|
345
|
+
)
|
|
346
|
+
}
|
|
347
|
+
),
|
|
348
|
+
/* @__PURE__ */ l("div", { children: [
|
|
349
|
+
/* @__PURE__ */ e("p", { className: a.userName, children: n.name }),
|
|
350
|
+
/* @__PURE__ */ e("p", { className: a.userTitle, children: n.title }),
|
|
351
|
+
/* @__PURE__ */ e("p", { className: a.title, children: s })
|
|
352
|
+
] })
|
|
353
|
+
] }),
|
|
354
|
+
/* @__PURE__ */ e("div", { className: a.headerItems, children: r })
|
|
355
|
+
]
|
|
356
|
+
}
|
|
357
|
+
);
|
|
358
|
+
}, S = ({
|
|
359
|
+
id: s = "#main:first-of-type"
|
|
360
|
+
}) => {
|
|
361
|
+
const n = () => {
|
|
362
|
+
const t = document.querySelector(s);
|
|
363
|
+
t && (t.tabIndex = -1, t.focus(), setTimeout(() => t.removeAttribute("tabindex"), 1e3));
|
|
364
|
+
}, o = k(C);
|
|
365
|
+
return /* @__PURE__ */ e(
|
|
366
|
+
M,
|
|
367
|
+
{
|
|
368
|
+
onPress: n,
|
|
369
|
+
className: a.skipToContent,
|
|
370
|
+
children: o.format("skipToContent")
|
|
371
|
+
}
|
|
372
|
+
);
|
|
373
|
+
}, we = () => {
|
|
374
|
+
const { isOpened: s, setIsOpened: n } = N();
|
|
375
|
+
return s ? /* @__PURE__ */ e(
|
|
376
|
+
"div",
|
|
377
|
+
{
|
|
378
|
+
className: u(a.backdrop, a.backdropOpened),
|
|
379
|
+
onClick: () => {
|
|
380
|
+
n == null || n(!1);
|
|
381
|
+
},
|
|
382
|
+
"aria-hidden": !0
|
|
383
|
+
}
|
|
384
|
+
) : null;
|
|
385
|
+
}, Pe = () => {
|
|
386
|
+
var d;
|
|
387
|
+
const { items: s, clientSideRouter: n, clientSideHref: o } = N(), t = k(C), i = (d = s.at(0)) == null ? void 0 : d.items;
|
|
388
|
+
return /* @__PURE__ */ e(
|
|
389
|
+
"nav",
|
|
390
|
+
{
|
|
391
|
+
className: a.navbar,
|
|
392
|
+
"aria-label": t.format("bottomMenu"),
|
|
393
|
+
children: i && /* @__PURE__ */ e("ul", { className: u(a.navbarList), children: n ? /* @__PURE__ */ e(
|
|
394
|
+
w,
|
|
395
|
+
{
|
|
396
|
+
navigate: n,
|
|
397
|
+
useHref: o,
|
|
398
|
+
children: /* @__PURE__ */ e(B, { items: i })
|
|
399
|
+
}
|
|
400
|
+
) : /* @__PURE__ */ e(B, { items: i }) })
|
|
401
|
+
}
|
|
402
|
+
);
|
|
403
|
+
}, B = ({
|
|
404
|
+
items: s
|
|
405
|
+
}) => /* @__PURE__ */ e(O, { children: s.map(({ href: n, active: o, icon: t, title: i, hasBadge: d }, r) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ l(
|
|
406
|
+
g,
|
|
407
|
+
{
|
|
408
|
+
href: n,
|
|
409
|
+
className: u(a.navbarItem),
|
|
410
|
+
"data-active": o,
|
|
411
|
+
"aria-current": o && "page",
|
|
412
|
+
children: [
|
|
413
|
+
/* @__PURE__ */ l(L, { children: [
|
|
414
|
+
/* @__PURE__ */ e(t, { size: 20 }),
|
|
415
|
+
d && /* @__PURE__ */ e(E, {})
|
|
416
|
+
] }),
|
|
417
|
+
i
|
|
418
|
+
]
|
|
419
|
+
}
|
|
420
|
+
) }, r)) }), c = ({
|
|
421
|
+
items: s,
|
|
422
|
+
title: n,
|
|
423
|
+
user: o,
|
|
424
|
+
app: t,
|
|
425
|
+
children: i,
|
|
426
|
+
headerChildren: d,
|
|
427
|
+
clientSideRouter: r,
|
|
428
|
+
clientSideHref: p,
|
|
429
|
+
variant: h,
|
|
430
|
+
className: _
|
|
431
|
+
}) => {
|
|
432
|
+
const [v, m] = b.useState(!1), [x, f] = b.useState(!1), I = b.useId();
|
|
433
|
+
return h === "external" ? /* @__PURE__ */ e(
|
|
434
|
+
c.Provider,
|
|
435
|
+
{
|
|
436
|
+
items: s,
|
|
437
|
+
title: n,
|
|
438
|
+
user: o,
|
|
439
|
+
app: t,
|
|
440
|
+
clientSideRouter: r,
|
|
441
|
+
clientSideHref: p,
|
|
442
|
+
headerChildren: d,
|
|
443
|
+
isCollapsed: v,
|
|
444
|
+
setIsCollapsed: m,
|
|
445
|
+
variant: h,
|
|
446
|
+
id: I,
|
|
447
|
+
children: /* @__PURE__ */ l("div", { className: u(a.baseLayout, _), children: [
|
|
448
|
+
/* @__PURE__ */ e(S, {}),
|
|
449
|
+
/* @__PURE__ */ e(c.Header, {}),
|
|
450
|
+
/* @__PURE__ */ l("div", { className: a.mainContent, children: [
|
|
451
|
+
/* @__PURE__ */ e(c.Sidebar, {}),
|
|
452
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e("main", { className: a.main, children: /* @__PURE__ */ e("div", { className: a.app, children: i }) }) }),
|
|
453
|
+
/* @__PURE__ */ e(c.Backdrop, {})
|
|
454
|
+
] }),
|
|
455
|
+
/* @__PURE__ */ e("div", { className: a.navbarWrapper, children: /* @__PURE__ */ e(c.Navbar, {}) })
|
|
456
|
+
] })
|
|
457
|
+
}
|
|
458
|
+
) : /* @__PURE__ */ e(
|
|
459
|
+
c.Provider,
|
|
460
|
+
{
|
|
461
|
+
items: s,
|
|
462
|
+
title: n,
|
|
463
|
+
user: o,
|
|
464
|
+
app: t,
|
|
465
|
+
clientSideRouter: r,
|
|
466
|
+
clientSideHref: p,
|
|
467
|
+
headerChildren: d,
|
|
468
|
+
isCollapsed: v,
|
|
469
|
+
setIsCollapsed: m,
|
|
470
|
+
isOpened: x,
|
|
471
|
+
setIsOpened: f,
|
|
472
|
+
variant: h,
|
|
473
|
+
id: I,
|
|
474
|
+
children: /* @__PURE__ */ l("div", { className: u(a.baseLayout, _), children: [
|
|
475
|
+
/* @__PURE__ */ e(S, {}),
|
|
476
|
+
/* @__PURE__ */ e(c.Header, {}),
|
|
477
|
+
/* @__PURE__ */ l("div", { className: a.mainContent, children: [
|
|
478
|
+
/* @__PURE__ */ e(c.Sidebar, {}),
|
|
479
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e("main", { className: a.main, children: /* @__PURE__ */ e("div", { className: a.app, children: i }) }) }),
|
|
480
|
+
/* @__PURE__ */ e(c.Backdrop, {})
|
|
481
|
+
] })
|
|
482
|
+
] })
|
|
483
|
+
}
|
|
484
|
+
);
|
|
485
|
+
};
|
|
486
|
+
c.Provider = Te;
|
|
487
|
+
c.Header = Be;
|
|
488
|
+
c.Sidebar = Se;
|
|
489
|
+
c.SidebarLink = H;
|
|
490
|
+
c.Navbar = Pe;
|
|
491
|
+
c.Backdrop = we;
|
|
492
|
+
export {
|
|
493
|
+
Be as H,
|
|
494
|
+
c as L,
|
|
495
|
+
Pe as N,
|
|
496
|
+
Se as S,
|
|
497
|
+
H as a
|
|
498
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as v, a as h } from "./utils-DJhAJHk_.js";
|
|
2
2
|
import C, { forwardRef as D, createContext as T } from "react";
|
|
3
|
+
import { a as b } from "./mergeProps-C1U1OIeJ.js";
|
|
3
4
|
import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
|
|
4
|
-
import { a as F, b as H, c as g, d as y } from "./usePress-
|
|
5
|
-
import { $ as L } from "./useFocusable-
|
|
6
|
-
import { $ as _ } from "./useHover-
|
|
7
|
-
import { $ as S } from "./useFocusRing-
|
|
5
|
+
import { a as F, b as H, c as g, d as y } from "./usePress-DuR4pVsE.js";
|
|
6
|
+
import { $ as L } from "./useFocusable-ChPA2Jc7.js";
|
|
7
|
+
import { $ as _ } from "./useHover-DQvJ3Y-W.js";
|
|
8
|
+
import { $ as S } from "./useFocusRing-DOfBqnUN.js";
|
|
8
9
|
function V(s, e) {
|
|
9
10
|
let { elementType: a = "a", onPress: n, onPressStart: l, onPressEnd: o, onClick: f, isDisabled: t, ...$ } = s, i = {};
|
|
10
11
|
a !== "a" && (i = {
|
|
@@ -36,7 +37,7 @@ function V(s, e) {
|
|
|
36
37
|
})
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
|
-
const N = /* @__PURE__ */ T(null),
|
|
40
|
+
const N = /* @__PURE__ */ T(null), z = /* @__PURE__ */ D(function(e, a) {
|
|
40
41
|
[e, a] = v(e, a, N);
|
|
41
42
|
let n = e.href && !e.isDisabled ? "a" : "span", { linkProps: l, isPressed: o } = V({
|
|
42
43
|
...e,
|
|
@@ -66,6 +67,6 @@ const N = /* @__PURE__ */ T(null), q = /* @__PURE__ */ D(function(e, a) {
|
|
|
66
67
|
}, d.children);
|
|
67
68
|
});
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
+
z as $,
|
|
70
71
|
N as a
|
|
71
72
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const v=require("./utils-DHNZrQmj.cjs"),P=require("react"),x=require("./mergeProps-B5KXZAI3.cjs"),T=require("./filterDOMProps-BS2lrgFA.cjs"),l=require("./usePress-BooY_CAy.cjs"),q=require("./useFocusable-D7I1ujkW.cjs"),F=require("./useHover-BE_XKZKe.cjs"),g=require("./useFocusRing-B-A1OLhU.cjs");function E(s,e){let{elementType:t="a",onPress:n,onPressStart:f,onPressEnd:c,onClick:u,isDisabled:d,...$}=s,i={};t!=="a"&&(i={role:"link",tabIndex:d?void 0:0});let{focusableProps:o}=q.$f645667febf57a63$export$4c014de7c8940b4c(s,e),{pressProps:a,isPressed:h}=l.$f6c31cce2adf654f$export$45712eceda6fad21({onPress:n,onPressStart:f,onPressEnd:c,onClick:u,isDisabled:d,ref:e}),D=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f($,{labelable:!0}),m=x.$3ef42575df84b30b$export$9d1611c77c2fe928(o,a),p=l.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),C=l.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(s);return{isPressed:h,linkProps:x.$3ef42575df84b30b$export$9d1611c77c2fe928(D,C,{...m,...i,"aria-disabled":d||void 0,"aria-current":s["aria-current"],onClick:r=>{var b;(b=a.onClick)===null||b===void 0||b.call(a,r),!p.isNative&&r.currentTarget instanceof HTMLAnchorElement&&r.currentTarget.href&&!r.isDefaultPrevented()&&l.$ea8dcbcb9ea1b556$export$efa8c9099e530235(r.currentTarget,r)&&s.href&&(r.preventDefault(),p.open(r.currentTarget,r,s.href,s.routerOptions))}})}}const k=P.createContext(null),H=P.forwardRef(function(e,t){[e,t]=v.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,k);let n=e.href&&!e.isDisabled?"a":"span",{linkProps:f,isPressed:c}=E({...e,elementType:n},t),{hoverProps:u,isHovered:d}=F.$6179b936705e76d3$export$ae780daf29e6d456(e),{focusProps:$,isFocused:i,isFocusVisible:o}=g.$f7dceffc5ad7768b$export$4e328f61c538687f(),a=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:c,isHovered:d,isFocused:i,isFocusVisible:o}});return P.createElement(n,{ref:t,slot:e.slot||void 0,...x.$3ef42575df84b30b$export$9d1611c77c2fe928(a,f,u,$),"data-focused":i||void 0,"data-hovered":d||void 0,"data-pressed":c||void 0,"data-focus-visible":o||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},a.children)});exports.$4f118338184dc1d9$export$a6c7ac8248d6e38a=H;exports.$4f118338184dc1d9$export$e2509388b49734e7=k;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),j=require("./Link-
|
|
1
|
+
"use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),j=require("./Link-CidjjqHb.cjs"),_=require("./clsx-C11secjj.cjs"),q=require("./createLucideIcon-Cg_wkoIA.cjs"),k=require("./square-arrow-out-up-right-V4Gd08uI.cjs"),w=require("./arrow-right-QJ2gXPKQ.cjs");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as p, Fragment as h } from "react/jsx-runtime";
|
|
2
|
-
import { $ as u } from "./Link-
|
|
2
|
+
import { $ as u } from "./Link-Bn8V3ZI0.js";
|
|
3
3
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
import { c as k } from "./createLucideIcon-DeWljiyi.js";
|
|
5
5
|
import { S as j } from "./square-arrow-out-up-right-BkyqV2PN.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { $ as y } from "./Link-
|
|
2
|
+
import { $ as y } from "./Link-Bn8V3ZI0.js";
|
|
3
3
|
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
import { S as z } from "./square-arrow-out-up-right-BkyqV2PN.js";
|
|
5
5
|
import { c as q } from "./createLucideIcon-DeWljiyi.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";require('./assets/LinkButton.css');const t=require("react/jsx-runtime"),f=require("./Link-
|
|
1
|
+
"use strict";require('./assets/LinkButton.css');const t=require("react/jsx-runtime"),f=require("./Link-CidjjqHb.cjs"),m=require("./clsx-C11secjj.cjs"),y=require("./square-arrow-out-up-right-V4Gd08uI.cjs"),x=require("./createLucideIcon-Cg_wkoIA.cjs"),g=require("./arrow-right-QJ2gXPKQ.cjs");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const D=require("./Collection-BtBX5IMY.cjs"),v=require("./utils-DHNZrQmj.cjs"),y=require("./DragAndDrop-BoEd260f.cjs"),A=require("./Separator-CxF-3jhR.cjs"),re=require("./Text-CfcjRtke.cjs"),h=require("./mergeProps-B5KXZAI3.cjs"),T=require("./filterDOMProps-BS2lrgFA.cjs"),ae=require("./inertValue-B3AFhVG4.cjs"),t=require("react"),de=require("./usePress-BooY_CAy.cjs"),B=require("./useHover-BE_XKZKe.cjs"),ie=require("./SelectionManager-D0jYUYcy.cjs"),le=require("./useFocusWithin-CG8mAt2D.cjs"),ne=require("./Button-DExMoP5f.cjs"),Y=require("./useListState-DymkJGDF.cjs"),se=require("./context-Df3XbgBG.cjs"),X=require("./ListKeyboardDelegate-CPsZ7D83.cjs"),ce=require("./useFocusRing-B-A1OLhU.cjs"),ue=require("./FocusScope-vcXLOQiu.cjs"),z=new WeakMap;function fe(o){return typeof o=="string"?o.replace(/\s*/g,""):""+o}function Z(o,e){let d=z.get(o);if(!d)throw new Error("Unknown list");return`${d.id}-option-${fe(e)}`}function $e(o,e,d){let i=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(o,{labelable:!0}),l=o.selectionBehavior||"toggle",n=o.linkBehavior||(l==="replace"?"action":"override");l==="toggle"&&n==="action"&&(n="override");let{listProps:r}=A.$982254629710d113$export$b95089534ab7c1fd({...o,ref:d,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:n}),{focusWithinProps:a}=le.$9ab94262bd0047c7$export$420e68273165f4ec({onFocusWithin:o.onFocus,onBlurWithin:o.onBlur,onFocusWithinChange:o.onFocusChange}),u=h.$bdb11010cef70236$export$f680877a34711e37(o.id);z.set(e,{id:u,shouldUseVirtualFocus:o.shouldUseVirtualFocus,shouldSelectOnPressUp:o.shouldSelectOnPressUp,shouldFocusOnHover:o.shouldFocusOnHover,isVirtualized:o.isVirtualized,onAction:o.onAction,linkBehavior:n});let{labelProps:p,fieldProps:s}=ne.$d191a55c9702f145$export$8467354a121f1b9f({...o,id:u,labelElementType:"span"});return{labelProps:p,listBoxProps:h.$3ef42575df84b30b$export$9d1611c77c2fe928(i,a,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...h.$3ef42575df84b30b$export$9d1611c77c2fe928(s,r)})}}function be(o,e,d){var i,l;let{key:n}=o,r=z.get(e);var a;let u=(a=o.isDisabled)!==null&&a!==void 0?a:e.selectionManager.isDisabled(n);var p;let s=(p=o.isSelected)!==null&&p!==void 0?p:e.selectionManager.isSelected(n);var b;let c=(b=o.shouldSelectOnPressUp)!==null&&b!==void 0?b:r==null?void 0:r.shouldSelectOnPressUp;var f;let P=(f=o.shouldFocusOnHover)!==null&&f!==void 0?f:r==null?void 0:r.shouldFocusOnHover;var x;let g=(x=o.shouldUseVirtualFocus)!==null&&x!==void 0?x:r==null?void 0:r.shouldUseVirtualFocus;var m;let S=(m=o.isVirtualized)!==null&&m!==void 0?m:r==null?void 0:r.isVirtualized,M=h.$bdb11010cef70236$export$b4cc09c592e8fdb8(),H=h.$bdb11010cef70236$export$b4cc09c592e8fdb8(),k={role:"option","aria-disabled":u||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?s:void 0};B.$c87311424ea30a05$export$9ac100e40613ea10()&&B.$c87311424ea30a05$export$78551043582a6a98()||(k["aria-label"]=o["aria-label"],k["aria-labelledby"]=M,k["aria-describedby"]=H);let $=e.collection.getItem(n);if(S){let E=Number($==null?void 0:$.index);k["aria-posinset"]=Number.isNaN(E)?void 0:E+1,k["aria-setsize"]=A.$453cc9f0df89c0a5$export$77d5aafae4e095b2(e.collection)}let I=r!=null&&r.onAction?()=>{var E;return r==null||(E=r.onAction)===null||E===void 0?void 0:E.call(r,n)}:void 0,O=Z(e,n),{itemProps:N,isPressed:U,isFocused:C,hasAction:F,allowsSelection:w}=ie.$880e95eb8b93ba9a$export$ecf600387e221c37({selectionManager:e.selectionManager,key:n,ref:d,shouldSelectOnPressUp:c,allowsDifferentPressOrigin:c&&P,isVirtualized:S,shouldUseVirtualFocus:g,isDisabled:u,onAction:I||!($==null||(i=$.props)===null||i===void 0)&&i.onAction?h.$ff5963eb1fccf552$export$e08e3b67e392101e($==null||(l=$.props)===null||l===void 0?void 0:l.onAction,I):void 0,linkBehavior:r==null?void 0:r.linkBehavior,id:O}),{hoverProps:L}=B.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:u||!P,onHoverStart(){B.$507fabe10e71c6fb$export$b9b3dfddab17db27()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(n))}}),_=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f($==null?void 0:$.props);delete _.id;let q=de.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18($==null?void 0:$.props);return{optionProps:{...k,...h.$3ef42575df84b30b$export$9d1611c77c2fe928(_,N,L,q),id:O},labelProps:{id:M},descriptionProps:{id:H},isFocused:C,isFocusVisible:C&&e.selectionManager.isFocused&&B.$507fabe10e71c6fb$export$b9b3dfddab17db27(),isSelected:s,isDisabled:u,isPressed:U,allowsSelection:w,hasAction:F}}function pe(o){let{heading:e,"aria-label":d}=o,i=h.$bdb11010cef70236$export$f680877a34711e37();return{itemProps:{role:"presentation"},headingProps:e?{id:i,role:"presentation"}:{},groupProps:{role:"group","aria-label":d,"aria-labelledby":e?i:void 0}}}const W=t.createContext(null),V=t.createContext(null),ge=t.forwardRef(function(e,d){[e,d]=v.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,W);let i=t.useContext(V);return i?t.createElement(ee,{state:i,props:e,listBoxRef:d}):t.createElement(D.$e1995378a142960e$export$bf788dd355e3a401,{content:t.createElement(D.$e1995378a142960e$export$fb8073518f34e6ec,e)},l=>t.createElement(ve,{props:e,listBoxRef:d,collection:l}))});function ve({props:o,listBoxRef:e,collection:d}){o={...o,collection:d,children:null,items:null};let{layoutDelegate:i}=t.useContext(D.$7135fc7d473fd974$export$4feb769f8ddf26c5),l=Y.$e72dd72e1c76a225$export$2f645645f7bca764({...o,layoutDelegate:i});return t.createElement(ee,{state:l,props:o,listBoxRef:e})}function ee({state:o,props:e,listBoxRef:d}){var i;let{filter:l,collectionProps:n,collectionRef:r}=t.useContext(A.$d2f53cda644affe3$export$65d2a03b8800d6e3)||{};e=t.useMemo(()=>n?{...e,...n}:e,[e,n]);let{dragAndDropHooks:a,layout:u="stack",orientation:p="vertical"}=e;d=v.$df56164dff5785e2$export$4338b53315abf666(t.useMemo(()=>v.$5dc95899b306f630$export$c9058316764c140e(d,r!==void 0?r:null),[r,d]));let s=Y.$e72dd72e1c76a225$export$ba9d38c0f1bf2b36(o,l),{collection:b,selectionManager:c}=s,f=!!(a!=null&&a.useDraggableCollectionState),P=!!(a!=null&&a.useDroppableCollectionState),{direction:x}=se.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{disabledBehavior:g,disabledKeys:m}=c,S=X.$325a3faab7a68acd$export$a16aca283550c30d({usage:"search",sensitivity:"base"}),{isVirtualized:M,layoutDelegate:H,dropTargetDelegate:k,CollectionRoot:$}=t.useContext(D.$7135fc7d473fd974$export$4feb769f8ddf26c5),I=t.useMemo(()=>e.keyboardDelegate||new X.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:b,collator:S,ref:d,disabledKeys:m,disabledBehavior:g,layout:u,orientation:p,direction:x,layoutDelegate:H}),[b,S,d,g,m,p,x,e.keyboardDelegate,u,H]),{listBoxProps:O}=$e({...e,shouldSelectOnPressUp:f||e.shouldSelectOnPressUp,keyboardDelegate:I,isVirtualized:M},s,d),N=t.useRef(f),U=t.useRef(P);t.useEffect(()=>{process.env.NODE_ENV!=="production"&&(N.current!==f&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),U.current!==P&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."))},[f,P]);let C,F,w,L=!1,_=null,q=t.useRef(null);if(f&&a){C=a.useDraggableCollectionState({collection:b,selectionManager:c,preview:a.renderDragPreview?q:void 0}),a.useDraggableCollection({},C,d);let K=a.DragPreview;_=a.renderDragPreview?t.createElement(K,{ref:q},a.renderDragPreview):null}if(P&&a){F=a.useDroppableCollectionState({collection:b,selectionManager:c});let K=a.dropTargetDelegate||k||new a.ListDropTargetDelegate(b,d,{orientation:p,layout:u,direction:x});w=a.useDroppableCollection({keyboardDelegate:I,dropTargetDelegate:K},F,d),L=F.isDropTarget({type:"root"})}let{focusProps:E,isFocused:j,isFocusVisible:G}=ce.$f7dceffc5ad7768b$export$4e328f61c538687f(),R=s.collection.size===0||s.collection.size===1&&((i=s.collection.getItem(s.collection.getFirstKey()))===null||i===void 0?void 0:i.type)==="loader",J={isDropTarget:L,isEmpty:R,isFocused:j,isFocusVisible:G,layout:e.layout||"stack",state:s},te=v.$64fa3d84918910a7$export$4d86445c2cf5e3({className:e.className,style:e.style,defaultClassName:"react-aria-ListBox",values:J}),Q=null;return R&&e.renderEmptyState&&(Q=t.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(J))),t.createElement(ue.$9bf71ea28793e738$export$20e40289641fbbb6,null,t.createElement("div",{...T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),...h.$3ef42575df84b30b$export$9d1611c77c2fe928(O,E,w==null?void 0:w.collectionProps),...te,ref:d,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":L||void 0,"data-empty":R||void 0,"data-focused":j||void 0,"data-focus-visible":G||void 0,"data-layout":e.layout||"stack","data-orientation":e.orientation||"vertical"},t.createElement(v.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[W,e],[V,s],[y.$612b8eb6cb90e02d$export$d188a835a7bc5783,{dragAndDropHooks:a,dragState:C,dropState:F}],[A.$431f98aba6844401$export$6615d83f6de245ce,{elementType:"div"}],[y.$612b8eb6cb90e02d$export$f55761759794cf55,{render:Pe}],[D.$7135fc7d473fd974$export$d40e14dec8b060a8,{name:"ListBoxSection",render:oe}]]},t.createElement($,{collection:b,scrollRef:d,persistedKeys:y.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6(c,a,F),renderDropIndicator:y.$612b8eb6cb90e02d$export$971707d8a129a1f7(a,F)})),Q,_))}function oe(o,e,d,i="react-aria-ListBoxSection"){let l=t.useContext(V),{dragAndDropHooks:n,dropState:r}=t.useContext(y.$612b8eb6cb90e02d$export$d188a835a7bc5783),{CollectionBranch:a}=t.useContext(D.$7135fc7d473fd974$export$4feb769f8ddf26c5),[u,p]=v.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8();var s;let{headingProps:b,groupProps:c}=pe({heading:p,"aria-label":(s=o["aria-label"])!==null&&s!==void 0?s:void 0}),f=v.$64fa3d84918910a7$export$4d86445c2cf5e3({defaultClassName:i,className:o.className,style:o.style,values:{}});return t.createElement("section",{...T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(o),...c,...f,ref:e},t.createElement(A.$72a5793c14baf454$export$e0e4026c12a8bdbb.Provider,{value:{...b,ref:u}},t.createElement(a,{collection:l.collection,parent:d,renderDropIndicator:y.$612b8eb6cb90e02d$export$971707d8a129a1f7(n,r)})))}const xe=D.$e1995378a142960e$export$e953bb1cd0f19726("section",oe),he=D.$e1995378a142960e$export$18af5c7a9e9b3664("item",function(e,d,i){let l=v.$df56164dff5785e2$export$4338b53315abf666(d),n=t.useContext(V),{dragAndDropHooks:r,dragState:a,dropState:u}=t.useContext(y.$612b8eb6cb90e02d$export$d188a835a7bc5783),{optionProps:p,labelProps:s,descriptionProps:b,...c}=be({key:i.key,"aria-label":e==null?void 0:e["aria-label"]},n,l),{hoverProps:f,isHovered:P}=B.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:!c.allowsSelection&&!c.hasAction,onHoverStart:i.props.onHoverStart,onHoverChange:i.props.onHoverChange,onHoverEnd:i.props.onHoverEnd}),x=null;a&&r&&(x=r.useDraggableItem({key:i.key},a));let g=null;u&&r&&(g=r.useDroppableItem({target:{type:"item",key:i.key,dropPosition:"on"}},u,l));let m=a&&a.isDragging(i.key),S=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...c,isHovered:P,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior,allowsDragging:!!a,isDragging:m,isDropTarget:g==null?void 0:g.isDropTarget}});t.useEffect(()=>{!i.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[i.textValue]);let M=e.href?"a":"div";return t.createElement(M,{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(p,f,x==null?void 0:x.dragProps,g==null?void 0:g.dropProps),...S,ref:l,"data-allows-dragging":!!a||void 0,"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":P||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":c.isFocusVisible||void 0,"data-pressed":c.isPressed||void 0,"data-dragging":m||void 0,"data-drop-target":(g==null?void 0:g.isDropTarget)||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},t.createElement(v.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[re.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{[v.$64fa3d84918910a7$export$c62b8e45d58ddad9]:s,label:s,description:b}}]]},S.children))});function Pe(o,e){e=v.$df56164dff5785e2$export$4338b53315abf666(e);let{dragAndDropHooks:d,dropState:i}=t.useContext(y.$612b8eb6cb90e02d$export$d188a835a7bc5783),{dropIndicatorProps:l,isHidden:n,isDropTarget:r}=d.useDropIndicator(o,i,e);return n?null:t.createElement(me,{...o,dropIndicatorProps:l,isDropTarget:r,ref:e})}function De(o,e){let{dropIndicatorProps:d,isDropTarget:i,...l}=o,n=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...l,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:i}});return t.createElement("div",{...d,...n,role:"option",ref:e,"data-drop-target":i||void 0})}const me=t.forwardRef(De);D.$e1995378a142960e$export$18af5c7a9e9b3664("loader",function(e,d,i){let l=t.useContext(V),{isVirtualized:n}=t.useContext(D.$7135fc7d473fd974$export$4feb769f8ddf26c5),{isLoading:r,onLoadMore:a,scrollOffset:u,...p}=e,s=t.useRef(null),b=t.useMemo(()=>({onLoadMore:a,collection:l==null?void 0:l.collection,sentinelRef:s,scrollOffset:u}),[a,u,l==null?void 0:l.collection]);y.$a5fa973c1850dd36$export$90a12e6abf95cbe0(b,s);let c=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...p,id:void 0,children:i.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:null}),f={tabIndex:-1};return n&&(f["aria-posinset"]=i.index+1,f["aria-setsize"]=l.collection.size),t.createElement(t.Fragment,null,t.createElement("div",{style:{position:"relative",width:0,height:0},inert:ae.$cdc5a6778b766db2$export$a9d04c5684123369(!0)},t.createElement("div",{"data-testid":"loadMoreSentinel",ref:s,style:{position:"absolute",height:1,width:1}})),r&&c.children&&t.createElement("div",{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),f),...c,role:"option",ref:d},c.children))});exports.$b1f0cad8af73213b$export$3585ede4d035bf14=z;exports.$b1f0cad8af73213b$export$9145995848b05025=Z;exports.$eed445e0843c11d0$export$41f133550aa26f48=ge;exports.$eed445e0843c11d0$export$7c5906fe4f1f2af2=V;exports.$eed445e0843c11d0$export$7ff8f37d2d81a48d=W;exports.$eed445e0843c11d0$export$a11e76429ed99b4=he;exports.$eed445e0843c11d0$export$dca12b0bb56e4fc=xe;
|