@alfadocs/ui-kit 1.66.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/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
- package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
- package/dist/_chunks/ai-credits-exhausted-notice-Bg8NpW2K.js +287 -0
- package/dist/_chunks/ai-credits-exhausted-notice.agent-DgTSTgez.js +43 -0
- package/dist/_chunks/ai-credits-notice-DQ-r3iQU.js +191 -0
- package/dist/_chunks/{ai-permission-notice-DpRmZ9Q3.js → ai-permission-notice-C00i6VhY.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
- package/dist/_chunks/{alert-DdDpOi-P.js → alert-9kEwDza3.js} +122 -111
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BIfw890v.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
- package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
- package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
- package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
- package/dist/_chunks/{audio-recorder-DR-u1qbl.js → audio-recorder-4Ll0pwYK.js} +3 -3
- package/dist/_chunks/{auth-form-parts-Cmb41LSQ.js → auth-form-parts-B40zvD-a.js} +2 -2
- package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
- package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
- package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
- package/dist/_chunks/{booking-DkjatiXc.js → booking-B1pDbERi.js} +377 -335
- package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
- package/dist/_chunks/{calendar-workspace-Cp8yTZ1g.js → calendar-workspace-CYK1M83j.js} +19 -19
- package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
- package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
- package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
- package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
- package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
- package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
- package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
- package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
- package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
- package/dist/_chunks/{document-preview-B1dQm292.js → document-preview-513f3iPn.js} +4 -4
- package/dist/_chunks/{document-scanner-CVPVLK7z.js → document-scanner-Bd3wbzpI.js} +2 -2
- package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
- package/dist/_chunks/{entity-summary-BQ9_KA8S.js → entity-summary-C2B8yNmc.js} +4 -4
- package/dist/_chunks/{error-summary-DrUfuKu1.js → error-summary-mGxIyDAY.js} +2 -2
- package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
- package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
- package/dist/_chunks/{forgot-password-form-CgZkEvZy.js → forgot-password-form-Dqi7R-NL.js} +4 -4
- package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
- package/dist/_chunks/{freemium-paywall-DKJHRFpp.js → freemium-paywall-C73C8Rgd.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
- package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
- package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
- package/dist/_chunks/help-me-write-templates-5WkUfvc_.js +687 -0
- package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
- package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
- package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
- package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
- package/dist/_chunks/{login-dev-card-PnADNcI9.js → login-dev-card-vEL-o5wq.js} +3 -3
- package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
- package/dist/_chunks/{marketplace-app-shell-C-2e4eCD.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
- package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
- package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
- package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
- package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
- package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
- package/dist/_chunks/{notes-panel-uEGIL7mi.js → notes-panel-BXN46XkF.js} +6 -6
- package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
- package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
- package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
- package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
- package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
- package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
- package/dist/_chunks/{patient-details-4P1vA9Ls.js → patient-details-C4Dyo7Ck.js} +4 -4
- package/dist/_chunks/{patient-field-row-CBXhlfGD.js → patient-field-row-DROvUkFu.js} +155 -176
- package/dist/_chunks/{patient-search-DOnDUVsl.js → patient-search-BADdx3M1.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CuDLo8MP.js → patient-summary-card-CAimxbuI.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-C8MEu0t6.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
- package/dist/_chunks/{payment-form-C3dGY7v4.js → payment-form-PBuh8PIa.js} +2 -2
- package/dist/_chunks/{pdf-viewer-DJ9VN7cu.js → pdf-viewer-gAsNUsA8.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
- package/dist/_chunks/{practice-results-8h2Utpt3.js → practice-results-BzThnpnm.js} +328 -298
- package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
- package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
- package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
- package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
- package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
- package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
- package/dist/_chunks/{registration-form-BQyT_kBX.js → registration-form-1B0PTDal.js} +4 -4
- package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
- package/dist/_chunks/{rich-text-editor-M2gT_E7f.js → rich-text-editor-56dSsyZI.js} +1653 -1743
- package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
- package/dist/_chunks/{sign-document-CY7xTXbm.js → sign-document-BiOTs1P4.js} +2 -2
- package/dist/_chunks/{signature-request-BMCHy2ZO.js → signature-request-DAmNj_uq.js} +5 -5
- package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
- package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
- package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
- package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
- package/dist/_chunks/{task-editor-CifOznfq.js → task-editor-BomyxGoZ.js} +8 -8
- package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
- package/dist/_chunks/{tasks-panel-8nLwBw6P.js → tasks-panel-ATz9JDy8.js} +6 -6
- package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
- package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
- package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
- package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
- package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
- package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-B-FEWbQM.js → use-appointment-details-read-CUGfE0hV.js} +13 -13
- package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
- package/dist/_chunks/voice-control-panel-B8Lrk0C4.js +1148 -0
- package/dist/_chunks/{warning-stack-HYWAytZV.js → warning-stack-BhHUmRiD.js} +2 -2
- package/dist/_chunks/{workflow-map-C2B2qIr1.js → workflow-map-ln4_OG8A.js} +2 -2
- package/dist/agent-catalog.json +221 -6
- package/dist/agent-i18n/en.json +32 -5
- package/dist/components/_shared/format-number.d.ts +20 -0
- package/dist/components/_shared/length-token.d.ts +12 -0
- package/dist/components/_shared/option.d.ts +1 -0
- 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/ai-credits-exhausted-notice.agent.d.ts +4 -0
- package/dist/components/ai-credits-notice/ai-credits-exhausted-notice.d.ts +96 -0
- package/dist/components/ai-credits-notice/ai-credits-notice.d.ts +30 -4
- package/dist/components/ai-credits-notice/index.d.ts +3 -0
- package/dist/components/ai-credits-notice/index.js +10 -4
- package/dist/components/ai-permission-notice/index.js +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/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/index.js +1 -1
- package/dist/components/bishop-score/index.js +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/index.js +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.d.ts +20 -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/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/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/map-view/index.d.ts +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/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notice-group/index.d.ts +3 -0
- package/dist/components/notice-group/index.js +6 -0
- package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
- package/dist/components/notice-group/notice-group.d.ts +43 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-header/panel-header.d.ts +10 -0
- 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/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +10 -2
- 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.js +6 -0
- package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
- package/dist/components/progress-notice/progress-notice.d.ts +81 -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/reviews-panel/index.js +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/sign-document/index.js +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +41 -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/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.d.ts +2 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/voice-control-panel/voice-control-panel.d.ts +43 -3
- 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.js +81 -76
- package/dist/hooks/use-dismissed.d.ts +58 -0
- package/dist/i18n/locales/ar.d.ts +49 -12
- package/dist/i18n/locales/ar.js +49 -12
- package/dist/i18n/locales/de.d.ts +49 -12
- package/dist/i18n/locales/de.js +49 -12
- package/dist/i18n/locales/el.d.ts +49 -12
- package/dist/i18n/locales/el.js +49 -12
- package/dist/i18n/locales/en.d.ts +49 -12
- package/dist/i18n/locales/en.js +49 -12
- package/dist/i18n/locales/es.d.ts +49 -12
- package/dist/i18n/locales/es.js +49 -12
- package/dist/i18n/locales/fr.d.ts +49 -12
- package/dist/i18n/locales/fr.js +49 -12
- package/dist/i18n/locales/hi.d.ts +49 -12
- package/dist/i18n/locales/hi.js +49 -12
- package/dist/i18n/locales/it.d.ts +49 -12
- package/dist/i18n/locales/it.js +49 -12
- package/dist/i18n/locales/ja.d.ts +49 -12
- package/dist/i18n/locales/ja.js +49 -12
- package/dist/i18n/locales/nl.d.ts +49 -12
- package/dist/i18n/locales/nl.js +49 -12
- package/dist/i18n/locales/pl.d.ts +49 -12
- package/dist/i18n/locales/pl.js +49 -12
- package/dist/i18n/locales/pt.d.ts +49 -12
- package/dist/i18n/locales/pt.js +49 -12
- package/dist/i18n/locales/ro.d.ts +49 -12
- package/dist/i18n/locales/ro.js +49 -12
- package/dist/i18n/locales/ru.d.ts +49 -12
- package/dist/i18n/locales/ru.js +49 -12
- package/dist/i18n/locales/sq.d.ts +49 -12
- package/dist/i18n/locales/sq.js +49 -12
- package/dist/i18n/locales/sv.d.ts +49 -12
- package/dist/i18n/locales/sv.js +49 -12
- package/dist/i18n/locales/tr.d.ts +49 -12
- package/dist/i18n/locales/tr.js +49 -12
- package/dist/i18n/locales/zh.d.ts +49 -12
- package/dist/i18n/locales/zh.js +49 -12
- package/dist/index.js +1193 -1177
- package/dist/locales/ar.json +49 -12
- package/dist/locales/de.json +49 -12
- package/dist/locales/el.json +49 -12
- package/dist/locales/en.json +49 -12
- package/dist/locales/es.json +49 -12
- package/dist/locales/fr.json +49 -12
- package/dist/locales/hi.json +49 -12
- package/dist/locales/it.json +49 -12
- package/dist/locales/ja.json +49 -12
- package/dist/locales/nl.json +49 -12
- package/dist/locales/pl.json +49 -12
- package/dist/locales/pt.json +49 -12
- package/dist/locales/ro.json +49 -12
- package/dist/locales/ru.json +49 -12
- package/dist/locales/sq.json +49 -12
- package/dist/locales/sv.json +49 -12
- package/dist/locales/tr.json +49 -12
- package/dist/locales/zh.json +49 -12
- package/dist/patterns/alia-assistant/index.js +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/help-me-write-templates.d.ts +6 -23
- package/dist/patterns/help-me-write-templates/index.js +8 -7
- 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-credits-notice-pK9BOmEz.js +0 -90
- package/dist/_chunks/ai-credits-notice.agent-C9L7orrP.js +0 -17
- package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
- package/dist/_chunks/help-me-write-templates-DFmqnsAa.js +0 -747
- package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
- package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
- package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
- package/dist/_chunks/voice-control-panel-C0BfY23Y.js +0 -1009
|
@@ -3,7 +3,7 @@ import { forwardRef as dn, useId as P, useState as y, useEffect as f, useMemo as
|
|
|
3
3
|
import { c as cn } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as ln } from "react-i18next";
|
|
5
5
|
import { u as un } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
6
|
-
import { A as C } from "./alert-
|
|
6
|
+
import { A as C } from "./alert-9kEwDza3.js";
|
|
7
7
|
import { B as fn } from "./button-D-MQxsA_.js";
|
|
8
8
|
import { I as mn } from "./icon-button-C_1TgRiK.js";
|
|
9
9
|
import { X as gn } from "./x-B5YnXwCz.js";
|
|
@@ -270,4 +270,4 @@ Nn.displayName = "WarningStack";
|
|
|
270
270
|
export {
|
|
271
271
|
Nn as W
|
|
272
272
|
};
|
|
273
|
-
//# sourceMappingURL=warning-stack-
|
|
273
|
+
//# sourceMappingURL=warning-stack-BhHUmRiD.js.map
|
|
@@ -13,7 +13,7 @@ import { T as ae } from "./trash-2-uumy3fy1.js";
|
|
|
13
13
|
import { C as Ne } from "./circle-dashed-CUj6o2cA.js";
|
|
14
14
|
import { C as Ce } from "./circle-j7oZoouK.js";
|
|
15
15
|
import { u as _e } from "./registry-DvAUVLHh.js";
|
|
16
|
-
import { A as V } from "./alert-
|
|
16
|
+
import { A as V } from "./alert-9kEwDza3.js";
|
|
17
17
|
import { B as Se } from "./button-D-MQxsA_.js";
|
|
18
18
|
import { D as N } from "./dropdown-menu-D1we7oAY.js";
|
|
19
19
|
import { E } from "./empty-state-pL1qum99.js";
|
|
@@ -1321,4 +1321,4 @@ export {
|
|
|
1321
1321
|
ee as r,
|
|
1322
1322
|
D as w
|
|
1323
1323
|
};
|
|
1324
|
-
//# sourceMappingURL=workflow-map-
|
|
1324
|
+
//# sourceMappingURL=workflow-map-ln4_OG8A.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.68.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -424,6 +424,20 @@
|
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
},
|
|
427
|
+
{
|
|
428
|
+
"kind": "component",
|
|
429
|
+
"id": "ai-credits-exhausted-notice",
|
|
430
|
+
"capabilities": [],
|
|
431
|
+
"state": [],
|
|
432
|
+
"actions": [],
|
|
433
|
+
"domHooks": {
|
|
434
|
+
"root": {
|
|
435
|
+
"attr": "data-component",
|
|
436
|
+
"value": "ai-credits-exhausted-notice",
|
|
437
|
+
"description": "Marks the out-of-credits notice. Each next-step button carries `data-credits-action=\"buy|upgrade|support|costs\"`."
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
},
|
|
427
441
|
{
|
|
428
442
|
"kind": "component",
|
|
429
443
|
"id": "ai-credits-notice",
|
|
@@ -438,6 +452,20 @@
|
|
|
438
452
|
}
|
|
439
453
|
}
|
|
440
454
|
},
|
|
455
|
+
{
|
|
456
|
+
"kind": "component",
|
|
457
|
+
"id": "ai-credits-warning",
|
|
458
|
+
"capabilities": [],
|
|
459
|
+
"state": [],
|
|
460
|
+
"actions": [],
|
|
461
|
+
"domHooks": {
|
|
462
|
+
"root": {
|
|
463
|
+
"attr": "data-component",
|
|
464
|
+
"value": "ai-credits-warning",
|
|
465
|
+
"description": "Marks the quiet credit lines. Each line carries `data-credits-line=\"low|expiring|exhausted\"`."
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
441
469
|
{
|
|
442
470
|
"kind": "component",
|
|
443
471
|
"id": "ai-prompt-input",
|
|
@@ -539,7 +567,7 @@
|
|
|
539
567
|
"root": {
|
|
540
568
|
"attr": "data-component",
|
|
541
569
|
"value": "alert",
|
|
542
|
-
"description": "Marks the element as a kit Alert. The root also emits `data-state=\"open\" | \"closing\"` while the dismiss animation runs. Alerts inherit native `id` from props, which is what agents address them by."
|
|
570
|
+
"description": "Marks the element as a kit Alert. The root also emits `data-state=\"open\" | \"closing\"` while the dismiss animation runs. Alerts inherit native `id` from props, which is what agents address them by. An alert with `dismissKey` that was dismissed in this browser is not rendered at all."
|
|
543
571
|
}
|
|
544
572
|
}
|
|
545
573
|
},
|
|
@@ -3275,6 +3303,12 @@
|
|
|
3275
3303
|
"type": "string | null",
|
|
3276
3304
|
"description": "The widget the host has marked (for example while its settings are open), or null. Set by the host, not by agents.",
|
|
3277
3305
|
"descriptionKey": "ui.agent.dashboardGrid.state.selectedId"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"name": "loadingIds",
|
|
3309
|
+
"type": "string[]",
|
|
3310
|
+
"description": "Ids of the widgets still waiting for their figures (the host set loading). Their bodies show placeholders, so read their values only once they leave this list. Set by the host, not by agents.",
|
|
3311
|
+
"descriptionKey": "ui.agent.dashboardGrid.state.loadingIds"
|
|
3278
3312
|
}
|
|
3279
3313
|
],
|
|
3280
3314
|
"actions": [
|
|
@@ -3404,7 +3438,7 @@
|
|
|
3404
3438
|
},
|
|
3405
3439
|
"item": {
|
|
3406
3440
|
"attr": "data-widget-id",
|
|
3407
|
-
"description": "Each widget wrapper carries its layout id."
|
|
3441
|
+
"description": "Each widget wrapper carries its layout id. While its figures load it also carries data-loading=\"true\" and aria-busy=\"true\"."
|
|
3408
3442
|
}
|
|
3409
3443
|
}
|
|
3410
3444
|
},
|
|
@@ -8586,6 +8620,75 @@
|
|
|
8586
8620
|
}
|
|
8587
8621
|
}
|
|
8588
8622
|
},
|
|
8623
|
+
{
|
|
8624
|
+
"kind": "component",
|
|
8625
|
+
"id": "notice-group",
|
|
8626
|
+
"capabilities": [
|
|
8627
|
+
"expand"
|
|
8628
|
+
],
|
|
8629
|
+
"state": [
|
|
8630
|
+
{
|
|
8631
|
+
"name": "noteCount",
|
|
8632
|
+
"type": "number",
|
|
8633
|
+
"description": "How many folding notes (not errors or progress notices) are still shown, dismissed ones excluded.",
|
|
8634
|
+
"descriptionKey": "ui.agent.noticeGroup.state.noteCount"
|
|
8635
|
+
},
|
|
8636
|
+
{
|
|
8637
|
+
"name": "grouped",
|
|
8638
|
+
"type": "boolean",
|
|
8639
|
+
"description": "True while the notes sit behind one summary row (two or more notes).",
|
|
8640
|
+
"descriptionKey": "ui.agent.noticeGroup.state.grouped"
|
|
8641
|
+
},
|
|
8642
|
+
{
|
|
8643
|
+
"name": "open",
|
|
8644
|
+
"type": "boolean",
|
|
8645
|
+
"description": "Whether the summary row is open (expanded), so every note is visible.",
|
|
8646
|
+
"descriptionKey": "ui.agent.noticeGroup.state.open"
|
|
8647
|
+
}
|
|
8648
|
+
],
|
|
8649
|
+
"actions": [
|
|
8650
|
+
{
|
|
8651
|
+
"name": "set_open",
|
|
8652
|
+
"safety": "read",
|
|
8653
|
+
"argsType": "open",
|
|
8654
|
+
"argsSchema": {
|
|
8655
|
+
"type": "object",
|
|
8656
|
+
"properties": {
|
|
8657
|
+
"open": {
|
|
8658
|
+
"type": "boolean",
|
|
8659
|
+
"description": "True to show every note, false to fold them."
|
|
8660
|
+
}
|
|
8661
|
+
},
|
|
8662
|
+
"required": [
|
|
8663
|
+
"open"
|
|
8664
|
+
]
|
|
8665
|
+
},
|
|
8666
|
+
"returns": "boolean (applied)",
|
|
8667
|
+
"returnsSchema": {
|
|
8668
|
+
"type": "boolean",
|
|
8669
|
+
"description": "True when applied (with a controlled open, when asked of the host); false when there is no summary row (fewer than two notes)."
|
|
8670
|
+
},
|
|
8671
|
+
"idempotent": true,
|
|
8672
|
+
"errors": [
|
|
8673
|
+
"Fewer than two notes (grouped is false): returns false."
|
|
8674
|
+
],
|
|
8675
|
+
"description": "Open (expand) or fold the notes behind the summary row. With a controlled open the host decides.",
|
|
8676
|
+
"descriptionKey": "ui.agent.noticeGroup.actions.setOpen"
|
|
8677
|
+
}
|
|
8678
|
+
],
|
|
8679
|
+
"domHooks": {
|
|
8680
|
+
"root": {
|
|
8681
|
+
"attr": "data-component",
|
|
8682
|
+
"value": "notice-group",
|
|
8683
|
+
"description": "Marks the NoticeGroup. Carries data-grouped=\"true\" while the notes fold behind the summary row, whose Alert carries data-notice-group-summary."
|
|
8684
|
+
},
|
|
8685
|
+
"instanceId": {
|
|
8686
|
+
"attr": "data-component-id",
|
|
8687
|
+
"sourceProp": "id",
|
|
8688
|
+
"description": "Sourced from the id prop."
|
|
8689
|
+
}
|
|
8690
|
+
}
|
|
8691
|
+
},
|
|
8589
8692
|
{
|
|
8590
8693
|
"kind": "component",
|
|
8591
8694
|
"id": "notification-card",
|
|
@@ -11936,6 +12039,99 @@
|
|
|
11936
12039
|
}
|
|
11937
12040
|
}
|
|
11938
12041
|
},
|
|
12042
|
+
{
|
|
12043
|
+
"kind": "component",
|
|
12044
|
+
"id": "progress-notice",
|
|
12045
|
+
"capabilities": [
|
|
12046
|
+
"expand",
|
|
12047
|
+
"dismiss"
|
|
12048
|
+
],
|
|
12049
|
+
"state": [
|
|
12050
|
+
{
|
|
12051
|
+
"name": "value",
|
|
12052
|
+
"type": "number",
|
|
12053
|
+
"description": "Progress so far, in the units of max.",
|
|
12054
|
+
"descriptionKey": "ui.agent.progressNotice.state.value"
|
|
12055
|
+
},
|
|
12056
|
+
{
|
|
12057
|
+
"name": "max",
|
|
12058
|
+
"type": "number",
|
|
12059
|
+
"description": "The value at which the import is done.",
|
|
12060
|
+
"descriptionKey": "ui.agent.progressNotice.state.max"
|
|
12061
|
+
},
|
|
12062
|
+
{
|
|
12063
|
+
"name": "complete",
|
|
12064
|
+
"type": "boolean",
|
|
12065
|
+
"description": "True once every item is ready or the value has reached max.",
|
|
12066
|
+
"descriptionKey": "ui.agent.progressNotice.state.complete"
|
|
12067
|
+
},
|
|
12068
|
+
{
|
|
12069
|
+
"name": "readyCount",
|
|
12070
|
+
"type": "number",
|
|
12071
|
+
"description": "How many items in the details list are ready.",
|
|
12072
|
+
"descriptionKey": "ui.agent.progressNotice.state.readyCount"
|
|
12073
|
+
},
|
|
12074
|
+
{
|
|
12075
|
+
"name": "itemCount",
|
|
12076
|
+
"type": "number",
|
|
12077
|
+
"description": "How many items the details list has (0: no list).",
|
|
12078
|
+
"descriptionKey": "ui.agent.progressNotice.state.itemCount"
|
|
12079
|
+
},
|
|
12080
|
+
{
|
|
12081
|
+
"name": "detailsOpen",
|
|
12082
|
+
"type": "boolean",
|
|
12083
|
+
"description": "Whether the details list is open.",
|
|
12084
|
+
"descriptionKey": "ui.agent.progressNotice.state.detailsOpen"
|
|
12085
|
+
}
|
|
12086
|
+
],
|
|
12087
|
+
"actions": [
|
|
12088
|
+
{
|
|
12089
|
+
"name": "set_details_open",
|
|
12090
|
+
"safety": "read",
|
|
12091
|
+
"argsType": "open",
|
|
12092
|
+
"argsSchema": {
|
|
12093
|
+
"type": "object",
|
|
12094
|
+
"properties": {
|
|
12095
|
+
"open": {
|
|
12096
|
+
"type": "boolean",
|
|
12097
|
+
"description": "True to open the details list, false to close it."
|
|
12098
|
+
}
|
|
12099
|
+
},
|
|
12100
|
+
"required": [
|
|
12101
|
+
"open"
|
|
12102
|
+
]
|
|
12103
|
+
},
|
|
12104
|
+
"returns": "boolean (applied)",
|
|
12105
|
+
"returnsSchema": {
|
|
12106
|
+
"type": "boolean",
|
|
12107
|
+
"description": "True when applied; false when the notice has no list."
|
|
12108
|
+
},
|
|
12109
|
+
"idempotent": true,
|
|
12110
|
+
"errors": [
|
|
12111
|
+
"No details list (itemCount is 0): returns false."
|
|
12112
|
+
],
|
|
12113
|
+
"description": "Open or close the details list of the import.",
|
|
12114
|
+
"descriptionKey": "ui.agent.progressNotice.actions.setDetailsOpen"
|
|
12115
|
+
}
|
|
12116
|
+
],
|
|
12117
|
+
"domHooks": {
|
|
12118
|
+
"root": {
|
|
12119
|
+
"attr": "data-component",
|
|
12120
|
+
"value": "progress-notice",
|
|
12121
|
+
"description": "Marks the ProgressNotice. Also carries data-complete=\"true\" once the import is complete. The notice inside is a kit Alert; its close control is [data-alert-dismiss]."
|
|
12122
|
+
},
|
|
12123
|
+
"instanceId": {
|
|
12124
|
+
"attr": "data-component-id",
|
|
12125
|
+
"sourceProp": "id",
|
|
12126
|
+
"description": "Sourced from the id prop."
|
|
12127
|
+
},
|
|
12128
|
+
"item": {
|
|
12129
|
+
"attr": "data-item-id",
|
|
12130
|
+
"sourceProp": "items[].id",
|
|
12131
|
+
"description": "Each row of the details list, from ProgressNoticeItem.id. A ready row also carries data-ready=\"true\"."
|
|
12132
|
+
}
|
|
12133
|
+
}
|
|
12134
|
+
},
|
|
11939
12135
|
{
|
|
11940
12136
|
"kind": "component",
|
|
11941
12137
|
"id": "province-select",
|
|
@@ -13227,7 +13423,7 @@
|
|
|
13227
13423
|
"root": {
|
|
13228
13424
|
"attr": "data-component",
|
|
13229
13425
|
"value": "skeleton",
|
|
13230
|
-
"description": "Marks the element as a kit Skeleton placeholder."
|
|
13426
|
+
"description": "Marks the element as a kit Skeleton placeholder. A preset root also carries data-preset: figure, line-chart, bar-chart, heatmap, table or list. Decorative; the busy region around it says what is loading."
|
|
13231
13427
|
}
|
|
13232
13428
|
}
|
|
13233
13429
|
},
|
|
@@ -16441,6 +16637,18 @@
|
|
|
16441
16637
|
"type": "boolean",
|
|
16442
16638
|
"description": "Floating layout: true when the panel above the pill is open. Always false inline.",
|
|
16443
16639
|
"descriptionKey": "ui.agent.voiceControlPanel.state.panelOpen"
|
|
16640
|
+
},
|
|
16641
|
+
{
|
|
16642
|
+
"name": "creditsExhausted",
|
|
16643
|
+
"type": "boolean",
|
|
16644
|
+
"description": "True when the practice is out of AI credits: every start shows the out-of-credits notice instead of listening.",
|
|
16645
|
+
"descriptionKey": "ui.agent.voiceControlPanel.state.creditsExhausted"
|
|
16646
|
+
},
|
|
16647
|
+
{
|
|
16648
|
+
"name": "creditsNoticeOpen",
|
|
16649
|
+
"type": "boolean",
|
|
16650
|
+
"description": "True when the out-of-credits notice is showing in the panel, in place of the controls.",
|
|
16651
|
+
"descriptionKey": "ui.agent.voiceControlPanel.state.creditsNoticeOpen"
|
|
16444
16652
|
}
|
|
16445
16653
|
],
|
|
16446
16654
|
"actions": [
|
|
@@ -16453,14 +16661,14 @@
|
|
|
16453
16661
|
"Microphone permission denied",
|
|
16454
16662
|
"Speech service unavailable"
|
|
16455
16663
|
],
|
|
16456
|
-
"description": "Ask the host to start listening (it opens the microphone). Does nothing when already starting or listening, or while the panel is disabled.",
|
|
16664
|
+
"description": "Ask the host to start listening (it opens the microphone). Does nothing when already starting or listening, or while the panel is disabled. Without patient AI consent it shows the consent banner instead; out of AI credits (creditsExhausted) it shows the out-of-credits notice instead.",
|
|
16457
16665
|
"descriptionKey": "ui.agent.voiceControlPanel.actions.startListening"
|
|
16458
16666
|
},
|
|
16459
16667
|
{
|
|
16460
16668
|
"name": "stop_listening",
|
|
16461
16669
|
"safety": "write",
|
|
16462
16670
|
"idempotent": true,
|
|
16463
|
-
"description": "Ask the host to stop listening, or
|
|
16671
|
+
"description": "Ask the host to stop listening, cancel a start or end a paused session. Never gated by consent or AI credits. Does nothing when idle or stopped.",
|
|
16464
16672
|
"descriptionKey": "ui.agent.voiceControlPanel.actions.stopListening"
|
|
16465
16673
|
},
|
|
16466
16674
|
{
|
|
@@ -16518,6 +16726,13 @@
|
|
|
16518
16726
|
"idempotent": true,
|
|
16519
16727
|
"description": "Floating layout: close the panel above the pill. Listening carries on. Does nothing inline.",
|
|
16520
16728
|
"descriptionKey": "ui.agent.voiceControlPanel.actions.closePanel"
|
|
16729
|
+
},
|
|
16730
|
+
{
|
|
16731
|
+
"name": "close_credits_notice",
|
|
16732
|
+
"safety": "read",
|
|
16733
|
+
"idempotent": true,
|
|
16734
|
+
"description": "Close the out-of-credits notice and go back to the controls. Credits stay out: the next start shows it again.",
|
|
16735
|
+
"descriptionKey": "ui.agent.voiceControlPanel.actions.closeCreditsNotice"
|
|
16521
16736
|
}
|
|
16522
16737
|
],
|
|
16523
16738
|
"domHooks": {
|
package/dist/agent-i18n/en.json
CHANGED
|
@@ -406,7 +406,8 @@
|
|
|
406
406
|
"cols": "Logical column count of the board.",
|
|
407
407
|
"editing": "Whether edit mode is on. Move/resize actions are refused while it is off — the host app owns the toggle.",
|
|
408
408
|
"stacked": "Whether the board is narrower than its stackBelow width and shows its widgets as one read-only column. Move/resize actions are unavailable while it is true, even in edit mode; the saved layout is unchanged.",
|
|
409
|
-
"selectedId": "The widget the host has marked (for example while its settings are open), or null. Set by the host, not by agents."
|
|
409
|
+
"selectedId": "The widget the host has marked (for example while its settings are open), or null. Set by the host, not by agents.",
|
|
410
|
+
"loadingIds": "Ids of the widgets still waiting for their figures (the host set loading). Their bodies show placeholders, so read their values only once they leave this list. Set by the host, not by agents."
|
|
410
411
|
},
|
|
411
412
|
"actions": {
|
|
412
413
|
"revealWidget": "Scroll a widget into view (its scrolling ancestor and the window) and highlight it briefly. Works in view and edit mode, and for a widget added a moment ago. Does not move focus.",
|
|
@@ -874,6 +875,16 @@
|
|
|
874
875
|
"toggleFlag": "Toggle the flagged state of the note with the given id. Returns the host's promise; a refusal restores the flag and the panel shows the host's message. Rejects without reaching the host when the panel refuses: a deleted note, or a write for the note still pending."
|
|
875
876
|
}
|
|
876
877
|
},
|
|
878
|
+
"noticeGroup": {
|
|
879
|
+
"state": {
|
|
880
|
+
"noteCount": "How many folding notes (not errors or progress notices) are still shown, dismissed ones excluded.",
|
|
881
|
+
"grouped": "True while the notes sit behind one summary row (two or more notes).",
|
|
882
|
+
"open": "Whether the summary row is open (expanded), so every note is visible."
|
|
883
|
+
},
|
|
884
|
+
"actions": {
|
|
885
|
+
"setOpen": "Open (expand) or fold the notes behind the summary row. With a controlled open the host decides."
|
|
886
|
+
}
|
|
887
|
+
},
|
|
877
888
|
"notificationTray": {
|
|
878
889
|
"state": {
|
|
879
890
|
"items": "Currently-displayed notifications. Ids + read flag only — no PHI.",
|
|
@@ -1185,6 +1196,19 @@
|
|
|
1185
1196
|
"close": "Close the product-updates panel."
|
|
1186
1197
|
}
|
|
1187
1198
|
},
|
|
1199
|
+
"progressNotice": {
|
|
1200
|
+
"state": {
|
|
1201
|
+
"value": "Progress so far, in the units of max.",
|
|
1202
|
+
"max": "The value at which the import is done.",
|
|
1203
|
+
"complete": "True once every item is ready or the value has reached max.",
|
|
1204
|
+
"readyCount": "How many items in the details list are ready.",
|
|
1205
|
+
"itemCount": "How many items the details list has (0: no list).",
|
|
1206
|
+
"detailsOpen": "Whether the details list is open."
|
|
1207
|
+
},
|
|
1208
|
+
"actions": {
|
|
1209
|
+
"setDetailsOpen": "Open or close the details list of the import."
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1188
1212
|
"progress": {
|
|
1189
1213
|
"state": {
|
|
1190
1214
|
"value": "The figure the bar currently shows, in the same units as the `max` prop (default max 100) — including a value written imperatively by `set_value`. Null while indeterminate.",
|
|
@@ -1635,16 +1659,19 @@
|
|
|
1635
1659
|
"status": "Where the host voice session is: idle, starting, listening, paused or error.",
|
|
1636
1660
|
"candidateIds": "Ids of the matches currently offered, in spoken order (option 1 first). Empty when there is nothing to choose.",
|
|
1637
1661
|
"commandsOpen": "True when the voice commands list is expanded.",
|
|
1638
|
-
"panelOpen": "Floating layout: true when the panel above the pill is open. Always false inline."
|
|
1662
|
+
"panelOpen": "Floating layout: true when the panel above the pill is open. Always false inline.",
|
|
1663
|
+
"creditsExhausted": "True when the practice is out of AI credits: every start shows the out-of-credits notice instead of listening.",
|
|
1664
|
+
"creditsNoticeOpen": "True when the out-of-credits notice is showing in the panel, in place of the controls."
|
|
1639
1665
|
},
|
|
1640
1666
|
"actions": {
|
|
1641
|
-
"startListening": "Ask the host to start listening (it opens the microphone). Does nothing when already starting or listening, or while the panel is disabled.",
|
|
1642
|
-
"stopListening": "Ask the host to stop listening, or
|
|
1667
|
+
"startListening": "Ask the host to start listening (it opens the microphone). Does nothing when already starting or listening, or while the panel is disabled. Without patient AI consent it shows the consent banner instead; out of AI credits (creditsExhausted) it shows the out-of-credits notice instead.",
|
|
1668
|
+
"stopListening": "Ask the host to stop listening, cancel a start or end a paused session. Never gated by consent or AI credits. Does nothing when idle or stopped.",
|
|
1643
1669
|
"pickCandidate": "Pick one of the offered matches by id, the same as saying its option number or pressing it. Unknown ids are ignored.",
|
|
1644
1670
|
"openCommands": "Expand the voice commands list.",
|
|
1645
1671
|
"closeCommands": "Collapse the voice commands list.",
|
|
1646
1672
|
"openPanel": "Floating layout: open the panel above the pill. Does nothing inline.",
|
|
1647
|
-
"closePanel": "Floating layout: close the panel above the pill. Listening carries on. Does nothing inline."
|
|
1673
|
+
"closePanel": "Floating layout: close the panel above the pill. Listening carries on. Does nothing inline.",
|
|
1674
|
+
"closeCreditsNotice": "Close the out-of-credits notice and go back to the controls. Credits stay out: the next start shows it again."
|
|
1648
1675
|
}
|
|
1649
1676
|
},
|
|
1650
1677
|
"widgetPicker": {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared number formatter for figures the kit shows or announces: a rating,
|
|
3
|
+
* a file size, an angle, a contrast ratio. Use it instead of `toFixed`,
|
|
4
|
+
* which always writes a dot, and instead of a bare `Intl.NumberFormat`,
|
|
5
|
+
* which shows English digits in Albanian on Chromium (no Albanian number
|
|
6
|
+
* data there; see `numberLocale`).
|
|
7
|
+
*
|
|
8
|
+
* The UI language goes through `canonicalLocale` first, so a host's POSIX
|
|
9
|
+
* tag (`it_IT.UTF-8`) formats as Italian rather than throwing.
|
|
10
|
+
*/
|
|
11
|
+
/** `value` in the UI `language`, with the given `Intl` options. */
|
|
12
|
+
export declare function formatNumber(value: number, language: string | undefined, options?: Intl.NumberFormatOptions): string;
|
|
13
|
+
/**
|
|
14
|
+
* A star rating as the kit writes it everywhere: at most one decimal, in
|
|
15
|
+
* the language's own separator ("4,6" in Italian, "4.6" in English, "5"
|
|
16
|
+
* for a whole number). Rating, OperatorHero and every hero or card that
|
|
17
|
+
* shows a score use this, so visible text and aria-labels always agree.
|
|
18
|
+
*/
|
|
19
|
+
export declare function formatRating(value: number, language: string | undefined): string;
|
|
20
|
+
//# sourceMappingURL=format-number.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A length token (`--spacing-lg`) in px, as `context` resolves it, for an
|
|
4
|
+
* API that takes only a number: Radix `collisionPadding`, say. The token
|
|
5
|
+
* is read from the element (so a theme root or a host override applies)
|
|
6
|
+
* and may be px (host-compat writes px) or rem (the kit's own sheet).
|
|
7
|
+
* Anything else, or no DOM, gives `fallback`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function lengthTokenPx(token: string, context: Element | null, fallback: number): number;
|
|
10
|
+
/** {@link lengthTokenPx} for the element behind `ref`, read after mount. */
|
|
11
|
+
export declare function useLengthTokenPx(token: string, ref: RefObject<Element | null>, fallback: number): number;
|
|
12
|
+
//# sourceMappingURL=length-token.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e } from "../../_chunks/agenda-card-
|
|
1
|
+
import { A as e } from "../../_chunks/agenda-card-BDuvreCe.js";
|
|
2
2
|
import { a as d } from "../../_chunks/agenda-card.agent-Cb5tuEh3.js";
|
|
3
3
|
import { i as g } from "../../_chunks/is-safe-url-DkETxeHz.js";
|
|
4
4
|
export {
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type AlertAnnounce } from '../alert';
|
|
3
|
+
/** Credits that expire soon: the platform's yearly allowance at the end of
|
|
4
|
+
* the subscription term. Welcome and bought credits never expire. */
|
|
5
|
+
export interface AiCreditsExpiring {
|
|
6
|
+
/** How many credits expire. */
|
|
7
|
+
amount: number;
|
|
8
|
+
/** When they expire. */
|
|
9
|
+
date: Date;
|
|
10
|
+
}
|
|
11
|
+
/** The practice's AI credits and the next steps the host can offer. All
|
|
12
|
+
* optional: the kit shows only what it is given. */
|
|
13
|
+
export interface AiCreditsInfo {
|
|
14
|
+
/** Credits left. */
|
|
15
|
+
remaining?: number;
|
|
16
|
+
/** The allowance `remaining` counts down from, for the meter. */
|
|
17
|
+
limit?: number;
|
|
18
|
+
/**
|
|
19
|
+
* When a new allowance starts: "renews on". On the platform, the yearly
|
|
20
|
+
* allowance at the subscription's renewal. Omit when it will not renew.
|
|
21
|
+
*/
|
|
22
|
+
renewsOn?: Date;
|
|
23
|
+
/** @deprecated Use `renewsOn`. Read the same way, as a renewal date. */
|
|
24
|
+
resetsOn?: Date;
|
|
25
|
+
/**
|
|
26
|
+
* Credits that expire soon: "expire on". `AiCreditsWarning` shows it as
|
|
27
|
+
* a quiet line; the out-of-credits notice never does (nothing is left to
|
|
28
|
+
* expire).
|
|
29
|
+
*/
|
|
30
|
+
expiring?: AiCreditsExpiring;
|
|
31
|
+
/**
|
|
32
|
+
* Shows the running-low line in `AiCreditsWarning`. Default: true when
|
|
33
|
+
* 80% or more of `limit` is used and some credit is left. A host whose
|
|
34
|
+
* balance mixes the yearly allowance with welcome or bought credits
|
|
35
|
+
* passes it itself: 80% of one `limit` does not describe that balance.
|
|
36
|
+
*/
|
|
37
|
+
runningLow?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Shows a "Buy AI credits" button. Omit while the practice cannot buy
|
|
40
|
+
* credits (on the platform, without the module and the pack page).
|
|
41
|
+
*/
|
|
42
|
+
onBuyCredits?: () => void;
|
|
43
|
+
/**
|
|
44
|
+
* Shows an "Enable the AI credits module" button: the upgrade path for a
|
|
45
|
+
* practice without the module.
|
|
46
|
+
*/
|
|
47
|
+
onUpgrade?: () => void;
|
|
48
|
+
/** Shows a "Contact support" button. */
|
|
49
|
+
onContactSupport?: () => void;
|
|
50
|
+
/** Shows a "See what each action costs" link. */
|
|
51
|
+
onSeeCosts?: () => void;
|
|
52
|
+
}
|
|
53
|
+
/** Heading levels the notice title accepts. */
|
|
54
|
+
export type AiCreditsHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
55
|
+
/** Whether `credits` are running low: the host's `runningLow`, else 80% or
|
|
56
|
+
* more of `limit` used with some credit left. */
|
|
57
|
+
export declare function isAiCreditsRunningLow(credits?: AiCreditsInfo): boolean;
|
|
58
|
+
export interface AiCreditsExhaustedNoticeProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
59
|
+
/** The allowance and the next steps the host can offer. */
|
|
60
|
+
credits?: AiCreditsInfo;
|
|
61
|
+
/** Shows a Back button under the notice. */
|
|
62
|
+
onBack?: () => void;
|
|
63
|
+
/** A quiet line under the notice, beside Back: what the user keeps. */
|
|
64
|
+
footnote?: ReactNode;
|
|
65
|
+
/** Heading level of the title. Default 2. */
|
|
66
|
+
headingLevel?: AiCreditsHeadingLevel;
|
|
67
|
+
/**
|
|
68
|
+
* How the notice is announced when it appears. Default: the promo
|
|
69
|
+
* Alert's polite status. Pass `'off'` when the host announces it.
|
|
70
|
+
*/
|
|
71
|
+
announce?: AlertAnnounce;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The out-of-credits state: what happened, the allowance, and the next
|
|
75
|
+
* step. The first of buy, enable the module and contact support the host
|
|
76
|
+
* passes is the main button; any others follow as links. With none, it
|
|
77
|
+
* says when AI comes back, or plainly that it is unavailable and how to
|
|
78
|
+
* get help: never a dead end.
|
|
79
|
+
*/
|
|
80
|
+
export declare const AiCreditsExhaustedNotice: import("react").ForwardRefExoticComponent<AiCreditsExhaustedNoticeProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
81
|
+
export interface AiCreditsWarningProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
82
|
+
/** The allowance, the expiring credits and the next steps. */
|
|
83
|
+
credits?: AiCreditsInfo;
|
|
84
|
+
/**
|
|
85
|
+
* Out of credits: one quiet line saying so, instead of the running-low
|
|
86
|
+
* and expiring lines. The full notice is `AiCreditsExhaustedNotice`.
|
|
87
|
+
*/
|
|
88
|
+
exhausted?: boolean;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The quiet, non-blocking credit lines: running low (with the buy or
|
|
92
|
+
* upgrade step as a link) and credits expiring, or out of credits at rest.
|
|
93
|
+
* Renders nothing when none applies.
|
|
94
|
+
*/
|
|
95
|
+
export declare const AiCreditsWarning: import("react").ForwardRefExoticComponent<AiCreditsWarningProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
96
|
+
//# sourceMappingURL=ai-credits-exhausted-notice.d.ts.map
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { type HTMLAttributes } from 'react';
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
/** The practice's current AI allowance, when the host tracks one. */
|
|
3
3
|
export interface AiCreditsNoticeAllowance {
|
|
4
|
-
/** AI
|
|
4
|
+
/** AI credits left. */
|
|
5
5
|
remaining: number;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* The allowance `remaining` counts down from, whatever its period (on
|
|
8
|
+
* the platform, a yearly allowance).
|
|
9
|
+
*/
|
|
7
10
|
limit: number;
|
|
8
11
|
/** When the allowance next resets. Omit if unknown. */
|
|
9
12
|
resetsOn?: Date;
|
|
@@ -12,7 +15,7 @@ interface AiCreditsNoticeSharedProps {
|
|
|
12
15
|
/**
|
|
13
16
|
* The practice's current AI allowance. In `included` mode it renders as an
|
|
14
17
|
* optional usage line + meter; in `bundles` mode it drives the heading
|
|
15
|
-
* ("{{remaining}} of {{limit}} credits") and the
|
|
18
|
+
* ("{{remaining}} of {{limit}} credits") and the allowance line in the
|
|
16
19
|
* body. Omit either mode's allowance to fall back to a generic line.
|
|
17
20
|
*/
|
|
18
21
|
allowance?: AiCreditsNoticeAllowance;
|
|
@@ -44,5 +47,28 @@ export interface AiCreditsNoticeBundlesProps extends AiCreditsNoticeSharedProps
|
|
|
44
47
|
}
|
|
45
48
|
export type AiCreditsNoticeProps = AiCreditsNoticeIncludedProps | AiCreditsNoticeBundlesProps;
|
|
46
49
|
export declare const AiCreditsNotice: import("react").ForwardRefExoticComponent<(AiCreditsNoticeProps & Omit<HTMLAttributes<HTMLDivElement>, "className">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
50
|
+
/** Which side of the trigger the card opens on. A trigger fixed to the
|
|
51
|
+
* bottom of the viewport (the VoiceControlPanel pill) opens it on top. */
|
|
52
|
+
export type AiActionHoverCardSide = 'top' | 'bottom';
|
|
53
|
+
/**
|
|
54
|
+
* Wraps `trigger` in the credits notice when `notice` is given, else returns
|
|
55
|
+
* it unchanged: the one seam every kit AI trigger goes through (the
|
|
56
|
+
* RichTextEditor's pill, bubble and mics, and the VoiceControlPanel's mic).
|
|
57
|
+
* Internal to the kit: not exported from the component's index.
|
|
58
|
+
*/
|
|
59
|
+
export declare function withAiCreditsNotice(trigger: ReactNode, notice: AiCreditsNoticeProps | undefined, side?: AiActionHoverCardSide): ReactNode;
|
|
60
|
+
/**
|
|
61
|
+
* "Don't show again" (`onDismiss`) stops the card on EVERY trigger for the
|
|
62
|
+
* rest of this mount, not just the trigger it was dismissed from. Scoped to
|
|
63
|
+
* the MODE that was dismissed: `included` and `bundles` are different
|
|
64
|
+
* messages, so a host that flips the same mounted component's mode (for
|
|
65
|
+
* example once bundles ship) must see the new one, matching the
|
|
66
|
+
* mode-scoped storage key the docs tell a host to use across a remount. A
|
|
67
|
+
* SET, not a single slot: dismissing both modes in turn must remember both.
|
|
68
|
+
* Reset only by remounting; a host that wants a dismissal to survive a
|
|
69
|
+
* reload persists it itself and omits the notice on the next mount. Moved
|
|
70
|
+
* here from RichTextEditor so VoiceControlPanel shares it.
|
|
71
|
+
*/
|
|
72
|
+
export declare function useDismissibleAiCreditsNotice(notice: AiCreditsNoticeProps | undefined): AiCreditsNoticeProps | undefined;
|
|
47
73
|
export {};
|
|
48
74
|
//# sourceMappingURL=ai-credits-notice.d.ts.map
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { AiCreditsNotice } from './ai-credits-notice';
|
|
2
2
|
export type { AiCreditsNoticeProps, AiCreditsNoticeIncludedProps, AiCreditsNoticeBundlesProps, AiCreditsNoticeAllowance, } from './ai-credits-notice';
|
|
3
3
|
export { aiCreditsNoticeAgent } from './ai-credits-notice.agent';
|
|
4
|
+
export { AiCreditsExhaustedNotice, AiCreditsWarning, isAiCreditsRunningLow, } from './ai-credits-exhausted-notice';
|
|
5
|
+
export type { AiCreditsExhaustedNoticeProps, AiCreditsWarningProps, AiCreditsInfo, AiCreditsExpiring, AiCreditsHeadingLevel, } from './ai-credits-exhausted-notice';
|
|
6
|
+
export { aiCreditsExhaustedNoticeAgent, aiCreditsWarningAgent, } from './ai-credits-exhausted-notice.agent';
|
|
4
7
|
//# sourceMappingURL=index.d.ts.map
|