@alfadocs/ui-kit 1.67.0 → 1.69.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-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.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-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-DEMMoefU.js} +4 -4
- package/dist/_chunks/{anamnesis-card-CsUBOG32.js → anamnesis-card-Bey9qQu4.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-rNwSrNWZ.js} +393 -389
- package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-CpcqB8oO.js} +3 -3
- 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-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
- package/dist/_chunks/{auth-form-parts-DwUTH6YN.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-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
- package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
- package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-Ct8_454k.js} +18 -18
- package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-C2VXQMoB.js} +3 -3
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
- package/dist/_chunks/{code-block-vwEv1jEa.js → code-block-RSKdF3E-.js} +35 -35
- 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/{connection-status--wYsgreh.js → connection-status-BOZC5QU5.js} +2 -2
- 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/{description-list-Q8640NHu.js → description-list-DQQ2OA_t.js} +68 -66
- package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
- package/dist/_chunks/{document-scanner-CXH_GYh4.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-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
- package/dist/_chunks/{error-summary-PUE5Zxp9.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-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
- package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
- package/dist/_chunks/{freemium-paywall-6DO7noHX.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-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
- 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-A-CL3mjt.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-DtSX8sYb.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-IdsmqRFC.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-D5c7FBlT.js} +526 -510
- 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-C-EWQTms.js → patient-details-qWOsn1MX.js} +5 -5
- package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-CAl5ydtX.js} +5 -5
- package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
- package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-BhuRh9AE.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
- package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
- package/dist/_chunks/{payment-request-card-0DjQgVgX.js → payment-request-card-bysjRZrP.js} +2 -2
- package/dist/_chunks/{pdf-viewer-BvoVMjH4.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-BrUDDMXC.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-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
- package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-sbsVmmCA.js} +30 -8
- package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
- package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
- package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
- package/dist/_chunks/{signature-request-3u6TvRt2.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/{streaming-text-zFViGexf.js → streaming-text-DbqKTsmj.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-Bb5MMcid.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-BOb57Ysw.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-CVSPoP5j.js → use-appointment-details-read-1gjZuup4.js} +13 -13
- package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
- package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
- package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
- package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
- package/dist/_chunks/workflow-webhook-action-Ct8tFYi7.js +691 -0
- package/dist/agent-catalog.json +271 -4
- package/dist/agent-i18n/en.json +34 -1
- package/dist/components/_shared/code-block.d.ts +6 -0
- 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/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/alert.d.ts +26 -0
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/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/connection-status/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/description-list/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/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 +5 -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-card/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/streaming-text/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.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.js +81 -76
- package/dist/hooks/use-dismissed.d.ts +58 -0
- package/dist/i18n/locales/ar.d.ts +77 -0
- package/dist/i18n/locales/ar.js +77 -0
- package/dist/i18n/locales/de.d.ts +77 -0
- package/dist/i18n/locales/de.js +77 -0
- package/dist/i18n/locales/el.d.ts +77 -0
- package/dist/i18n/locales/el.js +77 -0
- package/dist/i18n/locales/en.d.ts +77 -0
- package/dist/i18n/locales/en.js +77 -0
- package/dist/i18n/locales/es.d.ts +77 -0
- package/dist/i18n/locales/es.js +77 -0
- package/dist/i18n/locales/fr.d.ts +77 -0
- package/dist/i18n/locales/fr.js +77 -0
- package/dist/i18n/locales/hi.d.ts +77 -0
- package/dist/i18n/locales/hi.js +77 -0
- package/dist/i18n/locales/it.d.ts +77 -0
- package/dist/i18n/locales/it.js +77 -0
- package/dist/i18n/locales/ja.d.ts +77 -0
- package/dist/i18n/locales/ja.js +77 -0
- package/dist/i18n/locales/nl.d.ts +77 -0
- package/dist/i18n/locales/nl.js +77 -0
- package/dist/i18n/locales/pl.d.ts +77 -0
- package/dist/i18n/locales/pl.js +77 -0
- package/dist/i18n/locales/pt.d.ts +77 -0
- package/dist/i18n/locales/pt.js +77 -0
- package/dist/i18n/locales/ro.d.ts +77 -0
- package/dist/i18n/locales/ro.js +77 -0
- package/dist/i18n/locales/ru.d.ts +77 -0
- package/dist/i18n/locales/ru.js +77 -0
- package/dist/i18n/locales/sq.d.ts +77 -0
- package/dist/i18n/locales/sq.js +77 -0
- package/dist/i18n/locales/sv.d.ts +77 -0
- package/dist/i18n/locales/sv.js +77 -0
- package/dist/i18n/locales/tr.d.ts +77 -0
- package/dist/i18n/locales/tr.js +77 -0
- package/dist/i18n/locales/zh.d.ts +77 -0
- package/dist/i18n/locales/zh.js +77 -0
- package/dist/index.js +1197 -1183
- package/dist/locales/ar.json +77 -0
- package/dist/locales/de.json +77 -0
- package/dist/locales/el.json +77 -0
- package/dist/locales/en.json +77 -0
- package/dist/locales/es.json +77 -0
- package/dist/locales/fr.json +77 -0
- package/dist/locales/hi.json +77 -0
- package/dist/locales/it.json +77 -0
- package/dist/locales/ja.json +77 -0
- package/dist/locales/nl.json +77 -0
- package/dist/locales/pl.json +77 -0
- package/dist/locales/pt.json +77 -0
- package/dist/locales/ro.json +77 -0
- package/dist/locales/ru.json +77 -0
- package/dist/locales/sq.json +77 -0
- package/dist/locales/sv.json +77 -0
- package/dist/locales/tr.json +77 -0
- package/dist/locales/zh.json +77 -0
- 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/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/patterns/workflow-webhook-action/index.d.ts +3 -0
- package/dist/patterns/workflow-webhook-action/index.js +6 -0
- package/dist/patterns/workflow-webhook-action/workflow-webhook-action.d.ts +93 -0
- package/dist/tokens.css +1 -1
- package/package.json +13 -1
- package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
- 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/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.69.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
"root": {
|
|
568
568
|
"attr": "data-component",
|
|
569
569
|
"value": "alert",
|
|
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."
|
|
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."
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
},
|
|
@@ -3303,6 +3303,12 @@
|
|
|
3303
3303
|
"type": "string | null",
|
|
3304
3304
|
"description": "The widget the host has marked (for example while its settings are open), or null. Set by the host, not by agents.",
|
|
3305
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"
|
|
3306
3312
|
}
|
|
3307
3313
|
],
|
|
3308
3314
|
"actions": [
|
|
@@ -3432,7 +3438,7 @@
|
|
|
3432
3438
|
},
|
|
3433
3439
|
"item": {
|
|
3434
3440
|
"attr": "data-widget-id",
|
|
3435
|
-
"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\"."
|
|
3436
3442
|
}
|
|
3437
3443
|
}
|
|
3438
3444
|
},
|
|
@@ -8614,6 +8620,75 @@
|
|
|
8614
8620
|
}
|
|
8615
8621
|
}
|
|
8616
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
|
+
},
|
|
8617
8692
|
{
|
|
8618
8693
|
"kind": "component",
|
|
8619
8694
|
"id": "notification-card",
|
|
@@ -11964,6 +12039,99 @@
|
|
|
11964
12039
|
}
|
|
11965
12040
|
}
|
|
11966
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
|
+
},
|
|
11967
12135
|
{
|
|
11968
12136
|
"kind": "component",
|
|
11969
12137
|
"id": "province-select",
|
|
@@ -13255,7 +13423,7 @@
|
|
|
13255
13423
|
"root": {
|
|
13256
13424
|
"attr": "data-component",
|
|
13257
13425
|
"value": "skeleton",
|
|
13258
|
-
"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."
|
|
13259
13427
|
}
|
|
13260
13428
|
}
|
|
13261
13429
|
},
|
|
@@ -23895,6 +24063,105 @@
|
|
|
23895
24063
|
]
|
|
23896
24064
|
}
|
|
23897
24065
|
]
|
|
24066
|
+
},
|
|
24067
|
+
{
|
|
24068
|
+
"kind": "pattern",
|
|
24069
|
+
"id": "workflow-webhook-action",
|
|
24070
|
+
"composes": [
|
|
24071
|
+
{
|
|
24072
|
+
"component": "form-field",
|
|
24073
|
+
"as": "field"
|
|
24074
|
+
},
|
|
24075
|
+
{
|
|
24076
|
+
"component": "text-input",
|
|
24077
|
+
"as": "url"
|
|
24078
|
+
},
|
|
24079
|
+
{
|
|
24080
|
+
"component": "password-input",
|
|
24081
|
+
"as": "secret"
|
|
24082
|
+
},
|
|
24083
|
+
{
|
|
24084
|
+
"component": "button",
|
|
24085
|
+
"as": "secretAction"
|
|
24086
|
+
},
|
|
24087
|
+
{
|
|
24088
|
+
"component": "checkbox",
|
|
24089
|
+
"as": "legalBasis"
|
|
24090
|
+
},
|
|
24091
|
+
{
|
|
24092
|
+
"component": "accordion",
|
|
24093
|
+
"as": "advanced"
|
|
24094
|
+
},
|
|
24095
|
+
{
|
|
24096
|
+
"component": "field-array",
|
|
24097
|
+
"as": "parameters",
|
|
24098
|
+
"entity": "parameter"
|
|
24099
|
+
},
|
|
24100
|
+
{
|
|
24101
|
+
"component": "token-insert-menu",
|
|
24102
|
+
"as": "insertDetail"
|
|
24103
|
+
},
|
|
24104
|
+
{
|
|
24105
|
+
"component": "button",
|
|
24106
|
+
"as": "copyField"
|
|
24107
|
+
},
|
|
24108
|
+
{
|
|
24109
|
+
"component": "card",
|
|
24110
|
+
"as": "section"
|
|
24111
|
+
},
|
|
24112
|
+
{
|
|
24113
|
+
"component": "badge",
|
|
24114
|
+
"as": "parameterCount"
|
|
24115
|
+
},
|
|
24116
|
+
{
|
|
24117
|
+
"component": "alert",
|
|
24118
|
+
"as": "parametersError"
|
|
24119
|
+
}
|
|
24120
|
+
],
|
|
24121
|
+
"workflows": [
|
|
24122
|
+
{
|
|
24123
|
+
"name": "read_step",
|
|
24124
|
+
"safety": "read",
|
|
24125
|
+
"description": "Read the webhook step and what is wrong with it. Each field sits in a wrapper with `data-field` (`url`, `secret`, `legalBasisConfirmed`, `parameters`). A field with a problem has `aria-invalid=\"true\"` on its control and its message in a `data-slot=\"error\"` element inside the wrapper. Parameter rows carry `data-parameter-id`, an opaque row id. The `secret` wrapper is write-only for agents: read whether it has a problem, never its value, and never repeat a secret.",
|
|
24126
|
+
"descriptionKey": "ui.agent.workflowWebhookAction.workflows.readStep",
|
|
24127
|
+
"uiActions": [],
|
|
24128
|
+
"apiActions": []
|
|
24129
|
+
},
|
|
24130
|
+
{
|
|
24131
|
+
"name": "generate_secret",
|
|
24132
|
+
"safety": "write",
|
|
24133
|
+
"description": "Generate a random signing secret into the password field (`data-action=\"generate-secret\"`; again to replace it) and copy it to the clipboard (`data-action=\"copy-secret\"`, which shows `data-copied=\"true\"` once done) so the person can paste it into the receiving app. The secret never appears in the page markup. Nothing is saved until the host form is submitted.",
|
|
24134
|
+
"descriptionKey": "ui.agent.workflowWebhookAction.workflows.generateSecret",
|
|
24135
|
+
"uiActions": [],
|
|
24136
|
+
"apiActions": []
|
|
24137
|
+
},
|
|
24138
|
+
{
|
|
24139
|
+
"name": "edit_parameters",
|
|
24140
|
+
"safety": "write",
|
|
24141
|
+
"description": "Open the Advanced section (`data-action=\"toggle-advanced\"`) and add, change or remove extra parameters, each a name and a value. Most receiving apps, Link included, need none. A value may contain patient-detail codes from the insert menu; the server replaces them when it sends.",
|
|
24142
|
+
"descriptionKey": "ui.agent.workflowWebhookAction.workflows.editParameters",
|
|
24143
|
+
"uiActions": [],
|
|
24144
|
+
"apiActions": []
|
|
24145
|
+
},
|
|
24146
|
+
{
|
|
24147
|
+
"name": "read_message_shape",
|
|
24148
|
+
"safety": "read",
|
|
24149
|
+
"description": "Open \"What Alfadocs sends\" (`data-action=\"toggle-reference\"`) to read what every message carries: an example body and example headers, each in a code block with its own copy button, then each field and header with its meaning. `data-action=\"copy-field\"` copies one field name and shows `data-copied=\"true\"` once done. The example values are invented; the shape is the platform's.",
|
|
24150
|
+
"descriptionKey": "ui.agent.workflowWebhookAction.workflows.readMessageShape",
|
|
24151
|
+
"uiActions": [],
|
|
24152
|
+
"apiActions": []
|
|
24153
|
+
},
|
|
24154
|
+
{
|
|
24155
|
+
"name": "save_step",
|
|
24156
|
+
"safety": "phi",
|
|
24157
|
+
"description": "Save through the host's own form and button. The fields stop the submit while the address, the secret, the consent box or a parameter name has a problem, and move focus to the first one. The person ticks the consent box themselves: it confirms the practice has a legal basis to share patient data.",
|
|
24158
|
+
"descriptionKey": "ui.agent.workflowWebhookAction.workflows.saveStep",
|
|
24159
|
+
"uiActions": [],
|
|
24160
|
+
"apiActions": [
|
|
24161
|
+
"workflowAction.save"
|
|
24162
|
+
]
|
|
24163
|
+
}
|
|
24164
|
+
]
|
|
23898
24165
|
}
|
|
23899
24166
|
]
|
|
23900
24167
|
}
|
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.",
|
|
@@ -2129,6 +2153,15 @@
|
|
|
2129
2153
|
"editItem": "Edit the selected inventory item (e.g. min-stock threshold, supplier) from its row action.",
|
|
2130
2154
|
"importFatturapa": "Open the FatturaPA XML import dialog, upload supplier e-invoice XML files, review the classified line preview, deselect any unwanted lines, and confirm to create articles and stock movements."
|
|
2131
2155
|
}
|
|
2156
|
+
},
|
|
2157
|
+
"workflowWebhookAction": {
|
|
2158
|
+
"workflows": {
|
|
2159
|
+
"readStep": "Read the webhook step and what is wrong with it. Each field sits in a wrapper with `data-field` (`url`, `secret`, `legalBasisConfirmed`, `parameters`). A field with a problem has `aria-invalid=\"true\"` on its control and its message in a `data-slot=\"error\"` element inside the wrapper. Parameter rows carry `data-parameter-id`, an opaque row id. The `secret` wrapper is write-only for agents: read whether it has a problem, never its value, and never repeat a secret.",
|
|
2160
|
+
"generateSecret": "Generate a random signing secret into the password field (`data-action=\"generate-secret\"`; again to replace it) and copy it to the clipboard (`data-action=\"copy-secret\"`, which shows `data-copied=\"true\"` once done) so the person can paste it into the receiving app. The secret never appears in the page markup. Nothing is saved until the host form is submitted.",
|
|
2161
|
+
"editParameters": "Open the Advanced section (`data-action=\"toggle-advanced\"`) and add, change or remove extra parameters, each a name and a value. Most receiving apps, Link included, need none. A value may contain patient-detail codes from the insert menu; the server replaces them when it sends.",
|
|
2162
|
+
"readMessageShape": "Open \"What Alfadocs sends\" (`data-action=\"toggle-reference\"`) to read what every message carries: an example body and example headers, each in a code block with its own copy button, then each field and header with its meaning. `data-action=\"copy-field\"` copies one field name and shows `data-copied=\"true\"` once done. The example values are invented; the shape is the platform's.",
|
|
2163
|
+
"saveStep": "Save through the host's own form and button. The fields stop the submit while the address, the secret, the consent box or a parameter name has a problem, and move focus to the first one. The person ticks the consent box themselves: it confirms the practice has a legal basis to share patient data."
|
|
2164
|
+
}
|
|
2132
2165
|
}
|
|
2133
2166
|
}
|
|
2134
2167
|
}
|
|
@@ -34,6 +34,12 @@ export interface CodeBlockProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ch
|
|
|
34
34
|
language?: string;
|
|
35
35
|
/** Render the Copy affordance. Default `true`. */
|
|
36
36
|
showCopy?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The copy button's accessible name, translated. Default "Copy code".
|
|
39
|
+
* Pass one per block when a page shows several, so each says what it
|
|
40
|
+
* copies.
|
|
41
|
+
*/
|
|
42
|
+
copyLabel?: string;
|
|
37
43
|
}
|
|
38
44
|
export declare const CodeBlock: import("react").ForwardRefExoticComponent<CodeBlockProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
39
45
|
//# sourceMappingURL=code-block.d.ts.map
|
|
@@ -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 {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as t } from "../../_chunks/ai-credits-notice-DQ-r3iQU.js";
|
|
2
2
|
import { a, b as r, c as o } from "../../_chunks/ai-credits-exhausted-notice.agent-DgTSTgez.js";
|
|
3
|
-
import { A as d, a as A, i as C } from "../../_chunks/ai-credits-exhausted-notice-
|
|
3
|
+
import { A as d, a as A, i as C } from "../../_chunks/ai-credits-exhausted-notice-Bg8NpW2K.js";
|
|
4
4
|
export {
|
|
5
5
|
d as AiCreditsExhaustedNotice,
|
|
6
6
|
t as AiCreditsNotice,
|
|
@@ -20,8 +20,34 @@ interface AlertTitleProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
|
20
20
|
export type AlertAnnounce = 'off' | 'polite' | 'assertive';
|
|
21
21
|
export interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'>, VariantProps<typeof alertVariants> {
|
|
22
22
|
variant?: 'info' | 'success' | 'warning' | 'error' | 'promo';
|
|
23
|
+
/** Shows the close button. Defaults to true when `dismissKey` is set. */
|
|
23
24
|
dismissible?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Remember a dismissal in this browser. Dismissing stores the key (in
|
|
27
|
+
* `localStorage`, under `alfadocs-ui.dismissed.`), and the alert stays
|
|
28
|
+
* hidden for that key from then on, even when `open` is true. A new key
|
|
29
|
+
* shows it again, so put the condition in the key, for example
|
|
30
|
+
* `hours-${hoursVersion}`. The key is stored as written in plain
|
|
31
|
+
* browser storage: never put personal or patient data in it. Where
|
|
32
|
+
* storage is unavailable the dismissal lasts for this page only.
|
|
33
|
+
* Errors should not be dismissible. A dismissal lasts 30 days (see
|
|
34
|
+
* `dismissLifetimeMs`), and the kit keeps at most 200, oldest out first.
|
|
35
|
+
*/
|
|
36
|
+
dismissKey?: string;
|
|
37
|
+
/**
|
|
38
|
+
* How long a `dismissKey` dismissal lasts, in ms. Defaults to 30 days
|
|
39
|
+
* (`DISMISSED_DEFAULT_LIFETIME_MS`). `Infinity` keeps it until the cap
|
|
40
|
+
* drops it. Stored with the dismissal, so changing it later affects
|
|
41
|
+
* only new dismissals.
|
|
42
|
+
*/
|
|
43
|
+
dismissLifetimeMs?: number;
|
|
44
|
+
/** Controlled visibility. `false` hides the alert whatever `dismissKey` says. */
|
|
24
45
|
open?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Fires `false` when the user dismisses the alert. With `dismissKey`
|
|
48
|
+
* the stored key hides it, so an uncontrolled alert returns by itself
|
|
49
|
+
* on a new key; a host that sets `open` to false here must set it back.
|
|
50
|
+
*/
|
|
25
51
|
onOpenChange?: (open: boolean) => void;
|
|
26
52
|
icon?: ReactNode;
|
|
27
53
|
/** Announcement urgency — sets `role` **and** `aria-live` together, so the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as p } from "../../_chunks/appointment-card-
|
|
2
|
-
import { A as e, a as o, b as r } from "../../_chunks/appointment-tray-
|
|
1
|
+
import { A as p } from "../../_chunks/appointment-card-5JMWi9_f.js";
|
|
2
|
+
import { A as e, a as o, b as r } from "../../_chunks/appointment-tray-B3PDER3I.js";
|
|
3
3
|
import { i } from "../../_chunks/is-safe-url-DkETxeHz.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AppointmentCard,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-
|
|
1
|
+
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-1gjZuup4.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppointmentDetailsPanel,
|
|
4
4
|
n as appointmentDetailsPanelAgent,
|
|
@@ -12,6 +12,8 @@ export declare function nameToColorClass(name: string): string;
|
|
|
12
12
|
export declare function getInitials(name: string): string;
|
|
13
13
|
declare const avatarVariants: (props?: ({
|
|
14
14
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | "2xl" | "3xl" | null | undefined;
|
|
15
|
+
shape?: "circle" | "rounded" | null | undefined;
|
|
16
|
+
ratio?: "1:1" | "4:3" | "3:4" | null | undefined;
|
|
15
17
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
18
|
export interface AvatarProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'>, VariantProps<typeof avatarVariants> {
|
|
17
19
|
/** Image source URL. When provided and loads successfully, the image is displayed. */
|