@alfadocs/ui-kit-debug 1.67.0 → 1.68.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-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
- package/dist/_chunks/{address-fields-CJtu7LQU.js.map → address-fields-BUPRs3n-.js.map} +1 -1
- package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
- package/dist/_chunks/{agenda-card-DR9gDdKp.js.map → agenda-card-BDuvreCe.js.map} +1 -1
- package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
- package/dist/_chunks/{agenda-tray-DGB1Zup-.js.map → agenda-tray-CfwylhWf.js.map} +1 -1
- package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
- package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js.map → ai-credits-exhausted-notice-Bg8NpW2K.js.map} +1 -1
- package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js → ai-permission-notice-C00i6VhY.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js.map → ai-permission-notice-C00i6VhY.js.map} +1 -1
- package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
- package/dist/_chunks/ai-prompt-input-DzgyoKyk.js.map +1 -0
- package/dist/_chunks/{alert-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
- package/dist/_chunks/alert-9kEwDza3.js.map +1 -0
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js.map → alia-sidebar-B06ZSOaF.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js.map → anamnesis-summary-card-DQ3iE1gD.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
- package/dist/_chunks/anamnesis-summary-rows-CNK0fIJk.js.map +1 -0
- package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
- package/dist/_chunks/{appointment-card-CL32sux-.js.map → appointment-card-5JMWi9_f.js.map} +1 -1
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js.map → appointment-peek-D5XCfYKu.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
- package/dist/_chunks/{appointment-timeline-CCqjORFb.js.map → appointment-timeline-VFP6HoXT.js.map} +1 -1
- package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
- package/dist/_chunks/{appointment-tray-qtpJt8e0.js.map → appointment-tray-B3PDER3I.js.map} +1 -1
- package/dist/_chunks/{audio-recorder-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
- package/dist/_chunks/{audio-recorder-B11RR-rC.js.map → audio-recorder-4Ll0pwYK.js.map} +1 -1
- package/dist/_chunks/{auth-form-parts-DwUTH6YN.js → auth-form-parts-B40zvD-a.js} +2 -2
- package/dist/_chunks/{auth-form-parts-DwUTH6YN.js.map → auth-form-parts-B40zvD-a.js.map} +1 -1
- package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
- package/dist/_chunks/avatar-BPiPL7ND.js.map +1 -0
- package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
- package/dist/_chunks/{balance-badge-cell-DZNthHO1.js.map → balance-badge-cell-BG3DMly4.js.map} +1 -1
- package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
- package/dist/_chunks/{bishop-score-CaNTrikJ.js.map → bishop-score-Df8nF1qg.js.map} +1 -1
- package/dist/_chunks/{booking-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
- package/dist/_chunks/booking-B1pDbERi.js.map +1 -0
- package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
- package/dist/_chunks/{calendar-BhN-jisv.js.map → calendar-BvOM8rG3.js.map} +1 -1
- package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-CYK1M83j.js} +18 -18
- package/dist/_chunks/{calendar-workspace-MRrzcxAy.js.map → calendar-workspace-CYK1M83j.js.map} +1 -1
- package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
- package/dist/_chunks/{chat-message-fRLZ95O5.js.map → chat-message-Be-9vIIQ.js.map} +1 -1
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js.map → clinical-note-card-Caidqcwa.js.map} +1 -1
- package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
- package/dist/_chunks/color-picker-AcaWuKah.js.map +1 -0
- package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
- package/dist/_chunks/combobox-vF9O-QoG.js.map +1 -0
- package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
- package/dist/_chunks/contact-profile-card-CAwwOqHl.js.map +1 -0
- package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
- package/dist/_chunks/{control-room-rail-DUerqHeo.js.map → control-room-rail-BB6rCDWI.js.map} +1 -1
- package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
- package/dist/_chunks/{country-select-DF5Bd_mn.js.map → country-select-CSE2Zm_s.js.map} +1 -1
- package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
- package/dist/_chunks/dashboard-grid-7JzaiKnk.js.map +1 -0
- package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
- package/dist/_chunks/{data-table-COoCQ4n_.js.map → data-table-Cty4-Jht.js.map} +1 -1
- package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
- package/dist/_chunks/{dependent-selector-DBr1AhLg.js.map → dependent-selector-C4kOgO8b.js.map} +1 -1
- package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
- package/dist/_chunks/{document-preview-VyQOjFVL.js.map → document-preview-513f3iPn.js.map} +1 -1
- package/dist/_chunks/{document-scanner-CXH_GYh4.js → document-scanner-Bd3wbzpI.js} +2 -2
- package/dist/_chunks/{document-scanner-CXH_GYh4.js.map → document-scanner-Bd3wbzpI.js.map} +1 -1
- package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
- package/dist/_chunks/{editable-description-ChGNdYY8.js.map → editable-description-DnAFi360.js.map} +1 -1
- package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
- package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js.map → entity-summary-C2B8yNmc.js.map} +1 -1
- package/dist/_chunks/{error-summary-PUE5Zxp9.js → error-summary-mGxIyDAY.js} +2 -2
- package/dist/_chunks/{error-summary-PUE5Zxp9.js.map → error-summary-mGxIyDAY.js.map} +1 -1
- package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
- package/dist/_chunks/{face-scheme-DAD-mXzM.js.map → face-scheme-CSJdRNad.js.map} +1 -1
- package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
- package/dist/_chunks/{file-manager-RiV7-OEE.js.map → file-manager-D4cPnRhL.js.map} +1 -1
- package/dist/_chunks/{forgot-password-form-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
- package/dist/_chunks/{forgot-password-form-CPOfRE0C.js.map → forgot-password-form-Dqi7R-NL.js.map} +1 -1
- package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
- package/dist/_chunks/format-number-DdzqwMs1.js.map +1 -0
- package/dist/_chunks/{freemium-paywall-6DO7noHX.js → freemium-paywall-C73C8Rgd.js} +2 -2
- package/dist/_chunks/{freemium-paywall-6DO7noHX.js.map → freemium-paywall-C73C8Rgd.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js.map → gestational-age-calculator-Du53p8MH.js.map} +1 -1
- package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
- package/dist/_chunks/header-settings-DlUbvAUx.js.map +1 -0
- package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
- package/dist/_chunks/{heatmap-C1TeC7wT.js.map → heatmap-DbZIQg14.js.map} +1 -1
- package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js.map → help-me-write-templates-5WkUfvc_.js.map} +1 -1
- package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
- package/dist/_chunks/{kit-extensions-DWs1UEXb.js.map → kit-extensions-CYvLL4ee.js.map} +1 -1
- package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
- package/dist/_chunks/length-token-DwMnGEYT.js.map +1 -0
- package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js.map → link-cell-renderer-DtIsQWDO.js.map} +1 -1
- package/dist/_chunks/{login-dev-card-A-CL3mjt.js → login-dev-card-vEL-o5wq.js} +3 -3
- package/dist/_chunks/{login-dev-card-A-CL3mjt.js.map → login-dev-card-vEL-o5wq.js.map} +1 -1
- package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
- package/dist/_chunks/map-view-CtohteZD.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
- package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js.map → marketplace-app-shell-CcLQ0Dn-.js.map} +1 -1
- package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
- package/dist/_chunks/{message-card-A3mJNqfy.js.map → message-card-C_ksqIYM.js.map} +1 -1
- package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
- package/dist/_chunks/{message-tray-Ft6vSr71.js.map → message-tray-DCoQ4GQb.js.map} +1 -1
- package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
- package/dist/_chunks/multi-select-BOad3za9.js.map +1 -0
- package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
- package/dist/_chunks/{muscle-scheme-YoN3rYXV.js.map → muscle-scheme-C66WlCxG.js.map} +1 -1
- package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
- package/dist/_chunks/{note-timeline-DDqNU46n.js.map → note-timeline-KzL52MmB.js.map} +1 -1
- package/dist/_chunks/{notes-panel-IdsmqRFC.js → notes-panel-BXN46XkF.js} +6 -6
- package/dist/_chunks/{notes-panel-IdsmqRFC.js.map → notes-panel-BXN46XkF.js.map} +1 -1
- package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
- package/dist/_chunks/notice-group-DkYzKyAZ.js.map +1 -0
- package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
- package/dist/_chunks/{notification-tray-BR3seWA7.js.map → notification-tray-Cp18MW5b.js.map} +1 -1
- package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
- package/dist/_chunks/operator-hero-6aAIQaFZ.js.map +1 -0
- package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
- package/dist/_chunks/optical-prescription-ulXnDbBe.js.map +1 -0
- package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
- package/dist/_chunks/panel-header-CbtlTe85.js.map +1 -0
- package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
- package/dist/_chunks/{panel-subview-yP4qIbKS.js.map → panel-subview-BPU7220K.js.map} +1 -1
- package/dist/_chunks/{patient-details-C-EWQTms.js → patient-details-C4Dyo7Ck.js} +4 -4
- package/dist/_chunks/{patient-details-C-EWQTms.js.map → patient-details-C4Dyo7Ck.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-DROvUkFu.js} +4 -4
- package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js.map → patient-field-row-DROvUkFu.js.map} +1 -1
- package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
- package/dist/_chunks/{patient-search-DpAKidZ5.js.map → patient-search-BADdx3M1.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-CAimxbuI.js} +4 -4
- package/dist/_chunks/{patient-summary-card-Bpto_VCD.js.map → patient-summary-card-CAimxbuI.js.map} +1 -1
- package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js.map → payment-automation-upsell-CiwF5UrC.js.map} +1 -1
- package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
- package/dist/_chunks/{payment-form-XKtinW8r.js.map → payment-form-PBuh8PIa.js.map} +1 -1
- package/dist/_chunks/{pdf-viewer-BvoVMjH4.js → pdf-viewer-gAsNUsA8.js} +2 -2
- package/dist/_chunks/{pdf-viewer-BvoVMjH4.js.map → pdf-viewer-gAsNUsA8.js.map} +1 -1
- package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
- package/dist/_chunks/periodontal-risk-chart-B7S9OmPC.js.map +1 -0
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js.map +1 -0
- package/dist/_chunks/{practice-results-BrUDDMXC.js → practice-results-BzThnpnm.js} +328 -298
- package/dist/_chunks/practice-results-BzThnpnm.js.map +1 -0
- package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js.map → pregnancy-dating-EFcFUJkQ.js.map} +1 -1
- package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
- package/dist/_chunks/{privacy-mask-Ch7743uk.js.map → privacy-mask-CCz9zuIh.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
- package/dist/_chunks/{product-hub-panel-C_ZosrBt.js.map → product-hub-panel-YuFbNPlT.js.map} +1 -1
- package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
- package/dist/_chunks/progress-notice-DiHWZ8Ms.js.map +1 -0
- package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
- package/dist/_chunks/{province-select-Bd20Z9Br.js.map → province-select-CDjs5obD.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js.map → radiograph-panel.agent-4UllIoTQ.js.map} +1 -1
- package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
- package/dist/_chunks/rating-CGYpg5dj.js.map +1 -0
- package/dist/_chunks/{registration-form-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
- package/dist/_chunks/{registration-form-BxwqUZzk.js.map → registration-form-1B0PTDal.js.map} +1 -1
- package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
- package/dist/_chunks/reviews-panel-CosDZyow.js.map +1 -0
- package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
- package/dist/_chunks/{rich-text-editor-aCIoptbg.js.map → rich-text-editor-56dSsyZI.js.map} +1 -1
- package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
- package/dist/_chunks/select-4S-eYZUf.js.map +1 -0
- package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
- package/dist/_chunks/{sign-document-D1P1nUQA.js.map → sign-document-BiOTs1P4.js.map} +1 -1
- package/dist/_chunks/{signature-request-3u6TvRt2.js → signature-request-DAmNj_uq.js} +5 -5
- package/dist/_chunks/{signature-request-3u6TvRt2.js.map → signature-request-DAmNj_uq.js.map} +1 -1
- package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
- package/dist/_chunks/skeleton-tTWJpvAq.js.map +1 -0
- package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
- package/dist/_chunks/{slot-grid-dj5f6R2w.js.map → slot-grid-D_gix9mJ.js.map} +1 -1
- package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
- package/dist/_chunks/{tabs-2x3L13jn.js.map → tabs-BTj-2qMZ.js.map} +1 -1
- package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
- package/dist/_chunks/{task-card-BS7Uqevr.js.map → task-card-Ci2XbLmq.js.map} +1 -1
- package/dist/_chunks/{task-editor-Bb5MMcid.js → task-editor-BomyxGoZ.js} +8 -8
- package/dist/_chunks/{task-editor-Bb5MMcid.js.map → task-editor-BomyxGoZ.js.map} +1 -1
- package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
- package/dist/_chunks/{task-tray-eQU4KJcA.js.map → task-tray-Dnc72nl-.js.map} +1 -1
- package/dist/_chunks/{tasks-panel-BOb57Ysw.js → tasks-panel-ATz9JDy8.js} +6 -6
- package/dist/_chunks/{tasks-panel-BOb57Ysw.js.map → tasks-panel-ATz9JDy8.js.map} +1 -1
- package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
- package/dist/_chunks/theme-toggle-DT_Jn4DC.js.map +1 -0
- package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
- package/dist/_chunks/{timeline-DEIuHrWz.js.map → timeline-wUuTDFY_.js.map} +1 -1
- package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
- package/dist/_chunks/{tool-rail-C-03rH2I.js.map → tool-rail-C-M3eVdY.js.map} +1 -1
- package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
- package/dist/_chunks/{transcript-panel-XudW5l6l.js.map → transcript-panel-CoHHpcFg.js.map} +1 -1
- package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
- package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js.map → treatment-receipt-pFqWFyD_.js.map} +1 -1
- package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
- package/dist/_chunks/{unit-converter-BPZ0Ldkb.js.map → unit-converter-CIoTmCmP.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js → use-appointment-details-read-CUGfE0hV.js} +12 -12
- package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js.map → use-appointment-details-read-CUGfE0hV.js.map} +1 -1
- package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
- package/dist/_chunks/use-dismissed-CTOWqA0e.js.map +1 -0
- package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
- package/dist/_chunks/{voice-control-panel-BJIEbDq6.js.map → voice-control-panel-B8Lrk0C4.js.map} +1 -1
- package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
- package/dist/_chunks/{warning-stack-BdY-0bd3.js.map → warning-stack-BhHUmRiD.js.map} +1 -1
- package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
- package/dist/_chunks/{workflow-map-CYbRD9ek.js.map → workflow-map-ln4_OG8A.js.map} +1 -1
- package/dist/agent-catalog.json +172 -4
- package/dist/agent-i18n/en.json +25 -1
- package/dist/components/_shared/format-number.d.ts +20 -0
- package/dist/components/_shared/format-number.d.ts.map +1 -0
- package/dist/components/_shared/length-token.d.ts +12 -0
- package/dist/components/_shared/length-token.d.ts.map +1 -0
- package/dist/components/_shared/option.d.ts +1 -0
- package/dist/components/_shared/option.d.ts.map +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/ai-prompt-input.d.ts.map +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/alert.d.ts +26 -0
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/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/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/audio-recorder/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +2 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/booking.d.ts.map +1 -1
- package/dist/components/booking/details-form.d.ts.map +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/chat-message/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/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/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/country-select/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.agent.d.ts.map +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
- 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/dependent-selector/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/editable-description/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-summary/index.js +1 -1
- package/dist/components/face-scheme/face-scheme.d.ts.map +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/header-settings/header-settings.d.ts.map +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/map-view/index.d.ts +1 -1
- package/dist/components/map-view/index.d.ts.map +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +51 -0
- package/dist/components/map-view/map-view.d.ts.map +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/multi-select/multi-select.d.ts.map +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.js +1 -1
- package/dist/components/notice-group/index.d.ts +3 -0
- package/dist/components/notice-group/index.d.ts.map +1 -0
- package/dist/components/notice-group/index.js +6 -0
- package/dist/components/notice-group/index.js.map +1 -0
- package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
- package/dist/components/notice-group/notice-group.agent.d.ts.map +1 -0
- package/dist/components/notice-group/notice-group.d.ts +43 -0
- package/dist/components/notice-group/notice-group.d.ts.map +1 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
- package/dist/components/optical-prescription/optical-prescription-data.d.ts.map +1 -1
- package/dist/components/optical-prescription/optical-prescription.d.ts.map +1 -1
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-header/panel-header.d.ts +10 -0
- package/dist/components/panel-header/panel-header.d.ts.map +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-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts.map +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts.map +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +10 -2
- package/dist/components/practice-results/practice-results.d.ts.map +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress-notice/index.d.ts +3 -0
- package/dist/components/progress-notice/index.d.ts.map +1 -0
- package/dist/components/progress-notice/index.js +6 -0
- package/dist/components/progress-notice/index.js.map +1 -0
- package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
- package/dist/components/progress-notice/progress-notice.agent.d.ts.map +1 -0
- package/dist/components/progress-notice/progress-notice.d.ts +81 -0
- package/dist/components/progress-notice/progress-notice.d.ts.map +1 -0
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/rating/rating.d.ts.map +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +6 -0
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.d.ts.map +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +41 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/transcript-panel/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/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +81 -76
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/use-dismissed.d.ts +58 -0
- package/dist/hooks/use-dismissed.d.ts.map +1 -0
- package/dist/i18n/locales/ar.d.ts +22 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +22 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +22 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +22 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +22 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +22 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +22 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +22 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +22 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +22 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +22 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +22 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +22 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +22 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +22 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +22 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +22 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +22 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +22 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +22 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +22 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +22 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +22 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +22 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +22 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +22 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +22 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +22 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +22 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +22 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +22 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +22 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +22 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +22 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +22 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +22 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +1194 -1183
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +22 -0
- package/dist/locales/de.json +22 -0
- package/dist/locales/el.json +22 -0
- package/dist/locales/en.json +22 -0
- package/dist/locales/es.json +22 -0
- package/dist/locales/fr.json +22 -0
- package/dist/locales/hi.json +22 -0
- package/dist/locales/it.json +22 -0
- package/dist/locales/ja.json +22 -0
- package/dist/locales/nl.json +22 -0
- package/dist/locales/pl.json +22 -0
- package/dist/locales/pt.json +22 -0
- package/dist/locales/ro.json +22 -0
- package/dist/locales/ru.json +22 -0
- package/dist/locales/sq.json +22 -0
- package/dist/locales/sv.json +22 -0
- package/dist/locales/tr.json +22 -0
- package/dist/locales/zh.json +22 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/anamnesis-export-pdf.d.ts.map +1 -1
- 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 +2 -2
- package/dist/patterns/login-form/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/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +9 -1
- package/dist/_chunks/ai-prompt-input-DSGSe4LH.js.map +0 -1
- package/dist/_chunks/alert-DjsJMGRE.js.map +0 -1
- package/dist/_chunks/anamnesis-summary-rows-BQ_EokKz.js.map +0 -1
- package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
- package/dist/_chunks/avatar-WZY3eGE7.js.map +0 -1
- package/dist/_chunks/booking-tTVxKPQY.js.map +0 -1
- package/dist/_chunks/color-picker-BsggJovx.js.map +0 -1
- package/dist/_chunks/combobox-U5yfO6o0.js.map +0 -1
- package/dist/_chunks/contact-profile-card-C4-OCshj.js.map +0 -1
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js.map +0 -1
- package/dist/_chunks/header-settings-BSH9Gk0J.js.map +0 -1
- package/dist/_chunks/map-view-BuVfJMEa.js.map +0 -1
- package/dist/_chunks/multi-select-CMaAQQgb.js.map +0 -1
- package/dist/_chunks/operator-hero-3_RG4Dkj.js.map +0 -1
- package/dist/_chunks/optical-prescription-CxfMsbxi.js.map +0 -1
- package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
- package/dist/_chunks/panel-header-BJkaUwnl.js.map +0 -1
- package/dist/_chunks/periodontal-risk-chart-CPy7CNFe.js.map +0 -1
- package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
- package/dist/_chunks/practice-profile-hero-Dfc0F60y.js.map +0 -1
- package/dist/_chunks/practice-results-BrUDDMXC.js.map +0 -1
- package/dist/_chunks/rating-C1Vrmpsi.js.map +0 -1
- package/dist/_chunks/reviews-panel-AvsVgtJu.js.map +0 -1
- package/dist/_chunks/select-k4gBdS8N.js.map +0 -1
- package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
- package/dist/_chunks/skeleton-B1KTdJ4N.js.map +0 -1
- package/dist/_chunks/theme-toggle-Ctb77x6O.js.map +0 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { useMemo as b, useSyncExternalStore as v, useCallback as g } from "react";
|
|
2
|
+
const f = "alfadocs-ui.dismissed.", _ = 720 * 60 * 60 * 1e3, S = 200, c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), M = 2 ** 31 - 1;
|
|
3
|
+
let a = null;
|
|
4
|
+
function m() {
|
|
5
|
+
if (typeof window > "u") return null;
|
|
6
|
+
try {
|
|
7
|
+
return window.localStorage;
|
|
8
|
+
} catch {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function w(t) {
|
|
13
|
+
return typeof t == "string" && t.length > 0 ? t : void 0;
|
|
14
|
+
}
|
|
15
|
+
function E(t, e) {
|
|
16
|
+
if (e === Number.POSITIVE_INFINITY) return null;
|
|
17
|
+
const n = e !== void 0 && Number.isFinite(e) && e > 0 ? e : _;
|
|
18
|
+
return t + n;
|
|
19
|
+
}
|
|
20
|
+
function p(t) {
|
|
21
|
+
if (t === null) return null;
|
|
22
|
+
try {
|
|
23
|
+
const e = JSON.parse(t);
|
|
24
|
+
if (e !== null && typeof e == "object" && typeof e.at == "number") {
|
|
25
|
+
const n = e.until;
|
|
26
|
+
return {
|
|
27
|
+
at: e.at,
|
|
28
|
+
until: typeof n == "number" ? n : null
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
} catch {
|
|
32
|
+
}
|
|
33
|
+
return "legacy";
|
|
34
|
+
}
|
|
35
|
+
const I = (t, e) => t !== null && t <= e;
|
|
36
|
+
function D(t) {
|
|
37
|
+
const e = Date.now();
|
|
38
|
+
if (l.has(t)) {
|
|
39
|
+
if (!I(l.get(t) ?? null, e)) return !0;
|
|
40
|
+
l.delete(t);
|
|
41
|
+
}
|
|
42
|
+
const n = m();
|
|
43
|
+
if (!n) return !1;
|
|
44
|
+
try {
|
|
45
|
+
const o = p(n.getItem(f + t));
|
|
46
|
+
return o === null ? !1 : o === "legacy" || !I(o.until, e) ? !0 : (n.removeItem(f + t), !1);
|
|
47
|
+
} catch {
|
|
48
|
+
return !1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function O(t, e) {
|
|
52
|
+
try {
|
|
53
|
+
const n = [], o = [], r = [];
|
|
54
|
+
for (let i = 0; i < t.length; i += 1) {
|
|
55
|
+
const s = t.key(i);
|
|
56
|
+
if (s === null || !s.startsWith(f)) continue;
|
|
57
|
+
const u = p(t.getItem(s));
|
|
58
|
+
u !== null && (u === "legacy" ? (r.push(s), n.push({ name: s, at: e })) : I(u.until, e) ? o.push(s) : n.push({ name: s, at: u.at }));
|
|
59
|
+
}
|
|
60
|
+
for (const i of r) {
|
|
61
|
+
const s = {
|
|
62
|
+
at: e,
|
|
63
|
+
until: E(e, void 0)
|
|
64
|
+
};
|
|
65
|
+
t.setItem(i, JSON.stringify(s));
|
|
66
|
+
}
|
|
67
|
+
if (n.length > S) {
|
|
68
|
+
n.sort((i, s) => i.at - s.at);
|
|
69
|
+
for (const { name: i } of n.slice(0, n.length - S))
|
|
70
|
+
o.push(i);
|
|
71
|
+
}
|
|
72
|
+
for (const i of o) t.removeItem(i);
|
|
73
|
+
} catch {
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function N() {
|
|
77
|
+
for (const t of c.keys()) t();
|
|
78
|
+
}
|
|
79
|
+
function F(t) {
|
|
80
|
+
if (l.has(t)) return l.get(t) ?? null;
|
|
81
|
+
const e = m();
|
|
82
|
+
if (!e) return null;
|
|
83
|
+
try {
|
|
84
|
+
const n = p(e.getItem(f + t));
|
|
85
|
+
return n === null || n === "legacy" ? null : n.until;
|
|
86
|
+
} catch {
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function d() {
|
|
91
|
+
if (a !== null && (clearTimeout(a), a = null), typeof window > "u" || c.size === 0) return;
|
|
92
|
+
const t = Date.now();
|
|
93
|
+
let e = Number.POSITIVE_INFINITY;
|
|
94
|
+
for (const n of c.values())
|
|
95
|
+
for (const o of n) {
|
|
96
|
+
const r = F(o);
|
|
97
|
+
r !== null && r > t && r < e && (e = r);
|
|
98
|
+
}
|
|
99
|
+
e !== Number.POSITIVE_INFINITY && (a = setTimeout(
|
|
100
|
+
() => {
|
|
101
|
+
a = null, N(), d();
|
|
102
|
+
},
|
|
103
|
+
Math.min(e - t, M)
|
|
104
|
+
));
|
|
105
|
+
}
|
|
106
|
+
function y() {
|
|
107
|
+
N(), d();
|
|
108
|
+
}
|
|
109
|
+
function x(t, e) {
|
|
110
|
+
const n = Date.now(), o = {
|
|
111
|
+
at: n,
|
|
112
|
+
until: E(n, e)
|
|
113
|
+
}, r = m();
|
|
114
|
+
let i = !1;
|
|
115
|
+
if (r) {
|
|
116
|
+
try {
|
|
117
|
+
r.setItem(f + t, JSON.stringify(o)), i = !0;
|
|
118
|
+
} catch {
|
|
119
|
+
i = !1;
|
|
120
|
+
}
|
|
121
|
+
i && O(r, n);
|
|
122
|
+
}
|
|
123
|
+
i ? l.delete(t) : l.set(t, o.until), y();
|
|
124
|
+
}
|
|
125
|
+
function A(t) {
|
|
126
|
+
l.delete(t);
|
|
127
|
+
const e = m();
|
|
128
|
+
if (e)
|
|
129
|
+
try {
|
|
130
|
+
e.removeItem(f + t);
|
|
131
|
+
} catch {
|
|
132
|
+
}
|
|
133
|
+
y();
|
|
134
|
+
}
|
|
135
|
+
function h(t) {
|
|
136
|
+
(t.key === null || t.key.startsWith(f)) && y();
|
|
137
|
+
}
|
|
138
|
+
function T(t) {
|
|
139
|
+
return (e) => (c.set(e, t), c.size === 1 && typeof window < "u" && window.addEventListener("storage", h), d(), () => {
|
|
140
|
+
c.delete(e), c.size === 0 && typeof window < "u" && window.removeEventListener("storage", h), d();
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
function L(t, e) {
|
|
144
|
+
const n = w(t), o = e == null ? void 0 : e.lifetimeMs, r = b(
|
|
145
|
+
() => T(n === void 0 ? [] : [n]),
|
|
146
|
+
[n]
|
|
147
|
+
), i = v(
|
|
148
|
+
r,
|
|
149
|
+
() => n === void 0 ? !1 : D(n),
|
|
150
|
+
() => n !== void 0
|
|
151
|
+
), s = g(() => {
|
|
152
|
+
n !== void 0 && x(n, o);
|
|
153
|
+
}, [n, o]), u = g(() => {
|
|
154
|
+
n !== void 0 && A(n);
|
|
155
|
+
}, [n]);
|
|
156
|
+
return { dismissed: i, dismiss: s, restore: u };
|
|
157
|
+
}
|
|
158
|
+
function P(t) {
|
|
159
|
+
const e = t.map(w), n = e.filter((s) => s !== void 0), o = JSON.stringify(n), r = b(
|
|
160
|
+
() => T(JSON.parse(o)),
|
|
161
|
+
[o]
|
|
162
|
+
), i = v(
|
|
163
|
+
r,
|
|
164
|
+
() => e.map((s) => s !== void 0 && D(s) ? "1" : "0").join(""),
|
|
165
|
+
() => e.map((s) => s !== void 0 ? "1" : "0").join("")
|
|
166
|
+
);
|
|
167
|
+
return e.map((s, u) => i[u] === "1");
|
|
168
|
+
}
|
|
169
|
+
export {
|
|
170
|
+
_ as D,
|
|
171
|
+
S as a,
|
|
172
|
+
f as b,
|
|
173
|
+
w as c,
|
|
174
|
+
P as d,
|
|
175
|
+
L as u
|
|
176
|
+
};
|
|
177
|
+
//# sourceMappingURL=use-dismissed-CTOWqA0e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dismissed-CTOWqA0e.js","sources":["../../src/hooks/use-dismissed.ts"],"sourcesContent":["import { useCallback, useMemo, useSyncExternalStore } from 'react';\n\n/* ------------------------------------------------------------------ */\n/* useDismissed: a notice that stays dismissed in this browser. */\n/* */\n/* One localStorage entry per key, under DISMISSED_STORAGE_PREFIX, */\n/* holding when it was dismissed and until when: {\"at\":…,\"until\":…}. */\n/* Keys are stored as written, in plain browser storage: never put */\n/* personal or patient data in one. Put the condition in the key */\n/* instead (`reconnect-2026-10`), so a new condition brings the notice */\n/* back. */\n/* */\n/* - Entries expire: after DISMISSED_DEFAULT_LIFETIME_MS (30 days), or */\n/* the lifetime the host gives. A read removes its own entry once it */\n/* has expired; a dismissal sweeps every expired entry and keeps at */\n/* most DISMISSED_MAX_ENTRIES, dropping the oldest first. */\n/* - An entry in the first format (\"1\") reads as dismissed and gets a */\n/* lifetime from the next sweep. */\n/* - Every storage access is wrapped in try/catch. Where storage is */\n/* unavailable (private mode, blocked site data, a sandbox), a */\n/* dismissal lasts for this page only: it simply forgets on reload. */\n/* - Every hook with the same key updates together, and a dismissal or */\n/* restore in another tab reaches this one through the `storage` */\n/* event (keys under the prefix only). */\n/* - A notice that stays mounted reappears when its dismissal expires: */\n/* one timer wakes the store at the nearest expiry among the keys in */\n/* use, capped below setTimeout's limit and re-armed when it fires. */\n/* - No flash of a dismissed notice: on the client, storage is read */\n/* synchronously during render, so a dismissed notice never paints. */\n/* On the server, and while hydrating, every keyed notice counts as */\n/* dismissed (unknown), so the server never sends one either; a */\n/* notice that is not dismissed appears right after hydration. */\n/* ------------------------------------------------------------------ */\n\n/** Prefix of the localStorage entry that remembers a dismissed key. */\nexport const DISMISSED_STORAGE_PREFIX = 'alfadocs-ui.dismissed.';\n\n/** How long a dismissal lasts unless the host says otherwise: 30 days. */\nexport const DISMISSED_DEFAULT_LIFETIME_MS = 30 * 24 * 60 * 60 * 1000;\n\n/** The most dismissals the kit keeps; the oldest go first. */\nexport const DISMISSED_MAX_ENTRIES = 200;\n\ninterface StoredDismissal {\n /** When it was dismissed (ms since the epoch). */\n at: number;\n /** When it expires, or null for \"until the cap drops it\". */\n until: number | null;\n}\n\n// Each subscriber (a mounted hook) and the keys it reads.\nconst subscriptions = new Map<() => void, readonly string[]>();\n// Dismissals that storage refused, with their expiry: this page only.\nconst memory = new Map<string, number | null>();\n\n// setTimeout runs a longer delay at once (it overflows a 32-bit int),\n// and the default lifetime is 30 days: longer waits wake early and re-arm.\nconst MAX_TIMER_DELAY_MS = 2 ** 31 - 1;\nlet wakeTimer: ReturnType<typeof setTimeout> | null = null;\n\nfunction getStorage(): Storage | null {\n if (typeof window === 'undefined') return null;\n try {\n return window.localStorage;\n } catch {\n return null;\n }\n}\n\n/**\n * A usable key, or undefined: an empty key means no persistence. Every\n * surface taking a `dismissKey` reads it through this, so they agree.\n */\nexport function usableDismissKey(key: string | undefined): string | undefined {\n return typeof key === 'string' && key.length > 0 ? key : undefined;\n}\n\n/** When a dismissal made now expires: null for an infinite lifetime. */\nfunction expiryFrom(\n now: number,\n lifetimeMs: number | undefined,\n): number | null {\n if (lifetimeMs === Number.POSITIVE_INFINITY) return null;\n const lifetime =\n lifetimeMs !== undefined && Number.isFinite(lifetimeMs) && lifetimeMs > 0\n ? lifetimeMs\n : DISMISSED_DEFAULT_LIFETIME_MS;\n return now + lifetime;\n}\n\n/**\n * A stored value: an entry, 'legacy' for the first format (\"1\") or\n * anything else unreadable (still a dismissal), or null when absent.\n */\nfunction parseEntry(raw: string | null): StoredDismissal | 'legacy' | null {\n if (raw === null) return null;\n try {\n const value: unknown = JSON.parse(raw);\n if (\n value !== null &&\n typeof value === 'object' &&\n typeof (value as { at?: unknown }).at === 'number'\n ) {\n const until = (value as { until?: unknown }).until;\n return {\n at: (value as { at: number }).at,\n until: typeof until === 'number' ? until : null,\n };\n }\n } catch {\n /* not JSON: the first format */\n }\n return 'legacy';\n}\n\nconst expired = (until: number | null, now: number) =>\n until !== null && until <= now;\n\n/** Whether `key` has been dismissed in this browser (or this page). */\nexport function isDismissed(key: string): boolean {\n const now = Date.now();\n if (memory.has(key)) {\n if (!expired(memory.get(key) ?? null, now)) return true;\n memory.delete(key);\n }\n const storage = getStorage();\n if (!storage) return false;\n try {\n const entry = parseEntry(storage.getItem(DISMISSED_STORAGE_PREFIX + key));\n if (entry === null) return false;\n if (entry === 'legacy') return true;\n if (!expired(entry.until, now)) return true;\n // Expired: prune this entry as it is read (one key, cheap).\n storage.removeItem(DISMISSED_STORAGE_PREFIX + key);\n return false;\n } catch {\n return false;\n }\n}\n\n/**\n * Every entry under the prefix: drop the expired ones, give first-format\n * entries a lifetime from now, then keep at most DISMISSED_MAX_ENTRIES,\n * oldest out first. Runs on each dismissal, so it costs one pass over\n * storage only when someone closes a notice.\n */\nfunction sweep(storage: Storage, now: number): void {\n try {\n const kept: Array<{ name: string; at: number }> = [];\n const doomed: string[] = [];\n const stamped: string[] = [];\n for (let i = 0; i < storage.length; i += 1) {\n const name = storage.key(i);\n if (name === null || !name.startsWith(DISMISSED_STORAGE_PREFIX)) continue;\n const entry = parseEntry(storage.getItem(name));\n if (entry === null) continue;\n if (entry === 'legacy') {\n stamped.push(name);\n kept.push({ name, at: now });\n } else if (expired(entry.until, now)) {\n doomed.push(name);\n } else {\n kept.push({ name, at: entry.at });\n }\n }\n for (const name of stamped) {\n const value: StoredDismissal = {\n at: now,\n until: expiryFrom(now, undefined),\n };\n storage.setItem(name, JSON.stringify(value));\n }\n if (kept.length > DISMISSED_MAX_ENTRIES) {\n kept.sort((a, b) => a.at - b.at);\n for (const { name } of kept.slice(0, kept.length - DISMISSED_MAX_ENTRIES))\n doomed.push(name);\n }\n for (const name of doomed) storage.removeItem(name);\n } catch {\n /* a sweep that cannot finish leaves storage as it was: harmless */\n }\n}\n\nfunction notify(): void {\n for (const listener of subscriptions.keys()) listener();\n}\n\n/** When a live dismissal of `key` expires; null when none or never. */\nfunction expiryOf(key: string): number | null {\n if (memory.has(key)) return memory.get(key) ?? null;\n const storage = getStorage();\n if (!storage) return null;\n try {\n const entry = parseEntry(storage.getItem(DISMISSED_STORAGE_PREFIX + key));\n return entry === null || entry === 'legacy' ? null : entry.until;\n } catch {\n return null;\n }\n}\n\n/**\n * One wake-up at the nearest expiry among the keys in use, so a notice\n * that stays mounted reappears on time. Re-planned whenever a dismissal\n * changes or the subscribed keys do; cleared with the last subscriber.\n */\nfunction planWake(): void {\n if (wakeTimer !== null) {\n clearTimeout(wakeTimer);\n wakeTimer = null;\n }\n if (typeof window === 'undefined' || subscriptions.size === 0) return;\n const now = Date.now();\n let next = Number.POSITIVE_INFINITY;\n for (const keys of subscriptions.values()) {\n for (const key of keys) {\n const until = expiryOf(key);\n if (until !== null && until > now && until < next) next = until;\n }\n }\n if (next === Number.POSITIVE_INFINITY) return;\n wakeTimer = setTimeout(\n () => {\n wakeTimer = null;\n // Subscribers re-read: an expired key now reads as not dismissed.\n notify();\n planWake();\n },\n Math.min(next - now, MAX_TIMER_DELAY_MS),\n );\n}\n\n/** A dismissal changed: tell every subscriber and re-plan the wake-up. */\nfunction changed(): void {\n notify();\n planWake();\n}\n\n/** Remember `key` as dismissed, for `lifetimeMs` (default 30 days). */\nexport function rememberDismissal(key: string, lifetimeMs?: number): void {\n const now = Date.now();\n const value: StoredDismissal = {\n at: now,\n until: expiryFrom(now, lifetimeMs),\n };\n const storage = getStorage();\n let stored = false;\n if (storage) {\n try {\n storage.setItem(DISMISSED_STORAGE_PREFIX + key, JSON.stringify(value));\n stored = true;\n } catch {\n stored = false;\n }\n if (stored) sweep(storage, now);\n }\n if (stored) memory.delete(key);\n else memory.set(key, value.until);\n changed();\n}\n\n/** Forget a dismissal, so the notice for `key` shows again. */\nexport function forgetDismissal(key: string): void {\n memory.delete(key);\n const storage = getStorage();\n if (storage) {\n try {\n storage.removeItem(DISMISSED_STORAGE_PREFIX + key);\n } catch {\n /* unavailable: memory was the only record */\n }\n }\n changed();\n}\n\nfunction onStorage(event: StorageEvent): void {\n // `key` is null when another tab cleared the whole store.\n if (event.key === null || event.key.startsWith(DISMISSED_STORAGE_PREFIX)) {\n changed();\n }\n}\n\n/** A subscribe function for these keys, for useSyncExternalStore. */\nfunction subscribeTo(keys: readonly string[]) {\n return (listener: () => void): (() => void) => {\n subscriptions.set(listener, keys);\n if (subscriptions.size === 1 && typeof window !== 'undefined') {\n window.addEventListener('storage', onStorage);\n }\n planWake();\n return () => {\n subscriptions.delete(listener);\n if (subscriptions.size === 0 && typeof window !== 'undefined') {\n window.removeEventListener('storage', onStorage);\n }\n planWake();\n };\n };\n}\n\nexport interface UseDismissedOptions {\n /**\n * How long a dismissal lasts, in ms. Defaults to\n * DISMISSED_DEFAULT_LIFETIME_MS (30 days). `Infinity` keeps it until\n * the cap of DISMISSED_MAX_ENTRIES drops it. Read when `dismiss` runs:\n * the expiry is stored with the entry.\n */\n lifetimeMs?: number;\n}\n\nexport interface UseDismissedReturn {\n /**\n * True once `key` has been dismissed in this browser. Always false\n * without a key. True on the server and while hydrating (unknown), so\n * a dismissed notice is never shown, not even for a frame.\n */\n dismissed: boolean;\n /** Remember the key as dismissed. Does nothing without a key. */\n dismiss: () => void;\n /** Forget the dismissal, so the notice shows again. */\n restore: () => void;\n}\n\n/**\n * A notice that stays dismissed in this browser, keyed by `key`, for 30\n * days or `options.lifetimeMs`. Pass the same key wherever the notice\n * appears; a new key shows it again, so put the condition in the key.\n * Keys sit in plain browser storage: never put personal or patient data\n * in one.\n *\n * @example\n * const { dismissed, dismiss } = useDismissed(`hours-${hoursVersion}`, {\n * lifetimeMs: 7 * 24 * 60 * 60 * 1000,\n * });\n */\nexport function useDismissed(\n key: string | undefined,\n options?: UseDismissedOptions,\n): UseDismissedReturn {\n const usable = usableDismissKey(key);\n const lifetimeMs = options?.lifetimeMs;\n // A new key subscribes afresh, which re-plans the wake-up.\n const subscribe = useMemo(\n () => subscribeTo(usable === undefined ? [] : [usable]),\n [usable],\n );\n const dismissed = useSyncExternalStore(\n subscribe,\n () => (usable === undefined ? false : isDismissed(usable)),\n () => usable !== undefined,\n );\n const dismiss = useCallback(() => {\n if (usable !== undefined) rememberDismissal(usable, lifetimeMs);\n }, [usable, lifetimeMs]);\n const restore = useCallback(() => {\n if (usable !== undefined) forgetDismissal(usable);\n }, [usable]);\n return { dismissed, dismiss, restore };\n}\n\n/**\n * Dismissed flags for several keys at once, in order (false for a\n * missing key). For containers that count their notices, such as\n * NoticeGroup. Same rules as `useDismissed`.\n */\nexport function useDismissedKeys(\n keys: ReadonlyArray<string | undefined>,\n): boolean[] {\n const usable = keys.map(usableDismissKey);\n const present = usable.filter((key): key is string => key !== undefined);\n // The keys as JSON, a lossless string whatever a key holds, so the\n // subscription changes only when the keys do.\n const signature = JSON.stringify(present);\n const subscribe = useMemo(\n () => subscribeTo(JSON.parse(signature) as string[]),\n [signature],\n );\n // A string snapshot, so React compares by value, not by array identity.\n const snapshot = useSyncExternalStore(\n subscribe,\n () =>\n usable\n .map((key) => (key !== undefined && isDismissed(key) ? '1' : '0'))\n .join(''),\n () => usable.map((key) => (key !== undefined ? '1' : '0')).join(''),\n );\n return usable.map((_, i) => snapshot[i] === '1');\n}\n"],"names":["DISMISSED_STORAGE_PREFIX","DISMISSED_DEFAULT_LIFETIME_MS","DISMISSED_MAX_ENTRIES","subscriptions","memory","MAX_TIMER_DELAY_MS","wakeTimer","getStorage","usableDismissKey","key","expiryFrom","now","lifetimeMs","lifetime","parseEntry","raw","value","until","expired","isDismissed","storage","entry","sweep","kept","doomed","stamped","name","a","b","notify","listener","expiryOf","planWake","next","keys","changed","rememberDismissal","stored","forgetDismissal","onStorage","event","subscribeTo","useDismissed","options","usable","subscribe","useMemo","dismissed","useSyncExternalStore","dismiss","useCallback","restore","useDismissedKeys","present","signature","snapshot","_","i"],"mappings":";AAmCO,MAAMA,IAA2B,0BAG3BC,IAAgC,MAAU,KAAK,KAAK,KAGpDC,IAAwB,KAU/BC,wBAAoB,IAAA,GAEpBC,wBAAa,IAAA,GAIbC,IAAqB,KAAK,KAAK;AACrC,IAAIC,IAAkD;AAEtD,SAASC,IAA6B;AACpC,MAAI,OAAO,SAAW,IAAa,QAAO;AAC1C,MAAI;AACF,WAAO,OAAO;AAAA,EAChB,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAMO,SAASC,EAAiBC,GAA6C;AAC5E,SAAO,OAAOA,KAAQ,YAAYA,EAAI,SAAS,IAAIA,IAAM;AAC3D;AAGA,SAASC,EACPC,GACAC,GACe;AACf,MAAIA,MAAe,OAAO,kBAAmB,QAAO;AACpD,QAAMC,IACJD,MAAe,UAAa,OAAO,SAASA,CAAU,KAAKA,IAAa,IACpEA,IACAX;AACN,SAAOU,IAAME;AACf;AAMA,SAASC,EAAWC,GAAuD;AACzE,MAAIA,MAAQ,KAAM,QAAO;AACzB,MAAI;AACF,UAAMC,IAAiB,KAAK,MAAMD,CAAG;AACrC,QACEC,MAAU,QACV,OAAOA,KA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fH;AAAA,IACA,MACED,EACG,IAAI,CAACnC,MAASA,MAAQ,UAAaU,EAAYV,CAAG,IAAI,MAAM,GAAI,EAChE,KAAK,EAAE;AAAA,IACZ,MAAMmC,EAAO,IAAI,CAACnC,MAASA,MAAQ,SAAY,MAAM,GAAI,EAAE,KAAK,EAAE;AAAA,EAAA;AAEpE,SAAOmC,EAAO,IAAI,CAACY,GAAGC,MAAMF,EAASE,CAAC,MAAM,GAAG;AACjD;"}
|
|
@@ -3,8 +3,8 @@ import { forwardRef as on, useId as $e, useState as I, useRef as r, useMemo as j
|
|
|
3
3
|
import { c as K } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as sn, Trans as rn } from "react-i18next";
|
|
5
5
|
import { u as an, w as cn } from "./ai-credits-notice-DQ-r3iQU.js";
|
|
6
|
-
import { A as ln, a as dn } from "./ai-credits-exhausted-notice-
|
|
7
|
-
import { A as un } from "./ai-permission-notice-
|
|
6
|
+
import { A as ln, a as dn } from "./ai-credits-exhausted-notice-Bg8NpW2K.js";
|
|
7
|
+
import { A as un } from "./ai-permission-notice-C00i6VhY.js";
|
|
8
8
|
import { A as fn } from "./ai-sparkle-D23NT8Z_.js";
|
|
9
9
|
import { B as pn } from "./badge-BUk4RjTS.js";
|
|
10
10
|
import { B as qe } from "./button-D-MQxsA_.js";
|
|
@@ -14,7 +14,7 @@ import { F as yn } from "./form-field-Ani72sVY.js";
|
|
|
14
14
|
import { K as bn } from "./kbd-Bx7eQv9f.js";
|
|
15
15
|
import { L as pe } from "./list-CNnn7DOD.js";
|
|
16
16
|
import { L as xn } from "./live-region-C41SO3cA.js";
|
|
17
|
-
import { S as wn } from "./select-
|
|
17
|
+
import { S as wn } from "./select-4S-eYZUf.js";
|
|
18
18
|
import { a as Nn, b as Ct, c as Cn, d as kn } from "./ai-fab-pill-BOu96kCx.js";
|
|
19
19
|
import { c as An } from "./compose-refs-C0k0tdqF.js";
|
|
20
20
|
import { g as Rn, a as En } from "./glass-surface-CPok0jEe.js";
|
|
@@ -1145,4 +1145,4 @@ export {
|
|
|
1145
1145
|
no as V,
|
|
1146
1146
|
Gn as v
|
|
1147
1147
|
};
|
|
1148
|
-
//# sourceMappingURL=voice-control-panel-
|
|
1148
|
+
//# sourceMappingURL=voice-control-panel-B8Lrk0C4.js.map
|