@alfadocs/ui-kit-debug 1.56.0 → 1.58.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/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
- package/dist/_chunks/{address-fields-BfjxS05Z.js.map → address-fields-CJtu7LQU.js.map} +1 -1
- package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
- package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js.map → ai-credits-notice-ktklr8fy.js.map} +1 -1
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js.map +1 -0
- package/dist/_chunks/alia-sidebar-dybRpWml.js +1284 -0
- package/dist/_chunks/alia-sidebar-dybRpWml.js.map +1 -0
- package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-M-FUkw9p.js} +6 -6
- package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js.map → anamnesis-summary-rows-M-FUkw9p.js.map} +1 -1
- package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
- package/dist/_chunks/{app-frame-B-0O9CrU.js.map → app-frame-CqmDh2v5.js.map} +1 -1
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js.map → appointment-peek-WvNbE4JG.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js.map → appointment-timeline-Z0494xO-.js.map} +1 -1
- package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CGoJZlKf.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js.map → balance-badge-cell-CGoJZlKf.js.map} +1 -1
- package/dist/_chunks/{booking-WyNGKPE2.js → booking-CiFSAMR-.js} +4 -4
- package/dist/_chunks/{booking-WyNGKPE2.js.map → booking-CiFSAMR-.js.map} +1 -1
- package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
- package/dist/_chunks/{calculator-dialog-pCPWta7h.js.map → calculator-dialog-CzQv03p0.js.map} +1 -1
- package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-DNHzjG7O.js} +19 -19
- package/dist/_chunks/calendar-workspace-DNHzjG7O.js.map +1 -0
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js.map → care-plan-card-DxrRLRdW.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
- package/dist/_chunks/{care-plan-header-DUX_SVvF.js.map → care-plan-header-BMwZIgHJ.js.map} +1 -1
- package/dist/_chunks/{chart-HsF1KHbx.js → chart-ZMkX-Gqy.js} +338 -341
- package/dist/_chunks/chart-ZMkX-Gqy.js.map +1 -0
- package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
- package/dist/_chunks/{city-input-BC_nYINn.js.map → city-input-3J3bz9EO.js.map} +1 -1
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js.map → clinical-note-card-hx939bvw.js.map} +1 -1
- package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
- package/dist/_chunks/color-picker-BsggJovx.js.map +1 -0
- package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
- package/dist/_chunks/{contact-card-CmK05vNb.js.map → contact-card-fHBMwEsx.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js.map → contact-profile-card-CMyBYgRR.js.map} +1 -1
- package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
- package/dist/_chunks/{control-room-rail-Tx2jW250.js.map → control-room-rail-CJ85HkS2.js.map} +1 -1
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js.map → cycle-calculator-Cww9DzIa.js.map} +1 -1
- package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
- package/dist/_chunks/dashboard-grid-Cs7cJAsA.js.map +1 -0
- package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-Yn5xiGzs.js} +3 -3
- package/dist/_chunks/{data-table-D8fuhqO1.js.map → data-table-Yn5xiGzs.js.map} +1 -1
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js.map → data-table-tabs-CHYAAeHy.js.map} +1 -1
- package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
- package/dist/_chunks/date-picker-BSZuKo13.js.map +1 -0
- package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
- package/dist/_chunks/date-range-picker-CFk-5O3R.js.map +1 -0
- package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
- package/dist/_chunks/date-time-picker-CjxTkblD.js.map +1 -0
- package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
- package/dist/_chunks/{dialog-CUzbnKLw.js.map → dialog-Dn-iQ0Jp.js.map} +1 -1
- package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
- package/dist/_chunks/{document-preview-uoTekVR7.js.map → document-preview-CHGGG0l_.js.map} +1 -1
- package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
- package/dist/_chunks/{due-date-calculator-CSjklbyw.js.map → due-date-calculator-D_qFUiHp.js.map} +1 -1
- package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
- package/dist/_chunks/{entity-summary-DcB0fIiv.js.map → entity-summary-CWcCSThK.js.map} +1 -1
- package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
- package/dist/_chunks/{face-scheme-BicuUA2K.js.map → face-scheme-DSKDdIsb.js.map} +1 -1
- package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-DEtkQR1F.js} +4 -4
- package/dist/_chunks/{file-manager-Cc_uO8r2.js.map → file-manager-DEtkQR1F.js.map} +1 -1
- package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
- package/dist/_chunks/{forgot-password-form-DEx-M_QR.js.map → forgot-password-form-CEqOmNuX.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js.map → gestational-age-calculator-CZi43xKG.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js.map → hcg-doubling-Ccvh7OaU.js.map} +1 -1
- package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
- package/dist/_chunks/{header-settings-ge_3gYEq.js.map → header-settings-BMcCx2LC.js.map} +1 -1
- package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-DiyOSQk9.js} +2 -2
- package/dist/_chunks/{heatmap-Gf9r7Tn1.js.map → heatmap-DiyOSQk9.js.map} +1 -1
- package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-CM1p6qkm.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-fV-Apf72.js.map → help-me-write-templates-CM1p6qkm.js.map} +1 -1
- package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
- package/dist/_chunks/hover-card-U_ZYoh1n.js.map +1 -0
- package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-rOFTawXk.js} +3 -3
- package/dist/_chunks/{icon-picker-DWrqmI1c.js.map → icon-picker-rOFTawXk.js.map} +1 -1
- package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
- package/dist/_chunks/{info-tip-B0jmIt6M.js.map → info-tip-CJpNpzZe.js.map} +1 -1
- package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
- package/dist/_chunks/{kit-extensions-Byfxy6sy.js.map → kit-extensions-DYVxWcqv.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-C1wOyxDF.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-TeJNvymP.js.map → link-cell-renderer-C1wOyxDF.js.map} +1 -1
- package/dist/_chunks/link-gRw3NtOt.js +137 -0
- package/dist/_chunks/link-gRw3NtOt.js.map +1 -0
- package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
- package/dist/_chunks/list-CNnn7DOD.js.map +1 -0
- package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
- package/dist/_chunks/{locale-picker-DfNSdOpy.js.map → locale-picker-BGfrZyTw.js.map} +1 -1
- package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
- package/dist/_chunks/{login-dev-card-DmZ1B0lB.js.map → login-dev-card-CIim81VB.js.map} +1 -1
- package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
- package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js.map +1 -0
- package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-DmU0poD7.js} +76 -69
- package/dist/_chunks/message-tray-DmU0poD7.js.map +1 -0
- package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
- package/dist/_chunks/{nav-grid-BqCPH8sm.js.map → nav-grid-Byx8PxuB.js.map} +1 -1
- package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
- package/dist/_chunks/navigation-dismiss-B1mcW1CT.js.map +1 -0
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js.map +1 -0
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js.map → note-attachment-Bt2cddsZ.js.map} +1 -1
- package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
- package/dist/_chunks/{note-timeline-CsY8YOE7.js.map → note-timeline-CX9nAgAR.js.map} +1 -1
- package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-DHLHsxpW.js} +4 -4
- package/dist/_chunks/{notes-panel-DceRhthG.js.map → notes-panel-DHLHsxpW.js.map} +1 -1
- package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-DPU-Xg0i.js} +83 -76
- package/dist/_chunks/notification-tray-DPU-Xg0i.js.map +1 -0
- package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
- package/dist/_chunks/panel-subview-D4o6ar6_.js.map +1 -0
- package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-BCaVuaXz.js} +2 -2
- package/dist/_chunks/{patient-details-DsTtjpuX.js.map → patient-details-BCaVuaXz.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-jcRSTrp4.js} +7 -7
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js.map → patient-field-row-jcRSTrp4.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-kQIfPQOE.js} +4 -4
- package/dist/_chunks/{patient-summary-card-9nQWTQf6.js.map → patient-summary-card-kQIfPQOE.js.map} +1 -1
- package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js.map → payment-automation-upsell-C4wHOxsp.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
- package/dist/_chunks/{payment-request-card-CwDpwXUC.js.map → payment-request-card-DAniJNLX.js.map} +1 -1
- package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
- package/dist/_chunks/pdf-viewer-CNQxa4tv.js.map +1 -0
- package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
- package/dist/_chunks/phone-input-O9camxkq.js.map +1 -0
- package/dist/_chunks/popover-BG75rYjN.js +367 -0
- package/dist/_chunks/popover-BG75rYjN.js.map +1 -0
- package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-D07wgCqV.js} +2 -2
- package/dist/_chunks/{practice-results-Dhbo-fc_.js.map → practice-results-D07wgCqV.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js.map → pregnancy-dating-BFzv9g1N.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DCYX0rPG.js} +103 -96
- package/dist/_chunks/product-hub-panel-DCYX0rPG.js.map +1 -0
- package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
- package/dist/_chunks/{public-footer-CxpG6J1M.js.map → public-footer-ZWTEG1Rq.js.map} +1 -1
- package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-C1SlVSYt.js} +2 -2
- package/dist/_chunks/{public-header.agent-pr2hyiND.js.map → public-header.agent-C1SlVSYt.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
- package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js.map → radiograph-panel.agent-DyqbTECc.js.map} +1 -1
- package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-DrSR9Sjk.js} +4 -4
- package/dist/_chunks/{registration-form-D7iNqMBF.js.map → registration-form-DrSR9Sjk.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-UgXri8h6.js} +490 -485
- package/dist/_chunks/rich-text-editor-UgXri8h6.js.map +1 -0
- package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
- package/dist/_chunks/scroll-area-CY5SLYNw.js.map +1 -0
- package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
- package/dist/_chunks/search-bar-mA4bPe3t.js.map +1 -0
- package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-Dtjk0CVv.js} +3 -3
- package/dist/_chunks/{sheet-C7SwIxwB.js.map → sheet-Dtjk0CVv.js.map} +1 -1
- package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
- package/dist/_chunks/sidebar-D4Wllqfz.js.map +1 -0
- package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
- package/dist/_chunks/{sign-document-B6HlyCGV.js.map → sign-document-D4iHS_Ug.js.map} +1 -1
- package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-dAVgE0_5.js} +3 -3
- package/dist/_chunks/{signature-request-DhbpB9N9.js.map → signature-request-dAVgE0_5.js.map} +1 -1
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-DOJpobp8.js} +3 -3
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js.map → signed-out-frame-DOJpobp8.js.map} +1 -1
- package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
- package/dist/_chunks/{state-backed-text-input-DECQy5aA.js.map → state-backed-text-input-Cgh4ms3p.js.map} +1 -1
- package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-BflEZmcF.js} +7 -6
- package/dist/_chunks/task-editor-BflEZmcF.js.map +1 -0
- package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
- package/dist/_chunks/{tool-rail-Bwyuw_Ot.js.map → tool-rail-CTq1KwxW.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-izwoXh-G.js} +8 -8
- package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js.map → use-appointment-details-read-izwoXh-G.js.map} +1 -1
- package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
- package/dist/_chunks/use-state-backed-input-DhRQo6gM.js.map +1 -0
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-an-bpQfF.js} +3 -3
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js.map → voice-control-panel-an-bpQfF.js.map} +1 -1
- package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-DlJOgYrZ.js} +80 -57
- package/dist/_chunks/widget-picker-DlJOgYrZ.js.map +1 -0
- package/dist/agent-catalog.json +3 -3
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
- package/dist/components/_shared/navigation-dismiss.d.ts.map +1 -0
- package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
- package/dist/components/_shared/non-modal-tab-exit.d.ts.map +1 -1
- package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
- package/dist/components/_shared/use-state-backed-input.d.ts.map +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts.map +1 -1
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.d.ts.map +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chart/chart.d.ts +5 -5
- package/dist/components/chart/chart.d.ts.map +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/color-picker.d.ts.map +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
- package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/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-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +5 -3
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts.map +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/panel-subview/panel-subview.d.ts.map +1 -1
- package/dist/components/patient-details/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/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.d.ts.map +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
- package/dist/components/public-footer/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/rich-text-editor/editor-toolbar.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +6 -5
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/search-bar.d.ts +1 -1
- package/dist/components/search-bar/search-bar.d.ts.map +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.d.ts +1 -1
- package/dist/components/sidebar/index.d.ts.map +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar-move.d.ts +88 -0
- package/dist/components/sidebar/sidebar-move.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +26 -1
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-editor/task-editor.d.ts.map +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts.map +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/widget-picker/widget-picker.d.ts.map +1 -1
- package/dist/host-compat.css +2 -1
- package/dist/i18n/locales/ar.d.ts +24 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +26 -2
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +24 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +26 -2
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +24 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +26 -2
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +24 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +26 -2
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +24 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +26 -2
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +24 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +26 -2
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +24 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +26 -2
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +24 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +26 -2
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +24 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +26 -2
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +24 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +26 -2
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +24 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +26 -2
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +24 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +26 -2
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +24 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +26 -2
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +24 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +26 -2
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +24 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +26 -2
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +24 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +26 -2
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +24 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +26 -2
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +24 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +26 -2
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +204 -203
- package/dist/locales/ar.json +26 -2
- package/dist/locales/de.json +26 -2
- package/dist/locales/el.json +26 -2
- package/dist/locales/en.json +26 -2
- package/dist/locales/es.json +26 -2
- package/dist/locales/fr.json +26 -2
- package/dist/locales/hi.json +26 -2
- package/dist/locales/it.json +26 -2
- package/dist/locales/ja.json +26 -2
- package/dist/locales/nl.json +26 -2
- package/dist/locales/pl.json +26 -2
- package/dist/locales/pt.json +26 -2
- package/dist/locales/ro.json +26 -2
- package/dist/locales/ru.json +26 -2
- package/dist/locales/sq.json +26 -2
- package/dist/locales/sv.json +26 -2
- package/dist/locales/tr.json +26 -2
- package/dist/locales/zh.json +26 -2
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
- package/dist/patterns/alia-assistant/alia-popout.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.d.ts +2 -0
- package/dist/patterns/alia-assistant/index.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.js +6 -5
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +40 -10
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js.map +0 -1
- package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
- package/dist/_chunks/alia-sidebar-DOei4Iyu.js.map +0 -1
- package/dist/_chunks/calendar-workspace-Du2ryaI-.js.map +0 -1
- package/dist/_chunks/chart-HsF1KHbx.js.map +0 -1
- package/dist/_chunks/color-picker-BRQ4Y9SO.js.map +0 -1
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
- package/dist/_chunks/dashboard-grid-DfEY2qci.js.map +0 -1
- package/dist/_chunks/date-picker-wRAcq2lt.js.map +0 -1
- package/dist/_chunks/date-range-picker-CtUOI38x.js.map +0 -1
- package/dist/_chunks/date-time-picker-CLeLKuv9.js.map +0 -1
- package/dist/_chunks/hover-card-BnTueNS2.js.map +0 -1
- package/dist/_chunks/link-2HokYuIi.js +0 -130
- package/dist/_chunks/link-2HokYuIi.js.map +0 -1
- package/dist/_chunks/list-RRN2TJ_7.js.map +0 -1
- package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js +0 -541
- package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js.map +0 -1
- package/dist/_chunks/message-tray-BB95DA82.js.map +0 -1
- package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
- package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js.map +0 -1
- package/dist/_chunks/notification-tray-__sJXnsz.js.map +0 -1
- package/dist/_chunks/panel-subview-BT-Apwgb.js.map +0 -1
- package/dist/_chunks/pdf-viewer-C3minW5b.js.map +0 -1
- package/dist/_chunks/phone-input-DxkHMYmu.js.map +0 -1
- package/dist/_chunks/popover-BI3oV3eY.js +0 -305
- package/dist/_chunks/popover-BI3oV3eY.js.map +0 -1
- package/dist/_chunks/product-hub-panel-BSSiGGG4.js.map +0 -1
- package/dist/_chunks/rich-text-editor-CkFfmA3v.js.map +0 -1
- package/dist/_chunks/scroll-area-ZtFCv9K7.js.map +0 -1
- package/dist/_chunks/search-bar-DQJS0wJN.js.map +0 -1
- package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
- package/dist/_chunks/sidebar-DLsG2AIk.js.map +0 -1
- package/dist/_chunks/task-editor-ByyRu29Y.js.map +0 -1
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js.map +0 -1
- package/dist/_chunks/widget-picker-DXYBMTfe.js.map +0 -1
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import * as
|
|
6
|
-
import { S as
|
|
7
|
-
import { b as
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { jsx as s, jsxs as _, Fragment as fe } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as he, useState as A, useEffect as te, useRef as R, useMemo as W, useImperativeHandle as se, useId as me, useCallback as B } from "react";
|
|
3
|
+
import { c as H } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as ae } from "react-i18next";
|
|
5
|
+
import * as V from "@radix-ui/react-popover";
|
|
6
|
+
import { S as ve } from "./search-input-BAlDd05M.js";
|
|
7
|
+
import { b as ge } from "./menu-row-BAr8bx1I.js";
|
|
8
|
+
import { u as ye } from "./navigation-dismiss-B1mcW1CT.js";
|
|
9
|
+
import { u as ne } from "./registry-DvAUVLHh.js";
|
|
10
|
+
import { u as ee } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
+
import { n as re } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
12
|
+
import { S as be } from "./search-QbWPlY5f.js";
|
|
13
|
+
import { u as xe } from "./use-debounced-callback-BisrB-Fq.js";
|
|
14
|
+
const oe = {
|
|
13
15
|
id: "search-bar",
|
|
14
16
|
// The query is a transient filter (set_query/clear), not inline content
|
|
15
17
|
// editing — `filter` covers it. `submit` opens the palette / commits a hit.
|
|
@@ -43,8 +45,8 @@ const Y = {
|
|
|
43
45
|
idempotent: !0,
|
|
44
46
|
descriptionKey: "ui.agent.searchBar.actions.setQuery",
|
|
45
47
|
description: "Replace the current query (inline mode only). No-op in launcher mode.",
|
|
46
|
-
invoke: (r,
|
|
47
|
-
r.setQuery(
|
|
48
|
+
invoke: (r, t) => {
|
|
49
|
+
r.setQuery(t.query);
|
|
48
50
|
}
|
|
49
51
|
},
|
|
50
52
|
clear: {
|
|
@@ -92,8 +94,8 @@ const Y = {
|
|
|
92
94
|
idempotent: !0,
|
|
93
95
|
descriptionKey: "ui.agent.searchBar.actions.applySavedSearch",
|
|
94
96
|
description: "Apply a saved-search by id. The host wires the actual query lookup; the adapter routes the id to its onApplySavedSearch handler. No-op when no handler is wired.",
|
|
95
|
-
invoke: (r,
|
|
96
|
-
r.applySavedSearch(
|
|
97
|
+
invoke: (r, t) => {
|
|
98
|
+
r.applySavedSearch(t.id);
|
|
97
99
|
}
|
|
98
100
|
}
|
|
99
101
|
},
|
|
@@ -110,12 +112,12 @@ const Y = {
|
|
|
110
112
|
}
|
|
111
113
|
}
|
|
112
114
|
};
|
|
113
|
-
function
|
|
115
|
+
function ke() {
|
|
114
116
|
if (typeof navigator > "u") return !1;
|
|
115
|
-
const r = navigator.userAgentData,
|
|
116
|
-
return /mac/i.test(
|
|
117
|
+
const r = navigator.userAgentData, t = (r == null ? void 0 : r.platform) ?? navigator.platform ?? "";
|
|
118
|
+
return /mac/i.test(t);
|
|
117
119
|
}
|
|
118
|
-
const
|
|
120
|
+
const Se = H(
|
|
119
121
|
[
|
|
120
122
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
121
123
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -155,7 +157,7 @@ const he = A(
|
|
|
155
157
|
density: "default"
|
|
156
158
|
}
|
|
157
159
|
}
|
|
158
|
-
),
|
|
160
|
+
), we = H(
|
|
159
161
|
["ds:inline-flex ds:flex-col", "ds:w-full"].join(" "),
|
|
160
162
|
{
|
|
161
163
|
variants: {
|
|
@@ -174,7 +176,7 @@ const he = A(
|
|
|
174
176
|
density: "default"
|
|
175
177
|
}
|
|
176
178
|
}
|
|
177
|
-
),
|
|
179
|
+
), ie = H(
|
|
178
180
|
[
|
|
179
181
|
"ds:hidden ds:md:inline-flex ds:items-center ds:gap-[calc(var(--spacing-xs)/2)]",
|
|
180
182
|
"ds:ms-auto",
|
|
@@ -188,7 +190,7 @@ const he = A(
|
|
|
188
190
|
"ds:text-[length:var(--font-size-xs)] ds:text-[color:var(--foreground)]",
|
|
189
191
|
"ds:font-[family-name:var(--font-mono)]"
|
|
190
192
|
].join(" ")
|
|
191
|
-
),
|
|
193
|
+
), Ne = H(
|
|
192
194
|
[
|
|
193
195
|
"ds:z-[var(--z-dropdown)]",
|
|
194
196
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -203,97 +205,97 @@ const he = A(
|
|
|
203
205
|
"ds:motion-reduce:animate-none"
|
|
204
206
|
].join(" ")
|
|
205
207
|
);
|
|
206
|
-
function
|
|
207
|
-
const
|
|
208
|
-
return
|
|
209
|
-
...
|
|
210
|
-
items:
|
|
211
|
-
(m) =>
|
|
208
|
+
function Oe(r, t) {
|
|
209
|
+
const i = re(r.trim());
|
|
210
|
+
return i === "" ? t : t.map((d) => ({
|
|
211
|
+
...d,
|
|
212
|
+
items: d.items.filter(
|
|
213
|
+
(m) => re(m.label).includes(i)
|
|
212
214
|
)
|
|
213
|
-
})).filter((
|
|
215
|
+
})).filter((d) => d.items.length > 0);
|
|
214
216
|
}
|
|
215
|
-
const
|
|
216
|
-
(r,
|
|
217
|
+
const Re = he(
|
|
218
|
+
(r, t) => {
|
|
217
219
|
const {
|
|
218
|
-
mode:
|
|
219
|
-
size:
|
|
220
|
+
mode: i = "launcher",
|
|
221
|
+
size: d = "md",
|
|
220
222
|
density: m = "default",
|
|
221
|
-
topLevel:
|
|
222
|
-
placeholder:
|
|
223
|
-
shortcutHint:
|
|
224
|
-
className:
|
|
225
|
-
onOpenCommandPalette:
|
|
226
|
-
id:
|
|
227
|
-
onApplySavedSearch:
|
|
228
|
-
value:
|
|
229
|
-
defaultValue:
|
|
230
|
-
onQueryChange:
|
|
223
|
+
topLevel: u = !1,
|
|
224
|
+
placeholder: n,
|
|
225
|
+
shortcutHint: b = !0,
|
|
226
|
+
className: x,
|
|
227
|
+
onOpenCommandPalette: o,
|
|
228
|
+
id: p,
|
|
229
|
+
onApplySavedSearch: f,
|
|
230
|
+
value: a,
|
|
231
|
+
defaultValue: C,
|
|
232
|
+
onQueryChange: v,
|
|
231
233
|
results: c,
|
|
232
|
-
onSelect:
|
|
233
|
-
debounceMs:
|
|
234
|
-
...
|
|
235
|
-
} = r, { t:
|
|
236
|
-
|
|
237
|
-
|
|
234
|
+
onSelect: g,
|
|
235
|
+
debounceMs: k,
|
|
236
|
+
...I
|
|
237
|
+
} = r, { t: y } = ae("ui"), [j, D] = A(!1);
|
|
238
|
+
te(() => {
|
|
239
|
+
D(ke());
|
|
238
240
|
}, []);
|
|
239
|
-
const
|
|
240
|
-
if (
|
|
241
|
-
const
|
|
242
|
-
return /* @__PURE__ */
|
|
243
|
-
|
|
241
|
+
const M = j ? "⌘K" : "Ctrl+K", S = "Meta+K Control+K", w = u ? { role: "search" } : { role: void 0 };
|
|
242
|
+
if (i === "launcher") {
|
|
243
|
+
const q = n ?? y("search.placeholder", "Search…");
|
|
244
|
+
return /* @__PURE__ */ s(
|
|
245
|
+
Ce,
|
|
244
246
|
{
|
|
245
|
-
forwardedRef:
|
|
246
|
-
id:
|
|
247
|
-
landmarkProps:
|
|
248
|
-
className:
|
|
249
|
-
onOpenCommandPalette:
|
|
250
|
-
onApplySavedSearch:
|
|
251
|
-
resolvedPlaceholder:
|
|
252
|
-
openLabel:
|
|
247
|
+
forwardedRef: t,
|
|
248
|
+
id: p,
|
|
249
|
+
landmarkProps: w,
|
|
250
|
+
className: x,
|
|
251
|
+
onOpenCommandPalette: o,
|
|
252
|
+
onApplySavedSearch: f,
|
|
253
|
+
resolvedPlaceholder: q,
|
|
254
|
+
openLabel: y("search.open", "Open search"),
|
|
253
255
|
ariaKeyshortcuts: S,
|
|
254
|
-
launcherClass:
|
|
255
|
-
shortcutHint:
|
|
256
|
-
shortcutLabel:
|
|
257
|
-
rest:
|
|
256
|
+
launcherClass: Se({ size: d, density: m }),
|
|
257
|
+
shortcutHint: b,
|
|
258
|
+
shortcutLabel: M,
|
|
259
|
+
rest: I
|
|
258
260
|
}
|
|
259
261
|
);
|
|
260
262
|
}
|
|
261
|
-
return /* @__PURE__ */
|
|
262
|
-
|
|
263
|
+
return /* @__PURE__ */ s(
|
|
264
|
+
ze,
|
|
263
265
|
{
|
|
264
|
-
forwardedRef:
|
|
265
|
-
size:
|
|
266
|
+
forwardedRef: t,
|
|
267
|
+
size: d,
|
|
266
268
|
density: m,
|
|
267
|
-
landmarkProps:
|
|
268
|
-
placeholder:
|
|
269
|
-
shortcutHint:
|
|
270
|
-
shortcutLabel:
|
|
269
|
+
landmarkProps: w,
|
|
270
|
+
placeholder: n,
|
|
271
|
+
shortcutHint: b,
|
|
272
|
+
shortcutLabel: M,
|
|
271
273
|
ariaKeyshortcuts: S,
|
|
272
|
-
className:
|
|
273
|
-
id:
|
|
274
|
-
onApplySavedSearch:
|
|
274
|
+
className: x,
|
|
275
|
+
id: p,
|
|
276
|
+
onApplySavedSearch: f,
|
|
275
277
|
...r
|
|
276
278
|
}
|
|
277
279
|
);
|
|
278
280
|
}
|
|
279
281
|
);
|
|
280
|
-
|
|
281
|
-
function
|
|
282
|
+
Re.displayName = "SearchBar";
|
|
283
|
+
function Ce(r) {
|
|
282
284
|
const {
|
|
283
|
-
forwardedRef:
|
|
284
|
-
id:
|
|
285
|
-
landmarkProps:
|
|
285
|
+
forwardedRef: t,
|
|
286
|
+
id: i,
|
|
287
|
+
landmarkProps: d,
|
|
286
288
|
className: m,
|
|
287
|
-
onOpenCommandPalette:
|
|
288
|
-
onApplySavedSearch:
|
|
289
|
-
resolvedPlaceholder:
|
|
290
|
-
openLabel:
|
|
291
|
-
ariaKeyshortcuts:
|
|
292
|
-
launcherClass:
|
|
293
|
-
shortcutHint:
|
|
294
|
-
shortcutLabel:
|
|
295
|
-
rest:
|
|
296
|
-
} = r,
|
|
289
|
+
onOpenCommandPalette: u,
|
|
290
|
+
onApplySavedSearch: n,
|
|
291
|
+
resolvedPlaceholder: b,
|
|
292
|
+
openLabel: x,
|
|
293
|
+
ariaKeyshortcuts: o,
|
|
294
|
+
launcherClass: p,
|
|
295
|
+
shortcutHint: f,
|
|
296
|
+
shortcutLabel: a,
|
|
297
|
+
rest: C
|
|
298
|
+
} = r, v = R(null), c = R(null), g = W(
|
|
297
299
|
() => ({
|
|
298
300
|
getQuery: () => "",
|
|
299
301
|
// Launcher mode is stateless \u2014 it delegates to CommandPalette.
|
|
@@ -301,240 +303,277 @@ function ge(r) {
|
|
|
301
303
|
},
|
|
302
304
|
clear: () => {
|
|
303
305
|
},
|
|
304
|
-
submit: () =>
|
|
306
|
+
submit: () => u == null ? void 0 : u(),
|
|
305
307
|
focus: () => {
|
|
306
|
-
var
|
|
307
|
-
return (
|
|
308
|
+
var k;
|
|
309
|
+
return (k = v.current) == null ? void 0 : k.focus();
|
|
308
310
|
},
|
|
309
|
-
applySavedSearch: (
|
|
311
|
+
applySavedSearch: (k) => n == null ? void 0 : n(k)
|
|
310
312
|
}),
|
|
311
|
-
[
|
|
313
|
+
[u, n]
|
|
312
314
|
);
|
|
313
|
-
return
|
|
314
|
-
|
|
315
|
+
return se(
|
|
316
|
+
t,
|
|
315
317
|
() => c.current,
|
|
316
318
|
[]
|
|
317
|
-
),
|
|
319
|
+
), ne(oe, g, i), /* @__PURE__ */ s(
|
|
318
320
|
"div",
|
|
319
321
|
{
|
|
320
322
|
ref: c,
|
|
321
|
-
...
|
|
323
|
+
...d,
|
|
322
324
|
"data-component": "search-bar",
|
|
323
|
-
"data-component-id":
|
|
324
|
-
id:
|
|
325
|
+
"data-component-id": i,
|
|
326
|
+
id: i,
|
|
325
327
|
className: m,
|
|
326
|
-
children: /* @__PURE__ */
|
|
328
|
+
children: /* @__PURE__ */ _(
|
|
327
329
|
"button",
|
|
328
330
|
{
|
|
329
|
-
ref:
|
|
331
|
+
ref: v,
|
|
330
332
|
type: "button",
|
|
331
|
-
onClick:
|
|
333
|
+
onClick: u,
|
|
332
334
|
"aria-haspopup": "dialog",
|
|
333
|
-
"aria-label":
|
|
334
|
-
"aria-keyshortcuts":
|
|
335
|
-
className:
|
|
336
|
-
...
|
|
335
|
+
"aria-label": x,
|
|
336
|
+
"aria-keyshortcuts": o,
|
|
337
|
+
className: p,
|
|
338
|
+
...C,
|
|
337
339
|
children: [
|
|
338
|
-
/* @__PURE__ */
|
|
339
|
-
|
|
340
|
+
/* @__PURE__ */ s(
|
|
341
|
+
be,
|
|
340
342
|
{
|
|
341
343
|
"aria-hidden": !0,
|
|
342
344
|
className: "ds:size-4 ds:shrink-0",
|
|
343
345
|
focusable: "false"
|
|
344
346
|
}
|
|
345
347
|
),
|
|
346
|
-
/* @__PURE__ */
|
|
347
|
-
|
|
348
|
+
/* @__PURE__ */ s("span", { "aria-hidden": "true", className: "ds:truncate ds:text-start", children: b }),
|
|
349
|
+
f ? /* @__PURE__ */ s("kbd", { className: ie(), children: a }) : null
|
|
348
350
|
]
|
|
349
351
|
}
|
|
350
352
|
)
|
|
351
353
|
}
|
|
352
354
|
);
|
|
353
355
|
}
|
|
354
|
-
|
|
356
|
+
const Ie = 100;
|
|
357
|
+
function ze(r) {
|
|
355
358
|
const {
|
|
356
|
-
forwardedRef:
|
|
357
|
-
size:
|
|
358
|
-
density:
|
|
359
|
+
forwardedRef: t,
|
|
360
|
+
size: i,
|
|
361
|
+
density: d,
|
|
359
362
|
landmarkProps: m,
|
|
360
|
-
placeholder:
|
|
361
|
-
shortcutHint:
|
|
362
|
-
shortcutLabel:
|
|
363
|
-
ariaKeyshortcuts:
|
|
364
|
-
className:
|
|
365
|
-
id:
|
|
366
|
-
onApplySavedSearch:
|
|
367
|
-
value:
|
|
368
|
-
defaultValue:
|
|
369
|
-
onQueryChange:
|
|
363
|
+
placeholder: u,
|
|
364
|
+
shortcutHint: n,
|
|
365
|
+
shortcutLabel: b,
|
|
366
|
+
ariaKeyshortcuts: x,
|
|
367
|
+
className: o,
|
|
368
|
+
id: p,
|
|
369
|
+
onApplySavedSearch: f,
|
|
370
|
+
value: a,
|
|
371
|
+
defaultValue: C,
|
|
372
|
+
onQueryChange: v,
|
|
370
373
|
results: c,
|
|
371
|
-
onSelect:
|
|
372
|
-
debounceMs:
|
|
373
|
-
} = r, { t:
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
374
|
+
onSelect: g,
|
|
375
|
+
debounceMs: k = 150
|
|
376
|
+
} = r, { t: I } = ae("ui"), y = a !== void 0, [j, D] = A(
|
|
377
|
+
a ?? C ?? ""
|
|
378
|
+
), M = j, [S, w] = A(!1), [N, q] = A(0), O = R(null), E = me(), L = ye(), z = R([]), J = R(y);
|
|
379
|
+
J.current = y;
|
|
380
|
+
const T = B(
|
|
381
|
+
(e) => {
|
|
382
|
+
J.current && (z.current = [
|
|
383
|
+
...z.current.slice(1 - Ie),
|
|
384
|
+
e
|
|
385
|
+
]), v == null || v(e);
|
|
386
|
+
},
|
|
387
|
+
[v]
|
|
388
|
+
), P = xe(T, k), $ = R(!1), K = B((e) => {
|
|
389
|
+
const l = O.current;
|
|
390
|
+
if (!(!l || typeof l.setQuery != "function")) {
|
|
391
|
+
$.current = !0;
|
|
379
392
|
try {
|
|
380
|
-
|
|
393
|
+
l.setQuery(e);
|
|
381
394
|
} finally {
|
|
382
|
-
|
|
395
|
+
$.current = !1;
|
|
383
396
|
}
|
|
384
397
|
}
|
|
385
|
-
}, [])
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
}, [
|
|
389
|
-
const
|
|
398
|
+
}, []);
|
|
399
|
+
ee(() => {
|
|
400
|
+
y && a !== "" && K(a);
|
|
401
|
+
}, []);
|
|
402
|
+
const X = R(a), G = R(!1);
|
|
403
|
+
ee(() => {
|
|
404
|
+
const e = a !== X.current;
|
|
405
|
+
X.current = a;
|
|
406
|
+
const l = G.current;
|
|
407
|
+
if (G.current = !1, a === void 0) {
|
|
408
|
+
z.current = [];
|
|
409
|
+
return;
|
|
410
|
+
}
|
|
411
|
+
if (e) {
|
|
412
|
+
const Z = z.current.indexOf(a);
|
|
413
|
+
if (Z >= 0 && (z.current = z.current.slice(Z + 1), !l))
|
|
414
|
+
return;
|
|
415
|
+
}
|
|
416
|
+
a === j || !e && !l || (z.current = [], P.cancel(), D(a), K(a));
|
|
417
|
+
});
|
|
418
|
+
const h = W(() => c ? c.flatMap((e) => e.items) : [], [c]);
|
|
419
|
+
te(() => {
|
|
420
|
+
N > h.length - 1 && q(0);
|
|
421
|
+
}, [h.length, N]);
|
|
422
|
+
const de = B(
|
|
390
423
|
(e) => {
|
|
391
|
-
|
|
424
|
+
$.current || (D(e), P(e), w(e.trim().length > 0));
|
|
392
425
|
},
|
|
393
|
-
[
|
|
394
|
-
),
|
|
426
|
+
[P]
|
|
427
|
+
), Q = B(
|
|
395
428
|
(e) => {
|
|
396
|
-
|
|
429
|
+
P.flush(), G.current = y, g == null || g(e), w(!1), y || (D(""), K("")), L == null || L();
|
|
397
430
|
},
|
|
398
|
-
[
|
|
399
|
-
|
|
431
|
+
[
|
|
432
|
+
P,
|
|
433
|
+
g,
|
|
434
|
+
y,
|
|
435
|
+
K,
|
|
436
|
+
L
|
|
437
|
+
]
|
|
438
|
+
), ce = B(
|
|
400
439
|
(e) => {
|
|
401
440
|
if (!(e.nativeEvent.isComposing || e.keyCode === 229)) {
|
|
402
|
-
if (!S && e.key === "ArrowDown" &&
|
|
403
|
-
e.preventDefault(),
|
|
441
|
+
if (!S && e.key === "ArrowDown" && h.length > 0) {
|
|
442
|
+
e.preventDefault(), w(!0);
|
|
404
443
|
return;
|
|
405
444
|
}
|
|
406
445
|
if (S)
|
|
407
446
|
if (e.key === "ArrowDown")
|
|
408
|
-
e.preventDefault(),
|
|
447
|
+
e.preventDefault(), q((l) => (l + 1) % Math.max(h.length, 1));
|
|
409
448
|
else if (e.key === "ArrowUp")
|
|
410
|
-
e.preventDefault(),
|
|
411
|
-
(
|
|
449
|
+
e.preventDefault(), q(
|
|
450
|
+
(l) => (l - 1 + Math.max(h.length, 1)) % Math.max(h.length, 1)
|
|
412
451
|
);
|
|
413
452
|
else if (e.key === "Enter") {
|
|
414
|
-
const
|
|
415
|
-
|
|
416
|
-
} else e.key === "Escape" && (e.preventDefault(),
|
|
453
|
+
const l = h[N];
|
|
454
|
+
l && (e.preventDefault(), Q(l));
|
|
455
|
+
} else e.key === "Escape" && (e.preventDefault(), w(!1));
|
|
417
456
|
}
|
|
418
457
|
},
|
|
419
|
-
[S,
|
|
420
|
-
),
|
|
458
|
+
[S, h, N, Q]
|
|
459
|
+
), le = u ?? I("search.placeholder", "Search…"), F = h.length > 0, ue = S && F ? `${E}-option-${N}` : void 0, U = B(
|
|
421
460
|
(e) => {
|
|
422
|
-
|
|
461
|
+
D(e), K(e), P.cancel(), T(e), w(e.trim().length > 0);
|
|
423
462
|
},
|
|
424
|
-
[
|
|
425
|
-
),
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
() =>
|
|
463
|
+
[P, T, K]
|
|
464
|
+
), Y = R(null);
|
|
465
|
+
se(
|
|
466
|
+
t,
|
|
467
|
+
() => Y.current,
|
|
429
468
|
[]
|
|
430
469
|
);
|
|
431
|
-
const
|
|
470
|
+
const pe = W(
|
|
432
471
|
() => ({
|
|
433
|
-
getQuery: () =>
|
|
434
|
-
setQuery:
|
|
472
|
+
getQuery: () => M,
|
|
473
|
+
setQuery: U,
|
|
435
474
|
clear: () => {
|
|
436
|
-
|
|
475
|
+
U("");
|
|
437
476
|
},
|
|
438
477
|
submit: () => {
|
|
439
|
-
const e =
|
|
440
|
-
e &&
|
|
478
|
+
const e = h[N];
|
|
479
|
+
e && Q(e);
|
|
441
480
|
},
|
|
442
481
|
focus: () => {
|
|
443
482
|
var e;
|
|
444
|
-
return (e =
|
|
483
|
+
return (e = O.current) == null ? void 0 : e.focus();
|
|
445
484
|
},
|
|
446
|
-
applySavedSearch: (e) =>
|
|
485
|
+
applySavedSearch: (e) => f == null ? void 0 : f(e)
|
|
447
486
|
}),
|
|
448
487
|
[
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
488
|
+
M,
|
|
489
|
+
U,
|
|
490
|
+
h,
|
|
491
|
+
N,
|
|
492
|
+
Q,
|
|
493
|
+
f
|
|
455
494
|
]
|
|
456
495
|
);
|
|
457
|
-
return
|
|
496
|
+
return ne(oe, pe, p), /* @__PURE__ */ s(V.Root, { open: S && F, onOpenChange: w, children: /* @__PURE__ */ _(
|
|
458
497
|
"div",
|
|
459
498
|
{
|
|
460
|
-
ref:
|
|
499
|
+
ref: Y,
|
|
461
500
|
...m,
|
|
462
|
-
id:
|
|
501
|
+
id: p,
|
|
463
502
|
"data-component": "search-bar",
|
|
464
|
-
"data-component-id":
|
|
465
|
-
className: [
|
|
503
|
+
"data-component-id": p,
|
|
504
|
+
className: [we({ size: i, density: d }), o].filter(Boolean).join(" "),
|
|
466
505
|
children: [
|
|
467
|
-
/* @__PURE__ */
|
|
506
|
+
/* @__PURE__ */ s(V.Anchor, { asChild: !0, children: /* @__PURE__ */ _(
|
|
468
507
|
"div",
|
|
469
508
|
{
|
|
470
509
|
className: "ds:relative ds:flex ds:items-center",
|
|
471
|
-
onKeyDown:
|
|
510
|
+
onKeyDown: ce,
|
|
472
511
|
children: [
|
|
473
|
-
/* @__PURE__ */
|
|
474
|
-
|
|
512
|
+
/* @__PURE__ */ s(
|
|
513
|
+
ve,
|
|
475
514
|
{
|
|
476
|
-
ref:
|
|
477
|
-
size:
|
|
478
|
-
...
|
|
479
|
-
onInput:
|
|
480
|
-
placeholder:
|
|
481
|
-
"aria-label":
|
|
482
|
-
"aria-keyshortcuts":
|
|
515
|
+
ref: O,
|
|
516
|
+
size: i,
|
|
517
|
+
...y ? {} : { defaultValue: C },
|
|
518
|
+
onInput: de,
|
|
519
|
+
placeholder: le,
|
|
520
|
+
"aria-label": I("search.label", "Search"),
|
|
521
|
+
"aria-keyshortcuts": x,
|
|
483
522
|
role: "combobox",
|
|
484
|
-
"aria-expanded": S &&
|
|
485
|
-
"aria-controls":
|
|
486
|
-
"aria-activedescendant":
|
|
523
|
+
"aria-expanded": S && F,
|
|
524
|
+
"aria-controls": E,
|
|
525
|
+
"aria-activedescendant": ue
|
|
487
526
|
}
|
|
488
527
|
),
|
|
489
|
-
|
|
528
|
+
n ? /* @__PURE__ */ s(
|
|
490
529
|
"kbd",
|
|
491
530
|
{
|
|
492
531
|
className: [
|
|
493
|
-
|
|
532
|
+
ie(),
|
|
494
533
|
"ds:absolute ds:end-[var(--spacing-sm)] ds:top-1/2 ds:-translate-y-1/2",
|
|
495
534
|
"ds:pointer-events-none"
|
|
496
535
|
].join(" "),
|
|
497
|
-
children:
|
|
536
|
+
children: b
|
|
498
537
|
}
|
|
499
538
|
) : null
|
|
500
539
|
]
|
|
501
540
|
}
|
|
502
541
|
) }),
|
|
503
|
-
/* @__PURE__ */
|
|
504
|
-
|
|
542
|
+
/* @__PURE__ */ s(V.Portal, { children: /* @__PURE__ */ s(
|
|
543
|
+
V.Content,
|
|
505
544
|
{
|
|
506
545
|
side: "bottom",
|
|
507
546
|
align: "start",
|
|
508
547
|
sideOffset: 4,
|
|
509
|
-
"aria-label":
|
|
548
|
+
"aria-label": I("search.resultsLabel", "Search results"),
|
|
510
549
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
511
550
|
className: [
|
|
512
|
-
|
|
551
|
+
Ne(),
|
|
513
552
|
"ds:w-[var(--radix-popover-trigger-width)]"
|
|
514
553
|
].join(" "),
|
|
515
|
-
children: /* @__PURE__ */
|
|
554
|
+
children: /* @__PURE__ */ s(
|
|
516
555
|
"div",
|
|
517
556
|
{
|
|
518
|
-
id:
|
|
557
|
+
id: E,
|
|
519
558
|
role: "listbox",
|
|
520
|
-
"aria-label":
|
|
559
|
+
"aria-label": I("search.resultsLabel", "Search results"),
|
|
521
560
|
className: "ds:flex ds:flex-col ds:gap-[calc(var(--spacing-xs)/2)]",
|
|
522
|
-
children: c && c.length > 0 ?
|
|
561
|
+
children: c && c.length > 0 ? Pe(
|
|
523
562
|
c,
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
) : /* @__PURE__ */
|
|
563
|
+
N,
|
|
564
|
+
E,
|
|
565
|
+
Q,
|
|
566
|
+
q
|
|
567
|
+
) : /* @__PURE__ */ s(
|
|
529
568
|
"div",
|
|
530
569
|
{
|
|
531
570
|
role: "presentation",
|
|
532
571
|
className: "ds:p-[var(--spacing-sm)] type-body-sm ds:text-[color:var(--foreground)]",
|
|
533
|
-
children:
|
|
572
|
+
children: I(
|
|
534
573
|
"search.noResults",
|
|
535
574
|
"No results for “{{query}}”",
|
|
536
575
|
{
|
|
537
|
-
query:
|
|
576
|
+
query: M
|
|
538
577
|
}
|
|
539
578
|
)
|
|
540
579
|
}
|
|
@@ -547,29 +586,29 @@ function ye(r) {
|
|
|
547
586
|
}
|
|
548
587
|
) });
|
|
549
588
|
}
|
|
550
|
-
function
|
|
551
|
-
let
|
|
552
|
-
return r.map((
|
|
553
|
-
const
|
|
554
|
-
return /* @__PURE__ */
|
|
589
|
+
function Pe(r, t, i, d, m) {
|
|
590
|
+
let u = 0;
|
|
591
|
+
return r.map((n, b) => {
|
|
592
|
+
const x = n.heading ? `${i}-group-${b}-heading` : void 0;
|
|
593
|
+
return /* @__PURE__ */ _(
|
|
555
594
|
"div",
|
|
556
595
|
{
|
|
557
|
-
role:
|
|
558
|
-
"aria-labelledby":
|
|
596
|
+
role: n.heading ? "group" : "presentation",
|
|
597
|
+
"aria-labelledby": x,
|
|
559
598
|
children: [
|
|
560
|
-
|
|
599
|
+
n.heading ? /* @__PURE__ */ s(
|
|
561
600
|
"div",
|
|
562
601
|
{
|
|
563
|
-
id:
|
|
602
|
+
id: x,
|
|
564
603
|
"aria-hidden": "true",
|
|
565
604
|
className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)] type-eyebrow ds:text-[color:var(--foreground)]",
|
|
566
|
-
children:
|
|
605
|
+
children: n.heading
|
|
567
606
|
}
|
|
568
607
|
) : null,
|
|
569
|
-
|
|
570
|
-
const
|
|
571
|
-
|
|
572
|
-
const
|
|
608
|
+
n.items.map((o) => {
|
|
609
|
+
const p = u;
|
|
610
|
+
u += 1;
|
|
611
|
+
const f = p === t, a = `${i}-option-${p}`, C = De(o.href), v = [
|
|
573
612
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
574
613
|
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
575
614
|
"ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]",
|
|
@@ -577,48 +616,48 @@ function be(r, s, o, i, m) {
|
|
|
577
616
|
"ds:cursor-pointer",
|
|
578
617
|
"ds:no-underline ds:text-[color:var(--foreground)]",
|
|
579
618
|
"ds:min-h-[var(--min-target-size)]",
|
|
580
|
-
|
|
581
|
-
].join(" "), c = /* @__PURE__ */
|
|
582
|
-
|
|
619
|
+
ge.active
|
|
620
|
+
].join(" "), c = /* @__PURE__ */ _(fe, { children: [
|
|
621
|
+
o.icon ? /* @__PURE__ */ s(
|
|
583
622
|
"span",
|
|
584
623
|
{
|
|
585
624
|
"aria-hidden": "true",
|
|
586
625
|
className: "ds:inline-flex ds:size-4 ds:shrink-0 ds:items-center ds:justify-center",
|
|
587
|
-
children:
|
|
626
|
+
children: o.icon
|
|
588
627
|
}
|
|
589
628
|
) : null,
|
|
590
|
-
/* @__PURE__ */
|
|
591
|
-
|
|
592
|
-
] }),
|
|
593
|
-
id:
|
|
629
|
+
/* @__PURE__ */ s("span", { className: "ds:flex-1 ds:text-[length:var(--font-size-sm)]", children: o.label }),
|
|
630
|
+
o.meta ? /* @__PURE__ */ s("span", { className: "ds:ms-auto type-meta ds:text-[color:var(--foreground)]", children: o.meta }) : null
|
|
631
|
+
] }), g = {
|
|
632
|
+
id: a,
|
|
594
633
|
role: "option",
|
|
595
|
-
"aria-selected":
|
|
596
|
-
"data-active":
|
|
634
|
+
"aria-selected": f,
|
|
635
|
+
"data-active": f || void 0,
|
|
597
636
|
// onMouseDown rather than onClick so we trigger before the
|
|
598
637
|
// input loses focus to the pointer-down on the popover.
|
|
599
|
-
onMouseDown: (
|
|
600
|
-
|
|
638
|
+
onMouseDown: (k) => {
|
|
639
|
+
k.preventDefault(), d(o);
|
|
601
640
|
},
|
|
602
|
-
onMouseEnter: () => m(
|
|
603
|
-
className:
|
|
641
|
+
onMouseEnter: () => m(p),
|
|
642
|
+
className: v
|
|
604
643
|
};
|
|
605
|
-
return
|
|
644
|
+
return C ? /* @__PURE__ */ s("a", { href: C, ...g, children: c }, o.id) : /* @__PURE__ */ s("div", { ...g, children: c }, o.id);
|
|
606
645
|
})
|
|
607
646
|
]
|
|
608
647
|
},
|
|
609
|
-
`g-${
|
|
648
|
+
`g-${b}`
|
|
610
649
|
);
|
|
611
650
|
});
|
|
612
651
|
}
|
|
613
|
-
function
|
|
652
|
+
function De(r) {
|
|
614
653
|
if (!r) return;
|
|
615
|
-
const
|
|
616
|
-
if (
|
|
617
|
-
return
|
|
654
|
+
const t = r.trim();
|
|
655
|
+
if (t !== "" && (/^(https?:|mailto:|tel:)/i.test(t) || /^(\/|\.\/|\.\.\/)/.test(t)))
|
|
656
|
+
return t;
|
|
618
657
|
}
|
|
619
658
|
export {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
659
|
+
Re as S,
|
|
660
|
+
Oe as f,
|
|
661
|
+
oe as s
|
|
623
662
|
};
|
|
624
|
-
//# sourceMappingURL=search-bar-
|
|
663
|
+
//# sourceMappingURL=search-bar-mA4bPe3t.js.map
|