@easypost/easy-ui 1.0.0-alpha.72 → 1.0.0-alpha.73
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/Badge/index.js +14 -14
- package/Badge/index.mjs +14 -14
- package/Banner/index.js +5 -5
- package/Banner/index.mjs +5 -5
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/Button/utilities.d.ts.map +1 -1
- package/CHANGELOG.md +9 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/CheckableCard/index.js +6 -6
- package/CheckableCard/index.mjs +6 -6
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +17 -17
- package/CodeBlock/index.mjs +17 -17
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +157 -126
- package/DataGrid/index.mjs +151 -120
- package/DatePicker/index.js +30 -15
- package/DatePicker/index.mjs +31 -16
- package/DateRangePicker/index.js +30 -15
- package/DateRangePicker/index.mjs +30 -15
- package/Drawer/index.js +21 -21
- package/Drawer/index.mjs +21 -21
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- package/EmptyStateCard/index.js +8 -8
- package/EmptyStateCard/index.mjs +8 -8
- package/FocusedProductLayout/index.js +23 -23
- package/FocusedProductLayout/index.mjs +23 -23
- package/ForgeLayout/index.js +44 -44
- package/ForgeLayout/index.mjs +44 -44
- package/FormLayout/index.js +5 -5
- package/FormLayout/index.mjs +5 -5
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +13 -13
- package/IconButton/index.mjs +13 -13
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +23 -23
- package/Modal/index.mjs +23 -23
- package/MultiSelect/index.js +60 -54
- package/MultiSelect/index.mjs +51 -45
- package/NexusLayout/index.js +33 -33
- package/NexusLayout/index.mjs +33 -33
- package/Notification/Notification.d.ts.map +1 -1
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +8 -8
- package/Pagination/index.mjs +8 -8
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/ProductLayout/index.js +26 -26
- package/ProductLayout/index.mjs +26 -26
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +9 -9
- package/RadioButtonGroup/index.mjs +9 -9
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +29 -29
- package/SearchNav/index.mjs +29 -29
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +5 -5
- package/Select/index.mjs +5 -5
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +4 -4
- package/SplitToggleCard/index.mjs +4 -4
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +16 -12
- package/TabPanels/index.mjs +16 -12
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/Text/index.js +1 -1
- package/Text/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +1 -1
- package/Textarea/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +2 -2
- package/ToggleCard/index.mjs +2 -2
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +29 -29
- package/VerticalNav/index.mjs +29 -29
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-D3HH6Cop.js → Button-DHFTdAxF.js} +19 -19
- package/__chunks__/{Button-DHEZ4A2s.mjs → Button-DhaXhFT-.mjs} +7 -10
- package/__chunks__/{Button-BoPQ-Fx9.js → Button-E5WMp4Zg.js} +7 -10
- package/__chunks__/{Button-BuHLa-_9.mjs → Button-besQ0j6a.mjs} +19 -19
- package/__chunks__/{Calendar-HLsBZpg5.js → Calendar-C5woWpfH.js} +2 -2
- package/__chunks__/{Calendar-CS3-UW6-.mjs → Calendar-p9rHaKwG.mjs} +2 -2
- package/__chunks__/{CalendarBase-BsJ1gLtC.js → CalendarBase-BUa-SUff.js} +30 -30
- package/__chunks__/{CalendarBase-DN4q1mxw.mjs → CalendarBase-mv9La5tR.mjs} +29 -29
- package/__chunks__/{Card-BL_e88zr.mjs → Card-DR2FXTv6.mjs} +12 -12
- package/__chunks__/{Card-CvXlsu1o.js → Card-DfhHosdD.js} +12 -12
- package/__chunks__/{Checkbox-D0xwliOU.mjs → Checkbox-B7qn8pJg.mjs} +25 -25
- package/__chunks__/{Checkbox-BbmNbbNQ.js → Checkbox-BtIjmaiX.js} +25 -25
- package/__chunks__/{CodeSnippet-CpLud0B6.js → CodeSnippet-Cp3glUO1.js} +2 -2
- package/__chunks__/{CodeSnippet-vJa_F29X.mjs → CodeSnippet-Di6gtbdh.mjs} +2 -2
- package/__chunks__/{DatePickerBase-D4ciyYti.js → DatePickerBase-D4UJlvkz.js} +143 -60
- package/__chunks__/{DatePickerBase-DmqKEP5k.mjs → DatePickerBase-nYyQbAs_.mjs} +140 -57
- package/__chunks__/{Dialog-CuqmbMC4.js → Dialog-Bn6AgWyj.js} +69 -23
- package/__chunks__/{Dialog-D9aIj4DH.mjs → Dialog-CpCJycIv.mjs} +70 -24
- package/__chunks__/{FocusScope-Djtxzznf.js → FocusScope-CL3-fUEU.js} +216 -53
- package/__chunks__/{FocusScope-CUJV-jWH.mjs → FocusScope-Dg66t-dG.mjs} +208 -45
- package/__chunks__/{HelpMenu-4kIhlSTd.mjs → HelpMenu-CLhpjJ6h.mjs} +7 -7
- package/__chunks__/{HelpMenu-BG-6BlVd.js → HelpMenu-DyhpQPI8.js} +7 -7
- package/__chunks__/{HorizontalGrid-Caa2bBkn.mjs → HorizontalGrid-7r8FL1aY.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-CAxzLBcy.js → HorizontalGrid-CNc8k_zD.js} +1 -1
- package/__chunks__/{HorizontalStack-Bsl5R02e.mjs → HorizontalStack-8RcZ4huI.mjs} +1 -1
- package/__chunks__/{HorizontalStack-DH_u-Fl7.js → HorizontalStack-BpcS3ASr.js} +1 -1
- package/__chunks__/{Icon-DL_gGk21.mjs → Icon-Dj1ar_iv.mjs} +2 -2
- package/__chunks__/{Icon-BLHQN7Np.js → Icon-lRxgQUlF.js} +2 -2
- package/__chunks__/{InputCaption-CPAw7fJI.mjs → InputCaption-Dh_ynOSC.mjs} +2 -2
- package/__chunks__/{InputCaption-OV5VGKWq.js → InputCaption-uusWFQO6.js} +2 -2
- package/__chunks__/{InputField-B_3YmU4B.mjs → InputField-Cc1uBSYb.mjs} +7 -7
- package/__chunks__/{InputField-ChgMqvwU.js → InputField-HW--yCbl.js} +7 -7
- package/__chunks__/{InputIcon-COm6bQef.mjs → InputIcon-C1dofAnd.mjs} +31 -31
- package/__chunks__/{InputIcon-BXS9Y8rn.js → InputIcon-cFcmXohD.js} +31 -31
- package/__chunks__/{KebabButton-DO9OIb2W.js → KebabButton-AUlp_RzU.js} +5 -5
- package/__chunks__/{KebabButton-BRGCIPIv.mjs → KebabButton-BTDy4F9A.mjs} +5 -5
- package/__chunks__/{Menu-BYCSuuaR.mjs → Menu-CQghk0Xm.mjs} +44 -30
- package/__chunks__/{Menu-DzWdkzK8.js → Menu-CqzvIQht.js} +44 -30
- package/__chunks__/{Notification-D2fe-Xxz.js → Notification-C5yNqG6B.js} +707 -731
- package/__chunks__/{Notification-BKVkpmTz.mjs → Notification-j6oXMj8T.mjs} +706 -730
- package/__chunks__/{Overlay-zuiAML3I.mjs → Overlay-BtkNBEyr.mjs} +4 -4
- package/__chunks__/{Overlay-CwJbrICR.js → Overlay-CwRnK9dm.js} +4 -4
- package/__chunks__/{PillGroup-9OjxsTMP.mjs → PillGroup-DoUZjoCh.mjs} +109 -68
- package/__chunks__/{PillGroup-CHPsa3VB.js → PillGroup-Dv0EvyfJ.js} +109 -68
- package/__chunks__/{RadioGroup-DV7xIP19.mjs → RadioGroup-6LaX18PH.mjs} +28 -26
- package/__chunks__/{RadioGroup-BulGTLfR.js → RadioGroup-DhkWNcLj.js} +28 -26
- package/__chunks__/{RangeCalendar-jktYfFqj.js → RangeCalendar-BiJUNPv-.js} +3 -3
- package/__chunks__/{RangeCalendar-CwDjqHGQ.mjs → RangeCalendar-DET0Ai4u.mjs} +3 -3
- package/__chunks__/{SelectOverlay-HjVuurPc.js → SelectOverlay-Cb0n9TrH.js} +34 -34
- package/__chunks__/{SelectOverlay-6pBMMSgG.mjs → SelectOverlay-CyK3RTnF.mjs} +34 -34
- package/__chunks__/{SelectionManager-DCO_d3m1.mjs → SelectionManager-my6312qq.mjs} +6 -0
- package/__chunks__/{SelectionManager-DuX6geJg.js → SelectionManager-px2R7S_e.js} +6 -0
- package/__chunks__/{SelectorErrorTooltip-BWn16OXi.js → SelectorErrorTooltip-Dgl_s5PI.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-B4k8RWP0.mjs → SelectorErrorTooltip-ixjoIXDZ.mjs} +4 -4
- package/__chunks__/{Spinner-vUeXdpkO.js → Spinner-C0O2rv-c.js} +7 -7
- package/__chunks__/{Spinner-CNPgXjAf.mjs → Spinner-_rvpJRN-.mjs} +7 -7
- package/__chunks__/{Stepper-sqTqQ9uL.js → Stepper-BO0O4mnN.js} +28 -28
- package/__chunks__/{Stepper-CAscDgRy.mjs → Stepper-Bn1VUxUa.mjs} +28 -28
- package/__chunks__/{TabNav-C1qCKmy4.mjs → TabNav-Bicd788A.mjs} +1 -1
- package/__chunks__/{TabNav-ByxN1m64.js → TabNav-DoPWkRzq.js} +1 -1
- package/__chunks__/{Tabs-DNN1AXwm.js → Tabs-CcQ1UKFN.js} +20 -20
- package/__chunks__/{Tabs-CKqKdgkN.mjs → Tabs-CtdBEP39.mjs} +20 -20
- package/__chunks__/{Text-CFmLMgB7.js → Text-BMoA0yMR.js} +40 -40
- package/__chunks__/{Text-BPOoDg5O.mjs → Text-Bx5xQvLg.mjs} +40 -40
- package/__chunks__/{TextField-CtAwsnQG.mjs → TextField-3cY3nKBn.mjs} +1 -1
- package/__chunks__/{TextField-CES6ydsj.js → TextField-Bi1S8cvA.js} +1 -1
- package/__chunks__/{Toggle-D5VRzeJU.js → Toggle-8B3f76vx.js} +15 -15
- package/__chunks__/{Toggle-qwyZuSZH.mjs → Toggle-BVf2PQk2.mjs} +15 -15
- package/__chunks__/{Tooltip-CYDWD3VB.js → Tooltip-7XwvrZnA.js} +17 -16
- package/__chunks__/{Tooltip-BAKQ9mVy.mjs → Tooltip-BEhsOxJe.mjs} +17 -16
- package/__chunks__/{UnstyledButton-yd6ZL2Yi.js → UnstyledButton-BNciIRwZ.js} +3 -3
- package/__chunks__/{UnstyledButton-D_DzFe67.mjs → UnstyledButton-aKk2POM3.mjs} +3 -3
- package/__chunks__/{VerticalStack-BkGZvd41.mjs → VerticalStack-7ngWLZ9D.mjs} +3 -3
- package/__chunks__/{VerticalStack-B7ytb3Iu.js → VerticalStack-8rmfIYQv.js} +3 -3
- package/__chunks__/{VisuallyHidden-cQCgS6_a.mjs → VisuallyHidden-BW8z0u63.mjs} +2 -2
- package/__chunks__/{VisuallyHidden-DcUrMWfu.js → VisuallyHidden-CxznJ2eH.js} +2 -2
- package/__chunks__/{ariaHideOutside-CvJKAP9c.mjs → ariaHideOutside-BWTlv_g_.mjs} +26 -11
- package/__chunks__/{ariaHideOutside-DkYn-eBq.js → ariaHideOutside-CCOx7fIt.js} +27 -12
- package/__chunks__/{context-CYcq9Zvo.js → context-B-dkBtcD.js} +1 -54
- package/__chunks__/{context-D3NeXov7.js → context-BQfsEeih.js} +1 -1
- package/__chunks__/{context-BZCcafjG.mjs → context-BZH2zfKM.mjs} +1 -1
- package/__chunks__/{context-EpOG85wC.mjs → context-ClcSNaYl.mjs} +3 -56
- package/__chunks__/focusSafely-DLX4i5KV.js +15 -0
- package/__chunks__/focusSafely-MpYXzuLP.mjs +16 -0
- package/__chunks__/index-6ObXAT_4.js +147 -0
- package/__chunks__/index-DOQwYO8h.mjs +148 -0
- package/__chunks__/{mergeProps-DniMwM6P.js → mergeProps-6pKCnMWU.js} +21 -19
- package/__chunks__/{mergeProps-DSi85raC.mjs → mergeProps-C4OYS8Nd.mjs} +26 -24
- package/__chunks__/{scrollIntoView-wURtlgJt.mjs → scrollIntoView-1v0vfaIN.mjs} +1 -1
- package/__chunks__/{scrollIntoView-BN4yt25y.js → scrollIntoView-CzFYIYQT.js} +1 -1
- package/__chunks__/{useButton-CdgRb7pd.mjs → useButton-B8EwIeGA.mjs} +5 -5
- package/__chunks__/{useButton-B_VJe1i5.js → useButton-BUzZ-5VB.js} +5 -5
- package/__chunks__/{useCollator-B-keb3wA.mjs → useCollator-CYCg6wMz.mjs} +1 -1
- package/__chunks__/{useCollator-DGrSWVh4.js → useCollator-DpGidudE.js} +1 -1
- package/__chunks__/{useDialog-DJ-g6m8Y.js → useDialog-BkTg_V3k.js} +5 -5
- package/__chunks__/{useDialog-Bxep5NaV.mjs → useDialog-mJmFmECS.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-Dr0sj9Ly.js → useEdgeInterceptors-BTw8xzQs.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-WqF_YygM.mjs → useEdgeInterceptors-DtSwXFEP.mjs} +5 -5
- package/__chunks__/{useEvent-B0fsKtsf.mjs → useEvent-DUet8f_n.mjs} +1 -1
- package/__chunks__/{useEvent-DY7dR7Mi.js → useEvent-DiEr5shV.js} +1 -1
- package/__chunks__/{useField-B6VplZ_n.mjs → useField-CQfJ37Nt.mjs} +2 -2
- package/__chunks__/{useField-BJW_bXVD.js → useField-MeTEdBhD.js} +2 -2
- package/__chunks__/{useFilter-D-K0Oj-7.mjs → useFilter-D3MAuO1e.mjs} +1 -1
- package/__chunks__/{useFilter-DpnZ54nd.js → useFilter-DUqh08RA.js} +1 -1
- package/__chunks__/{useFocus-lnK5BCt2.mjs → useFocus-BR2JUcSC.mjs} +3 -3
- package/__chunks__/{useFocus-l6ZlVMHW.js → useFocus-CMM1E_s1.js} +5 -5
- package/__chunks__/{useFocusRing-f5StfjhA.js → useFocusRing-BTr2SNa0.js} +3 -3
- package/__chunks__/{useFocusRing-KIEn23AD.mjs → useFocusRing-BbxvDonI.mjs} +3 -3
- package/__chunks__/{useFocusVisible-CiIrKjuz.js → useFocusVisible-DFYEx6se.js} +18 -107
- package/__chunks__/{useFocusVisible-Bb3k4_O_.mjs → useFocusVisible-D_XXcaLm.mjs} +11 -100
- package/__chunks__/useFocusWithin-B1KKdipT.js +69 -0
- package/__chunks__/useFocusWithin-DMidhx8C.mjs +70 -0
- package/__chunks__/{useFocusable-BQyiwtXU.js → useFocusable-6aWd3xB2.js} +15 -12
- package/__chunks__/{useFocusable-DxcU91xN.mjs → useFocusable-BQyiLqbY.mjs} +16 -13
- package/__chunks__/{useFormReset-DA1Lwdha.mjs → useFormReset-DwIsbrAk.mjs} +1 -1
- package/__chunks__/{useFormReset-Bgj93eR3.js → useFormReset-Ja1aibwy.js} +1 -1
- package/__chunks__/{useFormValidation-BeqiYVJN.js → useFormValidation-BqUyj3MW.js} +2 -2
- package/__chunks__/{useFormValidation-CCe1AoIX.mjs → useFormValidation-SckXeoUZ.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-DOO1szWv.mjs → useHasTabbableChild-BkKbzCwx.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-CepF5tQS.js → useHasTabbableChild-OzJPDs7u.js} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-B_YjQEPD.mjs → useHighlightSelectionDescription-C3ZHe657.mjs} +16 -7
- package/__chunks__/{useHighlightSelectionDescription-nSfKxNPA.js → useHighlightSelectionDescription-DDHTMZiR.js} +16 -7
- package/__chunks__/{useHover-BOYR4wqI.mjs → useHover-DpEGMvo6.mjs} +13 -3
- package/__chunks__/{useHover-BIKwjrCT.js → useHover-NuBBFo1D.js} +13 -3
- package/__chunks__/{useLabel-D37VV43W.mjs → useLabel-B3S3Miea.mjs} +2 -2
- package/__chunks__/{useLabel-t-N6anB8.js → useLabel-DVLShpAi.js} +2 -2
- package/__chunks__/{useLabels-5f58TiCH.mjs → useLabels-ClfID0sX.mjs} +1 -1
- package/__chunks__/{useLabels-KmwewLTv.js → useLabels-DrIYrapv.js} +1 -1
- package/__chunks__/{useLink-CQhl3ZGL.js → useLink-DyvPn11c.js} +4 -4
- package/__chunks__/{useLink-BGK9UEQW.mjs → useLink-WThPkjA2.mjs} +4 -4
- package/__chunks__/{useListBoxSection-Dl15OiHe.mjs → useListBoxSection-8W_ApdBB.mjs} +10 -10
- package/__chunks__/{useListBoxSection-TdoNdwIM.js → useListBoxSection-rWvzEd35.js} +11 -11
- package/__chunks__/{useListState-I5rva0Fq.js → useListState-CKHwm7j_.js} +27 -12
- package/__chunks__/{useListState-AFrlkW73.mjs → useListState-DqBHV23A.mjs} +28 -13
- package/__chunks__/{useLocalizedStringFormatter-BHXy3Wtu.mjs → useLocalizedStringFormatter-BhtDVRd3.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-CaF1VsOH.js → useLocalizedStringFormatter-C3ZwxPrF.js} +1 -1
- package/__chunks__/{useMenuTrigger-DhSBxWW5.js → useMenuTrigger-BVkF1AqM.js} +9 -5
- package/__chunks__/{useMenuTrigger-DDKy3dcp.mjs → useMenuTrigger-D1J5fKGN.mjs} +9 -5
- package/__chunks__/{useMenuTriggerState-BJJ3WdLH.mjs → useMenuTriggerState-BtbgVHYJ.mjs} +1 -1
- package/__chunks__/{useMenuTriggerState-DTZmPbSP.js → useMenuTriggerState-Skj7UUPq.js} +1 -1
- package/__chunks__/{useModalOverlay-BeCxNyVY.mjs → useModalOverlay-USYfWlZ0.mjs} +3 -3
- package/__chunks__/{useModalOverlay-gSHY_FAb.js → useModalOverlay-VZIDHsXZ.js} +3 -3
- package/__chunks__/{useOverlayPosition-DJGEWKwM.js → useOverlayPosition-4b_rkosH.js} +5 -5
- package/__chunks__/{useOverlayPosition-CTTQ0gZN.mjs → useOverlayPosition-vVuqBjvk.mjs} +4 -4
- package/__chunks__/{useOverlayTrigger-BvP35sYf.mjs → useOverlayTrigger-C_ezbQv8.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-CiUR_pLO.js → useOverlayTrigger-Df2Gw0ns.js} +2 -2
- package/__chunks__/{usePress-DTGD4Sub.js → usePress-BkfhIu8i.js} +92 -124
- package/__chunks__/{usePress-CqfuY_T7.mjs → usePress-CMfwAyab.mjs} +77 -109
- package/__chunks__/{useSelectableItem-DeFiKyU1.mjs → useSelectableItem-DR0zbOkr.mjs} +122 -55
- package/__chunks__/{useSelectableItem-BEkjpB_K.js → useSelectableItem-DyTPlPnm.js} +123 -56
- package/__chunks__/{useSelectableList-Dk3TxzYJ.js → useSelectableList-CORVRfbM.js} +4 -4
- package/__chunks__/{useSelectableList-DPJUwWwV.mjs → useSelectableList-CPXWkbh2.mjs} +4 -4
- package/__chunks__/{useSingleSelectListState-DuCUY6dR.mjs → useSingleSelectListState-61RqBjo5.mjs} +1 -1
- package/__chunks__/{useSingleSelectListState-5RB1w9vv.js → useSingleSelectListState-IrBbHxlA.js} +1 -1
- package/__chunks__/{useTextField-CspDdKaL.mjs → useTextField-BMdTAdta.mjs} +9 -8
- package/__chunks__/{useTextField-DM-ZTn9j.js → useTextField-CLVShmFK.js} +10 -9
- package/__chunks__/{useToggle-Cu5EqIJD.js → useToggle-ARrVy-Wa.js} +9 -7
- package/__chunks__/{useToggle-CbrJW7jr.mjs → useToggle-XRd89s8O.mjs} +9 -7
- package/__chunks__/{useTreeState-D6aHf9kN.js → useTreeState-DrWJoIPU.js} +1 -1
- package/__chunks__/{useTreeState-w_raYfy2.mjs → useTreeState-DtfZCGLY.mjs} +1 -1
- package/__chunks__/{useUpdateEffect-CssYIsWI.js → useUpdateEffect-BII0W8Ne.js} +2 -1
- package/__chunks__/{useUpdateEffect-BLgGnNgL.mjs → useUpdateEffect-C9amKlvd.mjs} +2 -1
- package/__chunks__/{utilities-DIZYscJV.js → utilities-1DzM5WE1.js} +21 -16
- package/__chunks__/{utilities-CczOI9Hn.mjs → utilities-9S1EwfZA.mjs} +21 -16
- package/__chunks__/{utils-BlKqJM2_.js → utils-CY9C69XV.js} +8 -7
- package/__chunks__/utils-DTjlhnVc.js +383 -0
- package/__chunks__/{utils-BIfsWYLR.mjs → utils-VVmFE3B0.mjs} +8 -7
- package/__chunks__/utils-_T25xnBK.mjs +385 -0
- package/package.json +9 -9
- package/style.css +1072 -1072
- package/styles/_scrollbars.scss +8 -8
- package/styles/_token-helpers.scss +0 -9
- package/styles/global.scss +1 -1
- package/__chunks__/focusSafely-CCOEuEpK.mjs +0 -15
- package/__chunks__/focusSafely-wmTq_iKq.js +0 -14
- package/__chunks__/index-CTw89HMx.js +0 -198
- package/__chunks__/index-DCSYt1ke.mjs +0 -199
- package/__chunks__/isVirtualEvent-B_Z4yzgm.mjs +0 -75
- package/__chunks__/isVirtualEvent-C-tB2MCl.js +0 -74
- package/__chunks__/useFocusWithin-BGNdxo9d.mjs +0 -48
- package/__chunks__/useFocusWithin-C-45XiL1.js +0 -47
|
@@ -21,18 +21,18 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
21
21
|
const React = require("react");
|
|
22
22
|
const Close = require("./Close-BQ2IlPyf.js");
|
|
23
23
|
const CheckCircle = require("./CheckCircle-lgmtkEe6.js");
|
|
24
|
-
const mergeProps = require("./mergeProps-
|
|
25
|
-
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-
|
|
24
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
25
|
+
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
26
26
|
const ReactDOM = require("react-dom");
|
|
27
|
-
const index = require("./index-
|
|
28
|
-
const Icon = require("./Icon-
|
|
29
|
-
const Text = require("./Text-
|
|
27
|
+
const index = require("./index-6ObXAT_4.js");
|
|
28
|
+
const Icon = require("./Icon-lRxgQUlF.js");
|
|
29
|
+
const Text = require("./Text-BMoA0yMR.js");
|
|
30
30
|
const utilities_css = require("../utilities/css.js");
|
|
31
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
32
|
-
const
|
|
33
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
34
|
-
const useFocusWithin = require("./useFocusWithin-
|
|
35
|
-
const useHover = require("./useHover-
|
|
31
|
+
const UnstyledButton = require("./UnstyledButton-BNciIRwZ.js");
|
|
32
|
+
const utils = require("./utils-DTjlhnVc.js");
|
|
33
|
+
const useFocusVisible = require("./useFocusVisible-DFYEx6se.js");
|
|
34
|
+
const useFocusWithin = require("./useFocusWithin-B1KKdipT.js");
|
|
35
|
+
const useHover = require("./useHover-NuBBFo1D.js");
|
|
36
36
|
function _interopNamespaceDefault(e) {
|
|
37
37
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
38
38
|
if (e) {
|
|
@@ -50,522 +50,102 @@ function _interopNamespaceDefault(e) {
|
|
|
50
50
|
return Object.freeze(n);
|
|
51
51
|
}
|
|
52
52
|
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
53
|
+
function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
|
|
54
|
+
let subscribe = React.useCallback((fn) => queue.subscribe(fn), [
|
|
55
|
+
queue
|
|
56
|
+
]);
|
|
57
|
+
let getSnapshot = React.useCallback(() => queue.visibleToasts, [
|
|
58
|
+
queue
|
|
59
|
+
]);
|
|
60
|
+
let visibleToasts = index.shimExports.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
61
|
+
return {
|
|
62
|
+
visibleToasts,
|
|
63
|
+
add: (content, options) => queue.add(content, options),
|
|
64
|
+
close: (key) => queue.close(key),
|
|
65
|
+
pauseAll: () => queue.pauseAll(),
|
|
66
|
+
resumeAll: () => queue.resumeAll()
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
70
|
+
runWithWrapUpdate(fn) {
|
|
71
|
+
if (this.wrapUpdate) this.wrapUpdate(fn);
|
|
72
|
+
else fn();
|
|
67
73
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
73
|
-
if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
|
|
74
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
|
|
74
|
+
/** Subscribes to updates to the visible toasts. */
|
|
75
|
+
subscribe(fn) {
|
|
76
|
+
this.subscriptions.add(fn);
|
|
77
|
+
return () => this.subscriptions.delete(fn);
|
|
75
78
|
}
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
d: "M479.98-290.77q11.9 0 19.58-7.66 7.67-7.65 7.67-19.55t-7.66-19.58q-7.65-7.67-19.55-7.67t-19.58 7.65q-7.67 7.66-7.67 19.56 0 11.9 7.66 19.58 7.65 7.67 19.55 7.67Zm-20.44-141.08h45.38v-249.53h-45.38v249.53ZM480.33-100q-78.95 0-147.89-29.92-68.95-29.92-120.76-81.71-51.81-51.79-81.75-120.78Q100-401.39 100-480.43q0-78.66 29.92-147.87 29.92-69.21 81.71-120.52 51.79-51.31 120.78-81.25Q401.39-860 480.43-860q78.66 0 147.87 29.92 69.21 29.92 120.52 81.21 51.31 51.29 81.25 120.63Q860-558.9 860-480.33q0 78.95-29.92 147.89-29.92 68.95-81.21 120.57-51.29 51.63-120.63 81.75Q558.9-100 480.33-100Zm.17-45.39q139.19 0 236.65-97.76 97.46-97.77 97.46-237.35 0-139.19-97.27-236.65-97.27-97.46-237.34-97.46-139.08 0-236.85 97.27-97.76 97.27-97.76 237.34 0 139.08 97.76 236.85 97.77 97.76 237.35 97.76ZM480-480Z"
|
|
88
|
-
}));
|
|
89
|
-
};
|
|
90
|
-
var __defProp$2 = Object.defineProperty;
|
|
91
|
-
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
92
|
-
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
93
|
-
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
94
|
-
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
|
|
95
|
-
enumerable: true,
|
|
96
|
-
configurable: true,
|
|
97
|
-
writable: true,
|
|
98
|
-
value
|
|
99
|
-
}) : obj[key] = value;
|
|
100
|
-
var __spreadValues$2 = (a, b) => {
|
|
101
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
102
|
-
if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
|
|
103
|
-
if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
79
|
+
/** Adds a new toast to the queue. */
|
|
80
|
+
add(content, options = {}) {
|
|
81
|
+
let toastKey = "_" + Math.random().toString(36).slice(2);
|
|
82
|
+
let toast = __spreadProps(__spreadValues({}, options), {
|
|
83
|
+
content,
|
|
84
|
+
key: toastKey,
|
|
85
|
+
timer: options.timeout ? new $77b352cf12efcf73$var$Timer(() => this.close(toastKey), options.timeout) : void 0
|
|
86
|
+
});
|
|
87
|
+
this.queue.unshift(toast);
|
|
88
|
+
this.updateVisibleToasts();
|
|
89
|
+
return toastKey;
|
|
104
90
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
91
|
+
/**
|
|
92
|
+
* Closes a toast.
|
|
93
|
+
*/
|
|
94
|
+
close(key) {
|
|
95
|
+
let index2 = this.queue.findIndex((t) => t.key === key);
|
|
96
|
+
if (index2 >= 0) {
|
|
97
|
+
var _this_queue_index_onClose, _this_queue_index;
|
|
98
|
+
(_this_queue_index_onClose = (_this_queue_index = this.queue[index2]).onClose) === null || _this_queue_index_onClose === void 0 ? void 0 : _this_queue_index_onClose.call(_this_queue_index);
|
|
99
|
+
this.queue.splice(index2, 1);
|
|
100
|
+
}
|
|
101
|
+
this.updateVisibleToasts();
|
|
112
102
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
var _b = _a, { title, titleId } = _b, props = __objRest$2(_b, ["title", "titleId"]);
|
|
117
|
-
return React__namespace.createElement("svg", __spreadValues$2({
|
|
118
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
119
|
-
viewBox: "0 -960 960 960",
|
|
120
|
-
"aria-labelledby": titleId
|
|
121
|
-
}, props), title ? React__namespace.createElement("title", {
|
|
122
|
-
id: titleId
|
|
123
|
-
}, title) : null, React__namespace.createElement("path", {
|
|
124
|
-
d: "M74.62-140 480-840l405.38 700H74.62Zm78.61-45.39h653.54L480-749.23 153.23-185.39Zm329.8-60.07q10.7 0 17.76-7.24 7.06-7.24 7.06-17.94 0-10.71-7.24-17.76-7.24-7.06-17.95-7.06-10.7 0-17.76 7.24-7.05 7.24-7.05 17.94 0 10.7 7.24 17.76 7.24 7.06 17.94 7.06Zm-22.88-97.92h45.39v-217.85h-45.39v217.85ZM480-467.31Z"
|
|
125
|
-
}));
|
|
126
|
-
};
|
|
127
|
-
var __defProp$1 = Object.defineProperty;
|
|
128
|
-
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
129
|
-
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
130
|
-
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
131
|
-
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
configurable: true,
|
|
134
|
-
writable: true,
|
|
135
|
-
value
|
|
136
|
-
}) : obj[key] = value;
|
|
137
|
-
var __spreadValues$1 = (a, b) => {
|
|
138
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
|
|
139
|
-
if (__getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(b)) {
|
|
140
|
-
if (__propIsEnum$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
|
|
103
|
+
updateVisibleToasts() {
|
|
104
|
+
this.visibleToasts = this.queue.slice(0, this.maxVisibleToasts);
|
|
105
|
+
for (let fn of this.subscriptions) this.runWithWrapUpdate(fn);
|
|
141
106
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
var target = {};
|
|
146
|
-
for (var prop in source) if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
147
|
-
if (source != null && __getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(source)) {
|
|
148
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop)) target[prop] = source[prop];
|
|
107
|
+
/** Pauses the timers for all visible toasts. */
|
|
108
|
+
pauseAll() {
|
|
109
|
+
for (let toast of this.visibleToasts) if (toast.timer) toast.timer.pause();
|
|
149
110
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
var _b = _a, { title, titleId } = _b, props = __objRest$1(_b, ["title", "titleId"]);
|
|
154
|
-
return React__namespace.createElement("svg", __spreadValues$1({
|
|
155
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
156
|
-
viewBox: "0 -960 960 960",
|
|
157
|
-
"aria-labelledby": titleId
|
|
158
|
-
}, props), title ? React__namespace.createElement("title", {
|
|
159
|
-
id: titleId
|
|
160
|
-
}, title) : null, React__namespace.createElement("path", {
|
|
161
|
-
d: "M90-748.46V-910h161.92v45.38H135.38v116.16H90Zm734.62 0v-116.16H708.46V-910H870v161.54h-45.38ZM90-50v-161.92h45.38v116.54h116.54V-50H90Zm618.46 0v-45.38h116.16v-116.54H870V-50H708.46ZM255.38-227.69q0 4.61 3.85 8.46 3.85 3.85 8.46 3.85h424.62q4.61 0 8.46-3.85 3.85-3.85 3.85-8.46v-504.62q0-4.61-3.85-8.46-3.85-3.85-8.46-3.85H267.69q-4.61 0-8.46 3.85-3.85 3.85-3.85 8.46v504.62ZM267.69-170q-23.53 0-40.61-17.08T210-227.69v-504.62q0-23.53 17.08-40.61T267.69-790h424.62q23.53 0 40.61 17.08T750-732.31v504.62q0 23.53-17.08 40.61T692.31-170H267.69Zm109.62-407.31h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38ZM255.38-227.69v-516.93 529.24-12.31Z"
|
|
162
|
-
}));
|
|
163
|
-
};
|
|
164
|
-
var __defProp2 = Object.defineProperty;
|
|
165
|
-
var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
|
|
166
|
-
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
167
|
-
var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
|
|
168
|
-
var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
|
|
169
|
-
enumerable: true,
|
|
170
|
-
configurable: true,
|
|
171
|
-
writable: true,
|
|
172
|
-
value
|
|
173
|
-
}) : obj[key] = value;
|
|
174
|
-
var __spreadValues2 = (a, b) => {
|
|
175
|
-
for (var prop in b || (b = {})) if (__hasOwnProp2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
|
|
176
|
-
if (__getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(b)) {
|
|
177
|
-
if (__propIsEnum2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
|
|
111
|
+
/** Resumes the timers for all visible toasts. */
|
|
112
|
+
resumeAll() {
|
|
113
|
+
for (let toast of this.visibleToasts) if (toast.timer) toast.timer.resume();
|
|
178
114
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
115
|
+
constructor(options) {
|
|
116
|
+
this.queue = [];
|
|
117
|
+
this.subscriptions = /* @__PURE__ */ new Set();
|
|
118
|
+
this.visibleToasts = [];
|
|
119
|
+
var _options_maxVisibleToasts;
|
|
120
|
+
this.maxVisibleToasts = (_options_maxVisibleToasts = options === null || options === void 0 ? void 0 : options.maxVisibleToasts) !== null && _options_maxVisibleToasts !== void 0 ? _options_maxVisibleToasts : Infinity;
|
|
121
|
+
this.wrapUpdate = options === null || options === void 0 ? void 0 : options.wrapUpdate;
|
|
186
122
|
}
|
|
187
|
-
return target;
|
|
188
|
-
};
|
|
189
|
-
const CurrencyExchange = (_a) => {
|
|
190
|
-
var _b = _a, { title, titleId } = _b, props = __objRest(_b, ["title", "titleId"]);
|
|
191
|
-
return React__namespace.createElement("svg", __spreadValues2({
|
|
192
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
193
|
-
viewBox: "0 -960 960 960",
|
|
194
|
-
"aria-labelledby": titleId
|
|
195
|
-
}, props), title ? React__namespace.createElement("title", {
|
|
196
|
-
id: titleId
|
|
197
|
-
}, title) : null, React__namespace.createElement("path", {
|
|
198
|
-
d: "M480-60q-117 0-219.65-68.89-102.66-68.88-156.89-166.19v141.23H58.08v-220h220v45.39H136.85q45.61 91.23 142.03 157.15 96.43 65.92 201.12 65.92 75.69 0 142.88-28.26 67.2-28.27 117.73-77.47 50.54-49.19 80.93-115.99 30.38-66.81 32.69-142.89h45.38q-1.92 85.23-35.65 159.85-33.73 74.61-90.46 130.38Q716.77-124 641.19-92 565.61-60 480-60Zm-23.23-142.62v-52.07q-42.31-10.85-72.23-34.85T334-356.46l39.85-14.31q14.3 37.23 44.61 58.46 30.31 21.23 68.16 21.23 39.61 0 68.8-19.88 29.2-19.89 29.2-56.89 0-34.15-23.66-55.88-23.65-21.73-90.27-48.96-62.69-25-91.73-52.46-29.04-27.47-29.04-74.16 0-40.92 28.85-71.15 28.85-30.23 80-37.23v-49.08h43.84v49.08q34.93 3.23 62.16 21.69Q592-667.54 609-635.62L571.38-618Q556-643.69 534-657.31q-22-13.61-52-13.61-40.15 0-64.38 19.92-24.24 19.92-24.24 51.69 0 32.77 22.93 51.39 22.92 18.61 84.77 43 69.77 28.23 98.19 58.3 28.42 30.08 28.42 78.77 0 26.16-9.96 46.77-9.96 20.62-26.85 35.04-16.88 14.42-40.11 22.96-23.23 8.54-50.16 10.39v50.07h-43.84ZM60.39-490q2.69-87.15 36.8-161.96 34.12-74.81 91.23-130.19 57.12-55.39 132.12-86.62Q395.54-900 480-900q115.85 0 219.65 69.08 103.81 69.08 156.89 167.54v-142.77h45.38v220h-220v-45.39h141.23q-44.46-89.3-140.57-156.19-96.12-66.88-202.58-66.88-74.15 0-141.35 27.88-67.19 27.88-117.92 76.69-50.73 48.81-81.69 115.62-30.96 66.8-33.27 144.42H60.39Z"
|
|
199
|
-
}));
|
|
200
|
-
};
|
|
201
|
-
var $ff9177efc58547ad$exports = {};
|
|
202
|
-
$ff9177efc58547ad$exports = {
|
|
203
|
-
"close": `إغلاق`,
|
|
204
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
205
|
-
one: () => `${formatter.number(args.count)} إشعار`,
|
|
206
|
-
other: () => `${formatter.number(args.count)} إشعارات`
|
|
207
|
-
})}.`
|
|
208
|
-
};
|
|
209
|
-
var $25eb7c0c0c45e544$exports = {};
|
|
210
|
-
$25eb7c0c0c45e544$exports = {
|
|
211
|
-
"close": `Затвори`,
|
|
212
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
213
|
-
one: () => `${formatter.number(args.count)} известие`,
|
|
214
|
-
other: () => `${formatter.number(args.count)} известия`
|
|
215
|
-
})}.`
|
|
216
|
-
};
|
|
217
|
-
var $28feffc3d61a8691$exports = {};
|
|
218
|
-
$28feffc3d61a8691$exports = {
|
|
219
|
-
"close": `Zavřít`,
|
|
220
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
221
|
-
one: () => `${formatter.number(args.count)} oznámení`,
|
|
222
|
-
other: () => `${formatter.number(args.count)} oznámení`
|
|
223
|
-
})}.`
|
|
224
|
-
};
|
|
225
|
-
var $390d441203d25ff4$exports = {};
|
|
226
|
-
$390d441203d25ff4$exports = {
|
|
227
|
-
"close": `Luk`,
|
|
228
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
229
|
-
one: () => `${formatter.number(args.count)} besked`,
|
|
230
|
-
other: () => `${formatter.number(args.count)} beskeder`
|
|
231
|
-
})}.`
|
|
232
|
-
};
|
|
233
|
-
var $7063c2d0f14f979a$exports = {};
|
|
234
|
-
$7063c2d0f14f979a$exports = {
|
|
235
|
-
"close": `Schließen`,
|
|
236
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
237
|
-
one: () => `${formatter.number(args.count)} Benachrichtigung`,
|
|
238
|
-
other: () => `${formatter.number(args.count)} Benachrichtigungen`
|
|
239
|
-
})}.`
|
|
240
|
-
};
|
|
241
|
-
var $2dfc1dbb6590af88$exports = {};
|
|
242
|
-
$2dfc1dbb6590af88$exports = {
|
|
243
|
-
"close": `Κλείσιμο`,
|
|
244
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
245
|
-
one: () => `${formatter.number(args.count)} ειδοποίηση`,
|
|
246
|
-
other: () => `${formatter.number(args.count)} ειδοποιήσεις`
|
|
247
|
-
})}.`
|
|
248
|
-
};
|
|
249
|
-
var $9a12ff1caae5a7a5$exports = {};
|
|
250
|
-
$9a12ff1caae5a7a5$exports = {
|
|
251
|
-
"close": `Close`,
|
|
252
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
253
|
-
one: () => `${formatter.number(args.count)} notification`,
|
|
254
|
-
other: () => `${formatter.number(args.count)} notifications`
|
|
255
|
-
})}.`
|
|
256
|
-
};
|
|
257
|
-
var $f4095fb5a72adbe6$exports = {};
|
|
258
|
-
$f4095fb5a72adbe6$exports = {
|
|
259
|
-
"close": `Cerrar`,
|
|
260
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
261
|
-
one: () => `${formatter.number(args.count)} notificación`,
|
|
262
|
-
other: () => `${formatter.number(args.count)} notificaciones`
|
|
263
|
-
})}.`
|
|
264
|
-
};
|
|
265
|
-
var $75bc5191b9d7826a$exports = {};
|
|
266
|
-
$75bc5191b9d7826a$exports = {
|
|
267
|
-
"close": `Sule`,
|
|
268
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
269
|
-
one: () => `${formatter.number(args.count)} teatis`,
|
|
270
|
-
other: () => `${formatter.number(args.count)} teatist`
|
|
271
|
-
})}.`
|
|
272
|
-
};
|
|
273
|
-
var $e4b9aef18b0db8dc$exports = {};
|
|
274
|
-
$e4b9aef18b0db8dc$exports = {
|
|
275
|
-
"close": `Sulje`,
|
|
276
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
277
|
-
one: () => `${formatter.number(args.count)} ilmoitus`,
|
|
278
|
-
other: () => `${formatter.number(args.count)} ilmoitusta`
|
|
279
|
-
})}.`
|
|
280
|
-
};
|
|
281
|
-
var $888756784d832bd7$exports = {};
|
|
282
|
-
$888756784d832bd7$exports = {
|
|
283
|
-
"close": `Fermer`,
|
|
284
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
285
|
-
one: () => `${formatter.number(args.count)} notification`,
|
|
286
|
-
other: () => `${formatter.number(args.count)} notifications`
|
|
287
|
-
})}.`
|
|
288
|
-
};
|
|
289
|
-
var $6835949b68a1fabf$exports = {};
|
|
290
|
-
$6835949b68a1fabf$exports = {
|
|
291
|
-
"close": `סגור`,
|
|
292
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
293
|
-
one: () => `${formatter.number(args.count)} התראה`,
|
|
294
|
-
other: () => `${formatter.number(args.count)} התראות`
|
|
295
|
-
})}.`
|
|
296
|
-
};
|
|
297
|
-
var $87ffcbc0b651e40b$exports = {};
|
|
298
|
-
$87ffcbc0b651e40b$exports = {
|
|
299
|
-
"close": `Zatvori`,
|
|
300
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
301
|
-
one: () => `${formatter.number(args.count)} obavijest`,
|
|
302
|
-
other: () => `${formatter.number(args.count)} obavijesti`
|
|
303
|
-
})}.`
|
|
304
|
-
};
|
|
305
|
-
var $dc6e3b2813600d69$exports = {};
|
|
306
|
-
$dc6e3b2813600d69$exports = {
|
|
307
|
-
"close": `Bezárás`,
|
|
308
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
309
|
-
one: () => `${formatter.number(args.count)} értesítés`,
|
|
310
|
-
other: () => `${formatter.number(args.count)} értesítés`
|
|
311
|
-
})}.`
|
|
312
|
-
};
|
|
313
|
-
var $fe136bcbacfcfa14$exports = {};
|
|
314
|
-
$fe136bcbacfcfa14$exports = {
|
|
315
|
-
"close": `Chiudi`,
|
|
316
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
317
|
-
one: () => `${formatter.number(args.count)} notifica`,
|
|
318
|
-
other: () => `${formatter.number(args.count)} notifiche`
|
|
319
|
-
})}.`
|
|
320
|
-
};
|
|
321
|
-
var $8fb53a929b46df83$exports = {};
|
|
322
|
-
$8fb53a929b46df83$exports = {
|
|
323
|
-
"close": `閉じる`,
|
|
324
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
325
|
-
one: () => `${formatter.number(args.count)} 個の通知`,
|
|
326
|
-
other: () => `${formatter.number(args.count)} 個の通知`
|
|
327
|
-
})}。`
|
|
328
|
-
};
|
|
329
|
-
var $2c38dbfaf041a865$exports = {};
|
|
330
|
-
$2c38dbfaf041a865$exports = {
|
|
331
|
-
"close": `닫기`,
|
|
332
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
333
|
-
one: () => `${formatter.number(args.count)}개 알림`,
|
|
334
|
-
other: () => `${formatter.number(args.count)}개 알림`
|
|
335
|
-
})}.`
|
|
336
|
-
};
|
|
337
|
-
var $48f3f33a29908d4c$exports = {};
|
|
338
|
-
$48f3f33a29908d4c$exports = {
|
|
339
|
-
"close": `Uždaryti`,
|
|
340
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
341
|
-
one: () => `${formatter.number(args.count)} pranešimas`,
|
|
342
|
-
other: () => `${formatter.number(args.count)} pranešimai`
|
|
343
|
-
})}.`
|
|
344
|
-
};
|
|
345
|
-
var $9867160d996455a0$exports = {};
|
|
346
|
-
$9867160d996455a0$exports = {
|
|
347
|
-
"close": `Aizvērt`,
|
|
348
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
349
|
-
one: () => `${formatter.number(args.count)} paziņojums`,
|
|
350
|
-
other: () => `${formatter.number(args.count)} paziņojumi`
|
|
351
|
-
})}.`
|
|
352
|
-
};
|
|
353
|
-
var $196258ea25c96487$exports = {};
|
|
354
|
-
$196258ea25c96487$exports = {
|
|
355
|
-
"close": `Lukk`,
|
|
356
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
357
|
-
one: () => `${formatter.number(args.count)} varsling`,
|
|
358
|
-
other: () => `${formatter.number(args.count)} varsler`
|
|
359
|
-
})}.`
|
|
360
|
-
};
|
|
361
|
-
var $949061cb954e8000$exports = {};
|
|
362
|
-
$949061cb954e8000$exports = {
|
|
363
|
-
"close": `Sluiten`,
|
|
364
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
365
|
-
one: () => `${formatter.number(args.count)} melding`,
|
|
366
|
-
other: () => `${formatter.number(args.count)} meldingen`
|
|
367
|
-
})}.`
|
|
368
|
-
};
|
|
369
|
-
var $8189bed27add1ad3$exports = {};
|
|
370
|
-
$8189bed27add1ad3$exports = {
|
|
371
|
-
"close": `Zamknij`,
|
|
372
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
373
|
-
one: () => `${formatter.number(args.count)} powiadomienie`,
|
|
374
|
-
few: () => `${formatter.number(args.count)} powiadomienia`,
|
|
375
|
-
many: () => `${formatter.number(args.count)} powiadomień`,
|
|
376
|
-
other: () => `${formatter.number(args.count)} powiadomienia`
|
|
377
|
-
})}.`
|
|
378
|
-
};
|
|
379
|
-
var $a361756a93b6e28c$exports = {};
|
|
380
|
-
$a361756a93b6e28c$exports = {
|
|
381
|
-
"close": `Fechar`,
|
|
382
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
383
|
-
one: () => `${formatter.number(args.count)} notificação`,
|
|
384
|
-
other: () => `${formatter.number(args.count)} notificações`
|
|
385
|
-
})}.`
|
|
386
|
-
};
|
|
387
|
-
var $034c7393857c8db0$exports = {};
|
|
388
|
-
$034c7393857c8db0$exports = {
|
|
389
|
-
"close": `Fechar`,
|
|
390
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
391
|
-
one: () => `${formatter.number(args.count)} notificação`,
|
|
392
|
-
other: () => `${formatter.number(args.count)} notificações`
|
|
393
|
-
})}.`
|
|
394
|
-
};
|
|
395
|
-
var $e33d3b3868478b04$exports = {};
|
|
396
|
-
$e33d3b3868478b04$exports = {
|
|
397
|
-
"close": `Închideţi`,
|
|
398
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
399
|
-
one: () => `${formatter.number(args.count)} notificare`,
|
|
400
|
-
other: () => `${formatter.number(args.count)} notificări`
|
|
401
|
-
})}.`
|
|
402
|
-
};
|
|
403
|
-
var $9a7dcb914b29cd9f$exports = {};
|
|
404
|
-
$9a7dcb914b29cd9f$exports = {
|
|
405
|
-
"close": `Закрыть`,
|
|
406
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
407
|
-
one: () => `${formatter.number(args.count)} уведомление`,
|
|
408
|
-
other: () => `${formatter.number(args.count)} уведомления`
|
|
409
|
-
})}.`
|
|
410
|
-
};
|
|
411
|
-
var $e43d964a0c7f1266$exports = {};
|
|
412
|
-
$e43d964a0c7f1266$exports = {
|
|
413
|
-
"close": `Zatvoriť`,
|
|
414
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
415
|
-
one: () => `${formatter.number(args.count)} oznámenie`,
|
|
416
|
-
few: () => `${formatter.number(args.count)} oznámenia`,
|
|
417
|
-
other: () => `${formatter.number(args.count)} oznámení`
|
|
418
|
-
})}.`
|
|
419
|
-
};
|
|
420
|
-
var $0bc56cee3275bcaa$exports = {};
|
|
421
|
-
$0bc56cee3275bcaa$exports = {
|
|
422
|
-
"close": `Zapri`,
|
|
423
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
424
|
-
one: () => `${formatter.number(args.count)} obvestilo`,
|
|
425
|
-
two: () => `${formatter.number(args.count)} obvestili`,
|
|
426
|
-
few: () => `${formatter.number(args.count)} obvestila`,
|
|
427
|
-
other: () => `${formatter.number(args.count)} obvestil`
|
|
428
|
-
})}.`
|
|
429
|
-
};
|
|
430
|
-
var $7dbdd7289c10d2ba$exports = {};
|
|
431
|
-
$7dbdd7289c10d2ba$exports = {
|
|
432
|
-
"close": `Zatvori`,
|
|
433
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
434
|
-
one: () => `${formatter.number(args.count)} obaveštenje`,
|
|
435
|
-
other: () => `${formatter.number(args.count)} obaveštenja`
|
|
436
|
-
})}.`
|
|
437
|
-
};
|
|
438
|
-
var $ccbe6066c10b1e53$exports = {};
|
|
439
|
-
$ccbe6066c10b1e53$exports = {
|
|
440
|
-
"close": `Stäng`,
|
|
441
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
442
|
-
one: () => `${formatter.number(args.count)} meddelande`,
|
|
443
|
-
other: () => `${formatter.number(args.count)} meddelanden`
|
|
444
|
-
})}.`
|
|
445
|
-
};
|
|
446
|
-
var $9d503476b9d858b7$exports = {};
|
|
447
|
-
$9d503476b9d858b7$exports = {
|
|
448
|
-
"close": `Kapat`,
|
|
449
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
450
|
-
one: () => `${formatter.number(args.count)} bildirim`,
|
|
451
|
-
other: () => `${formatter.number(args.count)} bildirim`
|
|
452
|
-
})}.`
|
|
453
|
-
};
|
|
454
|
-
var $32ee419c7b9b7a83$exports = {};
|
|
455
|
-
$32ee419c7b9b7a83$exports = {
|
|
456
|
-
"close": `Закрити`,
|
|
457
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
458
|
-
one: () => `${formatter.number(args.count)} сповіщення`,
|
|
459
|
-
other: () => `${formatter.number(args.count)} сповіщення`
|
|
460
|
-
})}.`
|
|
461
|
-
};
|
|
462
|
-
var $122525af1cb737c7$exports = {};
|
|
463
|
-
$122525af1cb737c7$exports = {
|
|
464
|
-
"close": `关闭`,
|
|
465
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
466
|
-
one: () => `${formatter.number(args.count)} 个通知`,
|
|
467
|
-
other: () => `${formatter.number(args.count)} 个通知`
|
|
468
|
-
})}。`
|
|
469
|
-
};
|
|
470
|
-
var $52e8b1b00094e5a3$exports = {};
|
|
471
|
-
$52e8b1b00094e5a3$exports = {
|
|
472
|
-
"close": `關閉`,
|
|
473
|
-
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
474
|
-
one: () => `${formatter.number(args.count)} 個通知`,
|
|
475
|
-
other: () => `${formatter.number(args.count)} 個通知`
|
|
476
|
-
})}。`
|
|
477
|
-
};
|
|
478
|
-
var $7853651519a70071$exports = {};
|
|
479
|
-
$7853651519a70071$exports = {
|
|
480
|
-
"ar-AE": $ff9177efc58547ad$exports,
|
|
481
|
-
"bg-BG": $25eb7c0c0c45e544$exports,
|
|
482
|
-
"cs-CZ": $28feffc3d61a8691$exports,
|
|
483
|
-
"da-DK": $390d441203d25ff4$exports,
|
|
484
|
-
"de-DE": $7063c2d0f14f979a$exports,
|
|
485
|
-
"el-GR": $2dfc1dbb6590af88$exports,
|
|
486
|
-
"en-US": $9a12ff1caae5a7a5$exports,
|
|
487
|
-
"es-ES": $f4095fb5a72adbe6$exports,
|
|
488
|
-
"et-EE": $75bc5191b9d7826a$exports,
|
|
489
|
-
"fi-FI": $e4b9aef18b0db8dc$exports,
|
|
490
|
-
"fr-FR": $888756784d832bd7$exports,
|
|
491
|
-
"he-IL": $6835949b68a1fabf$exports,
|
|
492
|
-
"hr-HR": $87ffcbc0b651e40b$exports,
|
|
493
|
-
"hu-HU": $dc6e3b2813600d69$exports,
|
|
494
|
-
"it-IT": $fe136bcbacfcfa14$exports,
|
|
495
|
-
"ja-JP": $8fb53a929b46df83$exports,
|
|
496
|
-
"ko-KR": $2c38dbfaf041a865$exports,
|
|
497
|
-
"lt-LT": $48f3f33a29908d4c$exports,
|
|
498
|
-
"lv-LV": $9867160d996455a0$exports,
|
|
499
|
-
"nb-NO": $196258ea25c96487$exports,
|
|
500
|
-
"nl-NL": $949061cb954e8000$exports,
|
|
501
|
-
"pl-PL": $8189bed27add1ad3$exports,
|
|
502
|
-
"pt-BR": $a361756a93b6e28c$exports,
|
|
503
|
-
"pt-PT": $034c7393857c8db0$exports,
|
|
504
|
-
"ro-RO": $e33d3b3868478b04$exports,
|
|
505
|
-
"ru-RU": $9a7dcb914b29cd9f$exports,
|
|
506
|
-
"sk-SK": $e43d964a0c7f1266$exports,
|
|
507
|
-
"sl-SI": $0bc56cee3275bcaa$exports,
|
|
508
|
-
"sr-SP": $7dbdd7289c10d2ba$exports,
|
|
509
|
-
"sv-SE": $ccbe6066c10b1e53$exports,
|
|
510
|
-
"tr-TR": $9d503476b9d858b7$exports,
|
|
511
|
-
"uk-UA": $32ee419c7b9b7a83$exports,
|
|
512
|
-
"zh-CN": $122525af1cb737c7$exports,
|
|
513
|
-
"zh-TW": $52e8b1b00094e5a3$exports
|
|
514
|
-
};
|
|
515
|
-
function $parcel$interopDefault$1(a) {
|
|
516
|
-
return a && a.__esModule ? a.default : a;
|
|
517
123
|
}
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
"aria-label": props["aria-label"],
|
|
544
|
-
"aria-labelledby": props["aria-labelledby"] || titleId,
|
|
545
|
-
"aria-describedby": props["aria-describedby"] || descriptionId,
|
|
546
|
-
"aria-details": props["aria-details"],
|
|
547
|
-
// Hide toasts that are animating out so VoiceOver doesn't announce them.
|
|
548
|
-
"aria-hidden": animation === "exiting" ? "true" : void 0,
|
|
549
|
-
tabIndex: 0
|
|
550
|
-
},
|
|
551
|
-
contentProps: {
|
|
552
|
-
role: "alert",
|
|
553
|
-
"aria-atomic": "true",
|
|
554
|
-
style: {
|
|
555
|
-
visibility: isEntered || animation === null ? "visible" : "hidden"
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
titleProps: {
|
|
559
|
-
id: titleId
|
|
560
|
-
},
|
|
561
|
-
descriptionProps: {
|
|
562
|
-
id: descriptionId
|
|
563
|
-
},
|
|
564
|
-
closeButtonProps: {
|
|
565
|
-
"aria-label": stringFormatter.format("close"),
|
|
566
|
-
onPress: () => state.close(key)
|
|
567
|
-
}
|
|
568
|
-
};
|
|
124
|
+
class $77b352cf12efcf73$var$Timer {
|
|
125
|
+
reset(delay) {
|
|
126
|
+
this.remaining = delay;
|
|
127
|
+
this.resume();
|
|
128
|
+
}
|
|
129
|
+
pause() {
|
|
130
|
+
if (this.timerId == null) return;
|
|
131
|
+
clearTimeout(this.timerId);
|
|
132
|
+
this.timerId = null;
|
|
133
|
+
this.remaining -= Date.now() - this.startTime;
|
|
134
|
+
}
|
|
135
|
+
resume() {
|
|
136
|
+
if (this.remaining <= 0) return;
|
|
137
|
+
this.startTime = Date.now();
|
|
138
|
+
this.timerId = setTimeout(() => {
|
|
139
|
+
this.timerId = null;
|
|
140
|
+
this.remaining = 0;
|
|
141
|
+
this.callback();
|
|
142
|
+
}, this.remaining);
|
|
143
|
+
}
|
|
144
|
+
constructor(callback, delay) {
|
|
145
|
+
this.startTime = null;
|
|
146
|
+
this.remaining = delay;
|
|
147
|
+
this.callback = callback;
|
|
148
|
+
}
|
|
569
149
|
}
|
|
570
150
|
const $a86207c5d7f7e1fb$var$LANDMARK_API_VERSION = 1;
|
|
571
151
|
const $a86207c5d7f7e1fb$var$landmarkSymbol = Symbol.for("react-aria-landmark-manager");
|
|
@@ -854,51 +434,414 @@ class $a86207c5d7f7e1fb$var$LandmarkManager {
|
|
|
854
434
|
this.focusoutHandler = this.focusoutHandler.bind(this);
|
|
855
435
|
}
|
|
856
436
|
}
|
|
857
|
-
function $a86207c5d7f7e1fb$export$4cc632584fd87fae(props, ref) {
|
|
858
|
-
const { role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, focus } = props;
|
|
859
|
-
let manager = $a86207c5d7f7e1fb$var$useLandmarkManager();
|
|
860
|
-
let label = ariaLabel || ariaLabelledby;
|
|
861
|
-
let [isLandmarkFocused, setIsLandmarkFocused] = React.useState(false);
|
|
862
|
-
let defaultFocus = React.useCallback(() => {
|
|
863
|
-
setIsLandmarkFocused(true);
|
|
864
|
-
}, [
|
|
865
|
-
setIsLandmarkFocused
|
|
866
|
-
]);
|
|
867
|
-
let blur = React.useCallback(() => {
|
|
868
|
-
setIsLandmarkFocused(false);
|
|
869
|
-
}, [
|
|
870
|
-
setIsLandmarkFocused
|
|
871
|
-
]);
|
|
872
|
-
mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
873
|
-
if (manager) return manager.registerLandmark({
|
|
874
|
-
ref,
|
|
875
|
-
label,
|
|
876
|
-
role,
|
|
877
|
-
focus: focus || defaultFocus,
|
|
878
|
-
blur
|
|
879
|
-
});
|
|
880
|
-
}, [
|
|
881
|
-
manager,
|
|
882
|
-
label,
|
|
883
|
-
ref,
|
|
884
|
-
role,
|
|
885
|
-
focus,
|
|
886
|
-
defaultFocus,
|
|
887
|
-
blur
|
|
888
|
-
]);
|
|
437
|
+
function $a86207c5d7f7e1fb$export$4cc632584fd87fae(props, ref) {
|
|
438
|
+
const { role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, focus } = props;
|
|
439
|
+
let manager = $a86207c5d7f7e1fb$var$useLandmarkManager();
|
|
440
|
+
let label = ariaLabel || ariaLabelledby;
|
|
441
|
+
let [isLandmarkFocused, setIsLandmarkFocused] = React.useState(false);
|
|
442
|
+
let defaultFocus = React.useCallback(() => {
|
|
443
|
+
setIsLandmarkFocused(true);
|
|
444
|
+
}, [
|
|
445
|
+
setIsLandmarkFocused
|
|
446
|
+
]);
|
|
447
|
+
let blur = React.useCallback(() => {
|
|
448
|
+
setIsLandmarkFocused(false);
|
|
449
|
+
}, [
|
|
450
|
+
setIsLandmarkFocused
|
|
451
|
+
]);
|
|
452
|
+
mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
453
|
+
if (manager) return manager.registerLandmark({
|
|
454
|
+
ref,
|
|
455
|
+
label,
|
|
456
|
+
role,
|
|
457
|
+
focus: focus || defaultFocus,
|
|
458
|
+
blur
|
|
459
|
+
});
|
|
460
|
+
}, [
|
|
461
|
+
manager,
|
|
462
|
+
label,
|
|
463
|
+
ref,
|
|
464
|
+
role,
|
|
465
|
+
focus,
|
|
466
|
+
defaultFocus,
|
|
467
|
+
blur
|
|
468
|
+
]);
|
|
469
|
+
React.useEffect(() => {
|
|
470
|
+
var _ref_current;
|
|
471
|
+
if (isLandmarkFocused) (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();
|
|
472
|
+
}, [
|
|
473
|
+
isLandmarkFocused,
|
|
474
|
+
ref
|
|
475
|
+
]);
|
|
476
|
+
return {
|
|
477
|
+
landmarkProps: {
|
|
478
|
+
role,
|
|
479
|
+
tabIndex: isLandmarkFocused ? -1 : void 0,
|
|
480
|
+
"aria-label": ariaLabel,
|
|
481
|
+
"aria-labelledby": ariaLabelledby
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
var $ff9177efc58547ad$exports = {};
|
|
486
|
+
$ff9177efc58547ad$exports = {
|
|
487
|
+
"close": `إغلاق`,
|
|
488
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
489
|
+
one: () => `${formatter.number(args.count)} إشعار`,
|
|
490
|
+
other: () => `${formatter.number(args.count)} إشعارات`
|
|
491
|
+
})}.`
|
|
492
|
+
};
|
|
493
|
+
var $25eb7c0c0c45e544$exports = {};
|
|
494
|
+
$25eb7c0c0c45e544$exports = {
|
|
495
|
+
"close": `Затвори`,
|
|
496
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
497
|
+
one: () => `${formatter.number(args.count)} известие`,
|
|
498
|
+
other: () => `${formatter.number(args.count)} известия`
|
|
499
|
+
})}.`
|
|
500
|
+
};
|
|
501
|
+
var $28feffc3d61a8691$exports = {};
|
|
502
|
+
$28feffc3d61a8691$exports = {
|
|
503
|
+
"close": `Zavřít`,
|
|
504
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
505
|
+
one: () => `${formatter.number(args.count)} oznámení`,
|
|
506
|
+
other: () => `${formatter.number(args.count)} oznámení`
|
|
507
|
+
})}.`
|
|
508
|
+
};
|
|
509
|
+
var $390d441203d25ff4$exports = {};
|
|
510
|
+
$390d441203d25ff4$exports = {
|
|
511
|
+
"close": `Luk`,
|
|
512
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
513
|
+
one: () => `${formatter.number(args.count)} besked`,
|
|
514
|
+
other: () => `${formatter.number(args.count)} beskeder`
|
|
515
|
+
})}.`
|
|
516
|
+
};
|
|
517
|
+
var $7063c2d0f14f979a$exports = {};
|
|
518
|
+
$7063c2d0f14f979a$exports = {
|
|
519
|
+
"close": `Schließen`,
|
|
520
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
521
|
+
one: () => `${formatter.number(args.count)} Benachrichtigung`,
|
|
522
|
+
other: () => `${formatter.number(args.count)} Benachrichtigungen`
|
|
523
|
+
})}.`
|
|
524
|
+
};
|
|
525
|
+
var $2dfc1dbb6590af88$exports = {};
|
|
526
|
+
$2dfc1dbb6590af88$exports = {
|
|
527
|
+
"close": `Κλείσιμο`,
|
|
528
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
529
|
+
one: () => `${formatter.number(args.count)} ειδοποίηση`,
|
|
530
|
+
other: () => `${formatter.number(args.count)} ειδοποιήσεις`
|
|
531
|
+
})}.`
|
|
532
|
+
};
|
|
533
|
+
var $9a12ff1caae5a7a5$exports = {};
|
|
534
|
+
$9a12ff1caae5a7a5$exports = {
|
|
535
|
+
"close": `Close`,
|
|
536
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
537
|
+
one: () => `${formatter.number(args.count)} notification`,
|
|
538
|
+
other: () => `${formatter.number(args.count)} notifications`
|
|
539
|
+
})}.`
|
|
540
|
+
};
|
|
541
|
+
var $f4095fb5a72adbe6$exports = {};
|
|
542
|
+
$f4095fb5a72adbe6$exports = {
|
|
543
|
+
"close": `Cerrar`,
|
|
544
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
545
|
+
one: () => `${formatter.number(args.count)} notificación`,
|
|
546
|
+
other: () => `${formatter.number(args.count)} notificaciones`
|
|
547
|
+
})}.`
|
|
548
|
+
};
|
|
549
|
+
var $75bc5191b9d7826a$exports = {};
|
|
550
|
+
$75bc5191b9d7826a$exports = {
|
|
551
|
+
"close": `Sule`,
|
|
552
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
553
|
+
one: () => `${formatter.number(args.count)} teatis`,
|
|
554
|
+
other: () => `${formatter.number(args.count)} teatist`
|
|
555
|
+
})}.`
|
|
556
|
+
};
|
|
557
|
+
var $e4b9aef18b0db8dc$exports = {};
|
|
558
|
+
$e4b9aef18b0db8dc$exports = {
|
|
559
|
+
"close": `Sulje`,
|
|
560
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
561
|
+
one: () => `${formatter.number(args.count)} ilmoitus`,
|
|
562
|
+
other: () => `${formatter.number(args.count)} ilmoitusta`
|
|
563
|
+
})}.`
|
|
564
|
+
};
|
|
565
|
+
var $888756784d832bd7$exports = {};
|
|
566
|
+
$888756784d832bd7$exports = {
|
|
567
|
+
"close": `Fermer`,
|
|
568
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
569
|
+
one: () => `${formatter.number(args.count)} notification`,
|
|
570
|
+
other: () => `${formatter.number(args.count)} notifications`
|
|
571
|
+
})}.`
|
|
572
|
+
};
|
|
573
|
+
var $6835949b68a1fabf$exports = {};
|
|
574
|
+
$6835949b68a1fabf$exports = {
|
|
575
|
+
"close": `סגור`,
|
|
576
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
577
|
+
one: () => `${formatter.number(args.count)} התראה`,
|
|
578
|
+
other: () => `${formatter.number(args.count)} התראות`
|
|
579
|
+
})}.`
|
|
580
|
+
};
|
|
581
|
+
var $87ffcbc0b651e40b$exports = {};
|
|
582
|
+
$87ffcbc0b651e40b$exports = {
|
|
583
|
+
"close": `Zatvori`,
|
|
584
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
585
|
+
one: () => `${formatter.number(args.count)} obavijest`,
|
|
586
|
+
other: () => `${formatter.number(args.count)} obavijesti`
|
|
587
|
+
})}.`
|
|
588
|
+
};
|
|
589
|
+
var $dc6e3b2813600d69$exports = {};
|
|
590
|
+
$dc6e3b2813600d69$exports = {
|
|
591
|
+
"close": `Bezárás`,
|
|
592
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
593
|
+
one: () => `${formatter.number(args.count)} értesítés`,
|
|
594
|
+
other: () => `${formatter.number(args.count)} értesítés`
|
|
595
|
+
})}.`
|
|
596
|
+
};
|
|
597
|
+
var $fe136bcbacfcfa14$exports = {};
|
|
598
|
+
$fe136bcbacfcfa14$exports = {
|
|
599
|
+
"close": `Chiudi`,
|
|
600
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
601
|
+
one: () => `${formatter.number(args.count)} notifica`,
|
|
602
|
+
other: () => `${formatter.number(args.count)} notifiche`
|
|
603
|
+
})}.`
|
|
604
|
+
};
|
|
605
|
+
var $8fb53a929b46df83$exports = {};
|
|
606
|
+
$8fb53a929b46df83$exports = {
|
|
607
|
+
"close": `閉じる`,
|
|
608
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
609
|
+
one: () => `${formatter.number(args.count)} 個の通知`,
|
|
610
|
+
other: () => `${formatter.number(args.count)} 個の通知`
|
|
611
|
+
})}。`
|
|
612
|
+
};
|
|
613
|
+
var $2c38dbfaf041a865$exports = {};
|
|
614
|
+
$2c38dbfaf041a865$exports = {
|
|
615
|
+
"close": `닫기`,
|
|
616
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
617
|
+
one: () => `${formatter.number(args.count)}개 알림`,
|
|
618
|
+
other: () => `${formatter.number(args.count)}개 알림`
|
|
619
|
+
})}.`
|
|
620
|
+
};
|
|
621
|
+
var $48f3f33a29908d4c$exports = {};
|
|
622
|
+
$48f3f33a29908d4c$exports = {
|
|
623
|
+
"close": `Uždaryti`,
|
|
624
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
625
|
+
one: () => `${formatter.number(args.count)} pranešimas`,
|
|
626
|
+
other: () => `${formatter.number(args.count)} pranešimai`
|
|
627
|
+
})}.`
|
|
628
|
+
};
|
|
629
|
+
var $9867160d996455a0$exports = {};
|
|
630
|
+
$9867160d996455a0$exports = {
|
|
631
|
+
"close": `Aizvērt`,
|
|
632
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
633
|
+
one: () => `${formatter.number(args.count)} paziņojums`,
|
|
634
|
+
other: () => `${formatter.number(args.count)} paziņojumi`
|
|
635
|
+
})}.`
|
|
636
|
+
};
|
|
637
|
+
var $196258ea25c96487$exports = {};
|
|
638
|
+
$196258ea25c96487$exports = {
|
|
639
|
+
"close": `Lukk`,
|
|
640
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
641
|
+
one: () => `${formatter.number(args.count)} varsling`,
|
|
642
|
+
other: () => `${formatter.number(args.count)} varsler`
|
|
643
|
+
})}.`
|
|
644
|
+
};
|
|
645
|
+
var $949061cb954e8000$exports = {};
|
|
646
|
+
$949061cb954e8000$exports = {
|
|
647
|
+
"close": `Sluiten`,
|
|
648
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
649
|
+
one: () => `${formatter.number(args.count)} melding`,
|
|
650
|
+
other: () => `${formatter.number(args.count)} meldingen`
|
|
651
|
+
})}.`
|
|
652
|
+
};
|
|
653
|
+
var $8189bed27add1ad3$exports = {};
|
|
654
|
+
$8189bed27add1ad3$exports = {
|
|
655
|
+
"close": `Zamknij`,
|
|
656
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
657
|
+
one: () => `${formatter.number(args.count)} powiadomienie`,
|
|
658
|
+
few: () => `${formatter.number(args.count)} powiadomienia`,
|
|
659
|
+
many: () => `${formatter.number(args.count)} powiadomień`,
|
|
660
|
+
other: () => `${formatter.number(args.count)} powiadomienia`
|
|
661
|
+
})}.`
|
|
662
|
+
};
|
|
663
|
+
var $a361756a93b6e28c$exports = {};
|
|
664
|
+
$a361756a93b6e28c$exports = {
|
|
665
|
+
"close": `Fechar`,
|
|
666
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
667
|
+
one: () => `${formatter.number(args.count)} notificação`,
|
|
668
|
+
other: () => `${formatter.number(args.count)} notificações`
|
|
669
|
+
})}.`
|
|
670
|
+
};
|
|
671
|
+
var $034c7393857c8db0$exports = {};
|
|
672
|
+
$034c7393857c8db0$exports = {
|
|
673
|
+
"close": `Fechar`,
|
|
674
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
675
|
+
one: () => `${formatter.number(args.count)} notificação`,
|
|
676
|
+
other: () => `${formatter.number(args.count)} notificações`
|
|
677
|
+
})}.`
|
|
678
|
+
};
|
|
679
|
+
var $e33d3b3868478b04$exports = {};
|
|
680
|
+
$e33d3b3868478b04$exports = {
|
|
681
|
+
"close": `Închideţi`,
|
|
682
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
683
|
+
one: () => `${formatter.number(args.count)} notificare`,
|
|
684
|
+
other: () => `${formatter.number(args.count)} notificări`
|
|
685
|
+
})}.`
|
|
686
|
+
};
|
|
687
|
+
var $9a7dcb914b29cd9f$exports = {};
|
|
688
|
+
$9a7dcb914b29cd9f$exports = {
|
|
689
|
+
"close": `Закрыть`,
|
|
690
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
691
|
+
one: () => `${formatter.number(args.count)} уведомление`,
|
|
692
|
+
other: () => `${formatter.number(args.count)} уведомления`
|
|
693
|
+
})}.`
|
|
694
|
+
};
|
|
695
|
+
var $e43d964a0c7f1266$exports = {};
|
|
696
|
+
$e43d964a0c7f1266$exports = {
|
|
697
|
+
"close": `Zatvoriť`,
|
|
698
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
699
|
+
one: () => `${formatter.number(args.count)} oznámenie`,
|
|
700
|
+
few: () => `${formatter.number(args.count)} oznámenia`,
|
|
701
|
+
other: () => `${formatter.number(args.count)} oznámení`
|
|
702
|
+
})}.`
|
|
703
|
+
};
|
|
704
|
+
var $0bc56cee3275bcaa$exports = {};
|
|
705
|
+
$0bc56cee3275bcaa$exports = {
|
|
706
|
+
"close": `Zapri`,
|
|
707
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
708
|
+
one: () => `${formatter.number(args.count)} obvestilo`,
|
|
709
|
+
two: () => `${formatter.number(args.count)} obvestili`,
|
|
710
|
+
few: () => `${formatter.number(args.count)} obvestila`,
|
|
711
|
+
other: () => `${formatter.number(args.count)} obvestil`
|
|
712
|
+
})}.`
|
|
713
|
+
};
|
|
714
|
+
var $7dbdd7289c10d2ba$exports = {};
|
|
715
|
+
$7dbdd7289c10d2ba$exports = {
|
|
716
|
+
"close": `Zatvori`,
|
|
717
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
718
|
+
one: () => `${formatter.number(args.count)} obaveštenje`,
|
|
719
|
+
other: () => `${formatter.number(args.count)} obaveštenja`
|
|
720
|
+
})}.`
|
|
721
|
+
};
|
|
722
|
+
var $ccbe6066c10b1e53$exports = {};
|
|
723
|
+
$ccbe6066c10b1e53$exports = {
|
|
724
|
+
"close": `Stäng`,
|
|
725
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
726
|
+
one: () => `${formatter.number(args.count)} meddelande`,
|
|
727
|
+
other: () => `${formatter.number(args.count)} meddelanden`
|
|
728
|
+
})}.`
|
|
729
|
+
};
|
|
730
|
+
var $9d503476b9d858b7$exports = {};
|
|
731
|
+
$9d503476b9d858b7$exports = {
|
|
732
|
+
"close": `Kapat`,
|
|
733
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
734
|
+
one: () => `${formatter.number(args.count)} bildirim`,
|
|
735
|
+
other: () => `${formatter.number(args.count)} bildirim`
|
|
736
|
+
})}.`
|
|
737
|
+
};
|
|
738
|
+
var $32ee419c7b9b7a83$exports = {};
|
|
739
|
+
$32ee419c7b9b7a83$exports = {
|
|
740
|
+
"close": `Закрити`,
|
|
741
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
742
|
+
one: () => `${formatter.number(args.count)} сповіщення`,
|
|
743
|
+
other: () => `${formatter.number(args.count)} сповіщення`
|
|
744
|
+
})}.`
|
|
745
|
+
};
|
|
746
|
+
var $122525af1cb737c7$exports = {};
|
|
747
|
+
$122525af1cb737c7$exports = {
|
|
748
|
+
"close": `关闭`,
|
|
749
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
750
|
+
one: () => `${formatter.number(args.count)} 个通知`,
|
|
751
|
+
other: () => `${formatter.number(args.count)} 个通知`
|
|
752
|
+
})}。`
|
|
753
|
+
};
|
|
754
|
+
var $52e8b1b00094e5a3$exports = {};
|
|
755
|
+
$52e8b1b00094e5a3$exports = {
|
|
756
|
+
"close": `關閉`,
|
|
757
|
+
"notifications": (args, formatter) => `${formatter.plural(args.count, {
|
|
758
|
+
one: () => `${formatter.number(args.count)} 個通知`,
|
|
759
|
+
other: () => `${formatter.number(args.count)} 個通知`
|
|
760
|
+
})}。`
|
|
761
|
+
};
|
|
762
|
+
var $7853651519a70071$exports = {};
|
|
763
|
+
$7853651519a70071$exports = {
|
|
764
|
+
"ar-AE": $ff9177efc58547ad$exports,
|
|
765
|
+
"bg-BG": $25eb7c0c0c45e544$exports,
|
|
766
|
+
"cs-CZ": $28feffc3d61a8691$exports,
|
|
767
|
+
"da-DK": $390d441203d25ff4$exports,
|
|
768
|
+
"de-DE": $7063c2d0f14f979a$exports,
|
|
769
|
+
"el-GR": $2dfc1dbb6590af88$exports,
|
|
770
|
+
"en-US": $9a12ff1caae5a7a5$exports,
|
|
771
|
+
"es-ES": $f4095fb5a72adbe6$exports,
|
|
772
|
+
"et-EE": $75bc5191b9d7826a$exports,
|
|
773
|
+
"fi-FI": $e4b9aef18b0db8dc$exports,
|
|
774
|
+
"fr-FR": $888756784d832bd7$exports,
|
|
775
|
+
"he-IL": $6835949b68a1fabf$exports,
|
|
776
|
+
"hr-HR": $87ffcbc0b651e40b$exports,
|
|
777
|
+
"hu-HU": $dc6e3b2813600d69$exports,
|
|
778
|
+
"it-IT": $fe136bcbacfcfa14$exports,
|
|
779
|
+
"ja-JP": $8fb53a929b46df83$exports,
|
|
780
|
+
"ko-KR": $2c38dbfaf041a865$exports,
|
|
781
|
+
"lt-LT": $48f3f33a29908d4c$exports,
|
|
782
|
+
"lv-LV": $9867160d996455a0$exports,
|
|
783
|
+
"nb-NO": $196258ea25c96487$exports,
|
|
784
|
+
"nl-NL": $949061cb954e8000$exports,
|
|
785
|
+
"pl-PL": $8189bed27add1ad3$exports,
|
|
786
|
+
"pt-BR": $a361756a93b6e28c$exports,
|
|
787
|
+
"pt-PT": $034c7393857c8db0$exports,
|
|
788
|
+
"ro-RO": $e33d3b3868478b04$exports,
|
|
789
|
+
"ru-RU": $9a7dcb914b29cd9f$exports,
|
|
790
|
+
"sk-SK": $e43d964a0c7f1266$exports,
|
|
791
|
+
"sl-SI": $0bc56cee3275bcaa$exports,
|
|
792
|
+
"sr-SP": $7dbdd7289c10d2ba$exports,
|
|
793
|
+
"sv-SE": $ccbe6066c10b1e53$exports,
|
|
794
|
+
"tr-TR": $9d503476b9d858b7$exports,
|
|
795
|
+
"uk-UA": $32ee419c7b9b7a83$exports,
|
|
796
|
+
"zh-CN": $122525af1cb737c7$exports,
|
|
797
|
+
"zh-TW": $52e8b1b00094e5a3$exports
|
|
798
|
+
};
|
|
799
|
+
function $parcel$interopDefault$1(a) {
|
|
800
|
+
return a && a.__esModule ? a.default : a;
|
|
801
|
+
}
|
|
802
|
+
function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
|
|
803
|
+
let { key, timer, timeout } = props.toast;
|
|
889
804
|
React.useEffect(() => {
|
|
890
|
-
|
|
891
|
-
|
|
805
|
+
if (timer == null || timeout == null) return;
|
|
806
|
+
timer.reset(timeout);
|
|
807
|
+
return () => {
|
|
808
|
+
timer.pause();
|
|
809
|
+
};
|
|
892
810
|
}, [
|
|
893
|
-
|
|
894
|
-
|
|
811
|
+
timer,
|
|
812
|
+
timeout
|
|
895
813
|
]);
|
|
814
|
+
let titleId = mergeProps.$bdb11010cef70236$export$f680877a34711e37();
|
|
815
|
+
let descriptionId = mergeProps.$bdb11010cef70236$export$b4cc09c592e8fdb8();
|
|
816
|
+
let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($7853651519a70071$exports), "@react-aria/toast");
|
|
817
|
+
let [isVisible, setIsVisible] = React.useState(false);
|
|
818
|
+
React.useEffect(() => {
|
|
819
|
+
setIsVisible(true);
|
|
820
|
+
}, []);
|
|
896
821
|
return {
|
|
897
|
-
|
|
898
|
-
role,
|
|
899
|
-
|
|
900
|
-
"aria-label":
|
|
901
|
-
"aria-labelledby":
|
|
822
|
+
toastProps: {
|
|
823
|
+
role: "alertdialog",
|
|
824
|
+
"aria-modal": "false",
|
|
825
|
+
"aria-label": props["aria-label"],
|
|
826
|
+
"aria-labelledby": props["aria-labelledby"] || titleId,
|
|
827
|
+
"aria-describedby": props["aria-describedby"] || descriptionId,
|
|
828
|
+
"aria-details": props["aria-details"],
|
|
829
|
+
tabIndex: 0
|
|
830
|
+
},
|
|
831
|
+
contentProps: {
|
|
832
|
+
role: "alert",
|
|
833
|
+
"aria-atomic": "true",
|
|
834
|
+
"aria-hidden": isVisible ? void 0 : "true"
|
|
835
|
+
},
|
|
836
|
+
titleProps: {
|
|
837
|
+
id: titleId
|
|
838
|
+
},
|
|
839
|
+
descriptionProps: {
|
|
840
|
+
id: descriptionId
|
|
841
|
+
},
|
|
842
|
+
closeButtonProps: {
|
|
843
|
+
"aria-label": stringFormatter.format("close"),
|
|
844
|
+
onPress: () => state.close(key)
|
|
902
845
|
}
|
|
903
846
|
};
|
|
904
847
|
}
|
|
@@ -913,9 +856,21 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
|
|
|
913
856
|
count: state.visibleToasts.length
|
|
914
857
|
})
|
|
915
858
|
}, ref);
|
|
859
|
+
let isHovered = React.useRef(false);
|
|
860
|
+
let isFocused = React.useRef(false);
|
|
861
|
+
let updateTimers = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
|
|
862
|
+
if (isHovered.current || isFocused.current) state.pauseAll();
|
|
863
|
+
else state.resumeAll();
|
|
864
|
+
});
|
|
916
865
|
let { hoverProps } = useHover.$6179b936705e76d3$export$ae780daf29e6d456({
|
|
917
|
-
onHoverStart:
|
|
918
|
-
|
|
866
|
+
onHoverStart: () => {
|
|
867
|
+
isHovered.current = true;
|
|
868
|
+
updateTimers();
|
|
869
|
+
},
|
|
870
|
+
onHoverEnd: () => {
|
|
871
|
+
isHovered.current = false;
|
|
872
|
+
updateTimers();
|
|
873
|
+
}
|
|
919
874
|
});
|
|
920
875
|
let toasts = React.useRef([]);
|
|
921
876
|
let prevVisibleToasts = React.useRef(state.visibleToasts);
|
|
@@ -937,45 +892,53 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
|
|
|
937
892
|
i,
|
|
938
893
|
isRemoved: !state.visibleToasts.some((t2) => t.key === t2.key)
|
|
939
894
|
}));
|
|
940
|
-
let removedFocusedToastIndex = allToasts.findIndex((t) => t.i === focusedToast.current);
|
|
895
|
+
let removedFocusedToastIndex = allToasts.findIndex((t) => t.i === focusedToast.current && t.isRemoved);
|
|
941
896
|
if (removedFocusedToastIndex > -1) {
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
nextToast = i - 1;
|
|
952
|
-
break;
|
|
897
|
+
var _lastFocused_current;
|
|
898
|
+
if (useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer" && ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected)) utils.$7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
|
|
899
|
+
else {
|
|
900
|
+
let i = 0;
|
|
901
|
+
let nextToast;
|
|
902
|
+
let prevToast;
|
|
903
|
+
while (i <= removedFocusedToastIndex) {
|
|
904
|
+
if (!allToasts[i].isRemoved) prevToast = Math.max(0, i - 1);
|
|
905
|
+
i++;
|
|
953
906
|
}
|
|
954
|
-
i
|
|
907
|
+
while (i < allToasts.length) {
|
|
908
|
+
if (!allToasts[i].isRemoved) {
|
|
909
|
+
nextToast = i - 1;
|
|
910
|
+
break;
|
|
911
|
+
}
|
|
912
|
+
i++;
|
|
913
|
+
}
|
|
914
|
+
if (prevToast === void 0 && nextToast === void 0) prevToast = 0;
|
|
915
|
+
if (prevToast >= 0 && prevToast < toasts.current.length) utils.$7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[prevToast]);
|
|
916
|
+
else if (nextToast >= 0 && nextToast < toasts.current.length) utils.$7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[nextToast]);
|
|
955
917
|
}
|
|
956
|
-
if (prevToast === void 0 && nextToast === void 0) prevToast = 0;
|
|
957
|
-
if (prevToast >= 0 && prevToast < toasts.current.length) context.$7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[prevToast]);
|
|
958
|
-
else if (nextToast >= 0 && nextToast < toasts.current.length) context.$7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[nextToast]);
|
|
959
918
|
}
|
|
960
919
|
prevVisibleToasts.current = state.visibleToasts;
|
|
961
920
|
}, [
|
|
962
921
|
state.visibleToasts,
|
|
963
|
-
ref
|
|
922
|
+
ref,
|
|
923
|
+
updateTimers
|
|
964
924
|
]);
|
|
965
925
|
let lastFocused = React.useRef(null);
|
|
966
926
|
let { focusWithinProps } = useFocusWithin.$9ab94262bd0047c7$export$420e68273165f4ec({
|
|
967
927
|
onFocusWithin: (e) => {
|
|
968
|
-
|
|
928
|
+
isFocused.current = true;
|
|
969
929
|
lastFocused.current = e.relatedTarget;
|
|
930
|
+
updateTimers();
|
|
970
931
|
},
|
|
971
932
|
onBlurWithin: () => {
|
|
972
|
-
|
|
933
|
+
isFocused.current = false;
|
|
973
934
|
lastFocused.current = null;
|
|
935
|
+
updateTimers();
|
|
974
936
|
}
|
|
975
937
|
});
|
|
976
938
|
React.useEffect(() => {
|
|
977
|
-
|
|
978
|
-
|
|
939
|
+
var _lastFocused_current;
|
|
940
|
+
if (state.visibleToasts.length === 0 && ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected)) {
|
|
941
|
+
if (useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer") utils.$7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
|
|
979
942
|
else lastFocused.current.focus();
|
|
980
943
|
lastFocused.current = null;
|
|
981
944
|
}
|
|
@@ -985,8 +948,9 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
|
|
|
985
948
|
]);
|
|
986
949
|
React.useEffect(() => {
|
|
987
950
|
return () => {
|
|
988
|
-
|
|
989
|
-
|
|
951
|
+
var _lastFocused_current;
|
|
952
|
+
if ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected) {
|
|
953
|
+
if (useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer") utils.$7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
|
|
990
954
|
else lastFocused.current.focus();
|
|
991
955
|
lastFocused.current = null;
|
|
992
956
|
}
|
|
@@ -1015,18 +979,166 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
|
|
|
1015
979
|
})
|
|
1016
980
|
};
|
|
1017
981
|
}
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
982
|
+
var __defProp$3 = Object.defineProperty;
|
|
983
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
984
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
985
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
986
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
|
|
987
|
+
enumerable: true,
|
|
988
|
+
configurable: true,
|
|
989
|
+
writable: true,
|
|
990
|
+
value
|
|
991
|
+
}) : obj[key] = value;
|
|
992
|
+
var __spreadValues$3 = (a, b) => {
|
|
993
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
994
|
+
if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
|
|
995
|
+
if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
996
|
+
}
|
|
997
|
+
return a;
|
|
998
|
+
};
|
|
999
|
+
var __objRest$3 = (source, exclude) => {
|
|
1000
|
+
var target = {};
|
|
1001
|
+
for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1002
|
+
if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
|
|
1003
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
|
|
1004
|
+
}
|
|
1005
|
+
return target;
|
|
1006
|
+
};
|
|
1007
|
+
const Error2 = (_a) => {
|
|
1008
|
+
var _b = _a, { title, titleId } = _b, props = __objRest$3(_b, ["title", "titleId"]);
|
|
1009
|
+
return React__namespace.createElement("svg", __spreadValues$3({
|
|
1010
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1011
|
+
viewBox: "0 -960 960 960",
|
|
1012
|
+
"aria-labelledby": titleId
|
|
1013
|
+
}, props), title ? React__namespace.createElement("title", {
|
|
1014
|
+
id: titleId
|
|
1015
|
+
}, title) : null, React__namespace.createElement("path", {
|
|
1016
|
+
d: "M479.98-290.77q11.9 0 19.58-7.66 7.67-7.65 7.67-19.55t-7.66-19.58q-7.65-7.67-19.55-7.67t-19.58 7.65q-7.67 7.66-7.67 19.56 0 11.9 7.66 19.58 7.65 7.67 19.55 7.67Zm-20.44-141.08h45.38v-249.53h-45.38v249.53ZM480.33-100q-78.95 0-147.89-29.92-68.95-29.92-120.76-81.71-51.81-51.79-81.75-120.78Q100-401.39 100-480.43q0-78.66 29.92-147.87 29.92-69.21 81.71-120.52 51.79-51.31 120.78-81.25Q401.39-860 480.43-860q78.66 0 147.87 29.92 69.21 29.92 120.52 81.21 51.31 51.29 81.25 120.63Q860-558.9 860-480.33q0 78.95-29.92 147.89-29.92 68.95-81.21 120.57-51.29 51.63-120.63 81.75Q558.9-100 480.33-100Zm.17-45.39q139.19 0 236.65-97.76 97.46-97.77 97.46-237.35 0-139.19-97.27-236.65-97.27-97.46-237.34-97.46-139.08 0-236.85 97.27-97.76 97.27-97.76 237.34 0 139.08 97.76 236.85 97.77 97.76 237.35 97.76ZM480-480Z"
|
|
1017
|
+
}));
|
|
1018
|
+
};
|
|
1019
|
+
var __defProp$2 = Object.defineProperty;
|
|
1020
|
+
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
1021
|
+
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
1022
|
+
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
1023
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
|
|
1024
|
+
enumerable: true,
|
|
1025
|
+
configurable: true,
|
|
1026
|
+
writable: true,
|
|
1027
|
+
value
|
|
1028
|
+
}) : obj[key] = value;
|
|
1029
|
+
var __spreadValues$2 = (a, b) => {
|
|
1030
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
1031
|
+
if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
|
|
1032
|
+
if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
1033
|
+
}
|
|
1034
|
+
return a;
|
|
1035
|
+
};
|
|
1036
|
+
var __objRest$2 = (source, exclude) => {
|
|
1037
|
+
var target = {};
|
|
1038
|
+
for (var prop in source) if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1039
|
+
if (source != null && __getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(source)) {
|
|
1040
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop)) target[prop] = source[prop];
|
|
1041
|
+
}
|
|
1042
|
+
return target;
|
|
1043
|
+
};
|
|
1044
|
+
const Warning = (_a) => {
|
|
1045
|
+
var _b = _a, { title, titleId } = _b, props = __objRest$2(_b, ["title", "titleId"]);
|
|
1046
|
+
return React__namespace.createElement("svg", __spreadValues$2({
|
|
1047
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1048
|
+
viewBox: "0 -960 960 960",
|
|
1049
|
+
"aria-labelledby": titleId
|
|
1050
|
+
}, props), title ? React__namespace.createElement("title", {
|
|
1051
|
+
id: titleId
|
|
1052
|
+
}, title) : null, React__namespace.createElement("path", {
|
|
1053
|
+
d: "M74.62-140 480-840l405.38 700H74.62Zm78.61-45.39h653.54L480-749.23 153.23-185.39Zm329.8-60.07q10.7 0 17.76-7.24 7.06-7.24 7.06-17.94 0-10.71-7.24-17.76-7.24-7.06-17.95-7.06-10.7 0-17.76 7.24-7.05 7.24-7.05 17.94 0 10.7 7.24 17.76 7.24 7.06 17.94 7.06Zm-22.88-97.92h45.39v-217.85h-45.39v217.85ZM480-467.31Z"
|
|
1054
|
+
}));
|
|
1055
|
+
};
|
|
1056
|
+
var __defProp$1 = Object.defineProperty;
|
|
1057
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
1058
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
1059
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
1060
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
|
|
1061
|
+
enumerable: true,
|
|
1062
|
+
configurable: true,
|
|
1063
|
+
writable: true,
|
|
1064
|
+
value
|
|
1065
|
+
}) : obj[key] = value;
|
|
1066
|
+
var __spreadValues$1 = (a, b) => {
|
|
1067
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
|
|
1068
|
+
if (__getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(b)) {
|
|
1069
|
+
if (__propIsEnum$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
|
|
1070
|
+
}
|
|
1071
|
+
return a;
|
|
1072
|
+
};
|
|
1073
|
+
var __objRest$1 = (source, exclude) => {
|
|
1074
|
+
var target = {};
|
|
1075
|
+
for (var prop in source) if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1076
|
+
if (source != null && __getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(source)) {
|
|
1077
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop)) target[prop] = source[prop];
|
|
1078
|
+
}
|
|
1079
|
+
return target;
|
|
1080
|
+
};
|
|
1081
|
+
const DocumentScanner = (_a) => {
|
|
1082
|
+
var _b = _a, { title, titleId } = _b, props = __objRest$1(_b, ["title", "titleId"]);
|
|
1083
|
+
return React__namespace.createElement("svg", __spreadValues$1({
|
|
1084
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1085
|
+
viewBox: "0 -960 960 960",
|
|
1086
|
+
"aria-labelledby": titleId
|
|
1087
|
+
}, props), title ? React__namespace.createElement("title", {
|
|
1088
|
+
id: titleId
|
|
1089
|
+
}, title) : null, React__namespace.createElement("path", {
|
|
1090
|
+
d: "M90-748.46V-910h161.92v45.38H135.38v116.16H90Zm734.62 0v-116.16H708.46V-910H870v161.54h-45.38ZM90-50v-161.92h45.38v116.54h116.54V-50H90Zm618.46 0v-45.38h116.16v-116.54H870V-50H708.46ZM255.38-227.69q0 4.61 3.85 8.46 3.85 3.85 8.46 3.85h424.62q4.61 0 8.46-3.85 3.85-3.85 3.85-8.46v-504.62q0-4.61-3.85-8.46-3.85-3.85-8.46-3.85H267.69q-4.61 0-8.46 3.85-3.85 3.85-3.85 8.46v504.62ZM267.69-170q-23.53 0-40.61-17.08T210-227.69v-504.62q0-23.53 17.08-40.61T267.69-790h424.62q23.53 0 40.61 17.08T750-732.31v504.62q0 23.53-17.08 40.61T692.31-170H267.69Zm109.62-407.31h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38ZM255.38-227.69v-516.93 529.24-12.31Z"
|
|
1091
|
+
}));
|
|
1092
|
+
};
|
|
1093
|
+
var __defProp2 = Object.defineProperty;
|
|
1094
|
+
var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
|
|
1095
|
+
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
1096
|
+
var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
|
|
1097
|
+
var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
|
|
1098
|
+
enumerable: true,
|
|
1099
|
+
configurable: true,
|
|
1100
|
+
writable: true,
|
|
1101
|
+
value
|
|
1102
|
+
}) : obj[key] = value;
|
|
1103
|
+
var __spreadValues2 = (a, b) => {
|
|
1104
|
+
for (var prop in b || (b = {})) if (__hasOwnProp2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
|
|
1105
|
+
if (__getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(b)) {
|
|
1106
|
+
if (__propIsEnum2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
|
|
1107
|
+
}
|
|
1108
|
+
return a;
|
|
1109
|
+
};
|
|
1110
|
+
var __objRest = (source, exclude) => {
|
|
1111
|
+
var target = {};
|
|
1112
|
+
for (var prop in source) if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1113
|
+
if (source != null && __getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(source)) {
|
|
1114
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum2.call(source, prop)) target[prop] = source[prop];
|
|
1115
|
+
}
|
|
1116
|
+
return target;
|
|
1117
|
+
};
|
|
1118
|
+
const CurrencyExchange = (_a) => {
|
|
1119
|
+
var _b = _a, { title, titleId } = _b, props = __objRest(_b, ["title", "titleId"]);
|
|
1120
|
+
return React__namespace.createElement("svg", __spreadValues2({
|
|
1121
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1122
|
+
viewBox: "0 -960 960 960",
|
|
1123
|
+
"aria-labelledby": titleId
|
|
1124
|
+
}, props), title ? React__namespace.createElement("title", {
|
|
1125
|
+
id: titleId
|
|
1126
|
+
}, title) : null, React__namespace.createElement("path", {
|
|
1127
|
+
d: "M480-60q-117 0-219.65-68.89-102.66-68.88-156.89-166.19v141.23H58.08v-220h220v45.39H136.85q45.61 91.23 142.03 157.15 96.43 65.92 201.12 65.92 75.69 0 142.88-28.26 67.2-28.27 117.73-77.47 50.54-49.19 80.93-115.99 30.38-66.81 32.69-142.89h45.38q-1.92 85.23-35.65 159.85-33.73 74.61-90.46 130.38Q716.77-124 641.19-92 565.61-60 480-60Zm-23.23-142.62v-52.07q-42.31-10.85-72.23-34.85T334-356.46l39.85-14.31q14.3 37.23 44.61 58.46 30.31 21.23 68.16 21.23 39.61 0 68.8-19.88 29.2-19.89 29.2-56.89 0-34.15-23.66-55.88-23.65-21.73-90.27-48.96-62.69-25-91.73-52.46-29.04-27.47-29.04-74.16 0-40.92 28.85-71.15 28.85-30.23 80-37.23v-49.08h43.84v49.08q34.93 3.23 62.16 21.69Q592-667.54 609-635.62L571.38-618Q556-643.69 534-657.31q-22-13.61-52-13.61-40.15 0-64.38 19.92-24.24 19.92-24.24 51.69 0 32.77 22.93 51.39 22.92 18.61 84.77 43 69.77 28.23 98.19 58.3 28.42 30.08 28.42 78.77 0 26.16-9.96 46.77-9.96 20.62-26.85 35.04-16.88 14.42-40.11 22.96-23.23 8.54-50.16 10.39v50.07h-43.84ZM60.39-490q2.69-87.15 36.8-161.96 34.12-74.81 91.23-130.19 57.12-55.39 132.12-86.62Q395.54-900 480-900q115.85 0 219.65 69.08 103.81 69.08 156.89 167.54v-142.77h45.38v220h-220v-45.39h141.23q-44.46-89.3-140.57-156.19-96.12-66.88-202.58-66.88-74.15 0-141.35 27.88-67.19 27.88-117.92 76.69-50.73 48.81-81.69 115.62-30.96 66.8-33.27 144.42H60.39Z"
|
|
1128
|
+
}));
|
|
1129
|
+
};
|
|
1130
|
+
const statusPromotional = "_statusPromotional_1qll5_5";
|
|
1131
|
+
const statusSuccess = "_statusSuccess_1qll5_10";
|
|
1132
|
+
const statusNeutral = "_statusNeutral_1qll5_15";
|
|
1133
|
+
const statusWarning = "_statusWarning_1qll5_20";
|
|
1134
|
+
const statusError = "_statusError_1qll5_25";
|
|
1135
|
+
const typeToast = "_typeToast_1qll5_30";
|
|
1136
|
+
const typeAlert = "_typeAlert_1qll5_34";
|
|
1137
|
+
const Notification$1 = "_Notification_1qll5_39";
|
|
1138
|
+
const iconText = "_iconText_1qll5_55";
|
|
1139
|
+
const closeButton = "_closeButton_1qll5_61";
|
|
1140
|
+
const region = "_region_1qll5_70";
|
|
1141
|
+
const container = "_container_1qll5_76";
|
|
1030
1142
|
const styles = {
|
|
1031
1143
|
statusPromotional,
|
|
1032
1144
|
statusSuccess,
|
|
@@ -1083,141 +1195,6 @@ function NotificationContainer(props) {
|
|
|
1083
1195
|
state
|
|
1084
1196
|
})), container2 != null ? container2 : document.body) : null);
|
|
1085
1197
|
}
|
|
1086
|
-
function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
|
|
1087
|
-
let subscribe = React.useCallback((fn) => queue.subscribe(fn), [
|
|
1088
|
-
queue
|
|
1089
|
-
]);
|
|
1090
|
-
let getSnapshot = React.useCallback(() => queue.visibleToasts, [
|
|
1091
|
-
queue
|
|
1092
|
-
]);
|
|
1093
|
-
let visibleToasts = index.shimExports.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
1094
|
-
return {
|
|
1095
|
-
visibleToasts,
|
|
1096
|
-
add: (content, options) => queue.add(content, options),
|
|
1097
|
-
close: (key) => queue.close(key),
|
|
1098
|
-
remove: (key) => queue.remove(key),
|
|
1099
|
-
pauseAll: () => queue.pauseAll(),
|
|
1100
|
-
resumeAll: () => queue.resumeAll()
|
|
1101
|
-
};
|
|
1102
|
-
}
|
|
1103
|
-
class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
1104
|
-
/** Subscribes to updates to the visible toasts. */
|
|
1105
|
-
subscribe(fn) {
|
|
1106
|
-
this.subscriptions.add(fn);
|
|
1107
|
-
return () => this.subscriptions.delete(fn);
|
|
1108
|
-
}
|
|
1109
|
-
/** Adds a new toast to the queue. */
|
|
1110
|
-
add(content, options = {}) {
|
|
1111
|
-
let toastKey = Math.random().toString(36);
|
|
1112
|
-
let toast = __spreadProps(__spreadValues({}, options), {
|
|
1113
|
-
content,
|
|
1114
|
-
key: toastKey,
|
|
1115
|
-
timer: options.timeout ? new $77b352cf12efcf73$var$Timer(() => this.close(toastKey), options.timeout) : void 0
|
|
1116
|
-
});
|
|
1117
|
-
let low = 0;
|
|
1118
|
-
let high = this.queue.length;
|
|
1119
|
-
while (low < high) {
|
|
1120
|
-
let mid = Math.floor((low + high) / 2);
|
|
1121
|
-
if ((toast.priority || 0) > (this.queue[mid].priority || 0)) high = mid;
|
|
1122
|
-
else low = mid + 1;
|
|
1123
|
-
}
|
|
1124
|
-
this.queue.splice(low, 0, toast);
|
|
1125
|
-
toast.animation = low < this.maxVisibleToasts ? "entering" : "queued";
|
|
1126
|
-
let i = this.maxVisibleToasts;
|
|
1127
|
-
while (i < this.queue.length) this.queue[i++].animation = "queued";
|
|
1128
|
-
this.updateVisibleToasts({
|
|
1129
|
-
action: "add"
|
|
1130
|
-
});
|
|
1131
|
-
return toastKey;
|
|
1132
|
-
}
|
|
1133
|
-
/**
|
|
1134
|
-
* Closes a toast. If `hasExitAnimation` is true, the toast
|
|
1135
|
-
* transitions to an "exiting" state instead of being removed immediately.
|
|
1136
|
-
*/
|
|
1137
|
-
close(key) {
|
|
1138
|
-
let index2 = this.queue.findIndex((t) => t.key === key);
|
|
1139
|
-
if (index2 >= 0) {
|
|
1140
|
-
var _this_queue_index_onClose, _this_queue_index;
|
|
1141
|
-
(_this_queue_index_onClose = (_this_queue_index = this.queue[index2]).onClose) === null || _this_queue_index_onClose === void 0 ? void 0 : _this_queue_index_onClose.call(_this_queue_index);
|
|
1142
|
-
this.queue.splice(index2, 1);
|
|
1143
|
-
}
|
|
1144
|
-
this.updateVisibleToasts({
|
|
1145
|
-
action: "close",
|
|
1146
|
-
key
|
|
1147
|
-
});
|
|
1148
|
-
}
|
|
1149
|
-
/** Removes a toast from the visible toasts after an exiting animation. */
|
|
1150
|
-
remove(key) {
|
|
1151
|
-
this.updateVisibleToasts({
|
|
1152
|
-
action: "remove",
|
|
1153
|
-
key
|
|
1154
|
-
});
|
|
1155
|
-
}
|
|
1156
|
-
updateVisibleToasts(options) {
|
|
1157
|
-
let { action, key } = options;
|
|
1158
|
-
let toasts = this.queue.slice(0, this.maxVisibleToasts);
|
|
1159
|
-
if (action === "add" && this.hasExitAnimation) {
|
|
1160
|
-
let prevToasts = this.visibleToasts.filter((t) => !toasts.some((t2) => t.key === t2.key)).map((t) => __spreadProps(__spreadValues({}, t), {
|
|
1161
|
-
animation: "exiting"
|
|
1162
|
-
}));
|
|
1163
|
-
this.visibleToasts = prevToasts.concat(toasts).sort((a, b) => {
|
|
1164
|
-
var _b_priority, _a_priority;
|
|
1165
|
-
return ((_b_priority = b.priority) !== null && _b_priority !== void 0 ? _b_priority : 0) - ((_a_priority = a.priority) !== null && _a_priority !== void 0 ? _a_priority : 0);
|
|
1166
|
-
});
|
|
1167
|
-
} else if (action === "close" && this.hasExitAnimation)
|
|
1168
|
-
this.visibleToasts = this.visibleToasts.map((t) => {
|
|
1169
|
-
if (t.key !== key) return t;
|
|
1170
|
-
else return __spreadProps(__spreadValues({}, t), {
|
|
1171
|
-
animation: "exiting"
|
|
1172
|
-
});
|
|
1173
|
-
});
|
|
1174
|
-
else this.visibleToasts = toasts;
|
|
1175
|
-
for (let fn of this.subscriptions) fn();
|
|
1176
|
-
}
|
|
1177
|
-
/** Pauses the timers for all visible toasts. */
|
|
1178
|
-
pauseAll() {
|
|
1179
|
-
for (let toast of this.visibleToasts) if (toast.timer) toast.timer.pause();
|
|
1180
|
-
}
|
|
1181
|
-
/** Resumes the timers for all visible toasts. */
|
|
1182
|
-
resumeAll() {
|
|
1183
|
-
for (let toast of this.visibleToasts) if (toast.timer) toast.timer.resume();
|
|
1184
|
-
}
|
|
1185
|
-
constructor(options) {
|
|
1186
|
-
this.queue = [];
|
|
1187
|
-
this.subscriptions = /* @__PURE__ */ new Set();
|
|
1188
|
-
this.visibleToasts = [];
|
|
1189
|
-
var _options_maxVisibleToasts;
|
|
1190
|
-
this.maxVisibleToasts = (_options_maxVisibleToasts = options === null || options === void 0 ? void 0 : options.maxVisibleToasts) !== null && _options_maxVisibleToasts !== void 0 ? _options_maxVisibleToasts : 1;
|
|
1191
|
-
var _options_hasExitAnimation;
|
|
1192
|
-
this.hasExitAnimation = (_options_hasExitAnimation = options === null || options === void 0 ? void 0 : options.hasExitAnimation) !== null && _options_hasExitAnimation !== void 0 ? _options_hasExitAnimation : false;
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
class $77b352cf12efcf73$var$Timer {
|
|
1196
|
-
reset(delay) {
|
|
1197
|
-
this.remaining = delay;
|
|
1198
|
-
this.resume();
|
|
1199
|
-
}
|
|
1200
|
-
pause() {
|
|
1201
|
-
if (this.timerId == null) return;
|
|
1202
|
-
clearTimeout(this.timerId);
|
|
1203
|
-
this.timerId = null;
|
|
1204
|
-
this.remaining -= Date.now() - this.startTime;
|
|
1205
|
-
}
|
|
1206
|
-
resume() {
|
|
1207
|
-
if (this.remaining <= 0) return;
|
|
1208
|
-
this.startTime = Date.now();
|
|
1209
|
-
this.timerId = setTimeout(() => {
|
|
1210
|
-
this.timerId = null;
|
|
1211
|
-
this.remaining = 0;
|
|
1212
|
-
this.callback();
|
|
1213
|
-
}, this.remaining);
|
|
1214
|
-
}
|
|
1215
|
-
constructor(callback, delay) {
|
|
1216
|
-
this.startTime = null;
|
|
1217
|
-
this.remaining = delay;
|
|
1218
|
-
this.callback = callback;
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
1198
|
const TOAST_TIMEOUT_DURATION = 4e3;
|
|
1222
1199
|
class EasyUINotificationQueue extends $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
1223
1200
|
constructor(options) {
|
|
@@ -1349,7 +1326,6 @@ function NotificationProvider(props) {
|
|
|
1349
1326
|
const state = {
|
|
1350
1327
|
close: combinedState.close,
|
|
1351
1328
|
add: combinedState.add,
|
|
1352
|
-
remove: combinedState.remove,
|
|
1353
1329
|
pauseAll: combinedState.pauseAll,
|
|
1354
1330
|
resumeAll: combinedState.resumeAll,
|
|
1355
1331
|
visibleToasts: combinedState.visibleToasts
|