@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
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
/** Text operators (`data-table/filters/text-filter.tsx:40-45`). */
|
|
2
|
+
export type TextFilterOperator = 'contains' | 'equals' | 'startsWith' | 'endsWith' | 'notContains';
|
|
3
|
+
/** `{ type, filter }` (`data-table/filters/text-filter.tsx:47-50`). */
|
|
4
|
+
export interface TextFilterModel {
|
|
5
|
+
type: TextFilterOperator;
|
|
6
|
+
filter: string;
|
|
7
|
+
}
|
|
8
|
+
/** Number operators, AG `agNumberColumnFilter` vocabulary
|
|
9
|
+
* (`data-table/filters/number-filter.tsx:41-50`). */
|
|
10
|
+
export type NumberFilterOperator = 'equals' | 'notEqual' | 'greaterThan' | 'greaterThanOrEqual' | 'lessThan' | 'lessThanOrEqual' | 'inRange' | 'blank' | 'notBlank';
|
|
11
|
+
/** `{ type, filter?, filterTo? }` (`data-table/filters/number-filter.tsx:52-58`).
|
|
12
|
+
* `inRange` may carry only one bound. */
|
|
13
|
+
export interface NumberFilterModel {
|
|
14
|
+
type: NumberFilterOperator;
|
|
15
|
+
filter?: number;
|
|
16
|
+
filterTo?: number;
|
|
17
|
+
}
|
|
18
|
+
/** Set membership (`data-table/filters/select-filter.tsx:47-50`). Values are
|
|
19
|
+
* the option values, never translated labels. */
|
|
20
|
+
export interface SelectFilterModel {
|
|
21
|
+
type: 'set';
|
|
22
|
+
values: Array<string | number>;
|
|
23
|
+
}
|
|
24
|
+
/** Calendar days as `YYYY-MM-DD`; either bound may be open
|
|
25
|
+
* (`data-table/filters/date-range-filter.tsx:30-34`). */
|
|
26
|
+
export interface DateRangeFilterModel {
|
|
27
|
+
type: 'inRange';
|
|
28
|
+
dateFrom: string | null;
|
|
29
|
+
dateTo: string | null;
|
|
30
|
+
}
|
|
31
|
+
/** One chosen value (`data-table/filters/typeahead-filter.tsx:41-44`).
|
|
32
|
+
* DataTable only; DataGrid has no typeahead filter in Phase 1. Kept here so
|
|
33
|
+
* FilterChips can describe it for both engines. A type test in
|
|
34
|
+
* `describe-filter.test.ts` keeps it equal to DataTable's declaration. */
|
|
35
|
+
export interface TypeaheadFilterModel {
|
|
36
|
+
type: 'equals';
|
|
37
|
+
value: string;
|
|
38
|
+
}
|
|
39
|
+
/** Any kit column filter model. */
|
|
40
|
+
export type TableColumnFilterModel = TextFilterModel | NumberFilterModel | SelectFilterModel | DateRangeFilterModel | TypeaheadFilterModel;
|
|
41
|
+
/** The filter kinds a toolbar may meet on a column. */
|
|
42
|
+
export type TableFilterKind = 'text' | 'number' | 'select' | 'dateRange' | 'typeahead';
|
|
43
|
+
/**
|
|
44
|
+
* Every active filter, keyed by column id. The same shape as
|
|
45
|
+
* `DataTableHandle.getFilter()` (`data-table/data-table.tsx:118`). DataGrid
|
|
46
|
+
* may also carry host keys here (filters the host evaluates on its server,
|
|
47
|
+
* with no column); their values are opaque to the toolbar.
|
|
48
|
+
*/
|
|
49
|
+
export type TableFilterModelMap = Record<string, unknown>;
|
|
50
|
+
/** A FacetFilter pill value. `null` clears the facet. */
|
|
51
|
+
export type TableFacetValue = string | number | boolean;
|
|
52
|
+
/** What ColumnToggle, FilterChips and the export builders need to know about
|
|
53
|
+
* one column. Utility columns (selection, expander) are never listed. */
|
|
54
|
+
export interface TableToolbarColumn {
|
|
55
|
+
/** Column id (a developer constant, not row data). */
|
|
56
|
+
id: string;
|
|
57
|
+
/** Plain, translated column name. */
|
|
58
|
+
label: string;
|
|
59
|
+
visible: boolean;
|
|
60
|
+
/** False for the row-header column and columns declared not hideable. */
|
|
61
|
+
canHide: boolean;
|
|
62
|
+
/** False for columns declared not reorderable. */
|
|
63
|
+
canMove: boolean;
|
|
64
|
+
pinned: 'start' | 'end' | false;
|
|
65
|
+
/** The column's filter kind, or `null` when it has no filter. */
|
|
66
|
+
filterKind: TableFilterKind | null;
|
|
67
|
+
/** False for columns declared not pinnable: ColumnToggle refuses a drop
|
|
68
|
+
* that would change their pin side. Absent (AG seam) = pinnable. */
|
|
69
|
+
canPin?: boolean;
|
|
70
|
+
/** Header group the column belongs to; a move may not take it out of its
|
|
71
|
+
* group. Absent (AG seam) or `null` = no group. */
|
|
72
|
+
groupId?: string | null;
|
|
73
|
+
/** `true` while privacy mode hides this column's values (DataGrid: any
|
|
74
|
+
* `privacy` with `privacyMode` on). FilterChips then names the column
|
|
75
|
+
* only, never the filter value. While any column is masked, the
|
|
76
|
+
* quick-search text counts as personal too (it may be a name, as the
|
|
77
|
+
* DataGrid agent treats it): the quick-search chip shows its label only
|
|
78
|
+
* and QuickSearch never paints a query it did not receive from the
|
|
79
|
+
* user's own typing. Absent (AG seam) = not masked. */
|
|
80
|
+
masked?: boolean;
|
|
81
|
+
/** `true` for a column privacy mode removes from view (DataGrid
|
|
82
|
+
* `privacy: 'hide'` with `privacyMode` on). ColumnToggle leaves it out
|
|
83
|
+
* of its list (design 3.9). Absent (AG seam) = not hidden by privacy. */
|
|
84
|
+
hiddenByPrivacy?: boolean;
|
|
85
|
+
/** Select columns: the option labels, so a chip says "To load" rather
|
|
86
|
+
* than the value `toLoad`. Labels are translated by the host. Absent
|
|
87
|
+
* (AG seam) = chips show the raw values, as in kit 1.112. */
|
|
88
|
+
filterOptions?: ReadonlyArray<{
|
|
89
|
+
value: string | number;
|
|
90
|
+
label: string;
|
|
91
|
+
}>;
|
|
92
|
+
}
|
|
93
|
+
/** One exported cell: formatted text, a number (kept numeric for XLSX), or
|
|
94
|
+
* empty. Privacy-masked cells carry the mask text, never the value. */
|
|
95
|
+
export type TableExportCell = string | number | null;
|
|
96
|
+
/**
|
|
97
|
+
* Rows for CSV, XLSX, PDF and custom export handlers.
|
|
98
|
+
*
|
|
99
|
+
* `rows` holds every row after filters and sorting and before pagination,
|
|
100
|
+
* never only the virtualised window or the current page, except when the
|
|
101
|
+
* engine cannot reach them (DataGrid server mode), where `scope` says so.
|
|
102
|
+
*/
|
|
103
|
+
export interface TableExportSnapshot {
|
|
104
|
+
/** `'all-filtered'`: every filtered, sorted row. `'current-page'`: the
|
|
105
|
+
* engine holds only one page (server mode). */
|
|
106
|
+
scope: 'all-filtered' | 'current-page';
|
|
107
|
+
/** Visible, exportable columns in display order. */
|
|
108
|
+
columns: ReadonlyArray<{
|
|
109
|
+
id: string;
|
|
110
|
+
label: string;
|
|
111
|
+
align: 'start' | 'end';
|
|
112
|
+
}>;
|
|
113
|
+
/** `id` is the opaque row id; `cells` follow `columns`. */
|
|
114
|
+
rows: ReadonlyArray<{
|
|
115
|
+
id: string;
|
|
116
|
+
cells: ReadonlyArray<TableExportCell>;
|
|
117
|
+
}>;
|
|
118
|
+
/** The totals row, when the table shows one, as a separate line. */
|
|
119
|
+
totals: ReadonlyArray<TableExportCell> | null;
|
|
120
|
+
}
|
|
121
|
+
/** What BulkAction and a custom ExportMenu item receive (engine-agnostic).
|
|
122
|
+
* Ids only: no row objects, no engine API. */
|
|
123
|
+
export interface ToolbarActionContext {
|
|
124
|
+
selectedRowIds: readonly string[];
|
|
125
|
+
getExportSnapshot: () => TableExportSnapshot | undefined;
|
|
126
|
+
}
|
|
127
|
+
/** What changed, for `subscribe`. `'rows'` covers new data and paging. */
|
|
128
|
+
export type TableToolbarChangeKind = 'filter' | 'quickFilter' | 'selection' | 'columns' | 'rows';
|
|
129
|
+
/**
|
|
130
|
+
* Behaviour switches that let the shared parts serve both engines. The AG
|
|
131
|
+
* seam declares `DATA_TABLE_TOOLBAR_FEATURES` (below): since kit 1.113 all
|
|
132
|
+
* three are `true` for DataTable too (Product decision, 4 Nov 2026), which
|
|
133
|
+
* fixes two DataTable toolbar bugs and adds keyboard reorder. Setting a flag
|
|
134
|
+
* back to `false` there restores the 1.112 behaviour for that part.
|
|
135
|
+
*/
|
|
136
|
+
export interface TableToolbarFeatures {
|
|
137
|
+
/** QuickSearch and FacetFilter follow external changes (tabs, chips,
|
|
138
|
+
* agents, a programmatic clear). AG seam: `true` (fixes QuickSearch
|
|
139
|
+
* keeping its text after an external clear; FacetFilter reads its pill
|
|
140
|
+
* from `getFacet`). DataGrid: `true`. When `false`, both keep local
|
|
141
|
+
* state (1.112 behaviour, `data-table/toolbar.tsx:429,723`). */
|
|
142
|
+
syncsFilterInputs: boolean;
|
|
143
|
+
/** The built-in CSV, XLSX and PDF items can reach every filtered row.
|
|
144
|
+
* AG seam: `true`. DataGrid: `true` in client mode, `false` in server
|
|
145
|
+
* mode, where the built-ins render disabled with a reason and only
|
|
146
|
+
* `custom` items run. */
|
|
147
|
+
exportsAllRows: boolean;
|
|
148
|
+
/** ColumnToggle shows Move up and Move down buttons per column (the
|
|
149
|
+
* keyboard path to reordering, through `moveColumn`). AG seam: `true`
|
|
150
|
+
* (fixes the missing keyboard reorder). DataGrid: `true`. Its "Reset
|
|
151
|
+
* columns" button needs `resetColumns` as well (absent: not shown). */
|
|
152
|
+
keyboardReorder: boolean;
|
|
153
|
+
/** FilterChips formats number filter values with the kit's
|
|
154
|
+
* `formatNumber` and calendar days with the kit's short day format, in
|
|
155
|
+
* the UI language. It also names select options by their labels, says
|
|
156
|
+
* "From" or "To" for an open date bound, names a text operator in the
|
|
157
|
+
* text filter menu's words and joins column and value through
|
|
158
|
+
* `dataTable.filterChips.chip`. AG seam: absent (1.112 chip text).
|
|
159
|
+
* DataGrid: `true`. */
|
|
160
|
+
formatsFilterValues?: boolean;
|
|
161
|
+
/** ColumnToggle announces a move, pin or unpin through its own polite
|
|
162
|
+
* status region. For an engine with no announcer of its own. AG seam:
|
|
163
|
+
* `true`. DataGrid: absent, because its announcer already says it. */
|
|
164
|
+
toolbarAnnouncesColumnMoves?: boolean;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The features the DataTable (AG-backed) seam declares
|
|
168
|
+
* (`data-table/ag-toolbar-seam.ts`). All three DataTable toolbar fixes are
|
|
169
|
+
* on from kit 1.113 (CHANGELOG "Fixed"). The third fix, FacetFilter's
|
|
170
|
+
* model on select columns, has no flag: it is how the AG seam implements
|
|
171
|
+
* `setFacet` and `getFacet` (see those members).
|
|
172
|
+
*/
|
|
173
|
+
export declare const DATA_TABLE_TOOLBAR_FEATURES: Readonly<TableToolbarFeatures>;
|
|
174
|
+
/**
|
|
175
|
+
* The only way a toolbar part reaches a table. Every method is synchronous
|
|
176
|
+
* and safe to call before the engine is ready (`isReady()` false): reads
|
|
177
|
+
* return empty values and writes are ignored.
|
|
178
|
+
*/
|
|
179
|
+
export interface TableToolbarSeam {
|
|
180
|
+
readonly features: TableToolbarFeatures;
|
|
181
|
+
/** `true` once the engine can answer. DataGrid: from its first render.
|
|
182
|
+
* AG: once `getApi()` resolves. */
|
|
183
|
+
isReady(): boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Fires after any change of the given kind, including programmatic ones.
|
|
186
|
+
* Replaces the 50 ms polls in today's toolbar (`toolbar.tsx:608-629`).
|
|
187
|
+
* Safe to call before ready: the seam binds late and returns an
|
|
188
|
+
* unsubscribe that always works. Fires `'columns'` whenever any column's
|
|
189
|
+
* `masked` or `hiddenByPrivacy` value changes (privacy mode switched),
|
|
190
|
+
* so no part keeps showing text it read before.
|
|
191
|
+
*/
|
|
192
|
+
subscribe(listener: (kind: TableToolbarChangeKind) => void): () => void;
|
|
193
|
+
/** Display order: start-pinned first, centre, end-pinned last. */
|
|
194
|
+
getColumns(): TableToolbarColumn[];
|
|
195
|
+
/** A user choice: the engine records the column as user-touched. */
|
|
196
|
+
setColumnVisible(id: string, visible: boolean): void;
|
|
197
|
+
/** ColumnToggle's "Reset columns": declared order, visibility, pins and
|
|
198
|
+
* widths, and forget the saved column state. DataGrid:
|
|
199
|
+
* `resetColumnState()`. Absent on the AG seam in 1.113 (DataTable's
|
|
200
|
+
* saved column state and responsive baseline need their own change), so
|
|
201
|
+
* DataTable's ColumnToggle shows Move up and Move down without Reset. */
|
|
202
|
+
resetColumns?(): void;
|
|
203
|
+
/**
|
|
204
|
+
* Moves a column so that its final index in `getColumns()` is `toIndex`
|
|
205
|
+
* (remove, then insert). It takes the pin side of the column that sat at
|
|
206
|
+
* `toIndex` before the move (today's rule, `data-table/toolbar.tsx:1068-1071`).
|
|
207
|
+
* A refused move (not reorderable; not pinnable but the side would change;
|
|
208
|
+
* leaves its group) is a no-op. The AG seam maps `toIndex` through the
|
|
209
|
+
* target column's id, because AG `moveColumns` indexes count hidden and
|
|
210
|
+
* utility columns. The 12.3 contract harness covers both seams.
|
|
211
|
+
*/
|
|
212
|
+
moveColumn(id: string, toIndex: number): void;
|
|
213
|
+
getQuickFilter(): string;
|
|
214
|
+
setQuickFilter(text: string): void;
|
|
215
|
+
/** Every active filter, column keys and host keys alike. */
|
|
216
|
+
getFilterModel(): TableFilterModelMap;
|
|
217
|
+
/** Sets or clears (`null`) one key. Chips clear host keys this way too.
|
|
218
|
+
* The DataGrid seam builds it as read-modify-write over the handle
|
|
219
|
+
* (`getFilter`, change one key, `setFilter`); that is safe because the
|
|
220
|
+
* handle's reads return the last write even for controlled filters, so
|
|
221
|
+
* two calls in one tick both survive. */
|
|
222
|
+
setColumnFilter(id: string, model: TableColumnFilterModel | null): void;
|
|
223
|
+
/** Clears every column filter, every host key and the quick filter. */
|
|
224
|
+
clearAllFilters(): void;
|
|
225
|
+
/** One-value facet. AG seam (from 1.113): on a column whose filter is
|
|
226
|
+
* the kit `SelectFilter` (`filterKind: 'select'`) and a string or number
|
|
227
|
+
* value, writes `{ type: 'set', values: [value] }`, because 1.112's
|
|
228
|
+
* `{ type: 'equals', filter }` was a silent no-op there
|
|
229
|
+
* (`select-filter.tsx:183-184`); on any other column it writes
|
|
230
|
+
* `{ type: 'equals', filter }` as before (`toolbar.tsx:731-741`).
|
|
231
|
+
* DataGrid writes
|
|
232
|
+
* `{ type: 'set', values: [value] }`; in client mode `id` must be a column
|
|
233
|
+
* with `filter: { kind: 'select' }` (else a DEV warning and no write),
|
|
234
|
+
* because v9 evaluates a column with the fn of its own filter kind; in
|
|
235
|
+
* server mode a host key is also accepted. */
|
|
236
|
+
setFacet(id: string, value: TableFacetValue | null): void;
|
|
237
|
+
/** The active facet value, when the engine can read it back: what a
|
|
238
|
+
* `setFacet` on this id would have written, else `null`. AG seam (from
|
|
239
|
+
* 1.113): a `set` model with exactly one value gives that value, an
|
|
240
|
+
* `equals` model gives its `filter`, anything else `null`. When absent,
|
|
241
|
+
* or `features.syncsFilterInputs` is `false`, FacetFilter keeps its own
|
|
242
|
+
* pill state. */
|
|
243
|
+
getFacet?(id: string): TableFacetValue | null;
|
|
244
|
+
/** Chip label for a host key that has no column (DataGrid
|
|
245
|
+
* `filterLabels`). Absent on the AG seam. A host-key chip shows this
|
|
246
|
+
* label only, never the value (opaque, and possibly personal data). */
|
|
247
|
+
getFilterLabel?(key: string): string | undefined;
|
|
248
|
+
getSelectionCount(): number;
|
|
249
|
+
/** Opaque row ids. AG seam skips expanded-detail rows. */
|
|
250
|
+
getSelectedRowIds(): string[];
|
|
251
|
+
/** `undefined` before ready. */
|
|
252
|
+
getExportSnapshot(): TableExportSnapshot | undefined;
|
|
253
|
+
/** CSV download. AG seam: `exportDataAsCsv()` with no argument when
|
|
254
|
+
* `fileName` is absent (today's output, `data-table/toolbar.tsx:222, 922`),
|
|
255
|
+
* `exportDataAsCsv({ fileName })` when given. DataGrid: the kit CSV
|
|
256
|
+
* writer over `getExportSnapshot()`, default name from the caption. */
|
|
257
|
+
exportCsv(fileName?: string): void;
|
|
258
|
+
/** Prints every filtered row, never only the virtualised window. */
|
|
259
|
+
print(): void | Promise<void>;
|
|
260
|
+
}
|
|
261
|
+
//# sourceMappingURL=seam.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as p } from "../../_chunks/appointment-card-
|
|
2
|
-
import { A as e, a as o, b as r } from "../../_chunks/appointment-tray-
|
|
1
|
+
import { A as p } from "../../_chunks/appointment-card-BMZoXaGx.js";
|
|
2
|
+
import { A as e, a as o, b as r } from "../../_chunks/appointment-tray-DIxpgIXM.js";
|
|
3
3
|
import { i } from "../../_chunks/is-safe-url-DkETxeHz.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AppointmentCard,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-
|
|
1
|
+
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-_r7cjTtm.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppointmentDetailsPanel,
|
|
4
4
|
n as appointmentDetailsPanelAgent,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
2
|
+
import { type ComboboxOption } from '../combobox';
|
|
3
|
+
import type { DataGridColumn } from '../data-grid';
|
|
4
|
+
import { type DecimalString } from '../_shared/decimal';
|
|
5
|
+
import type { BillDocumentKind, BillLineItemChoice, BillLineItemOption, BillLineRow, BillLineSummary } from './bill-line-table.types';
|
|
6
|
+
/** What the item editors read that changes while a person works. */
|
|
7
|
+
export interface BillLineItemSearch {
|
|
8
|
+
/** `items` as Combobox options, mapped once per change of `items`. */
|
|
9
|
+
itemOptions: ComboboxOption[];
|
|
10
|
+
/** Ids in `itemOptions`. */
|
|
11
|
+
itemOptionIds: ReadonlySet<string>;
|
|
12
|
+
/** `onItemQueryChange` is set: the host filters, the Combobox does not. */
|
|
13
|
+
serverSearch: boolean;
|
|
14
|
+
itemsLoading: boolean;
|
|
15
|
+
/** The line whose item field typed last: only its list shows loading. */
|
|
16
|
+
searchingLineId: string | null;
|
|
17
|
+
}
|
|
18
|
+
export declare const BillLineItemSearchContext: import("react").Context<BillLineItemSearch>;
|
|
19
|
+
/** The rendered summary, for the totals row. */
|
|
20
|
+
export declare const BillLineSummaryContext: import("react").Context<BillLineSummary | null>;
|
|
21
|
+
export interface BillLineColumnDeps {
|
|
22
|
+
t: TFunction<'ui'>;
|
|
23
|
+
/** The UI language (`i18n.language`), for `formatNumber`. */
|
|
24
|
+
language: string;
|
|
25
|
+
documentKind: BillDocumentKind;
|
|
26
|
+
currency: string;
|
|
27
|
+
privacyMode: boolean;
|
|
28
|
+
/** A person edited a quantity; `null` while the field is empty. */
|
|
29
|
+
setQuantity: (lineId: string, quantity: DecimalString | null) => void;
|
|
30
|
+
/** A person chose an item, or "Create new item". */
|
|
31
|
+
setItem: (lineId: string, choice: BillLineItemChoice) => void;
|
|
32
|
+
/** A person typed in a line's item field (server search only). */
|
|
33
|
+
queryItems: (lineId: string, query: string) => void;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The columns. The working columns come first after the pinned description
|
|
37
|
+
* (quantity, item, status, warnings: about 1,050 px with the checkbox, so
|
|
38
|
+
* they fit the `xl` Dialog), then the figures to check against the paper
|
|
39
|
+
* invoice. Widths are DataGrid `size` numbers (the column API, not CSS);
|
|
40
|
+
* the table is in fixed layout. No sorting, filtering, hiding or moving
|
|
41
|
+
* (D10), and no responsive tiers: a column hidden at 200% zoom would have
|
|
42
|
+
* no way back, so the table scrolls sideways instead (WCAG 1.4.10).
|
|
43
|
+
*/
|
|
44
|
+
export declare function buildBillLineColumns(deps: BillLineColumnDeps): DataGridColumn<BillLineRow>[];
|
|
45
|
+
/** `items` as Combobox options (mapped once per change of `items`). */
|
|
46
|
+
export declare function toItemOptions(items: readonly BillLineItemOption[]): ComboboxOption[];
|
|
47
|
+
//# sourceMappingURL=bill-line-table.columns.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BillLineTableHandle, BillLineTableProps } from './bill-line-table.types';
|
|
2
|
+
export type { BillLineTableHandle, BillLineTableProps, } from './bill-line-table.types';
|
|
3
|
+
export declare const BillLineTable: import("react").ForwardRefExoticComponent<BillLineTableProps & import("react").RefAttributes<BillLineTableHandle>>;
|
|
4
|
+
//# sourceMappingURL=bill-line-table.d.ts.map
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { type DecimalString, type ScaledDecimal } from '../_shared/decimal';
|
|
2
|
+
import type { BillDocumentKind, BillLine, BillLineInfo, BillLineItemChoice, BillLineItemOption, BillLineLoadResult, BillLineMatchState, BillLineRow, BillLineSummary, BillLineValue, BillLineValues } from './bill-line-table.types';
|
|
3
|
+
/** Most fraction digits of a quantity: FatturaPA 2.2.1.5 `Quantita`
|
|
4
|
+
* (`[0-9]{1,12}\.[0-9]{2,8}`, quoted in `Version20260608180319.php:38`). */
|
|
5
|
+
export declare const BILL_LINE_QUANTITY_FRACTION_DIGITS = 8;
|
|
6
|
+
/** Most fraction digits of a price or amount: FatturaPA 2.2.1.9
|
|
7
|
+
* `PrezzoUnitario`, 2.2.1.11 `PrezzoTotale`, 2.2.1.10.3 `Importo`. */
|
|
8
|
+
export declare const BILL_LINE_PRICE_FRACTION_DIGITS = 8;
|
|
9
|
+
/** Fraction digits of a rate: 2.2.1.12 `AliquotaIVA`, 2.2.1.10.2
|
|
10
|
+
* `Percentuale`. */
|
|
11
|
+
export declare const BILL_LINE_PERCENT_FRACTION_DIGITS = 2;
|
|
12
|
+
/** Largest quantity the editor accepts (D15). It keeps every typed value
|
|
13
|
+
* where a double and its decimal text agree exactly. An invoiced quantity
|
|
14
|
+
* above it, or with more than 15 significant digits, is shown read-only
|
|
15
|
+
* with the kit's "too large to edit here" note and loads unchanged: it is
|
|
16
|
+
* never clamped. The handle and the agent refuse a larger value with
|
|
17
|
+
* `INVALID_QUANTITY`. */
|
|
18
|
+
export declare const BILL_LINE_MAX_QUANTITY = 10000000;
|
|
19
|
+
/** Longest new-item name: `DoctorInventoryItem.name` is a string of 255
|
|
20
|
+
* (`DoctorInventoryItem.orm.xml`). */
|
|
21
|
+
export declare const BILL_LINE_ITEM_NAME_MAX_LENGTH = 255;
|
|
22
|
+
/** Combobox value of the per-line "New item: …" option. Never a platform
|
|
23
|
+
* article id: `DoctorInventoryItem.id` is an integer
|
|
24
|
+
* (`DoctorInventoryItem.orm.xml`, `<id name="id" type="integer">`). */
|
|
25
|
+
export declare const BILL_LINE_NEW_ITEM_VALUE = "bill-line-table:new-item";
|
|
26
|
+
/** The kit's own warning code for a locked quantity (D15). */
|
|
27
|
+
export declare const BILL_LINE_QUANTITY_TOO_LARGE = "quantityTooLarge";
|
|
28
|
+
/** What a quantity text means to the table. */
|
|
29
|
+
export interface BillLineQuantityReading {
|
|
30
|
+
/** No text: the field is empty. */
|
|
31
|
+
empty: boolean;
|
|
32
|
+
/** Syntax and digits pass `FATTURAPA_VALUE.quantity`, the sign aside. */
|
|
33
|
+
wellFormed: boolean;
|
|
34
|
+
/** Above zero. */
|
|
35
|
+
positive: boolean;
|
|
36
|
+
/** The exact value when a safe integer holds its units, else `null`. */
|
|
37
|
+
value: ScaledDecimal | null;
|
|
38
|
+
/** The number NumberInput shows: exact both ways (at most 15 significant
|
|
39
|
+
* digits) and at most `BILL_LINE_MAX_QUANTITY` in size. `null` for an
|
|
40
|
+
* empty, malformed or out-of-range quantity. */
|
|
41
|
+
editorNumber: number | null;
|
|
42
|
+
}
|
|
43
|
+
export declare function readBillLineQuantity(text: DecimalString | null): BillLineQuantityReading;
|
|
44
|
+
/** Can the editor hold this quantity exactly (D15)? False above
|
|
45
|
+
* `BILL_LINE_MAX_QUANTITY` or beyond 15 significant digits: the line then
|
|
46
|
+
* shows its quantity read-only with the kit's `quantityTooLarge` note and
|
|
47
|
+
* loads it as invoiced. A malformed quantity stays editable, so the
|
|
48
|
+
* reviewer can type a correct one. */
|
|
49
|
+
export declare function isBillLineQuantityEditable(quantity: DecimalString): boolean;
|
|
50
|
+
/** A NumberInput value back to exact decimal text, at most 8 fraction
|
|
51
|
+
* digits, never padded and with no trailing zeros (`2.5` is `"2.5"`,
|
|
52
|
+
* `0.1 + 0.2` is `"0.3"`). `null` for NaN or Infinity. */
|
|
53
|
+
export declare function billLineQuantityFromNumber(value: number): DecimalString | null;
|
|
54
|
+
/** A signed amount (line total, unit price, adjustment, summary figure),
|
|
55
|
+
* up to 8 places. `null` when the text is malformed or its units pass a
|
|
56
|
+
* safe integer (about 90 million at 8 places): the platform flags such a
|
|
57
|
+
* line `valueOutOfRange`, and the kit counts it as invalid. */
|
|
58
|
+
export declare function readBillLineAmount(text: DecimalString): ScaledDecimal | null;
|
|
59
|
+
/** A rate (VAT or a discount percentage), unsigned, 2 places. */
|
|
60
|
+
export declare function readBillLineRate(text: DecimalString | null): ScaledDecimal | null;
|
|
61
|
+
/** Net unit cost (D14): `lineTotal` / quantity at 8 places, one rounding
|
|
62
|
+
* half away from zero, trailing zeros dropped (30.86 / 2.5 is
|
|
63
|
+
* `"12.344"`). `null` for an empty, zero or unreadable quantity. */
|
|
64
|
+
export declare function netUnitCost(lineTotal: DecimalString, quantity: DecimalString | null): DecimalString | null;
|
|
65
|
+
/** Do two signed amounts have the same size? A credit note may carry an
|
|
66
|
+
* unsigned `PrezzoUnitario` beside an inverted `PrezzoTotale`, so the
|
|
67
|
+
* "Net per unit" line compares sizes, not signs. */
|
|
68
|
+
export declare function sameBillLineMagnitude(a: DecimalString, b: DecimalString): boolean;
|
|
69
|
+
/** A new-item name as the platform stores it: trimmed, at most 255
|
|
70
|
+
* characters (code points, as MySQL counts them). */
|
|
71
|
+
export declare function normaliseBillLineItemName(name: string): string;
|
|
72
|
+
/** A choice as the table stores it: a new item with no name takes the line
|
|
73
|
+
* description (D5). */
|
|
74
|
+
export declare function normaliseBillLineItemChoice(choice: BillLineItemChoice, line: BillLine): BillLineItemChoice;
|
|
75
|
+
/** D15: a quantity a person set above `BILL_LINE_MAX_QUANTITY`. The
|
|
76
|
+
* invoiced quantity itself never counts: a locked line loads as invoiced. */
|
|
77
|
+
export declare function isBillLineQuantityTooLarge(line: BillLine, value: BillLineValue): boolean;
|
|
78
|
+
/** A new item with no name: the description was blank and nothing was
|
|
79
|
+
* typed. The platform cannot create an item without a name. */
|
|
80
|
+
export declare function isBillLineNewItemNameMissing(value: BillLineValue): boolean;
|
|
81
|
+
/** A new item that still carries the line description as its name (the
|
|
82
|
+
* prefill, D5). On a lab invoice that name can be a patient's (Q3), so
|
|
83
|
+
* privacy mode asks the reviewer to check it with privacy mode off. */
|
|
84
|
+
export declare function isBillLineNewItemNamedFromDescription(line: BillLine, value: BillLineValue): boolean;
|
|
85
|
+
/** True when any line is already loaded: the HTP-7311 one-load rule then
|
|
86
|
+
* locks the whole invoice (D8). */
|
|
87
|
+
export declare function isBillInvoiceLoaded(lines: readonly BillLine[]): boolean;
|
|
88
|
+
/** The value every line starts with: its invoiced quantity and the
|
|
89
|
+
* proposal's item, or a new item named after the description (see product
|
|
90
|
+
* question Q3 on lab lines that name a patient). */
|
|
91
|
+
export declare function getDefaultBillLineValue(line: BillLine): BillLineValue;
|
|
92
|
+
export declare function getDefaultBillLineValues(lines: readonly BillLine[]): Record<string, BillLineValue>;
|
|
93
|
+
/** Every line that can load and was not proposed as skip. None once the
|
|
94
|
+
* invoice is loaded. */
|
|
95
|
+
export declare function getDefaultBillLineSelection(lines: readonly BillLine[]): string[];
|
|
96
|
+
/** Every current line's value, missing entries as their default; entries
|
|
97
|
+
* for lines no longer in `lines` are dropped. */
|
|
98
|
+
export declare function resolveBillLineValues(lines: readonly BillLine[], values: BillLineValues): Record<string, BillLineValue>;
|
|
99
|
+
/** The ids that are ticked in effect: known, tickable lines only, unique,
|
|
100
|
+
* in invoice order. */
|
|
101
|
+
export declare function resolveBillLineSelection(lines: readonly BillLine[], selection: readonly string[]): string[];
|
|
102
|
+
/** Same value whatever the scale ("2.50" equals "2.5"). */
|
|
103
|
+
export declare function sameBillLineValue(a: BillLineValue, b: BillLineValue): boolean;
|
|
104
|
+
/** What Confirm will do with the line (D3): the badge cannot disagree with
|
|
105
|
+
* the checkbox. */
|
|
106
|
+
export declare function getBillLineMatchState(line: BillLine, value: BillLineValue, selected: boolean): BillLineMatchState;
|
|
107
|
+
/**
|
|
108
|
+
* Can this line load as it stands? Judged for ticked lines. Invalid when:
|
|
109
|
+
* - the quantity is empty, malformed, zero or negative (quantities are
|
|
110
|
+
* unsigned, so a negative one is a contract error);
|
|
111
|
+
* - a person set the quantity above `BILL_LINE_MAX_QUANTITY` (D15);
|
|
112
|
+
* - a new item has no name;
|
|
113
|
+
* - an `'error'` warning is on the line;
|
|
114
|
+
* - the line amount cannot be read exactly (`valueOutOfRange`);
|
|
115
|
+
* - `itemKnown` is false: the chosen existing item is no longer known
|
|
116
|
+
* (the table passes this; a host calling the helper may leave it out).
|
|
117
|
+
*/
|
|
118
|
+
export declare function isBillLineInvalid(line: BillLine, value: BillLineValue, itemKnown?: boolean): boolean;
|
|
119
|
+
/** Item lookup the table passes to the helpers; the default knows every
|
|
120
|
+
* item. */
|
|
121
|
+
export type BillLineItemLookup = (itemId: string) => boolean;
|
|
122
|
+
/** The ticks and values the table starts from, for `dirty`. */
|
|
123
|
+
export interface BillLineDefaults {
|
|
124
|
+
values: BillLineValues;
|
|
125
|
+
selection: readonly string[];
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Totals and counts (see `BillLineSummary`). Net is the ticked lines'
|
|
129
|
+
* `PrezzoTotale` summed exactly and rounded once to cents; VAT is, per rate,
|
|
130
|
+
* the rate's net rounded to cents first (FatturaPA 2.2.2.5
|
|
131
|
+
* `ImponibileImporto` has two places), times the rate, rounded to cents,
|
|
132
|
+
* then added, the `DatiRiepilogo` shape; gross
|
|
133
|
+
* is net plus VAT (D7, design section 4.1). A quantity edit changes none of
|
|
134
|
+
* them.
|
|
135
|
+
*/
|
|
136
|
+
export declare function summariseBillLines(lines: readonly BillLine[], values: BillLineValues, selection: readonly string[], defaults: BillLineDefaults, isItemKnown?: BillLineItemLookup): BillLineSummary;
|
|
137
|
+
/**
|
|
138
|
+
* The HTP-7311 request body, or the ticked lines that block it. The only
|
|
139
|
+
* place the credit-note sign is applied (D6): a credit note's quantities go
|
|
140
|
+
* out negative. A loaded invoice gives no payload (D8).
|
|
141
|
+
*/
|
|
142
|
+
export declare function getBillLineLoadPayload(lines: readonly BillLine[], values: BillLineValues, selection: readonly string[], documentKind: BillDocumentKind, isItemKnown?: BillLineItemLookup): BillLineLoadResult;
|
|
143
|
+
export interface BillLineRowContext {
|
|
144
|
+
/** `isBillInvoiceLoaded(lines)`. */
|
|
145
|
+
invoiceLoaded: boolean;
|
|
146
|
+
/** Ticked ids in effect (`resolveBillLineSelection`). */
|
|
147
|
+
ticked: ReadonlySet<string>;
|
|
148
|
+
/** The item behind an id, when the table knows it. */
|
|
149
|
+
findItem: (itemId: string) => BillLineItemOption | undefined;
|
|
150
|
+
}
|
|
151
|
+
/** One line's view model. */
|
|
152
|
+
export declare function buildBillLineRow(line: BillLine, value: BillLineValue, context: BillLineRowContext): BillLineRow;
|
|
153
|
+
export interface BillLineRowsInput {
|
|
154
|
+
lines: readonly BillLine[];
|
|
155
|
+
values: BillLineValues;
|
|
156
|
+
selection: readonly string[];
|
|
157
|
+
findItem: (itemId: string) => BillLineItemOption | undefined;
|
|
158
|
+
/** The rows of the last build, by line id: an unchanged line keeps its
|
|
159
|
+
* object, so DataGrid re-renders only the lines that changed. */
|
|
160
|
+
previous?: ReadonlyMap<string, BillLineRow>;
|
|
161
|
+
}
|
|
162
|
+
/** Every line's view model, in invoice order, with structural sharing. */
|
|
163
|
+
export declare function buildBillLineRows(input: BillLineRowsInput): BillLineRow[];
|
|
164
|
+
/** The privacy-safe facts the handle and the agent read. */
|
|
165
|
+
export declare function toBillLineInfo(row: BillLineRow, options: {
|
|
166
|
+
tableReadOnly: boolean;
|
|
167
|
+
documentKind: BillDocumentKind;
|
|
168
|
+
}): BillLineInfo;
|
|
169
|
+
/** A quantity a handle or agent write may set: unsigned, above 0, at most 8
|
|
170
|
+
* fraction digits and at most `BILL_LINE_MAX_QUANTITY`. Returns the
|
|
171
|
+
* normalised text (`"02.50"` is `"2.5"`), or `null` to refuse it. */
|
|
172
|
+
export declare function normaliseBillLineQuantityInput(text: string): DecimalString | null;
|
|
173
|
+
//# sourceMappingURL=bill-line-table.model.d.ts.map
|