@midas-ds/components 11.2.0 → 12.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-C9dBt-tQ.js +335 -0
- package/AccordionItem-SOfjXh3V.cjs +1 -0
- package/BadgeContainer-iNNgJKD9.js +37 -0
- package/{BadgeContainer-DWVHS5dn.cjs → BadgeContainer-su0iCJKy.cjs} +1 -1
- package/Breadcrumbs-BAHJMPsu.js +271 -0
- package/Breadcrumbs-DUcHHI_2.cjs +1 -0
- package/Button-CMIbSc4-.cjs +1 -0
- package/{Button-CepQFEit.js → Button-DD5_S-tD.js} +154 -160
- package/{Button-BjMaGya2.js → Button-DYcmg49Z.js} +2 -2
- package/{Button-Dq6ugqxT.cjs → Button-DrL5Jv-s.cjs} +1 -1
- package/Button.module-BNLcvARn.cjs +1 -0
- package/Button.module-Bax2YU6N.js +14 -0
- package/ButtonGroup-ClYTgaRc.cjs +1 -0
- package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
- package/CHANGELOG.md +114 -0
- package/Card-BDDyGAMA.js +131 -0
- package/Card-mj5lCIR4.cjs +1 -0
- package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
- package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DT7A0wWP.js} +8 -8
- package/Checkbox-BtM2rFh9.js +278 -0
- package/Checkbox-CvdIG43J.cjs +1 -0
- package/CheckboxGroup-C94as9Xt.cjs +1 -0
- package/CheckboxGroup-CjcDYBRk.js +157 -0
- package/Collection-B0_WAieZ.js +625 -0
- package/Collection-BvWp2xBd.cjs +1 -0
- package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-C4PMYeD5.js} +17 -25
- package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +1 -1
- package/ComboBox-B2EmfOyr.cjs +1 -0
- package/{ComboBox-DfJ_aJrf.js → ComboBox-BWXJZyOR.js} +522 -511
- package/DateField-CcQJYDLD.js +47 -0
- package/DateField-IpCiF81R.cjs +1 -0
- package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CXkUdlzc.js} +936 -839
- package/DateInputDivider-Cf5GZHlM.cjs +1 -0
- package/DateRangePicker-B2BJO1KC.js +889 -0
- package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
- package/Dialog-B8swxl24.js +1643 -0
- package/Dialog-DR6nEqMT.cjs +1 -0
- package/Dialog-DgJobm71.cjs +1 -0
- package/Dialog-P3frHOdq.js +240 -0
- package/DragAndDrop-Dw8JZmrn.cjs +1 -0
- package/DragAndDrop-PrUJv--B.js +75 -0
- package/{Dropdown-Cpc2EszJ.js → Dropdown-CIvWpN3v.js} +33 -32
- package/Dropdown-DJ2vWAqk.cjs +6 -0
- package/FieldError-Cornph2A.cjs +1 -0
- package/{FieldError-CDCvUjK5.js → FieldError-DdvFyIf4.js} +16 -14
- package/{FileUpload-BokzdXVc.js → FileUpload-D2gnQKdn.js} +76 -74
- package/{FileUpload-Bz9md5zc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
- package/{FocusScope-DMsfA3bj.js → FocusScope-Bj40Ir-g.js} +192 -195
- package/FocusScope-Uy3DiY0-.cjs +1 -0
- package/Grid-WbEkSCGh.cjs +1 -0
- package/{Grid--OhtgCo6.js → Grid-s8ovKDi8.js} +6 -9
- package/GridItem-CIVF1fRW.cjs +1 -0
- package/GridItem-D3FZyyO-.js +243 -0
- package/{Group-DOpbdoAi.cjs → Group-BKYGeOBr.cjs} +1 -1
- package/{Group-B0vQfHDy.js → Group-C73mD_-i.js} +6 -6
- package/Heading-BQlmb5Tm.js +46 -0
- package/Heading-D3FR_KXb.cjs +1 -0
- package/InfoBanner-CqjnTYaa.cjs +1 -0
- package/InfoBanner-CrA8MS3v.js +83 -0
- package/{Input-n-Z20KbW.js → Input-BLVRv0FK.js} +4 -4
- package/{Input-MJji5hhq.cjs → Input-CzMx2mfl.cjs} +1 -1
- package/{Label-endv1fkJ.js → Label-BG7G0iyG.js} +23 -27
- package/Label-C00qz3kQ.cjs +1 -0
- package/Layout-Bta_Cpq_.cjs +16 -0
- package/Layout-CG-Qxr_1.js +482 -0
- package/{Link-ovwNVMfg.js → Link-BtxKZ0h3.js} +16 -16
- package/Link-Bx6avHVl.cjs +6 -0
- package/Link-CbFSuEI1.js +73 -0
- package/Link-wM7cVPlS.cjs +1 -0
- package/LinkButton-BvXu6vAH.cjs +6 -0
- package/LinkButton-D3EnZ65v.js +69 -0
- package/ListBox-ICZKGluC.cjs +1 -0
- package/ListBox-LncMQt6I.js +523 -0
- package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
- package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
- package/ListBoxSection-BCPv9H50.js +1085 -0
- package/ListBoxSection-Dx75ZinL.cjs +1 -0
- package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
- package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
- package/{Logo-BpH0HC91.cjs → Logo-CFjZc5u2.cjs} +1 -1
- package/{Logo-ME4ffCue.js → Logo-DkagDdKQ.js} +14 -18
- package/OverlayArrow-ByH6lM-H.cjs +1 -0
- package/OverlayArrow-CvNuu3e3.js +519 -0
- package/{Popover-BDvKByTT.cjs → Popover-Bi5yJEoE.cjs} +1 -1
- package/{Popover-Tniqbaes.js → Popover-CyEVqpJ6.js} +11 -11
- package/{PressResponder-C3APAKsz.js → PressResponder-CxVtArtP.js} +4 -4
- package/{PressResponder-4jE_HLu3.cjs → PressResponder-DbnYqwGB.cjs} +1 -1
- package/ProgressBar-CdXHEJh6.js +53 -0
- package/ProgressBar-CjuHokVZ.cjs +1 -0
- package/Radio-Bll-7H8O.cjs +1 -0
- package/Radio-DoWx2AE1.js +333 -0
- package/RangeCalendar-A4WQIG7P.cjs +6 -0
- package/{RangeCalendar-BCruEq9d.js → RangeCalendar-D7eFVAPP.js} +637 -629
- package/{SearchField-QFyuaT-K.cjs → SearchField-BbrUZpQm.cjs} +2 -2
- package/{SearchField-nwlyszwt.js → SearchField-F2FKgYds.js} +27 -31
- package/Select-BnbDXwgD.cjs +1 -0
- package/Select-Dpi3LhbI.js +654 -0
- package/{SelectionManager-BKrZ_mMO.js → SelectionManager-Bq-Gw1UT.js} +291 -282
- package/SelectionManager-BtbHoHpA.cjs +1 -0
- package/Separator-CM0KPvsX.js +105 -0
- package/Separator-Cfv2pbWf.cjs +1 -0
- package/Separator-DH-5wu9X.js +77 -0
- package/Separator-Dgin8BNW.cjs +1 -0
- package/Skeleton-BpYj25p8.js +37 -0
- package/Skeleton-DMOxEwnd.cjs +1 -0
- package/Spinner-D1UBuLy4.cjs +6 -0
- package/Spinner-DTKb_LAA.js +47 -0
- package/TabList-D4WwgQY3.cjs +1 -0
- package/TabList-D9tl2s85.js +397 -0
- package/Table-C6k3PiiC.cjs +16 -0
- package/{Table-DGTwyh7U.js → Table-CkN3y69S.js} +883 -804
- package/Tag-7dHEMQum.cjs +1 -0
- package/Tag-BUJ20HHw.js +765 -0
- package/Text-BAFsaON-.cjs +1 -0
- package/{Text-DcZqSUN9.js → Text-Be7WIOwv.js} +1 -1
- package/{Text-CfcjRtke.cjs → Text-BtPiT2P1.cjs} +1 -1
- package/Text-CmlsaWMA.js +32 -0
- package/TextArea-BCikUXaD.cjs +1 -0
- package/TextArea-h5_oBQH1.js +125 -0
- package/TextField-Bm5916AD.cjs +1 -0
- package/TextField-_UY8CXtW.js +134 -0
- package/TextField.module-C9Zm9unF.js +13 -0
- package/TextField.module-GTQtNO0r.cjs +1 -0
- package/{Toast-CWt_mNIg.js → Toast-BBkWczCk.js} +234 -253
- package/Toast-DclaxvZM.cjs +1 -0
- package/ToggleButtonGroup-BGG64PK1.js +214 -0
- package/ToggleButtonGroup-Da330GRT.cjs +1 -0
- package/Tooltip-BHAtsp9k.js +281 -0
- package/Tooltip-CZa9n5sT.cjs +1 -0
- package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-CGEtjAP7.js} +2 -2
- package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
- package/accordion/Accordion.d.ts +8 -2
- package/accordion/AccordionContext.d.ts +4 -0
- package/accordion/AccordionItem.d.ts +6 -4
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/BadgeContainer.css +1 -1
- package/assets/Breadcrumbs.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/ButtonGroup.css +1 -1
- package/assets/Card.css +1 -1
- package/assets/CharacterCounter.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/ComboBox.css +1 -1
- package/assets/DateField.css +1 -1
- package/assets/DateInputDivider.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/Dropdown.css +1 -1
- package/assets/FieldError.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/GridItem.css +1 -1
- package/assets/Heading.css +1 -1
- package/assets/InfoBanner.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/Link.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBoxSection.css +1 -1
- package/assets/Logo.css +1 -1
- package/assets/Popover.css +1 -1
- package/assets/ProgressBar.css +1 -1
- package/assets/Radio.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Select.css +1 -1
- package/assets/Separator.css +1 -0
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/Tag.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/ToggleButtonGroup.css +1 -1
- package/assets/Tooltip.css +1 -1
- package/assets/theme.css +1 -0
- package/assets/variables.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +2 -2
- 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/chevron-right-0-sUFBiR.cjs +6 -0
- package/chevron-right-BYYHEJjK.js +11 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +0 -4
- package/combobox/index.cjs +1 -1
- package/combobox/index.d.ts +1 -2
- package/combobox/index.js +2 -3
- package/combobox/intl/translations.json.d.ts +4 -2
- package/combobox/types.d.ts +0 -13
- package/common/icon-map.d.ts +6 -0
- package/common/types.d.ts +8 -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/Dropdown.d.ts +25 -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/filterDOMProps-RRlKPKX0.cjs +1 -0
- package/filterDOMProps-wsa9OcNI.js +65 -0
- package/grid/Grid.d.ts +0 -8
- package/grid/GridItem.d.ts +0 -8
- package/grid/index.cjs +1 -1
- package/grid/index.d.ts +2 -2
- package/grid/index.js +4 -6
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/icon-map-9XcghDra.cjs +11 -0
- package/icon-map-uS87FT_Q.js +43 -0
- package/{index-CGRFP4CC.js → index-BLPblar-.js} +34 -31
- package/index-DSFSh2sC.cjs +17 -0
- package/index.cjs +1 -1
- package/index.d.ts +2 -0
- package/index.js +133 -121
- package/info-banner/InfoBanner.d.ts +18 -10
- 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/ListBoxLoadMoreItem.d.ts +4 -0
- package/list-box/index.cjs +1 -1
- package/list-box/index.d.ts +1 -0
- package/list-box/index.js +6 -5
- package/list-box/intl/translations.json.d.ts +11 -0
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/Menu.d.ts +13 -0
- package/menu/MenuItem.d.ts +5 -0
- package/menu/MenuPopover.d.ts +3 -0
- package/menu/MenuSection.d.ts +3 -0
- package/menu/Separator.d.ts +3 -0
- package/menu/index.cjs +1 -0
- package/menu/index.d.ts +5 -0
- package/menu/index.js +8 -0
- package/{mergeProps-C1U1OIeJ.js → mergeProps-BSsN7Bgk.js} +36 -34
- package/mergeProps-JhcJ7uJL.cjs +1 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +9 -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/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/Select.d.ts +1 -1
- package/select/index.cjs +1 -1
- package/select/index.d.ts +1 -1
- package/select/index.js +1 -1
- package/select/types.d.ts +1 -13
- package/skeleton/index.cjs +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/Table.d.ts +7 -12
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tabs.d.ts +0 -12
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/Tag.d.ts +2 -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/Input.d.ts +7 -2
- package/textfield/PasswordField.d.ts +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/generated-object.d.ts +384 -0
- package/theme/generated-tokens.d.ts +334 -0
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +39 -12
- package/theme/index.js +4037 -13
- package/theme/tokens.d.ts +65 -18
- package/toast/Toast.d.ts +2 -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/tokens-B3FfJ-rY.cjs +1 -0
- package/{tokens-CqvelUoA.js → tokens-B9ooUP4g.js} +69 -32
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/useButton-D6iUB8cN.js +56 -0
- package/useButton-R8-i3HLC.cjs +1 -0
- package/useDateFormatter-2B0vgHc-.cjs +1 -0
- package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
- package/{useDescription-DYfKjGGU.js → useDescription-BLmIkYCq.js} +1 -1
- package/{useDescription-CPo72trh.cjs → useDescription-BMuiAqI5.cjs} +1 -1
- package/{useEvent-DPxMu-X9.cjs → useEvent-3ZO5TPSH.cjs} +1 -1
- package/{useEvent-CigwyJOw.js → useEvent-DpBHTuHJ.js} +1 -1
- package/{useField-CefQB81E.js → useField-BMegM8fA.js} +2 -2
- package/{useField-D1UkzeaI.cjs → useField-DyeD7MLj.cjs} +1 -1
- package/{useFilter-DsOxD9JB.js → useFilter-BFnSe_Eq.js} +1 -1
- package/{useFilter-BhM2yVO3.cjs → useFilter-aoggM85n.cjs} +1 -1
- package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BcbYske2.cjs} +1 -1
- package/{useFocusRing-DOfBqnUN.js → useFocusRing-DMo8ctYV.js} +2 -2
- package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-ClMkhYcq.js} +1 -1
- package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
- package/{useFocusable-D7I1ujkW.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
- package/{useFocusable-BjE42axF.js → useFocusable-DXlMChFC.js} +4 -4
- package/useFormValidation-BQIRxgbU.cjs +1 -0
- package/useFormValidation-L0UHvOsP.js +217 -0
- package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
- package/{useHasTabbableChild-CoQRpNbC.cjs → useHasTabbableChild-CJcLnolh.cjs} +1 -1
- package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-BkEv9Jye.js} +4 -4
- package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
- package/{useHover-DQvJ3Y-W.js → useHover-D6bNIkU0.js} +76 -74
- package/useHover-DGAmG7jt.cjs +1 -0
- package/{useLabels-CSU0kbtJ.cjs → useLabels-CvUk-yS3.cjs} +1 -1
- package/{useLabels-LrKQiY11.js → useLabels-Kmq5JCp_.js} +1 -1
- package/useListState-D2IEg6_e.cjs +1 -0
- package/{useListState-B3c3xcNW.js → useListState-pixYqSLl.js} +43 -42
- package/usePress-CicXV7UO.cjs +7 -0
- package/{usePress-BW47IcyU.js → usePress-DMUpU0GU.js} +153 -149
- package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
- package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
- package/{useTextField-DjxayZsV.js → useTextField-BC5X_AO_.js} +30 -27
- package/useTextField-Cxpfu0U3.cjs +1 -0
- package/useToggleState-BVOqL4hI.js +21 -0
- package/useToggleState-SqDyNfRi.cjs +1 -0
- package/utils/types.d.ts +4 -0
- package/{utils-DHNZrQmj.cjs → utils-CMHKYKlz.cjs} +1 -1
- package/{utils-KLjWgdLR.js → utils-Cpcjg55U.js} +1 -1
- package/utils-DFIwp4PB.js +262 -0
- package/utils-__vrf9VZ.cjs +1 -0
- package/AccordionItem-BPOQqTkQ.js +0 -323
- package/AccordionItem-CS-QKqrU.cjs +0 -1
- package/BadgeContainer-CKBIZWsc.js +0 -37
- package/Breadcrumbs-BBzSV4SK.js +0 -262
- package/Breadcrumbs-CFUryOhf.cjs +0 -1
- package/Button-DExMoP5f.cjs +0 -1
- package/Button.module-D-mPLRxe.js +0 -14
- package/Button.module-goCEz5qs.cjs +0 -1
- package/ButtonGroup-DUqW5dzM.cjs +0 -1
- package/Card-BRs1FKX5.js +0 -131
- package/Card-cdL5669N.cjs +0 -1
- package/Checkbox-Co3h0hur.cjs +0 -1
- package/Checkbox-EB_SCBEo.js +0 -264
- package/CheckboxGroup-CT_eqERw.cjs +0 -1
- package/CheckboxGroup-DvrN1oyw.js +0 -159
- package/Collection-BtBX5IMY.cjs +0 -1
- package/Collection-D2jVTmDW.js +0 -577
- package/ComboBox-D_jh7TKo.cjs +0 -1
- package/DateField-BURrxhil.cjs +0 -1
- package/DateField-DKCbEonm.js +0 -47
- package/DateInputDivider-ToFY-yjB.cjs +0 -1
- package/DateRangePicker-B5vx9onl.js +0 -870
- package/DateRangePicker-DkIAEIIj.cjs +0 -6
- package/Dialog-CxHiZorC.cjs +0 -1
- package/Dialog-D5c_dUnB.js +0 -1611
- package/Dialog-DtHk3eXI.cjs +0 -1
- package/Dialog-DuGcBeNN.js +0 -212
- package/DragAndDrop-CSg60YQE.cjs +0 -1
- package/DragAndDrop-DOXLfJaA.js +0 -60
- package/Dropdown-CYakzdJg.cjs +0 -6
- package/FieldError-Bv3Q6ZP-.cjs +0 -1
- package/FocusScope-vcXLOQiu.cjs +0 -1
- package/Grid-DVQtOcu9.cjs +0 -1
- package/GridItem-DlbSdRmB.js +0 -246
- package/GridItem-XgHmZWXY.cjs +0 -1
- package/Heading-CKTR4sOz.cjs +0 -1
- package/Heading-D2y_kiC0.js +0 -46
- package/InfoBanner-CzwbOdRG.cjs +0 -1
- package/InfoBanner-D05poAe3.js +0 -91
- package/Label-ChjDdBlv.cjs +0 -1
- package/Layout-D0E1fOgZ.cjs +0 -16
- package/Layout-DtyhUz-G.js +0 -498
- package/Link-CibH8uRY.js +0 -72
- package/Link-CidjjqHb.cjs +0 -1
- package/Link-ESjrl63P.cjs +0 -6
- package/LinkButton-B6AWNiRn.cjs +0 -6
- package/LinkButton-BkZULm2a.js +0 -69
- package/ListBox-B0E1hdEt.cjs +0 -1
- package/ListBox-Djy7244v.js +0 -531
- package/ListBoxButton-CIqNRR3y.cjs +0 -1
- package/ListBoxButton-sqirI6I4.js +0 -15
- package/ListBoxSection-BYJccE4T.cjs +0 -1
- package/ListBoxSection-Cicbu8pS.js +0 -1058
- package/ListKeyboardDelegate-ZKBk2IId.cjs +0 -1
- package/OverlayArrow-DB_aVTVM.js +0 -507
- package/OverlayArrow-DpZ1FqOd.cjs +0 -1
- package/ProgressBar-ClysdvqU.cjs +0 -1
- package/ProgressBar-DTn23Zkr.js +0 -53
- package/Radio-CCN3o3s-.js +0 -313
- package/Radio-Cz0vLIBw.cjs +0 -1
- package/RangeCalendar-BY82hPRu.cjs +0 -11
- package/Select-MwvnbChP.js +0 -664
- package/Select-lhIwwJL7.cjs +0 -1
- package/SelectionManager-BJjqIWtf.cjs +0 -1
- package/Separator-DPLEx950.cjs +0 -1
- package/Separator-DvvVAypT.js +0 -59
- package/Skeleton-BAwbfKBW.cjs +0 -1
- package/Skeleton-BePDRmrO.js +0 -40
- package/Spinner-VSyPhiJ9.js +0 -51
- package/Spinner-vof0Y9Hh.cjs +0 -6
- package/TabList-CWMlbijV.cjs +0 -1
- package/TabList-VpTv_Xff.js +0 -435
- package/Table-DGYC-sDq.cjs +0 -16
- package/Tag-bYq-wf5D.cjs +0 -1
- package/Tag-rI-NhuT0.js +0 -748
- package/Text-BPcfhYQ9.js +0 -32
- package/Text-DBHWi5gA.cjs +0 -1
- package/TextArea-CrEALC58.js +0 -119
- package/TextArea-DJKHFKuI.cjs +0 -1
- package/TextField-BAX93sq7.cjs +0 -1
- package/TextField-Dma22dnD.js +0 -120
- package/TextField.module-BcpPBWnD.js +0 -13
- package/TextField.module-Dw5Rtn9y.cjs +0 -1
- package/Toast-DdmSvNaO.cjs +0 -1
- package/ToggleButtonGroup-98z8Dw8-.js +0 -211
- package/ToggleButtonGroup-DZ_wo0qx.cjs +0 -1
- package/Tooltip-DjNc93tV.js +0 -285
- package/Tooltip-pN5W3IK6.cjs +0 -1
- package/circle-check-BErh6TKu.js +0 -26
- package/circle-check-OVUGxwp9.cjs +0 -11
- package/filterDOMProps-BS2lrgFA.cjs +0 -1
- package/filterDOMProps-D6KHYVBX.js +0 -24
- package/index-Dsz3aiWt.cjs +0 -17
- package/mergeProps-B5KXZAI3.cjs +0 -1
- package/tokens-5PzK5zK7.cjs +0 -1
- package/triangle-alert-B_qAPmWC.js +0 -21
- package/triangle-alert-BviJNFjf.cjs +0 -6
- package/useButton-BoIV3kDJ.js +0 -47
- package/useButton-D60q0SQw.cjs +0 -1
- package/useDateFormatter-BJBt0jk_.cjs +0 -1
- package/useFormValidation-BlFGdPZB.cjs +0 -1
- package/useFormValidation-BzzruZKm.js +0 -215
- package/useHover-BE_XKZKe.cjs +0 -1
- package/useListState-wLau6fXo.cjs +0 -1
- package/usePress-BooY_CAy.cjs +0 -7
- package/useTextField-DnRrCg5o.cjs +0 -1
- package/useToggleState-Bz5rAf4C.js +0 -18
- package/useToggleState-DoIkSQdj.cjs +0 -1
- package/utils-CoCR_Fce.js +0 -234
- package/utils-Dvdohqm9.cjs +0 -1
package/Tooltip-DjNc93tV.js
DELETED
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { jsxs as N, jsx as h } from "react/jsx-runtime";
|
|
2
|
-
import { c as W } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
import { d as k, a as U, b as j, e as K, c as V, f as z, $ as Y } from "./OverlayArrow-DB_aVTVM.js";
|
|
4
|
-
import { $ as q, f as G, a as J } from "./utils-KLjWgdLR.js";
|
|
5
|
-
import { a as y, c as Q, $ as X } from "./mergeProps-C1U1OIeJ.js";
|
|
6
|
-
import { a as Z, d as ee } from "./useFocusable-BjE42axF.js";
|
|
7
|
-
import c, { useContext as E, useState as _, useMemo as L, useRef as m, useEffect as O, forwardRef as te, createContext as M } from "react";
|
|
8
|
-
import re from "react-dom";
|
|
9
|
-
import { $ as oe } from "./SSRProvider-40TXmsUG.js";
|
|
10
|
-
import { $ as H, f as le, a as ne } from "./useHover-DQvJ3Y-W.js";
|
|
11
|
-
import { $ as ae } from "./filterDOMProps-D6KHYVBX.js";
|
|
12
|
-
import './assets/Tooltip.css';const w = /* @__PURE__ */ c.createContext(null);
|
|
13
|
-
function ie(t) {
|
|
14
|
-
let { children: r } = t, e = E(w), [n, a] = _(0), i = L(() => ({
|
|
15
|
-
parent: e,
|
|
16
|
-
modalCount: n,
|
|
17
|
-
addModal() {
|
|
18
|
-
a((l) => l + 1), e && e.addModal();
|
|
19
|
-
},
|
|
20
|
-
removeModal() {
|
|
21
|
-
a((l) => l - 1), e && e.removeModal();
|
|
22
|
-
}
|
|
23
|
-
}), [
|
|
24
|
-
e,
|
|
25
|
-
n
|
|
26
|
-
]);
|
|
27
|
-
return /* @__PURE__ */ c.createElement(w.Provider, {
|
|
28
|
-
value: i
|
|
29
|
-
}, r);
|
|
30
|
-
}
|
|
31
|
-
function ce() {
|
|
32
|
-
let t = E(w);
|
|
33
|
-
return {
|
|
34
|
-
modalProviderProps: {
|
|
35
|
-
"aria-hidden": t && t.modalCount > 0 ? !0 : void 0
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function fe(t) {
|
|
40
|
-
let { modalProviderProps: r } = ce();
|
|
41
|
-
return /* @__PURE__ */ c.createElement("div", {
|
|
42
|
-
"data-overlay-container": !0,
|
|
43
|
-
...t,
|
|
44
|
-
...r
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function de(t) {
|
|
48
|
-
return /* @__PURE__ */ c.createElement(ie, null, /* @__PURE__ */ c.createElement(fe, t));
|
|
49
|
-
}
|
|
50
|
-
function ue(t) {
|
|
51
|
-
let r = oe(), { portalContainer: e = r ? null : document.body, ...n } = t, { getContainer: a } = k();
|
|
52
|
-
if (!t.portalContainer && a && (e = a()), c.useEffect(() => {
|
|
53
|
-
if (e != null && e.closest("[data-overlay-container]")) throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.");
|
|
54
|
-
}, [
|
|
55
|
-
e
|
|
56
|
-
]), !e) return null;
|
|
57
|
-
let i = /* @__PURE__ */ c.createElement(de, n);
|
|
58
|
-
return /* @__PURE__ */ re.createPortal(i, e);
|
|
59
|
-
}
|
|
60
|
-
function se(t, r) {
|
|
61
|
-
let e = ae(t, {
|
|
62
|
-
labelable: !0
|
|
63
|
-
}), { hoverProps: n } = H({
|
|
64
|
-
onHoverStart: () => r == null ? void 0 : r.open(!0),
|
|
65
|
-
onHoverEnd: () => r == null ? void 0 : r.close()
|
|
66
|
-
});
|
|
67
|
-
return {
|
|
68
|
-
tooltipProps: y(e, n, {
|
|
69
|
-
role: "tooltip"
|
|
70
|
-
})
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
function $e(t, r, e) {
|
|
74
|
-
let { isDisabled: n, trigger: a } = t, i = Q(), l = m(!1), o = m(!1), u = () => {
|
|
75
|
-
(l.current || o.current) && r.open(o.current);
|
|
76
|
-
}, f = (g) => {
|
|
77
|
-
!l.current && !o.current && r.close(g);
|
|
78
|
-
};
|
|
79
|
-
O(() => {
|
|
80
|
-
let g = (R) => {
|
|
81
|
-
e && e.current && R.key === "Escape" && (R.stopPropagation(), r.close(!0));
|
|
82
|
-
};
|
|
83
|
-
if (r.isOpen)
|
|
84
|
-
return document.addEventListener("keydown", g, !0), () => {
|
|
85
|
-
document.removeEventListener("keydown", g, !0);
|
|
86
|
-
};
|
|
87
|
-
}, [
|
|
88
|
-
e,
|
|
89
|
-
r
|
|
90
|
-
]);
|
|
91
|
-
let b = () => {
|
|
92
|
-
a !== "focus" && (le() === "pointer" ? l.current = !0 : l.current = !1, u());
|
|
93
|
-
}, v = () => {
|
|
94
|
-
a !== "focus" && (o.current = !1, l.current = !1, f());
|
|
95
|
-
}, x = () => {
|
|
96
|
-
o.current = !1, l.current = !1, f(!0);
|
|
97
|
-
}, T = () => {
|
|
98
|
-
ne() && (o.current = !0, u());
|
|
99
|
-
}, d = () => {
|
|
100
|
-
o.current = !1, l.current = !1, f(!0);
|
|
101
|
-
}, { hoverProps: A } = H({
|
|
102
|
-
isDisabled: n,
|
|
103
|
-
onHoverStart: b,
|
|
104
|
-
onHoverEnd: v
|
|
105
|
-
}), { focusableProps: F } = Z({
|
|
106
|
-
isDisabled: n,
|
|
107
|
-
onFocus: T,
|
|
108
|
-
onBlur: d
|
|
109
|
-
}, e);
|
|
110
|
-
return {
|
|
111
|
-
triggerProps: {
|
|
112
|
-
"aria-describedby": r.isOpen ? i : void 0,
|
|
113
|
-
...y(F, A, {
|
|
114
|
-
onPointerDown: x,
|
|
115
|
-
onKeyDown: x,
|
|
116
|
-
tabIndex: void 0
|
|
117
|
-
})
|
|
118
|
-
},
|
|
119
|
-
tooltipProps: {
|
|
120
|
-
id: i
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
const pe = 1500, D = 500;
|
|
125
|
-
let $ = {}, be = 0, P = !1, s = null, p = null;
|
|
126
|
-
function B(t = {}) {
|
|
127
|
-
let { delay: r = pe, closeDelay: e = D } = t, { isOpen: n, open: a, close: i } = U(t), l = L(() => `${++be}`, []), o = m(null), u = m(i), f = () => {
|
|
128
|
-
$[l] = x;
|
|
129
|
-
}, b = () => {
|
|
130
|
-
for (let d in $) d !== l && ($[d](!0), delete $[d]);
|
|
131
|
-
}, v = () => {
|
|
132
|
-
o.current && clearTimeout(o.current), o.current = null, b(), f(), P = !0, a(), s && (clearTimeout(s), s = null), p && (clearTimeout(p), p = null);
|
|
133
|
-
}, x = (d) => {
|
|
134
|
-
d || e <= 0 ? (o.current && clearTimeout(o.current), o.current = null, u.current()) : o.current || (o.current = setTimeout(() => {
|
|
135
|
-
o.current = null, u.current();
|
|
136
|
-
}, e)), s && (clearTimeout(s), s = null), P && (p && clearTimeout(p), p = setTimeout(() => {
|
|
137
|
-
delete $[l], p = null, P = !1;
|
|
138
|
-
}, Math.max(D, e)));
|
|
139
|
-
}, T = () => {
|
|
140
|
-
b(), f(), !n && !s && !P ? s = setTimeout(() => {
|
|
141
|
-
s = null, P = !0, v();
|
|
142
|
-
}, r) : n || v();
|
|
143
|
-
};
|
|
144
|
-
return O(() => {
|
|
145
|
-
u.current = i;
|
|
146
|
-
}, [
|
|
147
|
-
i
|
|
148
|
-
]), O(() => () => {
|
|
149
|
-
o.current && clearTimeout(o.current), $[l] && delete $[l];
|
|
150
|
-
}, [
|
|
151
|
-
l
|
|
152
|
-
]), {
|
|
153
|
-
isOpen: n,
|
|
154
|
-
open: (d) => {
|
|
155
|
-
!d && r > 0 && !o.current ? T() : v();
|
|
156
|
-
},
|
|
157
|
-
close: x
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
const C = /* @__PURE__ */ M(null), I = /* @__PURE__ */ M(null);
|
|
161
|
-
function me(t) {
|
|
162
|
-
let r = B(t), e = m(null), { triggerProps: n, tooltipProps: a } = $e(t, r, e);
|
|
163
|
-
return /* @__PURE__ */ c.createElement(G, {
|
|
164
|
-
values: [
|
|
165
|
-
[
|
|
166
|
-
C,
|
|
167
|
-
r
|
|
168
|
-
],
|
|
169
|
-
[
|
|
170
|
-
I,
|
|
171
|
-
{
|
|
172
|
-
...a,
|
|
173
|
-
triggerRef: e
|
|
174
|
-
}
|
|
175
|
-
]
|
|
176
|
-
]
|
|
177
|
-
}, /* @__PURE__ */ c.createElement(ee, {
|
|
178
|
-
...n,
|
|
179
|
-
ref: e
|
|
180
|
-
}, t.children));
|
|
181
|
-
}
|
|
182
|
-
const ve = /* @__PURE__ */ te(function({ UNSTABLE_portalContainer: r, ...e }, n) {
|
|
183
|
-
[e, n] = q(e, n, I);
|
|
184
|
-
let a = E(C), i = B(e), l = e.isOpen != null || e.defaultOpen != null || !a ? i : a, o = j(n, l.isOpen) || e.isExiting || !1;
|
|
185
|
-
return !l.isOpen && !o ? null : /* @__PURE__ */ c.createElement(ue, {
|
|
186
|
-
portalContainer: r
|
|
187
|
-
}, /* @__PURE__ */ c.createElement(xe, {
|
|
188
|
-
...e,
|
|
189
|
-
tooltipRef: n,
|
|
190
|
-
isExiting: o
|
|
191
|
-
}));
|
|
192
|
-
});
|
|
193
|
-
function xe(t) {
|
|
194
|
-
let r = E(C), e = m(null), [n, a] = _(0);
|
|
195
|
-
X(() => {
|
|
196
|
-
e.current && r.isOpen && a(e.current.getBoundingClientRect().width);
|
|
197
|
-
}, [
|
|
198
|
-
r.isOpen,
|
|
199
|
-
e
|
|
200
|
-
]);
|
|
201
|
-
let { overlayProps: i, arrowProps: l, placement: o } = K({
|
|
202
|
-
placement: t.placement || "top",
|
|
203
|
-
targetRef: t.triggerRef,
|
|
204
|
-
overlayRef: t.tooltipRef,
|
|
205
|
-
offset: t.offset,
|
|
206
|
-
crossOffset: t.crossOffset,
|
|
207
|
-
isOpen: r.isOpen,
|
|
208
|
-
arrowSize: n,
|
|
209
|
-
arrowBoundaryOffset: t.arrowBoundaryOffset,
|
|
210
|
-
shouldFlip: t.shouldFlip,
|
|
211
|
-
onClose: () => r.close(!0)
|
|
212
|
-
}), u = V(t.tooltipRef, !!o) || t.isEntering || !1, f = J({
|
|
213
|
-
...t,
|
|
214
|
-
defaultClassName: "react-aria-Tooltip",
|
|
215
|
-
values: {
|
|
216
|
-
placement: o,
|
|
217
|
-
isEntering: u,
|
|
218
|
-
isExiting: t.isExiting,
|
|
219
|
-
state: r
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
t = y(t, i);
|
|
223
|
-
let { tooltipProps: b } = se(t, r);
|
|
224
|
-
return /* @__PURE__ */ c.createElement("div", {
|
|
225
|
-
...b,
|
|
226
|
-
ref: t.tooltipRef,
|
|
227
|
-
...f,
|
|
228
|
-
style: {
|
|
229
|
-
...i.style,
|
|
230
|
-
...f.style
|
|
231
|
-
},
|
|
232
|
-
"data-placement": o ?? void 0,
|
|
233
|
-
"data-entering": u || void 0,
|
|
234
|
-
"data-exiting": t.isExiting || void 0
|
|
235
|
-
}, /* @__PURE__ */ c.createElement(z.Provider, {
|
|
236
|
-
value: {
|
|
237
|
-
...l,
|
|
238
|
-
placement: o,
|
|
239
|
-
ref: e
|
|
240
|
-
}
|
|
241
|
-
}, f.children));
|
|
242
|
-
}
|
|
243
|
-
const ge = "_tooltip_1l8u8_4", Pe = "_arrow_1l8u8_17", S = {
|
|
244
|
-
tooltip: ge,
|
|
245
|
-
arrow: Pe
|
|
246
|
-
};
|
|
247
|
-
function Le({ children: t, className: r, ...e }) {
|
|
248
|
-
return /* @__PURE__ */ N(
|
|
249
|
-
ve,
|
|
250
|
-
{
|
|
251
|
-
className: W(S.tooltip, r),
|
|
252
|
-
...e,
|
|
253
|
-
children: [
|
|
254
|
-
/* @__PURE__ */ h(Y, { className: S.arrow, children: /* @__PURE__ */ h(
|
|
255
|
-
"svg",
|
|
256
|
-
{
|
|
257
|
-
width: 8,
|
|
258
|
-
height: 8,
|
|
259
|
-
viewBox: "0 0 8 8",
|
|
260
|
-
children: /* @__PURE__ */ h("path", { d: "M0 0 L4 4 L8 0" })
|
|
261
|
-
}
|
|
262
|
-
) }),
|
|
263
|
-
t
|
|
264
|
-
]
|
|
265
|
-
}
|
|
266
|
-
);
|
|
267
|
-
}
|
|
268
|
-
function Me({
|
|
269
|
-
children: t,
|
|
270
|
-
delay: r = 0,
|
|
271
|
-
...e
|
|
272
|
-
}) {
|
|
273
|
-
return /* @__PURE__ */ h(
|
|
274
|
-
me,
|
|
275
|
-
{
|
|
276
|
-
delay: r,
|
|
277
|
-
...e,
|
|
278
|
-
children: t
|
|
279
|
-
}
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
|
-
export {
|
|
283
|
-
Le as T,
|
|
284
|
-
Me as a
|
|
285
|
-
};
|
package/Tooltip-pN5W3IK6.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Tooltip.css');const E=require("react/jsx-runtime"),B=require("./clsx-C11secjj.cjs"),b=require("./OverlayArrow-DpZ1FqOd.cjs"),C=require("./utils-DHNZrQmj.cjs"),T=require("./mergeProps-B5KXZAI3.cjs"),q=require("./useFocusable-D7I1ujkW.cjs"),o=require("react"),I=require("react-dom"),j=require("./SSRProvider-Bc-sMhsT.cjs"),h=require("./useHover-BE_XKZKe.cjs"),A=require("./filterDOMProps-BS2lrgFA.cjs"),w=o.createContext(null);function F(t){let{children:r}=t,e=o.useContext(w),[a,i]=o.useState(0),c=o.useMemo(()=>({parent:e,modalCount:a,addModal(){i(l=>l+1),e&&e.addModal()},removeModal(){i(l=>l-1),e&&e.removeModal()}}),[e,a]);return o.createElement(w.Provider,{value:c},r)}function N(){let t=o.useContext(w);return{modalProviderProps:{"aria-hidden":t&&t.modalCount>0?!0:void 0}}}function W(t){let{modalProviderProps:r}=N();return o.createElement("div",{"data-overlay-container":!0,...t,...r})}function k(t){return o.createElement(F,null,o.createElement(W,t))}function U(t){let r=j.$b5e257d569688ac6$export$535bd6ca7f90a273(),{portalContainer:e=r?null:document.body,...a}=t,{getContainer:i}=b.$96b38030c423d352$export$9fc1347d4195ccb3();if(!t.portalContainer&&i&&(e=i()),o.useEffect(()=>{if(e!=null&&e.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[e]),!e)return null;let c=o.createElement(k,a);return I.createPortal(c,e)}function K(t,r){let e=A.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),{hoverProps:a}=h.$6179b936705e76d3$export$ae780daf29e6d456({onHoverStart:()=>r==null?void 0:r.open(!0),onHoverEnd:()=>r==null?void 0:r.close()});return{tooltipProps:T.$3ef42575df84b30b$export$9d1611c77c2fe928(e,a,{role:"tooltip"})}}function V(t,r,e){let{isDisabled:a,trigger:i}=t,c=T.$bdb11010cef70236$export$f680877a34711e37(),l=o.useRef(!1),n=o.useRef(!1),d=()=>{(l.current||n.current)&&r.open(n.current)},u=g=>{!l.current&&!n.current&&r.close(g)};o.useEffect(()=>{let g=R=>{e&&e.current&&R.key==="Escape"&&(R.stopPropagation(),r.close(!0))};if(r.isOpen)return document.addEventListener("keydown",g,!0),()=>{document.removeEventListener("keydown",g,!0)}},[e,r]);let x=()=>{i!=="focus"&&(h.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="pointer"?l.current=!0:l.current=!1,d())},m=()=>{i!=="focus"&&(n.current=!1,l.current=!1,u())},v=()=>{n.current=!1,l.current=!1,u(!0)},O=()=>{h.$507fabe10e71c6fb$export$b9b3dfddab17db27()&&(n.current=!0,d())},f=()=>{n.current=!1,l.current=!1,u(!0)},{hoverProps:L}=h.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:a,onHoverStart:x,onHoverEnd:m}),{focusableProps:_}=q.$f645667febf57a63$export$4c014de7c8940b4c({isDisabled:a,onFocus:O,onBlur:f},e);return{triggerProps:{"aria-describedby":r.isOpen?c:void 0,...T.$3ef42575df84b30b$export$9d1611c77c2fe928(_,L,{onPointerDown:v,onKeyDown:v,tabIndex:void 0})},tooltipProps:{id:c}}}const z=1500,S=500;let $={},Y=0,P=!1,s=null,p=null;function M(t={}){let{delay:r=z,closeDelay:e=S}=t,{isOpen:a,open:i,close:c}=b.$fc909762b330b746$export$61c6a8c84e605fb6(t),l=o.useMemo(()=>`${++Y}`,[]),n=o.useRef(null),d=o.useRef(c),u=()=>{$[l]=v},x=()=>{for(let f in $)f!==l&&($[f](!0),delete $[f])},m=()=>{n.current&&clearTimeout(n.current),n.current=null,x(),u(),P=!0,i(),s&&(clearTimeout(s),s=null),p&&(clearTimeout(p),p=null)},v=f=>{f||e<=0?(n.current&&clearTimeout(n.current),n.current=null,d.current()):n.current||(n.current=setTimeout(()=>{n.current=null,d.current()},e)),s&&(clearTimeout(s),s=null),P&&(p&&clearTimeout(p),p=setTimeout(()=>{delete $[l],p=null,P=!1},Math.max(S,e)))},O=()=>{x(),u(),!a&&!s&&!P?s=setTimeout(()=>{s=null,P=!0,m()},r):a||m()};return o.useEffect(()=>{d.current=c},[c]),o.useEffect(()=>()=>{n.current&&clearTimeout(n.current),$[l]&&delete $[l]},[l]),{isOpen:a,open:f=>{!f&&r>0&&!n.current?O():m()},close:v}}const y=o.createContext(null),H=o.createContext(null);function G(t){let r=M(t),e=o.useRef(null),{triggerProps:a,tooltipProps:i}=V(t,r,e);return o.createElement(C.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[y,r],[H,{...i,triggerRef:e}]]},o.createElement(q.$f645667febf57a63$export$13f3202a3e5ddd5,{...a,ref:e},t.children))}const J=o.forwardRef(function({UNSTABLE_portalContainer:r,...e},a){[e,a]=C.$64fa3d84918910a7$export$29f1550f4b0d4415(e,a,H);let i=o.useContext(y),c=M(e),l=e.isOpen!=null||e.defaultOpen!=null||!i?c:i,n=b.$d3f049242431219c$export$45fda7c47f93fd48(a,l.isOpen)||e.isExiting||!1;return!l.isOpen&&!n?null:o.createElement(U,{portalContainer:r},o.createElement(Q,{...e,tooltipRef:a,isExiting:n}))});function Q(t){let r=o.useContext(y),e=o.useRef(null),[a,i]=o.useState(0);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{e.current&&r.isOpen&&i(e.current.getBoundingClientRect().width)},[r.isOpen,e]);let{overlayProps:c,arrowProps:l,placement:n}=b.$2a41e45df1593e64$export$d39e1813b3bdd0e1({placement:t.placement||"top",targetRef:t.triggerRef,overlayRef:t.tooltipRef,offset:t.offset,crossOffset:t.crossOffset,isOpen:r.isOpen,arrowSize:a,arrowBoundaryOffset:t.arrowBoundaryOffset,shouldFlip:t.shouldFlip,onClose:()=>r.close(!0)}),d=b.$d3f049242431219c$export$6d3443f2c48bfc20(t.tooltipRef,!!n)||t.isEntering||!1,u=C.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultClassName:"react-aria-Tooltip",values:{placement:n,isEntering:d,isExiting:t.isExiting,state:r}});t=T.$3ef42575df84b30b$export$9d1611c77c2fe928(t,c);let{tooltipProps:x}=K(t,r);return o.createElement("div",{...x,ref:t.tooltipRef,...u,style:{...c.style,...u.style},"data-placement":n??void 0,"data-entering":d||void 0,"data-exiting":t.isExiting||void 0},o.createElement(b.$44f671af83e7d9e0$export$2de4954e8ae13b9f.Provider,{value:{...l,placement:n,ref:e}},u.children))}const X="_tooltip_1l8u8_4",Z="_arrow_1l8u8_17",D={tooltip:X,arrow:Z};function ee({children:t,className:r,...e}){return E.jsxs(J,{className:B.clsx(D.tooltip,r),...e,children:[E.jsx(b.$44f671af83e7d9e0$export$746d02f47f4d381,{className:D.arrow,children:E.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:E.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),t]})}function te({children:t,delay:r=0,...e}){return E.jsx(G,{delay:r,...e,children:t})}exports.Tooltip=ee;exports.TooltipTrigger=te;
|
package/circle-check-BErh6TKu.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { c } from "./createLucideIcon-XRdN60yz.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.525.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const e = [
|
|
9
|
-
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
10
|
-
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
11
|
-
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
12
|
-
], i = c("circle-alert", e);
|
|
13
|
-
/**
|
|
14
|
-
* @license lucide-react v0.525.0 - ISC
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the ISC license.
|
|
17
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
|
-
const r = [
|
|
20
|
-
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
21
|
-
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
22
|
-
], l = c("circle-check", r);
|
|
23
|
-
export {
|
|
24
|
-
i as C,
|
|
25
|
-
l as a
|
|
26
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./createLucideIcon-CTVXwe6i.cjs");/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],r=c.createLucideIcon("circle-alert",e);/**
|
|
7
|
-
* @license lucide-react v0.525.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const i=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],l=c.createLucideIcon("circle-check",i);exports.CircleAlert=r;exports.CircleCheck=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=new Set(["id"]),c=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=/^(data-.*)$/;function n(a,t={}){let{labelable:l,isLink:b,propNames:r}=t,d={};for(const e in a)Object.prototype.hasOwnProperty.call(a,e)&&(o.has(e)||l&&c.has(e)||b&&i.has(e)||r!=null&&r.has(e)||s.test(e))&&(d[e]=a[e]);return d}exports.$65484d02dcb7eb3e$export$457c3d6518dd4c6f=n;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const b = /* @__PURE__ */ new Set([
|
|
2
|
-
"id"
|
|
3
|
-
]), i = /* @__PURE__ */ new Set([
|
|
4
|
-
"aria-label",
|
|
5
|
-
"aria-labelledby",
|
|
6
|
-
"aria-describedby",
|
|
7
|
-
"aria-details"
|
|
8
|
-
]), n = /* @__PURE__ */ new Set([
|
|
9
|
-
"href",
|
|
10
|
-
"hrefLang",
|
|
11
|
-
"target",
|
|
12
|
-
"rel",
|
|
13
|
-
"download",
|
|
14
|
-
"ping",
|
|
15
|
-
"referrerPolicy"
|
|
16
|
-
]), s = /^(data-.*)$/;
|
|
17
|
-
function c(a, t = {}) {
|
|
18
|
-
let { labelable: d, isLink: o, propNames: r } = t, l = {};
|
|
19
|
-
for (const e in a) Object.prototype.hasOwnProperty.call(a, e) && (b.has(e) || d && i.has(e) || o && n.has(e) || r != null && r.has(e) || s.test(e)) && (l[e] = a[e]);
|
|
20
|
-
return l;
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
c as $
|
|
24
|
-
};
|
package/index-Dsz3aiWt.cjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";const w=require("react");var L={exports:{}},y={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* use-sync-external-store-shim.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var m;function T(){if(m)return y;m=1;var s=w;function d(t,o){return t===o&&(t!==0||1/t===1/o)||t!==t&&o!==o}var c=typeof Object.is=="function"?Object.is:d,_=s.useState,u=s.useEffect,S=s.useLayoutEffect,E=s.useDebugValue;function p(t,o){var e=o(),n=_({inst:{value:e,getSnapshot:o}}),r=n[0].inst,a=n[1];return S(function(){r.value=e,r.getSnapshot=o,f(r)&&a({inst:r})},[t,e,o]),u(function(){return f(r)&&a({inst:r}),t(function(){f(r)&&a({inst:r})})},[t]),E(e),e}function f(t){var o=t.getSnapshot;t=t.value;try{var e=o();return!c(t,e)}catch{return!0}}function O(t,o){return o()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?O:p;return y.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:l,y}var h={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* use-sync-external-store-shim.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var x;function A(){return x||(x=1,process.env.NODE_ENV!=="production"&&function(){function s(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}function d(e,n){l||u.startTransition===void 0||(l=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var r=n();if(!t){var a=n();S(r,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),t=!0)}a=E({inst:{value:r,getSnapshot:n}});var i=a[0].inst,v=a[1];return f(function(){i.value=r,i.getSnapshot=n,c(i)&&v({inst:i})},[e,r,n]),p(function(){return c(i)&&v({inst:i}),e(function(){c(i)&&v({inst:i})})},[e]),O(r),r}function c(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!S(e,r)}catch{return!0}}function _(e,n){return n()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=w,S=typeof Object.is=="function"?Object.is:s,E=u.useState,p=u.useEffect,f=u.useLayoutEffect,O=u.useDebugValue,l=!1,t=!1,o=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_:d;h.useSyncExternalStore=u.useSyncExternalStore!==void 0?u.useSyncExternalStore:o,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),h}process.env.NODE_ENV==="production"?L.exports=T():L.exports=A();var g=L.exports;exports.shimExports=g;
|
package/mergeProps-B5KXZAI3.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const l=require("react"),b=require("./SSRProvider-Bc-sMhsT.cjs"),p=require("./clsx-C11secjj.cjs"),a=typeof document<"u"?l.useLayoutEffect:()=>{};function i(r){const e=l.useRef(null);return a(()=>{e.current=r},[r]),l.useCallback((...c)=>{const f=e.current;return f==null?void 0:f(...c)},[])}function x(r){let[e,c]=l.useState(r),f=l.useRef(null),t=i(()=>{if(!f.current)return;let n=f.current.next();if(n.done){f.current=null;return}e===n.value?t():c(n.value)});a(()=>{f.current&&t()});let u=i(n=>{f.current=n(e),t()});return[e,u]}let y=!!(typeof window<"u"&&window.document&&window.document.createElement),o=new Map,d;typeof FinalizationRegistry<"u"&&(d=new FinalizationRegistry(r=>{o.delete(r)}));function $(r){let[e,c]=l.useState(r),f=l.useRef(null),t=b.$b5e257d569688ac6$export$619500959fc48b26(e),u=l.useRef(null);if(d&&d.register(u,t),y){const n=o.get(t);n&&!n.includes(f)?n.push(f):o.set(t,[f])}return a(()=>{let n=t;return()=>{d&&d.unregister(u),o.delete(n)}},[t]),l.useEffect(()=>{let n=f.current;return n&&c(n),()=>{n&&(f.current=null)}}),t}function R(r,e){if(r===e)return r;let c=o.get(r);if(c)return c.forEach(t=>t.current=e),e;let f=o.get(e);return f?(f.forEach(t=>t.current=r),r):e}function v(r=[]){let e=$(),[c,f]=x(e),t=l.useCallback(()=>{f(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,f]);return a(t,[e,t,...r]),c}function s(...r){return(...e)=>{for(let c of r)typeof c=="function"&&c(...e)}}function g(...r){let e={...r[0]};for(let c=1;c<r.length;c++){let f=r[c];for(let t in f){let u=e[t],n=f[t];typeof u=="function"&&typeof n=="function"&&t[0]==="o"&&t[1]==="n"&&t.charCodeAt(2)>=65&&t.charCodeAt(2)<=90?e[t]=s(u,n):(t==="className"||t==="UNSAFE_className")&&typeof u=="string"&&typeof n=="string"?e[t]=p.clsx(u,n):t==="id"&&u&&n?e.id=R(u,n):e[t]=n!==void 0?n:u}}return e}exports.$3ef42575df84b30b$export$9d1611c77c2fe928=g;exports.$8ae05eaa5c114e9c$export$7f54fc3180508a52=i;exports.$bdb11010cef70236$export$b4cc09c592e8fdb8=v;exports.$bdb11010cef70236$export$f680877a34711e37=$;exports.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c=a;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=s;
|
package/tokens-5PzK5zK7.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r={black:"#000000",white:"#ffffff",blackHover:"#0d0d0d",whiteHover:"#e6e6e6",gray10:"#f2f2f2",gray20:"#e6e6e6",gray30:"#d9d9d9",gray40:"#cccccc",gray50:"#bfbfbf",gray60:"#b3b3b3",gray70:"#a6a6a6",gray80:"#999999",gray90:"#8c8c8c",gray100:"#808080",gray110:"#737373",gray120:"#666666",gray130:"#5d5d5d",gray140:"#525252",gray150:"#474747",gray160:"#383838",gray170:"#333333",gray180:"#262626",gray190:"#212121",gray200:"#171717",blue10:"#eaf2f6",blue20:"#d5e5ed",blue40:"#abcbdb",blue50:"#94BCD1",blue60:"#82b0c9",blue70:"#6CA3C0",blue80:"#5897b8",blue90:"#4289ad",blue100:"#2e7ca5",blue110:"#2C7399",blue120:"#29698C",blue130:"#25607f",blue150:"#143c50",purple80:"#b46ab4",purple110:"#954b95",red100:"#b90835",signalBlue10:"#eaf2f6",signalBlue100:"#0066cc",signalGreen20:"#d5f2d9",signalGreen30:"#bae5c5",signalGreen100:"#008d3c",signalYellow10:"#fff8e1",signalYellow100:"#fdb813",signalRed10:"#ffefef",signalRed20:"#ffdfdf",signalRed30:"#fcc8c8",signalRed40:"#f9b0b0",signalRed50:"#f69999",signalRed60:"#f38181",signalRed70:"#ef6a6a",signalRed80:"#eb4e4e",signalRed90:"#e93b3b",signalRed100:"#e62323",signalRed110:"#d12020",signalRed120:"#bc1d1d",signalRed130:"#a71919",signalRed140:"#921616",signalRed150:"#7d1313",signalRed160:"#691010",signalRed170:"#540d0d",signalRed180:"#3f0a0a",signalRed190:"#2a0606",signalRed200:"#150303"},a={fontFamily:'"Inter", sans-serif',lineHeight10:1,lineHeight20:1.125,lineHeight30:1.25,lineHeight40:1.375,lineHeight50:1.5,lineHeight60:1.75,lineHeight70:2,lineHeight80:2.25,lineHeight90:2.5,lineHeight100:2.75,fontSize10:"0.75rem",fontSize20:"0.875rem",fontSize30:"1rem",fontSize40:"1.125rem",fontSize50:"1.25rem",fontSize60:"1.5rem",fontSize70:"1.75rem",fontSize80:"2rem",fontSize90:"2.25rem",fontSize100:"2.625rem",weightThin:100,weightExtraLight:200,weightLight:300,weightRegular:400,weightMedium:500,weightSemiBold:600,weightBold:700,weightExtraBold:800,weightBlack:900},g={10:"0.125rem",20:"0.25rem",30:"0.5rem",40:"0.75rem",50:"1rem",60:"1.5rem",70:"2rem",80:"2.5rem",90:"3rem",100:"4rem",110:"5rem",120:"6rem"},l={focus:"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)"},i={slow:"500ms",normal:"300ms",fast:"250ms"},e={sm:480,md:768,lg:1024,xl:1280},t={xs:`(max-width: ${e.sm-1}px)`,sm:`(min-width: ${e.sm}px)`,md:`(min-width: ${e.md}px)`,lg:`(min-width: ${e.lg}px)`,xl:`(min-width: ${e.xl}px)`,forcedColorsMode:"(forced-colors: active)",darkMode:"(prefers-color-scheme: dark)",prefersReducedMotion:"(prefers-reduced-motion: reduced)"},d={background:`light-dark(${r.white}, ${r.gray200})`,backgroundHover:`light-dark(${r.whiteHover}, ${r.gray190})`,backgroundInverse:`light-dark(${r.gray200}, ${r.gray10})`,layer01:`light-dark(${r.gray10}, ${r.gray180})`,layerHover01:`light-dark(${r.gray20}, ${r.gray170})`,layerSelected01:`light-dark(${r.gray30}, ${r.gray160})`,layerSelectedHover01:`light-dark(${r.gray40}, ${r.gray150})`,layer02:`light-dark(${r.white}, ${r.gray160})`,layerHover02:`light-dark(${r.whiteHover}, ${r.gray150})`,layerSelected02:`light-dark(${r.gray30}, ${r.gray140})`,layerSelectedHover02:`light-dark(${r.gray40}, ${r.gray130})`,layerAccent01:`light-dark(${r.gray30}, ${r.gray160})`,layerAccentHover01:`light-dark(${r.gray40}, ${r.gray150})`,layerAccentSelected01:`light-dark(${r.gray50}, ${r.gray140})`,layerAccent02:`light-dark(${r.gray10}, ${r.gray180})`,layerAccentHover02:`light-dark(${r.gray20}, ${r.gray170})`,layerAccentSelected02:`light-dark(${r.gray30}, ${r.gray160})`,brandPrimary:`light-dark(${r.red100}, ${r.red100})`,borderPrimary:`light-dark(${r.gray200}, ${r.gray10})`,borderSecondary:`light-dark(${r.gray110}, ${r.gray90})`,borderSubtle:`light-dark(${r.gray50}, ${r.gray160})`,borderTertiary:`light-dark(${r.blue150}, ${r.blue100})`,borderDisabled:`light-dark(${r.gray50}, ${r.gray140})`,field01:`light-dark(${r.gray10}, ${r.gray180})`,fieldHover01:`light-dark(${r.gray20}, ${r.gray170})`,fieldActive01:`light-dark(${r.gray30}, ${r.gray160})`,field02:`light-dark(${r.white}, ${r.gray160})`,fieldHover02:`light-dark(${r.whiteHover}, ${r.gray150})`,fieldActive02:`light-dark(${r.gray30}, ${r.gray140})`,fieldDisabled:`light-dark(${r.gray10}, ${r.gray180})`,fieldSkeleton:`light-dark(${r.gray10}, ${r.gray180})`,skeleton01:`light-dark(${r.gray10}, ${r.gray180})`,skeleton02:`light-dark(${r.gray30}, ${r.gray160})`,iconPrimary:`light-dark(${r.gray200}, ${r.gray10})`,iconSecondary:`light-dark(${r.gray140}, ${r.gray70})`,iconTertiary:`light-dark(${r.blue150}, ${r.gray10})`,iconInverse:`light-dark(${r.white}, ${r.gray200})`,iconOnColor:`light-dark(${r.white}, ${r.white})`,iconDisabled:`light-dark(${r.gray50}, ${r.gray140})`,iconSuccess:`light-dark(${r.signalGreen100}, ${r.signalGreen100})`,iconInfo:`light-dark(${r.signalBlue100}, ${r.signalBlue100})`,iconWarning:`light-dark(${r.signalRed100}, ${r.signalRed100})`,iconImportant:`light-dark(${r.signalYellow100}, ${r.signalYellow100})`,linkEnabled:`light-dark(${r.blue120}, ${r.blue70})`,linkHover:`light-dark(${r.blue150}, ${r.blue50})`,linkPressed:`light-dark(${r.gray200}, ${r.blue40})`,linkVisited:`light-dark(${r.purple110}, ${r.purple80})`,supportBorderSuccess:`light-dark(${r.signalGreen100}, ${r.signalGreen100})`,supportBorderInfo:`light-dark(${r.signalBlue100}, ${r.signalBlue100})`,supportBorderImportant:`light-dark(${r.signalYellow100}, ${r.signalYellow100})`,supportBorderWarning:`light-dark(${r.signalRed100}, ${r.signalRed100})`,supportBackgroundSuccess:`light-dark(${r.signalGreen20}, ${r.gray180})`,supportBackgroundSuccessHover:`light-dark(${r.signalGreen30}, ${r.gray170})`,supportBackgroundInfo:`light-dark(${r.signalBlue10}, ${r.gray180})`,supportBackgroundImportant:`light-dark(${r.signalYellow10}, ${r.gray180})`,supportBackgroundWarning:`light-dark(${r.signalRed20}, ${r.gray180})`,supportBackgroundWarningHover:`light-dark(${r.signalRed30}, ${r.gray170})`,textPrimary:`light-dark(${r.gray200}, ${r.gray10})`,textSecondary:`light-dark(${r.gray140}, ${r.gray70})`,textTertiary:`light-dark(${r.blue150}, ${r.gray10})`,textOnColor:`light-dark(${r.white}, ${r.white})`,textInverse:`light-dark(${r.gray10}, ${r.gray200})`,textDisabled:`light-dark(${r.gray50}, ${r.gray140})`,textWarning:`light-dark(${r.signalRed100}, ${r.signalRed80})`,textPlaceholder:`light-dark(${r.gray70}, ${r.gray140})`,buttonBackgroundPrimary:`light-dark(${r.blue150}, ${r.blue100})`,buttonBackgroundPrimaryHover:`light-dark(${r.blue130}, ${r.blue130})`,buttonBackgroundPrimaryActive:`light-dark(${r.blue100}, ${r.blue150})`,buttonBackgroundSecondary:`light-dark(${r.white}, ${r.gray200})`,buttonBackgroundSecondaryHover:`light-dark(${r.whiteHover}, ${r.gray190})`,buttonBackgroundSecondaryActive:`light-dark(${r.gray30}, ${r.gray180})`,buttonBackgroundTertiaryHover:`light-dark(${r.whiteHover}, ${r.gray190})`,buttonBackgroundTertiaryActive:`light-dark(${r.gray30}, ${r.gray180})`,buttonBackgroundDanger:`light-dark(${r.signalRed100}, ${r.signalRed80})`,buttonBackgroundDangerHover:`light-dark(${r.signalRed120}, ${r.signalRed100})`,buttonBackgroundDangerActive:`light-dark(${r.signalRed150}, ${r.signalRed130})`,buttonBackgroundDisabled:`light-dark(${r.gray10}, ${r.gray180})`,buttonBackgroundSkeleton:`light-dark(${r.gray10}, ${r.gray180})`,buttonBorderSecondary:`light-dark(${r.blue150}, ${r.gray10})`,badgeBackground:`light-dark(${r.signalRed100}, ${r.signalRed80})`,calendarDateBackgroundHover:"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))",calendarDateBackgroundSelected:`light-dark(${r.blue150}, ${r.blue80})`,calendarDateBackgroundStartRange:`light-dark(${r.blue150}, ${r.blue80})`,calendarDateBackgroundInRange:`light-dark(${r.blue20}, ${r.blue150})`,calendarDateBackgroundEndRange:`light-dark(${r.blue150}, ${r.blue80})`,logoPrimary:`light-dark(${r.red100}, ${r.white})`,menuItemBackgroundHover:`light-dark(${r.gray20}, ${r.gray190})`,menuItemBackgroundSelected:`light-dark(${r.gray10}, ${r.gray180})`,menuTextSectionHeader:`light-dark(${r.blue120}, ${r.blue80})`},n={base:1,above:10,modal:1e3,toast:1100,skipToContent:1200},o=Object.freeze(Object.defineProperty({__proto__:null,baseColors:r,breakpoints:t,semantic:d,spacing:g,states:l,transitions:i,typography:a,windowSizes:e,zIndex:n},Symbol.toStringTag,{value:"Module"}));exports.baseColors=r;exports.breakpoints=t;exports.semantic=d;exports.spacing=g;exports.states=l;exports.tokens=o;exports.transitions=i;exports.typography=a;exports.windowSizes=e;exports.zIndex=n;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { c as e } from "./createLucideIcon-XRdN60yz.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.525.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const a = [
|
|
9
|
-
[
|
|
10
|
-
"path",
|
|
11
|
-
{
|
|
12
|
-
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|
|
13
|
-
key: "wmoenq"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
17
|
-
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
18
|
-
], o = e("triangle-alert", a);
|
|
19
|
-
export {
|
|
20
|
-
o as T
|
|
21
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./createLucideIcon-CTVXwe6i.cjs");/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const t=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],a=e.createLucideIcon("triangle-alert",t);exports.TriangleAlert=a;
|
package/useButton-BoIV3kDJ.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { a as d } from "./mergeProps-C1U1OIeJ.js";
|
|
2
|
-
import { $ as C } from "./filterDOMProps-D6KHYVBX.js";
|
|
3
|
-
import { b as D } from "./usePress-BW47IcyU.js";
|
|
4
|
-
import { a as F } from "./useFocusable-BjE42axF.js";
|
|
5
|
-
function S(e, t) {
|
|
6
|
-
let { elementType: s = "button", isDisabled: r, onPress: i, onPressStart: l, onPressEnd: c, onPressUp: p, onPressChange: f, preventFocusOnPress: u, allowFocusWhenDisabled: b, onClick: P, href: $, target: h, rel: m, type: o = "button" } = e, a;
|
|
7
|
-
s === "button" ? a = {
|
|
8
|
-
type: o,
|
|
9
|
-
disabled: r
|
|
10
|
-
} : a = {
|
|
11
|
-
role: "button",
|
|
12
|
-
href: s === "a" && !r ? $ : void 0,
|
|
13
|
-
target: s === "a" ? h : void 0,
|
|
14
|
-
type: s === "input" ? o : void 0,
|
|
15
|
-
disabled: s === "input" ? r : void 0,
|
|
16
|
-
"aria-disabled": !r || s === "input" ? void 0 : r,
|
|
17
|
-
rel: s === "a" ? m : void 0
|
|
18
|
-
};
|
|
19
|
-
let { pressProps: x, isPressed: g } = D({
|
|
20
|
-
onPressStart: l,
|
|
21
|
-
onPressEnd: c,
|
|
22
|
-
onPressChange: f,
|
|
23
|
-
onPress: i,
|
|
24
|
-
onPressUp: p,
|
|
25
|
-
onClick: P,
|
|
26
|
-
isDisabled: r,
|
|
27
|
-
preventFocusOnPress: u,
|
|
28
|
-
ref: t
|
|
29
|
-
}), { focusableProps: n } = F(e, t);
|
|
30
|
-
b && (n.tabIndex = r ? -1 : n.tabIndex);
|
|
31
|
-
let y = d(n, x, C(e, {
|
|
32
|
-
labelable: !0
|
|
33
|
-
}));
|
|
34
|
-
return {
|
|
35
|
-
isPressed: g,
|
|
36
|
-
buttonProps: d(a, y, {
|
|
37
|
-
"aria-haspopup": e["aria-haspopup"],
|
|
38
|
-
"aria-expanded": e["aria-expanded"],
|
|
39
|
-
"aria-controls": e["aria-controls"],
|
|
40
|
-
"aria-pressed": e["aria-pressed"],
|
|
41
|
-
"aria-current": e["aria-current"]
|
|
42
|
-
})
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
export {
|
|
46
|
-
S as $
|
|
47
|
-
};
|
package/useButton-D60q0SQw.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./mergeProps-B5KXZAI3.cjs"),D=require("./filterDOMProps-BS2lrgFA.cjs"),F=require("./usePress-BooY_CAy.cjs"),q=require("./useFocusable-D7I1ujkW.cjs");function O(e,t){let{elementType:s="button",isDisabled:r,onPress:i,onPressStart:c,onPressEnd:l,onPressUp:u,onPressChange:b,preventFocusOnPress:P,allowFocusWhenDisabled:f,onClick:p,href:$,target:x,rel:h,type:d="button"}=e,a;s==="button"?a={type:d,disabled:r}:a={role:"button",href:s==="a"&&!r?$:void 0,target:s==="a"?x:void 0,type:s==="input"?d:void 0,disabled:s==="input"?r:void 0,"aria-disabled":!r||s==="input"?void 0:r,rel:s==="a"?h:void 0};let{pressProps:g,isPressed:y}=F.$f6c31cce2adf654f$export$45712eceda6fad21({onPressStart:c,onPressEnd:l,onPressChange:b,onPress:i,onPressUp:u,onClick:p,isDisabled:r,preventFocusOnPress:P,ref:t}),{focusableProps:n}=q.$f645667febf57a63$export$4c014de7c8940b4c(e,t);f&&(n.tabIndex=r?-1:n.tabIndex);let C=o.$3ef42575df84b30b$export$9d1611c77c2fe928(n,g,D.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0}));return{isPressed:y,buttonProps:o.$3ef42575df84b30b$export$9d1611c77c2fe928(a,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"]})}}exports.$701a24aa0da5b062$export$ea18c227d4417cc3=O;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const G=require("./usePress-BooY_CAy.cjs"),wr=require("./context-Df3XbgBG.cjs"),He=require("react");function Pe(r,e){let t=He.useRef(null);return r&&t.current&&e(r,t.current)&&(r=t.current),t.current=r,r}function Y(r,e){return r-e*Math.floor(r/e)}const Ze=1721426;function w(r,e,t,n){e=Q(r,e);let a=e-1,o=-2;return t<=2?o=0:p(e)&&(o=-1),Ze-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*t-362)/12+o+n)}function p(r){return r%4===0&&(r%100!==0||r%400===0)}function Q(r,e){return r==="BC"?1-e:e}function j(r){let e="AD";return r<=0&&(e="BC",r=1-r),[e,r]}const xr={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class h{fromJulianDay(e){let t=e,n=t-Ze,a=Math.floor(n/146097),o=Y(n,146097),f=Math.floor(o/36524),c=Y(o,36524),i=Math.floor(c/1461),s=Y(c,1461),A=Math.floor(s/365),E=a*400+f*100+i*4+A+(f!==4&&A!==4?1:0),[C,M]=j(E),b=t-w(C,M,1,1),z=2;t<w(C,M,3,1)?z=0:p(M)&&(z=1);let Ae=Math.floor(((b+z)*12+373)/367),Dr=t-w(C,M,Ae,1)+1;return new l(C,M,Ae,Dr)}toJulianDay(e){return w(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return xr[p(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return p(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return e.era==="BC"}balanceDate(e){e.year<=0&&(e.era=e.era==="BC"?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}const vr={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function $e(r,e){return e=u(e,r.calendar),r.era===e.era&&r.year===e.year&&r.month===e.month&&r.day===e.day}function Ar(r,e){return e=u(e,r.calendar),r=_(r),e=_(e),r.era===e.era&&r.year===e.year&&r.month===e.month}function Er(r,e){return he(r.calendar,e.calendar)&&$e(r,e)}function he(r,e){var t,n,a,o;return(o=(a=(t=r.isEqual)===null||t===void 0?void 0:t.call(r,e))!==null&&a!==void 0?a:(n=e.isEqual)===null||n===void 0?void 0:n.call(e,r))!==null&&o!==void 0?o:r.identifier===e.identifier}function Cr(r,e){return $e(r,We(e))}const Ir={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function de(r,e,t){let n=r.calendar.toJulianDay(r),a=t?Ir[t]:Jr(e),o=Math.ceil(n+1-a)%7;return o<0&&(o+=7),o}function Ve(r){return y(Date.now(),r)}function We(r){return rr(Ve(r))}function Ke(r,e){return r.calendar.toJulianDay(r)-e.calendar.toJulianDay(e)}function Ge(r,e){return Ee(r)-Ee(e)}function Ee(r){return r.hour*36e5+r.minute*6e4+r.second*1e3+r.millisecond}let ee=null;function ye(){return ee==null&&(ee=new Intl.DateTimeFormat().resolvedOptions().timeZone),ee}function _(r){return r.subtract({days:r.day-1})}function Yr(r){return r.add({days:r.calendar.getDaysInMonth(r)-r.day})}function Sr(r){return _(r.subtract({months:r.month-1}))}function Br(r){return r.calendar.getMinimumMonthInYear?r.calendar.getMinimumMonthInYear(r):1}function Tr(r){return r.calendar.getMinimumDayInMonth?r.calendar.getMinimumDayInMonth(r):1}function je(r,e,t){let n=de(r,e,t);return r.subtract({days:n})}function Ur(r,e,t){return je(r,e,t).add({days:6})}const Ce=new Map;function Rr(r){if(Intl.Locale){let t=Ce.get(r);return t||(t=new Intl.Locale(r).maximize().region,t&&Ce.set(r,t)),t}let e=r.split("-")[1];return e==="u"?void 0:e}function Jr(r){let e=Rr(r);return e&&vr[e]||0}function _r(r,e,t){let n=r.calendar.getDaysInMonth(r);return Math.ceil((de(_(r),e,t)+n)/7)}function Lr(r,e){return r&&e?r.compare(e)<=0?r:e:r||e}function kr(r,e){return r&&e?r.compare(e)>=0?r:e:r||e}function T(r){r=u(r,new h);let e=Q(r.era,r.year);return Xe(e,r.month,r.day,r.hour,r.minute,r.second,r.millisecond)}function Xe(r,e,t,n,a,o,f){let c=new Date;return c.setUTCHours(n,a,o,f),c.setUTCFullYear(r,e-1,t),c.getTime()}function fe(r,e){if(e==="UTC")return 0;if(r>0&&e===ye())return new Date(r).getTimezoneOffset()*-6e4;let{year:t,month:n,day:a,hour:o,minute:f,second:c}=ze(r,e);return Xe(t,n,a,o,f,c,0)-Math.floor(r/1e3)*1e3}const Ie=new Map;function ze(r,e){let t=Ie.get(e);t||(t=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Ie.set(e,t));let n=t.formatToParts(new Date(r)),a={};for(let o of n)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const Ye=864e5;function Qr(r,e,t,n){return(t===n?[t]:[t,n]).filter(o=>Fr(r,e,o))}function Fr(r,e,t){let n=ze(t,e);return r.year===n.year&&r.month===n.month&&r.day===n.day&&r.hour===n.hour&&r.minute===n.minute&&r.second===n.second}function d(r,e,t="compatible"){let n=x(r);if(e==="UTC")return T(n);if(e===ye()&&t==="compatible"){n=u(n,new h);let i=new Date,s=Q(n.era,n.year);return i.setFullYear(s,n.month-1,n.day),i.setHours(n.hour,n.minute,n.second,n.millisecond),i.getTime()}let a=T(n),o=fe(a-Ye,e),f=fe(a+Ye,e),c=Qr(n,e,a-o,a-f);if(c.length===1)return c[0];if(c.length>1)switch(t){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(t){case"earlier":return Math.min(a-o,a-f);case"compatible":case"later":return Math.max(a-o,a-f);case"reject":throw new RangeError("No such absolute time found")}}function er(r,e,t="compatible"){return new Date(d(r,e,t))}function y(r,e){let t=fe(r,e),n=new Date(r+t),a=n.getUTCFullYear(),o=n.getUTCMonth()+1,f=n.getUTCDate(),c=n.getUTCHours(),i=n.getUTCMinutes(),s=n.getUTCSeconds(),A=n.getUTCMilliseconds();return new k(a<1?"BC":"AD",a<1?-a+1:a,o,f,e,t,c,i,s,A)}function rr(r){return new l(r.calendar,r.era,r.year,r.month,r.day)}function x(r,e){let t=0,n=0,a=0,o=0;if("timeZone"in r)({hour:t,minute:n,second:a,millisecond:o}=r);else if("hour"in r&&!e)return r;return e&&({hour:t,minute:n,second:a,millisecond:o}=e),new P(r.calendar,r.era,r.year,r.month,r.day,t,n,a,o)}function u(r,e){if(he(r.calendar,e))return r;let t=e.fromJulianDay(r.calendar.toJulianDay(r)),n=r.copy();return n.calendar=e,n.era=t.era,n.year=t.year,n.month=t.month,n.day=t.day,v(n),n}function Or(r,e,t){if(r instanceof k)return r.timeZone===e?r:Nr(r,e);let n=d(r,e,t);return y(n,e)}function qr(r){let e=T(r)-r.offset;return new Date(e)}function Nr(r,e){let t=T(r)-r.offset;return u(y(t,e),r.calendar)}const U=36e5;function X(r,e){let t=r.copy(),n="hour"in t?or(t,e):0;ce(t,e.years||0),t.calendar.balanceYearMonth&&t.calendar.balanceYearMonth(t,r),t.month+=e.months||0,ie(t),tr(t),t.day+=(e.weeks||0)*7,t.day+=e.days||0,t.day+=n,Hr(t),t.calendar.balanceDate&&t.calendar.balanceDate(t),t.year<1&&(t.year=1,t.month=1,t.day=1);let a=t.calendar.getYearsInEra(t);if(t.year>a){var o,f;let i=(o=(f=t.calendar).isInverseEra)===null||o===void 0?void 0:o.call(f,t);t.year=a,t.month=i?1:t.calendar.getMonthsInYear(t),t.day=i?1:t.calendar.getDaysInMonth(t)}t.month<1&&(t.month=1,t.day=1);let c=t.calendar.getMonthsInYear(t);return t.month>c&&(t.month=c,t.day=t.calendar.getDaysInMonth(t)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day)),t}function ce(r,e){var t,n;!((t=(n=r.calendar).isInverseEra)===null||t===void 0)&&t.call(n,r)&&(e=-e),r.year+=e}function ie(r){for(;r.month<1;)ce(r,-1),r.month+=r.calendar.getMonthsInYear(r);let e=0;for(;r.month>(e=r.calendar.getMonthsInYear(r));)r.month-=e,ce(r,1)}function Hr(r){for(;r.day<1;)r.month--,ie(r),r.day+=r.calendar.getDaysInMonth(r);for(;r.day>r.calendar.getDaysInMonth(r);)r.day-=r.calendar.getDaysInMonth(r),r.month++,ie(r)}function tr(r){r.month=Math.max(1,Math.min(r.calendar.getMonthsInYear(r),r.month)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day))}function v(r){r.calendar.constrainDate&&r.calendar.constrainDate(r),r.year=Math.max(1,Math.min(r.calendar.getYearsInEra(r),r.year)),tr(r)}function me(r){let e={};for(let t in r)typeof r[t]=="number"&&(e[t]=-r[t]);return e}function nr(r,e){return X(r,me(e))}function be(r,e){let t=r.copy();return e.era!=null&&(t.era=e.era),e.year!=null&&(t.year=e.year),e.month!=null&&(t.month=e.month),e.day!=null&&(t.day=e.day),v(t),t}function L(r,e){let t=r.copy();return e.hour!=null&&(t.hour=e.hour),e.minute!=null&&(t.minute=e.minute),e.second!=null&&(t.second=e.second),e.millisecond!=null&&(t.millisecond=e.millisecond),ar(t),t}function Pr(r){r.second+=Math.floor(r.millisecond/1e3),r.millisecond=F(r.millisecond,1e3),r.minute+=Math.floor(r.second/60),r.second=F(r.second,60),r.hour+=Math.floor(r.minute/60),r.minute=F(r.minute,60);let e=Math.floor(r.hour/24);return r.hour=F(r.hour,24),e}function ar(r){r.millisecond=Math.max(0,Math.min(r.millisecond,1e3)),r.second=Math.max(0,Math.min(r.second,59)),r.minute=Math.max(0,Math.min(r.minute,59)),r.hour=Math.max(0,Math.min(r.hour,23))}function F(r,e){let t=r%e;return t<0&&(t+=e),t}function or(r,e){return r.hour+=e.hours||0,r.minute+=e.minutes||0,r.second+=e.seconds||0,r.millisecond+=e.milliseconds||0,Pr(r)}function fr(r,e){let t=r.copy();return or(t,e),t}function Zr(r,e){return fr(r,me(e))}function ge(r,e,t,n){let a=r.copy();switch(e){case"era":{let c=r.calendar.getEras(),i=c.indexOf(r.era);if(i<0)throw new Error("Invalid era: "+r.era);i=m(i,t,0,c.length-1,n==null?void 0:n.round),a.era=c[i],v(a);break}case"year":var o,f;!((o=(f=a.calendar).isInverseEra)===null||o===void 0)&&o.call(f,a)&&(t=-t),a.year=m(r.year,t,-1/0,9999,n==null?void 0:n.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,r);break;case"month":a.month=m(r.month,t,1,r.calendar.getMonthsInYear(r),n==null?void 0:n.round);break;case"day":a.day=m(r.day,t,1,r.calendar.getDaysInMonth(r),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+e)}return r.calendar.balanceDate&&r.calendar.balanceDate(a),v(a),a}function pe(r,e,t,n){let a=r.copy();switch(e){case"hour":{let o=r.hour,f=0,c=23;if((n==null?void 0:n.hourCycle)===12){let i=o>=12;f=i?12:0,c=i?23:11}a.hour=m(o,t,f,c,n==null?void 0:n.round);break}case"minute":a.minute=m(r.minute,t,0,59,n==null?void 0:n.round);break;case"second":a.second=m(r.second,t,0,59,n==null?void 0:n.round);break;case"millisecond":a.millisecond=m(r.millisecond,t,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+e)}return a}function m(r,e,t,n,a=!1){if(a){r+=Math.sign(e),r<t&&(r=n);let o=Math.abs(e);e>0?r=Math.ceil(r/o)*o:r=Math.floor(r/o)*o,r>n&&(r=t)}else r+=e,r<t?r=n-(t-r-1):r>n&&(r=t+(r-n-1));return r}function cr(r,e){let t;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let a=X(x(r),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});t=d(a,r.timeZone)}else t=T(r)-r.offset;t+=e.milliseconds||0,t+=(e.seconds||0)*1e3,t+=(e.minutes||0)*6e4,t+=(e.hours||0)*36e5;let n=y(t,r.timeZone);return u(n,r.calendar)}function Vr(r,e){return cr(r,me(e))}function Wr(r,e,t,n){switch(e){case"hour":{let a=0,o=23;if((n==null?void 0:n.hourCycle)===12){let b=r.hour>=12;a=b?12:0,o=b?23:11}let f=x(r),c=u(L(f,{hour:a}),new h),i=[d(c,r.timeZone,"earlier"),d(c,r.timeZone,"later")].filter(b=>y(b,r.timeZone).day===c.day)[0],s=u(L(f,{hour:o}),new h),A=[d(s,r.timeZone,"earlier"),d(s,r.timeZone,"later")].filter(b=>y(b,r.timeZone).day===s.day).pop(),E=T(r)-r.offset,C=Math.floor(E/U),M=E%U;return E=m(C,t,Math.floor(i/U),Math.floor(A/U),n==null?void 0:n.round)*U+M,u(y(E,r.timeZone),r.calendar)}case"minute":case"second":case"millisecond":return pe(r,e,t,n);case"era":case"year":case"month":case"day":{let a=ge(x(r),e,t,n),o=d(a,r.timeZone);return u(y(o,r.timeZone),r.calendar)}default:throw new Error("Unsupported field "+e)}}function Kr(r,e,t){let n=x(r),a=L(be(n,e),e);if(a.compare(n)===0)return r;let o=d(a,r.timeZone,t);return u(y(o,r.timeZone),r.calendar)}function ir(r){return`${String(r.hour).padStart(2,"0")}:${String(r.minute).padStart(2,"0")}:${String(r.second).padStart(2,"0")}${r.millisecond?String(r.millisecond/1e3).slice(1):""}`}function lr(r){let e=u(r,new h),t;return e.era==="BC"?t=e.year===1?"0000":"-"+String(Math.abs(1-e.year)).padStart(6,"00"):t=String(e.year).padStart(4,"0"),`${t}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}function sr(r){return`${lr(r)}T${ir(r)}`}function Gr(r){let e=Math.sign(r)<0?"-":"+";r=Math.abs(r);let t=Math.floor(r/36e5),n=r%36e5/6e4;return`${e}${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function jr(r){return`${sr(r)}${Gr(r.offset)}[${r.timeZone}]`}function Me(r){let e=typeof r[0]=="object"?r.shift():new h,t;if(typeof r[0]=="string")t=r.shift();else{let f=e.getEras();t=f[f.length-1]}let n=r.shift(),a=r.shift(),o=r.shift();return[e,t,n,a,o]}var Xr=new WeakMap;class l{copy(){return this.era?new l(this.calendar,this.era,this.year,this.month,this.day):new l(this.calendar,this.year,this.month,this.day)}add(e){return X(this,e)}subtract(e){return nr(this,e)}set(e){return be(this,e)}cycle(e,t,n){return ge(this,e,t,n)}toDate(e){return er(this,e)}toString(){return lr(this)}compare(e){return Ke(this,e)}constructor(...e){G._class_private_field_init(this,Xr,{writable:!0,value:void 0});let[t,n,a,o,f]=Me(e);this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,v(this)}}var zr=new WeakMap;class De{copy(){return new De(this.hour,this.minute,this.second,this.millisecond)}add(e){return fr(this,e)}subtract(e){return Zr(this,e)}set(e){return L(this,e)}cycle(e,t,n){return pe(this,e,t,n)}toString(){return ir(this)}compare(e){return Ge(this,e)}constructor(e=0,t=0,n=0,a=0){G._class_private_field_init(this,zr,{writable:!0,value:void 0}),this.hour=e,this.minute=t,this.second=n,this.millisecond=a,ar(this)}}var et=new WeakMap;class P{copy(){return this.era?new P(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new P(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return X(this,e)}subtract(e){return nr(this,e)}set(e){return be(L(this,e),e)}cycle(e,t,n){switch(e){case"era":case"year":case"month":case"day":return ge(this,e,t,n);default:return pe(this,e,t,n)}}toDate(e,t){return er(this,e,t)}toString(){return sr(this)}compare(e){let t=Ke(this,e);return t===0?Ge(this,x(e)):t}constructor(...e){G._class_private_field_init(this,et,{writable:!0,value:void 0});let[t,n,a,o,f]=Me(e);this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,v(this)}}var rt=new WeakMap;class k{copy(){return this.era?new k(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new k(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return cr(this,e)}subtract(e){return Vr(this,e)}set(e,t){return Kr(this,e,t)}cycle(e,t,n){return Wr(this,e,t,n)}toDate(){return qr(this)}toString(){return jr(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-Or(e,this.timeZone).toDate().getTime()}constructor(...e){G._class_private_field_init(this,rt,{writable:!0,value:void 0});let[t,n,a,o,f]=Me(e),c=e.shift(),i=e.shift();this.calendar=t,this.era=n,this.year=a,this.month=o,this.day=f,this.timeZone=c,this.offset=i,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,v(this)}}const S=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],tt=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],q=[1867,1911,1925,1988,2018],g=["meiji","taisho","showa","heisei","reiwa"];function Se(r){const e=S.findIndex(([t,n,a])=>r.year<t||r.year===t&&r.month<n||r.year===t&&r.month===n&&r.day<a);return e===-1?S.length-1:e===0?0:e-1}function re(r){let e=q[g.indexOf(r.era)];if(!e)throw new Error("Unknown era: "+r.era);return new l(r.year+e,r.month,r.day)}class nt extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=Se(t);return new l(this,g[n],t.year-q[n],t.month,t.day)}toJulianDay(e){return super.toJulianDay(re(e))}balanceDate(e){let t=re(e),n=Se(t);g[n]!==e.era&&(e.era=g[n],e.year=t.year-q[n]),this.constrainDate(e)}constrainDate(e){let t=g.indexOf(e.era),n=tt[t];if(n!=null){let[a,o,f]=n,c=a-q[t];e.year=Math.max(1,Math.min(c,e.year)),e.year===c&&(e.month=Math.min(o,e.month),e.month===o&&(e.day=Math.min(f,e.day)))}if(e.year===1&&t>=0){let[,a,o]=S[t];e.month=Math.max(a,e.month),e.month===a&&(e.day=Math.max(o,e.day))}}getEras(){return g}getYearsInEra(e){let t=g.indexOf(e.era),n=S[t],a=S[t+1];if(a==null)return 9999-n[0]+1;let o=a[0]-n[0];return(e.month<a[1]||e.month===a[1]&&e.day<a[2])&&o++,o}getDaysInMonth(e){return super.getDaysInMonth(re(e))}getMinimumMonthInYear(e){let t=Be(e);return t?t[1]:1}getMinimumDayInMonth(e){let t=Be(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function Be(r){if(r.year===1){let e=g.indexOf(r.era);return S[e]}}const ur=-543;class at extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=Q(t.era,t.year);return new l(this,n-ur,t.month,t.day)}toJulianDay(e){return super.toJulianDay(Te(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(Te(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function Te(r){let[e,t]=j(r.year+ur);return new l(e,t,r.month,r.day)}const Z=1911;function $r(r){return r.era==="minguo"?r.year+Z:1-r.year+Z}function Ue(r){let e=r-Z;return e>0?["minguo",e]:["before_minguo",1-e]}class ot extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=Q(t.era,t.year),[a,o]=Ue(n);return new l(this,a,o,t.month,t.day)}toJulianDay(e){return super.toJulianDay(Re(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,n]=Ue($r(e));e.era=t,e.year=n}isInverseEra(e){return e.era==="before_minguo"}getDaysInMonth(e){return super.getDaysInMonth(Re(e))}getYearsInEra(e){return e.era==="before_minguo"?9999:9999-Z}constructor(...e){super(...e),this.identifier="roc"}}function Re(r){let[e,t]=j($r(r));return new l(e,t,r.month,r.day)}const Je=1948320,_e=[0,31,62,93,124,155,186,216,246,276,306,336];class ft{fromJulianDay(e){let t=e-Je,n=1+Math.floor((33*t+3)/12053),a=365*(n-1)+Math.floor((8*n+21)/33),o=t-a,f=o<216?Math.floor(o/31):Math.floor((o-6)/30),c=o-_e[f]+1;return new l(this,n,f+1,c)}toJulianDay(e){let t=Je-1+365*(e.year-1)+Math.floor((8*e.year+21)/33);return t+=_e[e.month-1],t+=e.day,t}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||Y(25*e.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const te=78,Le=80;class ct extends h{fromJulianDay(e){let t=super.fromJulianDay(e),n=t.year-te,a=e-w(t.era,t.year,1,1),o;a<Le?(n--,o=p(t.year-1)?31:30,a+=o+155+90+10):(o=p(t.year)?31:30,a-=Le);let f,c;if(a<o)f=1,c=a+1;else{let i=a-o;i<155?(f=Math.floor(i/31)+2,c=i%31+1):(i-=155,f=Math.floor(i/30)+7,c=i%30+1)}return new l(this,n,f,c)}toJulianDay(e){let t=e.year+te,[n,a]=j(t),o,f;return p(a)?(o=31,f=w(n,a,3,21)):(o=30,f=w(n,a,3,22)),e.month===1?f+e.day-1:(f+=o+Math.min(e.month-2,5)*31,e.month>=8&&(f+=(e.month-7)*30),f+=e.day-1,f)}getDaysInMonth(e){return e.month===1&&p(e.year+te)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}const V=1948440,ke=1948439,$=1300,I=1600,it=460322;function W(r,e,t,n){return n+Math.ceil(29.5*(t-1))+(e-1)*354+Math.floor((3+11*e)/30)+r-1}function hr(r,e,t){let n=Math.floor((30*(t-e)+10646)/10631),a=Math.min(12,Math.ceil((t-(29+W(e,n,1,1)))/29.5)+1),o=t-W(e,n,a,1)+1;return new l(r,n,a,o)}function Qe(r){return(14+11*r)%30<11}class we{fromJulianDay(e){return hr(this,V,e)}toJulianDay(e){return W(V,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return e.month===12&&Qe(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return Qe(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class lt extends we{fromJulianDay(e){return hr(this,ke,e)}toJulianDay(e){return W(ke,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}const st="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let le,B;function N(r){return it+B[r-$]}function R(r,e){let t=r-$,n=1<<11-(e-1);return le[t]&n?30:29}function Fe(r,e){let t=N(r);for(let n=1;n<e;n++)t+=R(r,n);return t}function Oe(r){return B[r+1-$]-B[r-$]}class ut extends we{fromJulianDay(e){let t=e-V,n=N($),a=N(I);if(t<n||t>a)return super.fromJulianDay(e);{let o=$-1,f=1,c=1;for(;c>0;){o++,c=t-N(o)+1;let i=Oe(o);if(c===i){f=12;break}else if(c<i){let s=R(o,f);for(f=1;c>s;)c-=s,f++,s=R(o,f);break}}return new l(this,o,f,t-Fe(o,f)+1)}}toJulianDay(e){return e.year<$||e.year>I?super.toJulianDay(e):V+Fe(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<$||e.year>I?super.getDaysInMonth(e):R(e.year,e.month)}getDaysInYear(e){return e.year<$||e.year>I?super.getDaysInYear(e):Oe(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",le||(le=new Uint16Array(Uint8Array.from(atob(st),e=>e.charCodeAt(0)).buffer)),!B){B=new Uint32Array(I-$+1);let e=0;for(let t=$;t<=I;t++){B[t-$]=e;for(let n=1;n<=12;n++)e+=R(t,n)}}}}const qe=347997,dr=1080,yr=24*dr,$t=29,ht=12*dr+793,dt=$t*yr+ht;function D(r){return Y(r*7+1,19)<7}function H(r){let e=Math.floor((235*r-234)/19),t=12084+13753*e,n=e*29+Math.floor(t/25920);return Y(3*(n+1),7)<3&&(n+=1),n}function yt(r){let e=H(r-1),t=H(r);return H(r+1)-t===356?2:t-e===382?1:0}function J(r){return H(r)+yt(r)}function mr(r){return J(r+1)-J(r)}function mt(r){let e=mr(r);switch(e>380&&(e-=30),e){case 353:return 0;case 354:return 1;case 355:return 2}}function O(r,e){if(e>=6&&!D(r)&&e++,e===4||e===7||e===9||e===11||e===13)return 29;let t=mt(r);return e===2?t===2?30:29:e===3?t===0?29:30:e===6?D(r)?30:0:30}class bt{fromJulianDay(e){let t=e-qe,n=t*yr/dt,a=Math.floor((19*n+234)/235)+1,o=J(a),f=Math.floor(t-o);for(;f<1;)a--,o=J(a),f=Math.floor(t-o);let c=1,i=0;for(;i<f;)i+=O(a,c),c++;c--,i-=O(a,c);let s=f-i;return new l(this,a,c,s)}toJulianDay(e){let t=J(e.year);for(let n=1;n<e.month;n++)t+=O(e.year,n);return t+e.day+qe}getDaysInMonth(e){return O(e.year,e.month)}getMonthsInYear(e){return D(e.year)?13:12}getDaysInYear(e){return mr(e.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(D(t.year)&&!D(e.year)&&t.month>6?e.month--:!D(t.year)&&D(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}const se=1723856,Ne=1824665,ue=5500;function K(r,e,t,n){return r+365*e+Math.floor(e/4)+30*(t-1)+n-1}function xe(r,e){let t=Math.floor(4*(e-r)/1461),n=1+Math.floor((e-K(r,t,1,1))/30),a=e+1-K(r,t,n,1);return[t,n,a]}function br(r){return Math.floor(r%4/3)}function gr(r,e){return e%13!==0?30:br(r)+5}class ve{fromJulianDay(e){let[t,n,a]=xe(se,e),o="AM";return t<=0&&(o="AA",t+=ue),new l(this,o,t,n,a)}toJulianDay(e){let t=e.year;return e.era==="AA"&&(t-=ue),K(se,t,e.month,e.day)}getDaysInMonth(e){return gr(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+br(e.year)}getYearsInEra(e){return e.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class gt extends ve{fromJulianDay(e){let[t,n,a]=xe(se,e);return t+=ue,new l(this,"AA",t,n,a)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class pt extends ve{fromJulianDay(e){let[t,n,a]=xe(Ne,e),o="CE";return t<=0&&(o="BCE",t=1-t),new l(this,o,t,n,a)}toJulianDay(e){let t=e.year;return e.era==="BCE"&&(t=1-t),K(Ne,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return e.era==="BCE"&&(t=1-t),gr(t,e.month)}isInverseEra(e){return e.era==="BCE"}balanceDate(e){e.year<=0&&(e.era=e.era==="BCE"?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return e.era==="BCE"?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}function Mt(r){switch(r){case"buddhist":return new at;case"ethiopic":return new ve;case"ethioaa":return new gt;case"coptic":return new pt;case"hebrew":return new bt;case"indian":return new ct;case"islamic-civil":return new we;case"islamic-tbla":return new lt;case"islamic-umalqura":return new ut;case"japanese":return new nt;case"persian":return new ft;case"roc":return new ot;case"gregory":default:return new h}}let ne=new Map;class pr{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,t);if(t<e)throw new RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(t)}`}formatRangeToParts(e,t){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,t);if(t<e)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),a=this.formatter.formatToParts(t);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return xt()&&(this.resolvedHourCycle||(this.resolvedHourCycle=vt(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=Mr(e,t),this.options=t}}const Dt={true:{ja:"h11"},false:{}};function Mr(r,e={}){if(typeof e.hour12=="boolean"&&wt()){e={...e};let a=Dt[String(e.hour12)][r.split("-")[0]],o=e.hour12?"h12":"h23";e.hourCycle=a??o,delete e.hour12}let t=r+(e?Object.entries(e).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(ne.has(t))return ne.get(t);let n=new Intl.DateTimeFormat(r,e);return ne.set(t,n),n}let ae=null;function wt(){return ae==null&&(ae=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),ae}let oe=null;function xt(){return oe==null&&(oe=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),oe}function vt(r,e){if(!e.timeStyle&&!e.hour)return;r=r.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),r+=(r.includes("-u-")?"":"-u")+"-nu-latn";let t=Mr(r,{...e,timeZone:void 0}),n=parseInt(t.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),a=parseInt(t.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function At(r){r=Pe(r??{},Et);let{locale:e}=wr.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();return He.useMemo(()=>new pr(e,r),[e,r])}function Et(r,e){if(r===e)return!0;let t=Object.keys(r),n=Object.keys(e);if(t.length!==n.length)return!1;for(let a of t)if(e[a]!==r[a])return!1;return!0}exports.$11d87f3f76e88657$export$93522d1a439f3617=rr;exports.$11d87f3f76e88657$export$b21e0b124e224484=x;exports.$11d87f3f76e88657$export$b4a036af3fc0b032=u;exports.$14e0f24ef4ac5c92$export$2061056d06d7cdf7=de;exports.$14e0f24ef4ac5c92$export$42c81a444fbfb5d4=je;exports.$14e0f24ef4ac5c92$export$461939dd4422153=Ve;exports.$14e0f24ef4ac5c92$export$5412ac11713b72ad=Br;exports.$14e0f24ef4ac5c92$export$5c333a116e949cdd=Lr;exports.$14e0f24ef4ac5c92$export$629b0a497aa65267=Cr;exports.$14e0f24ef4ac5c92$export$91b62ebf2ba703ee=Er;exports.$14e0f24ef4ac5c92$export$a18c89cbd24170ff=Ar;exports.$14e0f24ef4ac5c92$export$a2258d9c4118825c=Yr;exports.$14e0f24ef4ac5c92$export$a5a3b454ada2268e=_;exports.$14e0f24ef4ac5c92$export$a75f2bff57811055=kr;exports.$14e0f24ef4ac5c92$export$aa8b41735afcabd2=ye;exports.$14e0f24ef4ac5c92$export$b2f4953d301981d5=Tr;exports.$14e0f24ef4ac5c92$export$ccc1b2479e7dd654=_r;exports.$14e0f24ef4ac5c92$export$d0bdf45af03a6ea3=We;exports.$14e0f24ef4ac5c92$export$dbc69fd56b53d5e=he;exports.$14e0f24ef4ac5c92$export$ea39ec197993aef0=$e;exports.$14e0f24ef4ac5c92$export$ef8b6d9133084f4e=Ur;exports.$14e0f24ef4ac5c92$export$f91e89d3d0406102=Sr;exports.$35ea8db9cb2ccb90$export$680ea196effce5f=De;exports.$35ea8db9cb2ccb90$export$99faa760c7908e4f=l;exports.$3b62074eb05584b2$export$80ee6245ec4f29ec=h;exports.$5a387cc49350e6db$export$722debc0e56fea39=Pe;exports.$64244302c3013299$export$dd0bbc9b26defe37=Mt;exports.$896ba0a80a8f4d36$export$85fd5fdf27bacc79=At;exports.$fb18d541ea1ad717$export$ad991b66133851cf=pr;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const m=require("./mergeProps-B5KXZAI3.cjs"),s=require("react"),q=require("./useHover-BE_XKZKe.cjs");function B(a,e,t){let i=s.useRef(e),n=m.$8ae05eaa5c114e9c$export$7f54fc3180508a52(()=>{t&&t(i.current)});s.useEffect(()=>{var r;let l=a==null||(r=a.current)===null||r===void 0?void 0:r.form;return l==null||l.addEventListener("reset",n),()=>{l==null||l.removeEventListener("reset",n)}},[a,n])}const V={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},C={...V,customError:!0,valid:!1},$={isInvalid:!1,validationDetails:V,validationErrors:[]},T=s.createContext({}),I="__formValidationState"+Date.now();function U(a){if(a[I]){let{realtimeValidation:e,displayValidation:t,updateValidation:i,resetValidation:n,commitValidation:r}=a[I];return{realtimeValidation:e,displayValidation:t,updateValidation:i,resetValidation:n,commitValidation:r}}return j(a)}function j(a){let{isInvalid:e,validationState:t,name:i,value:n,builtinValidation:r,validate:l,validationBehavior:v="aria"}=a;t&&(e||(e=t==="invalid"));let o=e!==void 0?{isInvalid:e,validationErrors:[],validationDetails:C}:null,c=s.useMemo(()=>{if(!l||n==null)return null;let d=F(l,n);return D(d)},[l,n]);r!=null&&r.validationDetails.valid&&(r=void 0);let u=s.useContext(T),f=s.useMemo(()=>i?Array.isArray(i)?i.flatMap(d=>M(u[d])):M(u[i]):[],[u,i]),[w,A]=s.useState(u),[S,p]=s.useState(!1);u!==w&&(A(u),p(!1));let E=s.useMemo(()=>D(S?[]:f),[S,f]),L=s.useRef($),[y,g]=s.useState($),b=s.useRef($),R=()=>{if(!O)return;h(!1);let d=c||r||L.current;x(d,b.current)||(b.current=d,g(d))},[O,h]=s.useState(!1);return s.useEffect(R),{realtimeValidation:o||E||c||r||$,displayValidation:v==="native"?o||E||y:o||E||c||r||y,updateValidation(d){v==="aria"&&!x(y,d)?g(d):L.current=d},resetValidation(){let d=$;x(d,b.current)||(b.current=d,g(d)),v==="native"&&h(!1),p(!0)},commitValidation(){v==="native"&&h(!0),p(!0)}}}function M(a){return a?Array.isArray(a)?a:[a]:[]}function F(a,e){if(typeof a=="function"){let t=a(e);if(t&&typeof t!="boolean")return M(t)}return[]}function D(a){return a.length?{isInvalid:!0,validationErrors:a,validationDetails:C}:null}function x(a,e){return a===e?!0:!!a&&!!e&&a.isInvalid===e.isInvalid&&a.validationErrors.length===e.validationErrors.length&&a.validationErrors.every((t,i)=>t===e.validationErrors[i])&&Object.entries(a.validationDetails).every(([t,i])=>e.validationDetails[t]===i)}function P(...a){let e=new Set,t=!1,i={...V};for(let l of a){var n,r;for(let v of l.validationErrors)e.add(v);t||(t=l.isInvalid);for(let v in i)(n=i)[r=v]||(n[r]=l.validationDetails[v])}return i.valid=!t,{isInvalid:t,validationErrors:[...e],validationDetails:i}}function Q(a,e,t){let{validationBehavior:i,focus:n}=a;m.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(i==="native"&&(t!=null&&t.current)&&!t.current.disabled){let o=e.realtimeValidation.isInvalid?e.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";t.current.setCustomValidity(o),t.current.hasAttribute("title")||(t.current.title=""),e.realtimeValidation.isInvalid||e.updateValidation(k(t.current))}});let r=m.$8ae05eaa5c114e9c$export$7f54fc3180508a52(()=>{e.resetValidation()}),l=m.$8ae05eaa5c114e9c$export$7f54fc3180508a52(o=>{var c;e.displayValidation.isInvalid||e.commitValidation();let u=t==null||(c=t.current)===null||c===void 0?void 0:c.form;if(!o.defaultPrevented&&t&&u&&H(u)===t.current){var f;n?n():(f=t.current)===null||f===void 0||f.focus(),q.$507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard")}o.preventDefault()}),v=m.$8ae05eaa5c114e9c$export$7f54fc3180508a52(()=>{e.commitValidation()});s.useEffect(()=>{let o=t==null?void 0:t.current;if(!o)return;let c=o.form;return o.addEventListener("invalid",l),o.addEventListener("change",v),c==null||c.addEventListener("reset",r),()=>{o.removeEventListener("invalid",l),o.removeEventListener("change",v),c==null||c.removeEventListener("reset",r)}},[t,l,v,r,i])}function _(a){let e=a.validity;return{badInput:e.badInput,customError:e.customError,patternMismatch:e.patternMismatch,rangeOverflow:e.rangeOverflow,rangeUnderflow:e.rangeUnderflow,stepMismatch:e.stepMismatch,tooLong:e.tooLong,tooShort:e.tooShort,typeMismatch:e.typeMismatch,valueMissing:e.valueMissing,valid:e.valid}}function k(a){return{isInvalid:!a.validity.valid,validationDetails:_(a),validationErrors:a.validationMessage?[a.validationMessage]:[]}}function H(a){for(let e=0;e<a.elements.length;e++){let t=a.elements[e];if(!t.validity.valid)return t}return null}exports.$99facab73266f662$export$5add1d006293d136=B;exports.$e5be200c675c3b3a$export$75ee7c75d68f5b0e=P;exports.$e5be200c675c3b3a$export$a763b9476acd3eb=I;exports.$e5be200c675c3b3a$export$aca958c65c314e6c=V;exports.$e5be200c675c3b3a$export$dad6ae84456c676a=$;exports.$e5be200c675c3b3a$export$fc1a364ae1f3ff10=U;exports.$e93e671b31057976$export$b8473d3665f3a75a=Q;
|