@alfadocs/ui-kit 1.47.1 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{actions-cell-renderer-B5m9lwgC.js → actions-cell-renderer-DMittsR3.js} +4 -4
- package/dist/_chunks/{address-autocomplete-Bq-1n1UX.js → address-autocomplete-Dp5uMvKP.js} +61 -60
- package/dist/_chunks/{address-fields-jFfjxOQR.js → address-fields-QfC-N3pw.js} +5 -5
- package/dist/_chunks/{agenda-card-DyQtHb9z.js → agenda-card-CjjxlA9K.js} +3 -3
- package/dist/_chunks/{agenda-tray-CBaJASb5.js → agenda-tray-BhZASyJm.js} +4 -4
- package/dist/_chunks/{ai-credits-notice-xszqOZTC.js → ai-credits-notice-C-kz_RrY.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-D7I2U-cz.js → ai-permission-notice-BRZeS3mT.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-DXknpQCB.js → ai-prompt-input-CxvnXsAs.js} +82 -82
- package/dist/_chunks/{alia-sidebar-CUqaJNPQ.js → alia-sidebar-Dx-oeOV2.js} +8 -8
- package/dist/_chunks/{anamnesis-card-xtEhyojD.js → anamnesis-card-D8Si-2GV.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-CclBbiXg.js → anamnesis-summary-card-DPyScUMM.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DI-UX5r6.js → anamnesis-summary-rows-CZirLRuv.js} +12 -12
- package/dist/_chunks/{antenatal-schedule-timeline-CXk_tzWG.js → antenatal-schedule-timeline-8fm3vPSV.js} +2 -2
- package/dist/_chunks/{appointment-card-DluZy8Iv.js → appointment-card-BgLpE6T5.js} +6 -6
- package/dist/_chunks/{appointment-peek-BsfCpiJs.js → appointment-peek-BDiCIBb-.js} +6 -6
- package/dist/_chunks/{appointment-timeline-Cs5f9viN.js → appointment-timeline-wQ-PdkFV.js} +6 -6
- package/dist/_chunks/{appointment-tray-CLrGGnKR.js → appointment-tray-D7Gt6m8x.js} +4 -4
- package/dist/_chunks/appointment-workflow-status-CS8ufF1f.js +66 -0
- package/dist/_chunks/{audio-recorder-B7dT-Y3v.js → audio-recorder-DZBtAvLH.js} +4 -4
- package/dist/_chunks/{autocomplete-MpBhz-fG.js → autocomplete-DSasZUf6.js} +65 -64
- package/dist/_chunks/{avatar-CkDeQOSI.js → avatar-BVvjKNTp.js} +2 -2
- package/dist/_chunks/{badge-BudgzTe_.js → badge-BAkd6_Pj.js} +24 -17
- package/dist/_chunks/{balance-badge-cell-YGrYdrvR.js → balance-badge-cell-klaxFNL_.js} +6 -6
- package/dist/_chunks/{bishop-score-Cu70iv9C.js → bishop-score-BMLRvXYF.js} +4 -4
- package/dist/_chunks/{bmi-calculator-C9N19aLX.js → bmi-calculator-DUhRyyrA.js} +3 -3
- package/dist/_chunks/{booking-C4MwImkS.js → booking-BF9pVa2n.js} +384 -388
- package/dist/_chunks/{breadcrumb-agut0PwN.js → breadcrumb-D3boYzD4.js} +50 -49
- package/dist/_chunks/{button-CaUe1uyd.js → button-18oBsI3n.js} +54 -50
- package/dist/_chunks/button-group-BSDqso_C.js +408 -0
- package/dist/_chunks/{calendar-OzSeTb4V.js → calendar-Bt44KMNO.js} +13 -18
- package/dist/_chunks/{calendar-event-card-B6N5h1dO.js → calendar-event-card-BUbKBPv_.js} +55 -73
- package/dist/_chunks/calendar-workspace-C_eXL1by.js +10464 -0
- package/dist/_chunks/{care-plan-card-BOv0NRle.js → care-plan-card-ciBaaguw.js} +4 -4
- package/dist/_chunks/{care-plan-entry-card-d-rZD4li.js → care-plan-entry-card-D7A0whiZ.js} +5 -5
- package/dist/_chunks/{care-plan-header-CEmBXn6-.js → care-plan-header-DKV1gLqv.js} +4 -4
- package/dist/_chunks/{carousel.agent-z1yLBpyC.js → carousel.agent-DqDGR2yH.js} +2 -2
- package/dist/_chunks/{chart-D8ucl8hH.js → chart-VjuXDXOZ.js} +3 -3
- package/dist/_chunks/{chat-input-Cj7ZYQr5.js → chat-input-BVho_SqP.js} +2 -2
- package/dist/_chunks/{chat-message-BMVxiUIX.js → chat-message-B4ihjNy3.js} +4 -4
- package/dist/_chunks/{smartphone-DaPcFw-X.js → circle-dashed-CUj6o2cA.js} +3 -14
- package/dist/_chunks/{city-input-DaQc-Hbj.js → city-input-BGYc4lRV.js} +2 -2
- package/dist/_chunks/{clinical-note-card-DdsGYMmI.js → clinical-note-card-B7s5BtEl.js} +89 -74
- package/dist/_chunks/{code-block-BB-viuTn.js → code-block-C_eNHWaa.js} +2 -2
- package/dist/_chunks/combobox-B_rLwmSv.js +578 -0
- package/dist/_chunks/{command-palette-DQl_SNEv.js → command-palette-DhgGo7GJ.js} +82 -80
- package/dist/_chunks/{connection-status-BmA9T0UO.js → connection-status-Cfux3TvH.js} +4 -4
- package/dist/_chunks/{contact-profile-card-C0WpwpVV.js → contact-profile-card-Dj4NgBL-.js} +3 -3
- package/dist/_chunks/control-room-rail-DAO0qfOI.js +379 -0
- package/dist/_chunks/{copy-field-B8XRVmQv.js → copy-field-Cm4y5Bff.js} +2 -2
- package/dist/_chunks/{country-select-CfDNFG5c.js → country-select-C5jZjO8O.js} +2 -2
- package/dist/_chunks/{cycle-calculator-BH2StWoT.js → cycle-calculator-B9lBRNiZ.js} +3 -3
- package/dist/_chunks/{dashboard-grid-BcXWL5S9.js → dashboard-grid-uX7x1ePj.js} +2 -2
- package/dist/_chunks/{data-table-DnKOmEVw.js → data-table-CrI3_bjH.js} +416 -415
- package/dist/_chunks/{data-table-tabs-B9SXA5VP.js → data-table-tabs-CzYYKp2_.js} +3 -3
- package/dist/_chunks/{dependent-selector-BHDP0nBB.js → dependent-selector-58hTg5rB.js} +3 -3
- package/dist/_chunks/{description-list-BsJ_6CQE.js → description-list-1A2DEbE6.js} +2 -2
- package/dist/_chunks/{document-preview-COV0BC6n.js → document-preview-Od2Hz4z5.js} +13 -12
- package/dist/_chunks/{document-scanner-B1abl-A4.js → document-scanner-p0aGlzCy.js} +3 -3
- package/dist/_chunks/{dropdown-menu-DU-Hrf33.js → dropdown-menu-C8PaW3lR.js} +110 -96
- package/dist/_chunks/{due-date-calculator-Buh_mVHq.js → due-date-calculator-BVqJaxzd.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-OUkUv7U4.js → editable-currency-cell-renderer-D_G2Ap61.js} +4 -4
- package/dist/_chunks/{editable-description-ADMVFPUz.js → editable-description-B4NVdjvd.js} +3 -3
- package/dist/_chunks/{editor-overlay-DwNKaI22.js → editor-overlay-BDiBvQmL.js} +2 -2
- package/dist/_chunks/{empty-state-BUN_UAWf.js → empty-state-DTBZ1ENT.js} +2 -2
- package/dist/_chunks/{entity-card-I-Gio5wo.js → entity-card-D1Yrh9wf.js} +2 -1
- package/dist/_chunks/{entity-summary-DXejuQ8i.js → entity-summary-CFJfBdVP.js} +4 -4
- package/dist/_chunks/{error-boundary-BNT2iQ1w.js → error-boundary-BxTqEXqj.js} +2 -2
- package/dist/_chunks/euro-Dsuz4ixO.js +22 -0
- package/dist/_chunks/{face-scheme-mIhwrQXt.js → face-scheme-fku-RShg.js} +71 -71
- package/dist/_chunks/{fetal-weight-wx4ycKc6.js → fetal-weight-B69yOS9W.js} +3 -3
- package/dist/_chunks/{field-array-BW9KeeXG.js → field-array-lIXrFWS0.js} +3 -3
- package/dist/_chunks/file-BuG1VMAy.js +21 -0
- package/dist/_chunks/{file-Cwe9VC1A.js → file-image-cDgE-BTy.js} +2 -19
- package/dist/_chunks/{file-manager-DOcJGIx2.js → file-manager-C6QQPQV5.js} +15 -14
- package/dist/_chunks/{file-upload-BDpb08GM.js → file-upload-B242a_Y1.js} +53 -52
- package/dist/_chunks/{finished-terminal-DJd7Z_po.js → finished-terminal-B2oqXO0Y.js} +2 -2
- package/dist/_chunks/fiscal-code-input-BEF8eKIG.js +572 -0
- package/dist/_chunks/{freemium-paywall-BaW5ODc9.js → freemium-paywall-B6JITu4l.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CwbecTul.js → gestational-age-calculator-DsGN6_HS.js} +5 -5
- package/dist/_chunks/handled-rejection-6gqCf5vt.js +13 -0
- package/dist/_chunks/{hcg-doubling-BcXriXJe.js → hcg-doubling-D2SH-e7t.js} +3 -3
- package/dist/_chunks/{header-3o9o9v_T.js → header-CCjp5GvE.js} +2 -2
- package/dist/_chunks/{header-settings-BEfx_-TF.js → header-settings-ZXa6hXuu.js} +5 -5
- package/dist/_chunks/{help-me-write-templates-DHIwa4xR.js → help-me-write-templates-DQtT1qs_.js} +5 -5
- package/dist/_chunks/history-CK2JaU2g.js +16 -0
- package/dist/_chunks/{hover-card-nUae8NPJ.js → hover-card-BplP5SzQ.js} +2 -2
- package/dist/_chunks/{icon-button-CehAeZoP.js → icon-button-CY7GU_Se.js} +2 -2
- package/dist/_chunks/icon-button-group-B_426QN_.js +431 -0
- package/dist/_chunks/{icon-picker-DMEelg9v.js → icon-picker-ZLebyB0U.js} +3 -3
- package/dist/_chunks/{image-cropper-BjPjT7wU.js → image-cropper-_HiNN79d.js} +2 -2
- package/dist/_chunks/{info-tip-iP2Pm9dh.js → info-tip-laBxZhKu.js} +2 -2
- package/dist/_chunks/{insert-result-DPnOBD85.js → insert-result-CSuPQyKL.js} +2 -2
- package/dist/_chunks/{key-value-pair-DaQI_LZB.js → key-value-pair-Dcdl3Gni.js} +2 -2
- package/dist/_chunks/{kit-extensions-DuoFF1R3.js → kit-extensions-BTJSnM_H.js} +6 -6
- package/dist/_chunks/link-cell-renderer-CkNbUsBM.js +867 -0
- package/dist/_chunks/{locale-picker-CH3kfrIG.js → locale-picker-DGkQmhV9.js} +170 -180
- package/dist/_chunks/{map-view-CHw4RL6w.js → map-view-Bb7ClKSF.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-PB89Dkk_.js → marketplace-app-shell-1uKqs4gD.js} +7 -7
- package/dist/_chunks/menu-row-BAr8bx1I.js +95 -0
- package/dist/_chunks/{message-card-V3sFPiQI.js → message-card-C2zsvyj0.js} +4 -4
- package/dist/_chunks/{message-tray-CrRIHfiQ.js → message-tray-CMlmxdH2.js} +4 -4
- package/dist/_chunks/{multi-select-CtPd7g4x.js → multi-select-N4Smh-gj.js} +114 -113
- package/dist/_chunks/{muscle-scheme-UVz_x4iE.js → muscle-scheme-Co0NIgbU.js} +3 -3
- package/dist/_chunks/{note-attachment-CwDir3kK.js → note-attachment-CGjNTrAC.js} +2 -2
- package/dist/_chunks/{note-timeline-Dn_XTo1s.js → note-timeline-CVnKL0p6.js} +2 -2
- package/dist/_chunks/notes-panel-xxpFt-I1.js +1111 -0
- package/dist/_chunks/{notification-card-B2gLO6dK.js → notification-card-DDzBCi8l.js} +3 -3
- package/dist/_chunks/{notification-tray-BOEKegVV.js → notification-tray-PnH2PBlZ.js} +4 -4
- package/dist/_chunks/{operator-hero-XIdwDmN2.js → operator-hero-DyrNLoRO.js} +4 -4
- package/dist/_chunks/{optical-prescription-LGgmtcST.js → optical-prescription-DUufWXfZ.js} +3 -3
- package/dist/_chunks/{pagination-EkD5SiCK.js → pagination-B0N2qGy_.js} +83 -82
- package/dist/_chunks/panel-subview-CzHutkA8.js +217 -0
- package/dist/_chunks/{patient-details-yrgkSeEY.js → patient-details-tTlvrJSU.js} +4 -4
- package/dist/_chunks/{patient-field-row-DCMkFGqI.js → patient-field-row-DElFbpKc.js} +12 -12
- package/dist/_chunks/{patient-search-5QcmQKJD.js → patient-search-DgXdGkhK.js} +4 -4
- package/dist/_chunks/{patient-summary-card-CmEFflGS.js → patient-summary-card-DQ__6DR-.js} +8 -8
- package/dist/_chunks/{payment-automation-upsell-BKmBXU4i.js → payment-automation-upsell-ugi4np1l.js} +3 -3
- package/dist/_chunks/{payment-request-card-Cer6XXCn.js → payment-request-card-DMJB57Tv.js} +5 -5
- package/dist/_chunks/{periodontal-chart-DJoZS_o7.js → periodontal-chart-DbGzKDj7.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-Nd1ZoYWb.js → periodontal-chart-card-DvHyP47v.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-C7pfPOct.js → periodontal-diagnosis-B8WqI0eU.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-B2tNFa15.js → periodontal-risk-chart-DsFRFFSz.js} +2 -2
- package/dist/_chunks/{phone-input-IWrGOCwm.js → phone-input-sQj-zi59.js} +85 -86
- package/dist/_chunks/{popover-DO-pssF3.js → popover-Dvb40vPH.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-DxoLlQr5.js → practice-profile-hero-B-WcJYNH.js} +3 -3
- package/dist/_chunks/{practice-results-D11Zpt27.js → practice-results-EKRiqWtQ.js} +8 -8
- package/dist/_chunks/{pregnancy-dating-DcyV9ZRD.js → pregnancy-dating-lfjjZVZH.js} +5 -5
- package/dist/_chunks/{pregnancy-weight-gain-Bfq4Kwt5.js → pregnancy-weight-gain-WpNt-S0q.js} +3 -3
- package/dist/_chunks/{privacy-lock-CbFCAMM3.js → privacy-lock-D6gq0GDg.js} +3 -3
- package/dist/_chunks/privacy-mask-BC5lw2zB.js +81 -0
- package/dist/_chunks/{product-hub-panel-w40-_-1s.js → product-hub-panel-CKeSCSeE.js} +3 -3
- package/dist/_chunks/{province-select-BaUnkg4S.js → province-select-BiszMRRY.js} +2 -2
- package/dist/_chunks/{public-header.agent-D-EBVskf.js → public-header.agent-B9wDmUeB.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-LrILY2lN.js → radiograph-panel.agent-TmyIvTOa.js} +6 -6
- package/dist/_chunks/{reviews-panel-2GVuxGeT.js → reviews-panel-BdwFp_0c.js} +4 -4
- package/dist/_chunks/{rich-text-editor-BwDV2XkZ.js → rich-text-editor-y6ML0KeV.js} +12 -11
- package/dist/_chunks/{search-bar-CCmViqaa.js → search-bar-6bHatpYJ.js} +69 -67
- package/dist/_chunks/{select-CLSUnKjF.js → select-upNAltly.js} +89 -88
- package/dist/_chunks/{session-countdown-BqppPrw6.js → session-countdown-ACJyTXH2.js} +2 -2
- package/dist/_chunks/{sheet-C8WIDFS8.js → sheet-D0Lh0KR2.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-DWwBJtyE.js → sign-in-with-alfadocs-button-CDyJAIzW.js} +2 -2
- package/dist/_chunks/{signature-request-D_j2aQu1.js → signature-request-BUGeG8oD.js} +7 -7
- package/dist/_chunks/{signature-status-chip-D4NsrdeI.js → signature-status-chip-Dz6sS2oA.js} +2 -2
- package/dist/_chunks/{slot-grid-B3eOPkKD.js → slot-grid-4fWH3Euk.js} +4 -4
- package/dist/_chunks/smartphone-C0rFF2if.js +15 -0
- package/dist/_chunks/{streaming-text-CE1u_oGa.js → streaming-text-eRiizArc.js} +2 -2
- package/dist/_chunks/{tab-bar-Cw9UK18Z.js → tab-bar-BHFf6knq.js} +9 -9
- package/dist/_chunks/{tabs-BnRaLT0y.js → tabs-CFsuMQ5H.js} +82 -81
- package/dist/_chunks/{tag-Ci3xJPcH.js → tag-B65tLWvD.js} +24 -21
- package/dist/_chunks/{task-card-qTKD1fIT.js → task-card-jaOhnj_q.js} +73 -55
- package/dist/_chunks/task-editor-DlvTwAfv.js +1243 -0
- package/dist/_chunks/{task-tray-DIwjAIes.js → task-tray-HHyxi9ga.js} +4 -4
- package/dist/_chunks/tasks-panel-DbSjq_mz.js +1243 -0
- package/dist/_chunks/{theme-toggle-BP0XRGMM.js → theme-toggle-LUBxlNDm.js} +4 -4
- package/dist/_chunks/{timeline-61AihzYz.js → timeline-ChY7iZrs.js} +2 -2
- package/dist/_chunks/{toast-ZZfhA5u0.js → toast-CT8hjr9r.js} +2 -2
- package/dist/_chunks/{token-insert-menu-A9B5AJw6.js → token-insert-menu-klwbxVKh.js} +3 -3
- package/dist/_chunks/{tool-rail-CCFqDfAn.js → tool-rail-DEeX4PdN.js} +144 -137
- package/dist/_chunks/{tooth-scheme-DPAq0vQK.js → tooth-scheme-BkjhkI8g.js} +4 -4
- package/dist/_chunks/{treatment-receipt-DU0OewqH.js → treatment-receipt-C-gWZ6uv.js} +3 -3
- package/dist/_chunks/{unit-converter-C-LpGzrN.js → unit-converter-Dp_KDxE6.js} +3 -3
- package/dist/_chunks/use-appointment-details-read-5-hV-2xA.js +2045 -0
- package/dist/_chunks/use-list-reflow-C7O4Uqnl.js +133 -0
- package/dist/_chunks/use-priority-overflow-Cdmb5EiR.js +108 -0
- package/dist/_chunks/{variables-menu-vXUaSBj4.js → variables-menu-aJLKJ_cu.js} +127 -136
- package/dist/_chunks/{warning-stack-C0glSB7p.js → warning-stack-CEgYkI1z.js} +3 -3
- package/dist/_chunks/{widget-picker-B1sj6uyf.js → widget-picker-CilQvcNL.js} +2 -2
- package/dist/_chunks/{workflow-map-DhR_h5yw.js → workflow-map-qGkQTNvS.js} +30 -29
- package/dist/_chunks/{workflow-status-CuJAOuKL.js → workflow-status-ClHfz4Kr.js} +209 -167
- package/dist/agent-catalog.json +371 -26
- package/dist/agent-i18n/en.json +41 -9
- package/dist/components/_shared/appointment-format.d.ts +52 -0
- package/dist/{patterns/calendar/calendar-editor-fields.d.ts → components/_shared/compact-editor-fields.d.ts} +6 -5
- package/dist/components/_shared/handled-rejection.d.ts +2 -0
- package/dist/components/_shared/menu-row.d.ts +17 -0
- package/dist/components/_shared/patient-identity.d.ts +7 -0
- package/dist/components/_shared/patient-picker.d.ts +24 -0
- package/dist/components/_shared/privacy-mask.d.ts +29 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.agent.d.ts +4 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +134 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.focus.d.ts +7 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.history.d.ts +12 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.identity.d.ts +41 -0
- package/dist/{patterns/calendar/calendar-info-hover.d.ts → components/appointment-details-panel/appointment-details-panel.info-hover.d.ts} +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +51 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +326 -0
- package/dist/components/appointment-details-panel/index.d.ts +8 -0
- package/dist/components/appointment-details-panel/index.js +8 -0
- package/dist/components/appointment-details-panel/use-appointment-details-read.d.ts +32 -0
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/cascade.d.ts +5 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/button.d.ts +2 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/button-group.d.ts +19 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +5 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +13 -5
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +9 -4
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/control-room-rail.d.ts +14 -3
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/filters/number-filter.d.ts +26 -12
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +7 -0
- package/dist/components/fiscal-code-input/index.d.ts +1 -1
- package/dist/components/fiscal-code-input/index.js +8 -7
- package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +19 -4
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.d.ts +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +102 -26
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-field/signature-field.d.ts +1 -1
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +17 -17
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.d.ts +7 -0
- package/dist/components/task-editor/index.d.ts +4 -0
- package/dist/components/task-editor/index.js +6 -0
- package/dist/components/task-editor/task-editor.agent.d.ts +4 -0
- package/dist/components/task-editor/task-editor.d.ts +240 -0
- package/dist/components/task-editor/use-task-editor-form.d.ts +101 -0
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.d.ts +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/tasks-panel/tasks-panel.d.ts +84 -12
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/variables-menu/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/appointment-workflow-status.d.ts +55 -0
- package/dist/components/workflow-status/index.d.ts +2 -0
- package/dist/components/workflow-status/index.js +7 -2
- package/dist/components/workflow-status/workflow-status.d.ts +35 -0
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/use-exit-transition.d.ts +5 -0
- package/dist/hooks/use-priority-overflow.d.ts +11 -2
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +48 -24
- package/dist/i18n/locales/ar.js +52 -28
- package/dist/i18n/locales/de.d.ts +48 -24
- package/dist/i18n/locales/de.js +52 -28
- package/dist/i18n/locales/el.d.ts +48 -24
- package/dist/i18n/locales/el.js +52 -28
- package/dist/i18n/locales/en.d.ts +34 -10
- package/dist/i18n/locales/en.js +39 -14
- package/dist/i18n/locales/es.d.ts +48 -24
- package/dist/i18n/locales/es.js +52 -28
- package/dist/i18n/locales/fr.d.ts +48 -24
- package/dist/i18n/locales/fr.js +52 -28
- package/dist/i18n/locales/hi.d.ts +48 -24
- package/dist/i18n/locales/hi.js +52 -28
- package/dist/i18n/locales/it.d.ts +34 -10
- package/dist/i18n/locales/it.js +39 -14
- package/dist/i18n/locales/ja.d.ts +48 -24
- package/dist/i18n/locales/ja.js +52 -28
- package/dist/i18n/locales/nl.d.ts +48 -24
- package/dist/i18n/locales/nl.js +52 -28
- package/dist/i18n/locales/pl.d.ts +48 -24
- package/dist/i18n/locales/pl.js +52 -28
- package/dist/i18n/locales/pt.d.ts +48 -24
- package/dist/i18n/locales/pt.js +52 -28
- package/dist/i18n/locales/ro.d.ts +48 -24
- package/dist/i18n/locales/ro.js +52 -28
- package/dist/i18n/locales/ru.d.ts +48 -24
- package/dist/i18n/locales/ru.js +52 -28
- package/dist/i18n/locales/sq.d.ts +48 -24
- package/dist/i18n/locales/sq.js +52 -28
- package/dist/i18n/locales/sv.d.ts +48 -24
- package/dist/i18n/locales/sv.js +52 -28
- package/dist/i18n/locales/tr.d.ts +48 -24
- package/dist/i18n/locales/tr.js +52 -28
- package/dist/i18n/locales/zh.d.ts +48 -24
- package/dist/i18n/locales/zh.js +52 -28
- package/dist/i18n/registerUiBundle.d.ts +5 -9
- package/dist/index.js +744 -730
- package/dist/locales/ar.json +52 -28
- package/dist/locales/de.json +52 -28
- package/dist/locales/el.json +52 -28
- package/dist/locales/en.json +38 -14
- package/dist/locales/es.json +52 -28
- package/dist/locales/fr.json +52 -28
- package/dist/locales/hi.json +52 -28
- package/dist/locales/it.json +38 -14
- package/dist/locales/ja.json +52 -28
- package/dist/locales/nl.json +52 -28
- package/dist/locales/pl.json +52 -28
- package/dist/locales/pt.json +52 -28
- package/dist/locales/ro.json +52 -28
- package/dist/locales/ru.json +52 -28
- package/dist/locales/sq.json +52 -28
- package/dist/locales/sv.json +52 -28
- package/dist/locales/tr.json +52 -28
- package/dist/locales/zh.json +52 -28
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +25 -95
- package/dist/patterns/calendar/calendar-patient-picker.d.ts +4 -3
- package/dist/patterns/calendar/calendar-privacy.d.ts +1 -22
- package/dist/patterns/calendar/calendar-sticky-offset.d.ts +20 -13
- package/dist/patterns/calendar/calendar-task-editor.d.ts +9 -13
- package/dist/patterns/calendar/calendar-workspace.d.ts +89 -8
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +17 -12
- package/dist/patterns/calendar/calendar.journey.d.ts +40 -6
- package/dist/patterns/calendar/calendar.model.d.ts +10 -17
- package/dist/patterns/calendar/calendar.sheets.d.ts +18 -16
- package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
- package/dist/patterns/calendar/calendar.types.d.ts +24 -100
- package/dist/patterns/calendar/index.d.ts +4 -3
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +33 -16
- package/dist/_chunks/button-group-CA1tmu39.js +0 -325
- package/dist/_chunks/calendar-workspace-BmscntRR.js +0 -12528
- package/dist/_chunks/combobox-DnSdYssy.js +0 -522
- package/dist/_chunks/control-room-rail-CdBOXIqX.js +0 -366
- package/dist/_chunks/fiscal-code-input-ODQRd_Sw.js +0 -553
- package/dist/_chunks/icon-button-group-DZKC6KGf.js +0 -428
- package/dist/_chunks/link-cell-renderer-s3oHzOwi.js +0 -778
- package/dist/_chunks/notes-panel-CHbDDMx8.js +0 -683
- package/dist/_chunks/panel-subview-CYnuX-KR.js +0 -171
- package/dist/_chunks/tasks-panel-DncuBPIZ.js +0 -844
- package/dist/_chunks/use-list-reflow-Cw43nxw5.js +0 -100
- package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +0 -101
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +0 -37
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
import { jsx as a, jsxs as S } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Se, useRef as L, useState as ue, useCallback as j, Children as M, isValidElement as P, useEffect as Le, cloneElement as B } from "react";
|
|
3
|
+
import { c as Ae } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Te } from "react-i18next";
|
|
5
|
+
import { I as ce } from "./icon-button-CY7GU_Se.js";
|
|
6
|
+
import { D as d } from "./dropdown-menu-C8PaW3lR.js";
|
|
7
|
+
import { T as $e } from "./tooltip-Cp-PLePW.js";
|
|
8
|
+
import { u as Fe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
9
|
+
import { u as Ne } from "./use-priority-overflow-Cdmb5EiR.js";
|
|
10
|
+
import { E as de } from "./ellipsis-dRo9ouSU.js";
|
|
11
|
+
function _(y) {
|
|
12
|
+
y && (y.inert = !0);
|
|
13
|
+
}
|
|
14
|
+
const fe = Ae(
|
|
15
|
+
"ds:inline-flex ds:isolate ds:[&>*]:relative ds:[&>*:focus-visible]:z-10",
|
|
16
|
+
{
|
|
17
|
+
variants: {
|
|
18
|
+
orientation: {
|
|
19
|
+
horizontal: [
|
|
20
|
+
"ds:flex-row",
|
|
21
|
+
"ds:[&>*:not(:first-child)]:rounded-s-none",
|
|
22
|
+
"ds:[&>*:not(:last-child)]:rounded-e-none",
|
|
23
|
+
"ds:[&>*:not(:first-child)]:-ms-px"
|
|
24
|
+
].join(" "),
|
|
25
|
+
vertical: [
|
|
26
|
+
"ds:flex-col",
|
|
27
|
+
"ds:[&>*:not(:first-child)]:rounded-t-none",
|
|
28
|
+
"ds:[&>*:not(:last-child)]:rounded-b-none",
|
|
29
|
+
"ds:[&>*:not(:first-child)]:-mt-px"
|
|
30
|
+
].join(" ")
|
|
31
|
+
},
|
|
32
|
+
separator: {
|
|
33
|
+
true: "",
|
|
34
|
+
false: ""
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
compoundVariants: [
|
|
38
|
+
{
|
|
39
|
+
orientation: "horizontal",
|
|
40
|
+
separator: !0,
|
|
41
|
+
class: "ds:[&>*:not(:last-child)]:border-e ds:[&>*:not(:last-child)]:border-border"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
orientation: "vertical",
|
|
45
|
+
separator: !0,
|
|
46
|
+
class: "ds:[&>*:not(:last-child)]:border-b ds:[&>*:not(:last-child)]:border-border"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
defaultVariants: {
|
|
50
|
+
orientation: "horizontal",
|
|
51
|
+
separator: !1
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
), U = "ds:absolute ds:start-0 ds:top-0 ds:invisible ds:pointer-events-none", je = Se(
|
|
55
|
+
({
|
|
56
|
+
className: y,
|
|
57
|
+
orientation: w = "horizontal",
|
|
58
|
+
separator: q = !1,
|
|
59
|
+
toolbar: k = !1,
|
|
60
|
+
intent: I = "outline",
|
|
61
|
+
background: h = "transparent",
|
|
62
|
+
size: f,
|
|
63
|
+
label: be,
|
|
64
|
+
overflow: me = "none",
|
|
65
|
+
collapseToIcons: D = !1,
|
|
66
|
+
children: z,
|
|
67
|
+
...H
|
|
68
|
+
}, R) => {
|
|
69
|
+
const { t: G } = Te(), W = be ?? G("buttonGroup.label", "Button group"), J = G("buttonGroup.more", "More options"), ge = G("link.opensInNewTab", "Opens in a new tab"), b = me === "menu" && w !== "vertical", m = k, v = L([]), [g, x] = ue(0), Q = L(null), [K, we] = ue(!1);
|
|
70
|
+
Fe(() => {
|
|
71
|
+
if (typeof window > "u") return;
|
|
72
|
+
const t = Q.current;
|
|
73
|
+
t && we(window.getComputedStyle(t).direction === "rtl");
|
|
74
|
+
}, []);
|
|
75
|
+
const X = j(
|
|
76
|
+
(t) => {
|
|
77
|
+
var s;
|
|
78
|
+
if (!m) return;
|
|
79
|
+
const e = v.current.filter(Boolean).length;
|
|
80
|
+
if (e === 0) return;
|
|
81
|
+
const n = w === "vertical" ? "ArrowDown" : K ? "ArrowLeft" : "ArrowRight", r = w === "vertical" ? "ArrowUp" : K ? "ArrowRight" : "ArrowLeft";
|
|
82
|
+
let o = null;
|
|
83
|
+
if (t.key === n ? o = (g + 1) % e : t.key === r ? o = (g - 1 + e) % e : t.key === "Home" ? o = 0 : t.key === "End" && (o = e - 1), o === null) return;
|
|
84
|
+
const l = e;
|
|
85
|
+
let i = 0, p = o;
|
|
86
|
+
for (; i < l; ) {
|
|
87
|
+
const u = v.current[p];
|
|
88
|
+
if (u && u.getAttribute("aria-disabled") !== "true" && !u.disabled)
|
|
89
|
+
break;
|
|
90
|
+
p = t.key === r || t.key === "End" ? (p - 1 + e) % e : (p + 1) % e, i += 1;
|
|
91
|
+
}
|
|
92
|
+
t.preventDefault(), x(p), (s = v.current[p]) == null || s.focus();
|
|
93
|
+
},
|
|
94
|
+
[m, w, K, g]
|
|
95
|
+
), c = b ? M.toArray(z).filter(P) : [], A = (t) => {
|
|
96
|
+
const e = t.props.children;
|
|
97
|
+
return !t.props.asChild || !P(e) || typeof e.props.href != "string" ? null : {
|
|
98
|
+
label: typeof e.props.children == "string" ? e.props.children : typeof e.props["aria-label"] == "string" ? e.props["aria-label"] : null,
|
|
99
|
+
element: e,
|
|
100
|
+
newTab: e.props.target === "_blank"
|
|
101
|
+
};
|
|
102
|
+
}, T = (t) => {
|
|
103
|
+
var n;
|
|
104
|
+
if (typeof t.props.children == "string") return t.props.children;
|
|
105
|
+
const e = t.props["aria-label"];
|
|
106
|
+
return typeof e == "string" ? e : ((n = A(t)) == null ? void 0 : n.label) ?? null;
|
|
107
|
+
};
|
|
108
|
+
L(!1);
|
|
109
|
+
const Y = c.map(
|
|
110
|
+
(t) => T(t) !== null
|
|
111
|
+
), ve = c.map((t, e) => {
|
|
112
|
+
var p;
|
|
113
|
+
const { props: n } = t, r = (((p = n.overflowItems) == null ? void 0 : p.length) ?? 0) > 0, o = typeof n.onClick == "function" || A(t) !== null || r, l = n["aria-haspopup"], i = n["aria-expanded"] !== void 0 || n["aria-pressed"] !== void 0 || l !== void 0 && l !== !1 && l !== "false" && !r;
|
|
114
|
+
return Y[e] && o && !i && n["data-overflow-pin"] !== "always";
|
|
115
|
+
}), ye = c.map((t, e) => {
|
|
116
|
+
const n = t.props["data-overflow-pin"] !== void 0, r = Y[e];
|
|
117
|
+
return n || !r;
|
|
118
|
+
}), {
|
|
119
|
+
containerRef: ke,
|
|
120
|
+
fullRowRef: Z,
|
|
121
|
+
iconRowRef: E,
|
|
122
|
+
triggerProbeRef: ee,
|
|
123
|
+
stage: Ie,
|
|
124
|
+
visible: $,
|
|
125
|
+
overflowing: F
|
|
126
|
+
} = Ne({
|
|
127
|
+
enabled: b,
|
|
128
|
+
count: c.length,
|
|
129
|
+
twoStage: D,
|
|
130
|
+
pinned: ye,
|
|
131
|
+
movable: ve
|
|
132
|
+
}), he = j(
|
|
133
|
+
(t) => {
|
|
134
|
+
_(t), Z(t);
|
|
135
|
+
},
|
|
136
|
+
[Z]
|
|
137
|
+
), Re = j(
|
|
138
|
+
(t) => {
|
|
139
|
+
_(t), E(t);
|
|
140
|
+
},
|
|
141
|
+
[E]
|
|
142
|
+
), xe = j(
|
|
143
|
+
(t) => {
|
|
144
|
+
_(t), ee(t);
|
|
145
|
+
},
|
|
146
|
+
[ee]
|
|
147
|
+
), te = L(null), ne = L(null), N = b ? $.filter(Boolean).length : M.count(z);
|
|
148
|
+
Le(() => {
|
|
149
|
+
var e;
|
|
150
|
+
if (!m || !b) return;
|
|
151
|
+
const t = N + (F ? 1 : 0);
|
|
152
|
+
t > 0 && g >= t && (x(t - 1), document.activeElement === document.body && ((e = te.current) == null || e.focus()));
|
|
153
|
+
}, [
|
|
154
|
+
m,
|
|
155
|
+
b,
|
|
156
|
+
N,
|
|
157
|
+
F,
|
|
158
|
+
g
|
|
159
|
+
]);
|
|
160
|
+
const re = (t, e) => (n) => {
|
|
161
|
+
v.current[e] = n;
|
|
162
|
+
const r = t.ref;
|
|
163
|
+
typeof r == "function" ? r(n) : r != null && typeof r == "object" && (r.current = n);
|
|
164
|
+
}, Ce = b ? null : M.map(z, (t, e) => {
|
|
165
|
+
if (!P(t)) return t;
|
|
166
|
+
const n = t, r = {
|
|
167
|
+
intent: n.props.intent ?? I,
|
|
168
|
+
background: n.props.background ?? h,
|
|
169
|
+
...f ? { size: n.props.size ?? f } : null
|
|
170
|
+
};
|
|
171
|
+
return m && (r.tabIndex = e === g ? 0 : -1, r.onFocus = (o) => {
|
|
172
|
+
var l, i;
|
|
173
|
+
x(e), (i = (l = n.props).onFocus) == null || i.call(l, o);
|
|
174
|
+
}, r.ref = re(n, e)), B(
|
|
175
|
+
n,
|
|
176
|
+
r
|
|
177
|
+
);
|
|
178
|
+
});
|
|
179
|
+
let oe = null, se = null, ae = null;
|
|
180
|
+
if (b) {
|
|
181
|
+
v.current.length = N + (F ? 1 : 0);
|
|
182
|
+
let t = -1;
|
|
183
|
+
oe = c.map((e, n) => {
|
|
184
|
+
if (!$[n]) return null;
|
|
185
|
+
t += 1;
|
|
186
|
+
const r = t, o = {
|
|
187
|
+
intent: e.props.intent ?? I,
|
|
188
|
+
background: e.props.background ?? h,
|
|
189
|
+
...f ? { size: e.props.size ?? f } : null
|
|
190
|
+
};
|
|
191
|
+
D && Ie === "icons" && e.props.children && (e.props.startIcon || e.props.endIcon) && (o.hideLabel = !0), m && (o.tabIndex = r === g ? 0 : -1, o.onFocus = (u) => {
|
|
192
|
+
var C, pe;
|
|
193
|
+
x(r), (pe = (C = e.props).onFocus) == null || pe.call(C, u);
|
|
194
|
+
}, o.ref = re(e, r));
|
|
195
|
+
const l = o.hideLabel === !0, i = B(
|
|
196
|
+
e,
|
|
197
|
+
o
|
|
198
|
+
), p = e.props["data-overflow-tip"] === !1 || e.props["data-overflow-tip"] === "false", s = l && !p ? T(e) : null;
|
|
199
|
+
return s ? /* @__PURE__ */ a($e, { label: s, children: i }, e.key ?? n) : i;
|
|
200
|
+
}), se = c.map((e, n) => {
|
|
201
|
+
if ($[n]) return null;
|
|
202
|
+
const r = T(e);
|
|
203
|
+
if (r === null) return null;
|
|
204
|
+
const o = e.props.disabled === !0 || e.props.loading === !0, l = e.props["data-action"], i = e.props.overflowItems;
|
|
205
|
+
if (i && i.length > 0)
|
|
206
|
+
return /* @__PURE__ */ S(d.Sub, { children: [
|
|
207
|
+
/* @__PURE__ */ a(
|
|
208
|
+
d.SubTrigger,
|
|
209
|
+
{
|
|
210
|
+
startIcon: e.props.startIcon,
|
|
211
|
+
disabled: o,
|
|
212
|
+
"data-action": l,
|
|
213
|
+
children: r
|
|
214
|
+
}
|
|
215
|
+
),
|
|
216
|
+
/* @__PURE__ */ a(d.SubContent, { children: i.map((s, u) => /* @__PURE__ */ a(
|
|
217
|
+
d.Item,
|
|
218
|
+
{
|
|
219
|
+
startIcon: s.icon,
|
|
220
|
+
disabled: s.disabled,
|
|
221
|
+
"data-action": s.action,
|
|
222
|
+
onSelect: () => s.onSelect(),
|
|
223
|
+
children: s.label
|
|
224
|
+
},
|
|
225
|
+
`${u}-${s.label}`
|
|
226
|
+
)) })
|
|
227
|
+
] }, e.key ?? n);
|
|
228
|
+
const p = A(e);
|
|
229
|
+
return p ? /* @__PURE__ */ a(
|
|
230
|
+
d.Item,
|
|
231
|
+
{
|
|
232
|
+
startIcon: e.props.startIcon,
|
|
233
|
+
disabled: o,
|
|
234
|
+
"data-action": l,
|
|
235
|
+
"aria-label": p.newTab ? `${r}, ${ge}` : void 0,
|
|
236
|
+
onSelect: () => {
|
|
237
|
+
var s, u;
|
|
238
|
+
(u = (s = ne.current) == null ? void 0 : s.querySelector(
|
|
239
|
+
`[data-link-index="${n}"] [href]`
|
|
240
|
+
)) == null || u.click();
|
|
241
|
+
},
|
|
242
|
+
children: r
|
|
243
|
+
},
|
|
244
|
+
e.key ?? n
|
|
245
|
+
) : /* @__PURE__ */ a(
|
|
246
|
+
d.Item,
|
|
247
|
+
{
|
|
248
|
+
startIcon: e.props.startIcon,
|
|
249
|
+
disabled: o,
|
|
250
|
+
"data-action": l,
|
|
251
|
+
onSelect: (s) => {
|
|
252
|
+
var u, C;
|
|
253
|
+
(C = (u = e.props).onClick) == null || C.call(
|
|
254
|
+
u,
|
|
255
|
+
s
|
|
256
|
+
);
|
|
257
|
+
},
|
|
258
|
+
children: r
|
|
259
|
+
},
|
|
260
|
+
e.key ?? n
|
|
261
|
+
);
|
|
262
|
+
}), ae = c.map((e, n) => {
|
|
263
|
+
var l;
|
|
264
|
+
if ($[n] || T(e) === null) return null;
|
|
265
|
+
const r = A(e);
|
|
266
|
+
if (!r || (((l = e.props.overflowItems) == null ? void 0 : l.length) ?? 0) > 0)
|
|
267
|
+
return null;
|
|
268
|
+
const o = r.element.props.onClick;
|
|
269
|
+
return /* @__PURE__ */ a("span", { "data-link-index": n, children: B(r.element, {
|
|
270
|
+
onClick: (i) => {
|
|
271
|
+
var p, s;
|
|
272
|
+
typeof o == "function" && o(i), (s = (p = e.props).onClick) == null || s.call(
|
|
273
|
+
p,
|
|
274
|
+
i
|
|
275
|
+
);
|
|
276
|
+
},
|
|
277
|
+
/* No query may land on this hidden copy. */
|
|
278
|
+
id: void 0,
|
|
279
|
+
"data-action": void 0
|
|
280
|
+
}) }, e.key ?? n);
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
const le = (t) => {
|
|
284
|
+
Q.current = t, typeof R == "function" ? R(t) : R && typeof R == "object" && (R.current = t);
|
|
285
|
+
};
|
|
286
|
+
if (!b)
|
|
287
|
+
return /* @__PURE__ */ a(
|
|
288
|
+
"div",
|
|
289
|
+
{
|
|
290
|
+
ref: le,
|
|
291
|
+
role: k ? "toolbar" : "group",
|
|
292
|
+
"aria-label": W,
|
|
293
|
+
"aria-orientation": k ? w ?? "horizontal" : void 0,
|
|
294
|
+
"data-component": "button-group",
|
|
295
|
+
onKeyDown: X,
|
|
296
|
+
className: fe({ orientation: w, separator: q, className: y }),
|
|
297
|
+
...H,
|
|
298
|
+
children: Ce
|
|
299
|
+
}
|
|
300
|
+
);
|
|
301
|
+
const O = fe({ orientation: w, separator: q }), V = N, ie = (t, e, n) => B(t, {
|
|
302
|
+
key: t.key ?? e,
|
|
303
|
+
intent: t.props.intent ?? I,
|
|
304
|
+
background: t.props.background ?? h,
|
|
305
|
+
...f ? { size: t.props.size ?? f } : null,
|
|
306
|
+
tabIndex: -1,
|
|
307
|
+
// Same rule as the live strip: icon-only children never hideLabel.
|
|
308
|
+
...n && t.props.children && (t.props.startIcon || t.props.endIcon) ? { hideLabel: !0 } : null,
|
|
309
|
+
/* The hook belongs to the live child alone: a query for it must
|
|
310
|
+
never land on an inert copy. */
|
|
311
|
+
"data-action": void 0,
|
|
312
|
+
ref: null
|
|
313
|
+
});
|
|
314
|
+
return /* @__PURE__ */ a(
|
|
315
|
+
"div",
|
|
316
|
+
{
|
|
317
|
+
ref: le,
|
|
318
|
+
"data-component": "button-group",
|
|
319
|
+
className: [
|
|
320
|
+
"ds:relative ds:block ds:w-full ds:min-w-0 ds:overflow-x-clip",
|
|
321
|
+
y ?? ""
|
|
322
|
+
].join(" ").trim(),
|
|
323
|
+
...H,
|
|
324
|
+
children: /* @__PURE__ */ S("div", { ref: ke, className: "ds:block ds:w-full ds:min-w-0", children: [
|
|
325
|
+
/* @__PURE__ */ a(
|
|
326
|
+
"div",
|
|
327
|
+
{
|
|
328
|
+
ref: he,
|
|
329
|
+
"aria-hidden": "true",
|
|
330
|
+
inert: !0,
|
|
331
|
+
className: `${U} ${O}`,
|
|
332
|
+
children: c.map((t, e) => ie(t, e, !1))
|
|
333
|
+
}
|
|
334
|
+
),
|
|
335
|
+
D ? /* @__PURE__ */ a(
|
|
336
|
+
"div",
|
|
337
|
+
{
|
|
338
|
+
ref: Re,
|
|
339
|
+
"aria-hidden": "true",
|
|
340
|
+
inert: !0,
|
|
341
|
+
className: `${U} ${O}`,
|
|
342
|
+
children: c.map((t, e) => ie(t, e, !0))
|
|
343
|
+
}
|
|
344
|
+
) : null,
|
|
345
|
+
/* @__PURE__ */ a(
|
|
346
|
+
"span",
|
|
347
|
+
{
|
|
348
|
+
ref: xe,
|
|
349
|
+
"aria-hidden": "true",
|
|
350
|
+
inert: !0,
|
|
351
|
+
className: U,
|
|
352
|
+
children: /* @__PURE__ */ a(
|
|
353
|
+
ce,
|
|
354
|
+
{
|
|
355
|
+
icon: /* @__PURE__ */ a(de, {}),
|
|
356
|
+
intent: I,
|
|
357
|
+
background: h,
|
|
358
|
+
size: f,
|
|
359
|
+
"aria-label": J,
|
|
360
|
+
tabIndex: -1
|
|
361
|
+
}
|
|
362
|
+
)
|
|
363
|
+
}
|
|
364
|
+
),
|
|
365
|
+
/* @__PURE__ */ S(
|
|
366
|
+
"div",
|
|
367
|
+
{
|
|
368
|
+
role: k ? "toolbar" : "group",
|
|
369
|
+
"aria-label": W,
|
|
370
|
+
"aria-orientation": k ? "horizontal" : void 0,
|
|
371
|
+
onKeyDown: X,
|
|
372
|
+
className: `${O} ds:max-w-full ds:align-top`,
|
|
373
|
+
children: [
|
|
374
|
+
oe,
|
|
375
|
+
F ? /* @__PURE__ */ S(d.Root, { children: [
|
|
376
|
+
/* @__PURE__ */ a(d.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
|
|
377
|
+
ce,
|
|
378
|
+
{
|
|
379
|
+
icon: /* @__PURE__ */ a(de, {}),
|
|
380
|
+
intent: I,
|
|
381
|
+
background: h,
|
|
382
|
+
size: f,
|
|
383
|
+
"aria-label": J,
|
|
384
|
+
ref: (t) => {
|
|
385
|
+
te.current = t, v.current[V] = t;
|
|
386
|
+
},
|
|
387
|
+
tabIndex: m ? g === V ? 0 : -1 : void 0,
|
|
388
|
+
onFocus: m ? () => x(V) : void 0
|
|
389
|
+
}
|
|
390
|
+
) }),
|
|
391
|
+
/* @__PURE__ */ S(d.Content, { align: "end", children: [
|
|
392
|
+
se,
|
|
393
|
+
/* @__PURE__ */ a("div", { ref: ne, hidden: !0, children: ae })
|
|
394
|
+
] })
|
|
395
|
+
] }) : null
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
)
|
|
399
|
+
] })
|
|
400
|
+
}
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
);
|
|
404
|
+
je.displayName = "ButtonGroup";
|
|
405
|
+
export {
|
|
406
|
+
je as B
|
|
407
|
+
};
|
|
408
|
+
//# sourceMappingURL=button-group-BSDqso_C.js.map
|
|
@@ -12,9 +12,9 @@ import cr from "@fullcalendar/timeline";
|
|
|
12
12
|
import ur from "@fullcalendar/interaction";
|
|
13
13
|
import { u as fr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
14
14
|
import { u as mr } from "./registry-DvAUVLHh.js";
|
|
15
|
-
import { w as pr, C as vr } from "./calendar-event-card-
|
|
16
|
-
import { A as hr } from "./avatar-
|
|
17
|
-
import { B as gr } from "./button-
|
|
15
|
+
import { w as pr, C as vr } from "./calendar-event-card-BUbKBPv_.js";
|
|
16
|
+
import { A as hr } from "./avatar-BVvjKNTp.js";
|
|
17
|
+
import { B as gr } from "./button-18oBsI3n.js";
|
|
18
18
|
import { R as yr } from "./resource-chip-DYTG0IQQ.js";
|
|
19
19
|
import { T as je } from "./tooltip-Cp-PLePW.js";
|
|
20
20
|
import { V as br } from "./visually-hidden-BHxEUGyT.js";
|
|
@@ -1076,21 +1076,14 @@ const Ue = $e(
|
|
|
1076
1076
|
so the dim can never disagree with what is on the grid. */
|
|
1077
1077
|
Yt ? "calendar-composing-mode" : null,
|
|
1078
1078
|
"ds:bg-background ds:text-foreground",
|
|
1079
|
-
/* The radius
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
frame sitting inside a soft one.
|
|
1083
|
-
|
|
1084
|
-
`clip`, not `hidden`: `hidden` makes this a scroll container, which
|
|
1085
|
-
breaks the grid's own sticky header row
|
|
1086
|
-
(`.fc-scrollgrid-section-sticky`). `clip` cuts the corners without
|
|
1087
|
-
creating one.
|
|
1088
|
-
|
|
1089
|
-
The frame is this wrapper's border, not the table's: a clipped
|
|
1090
|
-
straight border still read as a square frame inside the rounded
|
|
1091
|
-
box, so the bridge zeroes FullCalendar's outer borders and this
|
|
1092
|
-
border follows the radius instead. */
|
|
1079
|
+
/* The radius clips the table's square corners; the frame is this
|
|
1080
|
+
border, not FullCalendar's. `clip`, not `hidden`: a scroll container
|
|
1081
|
+
here would stop the sticky date header sticking. */
|
|
1093
1082
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[var(--border)] ds:overflow-clip",
|
|
1083
|
+
/* Legacy host sheets set `.fc-view, .fc-view > table { overflow: hidden }`,
|
|
1084
|
+
which scrolls the date header away; FullCalendar's own value is
|
|
1085
|
+
visible. Important, as the host rule is unlayered. */
|
|
1086
|
+
"ds:[&_.fc-view]:!overflow-visible ds:[&_.fc-view>table]:!overflow-visible",
|
|
1094
1087
|
Ze
|
|
1095
1088
|
].filter(Boolean).join(" "), Jt = re || ne ? {
|
|
1096
1089
|
...re ? { "--calendar-mode-bg": re } : {},
|
|
@@ -1147,6 +1140,7 @@ const Ue = $e(
|
|
|
1147
1140
|
className: Qt,
|
|
1148
1141
|
style: Jt,
|
|
1149
1142
|
role: "status",
|
|
1143
|
+
"data-calendar-mode-banner": "",
|
|
1150
1144
|
children: [
|
|
1151
1145
|
/* @__PURE__ */ o(
|
|
1152
1146
|
"span",
|
|
@@ -1254,6 +1248,7 @@ const Ue = $e(
|
|
|
1254
1248
|
].filter(Boolean).join(", ") : e.event.title, l = /* @__PURE__ */ o(
|
|
1255
1249
|
gr,
|
|
1256
1250
|
{
|
|
1251
|
+
type: "button",
|
|
1257
1252
|
intent: "ghost",
|
|
1258
1253
|
size: "sm",
|
|
1259
1254
|
"data-event-id": e.event.id,
|
|
@@ -1342,4 +1337,4 @@ export {
|
|
|
1342
1337
|
Tr as c,
|
|
1343
1338
|
be as r
|
|
1344
1339
|
};
|
|
1345
|
-
//# sourceMappingURL=calendar-
|
|
1340
|
+
//# sourceMappingURL=calendar-Bt44KMNO.js.map
|