@televet/kibble-ui 4.0.0-beta.66 → 4.0.0-beta.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{alert.types-DbqCOYr5.js → alert.types-B3CIqC3D.js} +2 -2
- package/dist/chunks/{alert.types-DbqCOYr5.js.map → alert.types-B3CIqC3D.js.map} +1 -1
- package/dist/chunks/{alert.types-DYf5xFEG.js → alert.types-D-Nx7EKC.js} +3 -3
- package/dist/chunks/{alert.types-DYf5xFEG.js.map → alert.types-D-Nx7EKC.js.map} +1 -1
- package/dist/chunks/{avatar.component-Bk8VVA0l.js → avatar.component-5acA2X5n.js} +14 -14
- package/dist/chunks/{avatar.component-Bk8VVA0l.js.map → avatar.component-5acA2X5n.js.map} +1 -1
- package/dist/chunks/avatar.component-BBewTMu9.js +2 -0
- package/dist/chunks/{avatar.component-TAfT1LM1.js.map → avatar.component-BBewTMu9.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-BGF4gl5d.js → avatarGroup.component-Cyoh97E9.js} +2 -2
- package/dist/chunks/{avatarGroup.component-BGF4gl5d.js.map → avatarGroup.component-Cyoh97E9.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-CZnhQOWy.js → avatarGroup.component-lvFlOaqP.js} +2 -2
- package/dist/chunks/{avatarGroup.component-CZnhQOWy.js.map → avatarGroup.component-lvFlOaqP.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-CGxtwaQg.js → buttonGroup.component-B21h-pcF.js} +2 -2
- package/dist/chunks/{buttonGroup.component-CGxtwaQg.js.map → buttonGroup.component-B21h-pcF.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-IGM-yn-V.js → buttonGroup.component-CwN1OcaS.js} +2 -2
- package/dist/chunks/{buttonGroup.component-IGM-yn-V.js.map → buttonGroup.component-CwN1OcaS.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-CWDjnYNU.js → characterCounter.component-B0MF_ObL.js} +3 -3
- package/dist/chunks/{characterCounter.component-CWDjnYNU.js.map → characterCounter.component-B0MF_ObL.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-WOgGxKRq.js → characterCounter.component-MBtgMpUc.js} +2 -2
- package/dist/chunks/{characterCounter.component-WOgGxKRq.js.map → characterCounter.component-MBtgMpUc.js.map} +1 -1
- package/dist/chunks/{checkbox.component-nkydue0g.js → checkbox.component-CWN9kU5p.js} +2 -2
- package/dist/chunks/{checkbox.component-nkydue0g.js.map → checkbox.component-CWN9kU5p.js.map} +1 -1
- package/dist/chunks/{checkbox.component-B6-MOy86.js → checkbox.component-HWkdi-Dt.js} +10 -10
- package/dist/chunks/{checkbox.component-B6-MOy86.js.map → checkbox.component-HWkdi-Dt.js.map} +1 -1
- package/dist/chunks/checkbox.records-djqGyo0P.js +2 -0
- package/dist/chunks/{checkbox.records-wbkLltak.js.map → checkbox.records-djqGyo0P.js.map} +1 -1
- package/dist/chunks/{checkbox.records-BtLBaHBy.js → checkbox.records-kuynkQ3J.js} +12 -12
- package/dist/chunks/{checkbox.records-BtLBaHBy.js.map → checkbox.records-kuynkQ3J.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-DCg4fRL0.js → checkboxGroup.component-CMyApVxs.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-DCg4fRL0.js.map → checkboxGroup.component-CMyApVxs.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-B1HL2vbn.js → checkboxGroup.component-DYiLp3m_.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-B1HL2vbn.js.map → checkboxGroup.component-DYiLp3m_.js.map} +1 -1
- package/dist/chunks/{config-B1FINd7s.js → config-DVtggL6z.js} +6 -6
- package/dist/chunks/{config-B1FINd7s.js.map → config-DVtggL6z.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-Uv0-JSnX.js → conversationCard.component-BirDNlVs.js} +18 -17
- package/dist/chunks/{conversationCard.component-Uv0-JSnX.js.map → conversationCard.component-BirDNlVs.js.map} +1 -1
- package/dist/chunks/conversationCard.component-CMI6oti9.js +2 -0
- package/dist/chunks/{conversationCard.component-2jO70XtY.js.map → conversationCard.component-CMI6oti9.js.map} +1 -1
- package/dist/chunks/{datePicker.component-CM8TIMiW.js → datePicker.component-DSGJKErd.js} +3 -3
- package/dist/chunks/{datePicker.component-CM8TIMiW.js.map → datePicker.component-DSGJKErd.js.map} +1 -1
- package/dist/chunks/{datePicker.component-DeOquWMk.js → datePicker.component-Wac_ZnvV.js} +8 -8
- package/dist/chunks/{datePicker.component-DeOquWMk.js.map → datePicker.component-Wac_ZnvV.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-BCeZGpGO.js → dialog-trigger-6j0ZA8bc.js} +2 -2
- package/dist/chunks/{dialog-trigger-BCeZGpGO.js.map → dialog-trigger-6j0ZA8bc.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-D2uDgMJr.js → dialog-trigger-rbYorcnG.js} +9 -9
- package/dist/chunks/{dialog-trigger-D2uDgMJr.js.map → dialog-trigger-rbYorcnG.js.map} +1 -1
- package/dist/chunks/{heading.component-Bu1JbEVn.js → heading.component-Cum2BALi.js} +2 -2
- package/dist/chunks/{heading.component-Bu1JbEVn.js.map → heading.component-Cum2BALi.js.map} +1 -1
- package/dist/chunks/{heading.component-wD7BkQLG.js → heading.component-a6IrCj7l.js} +2 -2
- package/dist/chunks/{heading.component-wD7BkQLG.js.map → heading.component-a6IrCj7l.js.map} +1 -1
- package/dist/chunks/index-B3Uf1AVX.js +3 -0
- package/dist/chunks/index-B3Uf1AVX.js.map +1 -0
- package/dist/chunks/index-B4rwgehU.js +2 -0
- package/dist/chunks/{index-B4fjIWcA.js.map → index-B4rwgehU.js.map} +1 -1
- package/dist/chunks/{index-Dq91nN6-.js → index-BQusETZC.js} +3 -3
- package/dist/chunks/{index-Dq91nN6-.js.map → index-BQusETZC.js.map} +1 -1
- package/dist/chunks/{index-Dx94WMw1.js → index-BmJA4z7Y.js} +44 -43
- package/dist/chunks/{index-Dx94WMw1.js.map → index-BmJA4z7Y.js.map} +1 -1
- package/dist/chunks/{index-BfD9Ne2e.js → index-C-VkceKb.js} +2 -2
- package/dist/chunks/{index-BfD9Ne2e.js.map → index-C-VkceKb.js.map} +1 -1
- package/dist/chunks/{index-CZPHIn6T.js → index-C4xXAinc.js} +3 -3
- package/dist/chunks/{index-CZPHIn6T.js.map → index-C4xXAinc.js.map} +1 -1
- package/dist/chunks/{index-D5Dscg8T.js → index-CBVOChyW.js} +49 -48
- package/dist/chunks/{index-D5Dscg8T.js.map → index-CBVOChyW.js.map} +1 -1
- package/dist/chunks/{index-f4Ba8Pq7.js → index-CL5b64u0.js} +15 -15
- package/dist/chunks/{index-f4Ba8Pq7.js.map → index-CL5b64u0.js.map} +1 -1
- package/dist/chunks/{index-DMSZTX7A.js → index-CWZQythd.js} +9 -9
- package/dist/chunks/{index-DMSZTX7A.js.map → index-CWZQythd.js.map} +1 -1
- package/dist/chunks/index-Cd776OkZ.js +2 -0
- package/dist/chunks/index-Cd776OkZ.js.map +1 -0
- package/dist/chunks/{index-Cuu1x05z.js → index-Csfb-K1K.js} +17 -16
- package/dist/chunks/{index-Cuu1x05z.js.map → index-Csfb-K1K.js.map} +1 -1
- package/dist/chunks/index-Cw75JjHp.js +2 -0
- package/dist/chunks/{index-CEYJbpt4.js.map → index-Cw75JjHp.js.map} +1 -1
- package/dist/chunks/index-Cwl9h4X_.js +2 -0
- package/dist/chunks/{index-BmcSWiFh.js.map → index-Cwl9h4X_.js.map} +1 -1
- package/dist/chunks/index-D8ghhfzK.js +322 -0
- package/dist/chunks/index-D8ghhfzK.js.map +1 -0
- package/dist/chunks/index-DUEcH1Ul.js +2 -0
- package/dist/chunks/{index-5cRW642o.js.map → index-DUEcH1Ul.js.map} +1 -1
- package/dist/chunks/index-DX-8RG9n.js +8 -0
- package/dist/chunks/{index-CedYIQt5.js.map → index-DX-8RG9n.js.map} +1 -1
- package/dist/chunks/{index-DZGYG5M4.js → index-PD_OmAnh.js} +2 -2
- package/dist/chunks/{index-DZGYG5M4.js.map → index-PD_OmAnh.js.map} +1 -1
- package/dist/chunks/{index-hGlTuPbK.js → index-U8SN9h_h.js} +2 -2
- package/dist/chunks/{index-hGlTuPbK.js.map → index-U8SN9h_h.js.map} +1 -1
- package/dist/chunks/index-c2eCwOCU.js +1018 -0
- package/dist/chunks/index-c2eCwOCU.js.map +1 -0
- package/dist/chunks/index-iPTsth-y.js +2 -0
- package/dist/chunks/{index-CFnNmQf0.js.map → index-iPTsth-y.js.map} +1 -1
- package/dist/chunks/{index-Cqwkg1hU.js → index-vVG7UN0y.js} +106 -105
- package/dist/chunks/{index-Cqwkg1hU.js.map → index-vVG7UN0y.js.map} +1 -1
- package/dist/chunks/{index-CBh9RZVL.js → index-zgGK8otr.js} +18 -17
- package/dist/chunks/{index-CBh9RZVL.js.map → index-zgGK8otr.js.map} +1 -1
- package/dist/chunks/{logo.types-CXQsathd.js → logo.types-DVfuQmDd.js} +2 -2
- package/dist/chunks/{logo.types-CXQsathd.js.map → logo.types-DVfuQmDd.js.map} +1 -1
- package/dist/chunks/{menu.component-BKY1dybr.js → menu.component-ColftkpF.js} +26 -26
- package/dist/chunks/{menu.component-BKY1dybr.js.map → menu.component-ColftkpF.js.map} +1 -1
- package/dist/chunks/{menu.component-DllVICUa.js → menu.component-Ct_9TaWj.js} +2 -2
- package/dist/chunks/{menu.component-DllVICUa.js.map → menu.component-Ct_9TaWj.js.map} +1 -1
- package/dist/chunks/{modal.types-CRH5aJ0U.js → modal.types-BJDq3ofH.js} +4 -4
- package/dist/chunks/{modal.types-CRH5aJ0U.js.map → modal.types-BJDq3ofH.js.map} +1 -1
- package/dist/chunks/{modal.types-Bsq-uLZ0.js → modal.types-CsGdjZZf.js} +2 -2
- package/dist/chunks/{modal.types-Bsq-uLZ0.js.map → modal.types-CsGdjZZf.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js → notificationCounter.component-CHlLTEiF.js} +2 -2
- package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js.map → notificationCounter.component-CHlLTEiF.js.map} +1 -1
- package/dist/chunks/{pinInput.types-tJTQQJxe.js → pinInput.types-GznuQbzY.js} +2 -2
- package/dist/chunks/{pinInput.types-tJTQQJxe.js.map → pinInput.types-GznuQbzY.js.map} +1 -1
- package/dist/chunks/{pinInput.types-B-BknmcG.js → pinInput.types-k-MTZ5SR.js} +8 -8
- package/dist/chunks/{pinInput.types-B-BknmcG.js.map → pinInput.types-k-MTZ5SR.js.map} +1 -1
- package/dist/chunks/{popover-D0QoPsrG.js → popover-JzE_u7E-.js} +26 -26
- package/dist/chunks/{popover-D0QoPsrG.js.map → popover-JzE_u7E-.js.map} +1 -1
- package/dist/chunks/{popover-DPEovmxh.js → popover-ZImHeDTu.js} +2 -2
- package/dist/chunks/{popover-DPEovmxh.js.map → popover-ZImHeDTu.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-BYJE5I-P.js → popover-root-provider-RWj-0mRI.js} +2 -2
- package/dist/chunks/{popover-root-provider-BYJE5I-P.js.map → popover-root-provider-RWj-0mRI.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-Dt02njg5.js → popover-root-provider-S83-0n0E.js} +8 -8
- package/dist/chunks/{popover-root-provider-Dt02njg5.js.map → popover-root-provider-S83-0n0E.js.map} +1 -1
- package/dist/chunks/popover.component-Bh32Kl6i.js +322 -0
- package/dist/chunks/popover.component-Bh32Kl6i.js.map +1 -0
- package/dist/chunks/popover.component-D4NdsCQv.js +2 -0
- package/dist/chunks/popover.component-D4NdsCQv.js.map +1 -0
- package/dist/chunks/popover.recipe-D7Q80iWn.js +2 -0
- package/dist/chunks/popover.recipe-D7Q80iWn.js.map +1 -0
- package/dist/chunks/popover.recipe-DhQtUTnw.js +479 -0
- package/dist/chunks/popover.recipe-DhQtUTnw.js.map +1 -0
- package/dist/chunks/{portal-D2KZrSzZ.js → portal-C7cdrplU.js} +427 -427
- package/dist/chunks/portal-C7cdrplU.js.map +1 -0
- package/dist/chunks/portal-JkodPmk7.js +22 -0
- package/dist/chunks/portal-JkodPmk7.js.map +1 -0
- package/dist/chunks/{radio.records-CzNYznSb.js → radio.records-BD5zaE5E.js} +16 -16
- package/dist/chunks/{radio.records-CzNYznSb.js.map → radio.records-BD5zaE5E.js.map} +1 -1
- package/dist/chunks/radio.records-BKkl9Mk4.js +2 -0
- package/dist/chunks/{radio.records-CEgwvLIL.js.map → radio.records-BKkl9Mk4.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DAGmgDZ2.js → radioGroup.component-C6wU0Srn.js} +2 -2
- package/dist/chunks/{radioGroup.component-DAGmgDZ2.js.map → radioGroup.component-C6wU0Srn.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DEPDXEhQ.js → radioGroup.component-DbslYk4o.js} +11 -11
- package/dist/chunks/{radioGroup.component-DEPDXEhQ.js.map → radioGroup.component-DbslYk4o.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-C32gNAmO.js → ratingDots.component-B2jdV6Uk.js} +4 -4
- package/dist/chunks/{ratingDots.component-C32gNAmO.js.map → ratingDots.component-B2jdV6Uk.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-BB7vPYdN.js → ratingDots.component-DV7pmIJJ.js} +2 -2
- package/dist/chunks/{ratingDots.component-BB7vPYdN.js.map → ratingDots.component-DV7pmIJJ.js.map} +1 -1
- package/dist/chunks/{render-strategy-CdSSbgPU.js → render-strategy-BCWksbL8.js} +2 -2
- package/dist/chunks/{render-strategy-CdSSbgPU.js.map → render-strategy-BCWksbL8.js.map} +1 -1
- package/dist/chunks/{render-strategy-ql9Qx5Cz.js → render-strategy-DaeRfJpM.js} +2 -2
- package/dist/chunks/{render-strategy-ql9Qx5Cz.js.map → render-strategy-DaeRfJpM.js.map} +1 -1
- package/dist/chunks/{select.component-DfkLDyYt.js → select.component-CRmnH0Ty.js} +43 -43
- package/dist/chunks/{select.component-DfkLDyYt.js.map → select.component-CRmnH0Ty.js.map} +1 -1
- package/dist/chunks/{select.component-BtBJUTF2.js → select.component-DDRV0zBf.js} +2 -2
- package/dist/chunks/{select.component-BtBJUTF2.js.map → select.component-DDRV0zBf.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B0lnVMXW.js → sortableList.component-B59RwzTi.js} +3 -3
- package/dist/chunks/{sortableList.component-B0lnVMXW.js.map → sortableList.component-B59RwzTi.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B88NRcwx.js → sortableList.component-Dlq8P2tc.js} +3 -3
- package/dist/chunks/{sortableList.component-B88NRcwx.js.map → sortableList.component-Dlq8P2tc.js.map} +1 -1
- package/dist/chunks/{spinner.component-DVjwuOVs.js → spinner.component-DBCa-ZPE.js} +2 -2
- package/dist/chunks/{spinner.component-DVjwuOVs.js.map → spinner.component-DBCa-ZPE.js.map} +1 -1
- package/dist/chunks/{spinner.component-DWh3YuBJ.js → spinner.component-DsDyKpq2.js} +3 -3
- package/dist/chunks/{spinner.component-DWh3YuBJ.js.map → spinner.component-DsDyKpq2.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-ClVT0QDd.js → styledAvatar.types-BUyxKyGa.js} +2 -2
- package/dist/chunks/{styledAvatar.types-ClVT0QDd.js.map → styledAvatar.types-BUyxKyGa.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-DamSY23W.js → styledAvatar.types-X9FV2vOM.js} +2 -2
- package/dist/chunks/{styledAvatar.types-DamSY23W.js.map → styledAvatar.types-X9FV2vOM.js.map} +1 -1
- package/dist/chunks/{swatch.types-B8OSJZ-a.js → swatch.types-Dsv11aQw.js} +2 -2
- package/dist/chunks/{swatch.types-B8OSJZ-a.js.map → swatch.types-Dsv11aQw.js.map} +1 -1
- package/dist/chunks/{switch.component-DjbXfvMa.js → switch.component-BZh12RCT.js} +2 -2
- package/dist/chunks/{switch.component-DjbXfvMa.js.map → switch.component-BZh12RCT.js.map} +1 -1
- package/dist/chunks/{switch.component-BEkYEUKY.js → switch.component-DR4jYcSz.js} +11 -11
- package/dist/chunks/{switch.component-BEkYEUKY.js.map → switch.component-DR4jYcSz.js.map} +1 -1
- package/dist/chunks/{tabs.component-Bmg0kB-p.js → tabs.component-C_4sO8kW.js} +48 -48
- package/dist/chunks/{tabs.component-Bmg0kB-p.js.map → tabs.component-C_4sO8kW.js.map} +1 -1
- package/dist/chunks/{tabs.component-Bn_7bf0X.js → tabs.component-CzyTXhJp.js} +2 -2
- package/dist/chunks/{tabs.component-Bn_7bf0X.js.map → tabs.component-CzyTXhJp.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-x3oh7uht.js → tagBlock.component-BI1AmbDR.js} +2 -2
- package/dist/chunks/{tagBlock.component-x3oh7uht.js.map → tagBlock.component-BI1AmbDR.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-3ypfB6tz.js → tagBlock.component-B_dQ7rGS.js} +5 -5
- package/dist/chunks/{tagBlock.component-3ypfB6tz.js.map → tagBlock.component-B_dQ7rGS.js.map} +1 -1
- package/dist/chunks/text.component-BA-9q9gX.js +12 -0
- package/dist/chunks/text.component-BA-9q9gX.js.map +1 -0
- package/dist/chunks/text.component-ColgFnqE.js +2 -0
- package/dist/chunks/text.component-ColgFnqE.js.map +1 -0
- package/dist/chunks/{textInput.component-D9Dl8cP3.js → textInput.component-BttHjzdC.js} +12 -12
- package/dist/chunks/{textInput.component-D9Dl8cP3.js.map → textInput.component-BttHjzdC.js.map} +1 -1
- package/dist/chunks/{textInput.component-B1--78Mp.js → textInput.component-cFmQkIXY.js} +2 -2
- package/dist/chunks/{textInput.component-B1--78Mp.js.map → textInput.component-cFmQkIXY.js.map} +1 -1
- package/dist/chunks/{textarea.component-DZXDIbZg.js → textarea.component-DKiTZ2bP.js} +7 -7
- package/dist/chunks/{textarea.component-DZXDIbZg.js.map → textarea.component-DKiTZ2bP.js.map} +1 -1
- package/dist/chunks/{textarea.component-BxC5lB4t.js → textarea.component-cEtZ6ReA.js} +2 -2
- package/dist/chunks/{textarea.component-BxC5lB4t.js.map → textarea.component-cEtZ6ReA.js.map} +1 -1
- package/dist/chunks/{theme.provider-DmGvaymX.js → theme.provider-Dd0L8qXA.js} +3200 -3331
- package/dist/chunks/theme.provider-Dd0L8qXA.js.map +1 -0
- package/dist/chunks/theme.provider-Dh_N0A6U.js +26 -0
- package/dist/chunks/theme.provider-Dh_N0A6U.js.map +1 -0
- package/dist/chunks/{timePicker.component-F9o8MNWu.js → timePicker.component-CegBtxsl.js} +2 -2
- package/dist/chunks/{timePicker.component-F9o8MNWu.js.map → timePicker.component-CegBtxsl.js.map} +1 -1
- package/dist/chunks/{timePicker.component-DnFPWIcy.js → timePicker.component-D0WsvkI5.js} +4 -4
- package/dist/chunks/{timePicker.component-DnFPWIcy.js.map → timePicker.component-D0WsvkI5.js.map} +1 -1
- package/dist/chunks/{timeRange.component-Bh2FiRi8.js → timeRange.component-C1p0bfmg.js} +2 -2
- package/dist/chunks/{timeRange.component-Bh2FiRi8.js.map → timeRange.component-C1p0bfmg.js.map} +1 -1
- package/dist/chunks/{timeRange.component-Bj-9ynHS.js → timeRange.component-Cc3ZfoeN.js} +2 -2
- package/dist/chunks/{timeRange.component-Bj-9ynHS.js.map → timeRange.component-Cc3ZfoeN.js.map} +1 -1
- package/dist/chunks/timestamp.component-CZGCU-JV.js +54 -0
- package/dist/chunks/{timestamp.component-BKr4dkxB.js.map → timestamp.component-CZGCU-JV.js.map} +1 -1
- package/dist/chunks/timestamp.component-ZDbg3G8Z.js +2 -0
- package/dist/chunks/{timestamp.component-CfjeVkJs.js.map → timestamp.component-ZDbg3G8Z.js.map} +1 -1
- package/dist/chunks/toaster.records-3VWRSgsn.js +2 -0
- package/dist/chunks/{toaster.records-CGym-iT-.js.map → toaster.records-3VWRSgsn.js.map} +1 -1
- package/dist/chunks/{toaster.records-Cf8bpHo8.js → toaster.records-DeXyJQpa.js} +22 -21
- package/dist/chunks/{toaster.records-Cf8bpHo8.js.map → toaster.records-DeXyJQpa.js.map} +1 -1
- package/dist/chunks/tooltip.component-BiDAtm5N.js +2 -0
- package/dist/chunks/tooltip.component-BiDAtm5N.js.map +1 -0
- package/dist/chunks/tooltip.component-C5FgUWfB.js +713 -0
- package/dist/chunks/tooltip.component-C5FgUWfB.js.map +1 -0
- package/dist/chunks/{typography.records-BeoK0Uyj.js → typography.records-CIqVDP87.js} +2 -2
- package/dist/chunks/{typography.records-BeoK0Uyj.js.map → typography.records-CIqVDP87.js.map} +1 -1
- package/dist/chunks/{typography.records-Xg59taw9.js → typography.records-QKCR4PDO.js} +2 -2
- package/dist/chunks/{typography.records-Xg59taw9.js.map → typography.records-QKCR4PDO.js.map} +1 -1
- package/dist/chunks/{use-field-context-xBX4EpFz.js → use-field-context-BJ7xh7mY.js} +2 -2
- package/dist/chunks/{use-field-context-xBX4EpFz.js.map → use-field-context-BJ7xh7mY.js.map} +1 -1
- package/dist/chunks/{use-field-context-C4IwmN39.js → use-field-context-PoccdU55.js} +2 -2
- package/dist/chunks/{use-field-context-C4IwmN39.js.map → use-field-context-PoccdU55.js.map} +1 -1
- package/dist/chunks/{withFormControl-KA9fAHrR.js → withFormControl-DA1TgH2T.js} +49 -49
- package/dist/chunks/{withFormControl-KA9fAHrR.js.map → withFormControl-DA1TgH2T.js.map} +1 -1
- package/dist/chunks/{withFormControl-BHjeRAfg.js → withFormControl-PaMa_BVC.js} +2 -2
- package/dist/chunks/{withFormControl-BHjeRAfg.js.map → withFormControl-PaMa_BVC.js.map} +1 -1
- package/dist/chunks/withTruncation-GECNx84Z.js +67 -0
- package/dist/chunks/withTruncation-GECNx84Z.js.map +1 -0
- package/dist/chunks/withTruncation-lxIe2bbU.js +2 -0
- package/dist/chunks/withTruncation-lxIe2bbU.js.map +1 -0
- package/dist/chunks/{wrap-CYgSj8wY.js → wrap-Dk19PFnP.js} +2 -2
- package/dist/chunks/{wrap-CYgSj8wY.js.map → wrap-Dk19PFnP.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/esm/chakra/index.js +69 -69
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Logo/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +1 -1
- package/dist/esm/components/Toast/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +42 -41
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/index.js +61 -60
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/types/components/Button/button.recipe.d.ts +1 -1
- package/dist/types/components/Logo/logo.recipe.d.ts +1 -1
- package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
- package/dist/types/components/Tooltip/tooltip.component.d.ts +8 -6
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +7 -7
- package/package.json +1 -1
- package/dist/chunks/avatar.component-TAfT1LM1.js +0 -2
- package/dist/chunks/checkbox.records-wbkLltak.js +0 -2
- package/dist/chunks/conversationCard.component-2jO70XtY.js +0 -2
- package/dist/chunks/index-5cRW642o.js +0 -2
- package/dist/chunks/index-B4fjIWcA.js +0 -2
- package/dist/chunks/index-BlGAWSIX.js +0 -3
- package/dist/chunks/index-BlGAWSIX.js.map +0 -1
- package/dist/chunks/index-BmcSWiFh.js +0 -2
- package/dist/chunks/index-C323eOJV.js +0 -1328
- package/dist/chunks/index-C323eOJV.js.map +0 -1
- package/dist/chunks/index-CEYJbpt4.js +0 -2
- package/dist/chunks/index-CFnNmQf0.js +0 -2
- package/dist/chunks/index-CedYIQt5.js +0 -8
- package/dist/chunks/index-Fztcdoo_.js +0 -2
- package/dist/chunks/index-Fztcdoo_.js.map +0 -1
- package/dist/chunks/index-WyVSig7F.js +0 -70
- package/dist/chunks/index-WyVSig7F.js.map +0 -1
- package/dist/chunks/popover.component-CLMQkEDo.js +0 -2
- package/dist/chunks/popover.component-CLMQkEDo.js.map +0 -1
- package/dist/chunks/popover.component-MbM0Ajnr.js +0 -264
- package/dist/chunks/popover.component-MbM0Ajnr.js.map +0 -1
- package/dist/chunks/popover.recipe-BLsWPsAa.js +0 -124
- package/dist/chunks/popover.recipe-BLsWPsAa.js.map +0 -1
- package/dist/chunks/popover.recipe-av5Jdn1r.js +0 -2
- package/dist/chunks/popover.recipe-av5Jdn1r.js.map +0 -1
- package/dist/chunks/portal-D2KZrSzZ.js.map +0 -1
- package/dist/chunks/portal-TWtD47zg.js +0 -22
- package/dist/chunks/portal-TWtD47zg.js.map +0 -1
- package/dist/chunks/radio.records-CEgwvLIL.js +0 -2
- package/dist/chunks/theme.provider-CpxxMiXd.js +0 -26
- package/dist/chunks/theme.provider-CpxxMiXd.js.map +0 -1
- package/dist/chunks/theme.provider-DmGvaymX.js.map +0 -1
- package/dist/chunks/timestamp.component-BKr4dkxB.js +0 -53
- package/dist/chunks/timestamp.component-CfjeVkJs.js +0 -2
- package/dist/chunks/toaster.records-CGym-iT-.js +0 -2
- package/dist/chunks/withTruncation-CQUQzrTa.js +0 -561
- package/dist/chunks/withTruncation-CQUQzrTa.js.map +0 -1
- package/dist/chunks/withTruncation-DguVvIAI.js +0 -2
- package/dist/chunks/withTruncation-DguVvIAI.js.map +0 -1
|
@@ -1,7 +1,264 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { Y as mt, c as pt, ab as yt, aq as ht, r as Re, e as Je, D as vt, b5 as xt, ac as Ze, O as wt, b6 as re, b7 as Oe, b8 as bt, a8 as ie, a9 as He, b9 as Ot, F as St, ba as Et, l as Rt, bb as At, ad as Tt, Z as _t, a3 as Pt, a2 as Nt } from "./index-c2eCwOCU.js";
|
|
2
|
+
import Qe, { createContext as Ct, useContext as Dt, memo as Mt, forwardRef as Lt, createElement as kt, Children as et, isValidElement as $t, cloneElement as Vt, useMemo as Ht, useRef as L, useLayoutEffect as zt, useEffect as se, useState as Ae, useCallback as Ut, useSyncExternalStore as Ft } from "react";
|
|
3
3
|
import { j as ue } from "./jsx-runtime-C5mzlN2N.js";
|
|
4
|
-
|
|
4
|
+
function It(e, t) {
|
|
5
|
+
return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`;
|
|
6
|
+
}
|
|
7
|
+
function Ne(e = {}) {
|
|
8
|
+
const {
|
|
9
|
+
name: t,
|
|
10
|
+
strict: r = !0,
|
|
11
|
+
hookName: n = "useContext",
|
|
12
|
+
providerName: o = "Provider",
|
|
13
|
+
errorMessage: c,
|
|
14
|
+
defaultValue: l
|
|
15
|
+
} = e, f = Ct(l);
|
|
16
|
+
f.displayName = t;
|
|
17
|
+
function u() {
|
|
18
|
+
const s = Dt(f);
|
|
19
|
+
if (!s && r) {
|
|
20
|
+
const g = new Error(c ?? It(n, o));
|
|
21
|
+
throw g.name = "ContextError", Error.captureStackTrace?.(g, u), g;
|
|
22
|
+
}
|
|
23
|
+
return s;
|
|
24
|
+
}
|
|
25
|
+
return [f.Provider, u, f];
|
|
26
|
+
}
|
|
27
|
+
const [xr, Wt] = Ne({
|
|
28
|
+
name: "EnvironmentContext",
|
|
29
|
+
hookName: "useEnvironmentContext",
|
|
30
|
+
providerName: "<EnvironmentProvider />",
|
|
31
|
+
strict: !1,
|
|
32
|
+
defaultValue: {
|
|
33
|
+
getRootNode: () => document,
|
|
34
|
+
getDocument: () => document,
|
|
35
|
+
getWindow: () => window
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
function jt(...e) {
|
|
39
|
+
return (t) => {
|
|
40
|
+
const r = [];
|
|
41
|
+
for (const n of e)
|
|
42
|
+
if (typeof n == "function") {
|
|
43
|
+
const o = n(t);
|
|
44
|
+
typeof o == "function" && r.push(o);
|
|
45
|
+
} else n && (n.current = t);
|
|
46
|
+
if (r.length)
|
|
47
|
+
return () => {
|
|
48
|
+
for (const n of r)
|
|
49
|
+
n();
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function Bt(e) {
|
|
54
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
55
|
+
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
56
|
+
}
|
|
57
|
+
const Se = (e) => {
|
|
58
|
+
const t = Mt(
|
|
59
|
+
Lt((r, n) => {
|
|
60
|
+
const { asChild: o, children: c, ...l } = r;
|
|
61
|
+
if (!o)
|
|
62
|
+
return kt(e, { ...l, ref: n }, c);
|
|
63
|
+
const f = et.only(c);
|
|
64
|
+
if (!$t(f))
|
|
65
|
+
return null;
|
|
66
|
+
const u = Bt(f);
|
|
67
|
+
return Vt(f, {
|
|
68
|
+
...mt(l, f.props),
|
|
69
|
+
ref: n ? jt(n, u) : u
|
|
70
|
+
});
|
|
71
|
+
})
|
|
72
|
+
);
|
|
73
|
+
return t.displayName = e.displayName || e.name, t;
|
|
74
|
+
}, qt = () => {
|
|
75
|
+
const e = /* @__PURE__ */ new Map();
|
|
76
|
+
return new Proxy(Se, {
|
|
77
|
+
apply(t, r, n) {
|
|
78
|
+
return Se(n[0]);
|
|
79
|
+
},
|
|
80
|
+
get(t, r) {
|
|
81
|
+
const n = r;
|
|
82
|
+
return e.has(n) || e.set(n, Se(n)), e.get(n);
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}, wr = qt(), [br, Or] = Ne({
|
|
86
|
+
name: "LocaleContext",
|
|
87
|
+
hookName: "useLocaleContext",
|
|
88
|
+
providerName: "<LocaleProvider />",
|
|
89
|
+
strict: !1,
|
|
90
|
+
defaultValue: { dir: "ltr", locale: "en-US" }
|
|
91
|
+
}), Yt = () => (e, t) => t.reduce(
|
|
92
|
+
(r, n) => {
|
|
93
|
+
const [o, c] = r, l = n;
|
|
94
|
+
return c[l] !== void 0 && (o[l] = c[l]), delete c[l], [o, c];
|
|
95
|
+
},
|
|
96
|
+
[{}, { ...e }]
|
|
97
|
+
), Sr = (e) => Yt()(e, [
|
|
98
|
+
"immediate",
|
|
99
|
+
"lazyMount",
|
|
100
|
+
"onExitComplete",
|
|
101
|
+
"present",
|
|
102
|
+
"skipAnimationOnMount",
|
|
103
|
+
"unmountOnExit"
|
|
104
|
+
]);
|
|
105
|
+
function Gt(e) {
|
|
106
|
+
return new Proxy({}, {
|
|
107
|
+
get(t, r) {
|
|
108
|
+
return r === "style" ? (n) => e({ style: n }).style : e;
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
var Kt = () => (e) => Array.from(new Set(e));
|
|
113
|
+
function Xt(e, t) {
|
|
114
|
+
const { state: r, send: n, context: o } = e, c = r.matches("mounted", "unmountSuspended");
|
|
115
|
+
return {
|
|
116
|
+
skip: !o.get("initial"),
|
|
117
|
+
present: c,
|
|
118
|
+
setNode(l) {
|
|
119
|
+
l && n({ type: "NODE.SET", node: l });
|
|
120
|
+
},
|
|
121
|
+
unmount() {
|
|
122
|
+
n({ type: "UNMOUNT" });
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
var Jt = pt({
|
|
127
|
+
props({ props: e }) {
|
|
128
|
+
return { ...e, present: !!e.present };
|
|
129
|
+
},
|
|
130
|
+
initialState({ prop: e }) {
|
|
131
|
+
return e("present") ? "mounted" : "unmounted";
|
|
132
|
+
},
|
|
133
|
+
refs() {
|
|
134
|
+
return {
|
|
135
|
+
node: null,
|
|
136
|
+
styles: null
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
context({ bindable: e }) {
|
|
140
|
+
return {
|
|
141
|
+
unmountAnimationName: e(() => ({ defaultValue: null })),
|
|
142
|
+
prevAnimationName: e(() => ({ defaultValue: null })),
|
|
143
|
+
present: e(() => ({ defaultValue: !1 })),
|
|
144
|
+
initial: e(() => ({
|
|
145
|
+
sync: !0,
|
|
146
|
+
defaultValue: !1
|
|
147
|
+
}))
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
exit: ["clearInitial", "cleanupNode"],
|
|
151
|
+
watch({ track: e, action: t, prop: r }) {
|
|
152
|
+
e([() => r("present")], () => {
|
|
153
|
+
t(["setInitial", "syncPresence"]);
|
|
154
|
+
});
|
|
155
|
+
},
|
|
156
|
+
on: {
|
|
157
|
+
"NODE.SET": {
|
|
158
|
+
actions: ["setNode", "setStyles"]
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
states: {
|
|
162
|
+
mounted: {
|
|
163
|
+
on: {
|
|
164
|
+
UNMOUNT: {
|
|
165
|
+
target: "unmounted",
|
|
166
|
+
actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
|
|
167
|
+
},
|
|
168
|
+
"UNMOUNT.SUSPEND": {
|
|
169
|
+
target: "unmountSuspended"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
unmountSuspended: {
|
|
174
|
+
effects: ["trackAnimationEvents"],
|
|
175
|
+
on: {
|
|
176
|
+
MOUNT: {
|
|
177
|
+
target: "mounted",
|
|
178
|
+
actions: ["setPrevAnimationName"]
|
|
179
|
+
},
|
|
180
|
+
UNMOUNT: {
|
|
181
|
+
target: "unmounted",
|
|
182
|
+
actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
unmounted: {
|
|
187
|
+
on: {
|
|
188
|
+
MOUNT: {
|
|
189
|
+
target: "mounted",
|
|
190
|
+
actions: ["setPrevAnimationName"]
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
implementations: {
|
|
196
|
+
actions: {
|
|
197
|
+
setInitial: ({ context: e }) => {
|
|
198
|
+
e.get("initial") || queueMicrotask(() => {
|
|
199
|
+
e.set("initial", !0);
|
|
200
|
+
});
|
|
201
|
+
},
|
|
202
|
+
clearInitial: ({ context: e }) => {
|
|
203
|
+
e.set("initial", !1);
|
|
204
|
+
},
|
|
205
|
+
cleanupNode: ({ refs: e }) => {
|
|
206
|
+
e.set("node", null), e.set("styles", null);
|
|
207
|
+
},
|
|
208
|
+
invokeOnExitComplete: ({ prop: e }) => {
|
|
209
|
+
e("onExitComplete")?.();
|
|
210
|
+
},
|
|
211
|
+
setNode: ({ refs: e, event: t }) => {
|
|
212
|
+
e.set("node", t.node);
|
|
213
|
+
},
|
|
214
|
+
setStyles: ({ refs: e, event: t }) => {
|
|
215
|
+
e.set("styles", Je(t.node));
|
|
216
|
+
},
|
|
217
|
+
syncPresence: ({ context: e, refs: t, send: r, prop: n }) => {
|
|
218
|
+
const o = n("present");
|
|
219
|
+
if (o)
|
|
220
|
+
return r({ type: "MOUNT", src: "presence.changed" });
|
|
221
|
+
const c = t.get("node");
|
|
222
|
+
if (!o && c?.ownerDocument.visibilityState === "hidden")
|
|
223
|
+
return r({ type: "UNMOUNT", src: "visibilitychange" });
|
|
224
|
+
Re(() => {
|
|
225
|
+
const l = fe(t.get("styles"));
|
|
226
|
+
e.set("unmountAnimationName", l), l === "none" || l === e.get("prevAnimationName") || t.get("styles")?.display === "none" || t.get("styles")?.animationDuration === "0s" ? r({ type: "UNMOUNT", src: "presence.changed" }) : r({ type: "UNMOUNT.SUSPEND" });
|
|
227
|
+
});
|
|
228
|
+
},
|
|
229
|
+
setPrevAnimationName: ({ context: e, refs: t }) => {
|
|
230
|
+
Re(() => {
|
|
231
|
+
e.set("prevAnimationName", fe(t.get("styles")));
|
|
232
|
+
});
|
|
233
|
+
},
|
|
234
|
+
clearPrevAnimationName: ({ context: e }) => {
|
|
235
|
+
e.set("prevAnimationName", null);
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
effects: {
|
|
239
|
+
trackAnimationEvents: ({ context: e, refs: t, send: r }) => {
|
|
240
|
+
const n = t.get("node");
|
|
241
|
+
if (!n) return;
|
|
242
|
+
const o = (f) => {
|
|
243
|
+
(f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName", fe(t.get("styles")));
|
|
244
|
+
}, c = (f) => {
|
|
245
|
+
const u = fe(t.get("styles"));
|
|
246
|
+
vt(f) === n && u === e.get("unmountAnimationName") && r({ type: "UNMOUNT", src: "animationend" });
|
|
247
|
+
};
|
|
248
|
+
n.addEventListener("animationstart", o), n.addEventListener("animationcancel", c), n.addEventListener("animationend", c);
|
|
249
|
+
const l = yt(n, { animationFillMode: "forwards" });
|
|
250
|
+
return () => {
|
|
251
|
+
n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c), ht(() => l());
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
function fe(e) {
|
|
258
|
+
return e?.animationName || "none";
|
|
259
|
+
}
|
|
260
|
+
Kt()(["onExitComplete", "present", "immediate"]);
|
|
261
|
+
var de = { exports: {} }, N = {};
|
|
5
262
|
/**
|
|
6
263
|
* @license React
|
|
7
264
|
* react-dom.production.js
|
|
@@ -12,10 +269,10 @@ var fe = { exports: {} }, N = {};
|
|
|
12
269
|
* LICENSE file in the root directory of this source tree.
|
|
13
270
|
*/
|
|
14
271
|
var ze;
|
|
15
|
-
function
|
|
272
|
+
function Zt() {
|
|
16
273
|
if (ze) return N;
|
|
17
274
|
ze = 1;
|
|
18
|
-
var e =
|
|
275
|
+
var e = Qe;
|
|
19
276
|
function t(u) {
|
|
20
277
|
var s = "https://react.dev/errors/" + u;
|
|
21
278
|
if (1 < arguments.length) {
|
|
@@ -155,7 +412,7 @@ var C = {};
|
|
|
155
412
|
* LICENSE file in the root directory of this source tree.
|
|
156
413
|
*/
|
|
157
414
|
var Ue;
|
|
158
|
-
function
|
|
415
|
+
function Qt() {
|
|
159
416
|
return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
160
417
|
function e() {
|
|
161
418
|
}
|
|
@@ -203,7 +460,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
203
460
|
), a;
|
|
204
461
|
}
|
|
205
462
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
206
|
-
var f =
|
|
463
|
+
var f = Qe, u = {
|
|
207
464
|
d: {
|
|
208
465
|
f: e,
|
|
209
466
|
r: function() {
|
|
@@ -368,8 +625,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
368
625
|
}()), C;
|
|
369
626
|
}
|
|
370
627
|
var Fe;
|
|
371
|
-
function
|
|
372
|
-
if (Fe) return
|
|
628
|
+
function en() {
|
|
629
|
+
if (Fe) return de.exports;
|
|
373
630
|
Fe = 1;
|
|
374
631
|
function e() {
|
|
375
632
|
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
|
|
@@ -382,17 +639,9 @@ function jt() {
|
|
|
382
639
|
}
|
|
383
640
|
}
|
|
384
641
|
}
|
|
385
|
-
return process.env.NODE_ENV === "production" ? (e(),
|
|
642
|
+
return process.env.NODE_ENV === "production" ? (e(), de.exports = Zt()) : de.exports = Qt(), de.exports;
|
|
386
643
|
}
|
|
387
|
-
var ve =
|
|
388
|
-
function Bt(e) {
|
|
389
|
-
return new Proxy({}, {
|
|
390
|
-
get(t, r) {
|
|
391
|
-
return r === "style" ? (n) => e({ style: n }).style : e;
|
|
392
|
-
}
|
|
393
|
-
});
|
|
394
|
-
}
|
|
395
|
-
var qt = () => (e) => Array.from(new Set(e)), tt = typeof globalThis.document < "u" ? Dt : se;
|
|
644
|
+
var ve = en(), tt = typeof globalThis.document < "u" ? zt : se;
|
|
396
645
|
function me(e) {
|
|
397
646
|
const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = Ae(t), [o, c] = Ae(n), l = e().value !== void 0, f = L(o);
|
|
398
647
|
f.current = l ? e().value : o;
|
|
@@ -412,7 +661,7 @@ function me(e) {
|
|
|
412
661
|
ref: f,
|
|
413
662
|
get: g,
|
|
414
663
|
set(a) {
|
|
415
|
-
(e().sync ? ve.flushSync :
|
|
664
|
+
(e().sync ? ve.flushSync : bt)(() => s(a));
|
|
416
665
|
},
|
|
417
666
|
invoke(a, i) {
|
|
418
667
|
e().onChange?.(a, i);
|
|
@@ -434,7 +683,7 @@ me.ref = (e) => {
|
|
|
434
683
|
}
|
|
435
684
|
};
|
|
436
685
|
};
|
|
437
|
-
function
|
|
686
|
+
function tn(e) {
|
|
438
687
|
const t = L(e);
|
|
439
688
|
return {
|
|
440
689
|
get(r) {
|
|
@@ -445,7 +694,7 @@ function Yt(e) {
|
|
|
445
694
|
}
|
|
446
695
|
};
|
|
447
696
|
}
|
|
448
|
-
var
|
|
697
|
+
var nn = (e, t) => {
|
|
449
698
|
const r = L(!1), n = L(!1);
|
|
450
699
|
se(() => {
|
|
451
700
|
if (r.current && n.current) return t();
|
|
@@ -454,13 +703,13 @@ var Gt = (e, t) => {
|
|
|
454
703
|
r.current = !1;
|
|
455
704
|
}), []);
|
|
456
705
|
};
|
|
457
|
-
function
|
|
458
|
-
const r =
|
|
706
|
+
function rn(e, t = {}) {
|
|
707
|
+
const r = Ht(() => {
|
|
459
708
|
const { id: h, ids: x, getRootNode: R } = t;
|
|
460
|
-
return
|
|
709
|
+
return xt({ id: h, ids: x, getRootNode: R });
|
|
461
710
|
}, [t]), n = (...h) => {
|
|
462
711
|
e.debug && console.log(...h);
|
|
463
|
-
}, o = e.props?.({ props:
|
|
712
|
+
}, o = e.props?.({ props: Ze(t), scope: r }) ?? t, c = on(o), l = e.context?.({
|
|
464
713
|
prop: c,
|
|
465
714
|
bindable: me,
|
|
466
715
|
scope: r,
|
|
@@ -504,7 +753,7 @@ function Kt(e, t = {}) {
|
|
|
504
753
|
hasTag(h) {
|
|
505
754
|
return !!e.states[A.ref.current]?.tags?.includes(h);
|
|
506
755
|
}
|
|
507
|
-
}), p =
|
|
756
|
+
}), p = tn(e.refs?.({ prop: c, context: u }) ?? {}), y = () => ({
|
|
508
757
|
state: m(),
|
|
509
758
|
context: u,
|
|
510
759
|
event: d(),
|
|
@@ -512,7 +761,7 @@ function Kt(e, t = {}) {
|
|
|
512
761
|
send: M,
|
|
513
762
|
action: v,
|
|
514
763
|
guard: w,
|
|
515
|
-
track:
|
|
764
|
+
track: nn,
|
|
516
765
|
refs: p,
|
|
517
766
|
computed: S,
|
|
518
767
|
flush: Ie,
|
|
@@ -539,11 +788,11 @@ function Kt(e, t = {}) {
|
|
|
539
788
|
P && O.push(P);
|
|
540
789
|
}
|
|
541
790
|
return () => O.forEach((T) => T?.());
|
|
542
|
-
}, E = (h) =>
|
|
791
|
+
}, E = (h) => Ot(h).find((x) => {
|
|
543
792
|
let R = !x.guard;
|
|
544
|
-
return
|
|
793
|
+
return St(x.guard) ? R = !!w(x.guard) : ie(x.guard) && (R = x.guard(y())), R;
|
|
545
794
|
}), S = (h) => {
|
|
546
|
-
|
|
795
|
+
wt(e.computed, () => "[zag-js] No computed object found on machine");
|
|
547
796
|
const x = e.computed[h];
|
|
548
797
|
return x({
|
|
549
798
|
context: u,
|
|
@@ -614,7 +863,7 @@ function nt(e) {
|
|
|
614
863
|
const t = L(e);
|
|
615
864
|
return t.current = e, t;
|
|
616
865
|
}
|
|
617
|
-
function
|
|
866
|
+
function on(e) {
|
|
618
867
|
const t = nt(e);
|
|
619
868
|
return function(n) {
|
|
620
869
|
return t.current[n];
|
|
@@ -625,262 +874,25 @@ function Ie(e) {
|
|
|
625
874
|
ve.flushSync(() => e());
|
|
626
875
|
});
|
|
627
876
|
}
|
|
628
|
-
var
|
|
629
|
-
function
|
|
630
|
-
|
|
631
|
-
const r = [];
|
|
632
|
-
for (const n of e)
|
|
633
|
-
if (typeof n == "function") {
|
|
634
|
-
const o = n(t);
|
|
635
|
-
typeof o == "function" && r.push(o);
|
|
636
|
-
} else n && (n.current = t);
|
|
637
|
-
if (r.length)
|
|
638
|
-
return () => {
|
|
639
|
-
for (const n of r)
|
|
640
|
-
n();
|
|
641
|
-
};
|
|
642
|
-
};
|
|
643
|
-
}
|
|
644
|
-
function Qt(e) {
|
|
645
|
-
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
646
|
-
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
647
|
-
}
|
|
648
|
-
const Se = (e) => {
|
|
649
|
-
const t = Mt(
|
|
650
|
-
Lt((r, n) => {
|
|
651
|
-
const { asChild: o, children: c, ...l } = r;
|
|
652
|
-
if (!o)
|
|
653
|
-
return kt(e, { ...l, ref: n }, c);
|
|
654
|
-
const f = et.only(c);
|
|
655
|
-
if (!$t(f))
|
|
656
|
-
return null;
|
|
657
|
-
const u = Qt(f);
|
|
658
|
-
return Vt(f, {
|
|
659
|
-
...xt(l, f.props),
|
|
660
|
-
ref: n ? Jt(n, u) : u
|
|
661
|
-
});
|
|
662
|
-
})
|
|
663
|
-
);
|
|
664
|
-
return t.displayName = e.displayName || e.name, t;
|
|
665
|
-
}, Zt = () => {
|
|
666
|
-
const e = /* @__PURE__ */ new Map();
|
|
667
|
-
return new Proxy(Se, {
|
|
668
|
-
apply(t, r, n) {
|
|
669
|
-
return Se(n[0]);
|
|
670
|
-
},
|
|
671
|
-
get(t, r) {
|
|
672
|
-
const n = r;
|
|
673
|
-
return e.has(n) || e.set(n, Se(n)), e.get(n);
|
|
674
|
-
}
|
|
675
|
-
});
|
|
676
|
-
}, wr = Zt();
|
|
677
|
-
function en(e, t) {
|
|
678
|
-
return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`;
|
|
679
|
-
}
|
|
680
|
-
function Ne(e = {}) {
|
|
681
|
-
const {
|
|
682
|
-
name: t,
|
|
683
|
-
strict: r = !0,
|
|
684
|
-
hookName: n = "useContext",
|
|
685
|
-
providerName: o = "Provider",
|
|
686
|
-
errorMessage: c,
|
|
687
|
-
defaultValue: l
|
|
688
|
-
} = e, f = Ht(l);
|
|
689
|
-
f.displayName = t;
|
|
690
|
-
function u() {
|
|
691
|
-
const s = zt(f);
|
|
692
|
-
if (!s && r) {
|
|
693
|
-
const g = new Error(c ?? en(n, o));
|
|
694
|
-
throw g.name = "ContextError", Error.captureStackTrace?.(g, u), g;
|
|
695
|
-
}
|
|
696
|
-
return s;
|
|
697
|
-
}
|
|
698
|
-
return [f.Provider, u, f];
|
|
699
|
-
}
|
|
700
|
-
const [br, Or] = Ne({
|
|
701
|
-
name: "PresenceContext",
|
|
702
|
-
hookName: "usePresenceContext",
|
|
703
|
-
providerName: "<PresenceProvider />"
|
|
704
|
-
}), tn = () => (e, t) => t.reduce(
|
|
705
|
-
(r, n) => {
|
|
706
|
-
const [o, c] = r, l = n;
|
|
707
|
-
return c[l] !== void 0 && (o[l] = c[l]), delete c[l], [o, c];
|
|
708
|
-
},
|
|
709
|
-
[{}, { ...e }]
|
|
710
|
-
), Sr = (e) => tn()(e, [
|
|
711
|
-
"immediate",
|
|
712
|
-
"lazyMount",
|
|
713
|
-
"onExitComplete",
|
|
714
|
-
"present",
|
|
715
|
-
"skipAnimationOnMount",
|
|
716
|
-
"unmountOnExit"
|
|
717
|
-
]);
|
|
718
|
-
function nn(e, t) {
|
|
719
|
-
const { state: r, send: n, context: o } = e, c = r.matches("mounted", "unmountSuspended");
|
|
720
|
-
return {
|
|
721
|
-
skip: !o.get("initial"),
|
|
722
|
-
present: c,
|
|
723
|
-
setNode(l) {
|
|
724
|
-
l && n({ type: "NODE.SET", node: l });
|
|
725
|
-
},
|
|
726
|
-
unmount() {
|
|
727
|
-
n({ type: "UNMOUNT" });
|
|
728
|
-
}
|
|
729
|
-
};
|
|
730
|
-
}
|
|
731
|
-
var rn = wt({
|
|
732
|
-
props({ props: e }) {
|
|
733
|
-
return { ...e, present: !!e.present };
|
|
734
|
-
},
|
|
735
|
-
initialState({ prop: e }) {
|
|
736
|
-
return e("present") ? "mounted" : "unmounted";
|
|
737
|
-
},
|
|
738
|
-
refs() {
|
|
739
|
-
return {
|
|
740
|
-
node: null,
|
|
741
|
-
styles: null
|
|
742
|
-
};
|
|
743
|
-
},
|
|
744
|
-
context({ bindable: e }) {
|
|
745
|
-
return {
|
|
746
|
-
unmountAnimationName: e(() => ({ defaultValue: null })),
|
|
747
|
-
prevAnimationName: e(() => ({ defaultValue: null })),
|
|
748
|
-
present: e(() => ({ defaultValue: !1 })),
|
|
749
|
-
initial: e(() => ({
|
|
750
|
-
sync: !0,
|
|
751
|
-
defaultValue: !1
|
|
752
|
-
}))
|
|
753
|
-
};
|
|
754
|
-
},
|
|
755
|
-
exit: ["clearInitial", "cleanupNode"],
|
|
756
|
-
watch({ track: e, action: t, prop: r }) {
|
|
757
|
-
e([() => r("present")], () => {
|
|
758
|
-
t(["setInitial", "syncPresence"]);
|
|
759
|
-
});
|
|
760
|
-
},
|
|
761
|
-
on: {
|
|
762
|
-
"NODE.SET": {
|
|
763
|
-
actions: ["setNode", "setStyles"]
|
|
764
|
-
}
|
|
765
|
-
},
|
|
766
|
-
states: {
|
|
767
|
-
mounted: {
|
|
768
|
-
on: {
|
|
769
|
-
UNMOUNT: {
|
|
770
|
-
target: "unmounted",
|
|
771
|
-
actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
|
|
772
|
-
},
|
|
773
|
-
"UNMOUNT.SUSPEND": {
|
|
774
|
-
target: "unmountSuspended"
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
unmountSuspended: {
|
|
779
|
-
effects: ["trackAnimationEvents"],
|
|
780
|
-
on: {
|
|
781
|
-
MOUNT: {
|
|
782
|
-
target: "mounted",
|
|
783
|
-
actions: ["setPrevAnimationName"]
|
|
784
|
-
},
|
|
785
|
-
UNMOUNT: {
|
|
786
|
-
target: "unmounted",
|
|
787
|
-
actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
unmounted: {
|
|
792
|
-
on: {
|
|
793
|
-
MOUNT: {
|
|
794
|
-
target: "mounted",
|
|
795
|
-
actions: ["setPrevAnimationName"]
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
implementations: {
|
|
801
|
-
actions: {
|
|
802
|
-
setInitial: ({ context: e }) => {
|
|
803
|
-
e.get("initial") || queueMicrotask(() => {
|
|
804
|
-
e.set("initial", !0);
|
|
805
|
-
});
|
|
806
|
-
},
|
|
807
|
-
clearInitial: ({ context: e }) => {
|
|
808
|
-
e.set("initial", !1);
|
|
809
|
-
},
|
|
810
|
-
cleanupNode: ({ refs: e }) => {
|
|
811
|
-
e.set("node", null), e.set("styles", null);
|
|
812
|
-
},
|
|
813
|
-
invokeOnExitComplete: ({ prop: e }) => {
|
|
814
|
-
e("onExitComplete")?.();
|
|
815
|
-
},
|
|
816
|
-
setNode: ({ refs: e, event: t }) => {
|
|
817
|
-
e.set("node", t.node);
|
|
818
|
-
},
|
|
819
|
-
setStyles: ({ refs: e, event: t }) => {
|
|
820
|
-
e.set("styles", Qe(t.node));
|
|
821
|
-
},
|
|
822
|
-
syncPresence: ({ context: e, refs: t, send: r, prop: n }) => {
|
|
823
|
-
const o = n("present");
|
|
824
|
-
if (o)
|
|
825
|
-
return r({ type: "MOUNT", src: "presence.changed" });
|
|
826
|
-
const c = t.get("node");
|
|
827
|
-
if (!o && c?.ownerDocument.visibilityState === "hidden")
|
|
828
|
-
return r({ type: "UNMOUNT", src: "visibilitychange" });
|
|
829
|
-
Re(() => {
|
|
830
|
-
const l = de(t.get("styles"));
|
|
831
|
-
e.set("unmountAnimationName", l), l === "none" || l === e.get("prevAnimationName") || t.get("styles")?.display === "none" || t.get("styles")?.animationDuration === "0s" ? r({ type: "UNMOUNT", src: "presence.changed" }) : r({ type: "UNMOUNT.SUSPEND" });
|
|
832
|
-
});
|
|
833
|
-
},
|
|
834
|
-
setPrevAnimationName: ({ context: e, refs: t }) => {
|
|
835
|
-
Re(() => {
|
|
836
|
-
e.set("prevAnimationName", de(t.get("styles")));
|
|
837
|
-
});
|
|
838
|
-
},
|
|
839
|
-
clearPrevAnimationName: ({ context: e }) => {
|
|
840
|
-
e.set("prevAnimationName", null);
|
|
841
|
-
}
|
|
842
|
-
},
|
|
843
|
-
effects: {
|
|
844
|
-
trackAnimationEvents: ({ context: e, refs: t, send: r }) => {
|
|
845
|
-
const n = t.get("node");
|
|
846
|
-
if (!n) return;
|
|
847
|
-
const o = (f) => {
|
|
848
|
-
(f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName", de(t.get("styles")));
|
|
849
|
-
}, c = (f) => {
|
|
850
|
-
const u = de(t.get("styles"));
|
|
851
|
-
St(f) === n && u === e.get("unmountAnimationName") && r({ type: "UNMOUNT", src: "animationend" });
|
|
852
|
-
};
|
|
853
|
-
n.addEventListener("animationstart", o), n.addEventListener("animationcancel", c), n.addEventListener("animationend", c);
|
|
854
|
-
const l = bt(n, { animationFillMode: "forwards" });
|
|
855
|
-
return () => {
|
|
856
|
-
n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c), Ot(() => l());
|
|
857
|
-
};
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
});
|
|
862
|
-
function de(e) {
|
|
863
|
-
return e?.animationName || "none";
|
|
864
|
-
}
|
|
865
|
-
qt()(["onExitComplete", "present", "immediate"]);
|
|
866
|
-
function on(e, t = {}) {
|
|
867
|
-
const { sync: r = !1 } = t, n = sn(e);
|
|
877
|
+
var Er = Gt((e) => e);
|
|
878
|
+
function sn(e, t = {}) {
|
|
879
|
+
const { sync: r = !1 } = t, n = cn(e);
|
|
868
880
|
return Ut(
|
|
869
881
|
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
|
|
870
882
|
(...o) => r ? queueMicrotask(() => n.current?.(...o)) : n.current?.(...o),
|
|
871
883
|
[r, n]
|
|
872
884
|
);
|
|
873
885
|
}
|
|
874
|
-
function
|
|
886
|
+
function cn(e) {
|
|
875
887
|
const t = L(e);
|
|
876
888
|
return t.current = e, t;
|
|
877
889
|
}
|
|
878
|
-
const
|
|
890
|
+
const Rr = (e = {}) => {
|
|
879
891
|
const { lazyMount: t, unmountOnExit: r, present: n, skipAnimationOnMount: o = !1, ...c } = e, l = L(!1), f = {
|
|
880
892
|
...c,
|
|
881
893
|
present: n,
|
|
882
|
-
onExitComplete:
|
|
883
|
-
}, u =
|
|
894
|
+
onExitComplete: sn(e.onExitComplete)
|
|
895
|
+
}, u = rn(Jt, f), s = Xt(u);
|
|
884
896
|
s.present && (l.current = !0);
|
|
885
897
|
const g = !s.present && !l.current && t || r && !s.present && l.current, a = () => ({
|
|
886
898
|
"data-state": s.skip && o ? void 0 : n ? "open" : "closed",
|
|
@@ -892,15 +904,19 @@ const Er = (e = {}) => {
|
|
|
892
904
|
present: s.present,
|
|
893
905
|
unmounted: g
|
|
894
906
|
};
|
|
895
|
-
},
|
|
907
|
+
}, [Ar, Tr] = Ne({
|
|
908
|
+
name: "PresenceContext",
|
|
909
|
+
hookName: "usePresenceContext",
|
|
910
|
+
providerName: "<PresenceProvider />"
|
|
911
|
+
}), an = ["top", "right", "bottom", "left"], X = Math.min, k = Math.max, pe = Math.round, ge = Math.floor, W = (e) => ({
|
|
896
912
|
x: e,
|
|
897
913
|
y: e
|
|
898
|
-
}),
|
|
914
|
+
}), ln = {
|
|
899
915
|
left: "right",
|
|
900
916
|
right: "left",
|
|
901
917
|
bottom: "top",
|
|
902
918
|
top: "bottom"
|
|
903
|
-
},
|
|
919
|
+
}, un = {
|
|
904
920
|
start: "end",
|
|
905
921
|
end: "start"
|
|
906
922
|
};
|
|
@@ -928,20 +944,20 @@ function I(e) {
|
|
|
928
944
|
function Me(e) {
|
|
929
945
|
return Ce(I(e));
|
|
930
946
|
}
|
|
931
|
-
function
|
|
947
|
+
function fn(e, t, r) {
|
|
932
948
|
r === void 0 && (r = !1);
|
|
933
949
|
const n = te(e), o = Me(e), c = De(o);
|
|
934
950
|
let l = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
935
951
|
return t.reference[c] > t.floating[c] && (l = ye(l)), [l, ye(l)];
|
|
936
952
|
}
|
|
937
|
-
function
|
|
953
|
+
function dn(e) {
|
|
938
954
|
const t = ye(e);
|
|
939
955
|
return [_e(e), t, _e(t)];
|
|
940
956
|
}
|
|
941
957
|
function _e(e) {
|
|
942
|
-
return e.replace(/start|end/g, (t) =>
|
|
958
|
+
return e.replace(/start|end/g, (t) => un[t]);
|
|
943
959
|
}
|
|
944
|
-
function
|
|
960
|
+
function gn(e, t, r) {
|
|
945
961
|
const n = ["left", "right"], o = ["right", "left"], c = ["top", "bottom"], l = ["bottom", "top"];
|
|
946
962
|
switch (e) {
|
|
947
963
|
case "top":
|
|
@@ -954,15 +970,15 @@ function dn(e, t, r) {
|
|
|
954
970
|
return [];
|
|
955
971
|
}
|
|
956
972
|
}
|
|
957
|
-
function
|
|
973
|
+
function mn(e, t, r, n) {
|
|
958
974
|
const o = te(e);
|
|
959
|
-
let c =
|
|
975
|
+
let c = gn(G(e), r === "start", n);
|
|
960
976
|
return o && (c = c.map((l) => l + "-" + o), t && (c = c.concat(c.map(_e)))), c;
|
|
961
977
|
}
|
|
962
978
|
function ye(e) {
|
|
963
|
-
return e.replace(/left|right|bottom|top/g, (t) =>
|
|
979
|
+
return e.replace(/left|right|bottom|top/g, (t) => ln[t]);
|
|
964
980
|
}
|
|
965
|
-
function
|
|
981
|
+
function pn(e) {
|
|
966
982
|
return {
|
|
967
983
|
top: 0,
|
|
968
984
|
right: 0,
|
|
@@ -972,7 +988,7 @@ function mn(e) {
|
|
|
972
988
|
};
|
|
973
989
|
}
|
|
974
990
|
function rt(e) {
|
|
975
|
-
return typeof e != "number" ?
|
|
991
|
+
return typeof e != "number" ? pn(e) : {
|
|
976
992
|
top: e,
|
|
977
993
|
right: e,
|
|
978
994
|
bottom: e,
|
|
@@ -1045,7 +1061,7 @@ function We(e, t, r) {
|
|
|
1045
1061
|
}
|
|
1046
1062
|
return d;
|
|
1047
1063
|
}
|
|
1048
|
-
const
|
|
1064
|
+
const yn = async (e, t, r) => {
|
|
1049
1065
|
const {
|
|
1050
1066
|
placement: n = "bottom",
|
|
1051
1067
|
strategy: o = "absolute",
|
|
@@ -1151,7 +1167,7 @@ async function ce(e, t) {
|
|
|
1151
1167
|
right: (S.right - v.right + m.right) / E.x
|
|
1152
1168
|
};
|
|
1153
1169
|
}
|
|
1154
|
-
const
|
|
1170
|
+
const hn = (e) => ({
|
|
1155
1171
|
name: "arrow",
|
|
1156
1172
|
options: e,
|
|
1157
1173
|
async fn(t) {
|
|
@@ -1188,7 +1204,7 @@ const yn = (e) => ({
|
|
|
1188
1204
|
reset: P
|
|
1189
1205
|
};
|
|
1190
1206
|
}
|
|
1191
|
-
}),
|
|
1207
|
+
}), vn = function(e) {
|
|
1192
1208
|
return e === void 0 && (e = {}), {
|
|
1193
1209
|
name: "flip",
|
|
1194
1210
|
options: e,
|
|
@@ -1212,12 +1228,12 @@ const yn = (e) => ({
|
|
|
1212
1228
|
} = Y(e, t);
|
|
1213
1229
|
if ((r = c.arrow) != null && r.alignmentOffset)
|
|
1214
1230
|
return {};
|
|
1215
|
-
const v = G(o), w = I(f), b = G(f) === f, E = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), S = i || (b || !p ? [ye(f)] :
|
|
1216
|
-
!i && A && S.push(...
|
|
1231
|
+
const v = G(o), w = I(f), b = G(f) === f, E = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), S = i || (b || !p ? [ye(f)] : dn(f)), A = m !== "none";
|
|
1232
|
+
!i && A && S.push(...mn(f, p, m, E));
|
|
1217
1233
|
const _ = [f, ...S], D = await ce(t, y), V = [];
|
|
1218
1234
|
let M = ((n = c.flip) == null ? void 0 : n.overflows) || [];
|
|
1219
1235
|
if (g && V.push(D[v]), a) {
|
|
1220
|
-
const O =
|
|
1236
|
+
const O = fn(o, l, E);
|
|
1221
1237
|
V.push(D[O[0]], D[O[1]]);
|
|
1222
1238
|
}
|
|
1223
1239
|
if (M = [...M, {
|
|
@@ -1279,9 +1295,9 @@ function je(e, t) {
|
|
|
1279
1295
|
};
|
|
1280
1296
|
}
|
|
1281
1297
|
function Be(e) {
|
|
1282
|
-
return
|
|
1298
|
+
return an.some((t) => e[t] >= 0);
|
|
1283
1299
|
}
|
|
1284
|
-
const
|
|
1300
|
+
const xn = function(e) {
|
|
1285
1301
|
return e === void 0 && (e = {}), {
|
|
1286
1302
|
name: "hide",
|
|
1287
1303
|
options: e,
|
|
@@ -1323,7 +1339,7 @@ const vn = function(e) {
|
|
|
1323
1339
|
}
|
|
1324
1340
|
};
|
|
1325
1341
|
};
|
|
1326
|
-
async function
|
|
1342
|
+
async function wn(e, t) {
|
|
1327
1343
|
const {
|
|
1328
1344
|
placement: r,
|
|
1329
1345
|
platform: n,
|
|
@@ -1350,7 +1366,7 @@ async function xn(e, t) {
|
|
|
1350
1366
|
y: d * g
|
|
1351
1367
|
};
|
|
1352
1368
|
}
|
|
1353
|
-
const
|
|
1369
|
+
const bn = function(e) {
|
|
1354
1370
|
return e === void 0 && (e = 0), {
|
|
1355
1371
|
name: "offset",
|
|
1356
1372
|
options: e,
|
|
@@ -1361,7 +1377,7 @@ const wn = function(e) {
|
|
|
1361
1377
|
y: c,
|
|
1362
1378
|
placement: l,
|
|
1363
1379
|
middlewareData: f
|
|
1364
|
-
} = t, u = await
|
|
1380
|
+
} = t, u = await wn(t, e);
|
|
1365
1381
|
return l === ((r = f.offset) == null ? void 0 : r.placement) && (n = f.arrow) != null && n.alignmentOffset ? {} : {
|
|
1366
1382
|
x: o + u.x,
|
|
1367
1383
|
y: c + u.y,
|
|
@@ -1372,7 +1388,7 @@ const wn = function(e) {
|
|
|
1372
1388
|
};
|
|
1373
1389
|
}
|
|
1374
1390
|
};
|
|
1375
|
-
},
|
|
1391
|
+
}, On = function(e) {
|
|
1376
1392
|
return e === void 0 && (e = {}), {
|
|
1377
1393
|
name: "shift",
|
|
1378
1394
|
options: e,
|
|
@@ -1428,7 +1444,7 @@ const wn = function(e) {
|
|
|
1428
1444
|
};
|
|
1429
1445
|
}
|
|
1430
1446
|
};
|
|
1431
|
-
},
|
|
1447
|
+
}, Sn = function(e) {
|
|
1432
1448
|
return e === void 0 && (e = {}), {
|
|
1433
1449
|
options: e,
|
|
1434
1450
|
fn(t) {
|
|
@@ -1470,7 +1486,7 @@ const wn = function(e) {
|
|
|
1470
1486
|
};
|
|
1471
1487
|
}
|
|
1472
1488
|
};
|
|
1473
|
-
},
|
|
1489
|
+
}, En = function(e) {
|
|
1474
1490
|
return e === void 0 && (e = {}), {
|
|
1475
1491
|
name: "size",
|
|
1476
1492
|
options: e,
|
|
@@ -1546,7 +1562,7 @@ function le(e) {
|
|
|
1546
1562
|
} = F(e);
|
|
1547
1563
|
return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
|
|
1548
1564
|
}
|
|
1549
|
-
function
|
|
1565
|
+
function Rn(e) {
|
|
1550
1566
|
return ["table", "td", "th"].includes(ne(e));
|
|
1551
1567
|
}
|
|
1552
1568
|
function we(e) {
|
|
@@ -1562,7 +1578,7 @@ function Le(e) {
|
|
|
1562
1578
|
const t = ke(), r = U(e) ? F(e) : e;
|
|
1563
1579
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
|
|
1564
1580
|
}
|
|
1565
|
-
function
|
|
1581
|
+
function An(e) {
|
|
1566
1582
|
let t = J(e);
|
|
1567
1583
|
for (; j(t) && !ee(t); ) {
|
|
1568
1584
|
if (Le(t))
|
|
@@ -1633,7 +1649,7 @@ function st(e) {
|
|
|
1633
1649
|
function $e(e) {
|
|
1634
1650
|
return U(e) ? e : e.contextElement;
|
|
1635
1651
|
}
|
|
1636
|
-
function
|
|
1652
|
+
function Q(e) {
|
|
1637
1653
|
const t = $e(e);
|
|
1638
1654
|
if (!j(t))
|
|
1639
1655
|
return W(1);
|
|
@@ -1648,29 +1664,29 @@ function Z(e) {
|
|
|
1648
1664
|
y: f
|
|
1649
1665
|
};
|
|
1650
1666
|
}
|
|
1651
|
-
const
|
|
1667
|
+
const Tn = /* @__PURE__ */ W(0);
|
|
1652
1668
|
function ct(e) {
|
|
1653
1669
|
const t = $(e);
|
|
1654
|
-
return !ke() || !t.visualViewport ?
|
|
1670
|
+
return !ke() || !t.visualViewport ? Tn : {
|
|
1655
1671
|
x: t.visualViewport.offsetLeft,
|
|
1656
1672
|
y: t.visualViewport.offsetTop
|
|
1657
1673
|
};
|
|
1658
1674
|
}
|
|
1659
|
-
function
|
|
1675
|
+
function _n(e, t, r) {
|
|
1660
1676
|
return t === void 0 && (t = !1), !r || t && r !== $(e) ? !1 : t;
|
|
1661
1677
|
}
|
|
1662
|
-
function
|
|
1678
|
+
function Z(e, t, r, n) {
|
|
1663
1679
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
1664
1680
|
const o = e.getBoundingClientRect(), c = $e(e);
|
|
1665
1681
|
let l = W(1);
|
|
1666
|
-
t && (n ? U(n) && (l =
|
|
1667
|
-
const f =
|
|
1682
|
+
t && (n ? U(n) && (l = Q(n)) : l = Q(e));
|
|
1683
|
+
const f = _n(c, r, n) ? ct(c) : W(0);
|
|
1668
1684
|
let u = (o.left + f.x) / l.x, s = (o.top + f.y) / l.y, g = o.width / l.x, a = o.height / l.y;
|
|
1669
1685
|
if (c) {
|
|
1670
1686
|
const i = $(c), d = n && U(n) ? $(n) : n;
|
|
1671
1687
|
let m = i, p = Pe(m);
|
|
1672
1688
|
for (; p && n && d !== m; ) {
|
|
1673
|
-
const y =
|
|
1689
|
+
const y = Q(p), v = p.getBoundingClientRect(), w = F(p), b = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
|
|
1674
1690
|
u *= y.x, s *= y.y, g *= y.x, a *= y.y, u += b, s += E, m = $(p), p = Pe(m);
|
|
1675
1691
|
}
|
|
1676
1692
|
}
|
|
@@ -1683,7 +1699,7 @@ function Q(e, t, r, n) {
|
|
|
1683
1699
|
}
|
|
1684
1700
|
function Ve(e, t) {
|
|
1685
1701
|
const r = be(e).scrollLeft;
|
|
1686
|
-
return t ? t.left + r :
|
|
1702
|
+
return t ? t.left + r : Z(B(e)).left + r;
|
|
1687
1703
|
}
|
|
1688
1704
|
function at(e, t, r) {
|
|
1689
1705
|
r === void 0 && (r = !1);
|
|
@@ -1696,7 +1712,7 @@ function at(e, t, r) {
|
|
|
1696
1712
|
y: c
|
|
1697
1713
|
};
|
|
1698
1714
|
}
|
|
1699
|
-
function
|
|
1715
|
+
function Pn(e) {
|
|
1700
1716
|
let {
|
|
1701
1717
|
elements: t,
|
|
1702
1718
|
rect: r,
|
|
@@ -1712,8 +1728,8 @@ function _n(e) {
|
|
|
1712
1728
|
}, s = W(1);
|
|
1713
1729
|
const g = W(0), a = j(n);
|
|
1714
1730
|
if ((a || !a && !c) && ((ne(n) !== "body" || le(l)) && (u = be(n)), j(n))) {
|
|
1715
|
-
const d =
|
|
1716
|
-
s =
|
|
1731
|
+
const d = Z(n);
|
|
1732
|
+
s = Q(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
|
|
1717
1733
|
}
|
|
1718
1734
|
const i = l && !a && !c ? at(l, u, !0) : W(0);
|
|
1719
1735
|
return {
|
|
@@ -1723,10 +1739,10 @@ function _n(e) {
|
|
|
1723
1739
|
y: r.y * s.y - u.scrollTop * s.y + g.y + i.y
|
|
1724
1740
|
};
|
|
1725
1741
|
}
|
|
1726
|
-
function
|
|
1742
|
+
function Nn(e) {
|
|
1727
1743
|
return Array.from(e.getClientRects());
|
|
1728
1744
|
}
|
|
1729
|
-
function
|
|
1745
|
+
function Cn(e) {
|
|
1730
1746
|
const t = B(e), r = be(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
|
1731
1747
|
let l = -r.scrollLeft + Ve(e);
|
|
1732
1748
|
const f = -r.scrollTop;
|
|
@@ -1737,7 +1753,7 @@ function Nn(e) {
|
|
|
1737
1753
|
y: f
|
|
1738
1754
|
};
|
|
1739
1755
|
}
|
|
1740
|
-
function
|
|
1756
|
+
function Dn(e, t) {
|
|
1741
1757
|
const r = $(e), n = B(e), o = r.visualViewport;
|
|
1742
1758
|
let c = n.clientWidth, l = n.clientHeight, f = 0, u = 0;
|
|
1743
1759
|
if (o) {
|
|
@@ -1752,8 +1768,8 @@ function Cn(e, t) {
|
|
|
1752
1768
|
y: u
|
|
1753
1769
|
};
|
|
1754
1770
|
}
|
|
1755
|
-
function
|
|
1756
|
-
const r =
|
|
1771
|
+
function Mn(e, t) {
|
|
1772
|
+
const r = Z(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = j(e) ? Q(e) : W(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, s = n * c.y;
|
|
1757
1773
|
return {
|
|
1758
1774
|
width: l,
|
|
1759
1775
|
height: f,
|
|
@@ -1764,11 +1780,11 @@ function Dn(e, t) {
|
|
|
1764
1780
|
function Ye(e, t, r) {
|
|
1765
1781
|
let n;
|
|
1766
1782
|
if (t === "viewport")
|
|
1767
|
-
n =
|
|
1783
|
+
n = Dn(e, r);
|
|
1768
1784
|
else if (t === "document")
|
|
1769
|
-
n =
|
|
1785
|
+
n = Cn(B(e));
|
|
1770
1786
|
else if (U(t))
|
|
1771
|
-
n =
|
|
1787
|
+
n = Mn(t, r);
|
|
1772
1788
|
else {
|
|
1773
1789
|
const o = ct(e);
|
|
1774
1790
|
n = {
|
|
@@ -1784,7 +1800,7 @@ function lt(e, t) {
|
|
|
1784
1800
|
const r = J(e);
|
|
1785
1801
|
return r === t || !U(r) || ee(r) ? !1 : F(r).position === "fixed" || lt(r, t);
|
|
1786
1802
|
}
|
|
1787
|
-
function
|
|
1803
|
+
function Ln(e, t) {
|
|
1788
1804
|
const r = t.get(e);
|
|
1789
1805
|
if (r)
|
|
1790
1806
|
return r;
|
|
@@ -1797,14 +1813,14 @@ function Mn(e, t) {
|
|
|
1797
1813
|
}
|
|
1798
1814
|
return t.set(e, n), n;
|
|
1799
1815
|
}
|
|
1800
|
-
function
|
|
1816
|
+
function kn(e) {
|
|
1801
1817
|
let {
|
|
1802
1818
|
element: t,
|
|
1803
1819
|
boundary: r,
|
|
1804
1820
|
rootBoundary: n,
|
|
1805
1821
|
strategy: o
|
|
1806
1822
|
} = e;
|
|
1807
|
-
const l = [...r === "clippingAncestors" ? we(t) ? [] :
|
|
1823
|
+
const l = [...r === "clippingAncestors" ? we(t) ? [] : Ln(t, this._c) : [].concat(r), n], f = l[0], u = l.reduce((s, g) => {
|
|
1808
1824
|
const a = Ye(t, g, o);
|
|
1809
1825
|
return s.top = k(a.top, s.top), s.right = X(a.right, s.right), s.bottom = X(a.bottom, s.bottom), s.left = k(a.left, s.left), s;
|
|
1810
1826
|
}, Ye(t, f, o));
|
|
@@ -1815,7 +1831,7 @@ function Ln(e) {
|
|
|
1815
1831
|
y: u.top
|
|
1816
1832
|
};
|
|
1817
1833
|
}
|
|
1818
|
-
function
|
|
1834
|
+
function $n(e) {
|
|
1819
1835
|
const {
|
|
1820
1836
|
width: t,
|
|
1821
1837
|
height: r
|
|
@@ -1825,8 +1841,8 @@ function kn(e) {
|
|
|
1825
1841
|
height: r
|
|
1826
1842
|
};
|
|
1827
1843
|
}
|
|
1828
|
-
function
|
|
1829
|
-
const n = j(t), o = B(t), c = r === "fixed", l =
|
|
1844
|
+
function Vn(e, t, r) {
|
|
1845
|
+
const n = j(t), o = B(t), c = r === "fixed", l = Z(e, !0, c, t);
|
|
1830
1846
|
let f = {
|
|
1831
1847
|
scrollLeft: 0,
|
|
1832
1848
|
scrollTop: 0
|
|
@@ -1834,7 +1850,7 @@ function $n(e, t, r) {
|
|
|
1834
1850
|
const u = W(0);
|
|
1835
1851
|
if (n || !n && !c)
|
|
1836
1852
|
if ((ne(t) !== "body" || le(o)) && (f = be(t)), n) {
|
|
1837
|
-
const i =
|
|
1853
|
+
const i = Z(t, !0, c, t);
|
|
1838
1854
|
u.x = i.x + t.clientLeft, u.y = i.y + t.clientTop;
|
|
1839
1855
|
} else o && (u.x = Ve(o));
|
|
1840
1856
|
const s = o && !n && !c ? at(o, f) : W(0), g = l.left + f.scrollLeft - u.x - s.x, a = l.top + f.scrollTop - u.y - s.y;
|
|
@@ -1870,14 +1886,14 @@ function ut(e, t) {
|
|
|
1870
1886
|
return r;
|
|
1871
1887
|
}
|
|
1872
1888
|
let n = Ge(e, t);
|
|
1873
|
-
for (; n &&
|
|
1889
|
+
for (; n && Rn(n) && Ee(n); )
|
|
1874
1890
|
n = Ge(n, t);
|
|
1875
|
-
return n && ee(n) && Ee(n) && !Le(n) ? r : n ||
|
|
1891
|
+
return n && ee(n) && Ee(n) && !Le(n) ? r : n || An(e) || r;
|
|
1876
1892
|
}
|
|
1877
|
-
const
|
|
1893
|
+
const Hn = async function(e) {
|
|
1878
1894
|
const t = this.getOffsetParent || ut, r = this.getDimensions, n = await r(e.floating);
|
|
1879
1895
|
return {
|
|
1880
|
-
reference:
|
|
1896
|
+
reference: Vn(e.reference, await t(e.floating), e.strategy),
|
|
1881
1897
|
floating: {
|
|
1882
1898
|
x: 0,
|
|
1883
1899
|
y: 0,
|
|
@@ -1886,25 +1902,25 @@ const Vn = async function(e) {
|
|
|
1886
1902
|
}
|
|
1887
1903
|
};
|
|
1888
1904
|
};
|
|
1889
|
-
function
|
|
1905
|
+
function zn(e) {
|
|
1890
1906
|
return F(e).direction === "rtl";
|
|
1891
1907
|
}
|
|
1892
|
-
const
|
|
1893
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
1908
|
+
const Un = {
|
|
1909
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Pn,
|
|
1894
1910
|
getDocumentElement: B,
|
|
1895
|
-
getClippingRect:
|
|
1911
|
+
getClippingRect: kn,
|
|
1896
1912
|
getOffsetParent: ut,
|
|
1897
|
-
getElementRects:
|
|
1898
|
-
getClientRects:
|
|
1899
|
-
getDimensions:
|
|
1900
|
-
getScale:
|
|
1913
|
+
getElementRects: Hn,
|
|
1914
|
+
getClientRects: Nn,
|
|
1915
|
+
getDimensions: $n,
|
|
1916
|
+
getScale: Q,
|
|
1901
1917
|
isElement: U,
|
|
1902
|
-
isRTL:
|
|
1918
|
+
isRTL: zn
|
|
1903
1919
|
};
|
|
1904
1920
|
function ft(e, t) {
|
|
1905
1921
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1906
1922
|
}
|
|
1907
|
-
function
|
|
1923
|
+
function Fn(e, t) {
|
|
1908
1924
|
let r = null, n;
|
|
1909
1925
|
const o = B(e);
|
|
1910
1926
|
function c() {
|
|
@@ -1950,7 +1966,7 @@ function Un(e, t) {
|
|
|
1950
1966
|
}
|
|
1951
1967
|
return l(!0), c;
|
|
1952
1968
|
}
|
|
1953
|
-
function
|
|
1969
|
+
function In(e, t, r, n) {
|
|
1954
1970
|
n === void 0 && (n = {});
|
|
1955
1971
|
const {
|
|
1956
1972
|
ancestorScroll: o = !0,
|
|
@@ -1964,7 +1980,7 @@ function Fn(e, t, r, n) {
|
|
|
1964
1980
|
passive: !0
|
|
1965
1981
|
}), c && v.addEventListener("resize", r);
|
|
1966
1982
|
});
|
|
1967
|
-
const a = s && f ?
|
|
1983
|
+
const a = s && f ? Fn(s, r) : null;
|
|
1968
1984
|
let i = -1, d = null;
|
|
1969
1985
|
l && (d = new ResizeObserver((v) => {
|
|
1970
1986
|
let [w] = v;
|
|
@@ -1973,10 +1989,10 @@ function Fn(e, t, r, n) {
|
|
|
1973
1989
|
(b = d) == null || b.observe(t);
|
|
1974
1990
|
})), r();
|
|
1975
1991
|
}), s && !u && d.observe(s), d.observe(t));
|
|
1976
|
-
let m, p = u ?
|
|
1992
|
+
let m, p = u ? Z(e) : null;
|
|
1977
1993
|
u && y();
|
|
1978
1994
|
function y() {
|
|
1979
|
-
const v =
|
|
1995
|
+
const v = Z(e);
|
|
1980
1996
|
p && !ft(p, v) && r(), p = v, m = requestAnimationFrame(y);
|
|
1981
1997
|
}
|
|
1982
1998
|
return r(), () => {
|
|
@@ -1986,15 +2002,15 @@ function Fn(e, t, r, n) {
|
|
|
1986
2002
|
}), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(m);
|
|
1987
2003
|
};
|
|
1988
2004
|
}
|
|
1989
|
-
const
|
|
2005
|
+
const Wn = bn, jn = On, Bn = vn, qn = En, Yn = xn, Gn = hn, Kn = Sn, Xn = (e, t, r) => {
|
|
1990
2006
|
const n = /* @__PURE__ */ new Map(), o = {
|
|
1991
|
-
platform:
|
|
2007
|
+
platform: Un,
|
|
1992
2008
|
...r
|
|
1993
2009
|
}, c = {
|
|
1994
2010
|
...o.platform,
|
|
1995
2011
|
_c: n
|
|
1996
2012
|
};
|
|
1997
|
-
return
|
|
2013
|
+
return yn(e, t, {
|
|
1998
2014
|
...o,
|
|
1999
2015
|
platform: c
|
|
2000
2016
|
});
|
|
@@ -2014,17 +2030,17 @@ function Ke(e = 0, t = 0, r = 0, n = 0) {
|
|
|
2014
2030
|
};
|
|
2015
2031
|
return { ...o, toJSON: () => o };
|
|
2016
2032
|
}
|
|
2017
|
-
function
|
|
2033
|
+
function Jn(e) {
|
|
2018
2034
|
if (!e) return Ke();
|
|
2019
2035
|
const { x: t, y: r, width: n, height: o } = e;
|
|
2020
2036
|
return Ke(t, r, n, o);
|
|
2021
2037
|
}
|
|
2022
|
-
function
|
|
2038
|
+
function Zn(e, t) {
|
|
2023
2039
|
return {
|
|
2024
2040
|
contextElement: Rt(e) ? e : void 0,
|
|
2025
2041
|
getBoundingClientRect: () => {
|
|
2026
2042
|
const r = e, n = t?.(r);
|
|
2027
|
-
return n || !r ?
|
|
2043
|
+
return n || !r ? Jn(n) : r.getBoundingClientRect();
|
|
2028
2044
|
}
|
|
2029
2045
|
};
|
|
2030
2046
|
}
|
|
@@ -2047,7 +2063,7 @@ var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
|
|
|
2047
2063
|
right: "left center",
|
|
2048
2064
|
"right-start": e ? `left ${e.y}px` : "left top",
|
|
2049
2065
|
"right-end": e ? `left ${e.y}px` : "left bottom"
|
|
2050
|
-
}),
|
|
2066
|
+
}), er = {
|
|
2051
2067
|
name: "transformOrigin",
|
|
2052
2068
|
fn({ placement: e, elements: t, middlewareData: r }) {
|
|
2053
2069
|
const { arrow: n } = r, o = Qn(n)[e], { floating: c } = t;
|
|
@@ -2055,14 +2071,14 @@ var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
|
|
|
2055
2071
|
data: { transformOrigin: o }
|
|
2056
2072
|
};
|
|
2057
2073
|
}
|
|
2058
|
-
},
|
|
2074
|
+
}, tr = {
|
|
2059
2075
|
name: "rects",
|
|
2060
2076
|
fn({ rects: e }) {
|
|
2061
2077
|
return {
|
|
2062
2078
|
data: e
|
|
2063
2079
|
};
|
|
2064
2080
|
}
|
|
2065
|
-
},
|
|
2081
|
+
}, nr = (e) => {
|
|
2066
2082
|
if (e)
|
|
2067
2083
|
return {
|
|
2068
2084
|
name: "shiftArrow",
|
|
@@ -2077,14 +2093,14 @@ var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
|
|
|
2077
2093
|
}
|
|
2078
2094
|
};
|
|
2079
2095
|
};
|
|
2080
|
-
function
|
|
2096
|
+
function rr(e) {
|
|
2081
2097
|
const [t, r] = e.split("-");
|
|
2082
2098
|
return { side: t, align: r, hasAlign: r != null };
|
|
2083
2099
|
}
|
|
2084
|
-
function
|
|
2100
|
+
function _r(e) {
|
|
2085
2101
|
return e.split("-")[0];
|
|
2086
2102
|
}
|
|
2087
|
-
var
|
|
2103
|
+
var or = {
|
|
2088
2104
|
strategy: "absolute",
|
|
2089
2105
|
placement: "bottom",
|
|
2090
2106
|
listeners: !0,
|
|
@@ -2104,44 +2120,44 @@ function Xe(e, t) {
|
|
|
2104
2120
|
function dt(e) {
|
|
2105
2121
|
return Tt(e.boundary);
|
|
2106
2122
|
}
|
|
2107
|
-
function
|
|
2123
|
+
function ir(e, t) {
|
|
2108
2124
|
if (e)
|
|
2109
|
-
return
|
|
2125
|
+
return Gn({
|
|
2110
2126
|
element: e,
|
|
2111
2127
|
padding: t.arrowPadding
|
|
2112
2128
|
});
|
|
2113
2129
|
}
|
|
2114
|
-
function
|
|
2130
|
+
function sr(e, t) {
|
|
2115
2131
|
if (!At(t.offset ?? t.gutter))
|
|
2116
|
-
return
|
|
2117
|
-
const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } =
|
|
2118
|
-
return
|
|
2132
|
+
return Wn(({ placement: r }) => {
|
|
2133
|
+
const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } = rr(r), f = l ? void 0 : t.shift, u = t.offset?.crossAxis ?? f;
|
|
2134
|
+
return Ze({
|
|
2119
2135
|
crossAxis: u,
|
|
2120
2136
|
mainAxis: c,
|
|
2121
2137
|
alignmentAxis: t.shift
|
|
2122
2138
|
});
|
|
2123
2139
|
});
|
|
2124
2140
|
}
|
|
2125
|
-
function
|
|
2141
|
+
function cr(e) {
|
|
2126
2142
|
if (e.flip)
|
|
2127
|
-
return
|
|
2143
|
+
return Bn({
|
|
2128
2144
|
boundary: dt(e),
|
|
2129
2145
|
padding: e.overflowPadding,
|
|
2130
2146
|
fallbackPlacements: e.flip === !0 ? void 0 : e.flip
|
|
2131
2147
|
});
|
|
2132
2148
|
}
|
|
2133
|
-
function
|
|
2149
|
+
function ar(e) {
|
|
2134
2150
|
if (!(!e.slide && !e.overlap))
|
|
2135
|
-
return
|
|
2151
|
+
return jn({
|
|
2136
2152
|
boundary: dt(e),
|
|
2137
2153
|
mainAxis: e.slide,
|
|
2138
2154
|
crossAxis: e.overlap,
|
|
2139
2155
|
padding: e.overflowPadding,
|
|
2140
|
-
limiter:
|
|
2156
|
+
limiter: Kn()
|
|
2141
2157
|
});
|
|
2142
2158
|
}
|
|
2143
|
-
function
|
|
2144
|
-
return
|
|
2159
|
+
function lr(e) {
|
|
2160
|
+
return qn({
|
|
2145
2161
|
padding: e.overflowPadding,
|
|
2146
2162
|
apply({ elements: t, rects: r, availableHeight: n, availableWidth: o }) {
|
|
2147
2163
|
const c = t.floating, l = Math.round(r.reference.width);
|
|
@@ -2149,29 +2165,29 @@ function ar(e) {
|
|
|
2149
2165
|
}
|
|
2150
2166
|
});
|
|
2151
2167
|
}
|
|
2152
|
-
function
|
|
2168
|
+
function ur(e) {
|
|
2153
2169
|
if (e.hideWhenDetached)
|
|
2154
|
-
return
|
|
2170
|
+
return Yn({ strategy: "referenceHidden", boundary: e.boundary?.() ?? "clippingAncestors" });
|
|
2155
2171
|
}
|
|
2156
|
-
function
|
|
2172
|
+
function fr(e) {
|
|
2157
2173
|
return e ? e === !0 ? { ancestorResize: !0, ancestorScroll: !0, elementResize: !0, layoutShift: !0 } : e : {};
|
|
2158
2174
|
}
|
|
2159
|
-
function
|
|
2160
|
-
const n =
|
|
2175
|
+
function dr(e, t, r = {}) {
|
|
2176
|
+
const n = Zn(e, r.getAnchorRect);
|
|
2161
2177
|
if (!t || !n) return;
|
|
2162
|
-
const o = Object.assign({},
|
|
2163
|
-
|
|
2164
|
-
sr(o),
|
|
2178
|
+
const o = Object.assign({}, or, r), c = t.querySelector("[data-part=arrow]"), l = [
|
|
2179
|
+
sr(c, o),
|
|
2165
2180
|
cr(o),
|
|
2166
|
-
or(c, o),
|
|
2167
|
-
tr(c),
|
|
2168
|
-
Zn,
|
|
2169
2181
|
ar(o),
|
|
2182
|
+
ir(c, o),
|
|
2183
|
+
nr(c),
|
|
2184
|
+
er,
|
|
2170
2185
|
lr(o),
|
|
2171
|
-
|
|
2186
|
+
ur(o),
|
|
2187
|
+
tr
|
|
2172
2188
|
], { placement: f, strategy: u, onComplete: s, onPositioned: g } = o, a = async () => {
|
|
2173
2189
|
if (!n || !t) return;
|
|
2174
|
-
const p = await
|
|
2190
|
+
const p = await Xn(n, t, {
|
|
2175
2191
|
placement: f,
|
|
2176
2192
|
middleware: l,
|
|
2177
2193
|
strategy: u
|
|
@@ -2181,34 +2197,34 @@ function fr(e, t, r = {}) {
|
|
|
2181
2197
|
t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (p.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
|
|
2182
2198
|
const b = t.firstElementChild;
|
|
2183
2199
|
if (b) {
|
|
2184
|
-
const E =
|
|
2200
|
+
const E = Je(b);
|
|
2185
2201
|
t.style.setProperty("--z-index", E.zIndex);
|
|
2186
2202
|
}
|
|
2187
2203
|
}, i = async () => {
|
|
2188
2204
|
r.updatePosition ? (await r.updatePosition({ updatePosition: a }), g?.({ placed: !0 })) : await a();
|
|
2189
|
-
}, d =
|
|
2205
|
+
}, d = fr(o.listeners), m = o.listeners ? In(n, t, i, d) : Et;
|
|
2190
2206
|
return i(), () => {
|
|
2191
2207
|
m?.(), g?.({ placed: !1 });
|
|
2192
2208
|
};
|
|
2193
2209
|
}
|
|
2194
|
-
function
|
|
2210
|
+
function Pr(e, t, r = {}) {
|
|
2195
2211
|
const { defer: n, ...o } = r, c = n ? Re : (f) => f(), l = [];
|
|
2196
2212
|
return l.push(
|
|
2197
2213
|
c(() => {
|
|
2198
2214
|
const f = typeof e == "function" ? e() : e, u = typeof t == "function" ? t() : t;
|
|
2199
|
-
l.push(
|
|
2215
|
+
l.push(dr(f, u, o));
|
|
2200
2216
|
})
|
|
2201
2217
|
), () => {
|
|
2202
2218
|
l.forEach((f) => f?.());
|
|
2203
2219
|
};
|
|
2204
2220
|
}
|
|
2205
|
-
var
|
|
2221
|
+
var gr = {
|
|
2206
2222
|
bottom: "rotate(45deg)",
|
|
2207
2223
|
left: "rotate(135deg)",
|
|
2208
2224
|
top: "rotate(225deg)",
|
|
2209
2225
|
right: "rotate(315deg)"
|
|
2210
2226
|
};
|
|
2211
|
-
function
|
|
2227
|
+
function Nr(e = {}) {
|
|
2212
2228
|
const { placement: t, sameWidth: r, fitViewport: n, strategy: o = "absolute" } = e;
|
|
2213
2229
|
return {
|
|
2214
2230
|
arrow: {
|
|
@@ -2220,7 +2236,7 @@ function Tr(e = {}) {
|
|
|
2220
2236
|
},
|
|
2221
2237
|
arrowTip: {
|
|
2222
2238
|
// @ts-expect-error - Fix this
|
|
2223
|
-
transform: t ?
|
|
2239
|
+
transform: t ? gr[t.split("-")[0]] : void 0,
|
|
2224
2240
|
background: q.arrowBg.reference,
|
|
2225
2241
|
top: "0",
|
|
2226
2242
|
left: "0",
|
|
@@ -2245,28 +2261,12 @@ function Tr(e = {}) {
|
|
|
2245
2261
|
}
|
|
2246
2262
|
};
|
|
2247
2263
|
}
|
|
2248
|
-
const
|
|
2249
|
-
name: "EnvironmentContext",
|
|
2250
|
-
hookName: "useEnvironmentContext",
|
|
2251
|
-
providerName: "<EnvironmentProvider />",
|
|
2252
|
-
strict: !1,
|
|
2253
|
-
defaultValue: {
|
|
2254
|
-
getRootNode: () => document,
|
|
2255
|
-
getDocument: () => document,
|
|
2256
|
-
getWindow: () => window
|
|
2257
|
-
}
|
|
2258
|
-
}), [Pr, Nr] = Ne({
|
|
2259
|
-
name: "LocaleContext",
|
|
2260
|
-
hookName: "useLocaleContext",
|
|
2261
|
-
providerName: "<LocaleProvider />",
|
|
2262
|
-
strict: !1,
|
|
2263
|
-
defaultValue: { dir: "ltr", locale: "en-US" }
|
|
2264
|
-
}), Cr = (e) => {
|
|
2264
|
+
const Cr = (e) => {
|
|
2265
2265
|
const { children: t, disabled: r } = e, [n, o] = Ae(e.container?.current), c = Ft(
|
|
2266
2266
|
pr,
|
|
2267
2267
|
() => !1,
|
|
2268
2268
|
() => !0
|
|
2269
|
-
), { getRootNode: l } =
|
|
2269
|
+
), { getRootNode: l } = Wt();
|
|
2270
2270
|
if (se(() => {
|
|
2271
2271
|
o(() => e.container?.current);
|
|
2272
2272
|
}, [e.container]), c || r) return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: t });
|
|
@@ -2279,23 +2279,23 @@ const [_r, gr] = Ne({
|
|
|
2279
2279
|
};
|
|
2280
2280
|
export {
|
|
2281
2281
|
Cr as P,
|
|
2282
|
-
|
|
2283
|
-
|
|
2282
|
+
Yt as a,
|
|
2283
|
+
Kt as b,
|
|
2284
2284
|
Ne as c,
|
|
2285
|
-
|
|
2286
|
-
|
|
2285
|
+
Nr as d,
|
|
2286
|
+
_r as e,
|
|
2287
2287
|
wr as f,
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2288
|
+
Pr as g,
|
|
2289
|
+
jt as h,
|
|
2290
|
+
Wt as i,
|
|
2291
|
+
Or as j,
|
|
2292
|
+
rn as k,
|
|
2293
|
+
Rr as l,
|
|
2294
|
+
Ar as m,
|
|
2295
|
+
Er as n,
|
|
2296
|
+
sn as o,
|
|
2297
2297
|
ve as r,
|
|
2298
2298
|
Sr as s,
|
|
2299
|
-
|
|
2299
|
+
Tr as u
|
|
2300
2300
|
};
|
|
2301
|
-
//# sourceMappingURL=portal-
|
|
2301
|
+
//# sourceMappingURL=portal-C7cdrplU.js.map
|