@alfadocs/ui-kit 1.115.0 → 1.117.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-D3j6F-AG.js +7 -0
- package/dist/_chunks/{actions-cell-renderer-bI27uXXC.js → actions-cell-renderer-DTaIQKp9.js} +3 -3
- package/dist/_chunks/{address-autocomplete-DC-H-MZw.js → address-autocomplete-Bnc9ieKO.js} +2 -2
- package/dist/_chunks/{address-fields-D5Ije0S2.js → address-fields-RIaGnpnm.js} +4 -4
- package/dist/_chunks/{anamnesis-card-Ddnrdfx3.js → anamnesis-card-sUFT0dpF.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-S1H_AARG.js → anamnesis-summary-card-BtFPpegp.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BZ36ULQk.js → anamnesis-summary-rows-BbAREK-3.js} +7 -7
- package/dist/_chunks/{antenatal-schedule-timeline-va9zx7tJ.js → antenatal-schedule-timeline-86YVlMYJ.js} +2 -2
- package/dist/_chunks/{appointment-card-D_-aBrx5.js → appointment-card-0PebvrOS.js} +3 -3
- package/dist/_chunks/{appointment-peek-DWfcpoGy.js → appointment-peek-DdUhqfEi.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DxLu3afn.js → appointment-timeline-CC7nmBOH.js} +3 -3
- package/dist/_chunks/{appointment-tray-BhXOJpIJ.js → appointment-tray-B04zKY7g.js} +2 -2
- package/dist/_chunks/arrow-down-left-DECv-dJt.js +15 -0
- package/dist/_chunks/{balance-badge-cell-CXHihM22.js → balance-badge-cell-DPjab0eJ.js} +6 -6
- package/dist/_chunks/bill-line-table-vCnVo7_a.js +1565 -0
- package/dist/_chunks/{bishop-score-QJu-sM1y.js → bishop-score-CKztphVz.js} +2 -2
- package/dist/_chunks/{bmi-calculator-Ba4yoR31.js → bmi-calculator-rri5vvMt.js} +3 -3
- package/dist/_chunks/{button-group-CUnNnt8a.js → button-group-B2MJo0Se.js} +2 -2
- package/dist/_chunks/{calculator-dialog-D4TyJwqy.js → calculator-dialog-BGX5XQCM.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BVzFi4hH.js → calendar-appointment-editor-dialog-BEmBcb61.js} +18 -18
- package/dist/_chunks/{card-DVO3x8E-.js → card-n6W6LW-N.js} +78 -47
- package/dist/_chunks/{care-plan-card-BA3MfdfZ.js → care-plan-card-bGTIliXc.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CUtFZ813.js → care-plan-entry-card-cdojypxu.js} +3 -3
- package/dist/_chunks/{chart-DebrFZ6L.js → chart-Aue_2dMb.js} +2 -2
- package/dist/_chunks/circle-off-DuT9pVy2.js +16 -0
- package/dist/_chunks/{clinical-note-card-Zz5_GEz-.js → clinical-note-card-DHn5W_bv.js} +2 -2
- package/dist/_chunks/combobox-BBCVQS-S.js +935 -0
- package/dist/_chunks/{compact-editor-fields-cP6yh7xv.js → compact-editor-fields-6sTWRLtf.js} +3 -3
- package/dist/_chunks/{connection-status-DjarASoU.js → connection-status-DWClakYw.js} +2 -2
- package/dist/_chunks/{contact-card-Cv-Nwvac.js → contact-card-CGpbYuxl.js} +2 -2
- package/dist/_chunks/{contact-profile-card-DMXWBBkU.js → contact-profile-card-BubJPyRB.js} +3 -3
- package/dist/_chunks/{country-select-CUuGOAoZ.js → country-select-C2GdvRtS.js} +2 -2
- package/dist/_chunks/{cycle-calculator-C68V9rdH.js → cycle-calculator-C8nWAeTk.js} +3 -3
- package/dist/_chunks/{dashboard-grid-DrOkTtya.js → dashboard-grid-CaxgaEgI.js} +2 -2
- package/dist/_chunks/{toolbar-Bc3pjfG5.js → data-grid-DiBSbN2Y.js} +3017 -3106
- package/dist/_chunks/{data-grid-tabs-CsLbIv0h.js → data-grid-tabs-D9Y4DeeH.js} +2 -2
- package/dist/_chunks/{data-table-DXaE2Ret.js → data-table-DhYx-hCD.js} +101 -100
- package/dist/_chunks/{date-range-panel-CBFfkgmz.js → date-range-panel-CT6nXjRM.js} +7 -7
- package/dist/_chunks/default-tabs-CD285u0C.js +2250 -0
- package/dist/_chunks/dialog-CIUn5oLb.js +348 -0
- package/dist/_chunks/{document-preview-WvJKHJOP.js → document-preview-BWDTCEHI.js} +3 -3
- package/dist/_chunks/dropdown-menu-Dw6sgQwJ.js +679 -0
- package/dist/_chunks/{due-date-calculator-C1UA5jpS.js → due-date-calculator-c1NJPw9F.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-CtlMhLai.js → editable-currency-cell-renderer-BlK-8A7b.js} +2 -2
- package/dist/_chunks/{entity-summary-DGCBQDt1.js → entity-summary-BanguTa6.js} +2 -2
- package/dist/_chunks/export-files-BByoK9Cg.js +248 -0
- package/dist/_chunks/{face-scheme-DkoxiDCh.js → face-scheme-Bt07zQJU.js} +20 -19
- package/dist/_chunks/{fetal-weight-DmZzMRzB.js → fetal-weight-D0KofJJw.js} +3 -3
- package/dist/_chunks/{file-manager-DFFExyym.js → file-manager-CV1_GtjC.js} +5 -5
- package/dist/_chunks/{finished-terminal-BKTFUk3S.js → finished-terminal-FR8uc_Ws.js} +2 -2
- package/dist/_chunks/{forgot-password-form-Bc_UPax6.js → forgot-password-form-YvI9vX-G.js} +2 -2
- package/dist/_chunks/format-price-CIX0YJZn.js +179 -0
- package/dist/_chunks/{gestational-age-calculator-60y1RyQL.js → gestational-age-calculator-Cg4Gq42R.js} +3 -3
- package/dist/_chunks/{grid-context-AwsLJRhH.js → grid-context-jn9y8tNE.js} +4 -4
- package/dist/_chunks/{hcg-doubling-CC-dbKE8.js → hcg-doubling-BjTa_77t.js} +3 -3
- package/dist/_chunks/{header-settings-Df9q1uHt.js → header-settings-DsvheAOt.js} +160 -147
- package/dist/_chunks/{heatmap-eXdtmEoU.js → heatmap-BurtKmeu.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-CWxgjDZl.js → help-me-write-templates-C28E_rOt.js} +2 -2
- package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
- package/dist/_chunks/{icon-button-group-C9mPK-bX.js → icon-button-group-BKtkVZ1W.js} +2 -2
- package/dist/_chunks/{kit-extensions-CzG0RmhQ.js → kit-extensions-C3oL0WTp.js} +7 -7
- package/dist/_chunks/{link-cell-renderer-Ditt5mvT.js → link-cell-renderer-NFNGdAGt.js} +4 -4
- package/dist/_chunks/{login-dev-card-CPndtWdz.js → login-dev-card-Dz3ezx1o.js} +2 -2
- package/dist/_chunks/map-view-Frj8vE7n.js +1105 -0
- package/dist/_chunks/{maps-core-gate-DkNqGkm3.js → maps-core-gate-Dgs7jXxy.js} +6 -6
- package/dist/_chunks/{marketplace-app-shell-CcEHJgDd.js → marketplace-app-shell-BOBWmzoT.js} +6 -6
- package/dist/_chunks/money-OE6_oDPH.js +138 -0
- package/dist/_chunks/{muscle-scheme-BkmDUTmk.js → muscle-scheme-C9dnSxzw.js} +2 -2
- package/dist/_chunks/{notes-panel-BVYG_MJE.js → notes-panel-CHR-Jv6N.js} +5 -5
- package/dist/_chunks/{notification-card-CPW4poUr.js → notification-card-DRMv2_pW.js} +20 -20
- package/dist/_chunks/{notification-tray-CQK3lw87.js → notification-tray-mlCfxNRH.js} +2 -2
- package/dist/_chunks/number-input-DUSvP7Dq.js +625 -0
- package/dist/_chunks/{operator-hero-BWayX73x.js → operator-hero-CnfWckNQ.js} +2 -2
- package/dist/_chunks/{optical-prescription-CvbN8yD2.js → optical-prescription-Da_r8pMr.js} +2 -2
- package/dist/_chunks/parts-CcyRkB8t.js +869 -0
- package/dist/_chunks/{patient-details-DlT-vpSe.js → patient-details-C4dHR4iu.js} +3 -3
- package/dist/_chunks/{patient-field-row-B54uzvu-.js → patient-field-row-0QP8KCVp.js} +5 -5
- package/dist/_chunks/{patient-search-DDRDCjZi.js → patient-search-D_S7joff.js} +3 -3
- package/dist/_chunks/{patient-summary-card-Dy9-CzON.js → patient-summary-card-x0-AhCyC.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-D7yaD4u1.js → payment-automation-upsell-CGdG2Mwk.js} +2 -2
- package/dist/_chunks/{payment-request-card-BmV2pLoM.js → payment-request-card-CEIalOtr.js} +15 -14
- package/dist/_chunks/{periodontal-chart-Bjz7O4wT.js → periodontal-chart-DqHrQY4e.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CxEXHl2x.js → periodontal-chart-card-q9WSHRC2.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-DnZuZD14.js → periodontal-diagnosis-CJPWluQU.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-BBPB9wf1.js → periodontal-risk-chart-CKkyOROk.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-Cw4NZp0A.js → practice-profile-hero-BFS6lO2a.js} +2 -2
- package/dist/_chunks/{practice-results-BlxfBx-D.js → practice-results-CzHWprX4.js} +922 -787
- package/dist/_chunks/{pregnancy-dating-qZpw3zj8.js → pregnancy-dating-BO6diQMZ.js} +4 -4
- package/dist/_chunks/{pregnancy-weight-gain-DQoOM8QV.js → pregnancy-weight-gain-DkGcEc_l.js} +3 -3
- package/dist/_chunks/{privacy-mask-BlJK51MD.js → privacy-mask-DJ1gee4c.js} +2 -2
- package/dist/_chunks/{province-select-cVOlwEc5.js → province-select-CTM8A9SM.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-C1LGeX-G.js → radiograph-panel.agent-9jwXlOXB.js} +2 -2
- package/dist/_chunks/{registration-form-DW-0X7S4.js → registration-form-CMXefBnC.js} +2 -2
- package/dist/_chunks/{reserved.agent-6p3Hm4oH.js → reserved.agent-TaZfI3yj.js} +5 -5
- package/dist/_chunks/{reset-password-form-C93SH0Tx.js → reset-password-form-D_TePSM1.js} +2 -2
- package/dist/_chunks/{reviews-panel-CfJPEkH7.js → reviews-panel-CdHUSndF.js} +2 -2
- package/dist/_chunks/{rich-text-editor-efaMWbYz.js → rich-text-editor-CMPA5Wgy.js} +12 -11
- package/dist/_chunks/row-actions-Dpf9CrCP.js +213 -0
- package/dist/_chunks/{section-card-DFr2wGal.js → section-card-CYfeQ6EQ.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-DWxWa_cJ.js → send-registration-link-form-DuZQuKnI.js} +2 -2
- package/dist/_chunks/{signature-request-BnTihryS.js → signature-request-Dzs0jZsd.js} +3 -3
- package/dist/_chunks/{tab-bar-C_pggqVr.js → tab-bar-CF8R38Og.js} +2 -2
- package/dist/_chunks/{tabs-CXYjr_8O.js → tabs-P4qFmxk5.js} +2 -2
- package/dist/_chunks/{task-editor-CSa6vQ9r.js → task-editor-WdDCqbIL.js} +168 -178
- package/dist/_chunks/{tasks-panel-CVjY1d7Q.js → tasks-panel-DBSm3WjK.js} +2 -2
- package/dist/_chunks/{theme-toggle-CObX2Ffa.js → theme-toggle-CeKl8f_f.js} +3 -3
- package/dist/_chunks/{timeline-AMqE-c2T.js → timeline-DXko0M1t.js} +2 -2
- package/dist/_chunks/{token-insert-menu-Dl3x2ekR.js → token-insert-menu-BrK5NQIq.js} +2 -2
- package/dist/_chunks/toolbar-z8vXnpXz.js +159 -0
- package/dist/_chunks/{tooth-scheme-C-ALCHaV.js → tooth-scheme-DHRxV2sE.js} +2 -2
- package/dist/_chunks/{transaction-chip-CohY6sTA.js → transaction-chip-CkYd-3ky.js} +47 -57
- package/dist/_chunks/{treatment-receipt-BydbojdD.js → treatment-receipt-1VnuinhY.js} +2 -2
- 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-BMAiQYo6.js → use-appointment-details-read-B-SXnszJ.js} +10 -10
- package/dist/_chunks/{verify-identity-types-C85EXNzy.js → verify-identity-types-D_LdByCp.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-DCjkRuS_.js} +3 -3
- package/dist/_chunks/{workflow-status-9wb7iWUd.js → workflow-status-D0avpoeS.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DNSe65yd.js → workflow-webhook-action-dgUjv9T7.js} +3 -3
- package/dist/agent-catalog.json +1080 -1
- package/dist/agent-i18n/en.json +50 -0
- package/dist/browser-support.js +2 -0
- package/dist/components/_shared/accessible-target.d.ts +19 -0
- package/dist/components/_shared/decimal.d.ts +171 -0
- package/dist/components/_shared/focus-visible.d.ts +8 -0
- package/dist/components/_shared/format-price.d.ts +54 -2
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/bill-line-table.agent.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +49 -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 +36 -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/bishop-score/index.js +1 -1
- 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/card/card.d.ts +9 -2
- package/dist/components/card/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/clinical-note-card/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/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/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/body.d.ts +6 -0
- package/dist/components/data-grid/data-grid.variants.d.ts +1 -9
- package/dist/components/data-grid/editors.d.ts +7 -1
- package/dist/components/data-grid/index.js +9 -8
- package/dist/components/data-grid/selection.d.ts +10 -0
- package/dist/components/data-grid/types.d.ts +61 -11
- package/dist/components/data-grid-tabs/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- 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/entity-summary/index.js +1 -1
- 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/finished-terminal/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/header-settings.d.ts +7 -3
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/map-view/index.d.ts +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +48 -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/notification-card/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts +2 -1
- package/dist/components/notification-tray/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/operator-hero/index.js +1 -1
- 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-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +20 -0
- 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/reviews-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/section-card/index.js +1 -1
- package/dist/components/skeleton-scheme/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/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/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/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/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 +7 -1
- package/dist/i18n/locales/ar.d.ts +262 -0
- package/dist/i18n/locales/ar.js +263 -1
- package/dist/i18n/locales/de.d.ts +262 -0
- package/dist/i18n/locales/de.js +263 -1
- package/dist/i18n/locales/el.d.ts +262 -0
- package/dist/i18n/locales/el.js +263 -1
- package/dist/i18n/locales/en.d.ts +262 -0
- package/dist/i18n/locales/en.js +263 -1
- package/dist/i18n/locales/es.d.ts +262 -0
- package/dist/i18n/locales/es.js +263 -1
- package/dist/i18n/locales/fr.d.ts +262 -0
- package/dist/i18n/locales/fr.js +263 -1
- package/dist/i18n/locales/hi.d.ts +262 -0
- package/dist/i18n/locales/hi.js +263 -1
- package/dist/i18n/locales/it.d.ts +262 -0
- package/dist/i18n/locales/it.js +263 -1
- package/dist/i18n/locales/ja.d.ts +262 -0
- package/dist/i18n/locales/ja.js +263 -1
- package/dist/i18n/locales/nl.d.ts +262 -0
- package/dist/i18n/locales/nl.js +263 -1
- package/dist/i18n/locales/pl.d.ts +262 -0
- package/dist/i18n/locales/pl.js +263 -1
- package/dist/i18n/locales/pt.d.ts +262 -0
- package/dist/i18n/locales/pt.js +263 -1
- package/dist/i18n/locales/ro.d.ts +262 -0
- package/dist/i18n/locales/ro.js +263 -1
- package/dist/i18n/locales/ru.d.ts +262 -0
- package/dist/i18n/locales/ru.js +263 -1
- package/dist/i18n/locales/sq.d.ts +262 -0
- package/dist/i18n/locales/sq.js +263 -1
- package/dist/i18n/locales/sv.d.ts +262 -0
- package/dist/i18n/locales/sv.js +263 -1
- package/dist/i18n/locales/tr.d.ts +262 -0
- package/dist/i18n/locales/tr.js +263 -1
- package/dist/i18n/locales/zh.d.ts +262 -0
- package/dist/i18n/locales/zh.js +263 -1
- package/dist/index.js +1298 -1246
- package/dist/locales/ar.json +263 -1
- package/dist/locales/de.json +263 -1
- package/dist/locales/el.json +263 -1
- package/dist/locales/en.json +263 -1
- package/dist/locales/es.json +263 -1
- package/dist/locales/fr.json +263 -1
- package/dist/locales/hi.json +263 -1
- package/dist/locales/it.json +263 -1
- package/dist/locales/ja.json +263 -1
- package/dist/locales/nl.json +263 -1
- package/dist/locales/pl.json +263 -1
- package/dist/locales/pt.json +263 -1
- package/dist/locales/ro.json +263 -1
- package/dist/locales/ru.json +263 -1
- package/dist/locales/sq.json +263 -1
- package/dist/locales/sv.json +263 -1
- package/dist/locales/tr.json +263 -1
- package/dist/locales/zh.json +263 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-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 +22 -3
- package/dist/_chunks/combobox-duuDRI1t.js +0 -688
- package/dist/_chunks/dialog-BTjSQjdY.js +0 -274
- package/dist/_chunks/dropdown-menu-CqxBthww.js +0 -595
- package/dist/_chunks/format-price-BcFBa-WP.js +0 -52
- package/dist/_chunks/map-view-Bny79cWa.js +0 -856
- package/dist/_chunks/money-Tsczpjfz.js +0 -102
- package/dist/_chunks/number-input-CVwI1ltI.js +0 -423
- package/dist/_chunks/parts-Wz2LeGnH.js +0 -1113
- package/dist/_chunks/undo-2-CYNAzclj.js +0 -26
|
@@ -11,6 +11,19 @@ export interface ComboboxHandle {
|
|
|
11
11
|
open: () => void;
|
|
12
12
|
close: () => void;
|
|
13
13
|
}
|
|
14
|
+
/** A fixed row pinned under the options, such as "Create new item". */
|
|
15
|
+
export interface ComboboxAction {
|
|
16
|
+
/** Visible text of the row, already translated by the host. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** Decorative icon before the label, expected: Lucide `Plus` for create.
|
|
19
|
+
* With the rule above the row, it marks the row as a command rather than
|
|
20
|
+
* an option. Hidden from assistive tech: the label names the row. */
|
|
21
|
+
icon?: ReactNode;
|
|
22
|
+
/** Runs when the row is chosen. Receives the text the user typed since
|
|
23
|
+
* the list opened, or '' when they have not typed (the field still shows
|
|
24
|
+
* the chosen label, or nothing). */
|
|
25
|
+
onSelect: (query: string) => void;
|
|
26
|
+
}
|
|
14
27
|
export interface ComboboxProps<T extends string = string> {
|
|
15
28
|
options: ComboboxOption<T>[];
|
|
16
29
|
value?: T | '';
|
|
@@ -41,6 +54,14 @@ export interface ComboboxProps<T extends string = string> {
|
|
|
41
54
|
onQueryChange?: (query: string) => void;
|
|
42
55
|
emptyMessage?: ReactNode;
|
|
43
56
|
'aria-label'?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Ids of the elements that name the field, space-separated, as a
|
|
59
|
+
* DataGrid editor's `labelledBy` ("Matched item" plus a hidden row name).
|
|
60
|
+
* Wins over `aria-label`, a FormField label and the placeholder. It also
|
|
61
|
+
* names the list and its popover, so the row name stays in text and
|
|
62
|
+
* never becomes an attribute. The elements may be hidden.
|
|
63
|
+
*/
|
|
64
|
+
'aria-labelledby'?: string;
|
|
44
65
|
/**
|
|
45
66
|
* Invalid-state fallback for use OUTSIDE a `<FormField>` (e.g. an inline
|
|
46
67
|
* editor). Inside a FormField the context wins. Drives the error border and
|
|
@@ -71,6 +92,41 @@ export interface ComboboxProps<T extends string = string> {
|
|
|
71
92
|
* An option's `description` always sits on its own line under the label.
|
|
72
93
|
*/
|
|
73
94
|
wrapOptionLabels?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* A row pinned under the options, for example "Create new item". It shows
|
|
97
|
+
* whatever the query, with or without matches, stays in view while the
|
|
98
|
+
* options scroll, and is reached with the arrow keys or the pointer like an
|
|
99
|
+
* option. It is never the active row until the user reaches it, and Enter
|
|
100
|
+
* never chooses it before then: with nothing else listed, Enter does
|
|
101
|
+
* nothing and the list stays open. Choosing it calls
|
|
102
|
+
* `action.onSelect(query)`, closes the list and restores the field's text;
|
|
103
|
+
* it never changes the value or calls `onValueChange`. Independent of
|
|
104
|
+
* `allowCreate`.
|
|
105
|
+
*/
|
|
106
|
+
action?: ComboboxAction;
|
|
107
|
+
/**
|
|
108
|
+
* Open the list when the input gains focus. Default `true`. Set `false`
|
|
109
|
+
* where users Tab through many fields, such as a table column of
|
|
110
|
+
* comboboxes: focus then leaves the list shut, and typing, ArrowDown /
|
|
111
|
+
* ArrowUp (with or without Alt) or a pointer press on the input opens it.
|
|
112
|
+
*/
|
|
113
|
+
openOnFocus?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Width of the list. `'trigger'` (default) matches the field. `'sm'`,
|
|
116
|
+
* `'md'` and `'lg'` make it `--popover-size-sm` / `-md` / `-lg` wide, or
|
|
117
|
+
* the field's width when the field is wider, so a narrow field (a table
|
|
118
|
+
* cell) can open a readable list. Never wider than the screen allows.
|
|
119
|
+
*/
|
|
120
|
+
popoverSize?: 'trigger' | 'sm' | 'md' | 'lg';
|
|
121
|
+
/**
|
|
122
|
+
* Host results are on their way. The list carries `aria-busy`, shows a
|
|
123
|
+
* loading row while no option is listed, and holds back the empty message
|
|
124
|
+
* and the create row until the results arrive. A polite status outside
|
|
125
|
+
* the list says it is loading, then the outcome (the number of results, or
|
|
126
|
+
* the empty message). Pass a boolean from the start (not `undefined`) so
|
|
127
|
+
* that status is in place before it changes.
|
|
128
|
+
*/
|
|
129
|
+
loading?: boolean;
|
|
74
130
|
className?: string;
|
|
75
131
|
}
|
|
76
132
|
declare const comboboxInputVariants: (props?: ({
|
|
@@ -80,7 +136,9 @@ declare const comboboxWrapperVariants: (props?: ({
|
|
|
80
136
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
81
137
|
tone?: "default" | "error" | null | undefined;
|
|
82
138
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
83
|
-
declare const comboboxContentVariants: (props?:
|
|
139
|
+
declare const comboboxContentVariants: (props?: ({
|
|
140
|
+
popoverSize?: "sm" | "md" | "lg" | "trigger" | null | undefined;
|
|
141
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
84
142
|
declare const comboboxItemVariants: (props?: ({
|
|
85
143
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
86
144
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Combobox, comboboxInputVariants, comboboxWrapperVariants, comboboxContentVariants, comboboxItemVariants, } from './combobox';
|
|
2
|
-
export type { ComboboxProps, ComboboxOption } from './combobox';
|
|
2
|
+
export type { ComboboxProps, ComboboxOption, ComboboxAction } from './combobox';
|
|
3
3
|
export { comboboxAgent } from './combobox.agent';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-
|
|
1
|
+
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-BubJPyRB.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CONTACT_PROFILE_CARD_ROW_ICONS,
|
|
4
4
|
O as CONTACT_PROFILE_CARD_ROW_KEYS,
|
|
@@ -30,6 +30,9 @@ export interface DataGridRenderModel<TData extends object> {
|
|
|
30
30
|
dataMode: 'client' | 'server';
|
|
31
31
|
direction: 'ltr' | 'rtl';
|
|
32
32
|
privacyMode: boolean;
|
|
33
|
+
/** `DataGridProps.hostTextPrivacySafe`: host errors, descriptions and
|
|
34
|
+
* reasons show as written on a masked row. */
|
|
35
|
+
hostTextPrivacySafe: boolean;
|
|
33
36
|
pins: ReadonlyMap<string, DataGridPinPresentation>;
|
|
34
37
|
/** Visible leaf columns in DOM order (start-pinned, centre, end-pinned),
|
|
35
38
|
* the order `row.getVisibleCells()` uses. */
|
|
@@ -69,6 +72,9 @@ export declare function pinStyle(presentation: DataGridPinPresentation): CSSProp
|
|
|
69
72
|
export declare function isPrintable<TData>(kind: 'data' | 'group' | 'select' | 'expand', kit: DataGridColumn<TData> | undefined): boolean;
|
|
70
73
|
export declare const nameId: (idBase: string, itemIndex: number, cellIndex: number) => string;
|
|
71
74
|
export declare const detailId: (idBase: string, itemIndex: number) => string;
|
|
75
|
+
/** A data column's header cell. Encoded, since a column id is host text
|
|
76
|
+
* and an id reference list splits on white space. */
|
|
77
|
+
export declare const headerNameId: (idBase: string, columnId: string) => string;
|
|
72
78
|
export interface DataGridBodyProps<TData extends object> {
|
|
73
79
|
model: DataGridRenderModel<TData>;
|
|
74
80
|
bodyRef: RefObject<HTMLTableSectionElement | null>;
|
|
@@ -50,15 +50,7 @@ export declare const depthVariants: (props?: import("class-variance-authority/ty
|
|
|
50
50
|
export declare const headerContentVariants: (props?: ({
|
|
51
51
|
align?: "end" | "start" | null | undefined;
|
|
52
52
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
53
|
-
|
|
54
|
-
* 05:9 under the accessible themes (WCAG 2.5.5, AAA): a compact control
|
|
55
|
-
* grows to `--min-target-size` where `--accessible-target-floor` is set
|
|
56
|
-
* (`.theme-accessible`) and keeps its compact size elsewhere. The calendar
|
|
57
|
-
* toolbar's precedent (`ACCESSIBLE_TARGET_SQUARE_CLASS`).
|
|
58
|
-
*/
|
|
59
|
-
export declare const accessibleTargetBlockClass = "ds:[min-block-size:var(--accessible-target-floor,auto)]";
|
|
60
|
-
/** The same floor on both axes, for icon-only buttons. */
|
|
61
|
-
export declare const accessibleTargetSquareClass = "ds:[min-block-size:var(--accessible-target-floor,auto)] ds:[min-inline-size:var(--accessible-target-floor,auto)]";
|
|
53
|
+
export { accessibleTargetBlockClass, accessibleTargetSquareClass, } from '../_shared/accessible-target';
|
|
62
54
|
/** The sort button: the header label and the direction glyph. */
|
|
63
55
|
export declare const sortButtonVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
64
56
|
/** The direction glyph; muted while the column is unsorted. */
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { type NumberInputValidity } from '../number-input';
|
|
1
2
|
import type { DataGridColumnEdit, DataGridEditContext } from './types';
|
|
2
3
|
export interface DataGridEditorProps<TData> {
|
|
3
4
|
edit: DataGridColumnEdit<TData>;
|
|
4
5
|
row: TData;
|
|
5
6
|
context: DataGridEditContext;
|
|
7
|
+
/** Id of the cell's hidden host hint (number editor only). */
|
|
8
|
+
descriptionId?: string;
|
|
9
|
+
/** The number editor's own verdict, so the cell can show kit copy when
|
|
10
|
+
* the host's `error` says nothing. */
|
|
11
|
+
onNumberValidityChange?: (validity: NumberInputValidity) => void;
|
|
6
12
|
}
|
|
7
|
-
export declare function DataGridEditor<TData>({ edit, row, context, }: DataGridEditorProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function DataGridEditor<TData>({ edit, row, context, descriptionId, onNumberValidityChange, }: DataGridEditorProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
8
14
|
//# sourceMappingURL=editors.d.ts.map
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { D as _, a as D, b as
|
|
1
|
+
import { D as _, a as D, b as r, c as E, d as I, e as T, f as G } from "../../_chunks/data-grid-DiBSbN2Y.js";
|
|
2
|
+
import { D as s, a as R } from "../../_chunks/toolbar-z8vXnpXz.js";
|
|
2
3
|
export {
|
|
3
4
|
_ as DATA_GRID_DEFAULT_PAGE_SIZE,
|
|
4
5
|
D as DATA_GRID_MAX_SORT_LEVELS,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
r as DATA_GRID_PAGE_SIZE_OPTIONS,
|
|
7
|
+
E as DATA_GRID_RESPONSIVE_BREAKPOINTS,
|
|
8
|
+
I as DATA_GRID_VIRTUALIZE_ABOVE,
|
|
9
|
+
T as DataGrid,
|
|
10
|
+
s as DataGridToolbar,
|
|
11
|
+
R as DataGridToolbarProvider,
|
|
12
|
+
G as dataGridAgent
|
|
12
13
|
};
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -52,6 +52,16 @@ export declare function toggleDataGridRow(runtime: DataGridSelectionRuntime, anc
|
|
|
52
52
|
}, source: DataGridChangeSource): void;
|
|
53
53
|
/** Header box over selectable rows in scope only. */
|
|
54
54
|
export declare function getDataGridHeaderState(runtime: DataGridSelectionRuntime): boolean | 'indeterminate';
|
|
55
|
+
/**
|
|
56
|
+
* The header box is disabled when no row in scope can be selected (every
|
|
57
|
+
* row `locked` or `none`, or no rows). `null` while some row is
|
|
58
|
+
* selectable. Otherwise the reason the rows share (already resolved and
|
|
59
|
+
* privacy-masked by the engine), or `null` inside the object when they
|
|
60
|
+
* differ or give none, so the grid's default copy applies.
|
|
61
|
+
*/
|
|
62
|
+
export declare function getDataGridSelectAllBlock(runtime: DataGridSelectionRuntime): {
|
|
63
|
+
reason: string | null;
|
|
64
|
+
} | null;
|
|
55
65
|
export declare function toggleAllDataGridRows(runtime: DataGridSelectionRuntime, anchor: DataGridSelectionAnchor, checked: boolean, source: DataGridChangeSource): void;
|
|
56
66
|
/** The renderer's selection API (types.ts `DataGridSelectionApi`). */
|
|
57
67
|
export declare function createDataGridSelectionApi(runtime: DataGridSelectionRuntime, anchor: DataGridSelectionAnchor): DataGridSelectionApi;
|
|
@@ -2,7 +2,7 @@ import type { HTMLAttributes, ReactNode } from 'react';
|
|
|
2
2
|
import type { ButtonProps } from '../button/button';
|
|
3
3
|
import type { IconButtonProps } from '../button/icon-button';
|
|
4
4
|
import type { EmptyStateHeadingLevel } from '../empty-state';
|
|
5
|
-
import type { NumberInputMode } from '../number-input';
|
|
5
|
+
import type { NumberInputMode, NumberInputValidity } from '../number-input';
|
|
6
6
|
import type { DateRangeFilterModel, NumberFilterModel, NumberFilterOperator, SelectFilterModel, TableExportSnapshot, TableToolbarSeam, TextFilterModel, TextFilterOperator, ToolbarActionContext } from '../_shared/table-toolbar/seam';
|
|
7
7
|
/**
|
|
8
8
|
* Rows are virtualised when more than this many body items (rows plus open
|
|
@@ -75,11 +75,11 @@ export interface DataGridCellContext {
|
|
|
75
75
|
rowLabel: string;
|
|
76
76
|
/** Plain column name (`headerLabel`, or `header` when it is a string). */
|
|
77
77
|
columnLabel: string;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* text and never becomes an attribute. Built from `useId
|
|
82
|
-
* never from row data. */
|
|
78
|
+
/** Two ids: the column's visible header cell, then a `hidden` element in
|
|
79
|
+
* this cell holding the row name ("Quantity Nitrile gloves M"). Pass it
|
|
80
|
+
* as `aria-labelledby` on a control in the cell, so the row name stays
|
|
81
|
+
* text and never becomes an attribute. Built from `useId`, indexes and
|
|
82
|
+
* the encoded column id, never from row data. */
|
|
83
83
|
inputLabelledBy: string;
|
|
84
84
|
}
|
|
85
85
|
/** Context for a function `footer` (the pinned totals row). */
|
|
@@ -157,7 +157,19 @@ interface DataGridEditBase<TData, TValue> {
|
|
|
157
157
|
* a person. */
|
|
158
158
|
error?: (row: TData) => string | undefined;
|
|
159
159
|
}
|
|
160
|
-
/** Kit `NumberInput`, `variant="plain"`, `size="sm"`.
|
|
160
|
+
/** Kit `NumberInput`, `variant="plain"`, `size="sm"`.
|
|
161
|
+
*
|
|
162
|
+
* The value is a JavaScript number, exact to 15 significant digits. For
|
|
163
|
+
* decimal text such as FatturaPA quantities, convert on the way in with
|
|
164
|
+
* `decimalToNumber` and on the way out with `numberToDecimal` (from
|
|
165
|
+
* `@alfadocs/ui-kit/decimal`), and do arithmetic on the text with
|
|
166
|
+
* `multiplyDecimal` and `divideDecimal`, never on the number. A value
|
|
167
|
+
* past 15 significant digits belongs in a read-only cell.
|
|
168
|
+
*
|
|
169
|
+
* `onChange` reports `null` for an empty field and as soon as the typed
|
|
170
|
+
* text stops being a number. When `error` returns nothing, the kit shows
|
|
171
|
+
* its own message for the editor's verdict (not a number, below `min`,
|
|
172
|
+
* above `max`), so an invalid cell always has text. */
|
|
161
173
|
export interface DataGridNumberEdit<TData> extends DataGridEditBase<TData, number | null> {
|
|
162
174
|
kind: 'number';
|
|
163
175
|
/** Default `'decimal'`. */
|
|
@@ -167,10 +179,28 @@ export interface DataGridNumberEdit<TData> extends DataGridEditBase<TData, numbe
|
|
|
167
179
|
min?: number;
|
|
168
180
|
max?: number;
|
|
169
181
|
step?: number;
|
|
182
|
+
/** Most digits after the decimal separator, for `mode: 'decimal'` and
|
|
183
|
+
* `'currency'`. Forwarded to NumberInput: typing past it is refused and
|
|
184
|
+
* computed values are rounded to it. Default: the mode's own digits. */
|
|
185
|
+
maximumFractionDigits?: number;
|
|
186
|
+
/** Fewest digits after the separator in the display (`2` shows `12` as
|
|
187
|
+
* `12.00`). Display only; never more than `maximumFractionDigits`. */
|
|
188
|
+
minimumFractionDigits?: number;
|
|
170
189
|
/** Unit shown after the value (e.g. "pcs"). Translated by the host. A
|
|
171
190
|
* function gives a per-row unit (FatturaPA `UnitaMisura`); `undefined`
|
|
172
191
|
* shows none for that row. Data, never a translation key. */
|
|
173
192
|
unit?: string | ((row: TData) => string | undefined);
|
|
193
|
+
/** Hidden hint read with the field (`aria-describedby`), such as the
|
|
194
|
+
* precision it takes ("Up to 8 decimals"). Translated by the host. Not
|
|
195
|
+
* shown on a masked row under privacy mode. */
|
|
196
|
+
description?: (row: TData) => string | undefined;
|
|
197
|
+
/** NumberInput's own verdict for this row, on mount and on each change.
|
|
198
|
+
* `reason: 'format'` means the text on screen is not a number in this
|
|
199
|
+
* language ("1.5" in Italian), while `getValue` holds `null`: use it to
|
|
200
|
+
* tell an empty field from one that is not a number. For `'format'` the
|
|
201
|
+
* kit shows its own "Not a number" copy even when `error` returns text,
|
|
202
|
+
* since `error` sees only `null` there. */
|
|
203
|
+
onValidityChange?: (row: TData, validity: NumberInputValidity) => void;
|
|
174
204
|
}
|
|
175
205
|
/** Kit `TextInput`; commits on every change (controlled). */
|
|
176
206
|
export interface DataGridTextEdit<TData> extends DataGridEditBase<TData, string> {
|
|
@@ -196,8 +226,9 @@ export interface DataGridSelectEdit<TData> extends DataGridEditBase<TData, strin
|
|
|
196
226
|
export interface DataGridEditContext {
|
|
197
227
|
rowId: string;
|
|
198
228
|
columnId: string;
|
|
199
|
-
/**
|
|
200
|
-
* accessible name, by reference (
|
|
229
|
+
/** Ids of the visible column header and a `hidden` row-name element: the
|
|
230
|
+
* control's accessible name, by reference ("Quantity Nitrile gloves M";
|
|
231
|
+
* same as `DataGridCellContext.inputLabelledBy`). */
|
|
201
232
|
labelledBy: string;
|
|
202
233
|
/** Plain row name for visible text only (privacy rules as `getRowLabel`). */
|
|
203
234
|
rowLabel: string;
|
|
@@ -627,7 +658,8 @@ export interface DataGridProps<TData> extends Omit<HTMLAttributes<HTMLDivElement
|
|
|
627
658
|
* agent writes still work. Only the person's toggles are blocked.
|
|
628
659
|
* A locked row keeps its own reason. Under `privacyMode`, `reason` is
|
|
629
660
|
* replaced by the default kit copy (it may name a person, as a
|
|
630
|
-
* selectability reason may)
|
|
661
|
+
* selectability reason may), unless `hostTextPrivacySafe` is set.
|
|
662
|
+
* Default `false`.
|
|
631
663
|
*/
|
|
632
664
|
readOnly?: boolean | {
|
|
633
665
|
reason: string;
|
|
@@ -644,6 +676,17 @@ export interface DataGridProps<TData> extends Omit<HTMLAttributes<HTMLDivElement
|
|
|
644
676
|
* number, a product description), so it is used under privacy mode too.
|
|
645
677
|
* Default `false`. */
|
|
646
678
|
rowLabelPrivacySafe?: boolean;
|
|
679
|
+
/** The host promises that its own text never holds personal data: editor
|
|
680
|
+
* `error` and number `description`, selectability `reason` and
|
|
681
|
+
* `readOnly.reason`. Under
|
|
682
|
+
* privacy mode that text then shows as given on a masked row, instead of
|
|
683
|
+
* the neutral kit copy ("Check this value (message hidden in privacy
|
|
684
|
+
* mode)"). Cells, row labels and search stay masked as before.
|
|
685
|
+
*
|
|
686
|
+
* Set it only when every such string is built from translated copy and
|
|
687
|
+
* ids (a line number, a limit), never from row data such as a name or a
|
|
688
|
+
* description. Default `false`. */
|
|
689
|
+
hostTextPrivacySafe?: boolean;
|
|
647
690
|
/** `'loading'` with no rows: skeleton rows. With rows: rows stay at full
|
|
648
691
|
* contrast and focusable (no fading), `aria-busy` on the table, a kit
|
|
649
692
|
* `Spinner` in the frame. `'error'`: EmptyState `variant="error"` in the
|
|
@@ -1133,7 +1176,8 @@ export interface DataGridTableMeta {
|
|
|
1133
1176
|
/** Is this cell masked under privacy mode? */
|
|
1134
1177
|
isMasked: (rowId: string, columnId: string) => boolean;
|
|
1135
1178
|
/** Does privacy mode mask any cell of this row? Host text shown on such a
|
|
1136
|
-
* row (reasons, editor errors) gives way to kit copy.
|
|
1179
|
+
* row (reasons, editor errors) gives way to kit copy. Always `false`
|
|
1180
|
+
* when `hostTextPrivacySafe` is set. */
|
|
1137
1181
|
isRowMasked: (rowId: string) => boolean;
|
|
1138
1182
|
/** BCP 47 locale (`i18n.language`). The registered kit sort fns read it
|
|
1139
1183
|
* through `row.table.options.meta` for their `Intl.Collator`, since a
|
|
@@ -1170,6 +1214,12 @@ export interface DataGridSelectionApi {
|
|
|
1170
1214
|
scope: 'all' | 'page' | 'none';
|
|
1171
1215
|
/** Over selectable rows in scope only. */
|
|
1172
1216
|
headerState: boolean | 'indeterminate';
|
|
1217
|
+
/** `null` while some row in scope is selectable. Otherwise the header
|
|
1218
|
+
* box is disabled, with the reason every row shares, or `null` inside
|
|
1219
|
+
* for the default copy (`ui.dataGrid.selection.noneReason`). */
|
|
1220
|
+
selectAllBlock: {
|
|
1221
|
+
reason: string | null;
|
|
1222
|
+
} | null;
|
|
1173
1223
|
toggleAll(checked: boolean): void;
|
|
1174
1224
|
/** Radix Checkbox reports only `onCheckedChange` (`checkbox.tsx:111`), so
|
|
1175
1225
|
* the cell captures Shift on keydown and pointerdown and passes it here;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-
|
|
2
|
-
import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as f, r as m, u as E, w as h } from "../../_chunks/editable-currency-cell-renderer-
|
|
3
|
-
import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-
|
|
4
|
-
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-
|
|
1
|
+
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-DhYx-hCD.js";
|
|
2
|
+
import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as f, r as m, u as E, w as h } from "../../_chunks/editable-currency-cell-renderer-BlK-8A7b.js";
|
|
3
|
+
import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-NFNGdAGt.js";
|
|
4
|
+
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-DTaIQKp9.js";
|
|
5
5
|
export {
|
|
6
6
|
X as ActionsCellRenderer,
|
|
7
7
|
g as BalanceCellRenderer,
|
|
@@ -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-c1NJPw9F.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-86YVlMYJ.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-Bt07zQJU.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ANNOTATION_TOOL_KIND,
|
|
4
4
|
o as FACE_ANNOTATION_TOOLS,
|
|
@@ -10,10 +10,14 @@ export interface HeaderSettingsProps extends Omit<HTMLAttributes<HTMLDivElement>
|
|
|
10
10
|
align?: 'start' | 'end';
|
|
11
11
|
/**
|
|
12
12
|
* Size of the cog trigger only. Forwards to the underlying
|
|
13
|
-
* `IconButton`.
|
|
14
|
-
*
|
|
13
|
+
* `IconButton`. In the standard themes the cog shows that button's own
|
|
14
|
+
* box; in the accessible themes `sm` and `md` grow to the 48px target.
|
|
15
|
+
* Defaults to `md`. The hit area always meets `--min-target-size`,
|
|
16
|
+
* including on desktop: where the cog is smaller, an invisible box
|
|
17
|
+
* around it makes up the difference.
|
|
15
18
|
* Use `sm` when composing alongside other `<Button size="sm">`
|
|
16
|
-
* actions in a header row
|
|
19
|
+
* actions in a header row: in the standard themes the cog is then as
|
|
20
|
+
* tall as those buttons.
|
|
17
21
|
*
|
|
18
22
|
* The menu itself (language, appearance and accessible-mode rows)
|
|
19
23
|
* stays at kit defaults regardless — this prop only sizes the
|
|
@@ -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';
|
|
@@ -80,6 +84,8 @@ export * from './data-grid';
|
|
|
80
84
|
export * from './data-grid-tabs';
|
|
81
85
|
export * from './data-table';
|
|
82
86
|
export * from './data-table-tabs';
|
|
87
|
+
export { RowActions } from './row-actions';
|
|
88
|
+
export type { RowActionDef, RowActionsProps } from './row-actions';
|
|
83
89
|
export * from './clinical-note-card';
|
|
84
90
|
export * from './note-timeline';
|
|
85
91
|
export * from './description-list';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { MapView } from './map-view';
|
|
2
|
-
export type { MapViewProps, MapViewHandle, MapMarker, MapLatLng, MapFitPoint, MapBounds, MapBoundsChangeDetails, } from './map-view';
|
|
2
|
+
export type { MapViewProps, MapViewHandle, MapMarker, MapLatLng, MapFitPoint, MapBounds, MapBoundsChangeDetails, MapViewStaticPreview, MapMarkerHoverSource, } from './map-view';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|