@alfadocs/ui-kit 1.114.0 → 1.116.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/accessible-target-Bs9ELM3l.js +6 -0
- package/dist/_chunks/{actions-cell-renderer-BVn3vDTg.js → actions-cell-renderer-DzHxDyI7.js} +3 -3
- package/dist/_chunks/{address-fields-D5Ije0S2.js → address-fields-BFVCtfP2.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-BkgcGmu8.js → ai-permission-notice-C-xR2_iS.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CKkg3gc8.js → alia-sidebar-BBxbMRmX.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DaS-j8Jd.js → anamnesis-summary-rows-gEXqU5i5.js} +8 -8
- package/dist/_chunks/{antenatal-schedule-timeline-DmlXxevC.js → antenatal-schedule-timeline-va9zx7tJ.js} +11 -11
- package/dist/_chunks/{appointment-card-FKOnH1uJ.js → appointment-card-BMZoXaGx.js} +4 -4
- package/dist/_chunks/{appointment-peek-DWfcpoGy.js → appointment-peek-B1CCv-7J.js} +2 -2
- package/dist/_chunks/{appointment-timeline-eOi-y8m3.js → appointment-timeline-0k4LxODn.js} +4 -4
- package/dist/_chunks/{appointment-tray-C6oBvsG5.js → appointment-tray-DIxpgIXM.js} +2 -2
- package/dist/_chunks/{ar-C4YQVTH6.js → ar-BFvUBJ_g.js} +10 -10
- package/dist/_chunks/arrow-down-left-DECv-dJt.js +15 -0
- package/dist/_chunks/{balance-badge-cell-BAZynD--.js → balance-badge-cell-L7bD0Nsh.js} +28 -27
- package/dist/_chunks/bill-line-table-WEIRDcv6.js +1563 -0
- package/dist/_chunks/{bmi-calculator-Ba4yoR31.js → bmi-calculator-BjUfXqcY.js} +2 -2
- package/dist/_chunks/buildMatchPatternFn-jbaE1-W0.js +68 -0
- package/dist/_chunks/{button-group-CUnNnt8a.js → button-group-BvU9vRnX.js} +2 -2
- package/dist/_chunks/{calculator-dialog-D4TyJwqy.js → calculator-dialog-BGX5XQCM.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-iyh9QqNw.js → calendar-appointment-editor-dialog-DqZMb4yd.js} +527 -539
- package/dist/_chunks/{care-plan-card-DMjlYlFc.js → care-plan-card-CfV8jiF0.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-3hguBW45.js → care-plan-entry-card-Bt01kyTl.js} +4 -4
- package/dist/_chunks/{chart-bddVIElM.js → chart-BSx8cfMm.js} +2 -2
- package/dist/_chunks/{chat-container-baxzy8k8.js → chat-container-B83b4hut.js} +2 -2
- package/dist/_chunks/checkbox-DV4sNDeB.js +282 -0
- package/dist/_chunks/{checkbox-group-eGdv9fZc.js → checkbox-group-EfinQS1h.js} +2 -2
- package/dist/_chunks/chevrons-up-down-CgiVAHb7.js +15 -0
- package/dist/_chunks/circle-off-DuT9pVy2.js +16 -0
- package/dist/_chunks/combobox-BBCVQS-S.js +935 -0
- package/dist/_chunks/compact-editor-fields-6sTWRLtf.js +21 -0
- package/dist/_chunks/{contact-profile-card-DMXWBBkU.js → contact-profile-card-BRCHbQ3-.js} +2 -2
- package/dist/_chunks/{country-select-CUuGOAoZ.js → country-select-C2GdvRtS.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Dd-XbKmZ.js → cycle-calculator-Brd0PP4U.js} +6 -6
- package/dist/_chunks/{dashboard-grid-DrOkTtya.js → dashboard-grid-3aidD-IQ.js} +2 -2
- package/dist/_chunks/data-grid-ByhrYGVw.js +9814 -0
- package/dist/_chunks/data-grid-tabs-D9Y4DeeH.js +365 -0
- package/dist/_chunks/data-table-B47iw2CO.js +1694 -0
- package/dist/_chunks/data-table-tabs-NYLhD8_Z.js +242 -0
- package/dist/_chunks/date-locale-OG-MupVD.js +83 -0
- package/dist/_chunks/{date-picker-CdhXlgVI.js → date-picker-DBVTj6lO.js} +21 -20
- package/dist/_chunks/{date-picker-variants-Dt6UbonG.js → date-picker-variants-J1EeAhIH.js} +601 -678
- package/dist/_chunks/date-range-panel-B-DUtfw3.js +62 -0
- package/dist/_chunks/{date-range-picker-DCADIR8o.js → date-range-picker-PTRpDkXT.js} +72 -70
- package/dist/_chunks/{date-time-picker-CT2bC7-A.js → date-time-picker-CJnqiQoT.js} +22 -21
- package/dist/_chunks/{de-B1B3PIgY.js → de-i9wbjGPc.js} +2 -2
- package/dist/_chunks/default-tabs-BQcSqcNG.js +2250 -0
- package/dist/_chunks/dialog-CIUn5oLb.js +348 -0
- package/dist/_chunks/{document-preview-WvJKHJOP.js → document-preview-B_JGHsEW.js} +2 -2
- package/dist/_chunks/{dropdown-menu-CqxBthww.js → dropdown-menu-Dmbak7q6.js} +320 -248
- package/dist/_chunks/{due-date-calculator-Dl6SyMHO.js → due-date-calculator-DzIQXEX5.js} +7 -7
- package/dist/_chunks/{editable-currency-cell-renderer-BUdFMh67.js → editable-currency-cell-renderer-p-Q1UkZS.js} +3 -3
- package/dist/_chunks/{el-iLqGpapg.js → el-Cm-rWthb.js} +20 -20
- package/dist/_chunks/{en-GB-CxPRQbD6.js → en-GB-BHn82gW8.js} +11 -10
- package/dist/_chunks/en-US-C4QKhzhA.js +46 -0
- package/dist/_chunks/{es-Bg1oqwDs.js → es-B_6Z19UA.js} +4 -4
- package/dist/_chunks/export-files-BByoK9Cg.js +248 -0
- package/dist/_chunks/{face-scheme-DlcQaQVR.js → face-scheme-CEjJUnNe.js} +19 -18
- package/dist/_chunks/{fetal-weight-DmZzMRzB.js → fetal-weight-CJTlfh_k.js} +2 -2
- package/dist/_chunks/{file-manager-LG7B_UHB.js → file-manager-DEe51ZDe.js} +5 -5
- package/dist/_chunks/format-price-CIX0YJZn.js +179 -0
- package/dist/_chunks/format-ql5WTsYT.js +846 -0
- package/dist/_chunks/{fr-DpGxyOGI.js → fr-gTba51QO.js} +7 -7
- package/dist/_chunks/funnel-DpPV3Qkd.js +20 -0
- package/dist/_chunks/{gestational-age-calculator-DmzYdW5e.js → gestational-age-calculator-60y1RyQL.js} +7 -7
- package/dist/_chunks/grid-context-jn9y8tNE.js +46 -0
- package/dist/_chunks/{hcg-doubling-Tr72PetS.js → hcg-doubling-BUZQkSYC.js} +7 -6
- package/dist/_chunks/{header-settings-Df9q1uHt.js → header-settings-DNgvO8fS.js} +2 -2
- package/dist/_chunks/{heatmap-CNxCDl0D.js → heatmap-tn1WxoMT.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-CWxgjDZl.js → help-me-write-templates-C28E_rOt.js} +2 -2
- package/dist/_chunks/{hi-3Dtsksrw.js → hi-BIHq9ncx.js} +10 -10
- package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
- package/dist/_chunks/icon-button-group-Ca2VkXy5.js +442 -0
- package/dist/_chunks/{index-CJE9uQmb.js → index-Bze5jCG_.js} +2 -1
- package/dist/_chunks/{isSameWeek-DyVftHWi.js → isSameWeek-CZOtDcsd.js} +2 -2
- package/dist/_chunks/{it-Cp0CA13d.js → it-DaCPWJ9Y.js} +11 -11
- package/dist/_chunks/{ja-9FOyR1lb.js → ja-BRCpkD95.js} +26 -26
- package/dist/_chunks/{kit-extensions-DZJRmDI6.js → kit-extensions-BFfLg7c-.js} +7 -7
- package/dist/_chunks/link-cell-renderer-D-Io828l.js +800 -0
- package/dist/_chunks/{login-dev-card-D7orCfJT.js → login-dev-card-CPndtWdz.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-CPNVBVLH.js → marketplace-app-shell-CBHNg8x-.js} +5 -5
- package/dist/_chunks/match-BATShpSX.js +336 -0
- package/dist/_chunks/money-OE6_oDPH.js +138 -0
- package/dist/_chunks/{muscle-scheme-BkmDUTmk.js → muscle-scheme-7UsRsCHP.js} +2 -2
- package/dist/_chunks/{nl-sfx-zJgR.js → nl-5tAwYo00.js} +6 -6
- package/dist/_chunks/normalizeDates-BBNNIR-v.js +36 -0
- package/dist/_chunks/{notes-panel-DXMTObBv.js → notes-panel-DexbfrFo.js} +3 -3
- package/dist/_chunks/number-input-DUSvP7Dq.js +625 -0
- package/dist/_chunks/{optical-prescription-CvbN8yD2.js → optical-prescription-Da_r8pMr.js} +2 -2
- package/dist/_chunks/{parse-B0s7bY4d.js → parse-BLBWPIgE.js} +63 -61
- package/dist/_chunks/{parseISO-DZZ5a-zK.js → parseISO-Dl4T9peU.js} +2 -2
- package/dist/_chunks/parts-CtcTW1PN.js +869 -0
- package/dist/_chunks/{patient-details-DdtXBNjt.js → patient-details-PJ0Y__7t.js} +2 -2
- package/dist/_chunks/{patient-field-row-D9rb-QJH.js → patient-field-row-0QP8KCVp.js} +7 -7
- package/dist/_chunks/{patient-search-DDRDCjZi.js → patient-search-Bdx_Ob3y.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CGHz-Bvm.js → patient-summary-card-BOfXDP8a.js} +4 -4
- package/dist/_chunks/{payment-request-card-BmV2pLoM.js → payment-request-card-_04afZEx.js} +14 -13
- package/dist/_chunks/{periodontal-diagnosis-xheWfi4g.js → periodontal-diagnosis-DnZuZD14.js} +2 -2
- package/dist/_chunks/{permission-matrix-BJ6sg3Zp.js → permission-matrix-BXmhICzN.js} +3 -3
- package/dist/_chunks/{pl-BLh7KO-s.js → pl-mLYbfByR.js} +7 -7
- package/dist/_chunks/{practice-results-BlxfBx-D.js → practice-results-CrBjScXX.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-BvorzHrd.js → pregnancy-dating-Bg_VUPwl.js} +8 -8
- package/dist/_chunks/{pregnancy-weight-gain-DQoOM8QV.js → pregnancy-weight-gain-B-eXFdmq.js} +2 -2
- package/dist/_chunks/privacy-mask-BlJK51MD.js +78 -0
- package/dist/_chunks/privacy-mask-text-B8YfzB7L.js +7 -0
- package/dist/_chunks/{province-select-cVOlwEc5.js → province-select-CTM8A9SM.js} +2 -2
- package/dist/_chunks/{pt-CPKOrOLj.js → pt-CgaqtlD9.js} +6 -6
- package/dist/_chunks/{radiograph-panel.agent-CXah49KM.js → radiograph-panel.agent-9jwXlOXB.js} +4 -4
- package/dist/_chunks/{registration-form-Lw9T7IXr.js → registration-form-DW-0X7S4.js} +2 -2
- package/dist/_chunks/{reserved.agent-D2jwJPac.js → reserved.agent-C1zRHaya.js} +12 -12
- package/dist/_chunks/{rich-text-editor-BLS2cK-u.js → rich-text-editor-r80Zw8ll.js} +14 -13
- package/dist/_chunks/{ro-Dc-oNqbF.js → ro-CpDg1-8v.js} +2 -2
- package/dist/_chunks/row-actions-Df7TJbNR.js +213 -0
- package/dist/_chunks/{ru-BtNpDZRR.js → ru-B7VMyjud.js} +9 -9
- package/dist/_chunks/saved-view-tabs-DLWm88Eq.js +932 -0
- package/dist/_chunks/{send-registration-link-form-DfbTjrEK.js → send-registration-link-form-DWxWa_cJ.js} +5 -5
- package/dist/_chunks/{sidebar-2VsPlNkZ.js → sidebar-D5DFYN5K.js} +326 -335
- package/dist/_chunks/{signature-request-BnTihryS.js → signature-request-CgvjLic3.js} +3 -3
- package/dist/_chunks/{slot-grid-BhjaLJ0o.js → slot-grid-b4eZXokb.js} +3 -3
- package/dist/_chunks/{sq-D4c7olaV.js → sq-B0Ree_9P.js} +2 -2
- package/dist/_chunks/subDays-Bsoy023P.js +8 -0
- package/dist/_chunks/{sv-Bf_dHPvh.js → sv-D9fP66O7.js} +4 -4
- package/dist/_chunks/{tab-bar-C_pggqVr.js → tab-bar-DTn8pHqH.js} +2 -2
- package/dist/_chunks/{tabs-CXYjr_8O.js → tabs-CsmgkiG6.js} +2 -2
- package/dist/_chunks/{tag-DOZGz0fT.js → tag-BNlcEJfE.js} +70 -67
- package/dist/_chunks/{task-card-DqVoitRk.js → task-card-BNbkwIYM.js} +2 -2
- package/dist/_chunks/{task-editor-D--LwVrg.js → task-editor-DgUjtqpX.js} +386 -410
- package/dist/_chunks/{task-tray-C6j8HVMv.js → task-tray-Bmi9wCHq.js} +2 -2
- package/dist/_chunks/{tasks-panel-D6PuF4MQ.js → tasks-panel-B5Nsf10r.js} +3 -3
- package/dist/_chunks/{theme-toggle-Czq3K9jB.js → theme-toggle-DfvdEg_V.js} +3 -3
- package/dist/_chunks/{token-insert-menu-Dl3x2ekR.js → token-insert-menu-BdcmK5Um.js} +2 -2
- package/dist/_chunks/toolbar-DbUQBrq4.js +159 -0
- package/dist/_chunks/{tooth-scheme-C-ALCHaV.js → tooth-scheme-LTkT4EXd.js} +2 -2
- package/dist/_chunks/{tr-xqQ6cbGY.js → tr-Bcz5LCHZ.js} +2 -2
- package/dist/_chunks/{transaction-chip-CohY6sTA.js → transaction-chip-CkYd-3ky.js} +47 -57
- package/dist/_chunks/{transcript-panel-A781Pkzr.js → transcript-panel-Wr8e4Zgi.js} +2 -2
- package/dist/_chunks/{treatment-receipt-pFqWFyD_.js → treatment-receipt-1VnuinhY.js} +3 -3
- package/dist/_chunks/undo-2-EBxWjj1W.js +15 -0
- package/dist/_chunks/{unit-converter-D77vmlzN.js → unit-converter-YKlHyUC2.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BK_Gw1GG.js → use-appointment-details-read-_r7cjTtm.js} +8 -8
- package/dist/_chunks/{verify-identity-types-C85EXNzy.js → verify-identity-types-D_LdByCp.js} +2 -2
- package/dist/_chunks/{voice-control-panel-BGiX4sqB.js → voice-control-panel-Be_c0CQ0.js} +2 -2
- package/dist/_chunks/{widget-picker-U4JsEhQE.js → widget-picker-DrxJjEkv.js} +2 -2
- package/dist/_chunks/{workflow-map-B4XkcET0.js → workflow-map-D-u8_YSr.js} +2 -2
- package/dist/_chunks/{workflow-status-9wb7iWUd.js → workflow-status-fykpTxfb.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-CtBn5JvO.js → workflow-webhook-action-DM3W8XZE.js} +3 -3
- package/dist/_chunks/{zh-CN-C657DBCO.js → zh-CN-B7Ek17US.js} +11 -11
- package/dist/agent-catalog.json +3359 -1569
- package/dist/agent-i18n/en.json +100 -2
- package/dist/components/_shared/accessible-target.d.ts +12 -0
- package/dist/components/_shared/decimal.d.ts +171 -0
- package/dist/components/_shared/format-price.d.ts +54 -2
- package/dist/components/_shared/privacy-mask-text.d.ts +4 -0
- package/dist/components/_shared/privacy-mask.d.ts +2 -4
- package/dist/components/_shared/saved-view-tabs/saved-tab.d.ts +54 -0
- package/dist/components/_shared/saved-view-tabs/saved-view-tabs.d.ts +93 -0
- package/dist/components/_shared/saved-view-tabs/use-saved-view-tabs.d.ts +59 -0
- package/dist/components/_shared/saved-view-tabs/view-adapter.d.ts +69 -0
- package/dist/components/_shared/table-filters/calendar-day.d.ts +27 -0
- package/dist/components/_shared/table-filters/predicates.d.ts +56 -0
- package/dist/components/_shared/table-toolbar/context.d.ts +28 -0
- package/dist/components/_shared/table-toolbar/describe-filter.d.ts +42 -0
- package/dist/components/_shared/table-toolbar/export-files.d.ts +47 -0
- package/dist/components/{data-table/xlsx-export.d.ts → _shared/table-toolbar/export-xlsx.d.ts} +2 -2
- package/dist/components/_shared/table-toolbar/parts.d.ts +125 -0
- package/dist/components/_shared/table-toolbar/seam.d.ts +261 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-permission-notice/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/bill-line-table/bill-line-table.agent.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +47 -0
- package/dist/components/bill-line-table/bill-line-table.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.model.d.ts +173 -0
- package/dist/components/bill-line-table/bill-line-table.types.d.ts +443 -0
- package/dist/components/bill-line-table/bill-line-table.variants.d.ts +34 -0
- package/dist/components/bill-line-table/index.d.ts +6 -0
- package/dist/components/bill-line-table/index.js +23 -0
- package/dist/components/bill-table/bill-table.agent.d.ts +4 -0
- package/dist/components/bill-table/bill-table.d.ts +13 -0
- package/dist/components/bill-table/bill-table.variants.d.ts +55 -0
- package/dist/components/bill-table/cells.d.ts +89 -0
- package/dist/components/bill-table/columns.d.ts +21 -0
- package/dist/components/bill-table/default-tabs.d.ts +21 -0
- package/dist/components/bill-table/handle.d.ts +19 -0
- package/dist/components/bill-table/index.d.ts +7 -0
- package/dist/components/bill-table/index.js +19 -0
- package/dist/components/bill-table/model.d.ts +103 -0
- package/dist/components/bill-table/row-actions.d.ts +27 -0
- package/dist/components/bill-table/status-maps.d.ts +225 -0
- package/dist/components/bill-table/types.d.ts +542 -0
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button-group/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-entry-card/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +66 -6
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +59 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-grid/announcer.d.ts +27 -0
- package/dist/components/data-grid/body.d.ts +101 -0
- package/dist/components/data-grid/columns.d.ts +96 -0
- package/dist/components/data-grid/data-grid.agent.d.ts +2 -1
- package/dist/components/data-grid/data-grid.d.ts +11 -27
- package/dist/components/data-grid/data-grid.variants.d.ts +110 -0
- package/dist/components/data-grid/editors.d.ts +14 -0
- package/dist/components/data-grid/export-snapshot.d.ts +3 -0
- package/dist/components/data-grid/features.d.ts +56 -0
- package/dist/components/data-grid/filter-fns.d.ts +23 -0
- package/dist/components/data-grid/filters/date-range-panel.d.ts +8 -0
- package/dist/components/data-grid/filters/filter-panels.d.ts +27 -0
- package/dist/components/data-grid/filters/filter-trigger.d.ts +7 -0
- package/dist/components/data-grid/footer.d.ts +10 -0
- package/dist/components/data-grid/grid-context.d.ts +18 -0
- package/dist/components/data-grid/handle.d.ts +60 -0
- package/dist/components/data-grid/header.d.ts +12 -0
- package/dist/components/data-grid/index.d.ts +3 -0
- package/dist/components/data-grid/index.js +11 -3
- package/dist/components/data-grid/keyboard.d.ts +76 -0
- package/dist/components/data-grid/pager.d.ts +18 -0
- package/dist/components/data-grid/persistence.d.ts +60 -0
- package/dist/components/data-grid/print.d.ts +10 -0
- package/dist/components/data-grid/responsive.d.ts +36 -0
- package/dist/components/data-grid/selection.d.ts +68 -0
- package/dist/components/data-grid/state.d.ts +119 -0
- package/dist/components/data-grid/states.d.ts +34 -0
- package/dist/components/data-grid/toolbar-seam.d.ts +7 -0
- package/dist/components/data-grid/toolbar.d.ts +41 -0
- package/dist/components/data-grid/types.d.ts +1396 -0
- package/dist/components/data-grid/use-data-grid-engine.d.ts +9 -0
- package/dist/components/data-grid/virtual-rows.d.ts +43 -0
- package/dist/components/data-grid-tabs/data-grid-tabs.agent.d.ts +9 -0
- package/dist/components/data-grid-tabs/data-grid-tabs.d.ts +4 -0
- package/dist/components/data-grid-tabs/grid-view-adapter.d.ts +15 -0
- package/dist/components/data-grid-tabs/index.d.ts +5 -0
- package/dist/components/data-grid-tabs/index.js +8 -0
- package/dist/components/data-grid-tabs/types.d.ts +220 -0
- package/dist/components/data-table/ag-toolbar-seam.d.ts +35 -0
- package/dist/components/data-table/calendar-day.d.ts +4 -21
- package/dist/components/data-table/data-table.d.ts +10 -6
- package/dist/components/data-table/filters/date-range-filter.d.ts +5 -9
- package/dist/components/data-table/filters/filter-kind.d.ts +6 -0
- package/dist/components/data-table/filters/number-filter.d.ts +6 -10
- package/dist/components/data-table/filters/select-filter.d.ts +2 -4
- package/dist/components/data-table/filters/text-filter.d.ts +2 -5
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table/toolbar.d.ts +25 -21
- package/dist/components/data-table-tabs/ag-view-adapter.d.ts +17 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts +34 -33
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +11 -66
- 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/dialog/focus-return.d.ts +12 -0
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -0
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +19 -1
- package/dist/components/icon-button-group/index.d.ts +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/index.d.ts +7 -0
- package/dist/components/money/index.js +1 -1
- package/dist/components/money/money.d.ts +39 -6
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/number-input/index.d.ts +2 -2
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.d.ts +43 -2
- package/dist/components/number-input/use-locale-number.d.ts +67 -3
- package/dist/components/optical-prescription/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/periodontal-diagnosis/index.js +1 -1
- package/dist/components/permission-matrix/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/province-select/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/row-actions/index.d.ts +3 -0
- package/dist/components/row-actions/index.js +5 -0
- package/dist/components/row-actions/row-actions.d.ts +63 -0
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/smart-date/smart-date.d.ts +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/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/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +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/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/decimal/index.js +149 -0
- package/dist/host-compat.css +36 -2
- package/dist/i18n/locales/ar.d.ts +342 -0
- package/dist/i18n/locales/ar.js +344 -2
- package/dist/i18n/locales/de.d.ts +342 -0
- package/dist/i18n/locales/de.js +344 -2
- package/dist/i18n/locales/el.d.ts +342 -0
- package/dist/i18n/locales/el.js +344 -2
- package/dist/i18n/locales/en.d.ts +342 -0
- package/dist/i18n/locales/en.js +345 -2
- package/dist/i18n/locales/es.d.ts +342 -0
- package/dist/i18n/locales/es.js +344 -2
- package/dist/i18n/locales/fr.d.ts +342 -0
- package/dist/i18n/locales/fr.js +344 -2
- package/dist/i18n/locales/hi.d.ts +342 -0
- package/dist/i18n/locales/hi.js +344 -2
- package/dist/i18n/locales/it.d.ts +342 -0
- package/dist/i18n/locales/it.js +344 -2
- package/dist/i18n/locales/ja.d.ts +342 -0
- package/dist/i18n/locales/ja.js +344 -2
- package/dist/i18n/locales/nl.d.ts +342 -0
- package/dist/i18n/locales/nl.js +344 -2
- package/dist/i18n/locales/pl.d.ts +342 -0
- package/dist/i18n/locales/pl.js +344 -2
- package/dist/i18n/locales/pt.d.ts +342 -0
- package/dist/i18n/locales/pt.js +344 -2
- package/dist/i18n/locales/ro.d.ts +342 -0
- package/dist/i18n/locales/ro.js +344 -2
- package/dist/i18n/locales/ru.d.ts +342 -0
- package/dist/i18n/locales/ru.js +344 -2
- package/dist/i18n/locales/sq.d.ts +342 -0
- package/dist/i18n/locales/sq.js +344 -2
- package/dist/i18n/locales/sv.d.ts +342 -0
- package/dist/i18n/locales/sv.js +344 -2
- package/dist/i18n/locales/tr.d.ts +342 -0
- package/dist/i18n/locales/tr.js +344 -2
- package/dist/i18n/locales/zh.d.ts +342 -0
- package/dist/i18n/locales/zh.js +344 -2
- package/dist/index.js +1305 -1241
- package/dist/locales/ar.json +344 -2
- package/dist/locales/de.json +344 -2
- package/dist/locales/el.json +344 -2
- package/dist/locales/en.json +344 -2
- package/dist/locales/es.json +344 -2
- package/dist/locales/fr.json +344 -2
- package/dist/locales/hi.json +344 -2
- package/dist/locales/it.json +344 -2
- package/dist/locales/ja.json +344 -2
- package/dist/locales/nl.json +344 -2
- package/dist/locales/pl.json +344 -2
- package/dist/locales/pt.json +344 -2
- package/dist/locales/ro.json +344 -2
- package/dist/locales/ru.json +344 -2
- package/dist/locales/sq.json +344 -2
- package/dist/locales/sv.json +344 -2
- package/dist/locales/tr.json +344 -2
- package/dist/locales/zh.json +344 -2
- 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/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +21 -1
- package/dist/_chunks/checkbox-a7Sh-dXb.js +0 -227
- package/dist/_chunks/combobox-duuDRI1t.js +0 -688
- package/dist/_chunks/data-grid.agent-CASyEAnb.js +0 -1773
- package/dist/_chunks/data-table-C9idMvs0.js +0 -2042
- package/dist/_chunks/data-table-tabs-Db7zToFD.js +0 -728
- package/dist/_chunks/dialog-BTjSQjdY.js +0 -274
- package/dist/_chunks/format--x5jypvH.js +0 -1319
- package/dist/_chunks/format-price-BcFBa-WP.js +0 -52
- package/dist/_chunks/icon-button-group-mXvYDaba.js +0 -427
- package/dist/_chunks/link-cell-renderer-_Fv3WEmb.js +0 -867
- package/dist/_chunks/money-Tsczpjfz.js +0 -102
- package/dist/_chunks/number-input-CVwI1ltI.js +0 -423
- package/dist/_chunks/privacy-mask-Dc3kdkCR.js +0 -81
- package/dist/_chunks/subDays-DKISP2nE.js +0 -8
- package/dist/_chunks/undo-2-CYNAzclj.js +0 -26
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
import type { GridApi } from 'ag-grid-community';
|
|
3
|
-
import {
|
|
3
|
+
import type { ButtonProps } from '../button/button';
|
|
4
4
|
import { type IconButtonProps } from '../button/icon-button';
|
|
5
|
+
import { resolveTokenToRgb } from '../_shared/table-toolbar/export-files';
|
|
6
|
+
export { resolveTokenToRgb };
|
|
5
7
|
export interface ToolbarProviderProps {
|
|
6
8
|
getApi: () => GridApi | undefined;
|
|
7
9
|
selectionCount: number;
|
|
@@ -9,14 +11,15 @@ export interface ToolbarProviderProps {
|
|
|
9
11
|
markColumnsUserTouched?: (colIds: readonly string[]) => void;
|
|
10
12
|
children: ReactNode;
|
|
11
13
|
}
|
|
14
|
+
/** Builds one AG-backed toolbar seam per DataTable and provides it. */
|
|
12
15
|
export declare function ToolbarProvider({ getApi, selectionCount, onPrint, markColumnsUserTouched, children, }: ToolbarProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
16
|
export type ToolbarRootProps = HTMLAttributes<HTMLDivElement>;
|
|
14
17
|
type ToolbarIconButtonProps = Omit<IconButtonProps, 'icon' | 'aria-label' | 'tooltip' | 'onClick'> & {
|
|
15
|
-
/** Accessible label
|
|
18
|
+
/** Accessible label: becomes the tooltip text and `aria-label`. */
|
|
16
19
|
label?: string;
|
|
17
20
|
};
|
|
18
21
|
export interface ExportCsvProps extends ToolbarIconButtonProps {
|
|
19
|
-
/** Optional override
|
|
22
|
+
/** Optional override: receives the live AG Grid API. */
|
|
20
23
|
onExport?: (api: GridApi) => void;
|
|
21
24
|
}
|
|
22
25
|
export interface ExportPdfProps extends ToolbarIconButtonProps {
|
|
@@ -31,15 +34,6 @@ export interface ExportPdfProps extends ToolbarIconButtonProps {
|
|
|
31
34
|
/** Filename for the generated PDF (default `data-table-export.pdf`). */
|
|
32
35
|
fileName?: string;
|
|
33
36
|
}
|
|
34
|
-
export declare function resolveTokenToRgb(varName: string, fallback?: [number, number, number]): [number, number, number];
|
|
35
|
-
interface DefaultExportPdfOptions {
|
|
36
|
-
fileName: string;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Default Export PDF handler. Exported for tests and for consumers who want
|
|
40
|
-
* to call it from a custom `onClick` (e.g. to add a logo or signature).
|
|
41
|
-
*/
|
|
42
|
-
export declare function defaultExportPdf(api: GridApi | undefined, options: DefaultExportPdfOptions): Promise<void>;
|
|
43
37
|
export type PrintProps = ToolbarIconButtonProps;
|
|
44
38
|
export interface QuickSearchProps {
|
|
45
39
|
/** Placeholder text. Falls back to `t('dataTable.quickSearch.placeholder')`. */
|
|
@@ -71,7 +65,7 @@ export interface ExportMenuItemProps {
|
|
|
71
65
|
format: ExportFormat;
|
|
72
66
|
/** Label override. Built-in formats default to `t('dataTable.export.{format}')`. */
|
|
73
67
|
label?: string;
|
|
74
|
-
/** Consumer handler
|
|
68
|
+
/** Consumer handler: required for `format: 'custom'`. */
|
|
75
69
|
onClick?: (api: GridApi | undefined) => void;
|
|
76
70
|
/** File-name override (only used by built-in formats). */
|
|
77
71
|
fileName?: string;
|
|
@@ -98,24 +92,35 @@ export interface BulkActionProps extends Omit<ButtonProps, 'onClick' | 'children
|
|
|
98
92
|
onClick: (api: GridApi | undefined) => void;
|
|
99
93
|
variant?: 'default' | 'destructive';
|
|
100
94
|
}
|
|
101
|
-
|
|
95
|
+
interface DefaultExportPdfOptions {
|
|
96
|
+
fileName: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Default Export PDF handler. Exported for tests and for consumers who want
|
|
100
|
+
* to call it from a custom `onClick` (e.g. to add a logo or signature).
|
|
101
|
+
*/
|
|
102
|
+
export declare function defaultExportPdf(api: GridApi | undefined, options: DefaultExportPdfOptions): Promise<void>;
|
|
103
|
+
export declare const Toolbar: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
102
104
|
FilterBar: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
103
105
|
Actions: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
104
106
|
/** @deprecated Use `Toolbar.ExportMenu` with a `csv` item. */
|
|
105
107
|
ExportCsv: import("react").ForwardRefExoticComponent<ExportCsvProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
106
108
|
/** @deprecated Use `Toolbar.ExportMenu` with a `pdf` item. */
|
|
107
109
|
ExportPdf: import("react").ForwardRefExoticComponent<ExportPdfProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
108
|
-
Print: import("react").ForwardRefExoticComponent<Omit<IconButtonProps, "icon" | "aria-label" | "onClick" | "tooltip"> & {
|
|
109
|
-
/** Accessible label — becomes the tooltip text and `aria-label`. */
|
|
110
|
+
Print: import("react").ForwardRefExoticComponent<Omit<IconButtonProps, "icon" | "children" | "aria-label" | "onClick" | "tooltip"> & {
|
|
110
111
|
label?: string;
|
|
111
|
-
} & import("react").RefAttributes<HTMLButtonElement
|
|
112
|
-
|
|
112
|
+
} & import("react").RefAttributes<HTMLButtonElement>> & {
|
|
113
|
+
overflowMenuItem: import("..").IconButtonGroupOverflowItem;
|
|
114
|
+
};
|
|
115
|
+
ColumnToggle: import("react").ForwardRefExoticComponent<import("../_shared/table-toolbar/parts").TableColumnToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
113
116
|
BulkAction: import("react").ForwardRefExoticComponent<BulkActionProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
114
117
|
QuickSearch: {
|
|
115
|
-
({ placeholder, debounceMs }:
|
|
118
|
+
({ placeholder, debounceMs, }: import("../_shared/table-toolbar/parts").TableQuickSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
116
119
|
displayName: string;
|
|
117
120
|
};
|
|
118
|
-
Refresh: import("react").ForwardRefExoticComponent<
|
|
121
|
+
Refresh: import("react").ForwardRefExoticComponent<import("../_shared/table-toolbar/parts").TableRefreshProps & import("react").RefAttributes<HTMLButtonElement>> & {
|
|
122
|
+
overflowMenuItem: import("..").IconButtonGroupOverflowItem;
|
|
123
|
+
};
|
|
119
124
|
FilterChips: {
|
|
120
125
|
(): import("react/jsx-runtime").JSX.Element | null;
|
|
121
126
|
displayName: string;
|
|
@@ -128,5 +133,4 @@ export declare const Toolbar: import("react").ForwardRefExoticComponent<ToolbarR
|
|
|
128
133
|
};
|
|
129
134
|
};
|
|
130
135
|
};
|
|
131
|
-
export {};
|
|
132
136
|
//# sourceMappingURL=toolbar.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { GridApi } from 'ag-grid-community';
|
|
2
|
+
import type { TabsViewAdapter } from '../_shared/saved-view-tabs/view-adapter';
|
|
3
|
+
/**
|
|
4
|
+
* The narrow grid seam DataTableTabs rides on. Structural, and `getRawApi`
|
|
5
|
+
* is typed against the un-parameterised `GridApi` so any
|
|
6
|
+
* `DataTableHandle<TData>` (incl. `PatientTableHandle`) satisfies it:
|
|
7
|
+
* `GridApi<TData>` is invariant, so pinning a row type here would reject
|
|
8
|
+
* every concretely typed handle.
|
|
9
|
+
*/
|
|
10
|
+
export interface DataTableTabsGridSeam {
|
|
11
|
+
getFilter: () => Record<string, unknown>;
|
|
12
|
+
setFilter: (model: Record<string, unknown>) => void;
|
|
13
|
+
getRawApi: () => GridApi | undefined;
|
|
14
|
+
}
|
|
15
|
+
/** Builds the adapter over a seam resolved at call time (never held). */
|
|
16
|
+
export declare function createAgViewAdapter(getTable: () => DataTableTabsGridSeam | null | undefined): TabsViewAdapter;
|
|
17
|
+
//# sourceMappingURL=ag-view-adapter.d.ts.map
|
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* DataTableTabs
|
|
2
|
+
* DataTableTabs: saved-filter folder tabs for any kit DataTable.
|
|
3
3
|
* ----------------------------------------------------------------------------
|
|
4
4
|
* A folder-tab strip attached above a table region. Each tab captures and
|
|
5
|
-
* restores its own AG Grid filter model (tabs are LIVE views
|
|
5
|
+
* restores its own AG Grid filter model (tabs are LIVE views: any filter
|
|
6
6
|
* edit rewrites the active tab); a "+" button saves the current filter as a
|
|
7
|
-
* new tab; tabs rename
|
|
8
|
-
* or the pointer-only
|
|
7
|
+
* new tab; tabs rename by double-click or F2 and remove by Delete, Backspace
|
|
8
|
+
* or the pointer-only close mark.
|
|
9
9
|
*
|
|
10
|
-
* ARIA
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* Grid wiring rides the narrow `DataTableTabsGridSeam` resolved at call time
|
|
18
|
-
* (`getTable={() => tableRef.current}`) — see use-data-table-filter-tabs.ts
|
|
19
|
-
* for the sync engine. Works against any `DataTableHandle`-shaped ref,
|
|
20
|
-
* including `PatientTableHandle`.
|
|
10
|
+
* The strip, its ARIA (an APG tablist on Radix Tabs, manual activation, ONE
|
|
11
|
+
* stable tabpanel) and the sync engine are shared with DataGridTabs
|
|
12
|
+
* (`_shared/saved-view-tabs/`). This file owns the public API, the marker,
|
|
13
|
+
* the agent adapter and the AG binding (`ag-view-adapter.ts`), which rides
|
|
14
|
+
* the narrow `DataTableTabsGridSeam` resolved at call time
|
|
15
|
+
* (`getTable={() => tableRef.current}`). Works against any
|
|
16
|
+
* `DataTableHandle`-shaped ref, including `PatientTableHandle`.
|
|
21
17
|
*/
|
|
22
18
|
import { type ReactNode } from 'react';
|
|
23
|
-
import {
|
|
19
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
24
20
|
import { type DataTableTabsGridSeam, type SavedTab } from './use-data-table-filter-tabs';
|
|
25
21
|
export declare const dataTableTabsListVariants: (props?: ({
|
|
26
22
|
size?: "md" | "lg" | null | undefined;
|
|
@@ -28,27 +24,28 @@ export declare const dataTableTabsListVariants: (props?: ({
|
|
|
28
24
|
export declare const dataTableTabsTriggerVariants: (props?: ({
|
|
29
25
|
size?: "md" | "lg" | null | undefined;
|
|
30
26
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
31
|
-
/** Curated imperative handle
|
|
27
|
+
/** Curated imperative handle, also the agent adapter's surface. */
|
|
32
28
|
export interface DataTableTabsHandle {
|
|
33
29
|
getTabs: () => SavedTab[];
|
|
34
30
|
getActiveTabId: () => string | null;
|
|
35
31
|
/** Snapshots the outgoing tab, applies the incoming tab's filter model. */
|
|
36
32
|
selectTab: (id: string) => void;
|
|
37
|
-
/** Default model = a copy of the current live model (grid view unchanged)
|
|
33
|
+
/** Default model = a copy of the current live model (grid view unchanged);
|
|
34
|
+
* an explicit `filterModel` is applied to the table. */
|
|
38
35
|
addTab: (label?: string, filterModel?: Record<string, unknown>) => string;
|
|
39
|
-
/** No-op on locked tabs and empty
|
|
36
|
+
/** No-op on locked tabs and empty or whitespace labels. */
|
|
40
37
|
renameTab: (id: string, label: string) => void;
|
|
41
38
|
/** No-op on locked tabs and the last remaining tab. */
|
|
42
39
|
removeTab: (id: string) => void;
|
|
43
40
|
}
|
|
44
41
|
export interface DataTableTabsProps extends VariantProps<typeof dataTableTabsTriggerVariants> {
|
|
45
42
|
/**
|
|
46
|
-
* Resolve the grid seam at call time
|
|
43
|
+
* Resolve the grid seam at call time; `undefined` until the grid is ready
|
|
47
44
|
* (same convention as `ToolbarProvider.getApi`). Any `DataTableHandle`
|
|
48
45
|
* satisfies it: `getTable={() => tableRef.current}`.
|
|
49
46
|
*/
|
|
50
47
|
getTable: () => DataTableTabsGridSeam | null | undefined;
|
|
51
|
-
/** Controlled tabs
|
|
48
|
+
/** Controlled tabs; pair with `onTabsChange`. */
|
|
52
49
|
tabs?: SavedTab[];
|
|
53
50
|
/** Uncontrolled seed. Default: one unfiltered tab. */
|
|
54
51
|
defaultTabs?: SavedTab[];
|
|
@@ -59,35 +56,39 @@ export interface DataTableTabsProps extends VariantProps<typeof dataTableTabsTri
|
|
|
59
56
|
/**
|
|
60
57
|
* Opt-in localStorage persistence under `data-table-tabs:<persistKey>`.
|
|
61
58
|
* Ignored (with a DEV warning) while `tabs` is controlled. The active tab
|
|
62
|
-
* id is
|
|
59
|
+
* id is persisted only with `persistActiveTab`.
|
|
63
60
|
*/
|
|
64
61
|
persistKey?: string;
|
|
65
62
|
/** Persist the active tab id too (needs `persistKey`). Default `false`. */
|
|
66
63
|
persistActiveTab?: boolean;
|
|
67
|
-
/** Capture
|
|
64
|
+
/** Capture and restore the quick-filter text with the model. Default false. */
|
|
68
65
|
captureQuickFilter?: boolean;
|
|
69
|
-
/** Apply the active tab's model on mount
|
|
66
|
+
/** Apply the active tab's model on mount and switch. Default true. */
|
|
70
67
|
applyOnActivate?: boolean;
|
|
71
|
-
/** Show the "+" button.
|
|
68
|
+
/** Show the "+" button. Off, the agent's `add_tab` does nothing either
|
|
69
|
+
* (it returns the active tab id); the host's own `ref.addTab` still
|
|
70
|
+
* works. Default true. */
|
|
72
71
|
allowAdd?: boolean;
|
|
73
|
-
/** Allow rename (double-click
|
|
72
|
+
/** Allow rename (double-click, F2, popover editor). Off, the agent's
|
|
73
|
+
* `rename_tab` does nothing either; the host's own `ref.renameTab` still
|
|
74
|
+
* works. Default true. */
|
|
74
75
|
allowRename?: boolean;
|
|
75
|
-
/** Allow removal (Delete
|
|
76
|
+
/** Allow removal (Delete, Backspace, close mark). Default true. */
|
|
76
77
|
allowRemove?: boolean;
|
|
77
|
-
/** Tab cap
|
|
78
|
+
/** Tab cap; "+" disables at the cap. Default 8. */
|
|
78
79
|
maxTabs?: number;
|
|
79
80
|
/** Factory for new tabs; `index` is 1-based. */
|
|
80
81
|
createTab?: (index: number) => SavedTab;
|
|
81
|
-
/** Id factory
|
|
82
|
+
/** Id factory; default `crypto.randomUUID()`. */
|
|
82
83
|
makeTabId?: () => string;
|
|
83
|
-
/** Open the rename editor on a freshly
|
|
84
|
+
/** Open the rename editor on a freshly added tab. Default true. */
|
|
84
85
|
renameOnAdd?: boolean;
|
|
85
|
-
/** `data-component-id`
|
|
86
|
+
/** `data-component-id` and agent instance id. */
|
|
86
87
|
id?: string;
|
|
87
88
|
className?: string;
|
|
88
|
-
/** Accessible tablist name
|
|
89
|
+
/** Accessible tablist name; defaults to the localised "Saved views". */
|
|
89
90
|
'aria-label'?: string;
|
|
90
|
-
/** The table region
|
|
91
|
+
/** The table region, rendered inside the single stable tabpanel. */
|
|
91
92
|
children: ReactNode;
|
|
92
93
|
}
|
|
93
94
|
export declare const DataTableTabs: import("react").ForwardRefExoticComponent<DataTableTabsProps & import("react").RefAttributes<DataTableTabsHandle>>;
|
|
@@ -1,70 +1,15 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
filterModel: Record<string, unknown>;
|
|
10
|
-
/** Captured quick-filter text — only present when `captureQuickFilter`. */
|
|
11
|
-
quickFilter?: string;
|
|
12
|
-
/** Locked tabs cannot be renamed or removed (e.g. an "All" tab). */
|
|
13
|
-
locked?: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* The narrow grid seam the tabs ride on. Structural, and `getRawApi` is
|
|
17
|
-
* deliberately typed against the un-parameterised `GridApi` so any
|
|
18
|
-
* `DataTableHandle<TData>` (incl. `PatientTableHandle`) satisfies it —
|
|
19
|
-
* `GridApi<TData>` is invariant, so pinning a row type here would reject
|
|
20
|
-
* every concretely-typed handle.
|
|
21
|
-
*/
|
|
22
|
-
export interface DataTableTabsGridSeam {
|
|
23
|
-
getFilter: () => Record<string, unknown>;
|
|
24
|
-
setFilter: (model: Record<string, unknown>) => void;
|
|
25
|
-
getRawApi: () => GridApi | undefined;
|
|
26
|
-
}
|
|
27
|
-
export interface UseDataTableFilterTabsOptions {
|
|
28
|
-
/** Resolve the grid seam at call time — `undefined` until grid-ready. */
|
|
1
|
+
import { type UseSavedViewTabsOptions, type UseSavedViewTabsResult } from '../_shared/saved-view-tabs/use-saved-view-tabs';
|
|
2
|
+
import { type DataTableTabsGridSeam } from './ag-view-adapter';
|
|
3
|
+
export type { SavedTab } from '../_shared/saved-view-tabs/saved-tab';
|
|
4
|
+
export type { DataTableTabsGridSeam } from './ag-view-adapter';
|
|
5
|
+
/** localStorage prefix: `data-table-tabs:<persistKey>` (unchanged). */
|
|
6
|
+
export declare const DATA_TABLE_TABS_STORAGE_PREFIX = "data-table-tabs:";
|
|
7
|
+
export interface UseDataTableFilterTabsOptions extends Omit<UseSavedViewTabsOptions, 'adapter' | 'storagePrefix' | 'componentName'> {
|
|
8
|
+
/** Resolve the grid seam at call time; `undefined` until grid-ready. */
|
|
29
9
|
getTable: () => DataTableTabsGridSeam | null | undefined;
|
|
30
|
-
tabs?: SavedTab[];
|
|
31
|
-
defaultTabs?: SavedTab[];
|
|
32
|
-
onTabsChange?: (tabs: SavedTab[]) => void;
|
|
33
|
-
activeTabId?: string;
|
|
34
|
-
defaultActiveTabId?: string;
|
|
35
|
-
onActiveTabChange?: (id: string) => void;
|
|
36
|
-
/** Opt-in localStorage persistence — disabled while `tabs` is controlled. */
|
|
37
|
-
persistKey?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Also persist the active tab id (needs `persistKey`), so a return to the
|
|
40
|
-
* page lands on the tab — and the filter — the user left. Off by default:
|
|
41
|
-
* the kit's baseline lands on the first tab so a stale aggressive filter is
|
|
42
|
-
* never re-applied silently.
|
|
43
|
-
*/
|
|
44
|
-
persistActiveTab?: boolean;
|
|
45
|
-
/** Capture/restore `quickFilterText` alongside the model. Default false. */
|
|
46
|
-
captureQuickFilter?: boolean;
|
|
47
|
-
/** Apply the active tab's model on mount + tab switch. Default true. */
|
|
48
|
-
applyOnActivate?: boolean;
|
|
49
|
-
/** Cap on the number of tabs. Default 8. */
|
|
50
|
-
maxTabs?: number;
|
|
51
|
-
/** Factory for a new tab; `index` is 1-based (used for the default name). */
|
|
52
|
-
createTab?: (index: number) => SavedTab;
|
|
53
|
-
/** Id factory — default `crypto.randomUUID()` with a counter fallback. */
|
|
54
|
-
makeTabId?: () => string;
|
|
55
|
-
}
|
|
56
|
-
export interface UseDataTableFilterTabsResult {
|
|
57
|
-
tabs: SavedTab[];
|
|
58
|
-
activeTabId: string;
|
|
59
|
-
selectTab: (id: string) => void;
|
|
60
|
-
addTab: (label?: string, filterModel?: Record<string, unknown>) => string;
|
|
61
|
-
renameTab: (id: string, label: string) => void;
|
|
62
|
-
removeTab: (id: string) => void;
|
|
63
|
-
atCapacity: boolean;
|
|
64
|
-
/** Synchronous snapshots for the imperative handle / agent adapter —
|
|
65
|
-
* fresh immediately after a mutation, before React re-renders. */
|
|
66
|
-
getTabsSnapshot: () => SavedTab[];
|
|
67
|
-
getActiveTabIdSnapshot: () => string;
|
|
68
10
|
}
|
|
11
|
+
export type UseDataTableFilterTabsResult = UseSavedViewTabsResult;
|
|
12
|
+
/** Keeps the AG adapter's identity stable while `getTable` changes freely. */
|
|
13
|
+
export declare function useAgViewAdapter(getTable: () => DataTableTabsGridSeam | null | undefined): import("../_shared/saved-view-tabs/view-adapter").TabsViewAdapter;
|
|
69
14
|
export declare function useDataTableFilterTabs(options: UseDataTableFilterTabsOptions): UseDataTableFilterTabsResult;
|
|
70
15
|
//# sourceMappingURL=use-data-table-filter-tabs.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The elements focus should go back to, best first: the element focused when
|
|
3
|
+
* the dialog opened, then the opener of each menu it sits in. Empty when
|
|
4
|
+
* nothing was focused (focus on <body>).
|
|
5
|
+
*/
|
|
6
|
+
export declare function focusReturnCandidates(active: Element | null): HTMLElement[];
|
|
7
|
+
/**
|
|
8
|
+
* Focus the first candidate that is still in the page and can take focus.
|
|
9
|
+
* Returns false when none could, so the caller leaves Radix's default alone.
|
|
10
|
+
*/
|
|
11
|
+
export declare function restoreFocus(candidates: readonly HTMLElement[]): boolean;
|
|
12
|
+
//# sourceMappingURL=focus-return.d.ts.map
|
|
@@ -40,6 +40,17 @@ export interface DropdownMenuItemProps extends ComponentPropsWithoutRef<typeof R
|
|
|
40
40
|
description?: ReactNode;
|
|
41
41
|
/** Convenience — renders a DS <Kbd keys={…}> on the inline-end. */
|
|
42
42
|
shortcut?: Array<KbdNamedKey | string>;
|
|
43
|
+
/** `'destructive'` paints the label and icon in `--destructive`, for an
|
|
44
|
+
* action that deletes or cancels. The host still confirms it (AlertDialog).
|
|
45
|
+
* Default `'default'`. */
|
|
46
|
+
variant?: 'default' | 'destructive';
|
|
47
|
+
/** Why the item cannot be chosen. Only read with `disabled`: the item then
|
|
48
|
+
* stays reachable by arrow keys and typeahead (the APG menu pattern), is
|
|
49
|
+
* `aria-disabled`, ignores Enter, Space and click (the menu stays open),
|
|
50
|
+
* and shows the reason as its second line, in place of `description`,
|
|
51
|
+
* linked with `aria-describedby`. Without a reason, `disabled` items are
|
|
52
|
+
* skipped, as before. Pass translated text. */
|
|
53
|
+
disabledReason?: string;
|
|
43
54
|
}
|
|
44
55
|
export type DropdownMenuCheckboxItemProps = ComponentPropsWithoutRef<typeof RadixDropdownMenu.CheckboxItem>;
|
|
45
56
|
export interface DropdownMenuSwitchItemProps extends ComponentPropsWithoutRef<typeof RadixDropdownMenu.CheckboxItem> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as e } from "../../_chunks/due-date-calculator-
|
|
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-
|
|
1
|
+
import { D as e } from "../../_chunks/due-date-calculator-DzIQXEX5.js";
|
|
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-va9zx7tJ.js";
|
|
3
3
|
export {
|
|
4
4
|
r as CRL_DATING_MAX_MM,
|
|
5
5
|
o as CRL_DATING_MIN_MM,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-
|
|
1
|
+
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-CEjJUnNe.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ANNOTATION_TOOL_KIND,
|
|
4
4
|
o as FACE_ANNOTATION_TOOLS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
1
|
+
import { type HTMLAttributes, type ComponentType, type ReactNode } from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import type { ButtonProps } from '../button/button';
|
|
4
4
|
type ButtonIntent = NonNullable<ButtonProps['intent']>;
|
|
@@ -64,6 +64,24 @@ type ToggleMultiProps = SharedProps & {
|
|
|
64
64
|
defaultValue?: string[];
|
|
65
65
|
onValueChange?: (next: string[]) => void;
|
|
66
66
|
};
|
|
67
|
+
/** What a child's own overflow menu item receives (see
|
|
68
|
+
* `IconButtonGroupOverflowItem`). */
|
|
69
|
+
export interface IconButtonGroupOverflowItemProps {
|
|
70
|
+
/** The child's props as written in the group. */
|
|
71
|
+
childProps: Record<string, unknown>;
|
|
72
|
+
/** The group is disabled or the child is unavailable: render the item
|
|
73
|
+
* disabled. */
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* A child component whose action is not its `onClick` prop (a toolbar part
|
|
78
|
+
* that prints through its table, say) declares a static
|
|
79
|
+
* `overflowMenuItem`: a component rendering one `DropdownMenu.Item` that
|
|
80
|
+
* runs the same action. In `overflow="menu"` momentary groups the "More"
|
|
81
|
+
* menu renders it in place of a mirrored item, so the folded control still
|
|
82
|
+
* works. It may use hooks (context), because it renders as a component.
|
|
83
|
+
*/
|
|
84
|
+
export type IconButtonGroupOverflowItem = ComponentType<IconButtonGroupOverflowItemProps>;
|
|
67
85
|
export type IconButtonGroupProps = (MomentaryProps | ToggleSingleProps | ToggleMultiProps) & GroupRoleProps & Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'onChange' | 'children'> & VariantProps<typeof iconButtonGroupVariants>;
|
|
68
86
|
export declare const IconButtonGroup: import("react").ForwardRefExoticComponent<((SharedPropsBase & {
|
|
69
87
|
'aria-label': string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { IconButtonGroup } from './icon-button-group';
|
|
2
|
-
export type { IconButtonGroupProps, IconButtonGroupRole, IconButtonGroupMode, } from './icon-button-group';
|
|
2
|
+
export type { IconButtonGroupProps, IconButtonGroupRole, IconButtonGroupMode, IconButtonGroupOverflowItem, IconButtonGroupOverflowItemProps, } from './icon-button-group';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,6 +10,8 @@ export * from './sign-in-with-alfadocs-button';
|
|
|
10
10
|
export { SafeHtml, sanitiseHtml } from './_shared/safe-html';
|
|
11
11
|
export type { SafeHtmlProps, SafeHtmlProfile } from './_shared/safe-html';
|
|
12
12
|
export type { OptionShape } from './_shared/option';
|
|
13
|
+
export { FATTURAPA_DECIMAL, FATTURAPA_VALUE, compareDecimal, decimalToNumber, divideDecimal, formatDecimal, isDecimalString, multiplyDecimal, numberToDecimal, parseDecimal, rescaleDecimal, sumDecimals, } from './_shared/decimal';
|
|
14
|
+
export type { DecimalString, ScaledDecimal, DecimalError, DecimalRules, ParseDecimalResult, } from './_shared/decimal';
|
|
13
15
|
export * from './address-autocomplete';
|
|
14
16
|
export * from './address-fields';
|
|
15
17
|
export * from './city-input';
|
|
@@ -68,6 +70,8 @@ export * from './annotation-marker';
|
|
|
68
70
|
export * from './avatar';
|
|
69
71
|
export * from './badge';
|
|
70
72
|
export * from './benefit-card';
|
|
73
|
+
export * from './bill-line-table';
|
|
74
|
+
export * from './bill-table';
|
|
71
75
|
export * from './bmi-calculator';
|
|
72
76
|
export * from './calculator-dialog';
|
|
73
77
|
export * from './cycle-calculator';
|
|
@@ -77,8 +81,11 @@ export * from './connection-status';
|
|
|
77
81
|
export * from './contact-card';
|
|
78
82
|
export * from './counter';
|
|
79
83
|
export * from './data-grid';
|
|
84
|
+
export * from './data-grid-tabs';
|
|
80
85
|
export * from './data-table';
|
|
81
86
|
export * from './data-table-tabs';
|
|
87
|
+
export { RowActions } from './row-actions';
|
|
88
|
+
export type { RowActionDef, RowActionsProps } from './row-actions';
|
|
82
89
|
export * from './clinical-note-card';
|
|
83
90
|
export * from './note-timeline';
|
|
84
91
|
export * from './description-list';
|