@alfadocs/ui-kit 1.55.0 → 1.57.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/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
- package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
- package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js → anamnesis-summary-rows-CCQ62mMN.js} +5 -5
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js → balance-badge-cell-CII3SDmR.js} +3 -3
- package/dist/_chunks/{bmi-calculator-DTZhRhXe.js → bmi-calculator-C0UTxB7R.js} +2 -2
- package/dist/_chunks/{booking-uZO10TLK.js → booking-81WnKDsH.js} +4 -4
- package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
- package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-CzQv03p0.js} +2 -2
- package/dist/_chunks/{calendar-workspace-DVajSkKA.js → calendar-workspace-D5-k_9zE.js} +15 -15
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
- package/dist/_chunks/{care-plan-header-BeMYMiI7.js → care-plan-header-BMwZIgHJ.js} +3 -3
- package/dist/_chunks/chart-DQ5GxqgT.js +906 -0
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
- package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
- package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
- package/dist/_chunks/{contact-profile-card-C5DbP_X3.js → contact-profile-card-CMyBYgRR.js} +3 -3
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
- package/dist/_chunks/{data-table-C6T31E33.js → data-table-fAMTeAjM.js} +2 -2
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
- package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
- package/dist/_chunks/{date-range-picker-BOvHwWO5.js → date-range-picker-CFk-5O3R.js} +188 -177
- package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
- package/dist/_chunks/{dependent-selector-Bet3XAFj.js → dependent-selector-DgaAQc-c.js} +91 -86
- package/dist/_chunks/{dialog-D52AI4nF.js → dialog-Dn-iQ0Jp.js} +86 -69
- package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
- package/dist/_chunks/{due-date-calculator-DXDJbUzo.js → due-date-calculator-D_qFUiHp.js} +3 -3
- package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
- package/dist/_chunks/{file-manager-dIJQUZvq.js → file-manager-CFsL1KVt.js} +4 -4
- package/dist/_chunks/{freemium-paywall-B6ojVXq7.js → freemium-paywall-DIKuhX8b.js} +90 -86
- package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js → gestational-age-calculator-CZi43xKG.js} +3 -3
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
- package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
- package/dist/_chunks/{heatmap-BARGZZt2.js → heatmap-BEeOThkW.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js} +2 -2
- package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
- package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
- package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
- package/dist/_chunks/{key-value-pair-Ax8IJr1M.js → key-value-pair-BNNITp6S.js} +25 -19
- package/dist/_chunks/{kit-extensions-C9-v8Dih.js → kit-extensions-DYVxWcqv.js} +5 -5
- package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js → link-cell-renderer-CxW_oLa5.js} +2 -2
- package/dist/_chunks/link-gRw3NtOt.js +137 -0
- package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
- package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
- package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
- package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
- package/dist/_chunks/{notes-panel-I8ntrrUW.js → notes-panel-Cm4pttpl.js} +4 -4
- package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
- package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
- package/dist/_chunks/{patient-summary-card-3dspc2tR.js → patient-summary-card-opdyfeW2.js} +10 -6
- package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js → payment-automation-upsell-DiHovmUL.js} +2 -2
- package/dist/_chunks/{payment-request-card-DAGqh9Yx.js → payment-request-card-DAniJNLX.js} +3 -3
- package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
- package/dist/_chunks/{periodontal-chart-BqwLxy2m.js → periodontal-chart-DD5C0M3l.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js → periodontal-chart-card-CxdXvsPU.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js → periodontal-diagnosis-D-PJv7KS.js} +2 -2
- package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
- package/dist/_chunks/popover-BG75rYjN.js +367 -0
- package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
- package/dist/_chunks/{practice-results-DxOgbPDy.js → practice-results-CfRkjzsI.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js → pregnancy-dating-BFzv9g1N.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js → pregnancy-weight-gain-CUUrBTBo.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
- package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
- package/dist/_chunks/{public-header.agent-BWusjxY8.js → public-header.agent-BctevbuY.js} +2 -2
- package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
- package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
- package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
- package/dist/_chunks/{rich-text-editor-Blp4smUr.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
- package/dist/_chunks/{sheet-CNFW8mYZ.js → sheet-8qsiMoUI.js} +95 -79
- package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
- package/dist/_chunks/{signature-request-rgMsgo-C.js → signature-request-DRuYAG5I.js} +2 -2
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
- package/dist/_chunks/{stat-51CDL4au.js → stat-DmjGfXND.js} +117 -108
- package/dist/_chunks/{stepper-accordion-D7lnBGh2.js → stepper-accordion-DDTSOUHc.js} +17 -6
- package/dist/_chunks/{task-editor-Ctxsa1BY.js → task-editor-NkcopDna.js} +4 -4
- package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
- package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
- package/dist/_chunks/{widget-picker-D8RiWrJd.js → widget-picker-rBA7MR5P.js} +2 -2
- package/dist/_chunks/{workflow-map-D3mezmGB.js → workflow-map-Demlpy39.js} +2 -2
- package/dist/agent-catalog.json +28 -11
- package/dist/agent-i18n/en.json +8 -7
- package/dist/components/_shared/non-modal-tab-exit.d.ts +19 -0
- package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
- package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chart/chart.d.ts +15 -10
- package/dist/components/chart/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/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/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/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +5 -3
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/position-grid/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sheet/sheet.d.ts +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +9 -0
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-legacy.css +13 -2
- package/dist/i18n/locales/ar.d.ts +17 -2
- package/dist/i18n/locales/ar.js +20 -5
- package/dist/i18n/locales/de.d.ts +17 -2
- package/dist/i18n/locales/de.js +20 -5
- package/dist/i18n/locales/el.d.ts +17 -2
- package/dist/i18n/locales/el.js +20 -5
- package/dist/i18n/locales/en.d.ts +17 -2
- package/dist/i18n/locales/en.js +20 -5
- package/dist/i18n/locales/es.d.ts +17 -2
- package/dist/i18n/locales/es.js +20 -5
- package/dist/i18n/locales/fr.d.ts +17 -2
- package/dist/i18n/locales/fr.js +20 -5
- package/dist/i18n/locales/hi.d.ts +17 -2
- package/dist/i18n/locales/hi.js +20 -5
- package/dist/i18n/locales/it.d.ts +17 -2
- package/dist/i18n/locales/it.js +20 -5
- package/dist/i18n/locales/ja.d.ts +17 -2
- package/dist/i18n/locales/ja.js +20 -5
- package/dist/i18n/locales/nl.d.ts +17 -2
- package/dist/i18n/locales/nl.js +20 -5
- package/dist/i18n/locales/pl.d.ts +17 -2
- package/dist/i18n/locales/pl.js +20 -5
- package/dist/i18n/locales/pt.d.ts +17 -2
- package/dist/i18n/locales/pt.js +20 -5
- package/dist/i18n/locales/ro.d.ts +17 -2
- package/dist/i18n/locales/ro.js +20 -5
- package/dist/i18n/locales/ru.d.ts +17 -2
- package/dist/i18n/locales/ru.js +20 -5
- package/dist/i18n/locales/sq.d.ts +17 -2
- package/dist/i18n/locales/sq.js +20 -5
- package/dist/i18n/locales/sv.d.ts +17 -2
- package/dist/i18n/locales/sv.js +20 -5
- package/dist/i18n/locales/tr.d.ts +17 -2
- package/dist/i18n/locales/tr.js +20 -5
- package/dist/i18n/locales/zh.d.ts +17 -2
- package/dist/i18n/locales/zh.js +20 -5
- package/dist/index.js +207 -206
- package/dist/locales/ar.json +20 -5
- package/dist/locales/de.json +20 -5
- package/dist/locales/el.json +20 -5
- package/dist/locales/en.json +20 -5
- package/dist/locales/es.json +20 -5
- package/dist/locales/fr.json +20 -5
- package/dist/locales/hi.json +20 -5
- package/dist/locales/it.json +20 -5
- package/dist/locales/ja.json +20 -5
- package/dist/locales/nl.json +20 -5
- package/dist/locales/pl.json +20 -5
- package/dist/locales/pt.json +20 -5
- package/dist/locales/ro.json +20 -5
- package/dist/locales/ru.json +20 -5
- package/dist/locales/sq.json +20 -5
- package/dist/locales/sv.json +20 -5
- package/dist/locales/tr.json +20 -5
- package/dist/locales/zh.json +20 -5
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
- package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
- package/dist/patterns/alia-assistant/index.d.ts +2 -0
- package/dist/patterns/alia-assistant/index.js +6 -5
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +13 -2
- package/package.json +1 -1
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
- package/dist/_chunks/alia-sidebar-DS0b54Mv.js +0 -1183
- package/dist/_chunks/chart-C2RBJERE.js +0 -705
- package/dist/_chunks/dashboard-grid-SAGoyCtL.js +0 -691
- package/dist/_chunks/link-2HokYuIi.js +0 -130
- package/dist/_chunks/popover-BI3oV3eY.js +0 -305
package/dist/agent-i18n/en.json
CHANGED
|
@@ -248,8 +248,8 @@
|
|
|
248
248
|
},
|
|
249
249
|
"actions": {
|
|
250
250
|
"changeView": "Switch the rendered chart type via the type switcher. No-op (returns false) when the chart has no switcher or the type is not offered.",
|
|
251
|
-
"updateSeries": "Replace the chart series without remounting. Pass the DECLARED type’s shape (see declaredType state)
|
|
252
|
-
"exportPng": "Return a PNG data URI of the chart for export or screenshotting."
|
|
251
|
+
"updateSeries": "Replace the chart series without remounting. Pass the DECLARED type’s shape (see declaredType state); when the user has switched the view cross-shape the values are converted to the rendered shape. The data and its summary table persist across type switches, resizes and theme changes until the host passes a new series prop.",
|
|
252
|
+
"exportPng": "Return a PNG data URI of the chart for export or screenshotting. Waits until series pushed with update_series are drawn."
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
"chatContainer": {
|
|
@@ -399,11 +399,12 @@
|
|
|
399
399
|
"state": {
|
|
400
400
|
"layout": "Current widget geometry in cell units — ids and rectangles only, no widget content.",
|
|
401
401
|
"cols": "Logical column count of the board.",
|
|
402
|
-
"editing": "Whether edit mode is on. Move/resize actions are refused while it is off — the host app owns the toggle."
|
|
402
|
+
"editing": "Whether edit mode is on. Move/resize actions are refused while it is off — the host app owns the toggle.",
|
|
403
|
+
"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."
|
|
403
404
|
},
|
|
404
405
|
"actions": {
|
|
405
|
-
"moveWidget": "Move a widget to a cell. Out-of-bounds targets are clamped; colliding widgets are pushed down and the layout re-compacts. Refused while edit mode is off.",
|
|
406
|
-
"resizeWidget": "Resize a widget to a span. Clamped to the grid and the widget’s min/max; colliding widgets are pushed down. Refused while edit mode is off."
|
|
406
|
+
"moveWidget": "Move a widget to a cell. Out-of-bounds targets are clamped; colliding widgets are pushed down and the layout re-compacts. Refused while edit mode is off or the board is stacked.",
|
|
407
|
+
"resizeWidget": "Resize a widget to a span. Clamped to the grid and the widget’s min/max; colliding widgets are pushed down. Refused while edit mode is off or the board is stacked."
|
|
407
408
|
}
|
|
408
409
|
},
|
|
409
410
|
"dataTableTabs": {
|
|
@@ -1835,9 +1836,9 @@
|
|
|
1835
1836
|
},
|
|
1836
1837
|
"helpMeWriteTemplates": {
|
|
1837
1838
|
"workflows": {
|
|
1838
|
-
"runTemplate": "Open the Templates menu from the editor's AI pill, or from the bubble that appears over selected text, and pick a template (
|
|
1839
|
+
"runTemplate": "Open the Templates menu from the editor's AI pill, or from the bubble that appears over selected text, and pick a template (listed in the practice's order). It runs straight away and rewrites the selected text, or the whole note when nothing is selected; the notice that follows offers Undo. Without patient AI consent the consent banner shows first. Out of AI credits opens the Alia Writing Assistant on the out-of-credits notice.",
|
|
1839
1840
|
"freePrompt": "Type (or dictate with the bar mic) what to write and press Write; the draft is inserted at the caret on Insert.",
|
|
1840
|
-
"manageTemplates": "Open Manage templates from the Templates menu in the AI pill: list the practice's templates, create or edit one (name, optional short description, instructions for the AI
|
|
1841
|
+
"manageTemplates": "Open Manage templates from the Templates menu in the AI pill: list the practice's templates, create or edit one (name, optional short description, instructions for the AI; names are unique), reorder them by dragging and delete one after a confirmation. Shown only when the host allows managing."
|
|
1841
1842
|
}
|
|
1842
1843
|
},
|
|
1843
1844
|
"invoices": {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type KeyboardEvent } from 'react';
|
|
2
|
+
/** Returns the element a portalled panel belongs after in reading order. */
|
|
3
|
+
export type TabExitAnchor = (content: HTMLElement) => HTMLElement | null | undefined;
|
|
4
|
+
export interface TabExitOptions {
|
|
5
|
+
/** A popover's trigger or anchor. Without it, Tab leaves in DOM order. */
|
|
6
|
+
getAnchor?: TabExitAnchor;
|
|
7
|
+
/** Radix keeps a popover open when focus lands on its own trigger, so
|
|
8
|
+
* Shift+Tab back onto the trigger calls this to close it. */
|
|
9
|
+
onReturnToTrigger?: () => void;
|
|
10
|
+
}
|
|
11
|
+
/** The Radix Popover trigger whose `aria-controls` names this content. */
|
|
12
|
+
export declare function findPopoverTrigger(content: HTMLElement): HTMLElement | null;
|
|
13
|
+
/**
|
|
14
|
+
* Lets Tab leave non-modal Dialog or Popover content (modal keeps its trap).
|
|
15
|
+
* With `getAnchor`, Tab leaves to just after the anchor and Shift+Tab returns
|
|
16
|
+
* to it. Returns a handler for the content's `onKeyDown`, after the consumer's.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useNonModalTabExit(enabled: boolean, { getAnchor, onReturnToTrigger }?: TabExitOptions): (event: KeyboardEvent<HTMLElement>) => void;
|
|
19
|
+
//# sourceMappingURL=non-modal-tab-exit.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `legendToggles`: whether a legend press hides its series. It does on axis
|
|
3
|
+
* charts and radialBar; on pie and donut it selects the slice instead.
|
|
4
|
+
*/
|
|
5
|
+
export declare function useApexChartSemantics(root: HTMLElement | null, legendToggles: boolean): void;
|
|
6
|
+
//# sourceMappingURL=use-apex-chart-semantics.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type KeyboardEvent } from 'react';
|
|
2
|
+
export interface SelectOnArrow {
|
|
3
|
+
/** Put on the Radix `RadioGroup.Root`, after any consumer `onKeyDown`. */
|
|
4
|
+
onKeyDown: (event: KeyboardEvent<HTMLElement>) => void;
|
|
5
|
+
/** Call first thing in the Root's `onValueChange`. */
|
|
6
|
+
noteSelection: () => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Arrow keys move focus AND selection in a Radix radio group (WAI-ARIA radio
|
|
10
|
+
* pattern). Radix selects only if the next radio takes focus while the arrow
|
|
11
|
+
* key is still down: it moves focus in a timeout and forgets the key on
|
|
12
|
+
* `keyup`. A quick tap, a script or an assistive technology can release the
|
|
13
|
+
* key before that timeout runs, and focus then moves without selecting.
|
|
14
|
+
*
|
|
15
|
+
* This finishes the move: its own timeout runs after Radix's and clicks the
|
|
16
|
+
* newly focused radio, as Radix would have. `noteSelection` tells it Radix
|
|
17
|
+
* already selected, so each move fires `onValueChange` once.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useSelectOnArrow(): SelectOnArrow;
|
|
20
|
+
//# sourceMappingURL=use-select-on-arrow.d.ts.map
|
|
@@ -6,6 +6,10 @@ declare const rootVariants: (props?: ({
|
|
|
6
6
|
export type AiConsentState = NonNullable<VariantProps<typeof rootVariants>['state']>;
|
|
7
7
|
/** Heading levels `AiConsentBanner.headingLevel` accepts. */
|
|
8
8
|
export type AiConsentBannerHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
9
|
+
/** What the consent covers; each subject has kit-owned, translated wording.
|
|
10
|
+
* `'patient-record'` (default) is one patient's record. `'practice-statistics'`
|
|
11
|
+
* is the practice's aggregate figures (totals, rates), never patient data. */
|
|
12
|
+
export type AiConsentSubject = 'patient-record' | 'practice-statistics';
|
|
9
13
|
/**
|
|
10
14
|
* Patient AI-consent gate for an AI surface that sends patient data to a
|
|
11
15
|
* service: the RichTextEditor's Help-me-write action and dictation mics, and
|
|
@@ -40,6 +44,27 @@ export interface AiConsentGate {
|
|
|
40
44
|
*/
|
|
41
45
|
onGrant?: () => void | Promise<void>;
|
|
42
46
|
}
|
|
47
|
+
/** Host-translated strings; the host owns their wording and translation.
|
|
48
|
+
* Each one replaces the `subject` preset for that string only. Plain text,
|
|
49
|
+
* not i18n keys: interpolate any values (a practice name) before passing. */
|
|
50
|
+
export interface AiConsentBannerCopy {
|
|
51
|
+
/** Banner heading. */
|
|
52
|
+
title?: string;
|
|
53
|
+
/** Description in the required and pending states. */
|
|
54
|
+
descriptionRequired?: string;
|
|
55
|
+
/** Description in the granted state. */
|
|
56
|
+
descriptionGranted?: string;
|
|
57
|
+
/** Label of the confirmation checkbox. */
|
|
58
|
+
confirmLabel?: string;
|
|
59
|
+
/** Label of the Grant button. */
|
|
60
|
+
grantButton?: string;
|
|
61
|
+
/** Note shown instead of the grant controls when `canGrant` is false. */
|
|
62
|
+
notAllowed?: string;
|
|
63
|
+
/** Badge text in the granted state. */
|
|
64
|
+
badgeGranted?: string;
|
|
65
|
+
/** Busy text (and Spinner label) in the pending state. */
|
|
66
|
+
pendingLabel?: string;
|
|
67
|
+
}
|
|
43
68
|
/** Agent-readiness curated handle. Exposes the structural consent state only. */
|
|
44
69
|
export interface AiConsentBannerHandle {
|
|
45
70
|
/** Current derived state: 'granted' | 'required' | 'pending'. */
|
|
@@ -80,6 +105,13 @@ export interface AiConsentBannerProps extends Omit<ComponentPropsWithoutRef<'div
|
|
|
80
105
|
* `<h5>` — every existing consumer is unaffected.
|
|
81
106
|
*/
|
|
82
107
|
headingLevel?: AiConsentBannerHeadingLevel;
|
|
108
|
+
/** What the consent covers; picks the kit's translated wording. Default
|
|
109
|
+
* `'patient-record'`, which renders exactly as before this prop existed. */
|
|
110
|
+
subject?: AiConsentSubject;
|
|
111
|
+
/** Host-translated strings; the host owns their wording and translation.
|
|
112
|
+
* Each key overrides only its own string. `title` also names the region,
|
|
113
|
+
* unless `aria-label` is passed. */
|
|
114
|
+
copy?: Partial<AiConsentBannerCopy>;
|
|
83
115
|
/** Override the region's accessible name. */
|
|
84
116
|
'aria-label'?: string;
|
|
85
117
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { AiConsentBanner } from './ai-permission-notice';
|
|
2
|
-
export type { AiConsentBannerProps, AiConsentBannerHandle, AiConsentState, AiConsentBannerHeadingLevel, AiConsentGate, } from './ai-permission-notice';
|
|
2
|
+
export type { AiConsentBannerProps, AiConsentBannerCopy, AiConsentSubject, AiConsentBannerHandle, AiConsentState, AiConsentBannerHeadingLevel, AiConsentGate, } from './ai-permission-notice';
|
|
3
3
|
export { aiConsentBannerAgent } from './ai-permission-notice.agent';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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-CfFQNOF_.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppointmentDetailsPanel,
|
|
4
4
|
n as appointmentDetailsPanelAgent,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as m } from "../../_chunks/bmi-calculator-
|
|
1
|
+
import { B as m } from "../../_chunks/bmi-calculator-C0UTxB7R.js";
|
|
2
2
|
import { b as e, a as t, c as r, d as T, e as c, f as i, i as b, k as n, l as f } from "../../_chunks/bmi-BxD-tFzU.js";
|
|
3
3
|
export {
|
|
4
4
|
m as BmiCalculator,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import '../../tokens/apexcharts-theme.css';
|
|
2
3
|
declare const chartVariants: (props?: ({
|
|
3
4
|
density?: "none" | "comfortable" | "compact" | null | undefined;
|
|
4
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -28,8 +29,8 @@ export interface ChartSeries {
|
|
|
28
29
|
* type system with no runtime guard. On an axis→slice type switch the compare
|
|
29
30
|
* series are dropped from the slice (a previous-period total is not a slice of
|
|
30
31
|
* the current whole; DEV warn). Omit (or `'primary'`) to render normally — a
|
|
31
|
-
* chart with NO compare series
|
|
32
|
-
*
|
|
32
|
+
* chart with NO compare series renders as before this field existed, and
|
|
33
|
+
* removing or moving the role through `series` clears it from the old series.
|
|
33
34
|
* @default 'primary'
|
|
34
35
|
*/
|
|
35
36
|
role?: 'primary' | 'compare';
|
|
@@ -64,9 +65,9 @@ export interface ChartProps extends VariantProps<typeof chartVariants> {
|
|
|
64
65
|
* Stack multiple `bar` / `area` series into a composition-over-time view.
|
|
65
66
|
* Maps to ApexCharts `chart.stacked`. Only applies to the axis types
|
|
66
67
|
* (`line` / `bar` / `area`); slice types (`pie` / `donut` / `radialBar`)
|
|
67
|
-
* have no axis to stack against and ignore it. Default `false
|
|
68
|
-
* unstacked chart
|
|
69
|
-
*
|
|
68
|
+
* have no axis to stack against and ignore it. Default `false`: an
|
|
69
|
+
* unstacked chart renders as before this prop existed, and turning it off
|
|
70
|
+
* after the first render unstacks the bars in place.
|
|
70
71
|
*/
|
|
71
72
|
stacked?: boolean;
|
|
72
73
|
/**
|
|
@@ -96,7 +97,11 @@ export interface ChartProps extends VariantProps<typeof chartVariants> {
|
|
|
96
97
|
* green in the healthy band, amber/red outside it.
|
|
97
98
|
*/
|
|
98
99
|
colors?: string[];
|
|
99
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Show the ApexCharts toolbar. Its buttons are --min-target-size boxes in a
|
|
102
|
+
* band reserved above the plot; zoomable types need about 300px of width.
|
|
103
|
+
* Defaults to false.
|
|
104
|
+
*/
|
|
100
105
|
toolbar?: boolean;
|
|
101
106
|
/** Locale override — defaults to the active i18next language. */
|
|
102
107
|
locale?: string;
|
|
@@ -137,16 +142,16 @@ export interface ChartProps extends VariantProps<typeof chartVariants> {
|
|
|
137
142
|
className?: string;
|
|
138
143
|
}
|
|
139
144
|
export interface ChartHandle {
|
|
140
|
-
/** Returns a PNG data URI for the chart. */
|
|
145
|
+
/** Returns a PNG data URI for the chart, after any pushed series is drawn. */
|
|
141
146
|
dataURI: () => Promise<string>;
|
|
142
147
|
/**
|
|
143
148
|
* Updates series without remounting. Always pass the DECLARED `type`'s
|
|
144
149
|
* shape — while the user has switched the view across the axis/slice
|
|
145
150
|
* boundary the values (and, for axis→slice, the slice labels) are
|
|
146
151
|
* converted to the rendered shape; for slice→axis the categories stay
|
|
147
|
-
* the `labels` prop, so keep the value count stable. The update
|
|
148
|
-
*
|
|
149
|
-
*
|
|
152
|
+
* the `labels` prop, so keep the value count stable. The update also
|
|
153
|
+
* reaches the summary table, and holds until the `series` prop changes;
|
|
154
|
+
* `dataURI` waits for it to be drawn.
|
|
150
155
|
*/
|
|
151
156
|
updateSeries: (next: ChartProps['series']) => void;
|
|
152
157
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-
|
|
1
|
+
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-CMyBYgRR.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CONTACT_PROFILE_CARD_ROW_ICONS,
|
|
4
4
|
O as CONTACT_PROFILE_CARD_ROW_KEYS,
|
|
@@ -34,4 +34,26 @@ export declare function firstFit(layout: DashboardWidgetLayout[], cols: number,
|
|
|
34
34
|
};
|
|
35
35
|
/** Total rows the layout occupies (for sizing the add tile / container). */
|
|
36
36
|
export declare function rowCount(layout: DashboardWidgetLayout[]): number;
|
|
37
|
+
/**
|
|
38
|
+
* Extra inline size (px) a stacked board must reach, above `stackBelow`,
|
|
39
|
+
* before it returns to the grid. Without the band a width hovering on the
|
|
40
|
+
* threshold could flip the board back and forth: sub-pixel rounding, or a
|
|
41
|
+
* page scrollbar (classic scrollbars are up to about 20 px) that appears
|
|
42
|
+
* in one mode and disappears in the other because the two modes differ
|
|
43
|
+
* in height.
|
|
44
|
+
*/
|
|
45
|
+
export declare const STACK_HYSTERESIS_PX = 24;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the board shows one stacked column for a measured inline size.
|
|
48
|
+
* Stacks below `stackBelow`; unstacks at `stackBelow + STACK_HYSTERESIS_PX`
|
|
49
|
+
* or wider. An unusable threshold never stacks. A board with no measurable
|
|
50
|
+
* box (`display: none`, a hidden tab) keeps its current mode.
|
|
51
|
+
*/
|
|
52
|
+
export declare function shouldStack(inlineSize: number, stackBelow: number | undefined, wasStacked: boolean): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Reading order of the stacked column: row (`y`), then LOGICAL column
|
|
55
|
+
* (`x`, so RTL keeps the same order), then the caller's `ids` order on a
|
|
56
|
+
* tie. Ids without a layout entry keep their relative order at the end.
|
|
57
|
+
*/
|
|
58
|
+
export declare function stackOrder(ids: string[], layout: DashboardWidgetLayout[]): string[];
|
|
37
59
|
//# sourceMappingURL=dashboard-grid-engine.d.ts.map
|
|
@@ -2,8 +2,10 @@ import { type ReactNode } from 'react';
|
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { type DashboardWidgetLayout } from './dashboard-grid-engine';
|
|
4
4
|
export type { DashboardWidgetLayout } from './dashboard-grid-engine';
|
|
5
|
-
declare const dashboardGridVariants: (props?: ({
|
|
6
|
-
|
|
5
|
+
declare const dashboardGridVariants: (props?: ({
|
|
6
|
+
stacked?: boolean | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
export interface DashboardGridProps extends Omit<VariantProps<typeof dashboardGridVariants>, 'stacked'> {
|
|
7
9
|
/** Accessible name for the board region. Required. */
|
|
8
10
|
'aria-label': string;
|
|
9
11
|
/** Opaque instance id — emitted as `data-component-id` for the agent registry. */
|
|
@@ -36,19 +38,61 @@ export interface DashboardGridProps extends VariantProps<typeof dashboardGridVar
|
|
|
36
38
|
* `onLayoutChange`.
|
|
37
39
|
*/
|
|
38
40
|
onRequestAdd?: () => void;
|
|
41
|
+
/**
|
|
42
|
+
* Opt-in narrow mode. When the board's OWN inline size (px, measured with
|
|
43
|
+
* a ResizeObserver, not the viewport) is below this value, the widgets
|
|
44
|
+
* render as one full-width, read-only column in reading order (`y`, then
|
|
45
|
+
* logical `x`), each at least its grid height. No move/resize/remove
|
|
46
|
+
* chrome or add tile shows, even while `editing` is on, and
|
|
47
|
+
* `onLayoutChange` never fires because of stacking: the saved layout is
|
|
48
|
+
* untouched and the grid returns exactly once the board is at least
|
|
49
|
+
* `stackBelow + 24` px wide (the 24 px band stops a width hovering on the
|
|
50
|
+
* threshold, or a page scrollbar, from flipping the board). Unset: the
|
|
51
|
+
* board never stacks.
|
|
52
|
+
*
|
|
53
|
+
* Give the board a container whose width does not depend on its content
|
|
54
|
+
* (normal block flow, or a stretched flex/grid item). In a shrink-to-fit
|
|
55
|
+
* host the narrower stacked column can keep the board stacked.
|
|
56
|
+
* Switching between unset and set at runtime remounts the widgets.
|
|
57
|
+
*
|
|
58
|
+
* SSR: the server render and the first client render show the grid; the
|
|
59
|
+
* board measures itself in a layout effect, before the first client
|
|
60
|
+
* paint. A server-rendered page shows the grid until hydration.
|
|
61
|
+
*/
|
|
62
|
+
stackBelow?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Fired when the board enters (`true`) or leaves (`false`) the stacked
|
|
65
|
+
* column, before that mode is painted, so the host can hide its own
|
|
66
|
+
* customise control. Not fired for the initial unstacked state, nor on
|
|
67
|
+
* unmount.
|
|
68
|
+
*/
|
|
69
|
+
onStackedChange?: (stacked: boolean) => void;
|
|
39
70
|
/** `DashboardGrid.Widget` children. */
|
|
40
71
|
children: ReactNode;
|
|
41
72
|
className?: string;
|
|
42
73
|
}
|
|
43
74
|
export interface DashboardGridHandle {
|
|
44
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Move a widget to a cell. False when not editing, while stacked, or
|
|
77
|
+
* when the id is unknown.
|
|
78
|
+
*/
|
|
45
79
|
moveWidgetTo: (id: string, x: number, y: number) => boolean;
|
|
46
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Resize a widget to a span. False when not editing, while stacked, or
|
|
82
|
+
* when the id is unknown.
|
|
83
|
+
*/
|
|
47
84
|
resizeWidgetTo: (id: string, w: number, h: number) => boolean;
|
|
48
85
|
/** Current geometry + mode. */
|
|
49
86
|
getGridState: () => {
|
|
50
87
|
cols: number;
|
|
88
|
+
/** The `editing` prop as the host set it. */
|
|
51
89
|
editing: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* True while the board is narrower than `stackBelow` and shows one
|
|
92
|
+
* read-only column. Editing is unavailable until it is false again.
|
|
93
|
+
*/
|
|
94
|
+
stacked: boolean;
|
|
95
|
+
/** The saved grid layout; stacking never changes it. */
|
|
52
96
|
layout: DashboardWidgetLayout[];
|
|
53
97
|
};
|
|
54
98
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-
|
|
1
|
+
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-fAMTeAjM.js";
|
|
2
2
|
import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as m, r as E, u as f } from "../../_chunks/editable-currency-cell-renderer-CmYcMuwi.js";
|
|
3
|
-
import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-
|
|
3
|
+
import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-CxW_oLa5.js";
|
|
4
4
|
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-Dj1ZkvJj.js";
|
|
5
5
|
export {
|
|
6
6
|
X as ActionsCellRenderer,
|
|
@@ -40,11 +40,11 @@ interface DialogFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
40
40
|
divider?: boolean;
|
|
41
41
|
}
|
|
42
42
|
export declare const Dialog: {
|
|
43
|
-
({ children, id, open: openProp, defaultOpen, onOpenChange, ...props }: DialogRootProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
({ children, id, open: openProp, defaultOpen, onOpenChange, modal, ...props }: DialogRootProps): import("react/jsx-runtime").JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
45
|
} & {
|
|
46
46
|
Root: {
|
|
47
|
-
({ children, id, open: openProp, defaultOpen, onOpenChange, ...props }: DialogRootProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
({ children, id, open: openProp, defaultOpen, onOpenChange, modal, ...props }: DialogRootProps): import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
displayName: string;
|
|
49
49
|
};
|
|
50
50
|
Trigger: import("react").ForwardRefExoticComponent<Omit<RadixDialog.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e } from "../../_chunks/due-date-calculator-
|
|
1
|
+
import { D as e } from "../../_chunks/due-date-calculator-D_qFUiHp.js";
|
|
2
2
|
import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-Kf2Yg8uo.js";
|
|
3
3
|
export {
|
|
4
4
|
r as CRL_DATING_MAX_MM,
|