@senitix/ui 0.4.1 → 0.4.3
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/accordion-BcwB0wwz.cjs +2 -0
- package/dist/accordion-BcwB0wwz.cjs.map +1 -0
- package/dist/accordion-BwnJKrKm.js +360 -0
- package/dist/accordion-BwnJKrKm.js.map +1 -0
- package/dist/appointment-scheduler-BoQQO51F.cjs +2 -0
- package/dist/appointment-scheduler-BoQQO51F.cjs.map +1 -0
- package/dist/appointment-scheduler-DHAs-mF_.js +192 -0
- package/dist/appointment-scheduler-DHAs-mF_.js.map +1 -0
- package/dist/arrow-right-CM3nmiZe.js +15 -0
- package/dist/arrow-right-CM3nmiZe.js.map +1 -0
- package/dist/arrow-right-vDxRZOfm.cjs +7 -0
- package/dist/arrow-right-vDxRZOfm.cjs.map +1 -0
- package/dist/avatar-BlEcWE7T.js +191 -0
- package/dist/avatar-BlEcWE7T.js.map +1 -0
- package/dist/avatar-Cl38Ye4J.cjs +2 -0
- package/dist/avatar-Cl38Ye4J.cjs.map +1 -0
- package/dist/badge-BZcdBG5J.cjs +23 -0
- package/dist/badge-BZcdBG5J.cjs.map +1 -0
- package/dist/badge-D0C_rP2l.js +157 -0
- package/dist/badge-D0C_rP2l.js.map +1 -0
- package/dist/button-BP_ug5gP.js +126 -0
- package/dist/button-BP_ug5gP.js.map +1 -0
- package/dist/button-CPuCii0R.cjs +2 -0
- package/dist/button-CPuCii0R.cjs.map +1 -0
- package/dist/{calendar-DgnhzEfp.js → calendar-86qoSnO7.js} +368 -433
- package/dist/calendar-86qoSnO7.js.map +1 -0
- package/dist/{calendar-D3RWU0_G.cjs → calendar-BH-AuyiB.cjs} +2 -2
- package/dist/{calendar-D3RWU0_G.cjs.map → calendar-BH-AuyiB.cjs.map} +1 -1
- package/dist/calendar-CSJ060ym.cjs +2 -0
- package/dist/calendar-CSJ060ym.cjs.map +1 -0
- package/dist/{calendar-CUxm1K7J.js → calendar-JUSWONQ0.js} +2 -2
- package/dist/{calendar-CUxm1K7J.js.map → calendar-JUSWONQ0.js.map} +1 -1
- package/dist/{card-DISL3sPJ.cjs → card-CToWUN1K.cjs} +2 -2
- package/dist/{card-DISL3sPJ.cjs.map → card-CToWUN1K.cjs.map} +1 -1
- package/dist/{card-fId5vof_.js → card-yxbWFvZ1.js} +2 -2
- package/dist/{card-fId5vof_.js.map → card-yxbWFvZ1.js.map} +1 -1
- package/dist/checkbox-BmugT50K.cjs +2 -0
- package/dist/checkbox-BmugT50K.cjs.map +1 -0
- package/dist/{checkbox-BY2zxQVv.js → checkbox-CTa9e4SG.js} +95 -97
- package/dist/checkbox-CTa9e4SG.js.map +1 -0
- package/dist/chevron-left-5h87iFo_.cjs +7 -0
- package/dist/chevron-left-5h87iFo_.cjs.map +1 -0
- package/dist/chevron-left-DD5mQuvf.js +14 -0
- package/dist/chevron-left-DD5mQuvf.js.map +1 -0
- package/dist/{chevron-right-Bxf8i4gi.cjs → chevron-right-D-TdAZ7l.cjs} +2 -2
- package/dist/{chevron-right-Bxf8i4gi.cjs.map → chevron-right-D-TdAZ7l.cjs.map} +1 -1
- package/dist/{chevron-right-BLyGmyaF.js → chevron-right-Di90aqSn.js} +2 -2
- package/dist/{chevron-right-BLyGmyaF.js.map → chevron-right-Di90aqSn.js.map} +1 -1
- package/dist/chevron-up-Bq55Db6X.cjs +7 -0
- package/dist/{chevron-up-C3RClqXD.cjs.map → chevron-up-Bq55Db6X.cjs.map} +1 -1
- package/dist/{chevron-up-BmYZUtrk.js → chevron-up-Dr7EIn9V.js} +2 -2
- package/dist/{chevron-up-BmYZUtrk.js.map → chevron-up-Dr7EIn9V.js.map} +1 -1
- package/dist/clock-BjJE8PGr.js +15 -0
- package/dist/clock-BjJE8PGr.js.map +1 -0
- package/dist/clock-CnxBAA_O.cjs +7 -0
- package/dist/clock-CnxBAA_O.cjs.map +1 -0
- package/dist/command-BEpaOk-5.cjs +2 -0
- package/dist/command-BEpaOk-5.cjs.map +1 -0
- package/dist/command-CYhMM7gX.js +404 -0
- package/dist/command-CYhMM7gX.js.map +1 -0
- package/dist/components/builders/index.cjs.js +2 -0
- package/dist/components/builders/index.cjs.js.map +1 -0
- package/dist/components/builders/index.es.js +42 -0
- package/dist/components/builders/index.es.js.map +1 -0
- package/dist/components/charts/index.cjs.js +1 -1
- package/dist/components/charts/index.es.js +7 -6
- package/dist/components/charts/index.es.js.map +1 -1
- package/dist/components/data-display/index.cjs.js +1 -1
- package/dist/components/data-display/index.es.js +43 -20
- package/dist/components/dnd/index.cjs.js +1 -1
- package/dist/components/dnd/index.es.js +1 -1
- package/dist/components/feedback/index.cjs.js +1 -1
- package/dist/components/feedback/index.es.js +1 -1
- package/dist/components/forms/index.cjs.js +1 -1
- package/dist/components/forms/index.es.js +24 -23
- package/dist/components/forms/index.es.js.map +1 -1
- package/dist/components/layouts/index.cjs.js +1 -1
- package/dist/components/layouts/index.es.js +45 -21
- package/dist/components/messaging/index.cjs.js +2 -0
- package/dist/components/messaging/index.cjs.js.map +1 -0
- package/dist/components/messaging/index.es.js +15 -0
- package/dist/components/messaging/index.es.js.map +1 -0
- package/dist/components/navigation/index.cjs.js +1 -1
- package/dist/components/navigation/index.es.js +1 -1
- package/dist/components/scheduling/index.cjs.js +2 -0
- package/dist/components/scheduling/index.cjs.js.map +1 -0
- package/dist/components/scheduling/index.es.js +6 -0
- package/dist/components/scheduling/index.es.js.map +1 -0
- package/dist/components/ui/index.cjs.js +1 -1
- package/dist/components/ui/index.es.js +168 -158
- package/dist/components/ui/index.es.js.map +1 -1
- package/dist/dialog-Cr9SYCaD.cjs +6 -0
- package/dist/dialog-Cr9SYCaD.cjs.map +1 -0
- package/dist/dialog-MYAx3Qrc.js +387 -0
- package/dist/dialog-MYAx3Qrc.js.map +1 -0
- package/dist/dropdown-menu-CkCCV_tw.js +969 -0
- package/dist/dropdown-menu-CkCCV_tw.js.map +1 -0
- package/dist/dropdown-menu-ejikFvg2.cjs +7 -0
- package/dist/dropdown-menu-ejikFvg2.cjs.map +1 -0
- package/dist/{ellipsis-6eUne95u.js → ellipsis-CKhpjj5H.js} +2 -2
- package/dist/{ellipsis-6eUne95u.js.map → ellipsis-CKhpjj5H.js.map} +1 -1
- package/dist/{ellipsis-DkM3GBF5.cjs → ellipsis-Dk7Wfc4i.cjs} +3 -3
- package/dist/{ellipsis-DkM3GBF5.cjs.map → ellipsis-Dk7Wfc4i.cjs.map} +1 -1
- package/dist/external-link-CGBqsrbm.cjs +7 -0
- package/dist/external-link-CGBqsrbm.cjs.map +1 -0
- package/dist/external-link-UeWW0ty3.js +16 -0
- package/dist/external-link-UeWW0ty3.js.map +1 -0
- package/dist/eye-Cved4eAo.cjs +7 -0
- package/dist/eye-Cved4eAo.cjs.map +1 -0
- package/dist/eye-KdCUpmO8.js +21 -0
- package/dist/eye-KdCUpmO8.js.map +1 -0
- package/dist/{file-Cw_u_aJB.js → file-CHbdXCWO.js} +2 -2
- package/dist/{file-Cw_u_aJB.js.map → file-CHbdXCWO.js.map} +1 -1
- package/dist/{file-Cp5UoYUZ.cjs → file-CqYRamm8.cjs} +3 -3
- package/dist/{file-Cp5UoYUZ.cjs.map → file-CqYRamm8.cjs.map} +1 -1
- package/dist/file-spreadsheet-CpySxI0-.cjs +7 -0
- package/dist/file-spreadsheet-CpySxI0-.cjs.map +1 -0
- package/dist/file-spreadsheet-EqZMR-mM.js +19 -0
- package/dist/file-spreadsheet-EqZMR-mM.js.map +1 -0
- package/dist/form-preview-Bm5xHtkw.js +12075 -0
- package/dist/form-preview-Bm5xHtkw.js.map +1 -0
- package/dist/form-preview-IPEZdspX.cjs +111 -0
- package/dist/form-preview-IPEZdspX.cjs.map +1 -0
- package/dist/full-calendar-4Ut52QNO.cjs +18 -0
- package/dist/full-calendar-4Ut52QNO.cjs.map +1 -0
- package/dist/full-calendar-DD_tBy69.js +2631 -0
- package/dist/full-calendar-DD_tBy69.js.map +1 -0
- package/dist/funnel-chart-Dfj1pOyV.cjs +6 -0
- package/dist/funnel-chart-Dfj1pOyV.cjs.map +1 -0
- package/dist/funnel-chart-o9qcEMgg.js +2952 -0
- package/dist/funnel-chart-o9qcEMgg.js.map +1 -0
- package/dist/global-search-DcBKVaM4.cjs +22 -0
- package/dist/global-search-DcBKVaM4.cjs.map +1 -0
- package/dist/global-search-Dul9CD6-.js +1331 -0
- package/dist/global-search-Dul9CD6-.js.map +1 -0
- package/dist/hooks/index.cjs.js +1 -1
- package/dist/hooks/index.es.js +9 -7
- package/dist/hooks/index.es.js.map +1 -1
- package/dist/{index-DtaLkIY8.js → index-BGUveO6l.js} +84 -79
- package/dist/{index-DtaLkIY8.js.map → index-BGUveO6l.js.map} +1 -1
- package/dist/{index-gVbM3K4f.cjs → index-Bhee6XHk.cjs} +2 -2
- package/dist/{index-gVbM3K4f.cjs.map → index-Bhee6XHk.cjs.map} +1 -1
- package/dist/index-CrSlyWAA.js +1090 -0
- package/dist/index-CrSlyWAA.js.map +1 -0
- package/dist/{index-Dk_Et2WJ.js → index-D8-pHJim.js} +2 -2
- package/dist/{index-Dk_Et2WJ.js.map → index-D8-pHJim.js.map} +1 -1
- package/dist/index-Dy_9oyP3.cjs +2 -0
- package/dist/{index-D2U2F80P.cjs.map → index-Dy_9oyP3.cjs.map} +1 -1
- package/dist/index-hnbbvGmb.cjs +21 -0
- package/dist/index-hnbbvGmb.cjs.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +434 -319
- package/dist/index.es.js.map +1 -1
- package/dist/input-Pfq8fkiV.js +2718 -0
- package/dist/input-Pfq8fkiV.js.map +1 -0
- package/dist/input-UBp7V7li.cjs +52 -0
- package/dist/input-UBp7V7li.cjs.map +1 -0
- package/dist/label-CExiitfO.js +50 -0
- package/dist/label-CExiitfO.js.map +1 -0
- package/dist/label-F0zGAiI2.cjs +2 -0
- package/dist/label-F0zGAiI2.cjs.map +1 -0
- package/dist/loader-circle-CBVYGIRp.js +14 -0
- package/dist/loader-circle-CBVYGIRp.js.map +1 -0
- package/dist/loader-circle-IaJKvYsP.cjs +7 -0
- package/dist/loader-circle-IaJKvYsP.cjs.map +1 -0
- package/dist/locale-provider-BHGNO4j7.js +1786 -0
- package/dist/locale-provider-BHGNO4j7.js.map +1 -0
- package/dist/locale-provider-BScpm-eC.cjs +2 -0
- package/dist/locale-provider-BScpm-eC.cjs.map +1 -0
- package/dist/locale-selector-CRC0VBKl.cjs +12 -0
- package/dist/locale-selector-CRC0VBKl.cjs.map +1 -0
- package/dist/locale-selector-HuzfE0zZ.js +1740 -0
- package/dist/locale-selector-HuzfE0zZ.js.map +1 -0
- package/dist/map-pin-CHh0xl6i.js +46 -0
- package/dist/map-pin-CHh0xl6i.js.map +1 -0
- package/dist/map-pin-DGObSZ40.cjs +17 -0
- package/dist/map-pin-DGObSZ40.cjs.map +1 -0
- package/dist/message-square-B_xLey5D.js +14 -0
- package/dist/message-square-B_xLey5D.js.map +1 -0
- package/dist/message-square-_69ua8rH.cjs +7 -0
- package/dist/message-square-_69ua8rH.cjs.map +1 -0
- package/dist/minus-BUFkTM0k.cjs +7 -0
- package/dist/{minus-C0uyaz70.cjs.map → minus-BUFkTM0k.cjs.map} +1 -1
- package/dist/{minus-CiwV65ZG.js → minus-DJ0tmymW.js} +2 -2
- package/dist/{minus-CiwV65ZG.js.map → minus-DJ0tmymW.js.map} +1 -1
- package/dist/multi-container-CytCGxsc.cjs +7 -0
- package/dist/multi-container-CytCGxsc.cjs.map +1 -0
- package/dist/multi-container-DmkgnCJN.js +799 -0
- package/dist/multi-container-DmkgnCJN.js.map +1 -0
- package/dist/multi-select-Bj_kIDHE.cjs +7 -0
- package/dist/multi-select-Bj_kIDHE.cjs.map +1 -0
- package/dist/multi-select-CPF7w871.js +224 -0
- package/dist/multi-select-CPF7w871.js.map +1 -0
- package/dist/pencil-BJULwaDl.cjs +12 -0
- package/dist/pencil-BJULwaDl.cjs.map +1 -0
- package/dist/pencil-HL0trGIs.js +31 -0
- package/dist/pencil-HL0trGIs.js.map +1 -0
- package/dist/permission-matrix-BRqw2RPb.js +6128 -0
- package/dist/permission-matrix-BRqw2RPb.js.map +1 -0
- package/dist/permission-matrix-CqE8q8Hi.cjs +93 -0
- package/dist/permission-matrix-CqE8q8Hi.cjs.map +1 -0
- package/dist/phone-B0J1dGIE.js +31 -0
- package/dist/phone-B0J1dGIE.js.map +1 -0
- package/dist/phone-DPA6vucM.cjs +12 -0
- package/dist/phone-DPA6vucM.cjs.map +1 -0
- package/dist/plus-Bcuujcqd.cjs +7 -0
- package/dist/{plus-BsV82JJ5.cjs.map → plus-Bcuujcqd.cjs.map} +1 -1
- package/dist/{plus-DxD6rofl.js → plus-D7DMDKb8.js} +2 -2
- package/dist/{plus-DxD6rofl.js.map → plus-D7DMDKb8.js.map} +1 -1
- package/dist/popover-Bba1ELMX.cjs +2 -0
- package/dist/popover-Bba1ELMX.cjs.map +1 -0
- package/dist/popover-CZWAuYUL.js +281 -0
- package/dist/popover-CZWAuYUL.js.map +1 -0
- package/dist/progress-BPpsmZ48.js +218 -0
- package/dist/progress-BPpsmZ48.js.map +1 -0
- package/dist/progress-BrzjVhWG.cjs +22 -0
- package/dist/progress-BrzjVhWG.cjs.map +1 -0
- package/dist/providers/index.cjs.js +1 -1
- package/dist/providers/index.es.js +1 -1
- package/dist/radio-group-B9RM_c7e.js +244 -0
- package/dist/radio-group-B9RM_c7e.js.map +1 -0
- package/dist/radio-group-_n8TTqNQ.cjs +2 -0
- package/dist/radio-group-_n8TTqNQ.cjs.map +1 -0
- package/dist/record-dialog-footer-DbH9A6eA.js +2577 -0
- package/dist/record-dialog-footer-DbH9A6eA.js.map +1 -0
- package/dist/record-dialog-footer-DpDxH5wX.cjs +37 -0
- package/dist/record-dialog-footer-DpDxH5wX.cjs.map +1 -0
- package/dist/scroll-area-CGNbDUBQ.js +889 -0
- package/dist/scroll-area-CGNbDUBQ.js.map +1 -0
- package/dist/scroll-area-HsTSI_58.cjs +22 -0
- package/dist/scroll-area-HsTSI_58.cjs.map +1 -0
- package/dist/select-CEsYpjPi.cjs +2 -0
- package/dist/select-CEsYpjPi.cjs.map +1 -0
- package/dist/{select-BJpZrtep.js → select-Ce2C2acZ.js} +184 -179
- package/dist/select-Ce2C2acZ.js.map +1 -0
- package/dist/send-DIkOd-pu.js +21 -0
- package/dist/send-DIkOd-pu.js.map +1 -0
- package/dist/send-H6HC-rS8.cjs +7 -0
- package/dist/send-H6HC-rS8.cjs.map +1 -0
- package/dist/shared-inbox-Bv0AgLew.js +702 -0
- package/dist/shared-inbox-Bv0AgLew.js.map +1 -0
- package/dist/shared-inbox-DWEKfDX3.cjs +22 -0
- package/dist/shared-inbox-DWEKfDX3.cjs.map +1 -0
- package/dist/sheet-DTimb4SJ.cjs +2 -0
- package/dist/sheet-DTimb4SJ.cjs.map +1 -0
- package/dist/sheet-DgpAPCAp.js +147 -0
- package/dist/sheet-DgpAPCAp.js.map +1 -0
- package/dist/{skeleton-Bl6FAxHT.js → skeleton-C_dwS3_6.js} +2 -2
- package/dist/{skeleton-Bl6FAxHT.js.map → skeleton-C_dwS3_6.js.map} +1 -1
- package/dist/{skeleton-Cb6MWerF.cjs → skeleton-D3YsjVWD.cjs} +2 -2
- package/dist/{skeleton-Cb6MWerF.cjs.map → skeleton-D3YsjVWD.cjs.map} +1 -1
- package/dist/sparkline-chart-BP4bk24J.js +15881 -0
- package/dist/sparkline-chart-BP4bk24J.js.map +1 -0
- package/dist/sparkline-chart-D6SLZVjp.cjs +79 -0
- package/dist/sparkline-chart-D6SLZVjp.cjs.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/switch-AEZvZSRV.cjs +2 -0
- package/dist/switch-AEZvZSRV.cjs.map +1 -0
- package/dist/switch-BF4LLvaU.js +147 -0
- package/dist/switch-BF4LLvaU.js.map +1 -0
- package/dist/table-2-Bn-YjZ9s.cjs +17 -0
- package/dist/table-2-Bn-YjZ9s.cjs.map +1 -0
- package/dist/table-2-C7E_N72K.js +52 -0
- package/dist/table-2-C7E_N72K.js.map +1 -0
- package/dist/textarea-4qZDuQ-C.js +206 -0
- package/dist/textarea-4qZDuQ-C.js.map +1 -0
- package/dist/textarea-Bq_zyt0L.cjs +2 -0
- package/dist/textarea-Bq_zyt0L.cjs.map +1 -0
- package/dist/tooltip-Dd7le9EO.cjs +2 -0
- package/dist/tooltip-Dd7le9EO.cjs.map +1 -0
- package/dist/tooltip-Dee-pNPI.js +338 -0
- package/dist/tooltip-Dee-pNPI.js.map +1 -0
- package/dist/trash-2-B3EP3JfM.js +18 -0
- package/dist/trash-2-B3EP3JfM.js.map +1 -0
- package/dist/trash-2-DWEeKlWT.cjs +7 -0
- package/dist/trash-2-DWEeKlWT.cjs.map +1 -0
- package/dist/{trending-up-BHFXgLWy.js → trending-up-ljWtN4pj.js} +2 -2
- package/dist/{trending-up-BHFXgLWy.js.map → trending-up-ljWtN4pj.js.map} +1 -1
- package/dist/{trending-up-BBjz_E69.cjs → trending-up-mLgmkp--.cjs} +2 -2
- package/dist/{trending-up-BBjz_E69.cjs.map → trending-up-mLgmkp--.cjs.map} +1 -1
- package/dist/upload-2tm-XihE.cjs +7 -0
- package/dist/upload-2tm-XihE.cjs.map +1 -0
- package/dist/upload-C_JDP8O0.js +16 -0
- package/dist/upload-C_JDP8O0.js.map +1 -0
- package/dist/use-controllable-state-3ATd6Fqd.cjs +2 -0
- package/dist/use-controllable-state-3ATd6Fqd.cjs.map +1 -0
- package/dist/use-controllable-state-CEa-Zlq6.js +23 -0
- package/dist/use-controllable-state-CEa-Zlq6.js.map +1 -0
- package/dist/use-formatters-Bb0fX1lW.cjs +2 -0
- package/dist/{use-formatters-CObUgipW.cjs.map → use-formatters-Bb0fX1lW.cjs.map} +1 -1
- package/dist/{use-formatters-Bgj3JA4i.js → use-formatters-xeMS4gdV.js} +1160 -1165
- package/dist/{use-formatters-Bgj3JA4i.js.map → use-formatters-xeMS4gdV.js.map} +1 -1
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.es.js +1 -1
- package/dist/welcome-card-Ccbl_miQ.js +1007 -0
- package/dist/welcome-card-Ccbl_miQ.js.map +1 -0
- package/dist/welcome-card-D-ShMkaS.cjs +37 -0
- package/dist/welcome-card-D-ShMkaS.cjs.map +1 -0
- package/dist/x-BBkgEhUv.js +15 -0
- package/dist/x-BBkgEhUv.js.map +1 -0
- package/dist/x-D-El5XAY.cjs +7 -0
- package/dist/x-D-El5XAY.cjs.map +1 -0
- package/package.json +20 -2
- package/dist/avatar-BT_SPwFW.cjs +0 -18
- package/dist/avatar-BT_SPwFW.cjs.map +0 -1
- package/dist/avatar-C5-ZWIqT.js +0 -305
- package/dist/avatar-C5-ZWIqT.js.map +0 -1
- package/dist/calendar-BF5drX5u.cjs +0 -12
- package/dist/calendar-BF5drX5u.cjs.map +0 -1
- package/dist/calendar-DgnhzEfp.js.map +0 -1
- package/dist/checkbox-BY2zxQVv.js.map +0 -1
- package/dist/checkbox-CL6u7vL6.cjs +0 -2
- package/dist/checkbox-CL6u7vL6.cjs.map +0 -1
- package/dist/chevron-down-BiUlxZA-.js +0 -14
- package/dist/chevron-down-BiUlxZA-.js.map +0 -1
- package/dist/chevron-down-Ce0kqXiD.cjs +0 -7
- package/dist/chevron-down-Ce0kqXiD.cjs.map +0 -1
- package/dist/chevron-up-C3RClqXD.cjs +0 -7
- package/dist/createLucideIcon-BC8wu-bu.js +0 -80
- package/dist/createLucideIcon-BC8wu-bu.js.map +0 -1
- package/dist/createLucideIcon-Cv8nC2E9.cjs +0 -22
- package/dist/createLucideIcon-Cv8nC2E9.cjs.map +0 -1
- package/dist/filter-tags-DoRzXjuY.cjs +0 -48
- package/dist/filter-tags-DoRzXjuY.cjs.map +0 -1
- package/dist/filter-tags-zEQmRhEU.js +0 -2712
- package/dist/filter-tags-zEQmRhEU.js.map +0 -1
- package/dist/full-calendar-5Z4JSj8g.js +0 -3551
- package/dist/full-calendar-5Z4JSj8g.js.map +0 -1
- package/dist/full-calendar-DjAvCfuE.cjs +0 -23
- package/dist/full-calendar-DjAvCfuE.cjs.map +0 -1
- package/dist/global-search-BbZfc-VL.js +0 -1216
- package/dist/global-search-BbZfc-VL.js.map +0 -1
- package/dist/global-search-Bd74_wPV.cjs +0 -22
- package/dist/global-search-Bd74_wPV.cjs.map +0 -1
- package/dist/index-D2U2F80P.cjs +0 -2
- package/dist/index-DG0KV-sw.cjs +0 -11
- package/dist/index-DG0KV-sw.cjs.map +0 -1
- package/dist/index-XnFSmCuh.js +0 -299
- package/dist/index-XnFSmCuh.js.map +0 -1
- package/dist/input-BgPy-4Qu.js +0 -3658
- package/dist/input-BgPy-4Qu.js.map +0 -1
- package/dist/input-Cfr2WB-P.cjs +0 -47
- package/dist/input-Cfr2WB-P.cjs.map +0 -1
- package/dist/locale-provider-BojNdf1Y.cjs +0 -2
- package/dist/locale-provider-BojNdf1Y.cjs.map +0 -1
- package/dist/locale-provider-DzBeb-X3.js +0 -1013
- package/dist/locale-provider-DzBeb-X3.js.map +0 -1
- package/dist/locale-selector-BD1IWk6X.cjs +0 -22
- package/dist/locale-selector-BD1IWk6X.cjs.map +0 -1
- package/dist/locale-selector-DLRSyVye.js +0 -1772
- package/dist/locale-selector-DLRSyVye.js.map +0 -1
- package/dist/minus-C0uyaz70.cjs +0 -7
- package/dist/multi-container-BZia7HCU.js +0 -748
- package/dist/multi-container-BZia7HCU.js.map +0 -1
- package/dist/multi-container-BdNbgtPZ.cjs +0 -7
- package/dist/multi-container-BdNbgtPZ.cjs.map +0 -1
- package/dist/pipeline-Dh052Dvj.cjs +0 -27
- package/dist/pipeline-Dh052Dvj.cjs.map +0 -1
- package/dist/pipeline-DqWvleNy.js +0 -1076
- package/dist/pipeline-DqWvleNy.js.map +0 -1
- package/dist/plus-BsV82JJ5.cjs +0 -7
- package/dist/popover-BgLxmm1z.cjs +0 -7
- package/dist/popover-BgLxmm1z.cjs.map +0 -1
- package/dist/popover-PI9jbhnS.js +0 -775
- package/dist/popover-PI9jbhnS.js.map +0 -1
- package/dist/progress-CTTt_CP3.js +0 -260
- package/dist/progress-CTTt_CP3.js.map +0 -1
- package/dist/progress-CTWb7X1Q.cjs +0 -37
- package/dist/progress-CTWb7X1Q.cjs.map +0 -1
- package/dist/scroll-area-A3jGu-Ta.js +0 -974
- package/dist/scroll-area-A3jGu-Ta.js.map +0 -1
- package/dist/scroll-area-DzDnWIYJ.cjs +0 -12
- package/dist/scroll-area-DzDnWIYJ.cjs.map +0 -1
- package/dist/select-BJpZrtep.js.map +0 -1
- package/dist/select-Ii8HRuXa.cjs +0 -2
- package/dist/select-Ii8HRuXa.cjs.map +0 -1
- package/dist/separator-BzcDE0Ei.cjs +0 -2
- package/dist/separator-BzcDE0Ei.cjs.map +0 -1
- package/dist/separator-DyarVo1-.js +0 -396
- package/dist/separator-DyarVo1-.js.map +0 -1
- package/dist/sheet-DPSdOoE6.js +0 -84
- package/dist/sheet-DPSdOoE6.js.map +0 -1
- package/dist/sheet-XtjvbEMq.cjs +0 -2
- package/dist/sheet-XtjvbEMq.cjs.map +0 -1
- package/dist/sparkline-chart-CeCDeMNk.cjs +0 -102
- package/dist/sparkline-chart-CeCDeMNk.cjs.map +0 -1
- package/dist/sparkline-chart-DUS4CoW_.js +0 -19787
- package/dist/sparkline-chart-DUS4CoW_.js.map +0 -1
- package/dist/use-formatters-CObUgipW.cjs +0 -2
- package/dist/welcome-card-CNuEa6Ck.cjs +0 -67
- package/dist/welcome-card-CNuEa6Ck.cjs.map +0 -1
- package/dist/welcome-card-Cp6t6G3j.js +0 -1041
- package/dist/welcome-card-Cp6t6G3j.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const d=require("react/jsx-runtime"),W=require("react"),T=require("./scroll-area-DzDnWIYJ.cjs"),b=require("./input-Cfr2WB-P.cjs"),J=require("./index-gVbM3K4f.cjs"),H=require("./index-D2U2F80P.cjs");require("react-dom");function Q(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Q(W);var Z=Symbol("radix.slottable");function ee(e){const o=({children:t})=>d.jsx(d.Fragment,{children:t});return o.displayName=`${e}.Slottable`,o.__radixId=Z,o}var[_]=T.createContextScope("Tooltip",[b.createPopperScope]),N=b.createPopperScope(),M="TooltipProvider",te=700,S="tooltip.open",[oe,A]=_(M),q=e=>{const{__scopeTooltip:o,delayDuration:t=te,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:i}=e,l=s.useRef(!0),p=s.useRef(!1),a=s.useRef(0);return s.useEffect(()=>{const f=a.current;return()=>window.clearTimeout(f)},[]),d.jsx(oe,{scope:o,isOpenDelayedRef:l,delayDuration:t,onOpen:s.useCallback(()=>{window.clearTimeout(a.current),l.current=!1},[]),onClose:s.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:p,onPointerInTransitChange:s.useCallback(f=>{p.current=f},[]),disableHoverableContent:n,children:i})};q.displayName=M;var O="Tooltip",[re,D]=_(O),F=e=>{const{__scopeTooltip:o,children:t,open:r,defaultOpen:n,onOpenChange:i,disableHoverableContent:l,delayDuration:p}=e,a=A(O,e.__scopeTooltip),f=N(o),[c,v]=s.useState(null),m=b.useId(),u=s.useRef(0),h=l??a.disableHoverableContent,y=p??a.delayDuration,x=s.useRef(!1),[C,g]=b.useControllableState({prop:r,defaultProp:n??!1,onChange:I=>{I?(a.onOpen(),document.dispatchEvent(new CustomEvent(S))):a.onClose(),i==null||i(I)},caller:O}),E=s.useMemo(()=>C?x.current?"delayed-open":"instant-open":"closed",[C]),P=s.useCallback(()=>{window.clearTimeout(u.current),u.current=0,x.current=!1,g(!0)},[g]),R=s.useCallback(()=>{window.clearTimeout(u.current),u.current=0,g(!1)},[g]),L=s.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>{x.current=!0,g(!0),u.current=0},y)},[y,g]);return s.useEffect(()=>()=>{u.current&&(window.clearTimeout(u.current),u.current=0)},[]),d.jsx(b.Root2,{...f,children:d.jsx(re,{scope:o,contentId:m,open:C,stateAttribute:E,trigger:c,onTriggerChange:v,onTriggerEnter:s.useCallback(()=>{a.isOpenDelayedRef.current?L():P()},[a.isOpenDelayedRef,L,P]),onTriggerLeave:s.useCallback(()=>{h?R():(window.clearTimeout(u.current),u.current=0)},[R,h]),onOpen:P,onClose:R,disableHoverableContent:h,children:t})})};F.displayName=O;var j="TooltipTrigger",z=s.forwardRef((e,o)=>{const{__scopeTooltip:t,...r}=e,n=D(j,t),i=A(j,t),l=N(t),p=s.useRef(null),a=T.useComposedRefs(o,p,n.onTriggerChange),f=s.useRef(!1),c=s.useRef(!1),v=s.useCallback(()=>f.current=!1,[]);return s.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),d.jsx(b.Anchor,{asChild:!0,...l,children:d.jsx(T.Primitive.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:a,onPointerMove:T.composeEventHandlers(e.onPointerMove,m=>{m.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:T.composeEventHandlers(e.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:T.composeEventHandlers(e.onPointerDown,()=>{n.open&&n.onClose(),f.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:T.composeEventHandlers(e.onFocus,()=>{f.current||n.onOpen()}),onBlur:T.composeEventHandlers(e.onBlur,n.onClose),onClick:T.composeEventHandlers(e.onClick,n.onClose)})})});z.displayName=j;var ne="TooltipPortal",[_e,se]=_(ne,{forceMount:void 0}),w="TooltipContent",G=s.forwardRef((e,o)=>{const t=se(w,e.__scopeTooltip),{forceMount:r=t.forceMount,side:n="top",...i}=e,l=D(w,e.__scopeTooltip);return d.jsx(T.Presence,{present:r||l.open,children:l.disableHoverableContent?d.jsx($,{side:n,...i,ref:o}):d.jsx(ae,{side:n,...i,ref:o})})}),ae=s.forwardRef((e,o)=>{const t=D(w,e.__scopeTooltip),r=A(w,e.__scopeTooltip),n=s.useRef(null),i=T.useComposedRefs(o,n),[l,p]=s.useState(null),{trigger:a,onClose:f}=t,c=n.current,{onPointerInTransitChange:v}=r,m=s.useCallback(()=>{p(null),v(!1)},[v]),u=s.useCallback((h,y)=>{const x=h.currentTarget,C={x:h.clientX,y:h.clientY},g=de(C,x.getBoundingClientRect()),E=pe(C,g),P=fe(y.getBoundingClientRect()),R=me([...E,...P]);p(R),v(!0)},[v]);return s.useEffect(()=>()=>m(),[m]),s.useEffect(()=>{if(a&&c){const h=x=>u(x,c),y=x=>u(x,a);return a.addEventListener("pointerleave",h),c.addEventListener("pointerleave",y),()=>{a.removeEventListener("pointerleave",h),c.removeEventListener("pointerleave",y)}}},[a,c,u,m]),s.useEffect(()=>{if(l){const h=y=>{const x=y.target,C={x:y.clientX,y:y.clientY},g=(a==null?void 0:a.contains(x))||(c==null?void 0:c.contains(x)),E=!ve(C,l);g?m():E&&(m(),f())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[a,c,l,f,m]),d.jsx($,{...e,ref:i})}),[ie,le]=_(O,{isInside:!1}),ce=ee("TooltipContent"),$=s.forwardRef((e,o)=>{const{__scopeTooltip:t,children:r,"aria-label":n,onEscapeKeyDown:i,onPointerDownOutside:l,...p}=e,a=D(w,t),f=N(t),{onClose:c}=a;return s.useEffect(()=>(document.addEventListener(S,c),()=>document.removeEventListener(S,c)),[c]),s.useEffect(()=>{if(a.trigger){const v=m=>{const u=m.target;u!=null&&u.contains(a.trigger)&&c()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[a.trigger,c]),d.jsx(b.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:v=>v.preventDefault(),onDismiss:c,children:d.jsxs(b.Content,{"data-state":a.stateAttribute,...f,...p,ref:o,style:{...p.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[d.jsx(ce,{children:r}),d.jsx(ie,{scope:t,isInside:!0,children:d.jsx(J.Root,{id:a.contentId,role:"tooltip",children:n||r})})]})})});G.displayName=w;var B="TooltipArrow",ue=s.forwardRef((e,o)=>{const{__scopeTooltip:t,...r}=e,n=N(t);return le(B,t).isInside?null:d.jsx(b.Arrow,{...n,...r,ref:o})});ue.displayName=B;function de(e,o){const t=Math.abs(o.top-e.y),r=Math.abs(o.bottom-e.y),n=Math.abs(o.right-e.x),i=Math.abs(o.left-e.x);switch(Math.min(t,r,n,i)){case i:return"left";case n:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function pe(e,o,t=5){const r=[];switch(o){case"top":r.push({x:e.x-t,y:e.y+t},{x:e.x+t,y:e.y+t});break;case"bottom":r.push({x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t});break;case"left":r.push({x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t});break;case"right":r.push({x:e.x-t,y:e.y-t},{x:e.x-t,y:e.y+t});break}return r}function fe(e){const{top:o,right:t,bottom:r,left:n}=e;return[{x:n,y:o},{x:t,y:o},{x:t,y:r},{x:n,y:r}]}function ve(e,o){const{x:t,y:r}=e;let n=!1;for(let i=0,l=o.length-1;i<o.length;l=i++){const p=o[i],a=o[l],f=p.x,c=p.y,v=a.x,m=a.y;c>r!=m>r&&t<(v-f)*(r-c)/(m-c)+f&&(n=!n)}return n}function me(e){const o=e.slice();return o.sort((t,r)=>t.x<r.x?-1:t.x>r.x?1:t.y<r.y?-1:t.y>r.y?1:0),he(o)}function he(e){if(e.length<=1)return e.slice();const o=[];for(let r=0;r<e.length;r++){const n=e[r];for(;o.length>=2;){const i=o[o.length-1],l=o[o.length-2];if((i.x-l.x)*(n.y-l.y)>=(i.y-l.y)*(n.x-l.x))o.pop();else break}o.push(n)}o.pop();const t=[];for(let r=e.length-1;r>=0;r--){const n=e[r];for(;t.length>=2;){const i=t[t.length-1],l=t[t.length-2];if((i.x-l.x)*(n.y-l.y)>=(i.y-l.y)*(n.x-l.x))t.pop();else break}t.push(n)}return t.pop(),o.length===1&&t.length===1&&o[0].x===t[0].x&&o[0].y===t[0].y?o:o.concat(t)}var xe=q,Te=F,ye=z,U=G;const ge=xe,be=Te,Ce=ye,V=s.forwardRef(({className:e,sideOffset:o=4,...t},r)=>d.jsx(U,{ref:r,sideOffset:o,className:H.cn("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));V.displayName=U.displayName;var we=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ee=we.reduce((e,o)=>{const t=T.createSlot(`Primitive.${o}`),r=s.forwardRef((n,i)=>{const{asChild:l,...p}=n,a=l?t:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(a,{...p,ref:i})});return r.displayName=`Primitive.${o}`,{...e,[o]:r}},{}),Pe="Separator",k="horizontal",Re=["horizontal","vertical"],Y=s.forwardRef((e,o)=>{const{decorative:t,orientation:r=k,...n}=e,i=Oe(r)?r:k,p=t?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return d.jsx(Ee.div,{"data-orientation":i,...p,...n,ref:o})});Y.displayName=Pe;function Oe(e){return Re.includes(e)}var X=Y;const K=s.forwardRef(({className:e,orientation:o="horizontal",decorative:t=!0,...r},n)=>d.jsx(X,{ref:n,decorative:t,orientation:o,className:H.cn("shrink-0 bg-border",o==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));K.displayName=X.displayName;exports.Separator=K;exports.Tooltip=be;exports.TooltipContent=V;exports.TooltipProvider=ge;exports.TooltipTrigger=Ce;
|
|
2
|
-
//# sourceMappingURL=separator-BzcDE0Ei.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"separator-BzcDE0Ei.cjs","sources":["../node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/@radix-ui/react-tooltip/dist/index.mjs","../src/components/ui/tooltip.tsx","../node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.mjs","../node_modules/@radix-ui/react-separator/dist/index.mjs","../src/components/ui/separator.tsx"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/tooltip.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport * as VisuallyHiddenPrimitive from \"@radix-ui/react-visually-hidden\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar [createTooltipContext, createTooltipScope] = createContextScope(\"Tooltip\", [\n createPopperScope\n]);\nvar usePopperScope = createPopperScope();\nvar PROVIDER_NAME = \"TooltipProvider\";\nvar DEFAULT_DELAY_DURATION = 700;\nvar TOOLTIP_OPEN = \"tooltip.open\";\nvar [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME);\nvar TooltipProvider = (props) => {\n const {\n __scopeTooltip,\n delayDuration = DEFAULT_DELAY_DURATION,\n skipDelayDuration = 300,\n disableHoverableContent = false,\n children\n } = props;\n const isOpenDelayedRef = React.useRef(true);\n const isPointerInTransitRef = React.useRef(false);\n const skipDelayTimerRef = React.useRef(0);\n React.useEffect(() => {\n const skipDelayTimer = skipDelayTimerRef.current;\n return () => window.clearTimeout(skipDelayTimer);\n }, []);\n return /* @__PURE__ */ jsx(\n TooltipProviderContextProvider,\n {\n scope: __scopeTooltip,\n isOpenDelayedRef,\n delayDuration,\n onOpen: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n isOpenDelayedRef.current = false;\n }, []),\n onClose: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n skipDelayTimerRef.current = window.setTimeout(\n () => isOpenDelayedRef.current = true,\n skipDelayDuration\n );\n }, [skipDelayDuration]),\n isPointerInTransitRef,\n onPointerInTransitChange: React.useCallback((inTransit) => {\n isPointerInTransitRef.current = inTransit;\n }, []),\n disableHoverableContent,\n children\n }\n );\n};\nTooltipProvider.displayName = PROVIDER_NAME;\nvar TOOLTIP_NAME = \"Tooltip\";\nvar [TooltipContextProvider, useTooltipContext] = createTooltipContext(TOOLTIP_NAME);\nvar Tooltip = (props) => {\n const {\n __scopeTooltip,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n disableHoverableContent: disableHoverableContentProp,\n delayDuration: delayDurationProp\n } = props;\n const providerContext = useTooltipProviderContext(TOOLTIP_NAME, props.__scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const [trigger, setTrigger] = React.useState(null);\n const contentId = useId();\n const openTimerRef = React.useRef(0);\n const disableHoverableContent = disableHoverableContentProp ?? providerContext.disableHoverableContent;\n const delayDuration = delayDurationProp ?? providerContext.delayDuration;\n const wasOpenDelayedRef = React.useRef(false);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: (open2) => {\n if (open2) {\n providerContext.onOpen();\n document.dispatchEvent(new CustomEvent(TOOLTIP_OPEN));\n } else {\n providerContext.onClose();\n }\n onOpenChange?.(open2);\n },\n caller: TOOLTIP_NAME\n });\n const stateAttribute = React.useMemo(() => {\n return open ? wasOpenDelayedRef.current ? \"delayed-open\" : \"instant-open\" : \"closed\";\n }, [open]);\n const handleOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n wasOpenDelayedRef.current = false;\n setOpen(true);\n }, [setOpen]);\n const handleClose = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n setOpen(false);\n }, [setOpen]);\n const handleDelayedOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = window.setTimeout(() => {\n wasOpenDelayedRef.current = true;\n setOpen(true);\n openTimerRef.current = 0;\n }, delayDuration);\n }, [delayDuration, setOpen]);\n React.useEffect(() => {\n return () => {\n if (openTimerRef.current) {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n };\n }, []);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n TooltipContextProvider,\n {\n scope: __scopeTooltip,\n contentId,\n open,\n stateAttribute,\n trigger,\n onTriggerChange: setTrigger,\n onTriggerEnter: React.useCallback(() => {\n if (providerContext.isOpenDelayedRef.current) handleDelayedOpen();\n else handleOpen();\n }, [providerContext.isOpenDelayedRef, handleDelayedOpen, handleOpen]),\n onTriggerLeave: React.useCallback(() => {\n if (disableHoverableContent) {\n handleClose();\n } else {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n }, [handleClose, disableHoverableContent]),\n onOpen: handleOpen,\n onClose: handleClose,\n disableHoverableContent,\n children\n }\n ) });\n};\nTooltip.displayName = TOOLTIP_NAME;\nvar TRIGGER_NAME = \"TooltipTrigger\";\nvar TooltipTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...triggerProps } = props;\n const context = useTooltipContext(TRIGGER_NAME, __scopeTooltip);\n const providerContext = useTooltipProviderContext(TRIGGER_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref, context.onTriggerChange);\n const isPointerDownRef = React.useRef(false);\n const hasPointerMoveOpenedRef = React.useRef(false);\n const handlePointerUp = React.useCallback(() => isPointerDownRef.current = false, []);\n React.useEffect(() => {\n return () => document.removeEventListener(\"pointerup\", handlePointerUp);\n }, [handlePointerUp]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n \"aria-describedby\": context.open ? context.contentId : void 0,\n \"data-state\": context.stateAttribute,\n ...triggerProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(props.onPointerMove, (event) => {\n if (event.pointerType === \"touch\") return;\n if (!hasPointerMoveOpenedRef.current && !providerContext.isPointerInTransitRef.current) {\n context.onTriggerEnter();\n hasPointerMoveOpenedRef.current = true;\n }\n }),\n onPointerLeave: composeEventHandlers(props.onPointerLeave, () => {\n context.onTriggerLeave();\n hasPointerMoveOpenedRef.current = false;\n }),\n onPointerDown: composeEventHandlers(props.onPointerDown, () => {\n if (context.open) {\n context.onClose();\n }\n isPointerDownRef.current = true;\n document.addEventListener(\"pointerup\", handlePointerUp, { once: true });\n }),\n onFocus: composeEventHandlers(props.onFocus, () => {\n if (!isPointerDownRef.current) context.onOpen();\n }),\n onBlur: composeEventHandlers(props.onBlur, context.onClose),\n onClick: composeEventHandlers(props.onClick, context.onClose)\n }\n ) });\n }\n);\nTooltipTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"TooltipPortal\";\nvar [PortalProvider, usePortalContext] = createTooltipContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar TooltipPortal = (props) => {\n const { __scopeTooltip, forceMount, children, container } = props;\n const context = useTooltipContext(PORTAL_NAME, __scopeTooltip);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nTooltipPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"TooltipContent\";\nvar TooltipContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeTooltip);\n const { forceMount = portalContext.forceMount, side = \"top\", ...contentProps } = props;\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.disableHoverableContent ? /* @__PURE__ */ jsx(TooltipContentImpl, { side, ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(TooltipContentHoverable, { side, ...contentProps, ref: forwardedRef }) });\n }\n);\nvar TooltipContentHoverable = React.forwardRef((props, forwardedRef) => {\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n const providerContext = useTooltipProviderContext(CONTENT_NAME, props.__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [pointerGraceArea, setPointerGraceArea] = React.useState(null);\n const { trigger, onClose } = context;\n const content = ref.current;\n const { onPointerInTransitChange } = providerContext;\n const handleRemoveGraceArea = React.useCallback(() => {\n setPointerGraceArea(null);\n onPointerInTransitChange(false);\n }, [onPointerInTransitChange]);\n const handleCreateGraceArea = React.useCallback(\n (event, hoverTarget) => {\n const currentTarget = event.currentTarget;\n const exitPoint = { x: event.clientX, y: event.clientY };\n const exitSide = getExitSideFromRect(exitPoint, currentTarget.getBoundingClientRect());\n const paddedExitPoints = getPaddedExitPoints(exitPoint, exitSide);\n const hoverTargetPoints = getPointsFromRect(hoverTarget.getBoundingClientRect());\n const graceArea = getHull([...paddedExitPoints, ...hoverTargetPoints]);\n setPointerGraceArea(graceArea);\n onPointerInTransitChange(true);\n },\n [onPointerInTransitChange]\n );\n React.useEffect(() => {\n return () => handleRemoveGraceArea();\n }, [handleRemoveGraceArea]);\n React.useEffect(() => {\n if (trigger && content) {\n const handleTriggerLeave = (event) => handleCreateGraceArea(event, content);\n const handleContentLeave = (event) => handleCreateGraceArea(event, trigger);\n trigger.addEventListener(\"pointerleave\", handleTriggerLeave);\n content.addEventListener(\"pointerleave\", handleContentLeave);\n return () => {\n trigger.removeEventListener(\"pointerleave\", handleTriggerLeave);\n content.removeEventListener(\"pointerleave\", handleContentLeave);\n };\n }\n }, [trigger, content, handleCreateGraceArea, handleRemoveGraceArea]);\n React.useEffect(() => {\n if (pointerGraceArea) {\n const handleTrackPointerGrace = (event) => {\n const target = event.target;\n const pointerPosition = { x: event.clientX, y: event.clientY };\n const hasEnteredTarget = trigger?.contains(target) || content?.contains(target);\n const isPointerOutsideGraceArea = !isPointInPolygon(pointerPosition, pointerGraceArea);\n if (hasEnteredTarget) {\n handleRemoveGraceArea();\n } else if (isPointerOutsideGraceArea) {\n handleRemoveGraceArea();\n onClose();\n }\n };\n document.addEventListener(\"pointermove\", handleTrackPointerGrace);\n return () => document.removeEventListener(\"pointermove\", handleTrackPointerGrace);\n }\n }, [trigger, content, pointerGraceArea, onClose, handleRemoveGraceArea]);\n return /* @__PURE__ */ jsx(TooltipContentImpl, { ...props, ref: composedRefs });\n});\nvar [VisuallyHiddenContentContextProvider, useVisuallyHiddenContentContext] = createTooltipContext(TOOLTIP_NAME, { isInside: false });\nvar Slottable = createSlottable(\"TooltipContent\");\nvar TooltipContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeTooltip,\n children,\n \"aria-label\": ariaLabel,\n onEscapeKeyDown,\n onPointerDownOutside,\n ...contentProps\n } = props;\n const context = useTooltipContext(CONTENT_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const { onClose } = context;\n React.useEffect(() => {\n document.addEventListener(TOOLTIP_OPEN, onClose);\n return () => document.removeEventListener(TOOLTIP_OPEN, onClose);\n }, [onClose]);\n React.useEffect(() => {\n if (context.trigger) {\n const handleScroll = (event) => {\n const target = event.target;\n if (target?.contains(context.trigger)) onClose();\n };\n window.addEventListener(\"scroll\", handleScroll, { capture: true });\n return () => window.removeEventListener(\"scroll\", handleScroll, { capture: true });\n }\n }, [context.trigger, onClose]);\n return /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents: false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside: (event) => event.preventDefault(),\n onDismiss: onClose,\n children: /* @__PURE__ */ jsxs(\n PopperPrimitive.Content,\n {\n \"data-state\": context.stateAttribute,\n ...popperScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n ...contentProps.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-tooltip-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-tooltip-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-tooltip-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-tooltip-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-tooltip-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n },\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(VisuallyHiddenContentContextProvider, { scope: __scopeTooltip, isInside: true, children: /* @__PURE__ */ jsx(VisuallyHiddenPrimitive.Root, { id: context.contentId, role: \"tooltip\", children: ariaLabel || children }) })\n ]\n }\n )\n }\n );\n }\n);\nTooltipContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"TooltipArrow\";\nvar TooltipArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeTooltip);\n const visuallyHiddenContentContext = useVisuallyHiddenContentContext(\n ARROW_NAME,\n __scopeTooltip\n );\n return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nTooltipArrow.displayName = ARROW_NAME;\nfunction getExitSideFromRect(point, rect) {\n const top = Math.abs(rect.top - point.y);\n const bottom = Math.abs(rect.bottom - point.y);\n const right = Math.abs(rect.right - point.x);\n const left = Math.abs(rect.left - point.x);\n switch (Math.min(top, bottom, right, left)) {\n case left:\n return \"left\";\n case right:\n return \"right\";\n case top:\n return \"top\";\n case bottom:\n return \"bottom\";\n default:\n throw new Error(\"unreachable\");\n }\n}\nfunction getPaddedExitPoints(exitPoint, exitSide, padding = 5) {\n const paddedExitPoints = [];\n switch (exitSide) {\n case \"top\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y + padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"bottom\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y - padding }\n );\n break;\n case \"left\":\n paddedExitPoints.push(\n { x: exitPoint.x + padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"right\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x - padding, y: exitPoint.y + padding }\n );\n break;\n }\n return paddedExitPoints;\n}\nfunction getPointsFromRect(rect) {\n const { top, right, bottom, left } = rect;\n return [\n { x: left, y: top },\n { x: right, y: top },\n { x: right, y: bottom },\n { x: left, y: bottom }\n ];\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const ii = polygon[i];\n const jj = polygon[j];\n const xi = ii.x;\n const yi = ii.y;\n const xj = jj.x;\n const yj = jj.y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction getHull(points) {\n const newPoints = points.slice();\n newPoints.sort((a, b) => {\n if (a.x < b.x) return -1;\n else if (a.x > b.x) return 1;\n else if (a.y < b.y) return -1;\n else if (a.y > b.y) return 1;\n else return 0;\n });\n return getHullPresorted(newPoints);\n}\nfunction getHullPresorted(points) {\n if (points.length <= 1) return points.slice();\n const upperHull = [];\n for (let i = 0; i < points.length; i++) {\n const p = points[i];\n while (upperHull.length >= 2) {\n const q = upperHull[upperHull.length - 1];\n const r = upperHull[upperHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) upperHull.pop();\n else break;\n }\n upperHull.push(p);\n }\n upperHull.pop();\n const lowerHull = [];\n for (let i = points.length - 1; i >= 0; i--) {\n const p = points[i];\n while (lowerHull.length >= 2) {\n const q = lowerHull[lowerHull.length - 1];\n const r = lowerHull[lowerHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) lowerHull.pop();\n else break;\n }\n lowerHull.push(p);\n }\n lowerHull.pop();\n if (upperHull.length === 1 && lowerHull.length === 1 && upperHull[0].x === lowerHull[0].x && upperHull[0].y === lowerHull[0].y) {\n return upperHull;\n } else {\n return upperHull.concat(lowerHull);\n }\n}\nvar Provider = TooltipProvider;\nvar Root3 = Tooltip;\nvar Trigger = TooltipTrigger;\nvar Portal = TooltipPortal;\nvar Content2 = TooltipContent;\nvar Arrow2 = TooltipArrow;\nexport {\n Arrow2 as Arrow,\n Content2 as Content,\n Portal,\n Provider,\n Root3 as Root,\n Tooltip,\n TooltipArrow,\n TooltipContent,\n TooltipPortal,\n TooltipProvider,\n TooltipTrigger,\n Trigger,\n createTooltipScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from 'react'\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport { cn } from '@/utils/cn'\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n","// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n","// src/separator.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Separator\";\nvar DEFAULT_ORIENTATION = \"horizontal\";\nvar ORIENTATIONS = [\"horizontal\", \"vertical\"];\nvar Separator = React.forwardRef((props, forwardedRef) => {\n const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;\n const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;\n const ariaOrientation = orientation === \"vertical\" ? orientation : void 0;\n const semanticProps = decorative ? { role: \"none\" } : { \"aria-orientation\": ariaOrientation, role: \"separator\" };\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-orientation\": orientation,\n ...semanticProps,\n ...domProps,\n ref: forwardedRef\n }\n );\n});\nSeparator.displayName = NAME;\nfunction isValidOrientation(orientation) {\n return ORIENTATIONS.includes(orientation);\n}\nvar Root = Separator;\nexport {\n Root,\n Separator\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from 'react'\nimport * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport { cn } from '@/utils/cn'\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',\n className\n )}\n {...props}\n />\n))\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2","createTooltipContext","createContextScope","createPopperScope","usePopperScope","PROVIDER_NAME","DEFAULT_DELAY_DURATION","TOOLTIP_OPEN","TooltipProviderContextProvider","useTooltipProviderContext","TooltipProvider","props","__scopeTooltip","delayDuration","skipDelayDuration","disableHoverableContent","isOpenDelayedRef","React","isPointerInTransitRef","skipDelayTimerRef","skipDelayTimer","inTransit","TOOLTIP_NAME","TooltipContextProvider","useTooltipContext","Tooltip","openProp","defaultOpen","onOpenChange","disableHoverableContentProp","delayDurationProp","providerContext","popperScope","trigger","setTrigger","contentId","useId","openTimerRef","wasOpenDelayedRef","open","setOpen","useControllableState","open2","stateAttribute","handleOpen","handleClose","handleDelayedOpen","PopperPrimitive.Root","TRIGGER_NAME","TooltipTrigger","forwardedRef","triggerProps","context","ref","composedRefs","useComposedRefs","isPointerDownRef","hasPointerMoveOpenedRef","handlePointerUp","PopperPrimitive.Anchor","Primitive","composeEventHandlers","event","PORTAL_NAME","PortalProvider","usePortalContext","CONTENT_NAME","TooltipContent","portalContext","forceMount","side","contentProps","Presence","TooltipContentImpl","TooltipContentHoverable","pointerGraceArea","setPointerGraceArea","onClose","content","onPointerInTransitChange","handleRemoveGraceArea","handleCreateGraceArea","hoverTarget","currentTarget","exitPoint","exitSide","getExitSideFromRect","paddedExitPoints","getPaddedExitPoints","hoverTargetPoints","getPointsFromRect","graceArea","getHull","handleTriggerLeave","handleContentLeave","handleTrackPointerGrace","target","pointerPosition","hasEnteredTarget","isPointerOutsideGraceArea","isPointInPolygon","VisuallyHiddenContentContextProvider","useVisuallyHiddenContentContext","Slottable","ariaLabel","onEscapeKeyDown","onPointerDownOutside","handleScroll","DismissableLayer","jsxs","PopperPrimitive.Content","VisuallyHiddenPrimitive.Root","ARROW_NAME","TooltipArrow","arrowProps","PopperPrimitive.Arrow","point","rect","top","bottom","right","left","padding","polygon","x","y","inside","j","ii","jj","xi","yi","xj","yj","points","newPoints","a","b","getHullPresorted","upperHull","i","p","q","r","lowerHull","Provider","Root3","Trigger","Content2","TooltipPrimitive.Provider","TooltipPrimitive.Root","TooltipPrimitive.Trigger","className","sideOffset","TooltipPrimitive.Content","cn","NODES","primitive","node","Slot","createSlot","Node","asChild","primitiveProps","Comp","NAME","DEFAULT_ORIENTATION","ORIENTATIONS","Separator","decorative","orientationProp","domProps","orientation","isValidOrientation","semanticProps","Root","SeparatorPrimitive.Root"],"mappings":"kgBA8CA,IAAIA,EAAuB,OAAO,iBAAiB,EAEnD,SAASC,GAAgBC,EAAW,CAClC,MAAM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AC,aAAc,UAAU,EACxCC,EAAYvJ,EAAM,WAAW,CAACN,EAAOuC,IAAiB,CACxD,KAAM,CAAE,WAAAuH,EAAY,YAAaC,EAAkBJ,EAAqB,GAAGK,CAAQ,EAAKhK,EAClFiK,EAAcC,GAAmBH,CAAe,EAAIA,EAAkBJ,EAEtEQ,EAAgBL,EAAa,CAAE,KAAM,QAAW,CAAE,mBADhCG,IAAgB,WAAaA,EAAc,OAC0B,KAAM,WAAW,EAC9G,OAAuB7K,EAAAA,IACrB6D,GAAU,IACV,CACE,mBAAoBgH,EACpB,GAAGE,EACH,GAAGH,EACH,IAAKzH,CACX,CACA,CACA,CAAC,EACDsH,EAAU,YAAcH,GACxB,SAASQ,GAAmBD,EAAa,CACvC,OAAOL,GAAa,SAASK,CAAW,CAC1C,CACA,IAAIG,EAAOP,ECtBX,MAAMA,EAAYvJ,EAAM,WAGtB,CAAC,CAAE,UAAAuI,EAAW,YAAAoB,EAAc,aAAc,WAAAH,EAAa,GAAM,GAAG9J,CAAA,EAAS0C,IACzEtD,EAAAA,IAACiL,EAAA,CACC,IAAA3H,EACA,WAAAoH,EACA,YAAAG,EACA,UAAWjB,EAAAA,GACT,qBACAiB,IAAgB,aAAe,iBAAmB,iBAClDpB,CAAA,EAED,GAAG7I,CAAA,CACN,CACD,EACD6J,EAAU,YAAcQ,EAAwB","x_google_ignoreList":[0,1,3,4]}
|
|
@@ -1,396 +0,0 @@
|
|
|
1
|
-
import { jsx as p, Fragment as K, jsxs as W } from "react/jsx-runtime";
|
|
2
|
-
import * as a from "react";
|
|
3
|
-
import { g as J, h as M, P as Q, j as C, m as Z, o as ee } from "./scroll-area-A3jGu-Ta.js";
|
|
4
|
-
import { o as H, p as te, u as oe, R as re, A as ne, v as ae, C as se, w as ie } from "./input-BgPy-4Qu.js";
|
|
5
|
-
import { R as le } from "./index-Dk_Et2WJ.js";
|
|
6
|
-
import { c as $ } from "./index-DtaLkIY8.js";
|
|
7
|
-
import "react-dom";
|
|
8
|
-
var ce = Symbol("radix.slottable");
|
|
9
|
-
// @__NO_SIDE_EFFECTS__
|
|
10
|
-
function ue(e) {
|
|
11
|
-
const o = ({ children: t }) => /* @__PURE__ */ p(K, { children: t });
|
|
12
|
-
return o.displayName = `${e}.Slottable`, o.__radixId = ce, o;
|
|
13
|
-
}
|
|
14
|
-
var [O] = J("Tooltip", [
|
|
15
|
-
H
|
|
16
|
-
]), _ = H(), F = "TooltipProvider", de = 700, A = "tooltip.open", [pe, L] = O(F), j = (e) => {
|
|
17
|
-
const {
|
|
18
|
-
__scopeTooltip: o,
|
|
19
|
-
delayDuration: t = de,
|
|
20
|
-
skipDelayDuration: r = 300,
|
|
21
|
-
disableHoverableContent: n = !1,
|
|
22
|
-
children: i
|
|
23
|
-
} = e, l = a.useRef(!0), d = a.useRef(!1), s = a.useRef(0);
|
|
24
|
-
return a.useEffect(() => {
|
|
25
|
-
const f = s.current;
|
|
26
|
-
return () => window.clearTimeout(f);
|
|
27
|
-
}, []), /* @__PURE__ */ p(
|
|
28
|
-
pe,
|
|
29
|
-
{
|
|
30
|
-
scope: o,
|
|
31
|
-
isOpenDelayedRef: l,
|
|
32
|
-
delayDuration: t,
|
|
33
|
-
onOpen: a.useCallback(() => {
|
|
34
|
-
window.clearTimeout(s.current), l.current = !1;
|
|
35
|
-
}, []),
|
|
36
|
-
onClose: a.useCallback(() => {
|
|
37
|
-
window.clearTimeout(s.current), s.current = window.setTimeout(
|
|
38
|
-
() => l.current = !0,
|
|
39
|
-
r
|
|
40
|
-
);
|
|
41
|
-
}, [r]),
|
|
42
|
-
isPointerInTransitRef: d,
|
|
43
|
-
onPointerInTransitChange: a.useCallback((f) => {
|
|
44
|
-
d.current = f;
|
|
45
|
-
}, []),
|
|
46
|
-
disableHoverableContent: n,
|
|
47
|
-
children: i
|
|
48
|
-
}
|
|
49
|
-
);
|
|
50
|
-
};
|
|
51
|
-
j.displayName = F;
|
|
52
|
-
var R = "Tooltip", [fe, N] = O(R), G = (e) => {
|
|
53
|
-
const {
|
|
54
|
-
__scopeTooltip: o,
|
|
55
|
-
children: t,
|
|
56
|
-
open: r,
|
|
57
|
-
defaultOpen: n,
|
|
58
|
-
onOpenChange: i,
|
|
59
|
-
disableHoverableContent: l,
|
|
60
|
-
delayDuration: d
|
|
61
|
-
} = e, s = L(R, e.__scopeTooltip), f = _(o), [c, v] = a.useState(null), m = te(), u = a.useRef(0), h = l ?? s.disableHoverableContent, y = d ?? s.delayDuration, T = a.useRef(!1), [g, x] = oe({
|
|
62
|
-
prop: r,
|
|
63
|
-
defaultProp: n ?? !1,
|
|
64
|
-
onChange: (I) => {
|
|
65
|
-
I ? (s.onOpen(), document.dispatchEvent(new CustomEvent(A))) : s.onClose(), i == null || i(I);
|
|
66
|
-
},
|
|
67
|
-
caller: R
|
|
68
|
-
}), w = a.useMemo(() => g ? T.current ? "delayed-open" : "instant-open" : "closed", [g]), E = a.useCallback(() => {
|
|
69
|
-
window.clearTimeout(u.current), u.current = 0, T.current = !1, x(!0);
|
|
70
|
-
}, [x]), P = a.useCallback(() => {
|
|
71
|
-
window.clearTimeout(u.current), u.current = 0, x(!1);
|
|
72
|
-
}, [x]), S = a.useCallback(() => {
|
|
73
|
-
window.clearTimeout(u.current), u.current = window.setTimeout(() => {
|
|
74
|
-
T.current = !0, x(!0), u.current = 0;
|
|
75
|
-
}, y);
|
|
76
|
-
}, [y, x]);
|
|
77
|
-
return a.useEffect(() => () => {
|
|
78
|
-
u.current && (window.clearTimeout(u.current), u.current = 0);
|
|
79
|
-
}, []), /* @__PURE__ */ p(re, { ...f, children: /* @__PURE__ */ p(
|
|
80
|
-
fe,
|
|
81
|
-
{
|
|
82
|
-
scope: o,
|
|
83
|
-
contentId: m,
|
|
84
|
-
open: g,
|
|
85
|
-
stateAttribute: w,
|
|
86
|
-
trigger: c,
|
|
87
|
-
onTriggerChange: v,
|
|
88
|
-
onTriggerEnter: a.useCallback(() => {
|
|
89
|
-
s.isOpenDelayedRef.current ? S() : E();
|
|
90
|
-
}, [s.isOpenDelayedRef, S, E]),
|
|
91
|
-
onTriggerLeave: a.useCallback(() => {
|
|
92
|
-
h ? P() : (window.clearTimeout(u.current), u.current = 0);
|
|
93
|
-
}, [P, h]),
|
|
94
|
-
onOpen: E,
|
|
95
|
-
onClose: P,
|
|
96
|
-
disableHoverableContent: h,
|
|
97
|
-
children: t
|
|
98
|
-
}
|
|
99
|
-
) });
|
|
100
|
-
};
|
|
101
|
-
G.displayName = R;
|
|
102
|
-
var D = "TooltipTrigger", z = a.forwardRef(
|
|
103
|
-
(e, o) => {
|
|
104
|
-
const { __scopeTooltip: t, ...r } = e, n = N(D, t), i = L(D, t), l = _(t), d = a.useRef(null), s = M(o, d, n.onTriggerChange), f = a.useRef(!1), c = a.useRef(!1), v = a.useCallback(() => f.current = !1, []);
|
|
105
|
-
return a.useEffect(() => () => document.removeEventListener("pointerup", v), [v]), /* @__PURE__ */ p(ne, { asChild: !0, ...l, children: /* @__PURE__ */ p(
|
|
106
|
-
Q.button,
|
|
107
|
-
{
|
|
108
|
-
"aria-describedby": n.open ? n.contentId : void 0,
|
|
109
|
-
"data-state": n.stateAttribute,
|
|
110
|
-
...r,
|
|
111
|
-
ref: s,
|
|
112
|
-
onPointerMove: C(e.onPointerMove, (m) => {
|
|
113
|
-
m.pointerType !== "touch" && !c.current && !i.isPointerInTransitRef.current && (n.onTriggerEnter(), c.current = !0);
|
|
114
|
-
}),
|
|
115
|
-
onPointerLeave: C(e.onPointerLeave, () => {
|
|
116
|
-
n.onTriggerLeave(), c.current = !1;
|
|
117
|
-
}),
|
|
118
|
-
onPointerDown: C(e.onPointerDown, () => {
|
|
119
|
-
n.open && n.onClose(), f.current = !0, document.addEventListener("pointerup", v, { once: !0 });
|
|
120
|
-
}),
|
|
121
|
-
onFocus: C(e.onFocus, () => {
|
|
122
|
-
f.current || n.onOpen();
|
|
123
|
-
}),
|
|
124
|
-
onBlur: C(e.onBlur, n.onClose),
|
|
125
|
-
onClick: C(e.onClick, n.onClose)
|
|
126
|
-
}
|
|
127
|
-
) });
|
|
128
|
-
}
|
|
129
|
-
);
|
|
130
|
-
z.displayName = D;
|
|
131
|
-
var ve = "TooltipPortal", [Be, me] = O(ve, {
|
|
132
|
-
forceMount: void 0
|
|
133
|
-
}), b = "TooltipContent", B = a.forwardRef(
|
|
134
|
-
(e, o) => {
|
|
135
|
-
const t = me(b, e.__scopeTooltip), { forceMount: r = t.forceMount, side: n = "top", ...i } = e, l = N(b, e.__scopeTooltip);
|
|
136
|
-
return /* @__PURE__ */ p(Z, { present: r || l.open, children: l.disableHoverableContent ? /* @__PURE__ */ p(U, { side: n, ...i, ref: o }) : /* @__PURE__ */ p(he, { side: n, ...i, ref: o }) });
|
|
137
|
-
}
|
|
138
|
-
), he = a.forwardRef((e, o) => {
|
|
139
|
-
const t = N(b, e.__scopeTooltip), r = L(b, e.__scopeTooltip), n = a.useRef(null), i = M(o, n), [l, d] = a.useState(null), { trigger: s, onClose: f } = t, c = n.current, { onPointerInTransitChange: v } = r, m = a.useCallback(() => {
|
|
140
|
-
d(null), v(!1);
|
|
141
|
-
}, [v]), u = a.useCallback(
|
|
142
|
-
(h, y) => {
|
|
143
|
-
const T = h.currentTarget, g = { x: h.clientX, y: h.clientY }, x = Ce(g, T.getBoundingClientRect()), w = be(g, x), E = we(y.getBoundingClientRect()), P = Pe([...w, ...E]);
|
|
144
|
-
d(P), v(!0);
|
|
145
|
-
},
|
|
146
|
-
[v]
|
|
147
|
-
);
|
|
148
|
-
return a.useEffect(() => () => m(), [m]), a.useEffect(() => {
|
|
149
|
-
if (s && c) {
|
|
150
|
-
const h = (T) => u(T, c), y = (T) => u(T, s);
|
|
151
|
-
return s.addEventListener("pointerleave", h), c.addEventListener("pointerleave", y), () => {
|
|
152
|
-
s.removeEventListener("pointerleave", h), c.removeEventListener("pointerleave", y);
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
}, [s, c, u, m]), a.useEffect(() => {
|
|
156
|
-
if (l) {
|
|
157
|
-
const h = (y) => {
|
|
158
|
-
const T = y.target, g = { x: y.clientX, y: y.clientY }, x = (s == null ? void 0 : s.contains(T)) || (c == null ? void 0 : c.contains(T)), w = !Ee(g, l);
|
|
159
|
-
x ? m() : w && (m(), f());
|
|
160
|
-
};
|
|
161
|
-
return document.addEventListener("pointermove", h), () => document.removeEventListener("pointermove", h);
|
|
162
|
-
}
|
|
163
|
-
}, [s, c, l, f, m]), /* @__PURE__ */ p(U, { ...e, ref: i });
|
|
164
|
-
}), [Te, ye] = O(R, { isInside: !1 }), xe = /* @__PURE__ */ ue("TooltipContent"), U = a.forwardRef(
|
|
165
|
-
(e, o) => {
|
|
166
|
-
const {
|
|
167
|
-
__scopeTooltip: t,
|
|
168
|
-
children: r,
|
|
169
|
-
"aria-label": n,
|
|
170
|
-
onEscapeKeyDown: i,
|
|
171
|
-
onPointerDownOutside: l,
|
|
172
|
-
...d
|
|
173
|
-
} = e, s = N(b, t), f = _(t), { onClose: c } = s;
|
|
174
|
-
return a.useEffect(() => (document.addEventListener(A, c), () => document.removeEventListener(A, c)), [c]), a.useEffect(() => {
|
|
175
|
-
if (s.trigger) {
|
|
176
|
-
const v = (m) => {
|
|
177
|
-
const u = m.target;
|
|
178
|
-
u != null && u.contains(s.trigger) && c();
|
|
179
|
-
};
|
|
180
|
-
return window.addEventListener("scroll", v, { capture: !0 }), () => window.removeEventListener("scroll", v, { capture: !0 });
|
|
181
|
-
}
|
|
182
|
-
}, [s.trigger, c]), /* @__PURE__ */ p(
|
|
183
|
-
ae,
|
|
184
|
-
{
|
|
185
|
-
asChild: !0,
|
|
186
|
-
disableOutsidePointerEvents: !1,
|
|
187
|
-
onEscapeKeyDown: i,
|
|
188
|
-
onPointerDownOutside: l,
|
|
189
|
-
onFocusOutside: (v) => v.preventDefault(),
|
|
190
|
-
onDismiss: c,
|
|
191
|
-
children: /* @__PURE__ */ W(
|
|
192
|
-
se,
|
|
193
|
-
{
|
|
194
|
-
"data-state": s.stateAttribute,
|
|
195
|
-
...f,
|
|
196
|
-
...d,
|
|
197
|
-
ref: o,
|
|
198
|
-
style: {
|
|
199
|
-
...d.style,
|
|
200
|
-
"--radix-tooltip-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
201
|
-
"--radix-tooltip-content-available-width": "var(--radix-popper-available-width)",
|
|
202
|
-
"--radix-tooltip-content-available-height": "var(--radix-popper-available-height)",
|
|
203
|
-
"--radix-tooltip-trigger-width": "var(--radix-popper-anchor-width)",
|
|
204
|
-
"--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
|
|
205
|
-
},
|
|
206
|
-
children: [
|
|
207
|
-
/* @__PURE__ */ p(xe, { children: r }),
|
|
208
|
-
/* @__PURE__ */ p(Te, { scope: t, isInside: !0, children: /* @__PURE__ */ p(le, { id: s.contentId, role: "tooltip", children: n || r }) })
|
|
209
|
-
]
|
|
210
|
-
}
|
|
211
|
-
)
|
|
212
|
-
}
|
|
213
|
-
);
|
|
214
|
-
}
|
|
215
|
-
);
|
|
216
|
-
B.displayName = b;
|
|
217
|
-
var V = "TooltipArrow", ge = a.forwardRef(
|
|
218
|
-
(e, o) => {
|
|
219
|
-
const { __scopeTooltip: t, ...r } = e, n = _(t);
|
|
220
|
-
return ye(
|
|
221
|
-
V,
|
|
222
|
-
t
|
|
223
|
-
).isInside ? null : /* @__PURE__ */ p(ie, { ...n, ...r, ref: o });
|
|
224
|
-
}
|
|
225
|
-
);
|
|
226
|
-
ge.displayName = V;
|
|
227
|
-
function Ce(e, o) {
|
|
228
|
-
const t = Math.abs(o.top - e.y), r = Math.abs(o.bottom - e.y), n = Math.abs(o.right - e.x), i = Math.abs(o.left - e.x);
|
|
229
|
-
switch (Math.min(t, r, n, i)) {
|
|
230
|
-
case i:
|
|
231
|
-
return "left";
|
|
232
|
-
case n:
|
|
233
|
-
return "right";
|
|
234
|
-
case t:
|
|
235
|
-
return "top";
|
|
236
|
-
case r:
|
|
237
|
-
return "bottom";
|
|
238
|
-
default:
|
|
239
|
-
throw new Error("unreachable");
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
function be(e, o, t = 5) {
|
|
243
|
-
const r = [];
|
|
244
|
-
switch (o) {
|
|
245
|
-
case "top":
|
|
246
|
-
r.push(
|
|
247
|
-
{ x: e.x - t, y: e.y + t },
|
|
248
|
-
{ x: e.x + t, y: e.y + t }
|
|
249
|
-
);
|
|
250
|
-
break;
|
|
251
|
-
case "bottom":
|
|
252
|
-
r.push(
|
|
253
|
-
{ x: e.x - t, y: e.y - t },
|
|
254
|
-
{ x: e.x + t, y: e.y - t }
|
|
255
|
-
);
|
|
256
|
-
break;
|
|
257
|
-
case "left":
|
|
258
|
-
r.push(
|
|
259
|
-
{ x: e.x + t, y: e.y - t },
|
|
260
|
-
{ x: e.x + t, y: e.y + t }
|
|
261
|
-
);
|
|
262
|
-
break;
|
|
263
|
-
case "right":
|
|
264
|
-
r.push(
|
|
265
|
-
{ x: e.x - t, y: e.y - t },
|
|
266
|
-
{ x: e.x - t, y: e.y + t }
|
|
267
|
-
);
|
|
268
|
-
break;
|
|
269
|
-
}
|
|
270
|
-
return r;
|
|
271
|
-
}
|
|
272
|
-
function we(e) {
|
|
273
|
-
const { top: o, right: t, bottom: r, left: n } = e;
|
|
274
|
-
return [
|
|
275
|
-
{ x: n, y: o },
|
|
276
|
-
{ x: t, y: o },
|
|
277
|
-
{ x: t, y: r },
|
|
278
|
-
{ x: n, y: r }
|
|
279
|
-
];
|
|
280
|
-
}
|
|
281
|
-
function Ee(e, o) {
|
|
282
|
-
const { x: t, y: r } = e;
|
|
283
|
-
let n = !1;
|
|
284
|
-
for (let i = 0, l = o.length - 1; i < o.length; l = i++) {
|
|
285
|
-
const d = o[i], s = o[l], f = d.x, c = d.y, v = s.x, m = s.y;
|
|
286
|
-
c > r != m > r && t < (v - f) * (r - c) / (m - c) + f && (n = !n);
|
|
287
|
-
}
|
|
288
|
-
return n;
|
|
289
|
-
}
|
|
290
|
-
function Pe(e) {
|
|
291
|
-
const o = e.slice();
|
|
292
|
-
return o.sort((t, r) => t.x < r.x ? -1 : t.x > r.x ? 1 : t.y < r.y ? -1 : t.y > r.y ? 1 : 0), Re(o);
|
|
293
|
-
}
|
|
294
|
-
function Re(e) {
|
|
295
|
-
if (e.length <= 1) return e.slice();
|
|
296
|
-
const o = [];
|
|
297
|
-
for (let r = 0; r < e.length; r++) {
|
|
298
|
-
const n = e[r];
|
|
299
|
-
for (; o.length >= 2; ) {
|
|
300
|
-
const i = o[o.length - 1], l = o[o.length - 2];
|
|
301
|
-
if ((i.x - l.x) * (n.y - l.y) >= (i.y - l.y) * (n.x - l.x)) o.pop();
|
|
302
|
-
else break;
|
|
303
|
-
}
|
|
304
|
-
o.push(n);
|
|
305
|
-
}
|
|
306
|
-
o.pop();
|
|
307
|
-
const t = [];
|
|
308
|
-
for (let r = e.length - 1; r >= 0; r--) {
|
|
309
|
-
const n = e[r];
|
|
310
|
-
for (; t.length >= 2; ) {
|
|
311
|
-
const i = t[t.length - 1], l = t[t.length - 2];
|
|
312
|
-
if ((i.x - l.x) * (n.y - l.y) >= (i.y - l.y) * (n.x - l.x)) t.pop();
|
|
313
|
-
else break;
|
|
314
|
-
}
|
|
315
|
-
t.push(n);
|
|
316
|
-
}
|
|
317
|
-
return t.pop(), o.length === 1 && t.length === 1 && o[0].x === t[0].x && o[0].y === t[0].y ? o : o.concat(t);
|
|
318
|
-
}
|
|
319
|
-
var Oe = j, _e = G, Ne = z, Y = B;
|
|
320
|
-
const Ue = Oe, Ve = _e, Ye = Ne, Ae = a.forwardRef(({ className: e, sideOffset: o = 4, ...t }, r) => /* @__PURE__ */ p(
|
|
321
|
-
Y,
|
|
322
|
-
{
|
|
323
|
-
ref: r,
|
|
324
|
-
sideOffset: o,
|
|
325
|
-
className: $(
|
|
326
|
-
"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
327
|
-
e
|
|
328
|
-
),
|
|
329
|
-
...t
|
|
330
|
-
}
|
|
331
|
-
));
|
|
332
|
-
Ae.displayName = Y.displayName;
|
|
333
|
-
var De = [
|
|
334
|
-
"a",
|
|
335
|
-
"button",
|
|
336
|
-
"div",
|
|
337
|
-
"form",
|
|
338
|
-
"h2",
|
|
339
|
-
"h3",
|
|
340
|
-
"img",
|
|
341
|
-
"input",
|
|
342
|
-
"label",
|
|
343
|
-
"li",
|
|
344
|
-
"nav",
|
|
345
|
-
"ol",
|
|
346
|
-
"p",
|
|
347
|
-
"select",
|
|
348
|
-
"span",
|
|
349
|
-
"svg",
|
|
350
|
-
"ul"
|
|
351
|
-
], Le = De.reduce((e, o) => {
|
|
352
|
-
const t = ee(`Primitive.${o}`), r = a.forwardRef((n, i) => {
|
|
353
|
-
const { asChild: l, ...d } = n, s = l ? t : o;
|
|
354
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(s, { ...d, ref: i });
|
|
355
|
-
});
|
|
356
|
-
return r.displayName = `Primitive.${o}`, { ...e, [o]: r };
|
|
357
|
-
}, {}), Se = "Separator", k = "horizontal", Ie = ["horizontal", "vertical"], q = a.forwardRef((e, o) => {
|
|
358
|
-
const { decorative: t, orientation: r = k, ...n } = e, i = ke(r) ? r : k, d = t ? { role: "none" } : { "aria-orientation": i === "vertical" ? i : void 0, role: "separator" };
|
|
359
|
-
return /* @__PURE__ */ p(
|
|
360
|
-
Le.div,
|
|
361
|
-
{
|
|
362
|
-
"data-orientation": i,
|
|
363
|
-
...d,
|
|
364
|
-
...n,
|
|
365
|
-
ref: o
|
|
366
|
-
}
|
|
367
|
-
);
|
|
368
|
-
});
|
|
369
|
-
q.displayName = Se;
|
|
370
|
-
function ke(e) {
|
|
371
|
-
return Ie.includes(e);
|
|
372
|
-
}
|
|
373
|
-
var X = q;
|
|
374
|
-
const Me = a.forwardRef(({ className: e, orientation: o = "horizontal", decorative: t = !0, ...r }, n) => /* @__PURE__ */ p(
|
|
375
|
-
X,
|
|
376
|
-
{
|
|
377
|
-
ref: n,
|
|
378
|
-
decorative: t,
|
|
379
|
-
orientation: o,
|
|
380
|
-
className: $(
|
|
381
|
-
"shrink-0 bg-border",
|
|
382
|
-
o === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
383
|
-
e
|
|
384
|
-
),
|
|
385
|
-
...r
|
|
386
|
-
}
|
|
387
|
-
));
|
|
388
|
-
Me.displayName = X.displayName;
|
|
389
|
-
export {
|
|
390
|
-
Me as S,
|
|
391
|
-
Ve as T,
|
|
392
|
-
Ye as a,
|
|
393
|
-
Ae as b,
|
|
394
|
-
Ue as c
|
|
395
|
-
};
|
|
396
|
-
//# sourceMappingURL=separator-DyarVo1-.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"separator-DyarVo1-.js","sources":["../node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/@radix-ui/react-tooltip/dist/index.mjs","../src/components/ui/tooltip.tsx","../node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.mjs","../node_modules/@radix-ui/react-separator/dist/index.mjs","../src/components/ui/separator.tsx"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/tooltip.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport * as VisuallyHiddenPrimitive from \"@radix-ui/react-visually-hidden\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar [createTooltipContext, createTooltipScope] = createContextScope(\"Tooltip\", [\n createPopperScope\n]);\nvar usePopperScope = createPopperScope();\nvar PROVIDER_NAME = \"TooltipProvider\";\nvar DEFAULT_DELAY_DURATION = 700;\nvar TOOLTIP_OPEN = \"tooltip.open\";\nvar [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME);\nvar TooltipProvider = (props) => {\n const {\n __scopeTooltip,\n delayDuration = DEFAULT_DELAY_DURATION,\n skipDelayDuration = 300,\n disableHoverableContent = false,\n children\n } = props;\n const isOpenDelayedRef = React.useRef(true);\n const isPointerInTransitRef = React.useRef(false);\n const skipDelayTimerRef = React.useRef(0);\n React.useEffect(() => {\n const skipDelayTimer = skipDelayTimerRef.current;\n return () => window.clearTimeout(skipDelayTimer);\n }, []);\n return /* @__PURE__ */ jsx(\n TooltipProviderContextProvider,\n {\n scope: __scopeTooltip,\n isOpenDelayedRef,\n delayDuration,\n onOpen: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n isOpenDelayedRef.current = false;\n }, []),\n onClose: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n skipDelayTimerRef.current = window.setTimeout(\n () => isOpenDelayedRef.current = true,\n skipDelayDuration\n );\n }, [skipDelayDuration]),\n isPointerInTransitRef,\n onPointerInTransitChange: React.useCallback((inTransit) => {\n isPointerInTransitRef.current = inTransit;\n }, []),\n disableHoverableContent,\n children\n }\n );\n};\nTooltipProvider.displayName = PROVIDER_NAME;\nvar TOOLTIP_NAME = \"Tooltip\";\nvar [TooltipContextProvider, useTooltipContext] = createTooltipContext(TOOLTIP_NAME);\nvar Tooltip = (props) => {\n const {\n __scopeTooltip,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n disableHoverableContent: disableHoverableContentProp,\n delayDuration: delayDurationProp\n } = props;\n const providerContext = useTooltipProviderContext(TOOLTIP_NAME, props.__scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const [trigger, setTrigger] = React.useState(null);\n const contentId = useId();\n const openTimerRef = React.useRef(0);\n const disableHoverableContent = disableHoverableContentProp ?? providerContext.disableHoverableContent;\n const delayDuration = delayDurationProp ?? providerContext.delayDuration;\n const wasOpenDelayedRef = React.useRef(false);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: (open2) => {\n if (open2) {\n providerContext.onOpen();\n document.dispatchEvent(new CustomEvent(TOOLTIP_OPEN));\n } else {\n providerContext.onClose();\n }\n onOpenChange?.(open2);\n },\n caller: TOOLTIP_NAME\n });\n const stateAttribute = React.useMemo(() => {\n return open ? wasOpenDelayedRef.current ? \"delayed-open\" : \"instant-open\" : \"closed\";\n }, [open]);\n const handleOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n wasOpenDelayedRef.current = false;\n setOpen(true);\n }, [setOpen]);\n const handleClose = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n setOpen(false);\n }, [setOpen]);\n const handleDelayedOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = window.setTimeout(() => {\n wasOpenDelayedRef.current = true;\n setOpen(true);\n openTimerRef.current = 0;\n }, delayDuration);\n }, [delayDuration, setOpen]);\n React.useEffect(() => {\n return () => {\n if (openTimerRef.current) {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n };\n }, []);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n TooltipContextProvider,\n {\n scope: __scopeTooltip,\n contentId,\n open,\n stateAttribute,\n trigger,\n onTriggerChange: setTrigger,\n onTriggerEnter: React.useCallback(() => {\n if (providerContext.isOpenDelayedRef.current) handleDelayedOpen();\n else handleOpen();\n }, [providerContext.isOpenDelayedRef, handleDelayedOpen, handleOpen]),\n onTriggerLeave: React.useCallback(() => {\n if (disableHoverableContent) {\n handleClose();\n } else {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n }, [handleClose, disableHoverableContent]),\n onOpen: handleOpen,\n onClose: handleClose,\n disableHoverableContent,\n children\n }\n ) });\n};\nTooltip.displayName = TOOLTIP_NAME;\nvar TRIGGER_NAME = \"TooltipTrigger\";\nvar TooltipTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...triggerProps } = props;\n const context = useTooltipContext(TRIGGER_NAME, __scopeTooltip);\n const providerContext = useTooltipProviderContext(TRIGGER_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref, context.onTriggerChange);\n const isPointerDownRef = React.useRef(false);\n const hasPointerMoveOpenedRef = React.useRef(false);\n const handlePointerUp = React.useCallback(() => isPointerDownRef.current = false, []);\n React.useEffect(() => {\n return () => document.removeEventListener(\"pointerup\", handlePointerUp);\n }, [handlePointerUp]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n \"aria-describedby\": context.open ? context.contentId : void 0,\n \"data-state\": context.stateAttribute,\n ...triggerProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(props.onPointerMove, (event) => {\n if (event.pointerType === \"touch\") return;\n if (!hasPointerMoveOpenedRef.current && !providerContext.isPointerInTransitRef.current) {\n context.onTriggerEnter();\n hasPointerMoveOpenedRef.current = true;\n }\n }),\n onPointerLeave: composeEventHandlers(props.onPointerLeave, () => {\n context.onTriggerLeave();\n hasPointerMoveOpenedRef.current = false;\n }),\n onPointerDown: composeEventHandlers(props.onPointerDown, () => {\n if (context.open) {\n context.onClose();\n }\n isPointerDownRef.current = true;\n document.addEventListener(\"pointerup\", handlePointerUp, { once: true });\n }),\n onFocus: composeEventHandlers(props.onFocus, () => {\n if (!isPointerDownRef.current) context.onOpen();\n }),\n onBlur: composeEventHandlers(props.onBlur, context.onClose),\n onClick: composeEventHandlers(props.onClick, context.onClose)\n }\n ) });\n }\n);\nTooltipTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"TooltipPortal\";\nvar [PortalProvider, usePortalContext] = createTooltipContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar TooltipPortal = (props) => {\n const { __scopeTooltip, forceMount, children, container } = props;\n const context = useTooltipContext(PORTAL_NAME, __scopeTooltip);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nTooltipPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"TooltipContent\";\nvar TooltipContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeTooltip);\n const { forceMount = portalContext.forceMount, side = \"top\", ...contentProps } = props;\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.disableHoverableContent ? /* @__PURE__ */ jsx(TooltipContentImpl, { side, ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(TooltipContentHoverable, { side, ...contentProps, ref: forwardedRef }) });\n }\n);\nvar TooltipContentHoverable = React.forwardRef((props, forwardedRef) => {\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n const providerContext = useTooltipProviderContext(CONTENT_NAME, props.__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [pointerGraceArea, setPointerGraceArea] = React.useState(null);\n const { trigger, onClose } = context;\n const content = ref.current;\n const { onPointerInTransitChange } = providerContext;\n const handleRemoveGraceArea = React.useCallback(() => {\n setPointerGraceArea(null);\n onPointerInTransitChange(false);\n }, [onPointerInTransitChange]);\n const handleCreateGraceArea = React.useCallback(\n (event, hoverTarget) => {\n const currentTarget = event.currentTarget;\n const exitPoint = { x: event.clientX, y: event.clientY };\n const exitSide = getExitSideFromRect(exitPoint, currentTarget.getBoundingClientRect());\n const paddedExitPoints = getPaddedExitPoints(exitPoint, exitSide);\n const hoverTargetPoints = getPointsFromRect(hoverTarget.getBoundingClientRect());\n const graceArea = getHull([...paddedExitPoints, ...hoverTargetPoints]);\n setPointerGraceArea(graceArea);\n onPointerInTransitChange(true);\n },\n [onPointerInTransitChange]\n );\n React.useEffect(() => {\n return () => handleRemoveGraceArea();\n }, [handleRemoveGraceArea]);\n React.useEffect(() => {\n if (trigger && content) {\n const handleTriggerLeave = (event) => handleCreateGraceArea(event, content);\n const handleContentLeave = (event) => handleCreateGraceArea(event, trigger);\n trigger.addEventListener(\"pointerleave\", handleTriggerLeave);\n content.addEventListener(\"pointerleave\", handleContentLeave);\n return () => {\n trigger.removeEventListener(\"pointerleave\", handleTriggerLeave);\n content.removeEventListener(\"pointerleave\", handleContentLeave);\n };\n }\n }, [trigger, content, handleCreateGraceArea, handleRemoveGraceArea]);\n React.useEffect(() => {\n if (pointerGraceArea) {\n const handleTrackPointerGrace = (event) => {\n const target = event.target;\n const pointerPosition = { x: event.clientX, y: event.clientY };\n const hasEnteredTarget = trigger?.contains(target) || content?.contains(target);\n const isPointerOutsideGraceArea = !isPointInPolygon(pointerPosition, pointerGraceArea);\n if (hasEnteredTarget) {\n handleRemoveGraceArea();\n } else if (isPointerOutsideGraceArea) {\n handleRemoveGraceArea();\n onClose();\n }\n };\n document.addEventListener(\"pointermove\", handleTrackPointerGrace);\n return () => document.removeEventListener(\"pointermove\", handleTrackPointerGrace);\n }\n }, [trigger, content, pointerGraceArea, onClose, handleRemoveGraceArea]);\n return /* @__PURE__ */ jsx(TooltipContentImpl, { ...props, ref: composedRefs });\n});\nvar [VisuallyHiddenContentContextProvider, useVisuallyHiddenContentContext] = createTooltipContext(TOOLTIP_NAME, { isInside: false });\nvar Slottable = createSlottable(\"TooltipContent\");\nvar TooltipContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeTooltip,\n children,\n \"aria-label\": ariaLabel,\n onEscapeKeyDown,\n onPointerDownOutside,\n ...contentProps\n } = props;\n const context = useTooltipContext(CONTENT_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const { onClose } = context;\n React.useEffect(() => {\n document.addEventListener(TOOLTIP_OPEN, onClose);\n return () => document.removeEventListener(TOOLTIP_OPEN, onClose);\n }, [onClose]);\n React.useEffect(() => {\n if (context.trigger) {\n const handleScroll = (event) => {\n const target = event.target;\n if (target?.contains(context.trigger)) onClose();\n };\n window.addEventListener(\"scroll\", handleScroll, { capture: true });\n return () => window.removeEventListener(\"scroll\", handleScroll, { capture: true });\n }\n }, [context.trigger, onClose]);\n return /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents: false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside: (event) => event.preventDefault(),\n onDismiss: onClose,\n children: /* @__PURE__ */ jsxs(\n PopperPrimitive.Content,\n {\n \"data-state\": context.stateAttribute,\n ...popperScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n ...contentProps.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-tooltip-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-tooltip-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-tooltip-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-tooltip-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-tooltip-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n },\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(VisuallyHiddenContentContextProvider, { scope: __scopeTooltip, isInside: true, children: /* @__PURE__ */ jsx(VisuallyHiddenPrimitive.Root, { id: context.contentId, role: \"tooltip\", children: ariaLabel || children }) })\n ]\n }\n )\n }\n );\n }\n);\nTooltipContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"TooltipArrow\";\nvar TooltipArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeTooltip);\n const visuallyHiddenContentContext = useVisuallyHiddenContentContext(\n ARROW_NAME,\n __scopeTooltip\n );\n return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nTooltipArrow.displayName = ARROW_NAME;\nfunction getExitSideFromRect(point, rect) {\n const top = Math.abs(rect.top - point.y);\n const bottom = Math.abs(rect.bottom - point.y);\n const right = Math.abs(rect.right - point.x);\n const left = Math.abs(rect.left - point.x);\n switch (Math.min(top, bottom, right, left)) {\n case left:\n return \"left\";\n case right:\n return \"right\";\n case top:\n return \"top\";\n case bottom:\n return \"bottom\";\n default:\n throw new Error(\"unreachable\");\n }\n}\nfunction getPaddedExitPoints(exitPoint, exitSide, padding = 5) {\n const paddedExitPoints = [];\n switch (exitSide) {\n case \"top\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y + padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"bottom\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y - padding }\n );\n break;\n case \"left\":\n paddedExitPoints.push(\n { x: exitPoint.x + padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"right\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x - padding, y: exitPoint.y + padding }\n );\n break;\n }\n return paddedExitPoints;\n}\nfunction getPointsFromRect(rect) {\n const { top, right, bottom, left } = rect;\n return [\n { x: left, y: top },\n { x: right, y: top },\n { x: right, y: bottom },\n { x: left, y: bottom }\n ];\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const ii = polygon[i];\n const jj = polygon[j];\n const xi = ii.x;\n const yi = ii.y;\n const xj = jj.x;\n const yj = jj.y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction getHull(points) {\n const newPoints = points.slice();\n newPoints.sort((a, b) => {\n if (a.x < b.x) return -1;\n else if (a.x > b.x) return 1;\n else if (a.y < b.y) return -1;\n else if (a.y > b.y) return 1;\n else return 0;\n });\n return getHullPresorted(newPoints);\n}\nfunction getHullPresorted(points) {\n if (points.length <= 1) return points.slice();\n const upperHull = [];\n for (let i = 0; i < points.length; i++) {\n const p = points[i];\n while (upperHull.length >= 2) {\n const q = upperHull[upperHull.length - 1];\n const r = upperHull[upperHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) upperHull.pop();\n else break;\n }\n upperHull.push(p);\n }\n upperHull.pop();\n const lowerHull = [];\n for (let i = points.length - 1; i >= 0; i--) {\n const p = points[i];\n while (lowerHull.length >= 2) {\n const q = lowerHull[lowerHull.length - 1];\n const r = lowerHull[lowerHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) lowerHull.pop();\n else break;\n }\n lowerHull.push(p);\n }\n lowerHull.pop();\n if (upperHull.length === 1 && lowerHull.length === 1 && upperHull[0].x === lowerHull[0].x && upperHull[0].y === lowerHull[0].y) {\n return upperHull;\n } else {\n return upperHull.concat(lowerHull);\n }\n}\nvar Provider = TooltipProvider;\nvar Root3 = Tooltip;\nvar Trigger = TooltipTrigger;\nvar Portal = TooltipPortal;\nvar Content2 = TooltipContent;\nvar Arrow2 = TooltipArrow;\nexport {\n Arrow2 as Arrow,\n Content2 as Content,\n Portal,\n Provider,\n Root3 as Root,\n Tooltip,\n TooltipArrow,\n TooltipContent,\n TooltipPortal,\n TooltipProvider,\n TooltipTrigger,\n Trigger,\n createTooltipScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from 'react'\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport { cn } from '@/utils/cn'\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n","// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n","// src/separator.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Separator\";\nvar DEFAULT_ORIENTATION = \"horizontal\";\nvar ORIENTATIONS = [\"horizontal\", \"vertical\"];\nvar Separator = React.forwardRef((props, forwardedRef) => {\n const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;\n const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;\n const ariaOrientation = orientation === \"vertical\" ? orientation : void 0;\n const semanticProps = decorative ? { role: \"none\" } : { \"aria-orientation\": ariaOrientation, role: \"separator\" };\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-orientation\": orientation,\n ...semanticProps,\n ...domProps,\n ref: forwardedRef\n }\n );\n});\nSeparator.displayName = NAME;\nfunction isValidOrientation(orientation) {\n return ORIENTATIONS.includes(orientation);\n}\nvar Root = Separator;\nexport {\n Root,\n Separator\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from 'react'\nimport * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport { cn } from '@/utils/cn'\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',\n className\n )}\n {...props}\n />\n))\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2","createTooltipContext","createContextScope","createPopperScope","usePopperScope","PROVIDER_NAME","DEFAULT_DELAY_DURATION","TOOLTIP_OPEN","TooltipProviderContextProvider","useTooltipProviderContext","TooltipProvider","props","__scopeTooltip","delayDuration","skipDelayDuration","disableHoverableContent","isOpenDelayedRef","React","isPointerInTransitRef","skipDelayTimerRef","skipDelayTimer","inTransit","TOOLTIP_NAME","TooltipContextProvider","useTooltipContext","Tooltip","openProp","defaultOpen","onOpenChange","disableHoverableContentProp","delayDurationProp","providerContext","popperScope","trigger","setTrigger","contentId","useId","openTimerRef","wasOpenDelayedRef","open","setOpen","useControllableState","open2","stateAttribute","handleOpen","handleClose","handleDelayedOpen","PopperPrimitive.Root","TRIGGER_NAME","TooltipTrigger","forwardedRef","triggerProps","context","ref","composedRefs","useComposedRefs","isPointerDownRef","hasPointerMoveOpenedRef","handlePointerUp","PopperPrimitive.Anchor","Primitive","composeEventHandlers","event","PORTAL_NAME","PortalProvider","usePortalContext","CONTENT_NAME","TooltipContent","portalContext","forceMount","side","contentProps","Presence","TooltipContentImpl","TooltipContentHoverable","pointerGraceArea","setPointerGraceArea","onClose","content","onPointerInTransitChange","handleRemoveGraceArea","handleCreateGraceArea","hoverTarget","currentTarget","exitPoint","exitSide","getExitSideFromRect","paddedExitPoints","getPaddedExitPoints","hoverTargetPoints","getPointsFromRect","graceArea","getHull","handleTriggerLeave","handleContentLeave","handleTrackPointerGrace","target","pointerPosition","hasEnteredTarget","isPointerOutsideGraceArea","isPointInPolygon","VisuallyHiddenContentContextProvider","useVisuallyHiddenContentContext","Slottable","ariaLabel","onEscapeKeyDown","onPointerDownOutside","handleScroll","DismissableLayer","jsxs","PopperPrimitive.Content","VisuallyHiddenPrimitive.Root","ARROW_NAME","TooltipArrow","arrowProps","PopperPrimitive.Arrow","point","rect","top","bottom","right","left","padding","polygon","x","y","inside","j","ii","jj","xi","yi","xj","yj","points","newPoints","a","b","getHullPresorted","upperHull","i","p","q","r","lowerHull","Provider","Root3","Trigger","Content2","TooltipPrimitive.Provider","TooltipPrimitive.Root","TooltipPrimitive.Trigger","className","sideOffset","TooltipPrimitive.Content","cn","NODES","primitive","node","Slot","createSlot","Node","asChild","primitiveProps","Comp","NAME","DEFAULT_ORIENTATION","ORIENTATIONS","Separator","decorative","orientationProp","domProps","orientation","isValidOrientation","semanticProps","Root","SeparatorPrimitive.Root"],"mappings":";;;;;;;AA8CA,IAAIA,KAAuB,OAAO,iBAAiB;AAAA;AAEnD,SAASC,GAAgBC,GAAW;AAClC,QAAMC,IAAa,CAAC,EAAE,UAAAC,QACG,gBAAAC,EAAIC,GAAW,EAAE,UAAAF,GAAU;AAEpD,SAAAD,EAAW,cAAc,GAAGD,CAAS,cACrCC,EAAW,YAAYH,IAChBG;AACT;ACrCA,IAAI,CAACI,CAAwC,IAAIC,EAAmB,WAAW;AAAA,EAC7EC;AACF,CAAC,GACGC,IAAiBD,EAAiB,GAClCE,IAAgB,mBAChBC,KAAyB,KACzBC,IAAe,gBACf,CAACC,IAAgCC,CAAyB,IAAIR,EAAqBI,CAAa,GAChGK,IAAkB,CAACC,MAAU;AAC/B,QAAM;AAAA,IACJ,gBAAAC;AAAA,IACA,eAAAC,IAAgBP;AAAA,IAChB,mBAAAQ,IAAoB;AAAA,IACpB,yBAAAC,IAA0B;AAAA,IAC1B,UAAAjB;AAAA,EACJ,IAAMa,GACEK,IAAmBC,EAAM,OAAO,EAAI,GACpCC,IAAwBD,EAAM,OAAO,EAAK,GAC1CE,IAAoBF,EAAM,OAAO,CAAC;AACxC,SAAAA,EAAM,UAAU,MAAM;AACpB,UAAMG,IAAiBD,EAAkB;AACzC,WAAO,MAAM,OAAO,aAAaC,CAAc;AAAA,EACjD,GAAG,CAAA,CAAE,GACkB,gBAAArB;AAAA,IACrBS;AAAA,IACA;AAAA,MACE,OAAOI;AAAA,MACP,kBAAAI;AAAA,MACA,eAAAH;AAAA,MACA,QAAQI,EAAM,YAAY,MAAM;AAC9B,eAAO,a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