@senitix/ui 0.4.0 → 0.4.2
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-BFWc4IB7.js → calendar-86qoSnO7.js} +411 -462
- package/dist/calendar-86qoSnO7.js.map +1 -0
- package/dist/calendar-BH-AuyiB.cjs +7 -0
- package/dist/{calendar-SwL5isYC.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-JUSWONQ0.js +17 -0
- package/dist/{calendar-ChJkFXXr.js.map → calendar-JUSWONQ0.js.map} +1 -1
- package/dist/{card-tMkUxpmW.cjs → card-CToWUN1K.cjs} +2 -2
- package/dist/{card-tMkUxpmW.cjs.map → card-CToWUN1K.cjs.map} +1 -1
- package/dist/{card-K4fxyYwE.js → card-yxbWFvZ1.js} +2 -2
- package/dist/{card-K4fxyYwE.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-CpOq5hkT.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-D-TdAZ7l.cjs +7 -0
- package/dist/{chevron-right-Dvyd11q0.cjs.map → chevron-right-D-TdAZ7l.cjs.map} +1 -1
- package/dist/chevron-right-Di90aqSn.js +14 -0
- package/dist/{chevron-right-B3bovvh0.js.map → chevron-right-Di90aqSn.js.map} +1 -1
- package/dist/chevron-up-Bq55Db6X.cjs +7 -0
- package/dist/{chevron-up-B9fuiZhc.cjs.map → chevron-up-Bq55Db6X.cjs.map} +1 -1
- package/dist/chevron-up-Dr7EIn9V.js +12 -0
- package/dist/{chevron-up-CGtXOr51.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-BPtg-XK3.cjs +2 -0
- package/dist/command-BPtg-XK3.cjs.map +1 -0
- package/dist/command-VraXPLVI.js +404 -0
- package/dist/command-VraXPLVI.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-BFBDL8_i.js +382 -0
- package/dist/dialog-BFBDL8_i.js.map +1 -0
- package/dist/dialog-DO5i1PED.cjs +6 -0
- package/dist/dialog-DO5i1PED.cjs.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-CKhpjj5H.js +16 -0
- package/dist/{ellipsis-CiKEaUNP.js.map → ellipsis-CKhpjj5H.js.map} +1 -1
- package/dist/ellipsis-Dk7Wfc4i.cjs +7 -0
- package/dist/{ellipsis-BW2gWki8.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-CHbdXCWO.js +15 -0
- package/dist/{file-wzTXnWqz.js.map → file-CHbdXCWO.js.map} +1 -1
- package/dist/file-CqYRamm8.cjs +7 -0
- package/dist/{file-V_hhCUhr.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-BGdea5K7.cjs +111 -0
- package/dist/form-preview-BGdea5K7.cjs.map +1 -0
- package/dist/form-preview-C6WfeXyD.js +12075 -0
- package/dist/form-preview-C6WfeXyD.js.map +1 -0
- package/dist/full-calendar-CZMK_rPy.cjs +18 -0
- package/dist/full-calendar-CZMK_rPy.cjs.map +1 -0
- package/dist/full-calendar-CjaDgutS.js +2631 -0
- package/dist/full-calendar-CjaDgutS.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-Dhv8goH8.js +1331 -0
- package/dist/global-search-Dhv8goH8.js.map +1 -0
- package/dist/global-search-msFICB8l.cjs +22 -0
- package/dist/global-search-msFICB8l.cjs.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-CwJPJKOE.js → index-BGUveO6l.js} +1077 -573
- package/dist/index-BGUveO6l.js.map +1 -0
- package/dist/{index-lT9bLt9X.cjs → index-Bhee6XHk.cjs} +2 -2
- package/dist/{index-lT9bLt9X.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-Co9o9StL.js → index-D8-pHJim.js} +2 -2
- package/dist/{index-Co9o9StL.js.map → index-D8-pHJim.js.map} +1 -1
- package/dist/index-Dy_9oyP3.cjs +2 -0
- package/dist/index-Dy_9oyP3.cjs.map +1 -0
- 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-D0jV4-90.cjs +12 -0
- package/dist/locale-selector-D0jV4-90.cjs.map +1 -0
- package/dist/locale-selector-n75sM9qA.js +1740 -0
- package/dist/locale-selector-n75sM9qA.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-BXBFZSZs.cjs.map → minus-BUFkTM0k.cjs.map} +1 -1
- package/dist/minus-DJ0tmymW.js +12 -0
- package/dist/{minus-DvlYtl96.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-D9akBt7B.js +224 -0
- package/dist/multi-select-D9akBt7B.js.map +1 -0
- package/dist/multi-select-DxN_LuXC.cjs +7 -0
- package/dist/multi-select-DxN_LuXC.cjs.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-CTQ1OiTO.js +6128 -0
- package/dist/permission-matrix-CTQ1OiTO.js.map +1 -0
- package/dist/permission-matrix-DRu-cV44.cjs +93 -0
- package/dist/permission-matrix-DRu-cV44.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-8wKRkVu-.cjs.map → plus-Bcuujcqd.cjs.map} +1 -1
- package/dist/plus-D7DMDKb8.js +15 -0
- package/dist/{plus-CJD68KQD.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-CQPnqhfv.js +2577 -0
- package/dist/record-dialog-footer-CQPnqhfv.js.map +1 -0
- package/dist/record-dialog-footer-DLH96eAV.cjs +37 -0
- package/dist/record-dialog-footer-DLH96eAV.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-Ce2C2acZ.js +994 -0
- 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-C0-aBGln.cjs +2 -0
- package/dist/sheet-C0-aBGln.cjs.map +1 -0
- package/dist/sheet-Cyq_eDFW.js +147 -0
- package/dist/sheet-Cyq_eDFW.js.map +1 -0
- package/dist/{skeleton-BmGbfJw3.js → skeleton-C_dwS3_6.js} +2 -2
- package/dist/{skeleton-BmGbfJw3.js.map → skeleton-C_dwS3_6.js.map} +1 -1
- package/dist/{skeleton-BSwwYaQU.cjs → skeleton-D3YsjVWD.cjs} +2 -2
- package/dist/{skeleton-BSwwYaQU.cjs.map → skeleton-D3YsjVWD.cjs.map} +1 -1
- package/dist/sortable.esm-5DsiICDg.cjs +6 -0
- package/dist/{sortable.esm-DcQYlXi3.cjs.map → sortable.esm-5DsiICDg.cjs.map} +1 -1
- package/dist/{sortable.esm-Blhf_jh1.js → sortable.esm-Cb8oRBzU.js} +42 -42
- package/dist/{sortable.esm-Blhf_jh1.js.map → sortable.esm-Cb8oRBzU.js.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 -0
- 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-ljWtN4pj.js +15 -0
- package/dist/{trending-up-DPwlYzQb.js.map → trending-up-ljWtN4pj.js.map} +1 -1
- package/dist/trending-up-mLgmkp--.cjs +7 -0
- package/dist/{trending-up-D3Nfrhi3.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-d97RVcmg.cjs.map → use-formatters-Bb0fX1lW.cjs.map} +1 -1
- package/dist/{use-formatters-l1_2c8z0.js → use-formatters-xeMS4gdV.js} +1317 -1337
- package/dist/{use-formatters-l1_2c8z0.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 +33 -13
- package/dist/avatar-C0aVNCG9.cjs +0 -2
- package/dist/avatar-C0aVNCG9.cjs.map +0 -1
- package/dist/avatar-CN6wcrqY.js +0 -288
- package/dist/avatar-CN6wcrqY.js.map +0 -1
- package/dist/calendar-BFWc4IB7.js.map +0 -1
- package/dist/calendar-BUm7YrNf.cjs +0 -2
- package/dist/calendar-BUm7YrNf.cjs.map +0 -1
- package/dist/calendar-ChJkFXXr.js +0 -11
- package/dist/calendar-SwL5isYC.cjs +0 -2
- package/dist/checkbox-CpOq5hkT.js.map +0 -1
- package/dist/checkbox-D7-LQyCl.cjs +0 -2
- package/dist/checkbox-D7-LQyCl.cjs.map +0 -1
- package/dist/chevron-down-DHdXqOqK.cjs +0 -2
- package/dist/chevron-down-DHdXqOqK.cjs.map +0 -1
- package/dist/chevron-down-DJ1_YIFu.js +0 -8
- package/dist/chevron-down-DJ1_YIFu.js.map +0 -1
- package/dist/chevron-right-B3bovvh0.js +0 -8
- package/dist/chevron-right-Dvyd11q0.cjs +0 -2
- package/dist/chevron-up-B9fuiZhc.cjs +0 -2
- package/dist/chevron-up-CGtXOr51.js +0 -6
- package/dist/createLucideIcon-BbeNo6vq.js +0 -56
- package/dist/createLucideIcon-BbeNo6vq.js.map +0 -1
- package/dist/createLucideIcon-i5GEhNMV.cjs +0 -2
- package/dist/createLucideIcon-i5GEhNMV.cjs.map +0 -1
- package/dist/ellipsis-BW2gWki8.cjs +0 -2
- package/dist/ellipsis-CiKEaUNP.js +0 -10
- package/dist/file-V_hhCUhr.cjs +0 -2
- package/dist/file-wzTXnWqz.js +0 -9
- package/dist/filter-tags-DjUaNXHR.cjs +0 -5
- package/dist/filter-tags-DjUaNXHR.cjs.map +0 -1
- package/dist/filter-tags-i_I8qV1N.js +0 -2658
- package/dist/filter-tags-i_I8qV1N.js.map +0 -1
- package/dist/full-calendar-7ac2FFU6.js +0 -3518
- package/dist/full-calendar-7ac2FFU6.js.map +0 -1
- package/dist/full-calendar-Cpeh5xMP.cjs +0 -8
- package/dist/full-calendar-Cpeh5xMP.cjs.map +0 -1
- package/dist/global-search-UNXjoFlI.cjs +0 -2
- package/dist/global-search-UNXjoFlI.cjs.map +0 -1
- package/dist/global-search-h1rVbP2q.js +0 -1188
- package/dist/global-search-h1rVbP2q.js.map +0 -1
- package/dist/index-CwJPJKOE.js.map +0 -1
- package/dist/index-CzVK9Zyb.cjs +0 -6
- package/dist/index-CzVK9Zyb.cjs.map +0 -1
- package/dist/index-l828OqQN.js +0 -288
- package/dist/index-l828OqQN.js.map +0 -1
- package/dist/index-lGzB9daF.cjs +0 -2
- package/dist/index-lGzB9daF.cjs.map +0 -1
- package/dist/input-CZrckPLk.cjs +0 -42
- package/dist/input-CZrckPLk.cjs.map +0 -1
- package/dist/input-D4AoiWxo.js +0 -3629
- package/dist/input-D4AoiWxo.js.map +0 -1
- package/dist/locale-provider-DHMwuneF.cjs +0 -2
- package/dist/locale-provider-DHMwuneF.cjs.map +0 -1
- package/dist/locale-provider-DanG6RRG.js +0 -1012
- package/dist/locale-provider-DanG6RRG.js.map +0 -1
- package/dist/locale-selector-Ppe0KTi-.cjs +0 -2
- package/dist/locale-selector-Ppe0KTi-.cjs.map +0 -1
- package/dist/locale-selector-xn2GpdP9.js +0 -1745
- package/dist/locale-selector-xn2GpdP9.js.map +0 -1
- package/dist/minus-BXBFZSZs.cjs +0 -2
- package/dist/minus-DvlYtl96.js +0 -6
- package/dist/multi-container-C2UpSw5f.js +0 -731
- package/dist/multi-container-C2UpSw5f.js.map +0 -1
- package/dist/multi-container-DMKL8c9B.cjs +0 -2
- package/dist/multi-container-DMKL8c9B.cjs.map +0 -1
- package/dist/pipeline-By5_8AFg.cjs +0 -2
- package/dist/pipeline-By5_8AFg.cjs.map +0 -1
- package/dist/pipeline-D-QNSU0U.js +0 -1036
- package/dist/pipeline-D-QNSU0U.js.map +0 -1
- package/dist/plus-8wKRkVu-.cjs +0 -2
- package/dist/plus-CJD68KQD.js +0 -9
- package/dist/popover-4V4sGe1U.js +0 -765
- package/dist/popover-4V4sGe1U.js.map +0 -1
- package/dist/popover-ivh-plLc.cjs +0 -2
- package/dist/popover-ivh-plLc.cjs.map +0 -1
- package/dist/progress-CFnuLqnS.cjs +0 -7
- package/dist/progress-CFnuLqnS.cjs.map +0 -1
- package/dist/progress-D5AsrWa6.js +0 -222
- package/dist/progress-D5AsrWa6.js.map +0 -1
- package/dist/scroll-area-DQeqDp3Y.js +0 -952
- package/dist/scroll-area-DQeqDp3Y.js.map +0 -1
- package/dist/scroll-area-DYOiJMXh.cjs +0 -2
- package/dist/scroll-area-DYOiJMXh.cjs.map +0 -1
- package/dist/select-C1rNBi6c.js +0 -974
- package/dist/select-C1rNBi6c.js.map +0 -1
- package/dist/select-m-Mqwxu3.cjs +0 -2
- package/dist/select-m-Mqwxu3.cjs.map +0 -1
- package/dist/separator-DBUivkHq.cjs +0 -2
- package/dist/separator-DBUivkHq.cjs.map +0 -1
- package/dist/separator-DsfoJx-2.js +0 -395
- package/dist/separator-DsfoJx-2.js.map +0 -1
- package/dist/sheet-BVWCpq7E.js +0 -84
- package/dist/sheet-BVWCpq7E.js.map +0 -1
- package/dist/sheet-mKiFLVnK.cjs +0 -2
- package/dist/sheet-mKiFLVnK.cjs.map +0 -1
- package/dist/sortable.esm-DcQYlXi3.cjs +0 -6
- package/dist/sparkline-chart-Da-ehDGv.js +0 -21082
- package/dist/sparkline-chart-Da-ehDGv.js.map +0 -1
- package/dist/sparkline-chart-ca3uTzVK.cjs +0 -68
- package/dist/sparkline-chart-ca3uTzVK.cjs.map +0 -1
- package/dist/trending-up-D3Nfrhi3.cjs +0 -2
- package/dist/trending-up-DPwlYzQb.js +0 -9
- package/dist/ui.css +0 -1
- package/dist/use-formatters-d97RVcmg.cjs +0 -2
- package/dist/welcome-card-CPolYl1D.cjs +0 -2
- package/dist/welcome-card-CPolYl1D.cjs.map +0 -1
- package/dist/welcome-card-CxMJZ8bv.js +0 -963
- package/dist/welcome-card-CxMJZ8bv.js.map +0 -1
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
import { jsx as i, jsxs as D, Fragment as O } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { g as Y, b as J, f as N, P as y, e as v, d as E, i as Q } from "./scroll-area-CGNbDUBQ.js";
|
|
4
|
+
import { u as ee, e as h, P as te, j as oe, i as ne, k as ae, F as re, D as se } from "./input-Pfq8fkiV.js";
|
|
5
|
+
import { c as p } from "./index-BGUveO6l.js";
|
|
6
|
+
import { u as ie } from "./locale-provider-BHGNO4j7.js";
|
|
7
|
+
import { c as le } from "./button-BP_ug5gP.js";
|
|
8
|
+
import { X as ce } from "./x-BBkgEhUv.js";
|
|
9
|
+
// @__NO_SIDE_EFFECTS__
|
|
10
|
+
function de(e) {
|
|
11
|
+
const t = /* @__PURE__ */ ue(e), n = s.forwardRef((a, o) => {
|
|
12
|
+
const { children: r, ...l } = a, c = s.Children.toArray(r), d = c.find(ge);
|
|
13
|
+
if (d) {
|
|
14
|
+
const u = d.props.children, m = c.map((x) => x === d ? s.Children.count(u) > 1 ? s.Children.only(null) : s.isValidElement(u) ? u.props.children : null : x);
|
|
15
|
+
return /* @__PURE__ */ i(t, { ...l, ref: o, children: s.isValidElement(u) ? s.cloneElement(u, void 0, m) : null });
|
|
16
|
+
}
|
|
17
|
+
return /* @__PURE__ */ i(t, { ...l, ref: o, children: r });
|
|
18
|
+
});
|
|
19
|
+
return n.displayName = `${e}.Slot`, n;
|
|
20
|
+
}
|
|
21
|
+
// @__NO_SIDE_EFFECTS__
|
|
22
|
+
function ue(e) {
|
|
23
|
+
const t = s.forwardRef((n, a) => {
|
|
24
|
+
const { children: o, ...r } = n;
|
|
25
|
+
if (s.isValidElement(o)) {
|
|
26
|
+
const l = me(o), c = pe(r, o.props);
|
|
27
|
+
return o.type !== s.Fragment && (c.ref = a ? Y(a, l) : l), s.cloneElement(o, c);
|
|
28
|
+
}
|
|
29
|
+
return s.Children.count(o) > 1 ? s.Children.only(null) : null;
|
|
30
|
+
});
|
|
31
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
32
|
+
}
|
|
33
|
+
var fe = Symbol("radix.slottable");
|
|
34
|
+
function ge(e) {
|
|
35
|
+
return s.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === fe;
|
|
36
|
+
}
|
|
37
|
+
function pe(e, t) {
|
|
38
|
+
const n = { ...t };
|
|
39
|
+
for (const a in t) {
|
|
40
|
+
const o = e[a], r = t[a];
|
|
41
|
+
/^on[A-Z]/.test(a) ? o && r ? n[a] = (...c) => {
|
|
42
|
+
const d = r(...c);
|
|
43
|
+
return o(...c), d;
|
|
44
|
+
} : o && (n[a] = o) : a === "style" ? n[a] = { ...o, ...r } : a === "className" && (n[a] = [o, r].filter(Boolean).join(" "));
|
|
45
|
+
}
|
|
46
|
+
return { ...e, ...n };
|
|
47
|
+
}
|
|
48
|
+
function me(e) {
|
|
49
|
+
var a, o;
|
|
50
|
+
let t = (a = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : a.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
51
|
+
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
52
|
+
}
|
|
53
|
+
var R = "Dialog", [w, Ge] = J(R), [De, f] = w(R), I = (e) => {
|
|
54
|
+
const {
|
|
55
|
+
__scopeDialog: t,
|
|
56
|
+
children: n,
|
|
57
|
+
open: a,
|
|
58
|
+
defaultOpen: o,
|
|
59
|
+
onOpenChange: r,
|
|
60
|
+
modal: l = !0
|
|
61
|
+
} = e, c = s.useRef(null), d = s.useRef(null), [u, m] = ee({
|
|
62
|
+
prop: a,
|
|
63
|
+
defaultProp: o ?? !1,
|
|
64
|
+
onChange: r,
|
|
65
|
+
caller: R
|
|
66
|
+
});
|
|
67
|
+
return /* @__PURE__ */ i(
|
|
68
|
+
De,
|
|
69
|
+
{
|
|
70
|
+
scope: t,
|
|
71
|
+
triggerRef: c,
|
|
72
|
+
contentRef: d,
|
|
73
|
+
contentId: h(),
|
|
74
|
+
titleId: h(),
|
|
75
|
+
descriptionId: h(),
|
|
76
|
+
open: u,
|
|
77
|
+
onOpenChange: m,
|
|
78
|
+
onOpenToggle: s.useCallback(() => m((x) => !x), [m]),
|
|
79
|
+
modal: l,
|
|
80
|
+
children: n
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
};
|
|
84
|
+
I.displayName = R;
|
|
85
|
+
var T = "DialogTrigger", A = s.forwardRef(
|
|
86
|
+
(e, t) => {
|
|
87
|
+
const { __scopeDialog: n, ...a } = e, o = f(T, n), r = E(t, o.triggerRef);
|
|
88
|
+
return /* @__PURE__ */ i(
|
|
89
|
+
y.button,
|
|
90
|
+
{
|
|
91
|
+
type: "button",
|
|
92
|
+
"aria-haspopup": "dialog",
|
|
93
|
+
"aria-expanded": o.open,
|
|
94
|
+
"aria-controls": o.contentId,
|
|
95
|
+
"data-state": P(o.open),
|
|
96
|
+
...a,
|
|
97
|
+
ref: r,
|
|
98
|
+
onClick: v(e.onClick, o.onOpenToggle)
|
|
99
|
+
}
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
A.displayName = T;
|
|
104
|
+
var _ = "DialogPortal", [ve, S] = w(_, {
|
|
105
|
+
forceMount: void 0
|
|
106
|
+
}), F = (e) => {
|
|
107
|
+
const { __scopeDialog: t, forceMount: n, children: a, container: o } = e, r = f(_, t);
|
|
108
|
+
return /* @__PURE__ */ i(ve, { scope: t, forceMount: n, children: s.Children.map(a, (l) => /* @__PURE__ */ i(N, { present: n || r.open, children: /* @__PURE__ */ i(te, { asChild: !0, container: o, children: l }) })) });
|
|
109
|
+
};
|
|
110
|
+
F.displayName = _;
|
|
111
|
+
var C = "DialogOverlay", M = s.forwardRef(
|
|
112
|
+
(e, t) => {
|
|
113
|
+
const n = S(C, e.__scopeDialog), { forceMount: a = n.forceMount, ...o } = e, r = f(C, e.__scopeDialog);
|
|
114
|
+
return r.modal ? /* @__PURE__ */ i(N, { present: a || r.open, children: /* @__PURE__ */ i(xe, { ...o, ref: t }) }) : null;
|
|
115
|
+
}
|
|
116
|
+
);
|
|
117
|
+
M.displayName = C;
|
|
118
|
+
var ye = /* @__PURE__ */ de("DialogOverlay.RemoveScroll"), xe = s.forwardRef(
|
|
119
|
+
(e, t) => {
|
|
120
|
+
const { __scopeDialog: n, ...a } = e, o = f(C, n);
|
|
121
|
+
return (
|
|
122
|
+
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
123
|
+
// ie. when `Overlay` and `Content` are siblings
|
|
124
|
+
/* @__PURE__ */ i(oe, { as: ye, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ i(
|
|
125
|
+
y.div,
|
|
126
|
+
{
|
|
127
|
+
"data-state": P(o.open),
|
|
128
|
+
...a,
|
|
129
|
+
ref: t,
|
|
130
|
+
style: { pointerEvents: "auto", ...a.style }
|
|
131
|
+
}
|
|
132
|
+
) })
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
), g = "DialogContent", W = s.forwardRef(
|
|
136
|
+
(e, t) => {
|
|
137
|
+
const n = S(g, e.__scopeDialog), { forceMount: a = n.forceMount, ...o } = e, r = f(g, e.__scopeDialog);
|
|
138
|
+
return /* @__PURE__ */ i(N, { present: a || r.open, children: r.modal ? /* @__PURE__ */ i(Ce, { ...o, ref: t }) : /* @__PURE__ */ i(Re, { ...o, ref: t }) });
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
W.displayName = g;
|
|
142
|
+
var Ce = s.forwardRef(
|
|
143
|
+
(e, t) => {
|
|
144
|
+
const n = f(g, e.__scopeDialog), a = s.useRef(null), o = E(t, n.contentRef, a);
|
|
145
|
+
return s.useEffect(() => {
|
|
146
|
+
const r = a.current;
|
|
147
|
+
if (r) return ne(r);
|
|
148
|
+
}, []), /* @__PURE__ */ i(
|
|
149
|
+
$,
|
|
150
|
+
{
|
|
151
|
+
...e,
|
|
152
|
+
ref: o,
|
|
153
|
+
trapFocus: n.open,
|
|
154
|
+
disableOutsidePointerEvents: !0,
|
|
155
|
+
onCloseAutoFocus: v(e.onCloseAutoFocus, (r) => {
|
|
156
|
+
var l;
|
|
157
|
+
r.preventDefault(), (l = n.triggerRef.current) == null || l.focus();
|
|
158
|
+
}),
|
|
159
|
+
onPointerDownOutside: v(e.onPointerDownOutside, (r) => {
|
|
160
|
+
const l = r.detail.originalEvent, c = l.button === 0 && l.ctrlKey === !0;
|
|
161
|
+
(l.button === 2 || c) && r.preventDefault();
|
|
162
|
+
}),
|
|
163
|
+
onFocusOutside: v(
|
|
164
|
+
e.onFocusOutside,
|
|
165
|
+
(r) => r.preventDefault()
|
|
166
|
+
)
|
|
167
|
+
}
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
), Re = s.forwardRef(
|
|
171
|
+
(e, t) => {
|
|
172
|
+
const n = f(g, e.__scopeDialog), a = s.useRef(!1), o = s.useRef(!1);
|
|
173
|
+
return /* @__PURE__ */ i(
|
|
174
|
+
$,
|
|
175
|
+
{
|
|
176
|
+
...e,
|
|
177
|
+
ref: t,
|
|
178
|
+
trapFocus: !1,
|
|
179
|
+
disableOutsidePointerEvents: !1,
|
|
180
|
+
onCloseAutoFocus: (r) => {
|
|
181
|
+
var l, c;
|
|
182
|
+
(l = e.onCloseAutoFocus) == null || l.call(e, r), r.defaultPrevented || (a.current || (c = n.triggerRef.current) == null || c.focus(), r.preventDefault()), a.current = !1, o.current = !1;
|
|
183
|
+
},
|
|
184
|
+
onInteractOutside: (r) => {
|
|
185
|
+
var d, u;
|
|
186
|
+
(d = e.onInteractOutside) == null || d.call(e, r), r.defaultPrevented || (a.current = !0, r.detail.originalEvent.type === "pointerdown" && (o.current = !0));
|
|
187
|
+
const l = r.target;
|
|
188
|
+
((u = n.triggerRef.current) == null ? void 0 : u.contains(l)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && o.current && r.preventDefault();
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
), $ = s.forwardRef(
|
|
194
|
+
(e, t) => {
|
|
195
|
+
const { __scopeDialog: n, trapFocus: a, onOpenAutoFocus: o, onCloseAutoFocus: r, ...l } = e, c = f(g, n), d = s.useRef(null), u = E(t, d);
|
|
196
|
+
return ae(), /* @__PURE__ */ D(O, { children: [
|
|
197
|
+
/* @__PURE__ */ i(
|
|
198
|
+
re,
|
|
199
|
+
{
|
|
200
|
+
asChild: !0,
|
|
201
|
+
loop: !0,
|
|
202
|
+
trapped: a,
|
|
203
|
+
onMountAutoFocus: o,
|
|
204
|
+
onUnmountAutoFocus: r,
|
|
205
|
+
children: /* @__PURE__ */ i(
|
|
206
|
+
se,
|
|
207
|
+
{
|
|
208
|
+
role: "dialog",
|
|
209
|
+
id: c.contentId,
|
|
210
|
+
"aria-describedby": c.descriptionId,
|
|
211
|
+
"aria-labelledby": c.titleId,
|
|
212
|
+
"data-state": P(c.open),
|
|
213
|
+
...l,
|
|
214
|
+
ref: u,
|
|
215
|
+
onDismiss: () => c.onOpenChange(!1)
|
|
216
|
+
}
|
|
217
|
+
)
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
/* @__PURE__ */ D(O, { children: [
|
|
221
|
+
/* @__PURE__ */ i(he, { titleId: c.titleId }),
|
|
222
|
+
/* @__PURE__ */ i(Ee, { contentRef: d, descriptionId: c.descriptionId })
|
|
223
|
+
] })
|
|
224
|
+
] });
|
|
225
|
+
}
|
|
226
|
+
), b = "DialogTitle", k = s.forwardRef(
|
|
227
|
+
(e, t) => {
|
|
228
|
+
const { __scopeDialog: n, ...a } = e, o = f(b, n);
|
|
229
|
+
return /* @__PURE__ */ i(y.h2, { id: o.titleId, ...a, ref: t });
|
|
230
|
+
}
|
|
231
|
+
);
|
|
232
|
+
k.displayName = b;
|
|
233
|
+
var L = "DialogDescription", V = s.forwardRef(
|
|
234
|
+
(e, t) => {
|
|
235
|
+
const { __scopeDialog: n, ...a } = e, o = f(L, n);
|
|
236
|
+
return /* @__PURE__ */ i(y.p, { id: o.descriptionId, ...a, ref: t });
|
|
237
|
+
}
|
|
238
|
+
);
|
|
239
|
+
V.displayName = L;
|
|
240
|
+
var j = "DialogClose", G = s.forwardRef(
|
|
241
|
+
(e, t) => {
|
|
242
|
+
const { __scopeDialog: n, ...a } = e, o = f(j, n);
|
|
243
|
+
return /* @__PURE__ */ i(
|
|
244
|
+
y.button,
|
|
245
|
+
{
|
|
246
|
+
type: "button",
|
|
247
|
+
...a,
|
|
248
|
+
ref: t,
|
|
249
|
+
onClick: v(e.onClick, () => o.onOpenChange(!1))
|
|
250
|
+
}
|
|
251
|
+
);
|
|
252
|
+
}
|
|
253
|
+
);
|
|
254
|
+
G.displayName = j;
|
|
255
|
+
function P(e) {
|
|
256
|
+
return e ? "open" : "closed";
|
|
257
|
+
}
|
|
258
|
+
var z = "DialogTitleWarning", [ze, H] = Q(z, {
|
|
259
|
+
contentName: g,
|
|
260
|
+
titleName: b,
|
|
261
|
+
docsSlug: "dialog"
|
|
262
|
+
}), he = ({ titleId: e }) => {
|
|
263
|
+
const t = H(z), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
264
|
+
|
|
265
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
266
|
+
|
|
267
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;
|
|
268
|
+
return s.useEffect(() => {
|
|
269
|
+
e && (document.getElementById(e) || console.error(n));
|
|
270
|
+
}, [n, e]), null;
|
|
271
|
+
}, Ne = "DialogDescriptionWarning", Ee = ({ contentRef: e, descriptionId: t }) => {
|
|
272
|
+
const a = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${H(Ne).contentName}}.`;
|
|
273
|
+
return s.useEffect(() => {
|
|
274
|
+
var r;
|
|
275
|
+
const o = (r = e.current) == null ? void 0 : r.getAttribute("aria-describedby");
|
|
276
|
+
t && o && (document.getElementById(t) || console.warn(a));
|
|
277
|
+
}, [a, e, t]), null;
|
|
278
|
+
}, _e = I, be = A, Pe = F, B = M, Z = W, q = k, K = V, U = G;
|
|
279
|
+
const He = _e, Be = be, Oe = Pe, Ze = U, X = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ i(
|
|
280
|
+
B,
|
|
281
|
+
{
|
|
282
|
+
ref: n,
|
|
283
|
+
className: p(
|
|
284
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
285
|
+
e
|
|
286
|
+
),
|
|
287
|
+
...t
|
|
288
|
+
}
|
|
289
|
+
));
|
|
290
|
+
X.displayName = B.displayName;
|
|
291
|
+
const we = le(
|
|
292
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
293
|
+
{
|
|
294
|
+
variants: {
|
|
295
|
+
size: {
|
|
296
|
+
sm: "max-w-sm",
|
|
297
|
+
md: "max-w-md",
|
|
298
|
+
lg: "max-w-lg",
|
|
299
|
+
xl: "max-w-xl",
|
|
300
|
+
"2xl": "max-w-2xl",
|
|
301
|
+
"3xl": "max-w-3xl",
|
|
302
|
+
"4xl": "max-w-4xl",
|
|
303
|
+
full: "max-w-full"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
defaultVariants: {
|
|
307
|
+
size: "lg"
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
), Ie = s.forwardRef(({ className: e, children: t, size: n, ...a }, o) => {
|
|
311
|
+
const { t: r } = ie();
|
|
312
|
+
return /* @__PURE__ */ D(Oe, { children: [
|
|
313
|
+
/* @__PURE__ */ i(X, {}),
|
|
314
|
+
/* @__PURE__ */ D(
|
|
315
|
+
Z,
|
|
316
|
+
{
|
|
317
|
+
ref: o,
|
|
318
|
+
className: p(we({ size: n }), e),
|
|
319
|
+
...a,
|
|
320
|
+
children: [
|
|
321
|
+
t,
|
|
322
|
+
/* @__PURE__ */ D(U, { className: "absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
323
|
+
/* @__PURE__ */ i(ce, { className: "h-4 w-4" }),
|
|
324
|
+
/* @__PURE__ */ i("span", { className: "sr-only", children: r("common.close") })
|
|
325
|
+
] })
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
)
|
|
329
|
+
] });
|
|
330
|
+
});
|
|
331
|
+
Ie.displayName = Z.displayName;
|
|
332
|
+
const Te = ({ className: e, ...t }) => /* @__PURE__ */ i("div", { className: p("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
|
|
333
|
+
Te.displayName = "DialogHeader";
|
|
334
|
+
const Ae = ({ className: e, ...t }) => /* @__PURE__ */ i(
|
|
335
|
+
"div",
|
|
336
|
+
{
|
|
337
|
+
className: p("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
|
|
338
|
+
...t
|
|
339
|
+
}
|
|
340
|
+
);
|
|
341
|
+
Ae.displayName = "DialogFooter";
|
|
342
|
+
const Se = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ i(
|
|
343
|
+
q,
|
|
344
|
+
{
|
|
345
|
+
ref: n,
|
|
346
|
+
className: p("text-lg font-semibold leading-none tracking-tight", e),
|
|
347
|
+
...t
|
|
348
|
+
}
|
|
349
|
+
));
|
|
350
|
+
Se.displayName = q.displayName;
|
|
351
|
+
const Fe = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ i(
|
|
352
|
+
K,
|
|
353
|
+
{
|
|
354
|
+
ref: n,
|
|
355
|
+
className: p("text-sm text-muted-foreground", e),
|
|
356
|
+
...t
|
|
357
|
+
}
|
|
358
|
+
));
|
|
359
|
+
Fe.displayName = K.displayName;
|
|
360
|
+
export {
|
|
361
|
+
Z as C,
|
|
362
|
+
He as D,
|
|
363
|
+
B as O,
|
|
364
|
+
Pe as P,
|
|
365
|
+
_e as R,
|
|
366
|
+
be as T,
|
|
367
|
+
ze as W,
|
|
368
|
+
Oe as a,
|
|
369
|
+
X as b,
|
|
370
|
+
Ze as c,
|
|
371
|
+
Be as d,
|
|
372
|
+
Ie as e,
|
|
373
|
+
Te as f,
|
|
374
|
+
Ae as g,
|
|
375
|
+
Se as h,
|
|
376
|
+
Fe as i,
|
|
377
|
+
U as j,
|
|
378
|
+
q as k,
|
|
379
|
+
K as l,
|
|
380
|
+
Ge as m
|
|
381
|
+
};
|
|
382
|
+
//# sourceMappingURL=dialog-BFBDL8_i.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog-BFBDL8_i.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/@radix-ui/react-dialog/dist/index.mjs","../src/components/ui/dialog.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/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from 'react'\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport { X } from 'lucide-react'\nimport { cn } from '@/utils/cn'\nimport { useLocale } from '@/providers/locale-provider'\nimport { cva, type VariantProps } from 'class-variance-authority'\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n 'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst dialogContentVariants = cva(\n 'fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg',\n {\n variants: {\n size: {\n sm: 'max-w-sm',\n md: 'max-w-md',\n lg: 'max-w-lg',\n xl: 'max-w-xl',\n '2xl': 'max-w-2xl',\n '3xl': 'max-w-3xl',\n '4xl': 'max-w-4xl',\n full: 'max-w-full',\n },\n },\n defaultVariants: {\n size: 'lg',\n },\n }\n)\n\nexport interface DialogContentProps\n extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>,\n VariantProps<typeof dialogContentVariants> {}\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n DialogContentProps\n>(({ className, children, size, ...props }, ref) => {\n const { t } = useLocale()\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(dialogContentVariants({ size }), className)}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">{t('common.close')}</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n )\n})\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col space-y-1.5 text-center sm:text-left', className)} {...props} />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)}\n {...props}\n />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogClose,\n DialogTrigger,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","_a","mayWarn","_b","DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","__scopeDialog","openProp","defaultOpen","onOpenChange","modal","triggerRef","contentRef","open","setOpen","useControllableState","useId","prevOpen","TRIGGER_NAME","DialogTrigger","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","Slot","RemoveScroll","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Trigger","Portal","Overlay","Content","Title","Description","Close","DialogPrimitive.Root","DialogPrimitive.Trigger","DialogPrimitive.Portal","DialogPrimitive.Close","className","ref","DialogPrimitive.Overlay","cn","dialogContentVariants","cva","size","t","useLocale","DialogPrimitive.Content","X","DialogHeader","DialogFooter","DialogPrimitive.Title","DialogPrimitive.Description"],"mappings":";;;;;;;;;AAKA,SAASA,GAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,GAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,EAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuB,gBAAAC,EAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACpL;AACA,WAAuB,gBAAAE,EAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAAC,GAAU;AAAA,EACrF,CAAC;AACD,SAAAJ,EAAM,c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AACN,CACD;AACDkG,GAAY,cAAc2C,EAAsB;AAEhD,MAAMxC,KAAoBtG,EAAM,WAG9B,CAAC,EAAE,WAAAiI,GAAW,GAAGhI,EAAA,GAASiI,MAC1B,gBAAAvH;AAAA,EAACoI;AAAAA,EAAA;AAAA,IACC,KAAAb;AAAA,IACA,WAAWE,EAAG,iCAAiCH,CAAS;AAAA,IACvD,GAAGhI;AAAA,EAAA;AACN,CACD;AACDqG,GAAkB,cAAcyC,EAA4B;","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),te=require("react"),d=require("./scroll-area-HsTSI_58.cjs"),p=require("./input-UBp7V7li.cjs"),x=require("./index-Dy_9oyP3.cjs"),oe=require("./locale-provider-BScpm-eC.cjs"),ne=require("./button-CPuCii0R.cjs"),re=require("./x-D-El5XAY.cjs");function ae(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const s=ae(te);function se(e){const t=ie(e),o=s.forwardRef((r,n)=>{const{children:a,...l}=r,c=s.Children.toArray(a),u=c.find(ce);if(u){const f=u.props.children,D=c.map(v=>v===u?s.Children.count(f)>1?s.Children.only(null):s.isValidElement(f)?f.props.children:null:v);return i.jsx(t,{...l,ref:n,children:s.isValidElement(f)?s.cloneElement(f,void 0,D):null})}return i.jsx(t,{...l,ref:n,children:a})});return o.displayName=`${e}.Slot`,o}function ie(e){const t=s.forwardRef((o,r)=>{const{children:n,...a}=o;if(s.isValidElement(n)){const l=ue(n),c=de(a,n.props);return n.type!==s.Fragment&&(c.ref=r?d.composeRefs(r,l):l),s.cloneElement(n,c)}return s.Children.count(n)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var le=Symbol("radix.slottable");function ce(e){return s.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===le}function de(e,t){const o={...t};for(const r in t){const n=e[r],a=t[r];/^on[A-Z]/.test(r)?n&&a?o[r]=(...c)=>{const u=a(...c);return n(...c),u}:n&&(o[r]=n):r==="style"?o[r]={...n,...a}:r==="className"&&(o[r]=[n,a].filter(Boolean).join(" "))}return{...e,...o}}function ue(e){var r,n;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var C="Dialog",[w,fe]=d.createContextScope(C),[ge,g]=w(C),I=e=>{const{__scopeDialog:t,children:o,open:r,defaultOpen:n,onOpenChange:a,modal:l=!0}=e,c=s.useRef(null),u=s.useRef(null),[f,D]=p.useControllableState({prop:r,defaultProp:n??!1,onChange:a,caller:C});return i.jsx(ge,{scope:t,triggerRef:c,contentRef:u,contentId:p.useId(),titleId:p.useId(),descriptionId:p.useId(),open:f,onOpenChange:D,onOpenToggle:s.useCallback(()=>D(v=>!v),[D]),modal:l,children:o})};I.displayName=C;var T="DialogTrigger",A=s.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,n=g(T,o),a=d.useComposedRefs(t,n.triggerRef);return i.jsx(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":h(n.open),...r,ref:a,onClick:d.composeEventHandlers(e.onClick,n.onOpenToggle)})});A.displayName=T;var R="DialogPortal",[pe,S]=w(R,{forceMount:void 0}),F=e=>{const{__scopeDialog:t,forceMount:o,children:r,container:n}=e,a=g(R,t);return i.jsx(pe,{scope:t,forceMount:o,children:s.Children.map(r,l=>i.jsx(d.Presence,{present:o||a.open,children:i.jsx(p.Portal,{asChild:!0,container:n,children:l})}))})};F.displayName=R;var y="DialogOverlay",M=s.forwardRef((e,t)=>{const o=S(y,e.__scopeDialog),{forceMount:r=o.forceMount,...n}=e,a=g(y,e.__scopeDialog);return a.modal?i.jsx(d.Presence,{present:r||a.open,children:i.jsx(xe,{...n,ref:t})}):null});M.displayName=y;var me=se("DialogOverlay.RemoveScroll"),xe=s.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,n=g(y,o);return i.jsx(p.ReactRemoveScroll,{as:me,allowPinchZoom:!0,shards:[n.contentRef],children:i.jsx(d.Primitive.div,{"data-state":h(n.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),m="DialogContent",W=s.forwardRef((e,t)=>{const o=S(m,e.__scopeDialog),{forceMount:r=o.forceMount,...n}=e,a=g(m,e.__scopeDialog);return i.jsx(d.Presence,{present:r||a.open,children:a.modal?i.jsx(De,{...n,ref:t}):i.jsx(ve,{...n,ref:t})})});W.displayName=m;var De=s.forwardRef((e,t)=>{const o=g(m,e.__scopeDialog),r=s.useRef(null),n=d.useComposedRefs(t,o.contentRef,r);return s.useEffect(()=>{const a=r.current;if(a)return p.hideOthers(a)},[]),i.jsx($,{...e,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:d.composeEventHandlers(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),(l=o.triggerRef.current)==null||l.focus()}),onPointerDownOutside:d.composeEventHandlers(e.onPointerDownOutside,a=>{const l=a.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&a.preventDefault()}),onFocusOutside:d.composeEventHandlers(e.onFocusOutside,a=>a.preventDefault())})}),ve=s.forwardRef((e,t)=>{const o=g(m,e.__scopeDialog),r=s.useRef(!1),n=s.useRef(!1);return i.jsx($,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var l,c;(l=e.onCloseAutoFocus)==null||l.call(e,a),a.defaultPrevented||(r.current||(c=o.triggerRef.current)==null||c.focus(),a.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:a=>{var u,f;(u=e.onInteractOutside)==null||u.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const l=a.target;((f=o.triggerRef.current)==null?void 0:f.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&n.current&&a.preventDefault()}})}),$=s.forwardRef((e,t)=>{const{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:a,...l}=e,c=g(m,o),u=s.useRef(null),f=d.useComposedRefs(t,u);return p.useFocusGuards(),i.jsxs(i.Fragment,{children:[i.jsx(p.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:a,children:i.jsx(p.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":h(c.open),...l,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(Ce,{titleId:c.titleId}),i.jsx(Ne,{contentRef:u,descriptionId:c.descriptionId})]})]})}),N="DialogTitle",k=s.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,n=g(N,o);return i.jsx(d.Primitive.h2,{id:n.titleId,...r,ref:t})});k.displayName=N;var H="DialogDescription",L=s.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,n=g(H,o);return i.jsx(d.Primitive.p,{id:n.descriptionId,...r,ref:t})});L.displayName=H;var V="DialogClose",q=s.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,n=g(V,o);return i.jsx(d.Primitive.button,{type:"button",...r,ref:t,onClick:d.composeEventHandlers(e.onClick,()=>n.onOpenChange(!1))})});q.displayName=V;function h(e){return e?"open":"closed"}var G="DialogTitleWarning",[ye,z]=d.createContext2(G,{contentName:m,titleName:N,docsSlug:"dialog"}),Ce=({titleId:e})=>{const t=z(G),o=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
2
|
+
|
|
3
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
4
|
+
|
|
5
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return s.useEffect(()=>{e&&(document.getElementById(e)||console.error(o))},[o,e]),null},Re="DialogDescriptionWarning",Ne=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${z(Re).contentName}}.`;return s.useEffect(()=>{var a;const n=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},B=I,Z=A,K=F,E=M,P=W,_=k,b=L,j=q;const he=B,Ee=Z,U=K,Pe=j,O=s.forwardRef(({className:e,...t},o)=>i.jsx(E,{ref:o,className:x.cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));O.displayName=E.displayName;const _e=ne.cva("fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",{variants:{size:{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl",full:"max-w-full"}},defaultVariants:{size:"lg"}}),X=s.forwardRef(({className:e,children:t,size:o,...r},n)=>{const{t:a}=oe.useLocale();return i.jsxs(U,{children:[i.jsx(O,{}),i.jsxs(P,{ref:n,className:x.cn(_e({size:o}),e),...r,children:[t,i.jsxs(j,{className:"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[i.jsx(re.X,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:a("common.close")})]})]})]})});X.displayName=P.displayName;const Y=({className:e,...t})=>i.jsx("div",{className:x.cn("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Y.displayName="DialogHeader";const J=({className:e,...t})=>i.jsx("div",{className:x.cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});J.displayName="DialogFooter";const Q=s.forwardRef(({className:e,...t},o)=>i.jsx(_,{ref:o,className:x.cn("text-lg font-semibold leading-none tracking-tight",e),...t}));Q.displayName=_.displayName;const ee=s.forwardRef(({className:e,...t},o)=>i.jsx(b,{ref:o,className:x.cn("text-sm text-muted-foreground",e),...t}));ee.displayName=b.displayName;exports.Close=j;exports.Content=P;exports.Description=b;exports.Dialog=he;exports.DialogClose=Pe;exports.DialogContent=X;exports.DialogDescription=ee;exports.DialogFooter=J;exports.DialogHeader=Y;exports.DialogOverlay=O;exports.DialogPortal=U;exports.DialogTitle=Q;exports.DialogTrigger=Ee;exports.Overlay=E;exports.Portal=K;exports.Root=B;exports.Title=_;exports.Trigger=Z;exports.WarningProvider=ye;exports.createDialogScope=fe;
|
|
6
|
+
//# sourceMappingURL=dialog-DO5i1PED.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog-DO5i1PED.cjs","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/@radix-ui/react-dialog/dist/index.mjs","../src/components/ui/dialog.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/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from 'react'\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport { X } from 'lucide-react'\nimport { cn } from '@/utils/cn'\nimport { useLocale } from '@/providers/locale-provider'\nimport { cva, type VariantProps } from 'class-variance-authority'\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n 'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst dialogContentVariants = cva(\n 'fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg',\n {\n variants: {\n size: {\n sm: 'max-w-sm',\n md: 'max-w-md',\n lg: 'max-w-lg',\n xl: 'max-w-xl',\n '2xl': 'max-w-2xl',\n '3xl': 'max-w-3xl',\n '4xl': 'max-w-4xl',\n full: 'max-w-full',\n },\n },\n defaultVariants: {\n size: 'lg',\n },\n }\n)\n\nexport interface DialogContentProps\n extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>,\n VariantProps<typeof dialogContentVariants> {}\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n DialogContentProps\n>(({ className, children, size, ...props }, ref) => {\n const { t } = useLocale()\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(dialogContentVariants({ size }), className)}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">{t('common.close')}</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n )\n})\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col space-y-1.5 text-center sm:text-left', className)} {...props} />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)}\n {...props}\n />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogClose,\n DialogTrigger,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","_a","mayWarn","_b","DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","__scopeDialog","openProp","defaultOpen","onOpenChange","modal","triggerRef","contentRef","open","setOpen","useControllableState","useId","prevOpen","TRIGGER_NAME","DialogTrigger","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","Slot","RemoveScroll","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Trigger","Portal","Overlay","Content","Title","Description","Close","DialogPrimitive.Root","DialogPrimitive.Trigger","DialogPrimitive.Portal","DialogPrimitive.Close","className","ref","DialogPrimitive.Overlay","cn","dialogContentVariants","cva","size","t","useLocale","DialogPrimitive.Content","X","DialogHeader","DialogFooter","DialogPrimitive.Title","DialogPrimitive.Description"],"mappings":"+jBAKA,SAASA,GAAWC,EAAW,CAC7B,MAAMC,EAA4BC,GAAgBF,CAAS,EACrDG,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACtD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,EAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,KAAM,CACpL,CACA,OAAuBE,EAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAAC,EAAU,CACrF,CAAC,EACD,OAAAJ,EAAM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