@alfadocs/ui-kit 1.114.0 → 1.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/accessible-target-Bs9ELM3l.js +6 -0
- package/dist/_chunks/{actions-cell-renderer-BVn3vDTg.js → actions-cell-renderer-DzHxDyI7.js} +3 -3
- package/dist/_chunks/{address-fields-D5Ije0S2.js → address-fields-BFVCtfP2.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-BkgcGmu8.js → ai-permission-notice-C-xR2_iS.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CKkg3gc8.js → alia-sidebar-BBxbMRmX.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DaS-j8Jd.js → anamnesis-summary-rows-gEXqU5i5.js} +8 -8
- package/dist/_chunks/{antenatal-schedule-timeline-DmlXxevC.js → antenatal-schedule-timeline-va9zx7tJ.js} +11 -11
- package/dist/_chunks/{appointment-card-FKOnH1uJ.js → appointment-card-BMZoXaGx.js} +4 -4
- package/dist/_chunks/{appointment-peek-DWfcpoGy.js → appointment-peek-B1CCv-7J.js} +2 -2
- package/dist/_chunks/{appointment-timeline-eOi-y8m3.js → appointment-timeline-0k4LxODn.js} +4 -4
- package/dist/_chunks/{appointment-tray-C6oBvsG5.js → appointment-tray-DIxpgIXM.js} +2 -2
- package/dist/_chunks/{ar-C4YQVTH6.js → ar-BFvUBJ_g.js} +10 -10
- package/dist/_chunks/arrow-down-left-DECv-dJt.js +15 -0
- package/dist/_chunks/{balance-badge-cell-BAZynD--.js → balance-badge-cell-L7bD0Nsh.js} +28 -27
- package/dist/_chunks/bill-line-table-WEIRDcv6.js +1563 -0
- package/dist/_chunks/{bmi-calculator-Ba4yoR31.js → bmi-calculator-BjUfXqcY.js} +2 -2
- package/dist/_chunks/buildMatchPatternFn-jbaE1-W0.js +68 -0
- package/dist/_chunks/{button-group-CUnNnt8a.js → button-group-BvU9vRnX.js} +2 -2
- package/dist/_chunks/{calculator-dialog-D4TyJwqy.js → calculator-dialog-BGX5XQCM.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-iyh9QqNw.js → calendar-appointment-editor-dialog-DqZMb4yd.js} +527 -539
- package/dist/_chunks/{care-plan-card-DMjlYlFc.js → care-plan-card-CfV8jiF0.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-3hguBW45.js → care-plan-entry-card-Bt01kyTl.js} +4 -4
- package/dist/_chunks/{chart-bddVIElM.js → chart-BSx8cfMm.js} +2 -2
- package/dist/_chunks/{chat-container-baxzy8k8.js → chat-container-B83b4hut.js} +2 -2
- package/dist/_chunks/checkbox-DV4sNDeB.js +282 -0
- package/dist/_chunks/{checkbox-group-eGdv9fZc.js → checkbox-group-EfinQS1h.js} +2 -2
- package/dist/_chunks/chevrons-up-down-CgiVAHb7.js +15 -0
- package/dist/_chunks/circle-off-DuT9pVy2.js +16 -0
- package/dist/_chunks/combobox-BBCVQS-S.js +935 -0
- package/dist/_chunks/compact-editor-fields-6sTWRLtf.js +21 -0
- package/dist/_chunks/{contact-profile-card-DMXWBBkU.js → contact-profile-card-BRCHbQ3-.js} +2 -2
- package/dist/_chunks/{country-select-CUuGOAoZ.js → country-select-C2GdvRtS.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Dd-XbKmZ.js → cycle-calculator-Brd0PP4U.js} +6 -6
- package/dist/_chunks/{dashboard-grid-DrOkTtya.js → dashboard-grid-3aidD-IQ.js} +2 -2
- package/dist/_chunks/data-grid-ByhrYGVw.js +9814 -0
- package/dist/_chunks/data-grid-tabs-D9Y4DeeH.js +365 -0
- package/dist/_chunks/data-table-B47iw2CO.js +1694 -0
- package/dist/_chunks/data-table-tabs-NYLhD8_Z.js +242 -0
- package/dist/_chunks/date-locale-OG-MupVD.js +83 -0
- package/dist/_chunks/{date-picker-CdhXlgVI.js → date-picker-DBVTj6lO.js} +21 -20
- package/dist/_chunks/{date-picker-variants-Dt6UbonG.js → date-picker-variants-J1EeAhIH.js} +601 -678
- package/dist/_chunks/date-range-panel-B-DUtfw3.js +62 -0
- package/dist/_chunks/{date-range-picker-DCADIR8o.js → date-range-picker-PTRpDkXT.js} +72 -70
- package/dist/_chunks/{date-time-picker-CT2bC7-A.js → date-time-picker-CJnqiQoT.js} +22 -21
- package/dist/_chunks/{de-B1B3PIgY.js → de-i9wbjGPc.js} +2 -2
- package/dist/_chunks/default-tabs-BQcSqcNG.js +2250 -0
- package/dist/_chunks/dialog-CIUn5oLb.js +348 -0
- package/dist/_chunks/{document-preview-WvJKHJOP.js → document-preview-B_JGHsEW.js} +2 -2
- package/dist/_chunks/{dropdown-menu-CqxBthww.js → dropdown-menu-Dmbak7q6.js} +320 -248
- package/dist/_chunks/{due-date-calculator-Dl6SyMHO.js → due-date-calculator-DzIQXEX5.js} +7 -7
- package/dist/_chunks/{editable-currency-cell-renderer-BUdFMh67.js → editable-currency-cell-renderer-p-Q1UkZS.js} +3 -3
- package/dist/_chunks/{el-iLqGpapg.js → el-Cm-rWthb.js} +20 -20
- package/dist/_chunks/{en-GB-CxPRQbD6.js → en-GB-BHn82gW8.js} +11 -10
- package/dist/_chunks/en-US-C4QKhzhA.js +46 -0
- package/dist/_chunks/{es-Bg1oqwDs.js → es-B_6Z19UA.js} +4 -4
- package/dist/_chunks/export-files-BByoK9Cg.js +248 -0
- package/dist/_chunks/{face-scheme-DlcQaQVR.js → face-scheme-CEjJUnNe.js} +19 -18
- package/dist/_chunks/{fetal-weight-DmZzMRzB.js → fetal-weight-CJTlfh_k.js} +2 -2
- package/dist/_chunks/{file-manager-LG7B_UHB.js → file-manager-DEe51ZDe.js} +5 -5
- package/dist/_chunks/format-price-CIX0YJZn.js +179 -0
- package/dist/_chunks/format-ql5WTsYT.js +846 -0
- package/dist/_chunks/{fr-DpGxyOGI.js → fr-gTba51QO.js} +7 -7
- package/dist/_chunks/funnel-DpPV3Qkd.js +20 -0
- package/dist/_chunks/{gestational-age-calculator-DmzYdW5e.js → gestational-age-calculator-60y1RyQL.js} +7 -7
- package/dist/_chunks/grid-context-jn9y8tNE.js +46 -0
- package/dist/_chunks/{hcg-doubling-Tr72PetS.js → hcg-doubling-BUZQkSYC.js} +7 -6
- package/dist/_chunks/{header-settings-Df9q1uHt.js → header-settings-DNgvO8fS.js} +2 -2
- package/dist/_chunks/{heatmap-CNxCDl0D.js → heatmap-tn1WxoMT.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-CWxgjDZl.js → help-me-write-templates-C28E_rOt.js} +2 -2
- package/dist/_chunks/{hi-3Dtsksrw.js → hi-BIHq9ncx.js} +10 -10
- package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
- package/dist/_chunks/icon-button-group-Ca2VkXy5.js +442 -0
- package/dist/_chunks/{index-CJE9uQmb.js → index-Bze5jCG_.js} +2 -1
- package/dist/_chunks/{isSameWeek-DyVftHWi.js → isSameWeek-CZOtDcsd.js} +2 -2
- package/dist/_chunks/{it-Cp0CA13d.js → it-DaCPWJ9Y.js} +11 -11
- package/dist/_chunks/{ja-9FOyR1lb.js → ja-BRCpkD95.js} +26 -26
- package/dist/_chunks/{kit-extensions-DZJRmDI6.js → kit-extensions-BFfLg7c-.js} +7 -7
- package/dist/_chunks/link-cell-renderer-D-Io828l.js +800 -0
- package/dist/_chunks/{login-dev-card-D7orCfJT.js → login-dev-card-CPndtWdz.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-CPNVBVLH.js → marketplace-app-shell-CBHNg8x-.js} +5 -5
- package/dist/_chunks/match-BATShpSX.js +336 -0
- package/dist/_chunks/money-OE6_oDPH.js +138 -0
- package/dist/_chunks/{muscle-scheme-BkmDUTmk.js → muscle-scheme-7UsRsCHP.js} +2 -2
- package/dist/_chunks/{nl-sfx-zJgR.js → nl-5tAwYo00.js} +6 -6
- package/dist/_chunks/normalizeDates-BBNNIR-v.js +36 -0
- package/dist/_chunks/{notes-panel-DXMTObBv.js → notes-panel-DexbfrFo.js} +3 -3
- package/dist/_chunks/number-input-DUSvP7Dq.js +625 -0
- package/dist/_chunks/{optical-prescription-CvbN8yD2.js → optical-prescription-Da_r8pMr.js} +2 -2
- package/dist/_chunks/{parse-B0s7bY4d.js → parse-BLBWPIgE.js} +63 -61
- package/dist/_chunks/{parseISO-DZZ5a-zK.js → parseISO-Dl4T9peU.js} +2 -2
- package/dist/_chunks/parts-CtcTW1PN.js +869 -0
- package/dist/_chunks/{patient-details-DdtXBNjt.js → patient-details-PJ0Y__7t.js} +2 -2
- package/dist/_chunks/{patient-field-row-D9rb-QJH.js → patient-field-row-0QP8KCVp.js} +7 -7
- package/dist/_chunks/{patient-search-DDRDCjZi.js → patient-search-Bdx_Ob3y.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CGHz-Bvm.js → patient-summary-card-BOfXDP8a.js} +4 -4
- package/dist/_chunks/{payment-request-card-BmV2pLoM.js → payment-request-card-_04afZEx.js} +14 -13
- package/dist/_chunks/{periodontal-diagnosis-xheWfi4g.js → periodontal-diagnosis-DnZuZD14.js} +2 -2
- package/dist/_chunks/{permission-matrix-BJ6sg3Zp.js → permission-matrix-BXmhICzN.js} +3 -3
- package/dist/_chunks/{pl-BLh7KO-s.js → pl-mLYbfByR.js} +7 -7
- package/dist/_chunks/{practice-results-BlxfBx-D.js → practice-results-CrBjScXX.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-BvorzHrd.js → pregnancy-dating-Bg_VUPwl.js} +8 -8
- package/dist/_chunks/{pregnancy-weight-gain-DQoOM8QV.js → pregnancy-weight-gain-B-eXFdmq.js} +2 -2
- package/dist/_chunks/privacy-mask-BlJK51MD.js +78 -0
- package/dist/_chunks/privacy-mask-text-B8YfzB7L.js +7 -0
- package/dist/_chunks/{province-select-cVOlwEc5.js → province-select-CTM8A9SM.js} +2 -2
- package/dist/_chunks/{pt-CPKOrOLj.js → pt-CgaqtlD9.js} +6 -6
- package/dist/_chunks/{radiograph-panel.agent-CXah49KM.js → radiograph-panel.agent-9jwXlOXB.js} +4 -4
- package/dist/_chunks/{registration-form-Lw9T7IXr.js → registration-form-DW-0X7S4.js} +2 -2
- package/dist/_chunks/{reserved.agent-D2jwJPac.js → reserved.agent-C1zRHaya.js} +12 -12
- package/dist/_chunks/{rich-text-editor-BLS2cK-u.js → rich-text-editor-r80Zw8ll.js} +14 -13
- package/dist/_chunks/{ro-Dc-oNqbF.js → ro-CpDg1-8v.js} +2 -2
- package/dist/_chunks/row-actions-Df7TJbNR.js +213 -0
- package/dist/_chunks/{ru-BtNpDZRR.js → ru-B7VMyjud.js} +9 -9
- package/dist/_chunks/saved-view-tabs-DLWm88Eq.js +932 -0
- package/dist/_chunks/{send-registration-link-form-DfbTjrEK.js → send-registration-link-form-DWxWa_cJ.js} +5 -5
- package/dist/_chunks/{sidebar-2VsPlNkZ.js → sidebar-D5DFYN5K.js} +326 -335
- package/dist/_chunks/{signature-request-BnTihryS.js → signature-request-CgvjLic3.js} +3 -3
- package/dist/_chunks/{slot-grid-BhjaLJ0o.js → slot-grid-b4eZXokb.js} +3 -3
- package/dist/_chunks/{sq-D4c7olaV.js → sq-B0Ree_9P.js} +2 -2
- package/dist/_chunks/subDays-Bsoy023P.js +8 -0
- package/dist/_chunks/{sv-Bf_dHPvh.js → sv-D9fP66O7.js} +4 -4
- package/dist/_chunks/{tab-bar-C_pggqVr.js → tab-bar-DTn8pHqH.js} +2 -2
- package/dist/_chunks/{tabs-CXYjr_8O.js → tabs-CsmgkiG6.js} +2 -2
- package/dist/_chunks/{tag-DOZGz0fT.js → tag-BNlcEJfE.js} +70 -67
- package/dist/_chunks/{task-card-DqVoitRk.js → task-card-BNbkwIYM.js} +2 -2
- package/dist/_chunks/{task-editor-D--LwVrg.js → task-editor-DgUjtqpX.js} +386 -410
- package/dist/_chunks/{task-tray-C6j8HVMv.js → task-tray-Bmi9wCHq.js} +2 -2
- package/dist/_chunks/{tasks-panel-D6PuF4MQ.js → tasks-panel-B5Nsf10r.js} +3 -3
- package/dist/_chunks/{theme-toggle-Czq3K9jB.js → theme-toggle-DfvdEg_V.js} +3 -3
- package/dist/_chunks/{token-insert-menu-Dl3x2ekR.js → token-insert-menu-BdcmK5Um.js} +2 -2
- package/dist/_chunks/toolbar-DbUQBrq4.js +159 -0
- package/dist/_chunks/{tooth-scheme-C-ALCHaV.js → tooth-scheme-LTkT4EXd.js} +2 -2
- package/dist/_chunks/{tr-xqQ6cbGY.js → tr-Bcz5LCHZ.js} +2 -2
- package/dist/_chunks/{transaction-chip-CohY6sTA.js → transaction-chip-CkYd-3ky.js} +47 -57
- package/dist/_chunks/{transcript-panel-A781Pkzr.js → transcript-panel-Wr8e4Zgi.js} +2 -2
- package/dist/_chunks/{treatment-receipt-pFqWFyD_.js → treatment-receipt-1VnuinhY.js} +3 -3
- package/dist/_chunks/undo-2-EBxWjj1W.js +15 -0
- package/dist/_chunks/{unit-converter-D77vmlzN.js → unit-converter-YKlHyUC2.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BK_Gw1GG.js → use-appointment-details-read-_r7cjTtm.js} +8 -8
- package/dist/_chunks/{verify-identity-types-C85EXNzy.js → verify-identity-types-D_LdByCp.js} +2 -2
- package/dist/_chunks/{voice-control-panel-BGiX4sqB.js → voice-control-panel-Be_c0CQ0.js} +2 -2
- package/dist/_chunks/{widget-picker-U4JsEhQE.js → widget-picker-DrxJjEkv.js} +2 -2
- package/dist/_chunks/{workflow-map-B4XkcET0.js → workflow-map-D-u8_YSr.js} +2 -2
- package/dist/_chunks/{workflow-status-9wb7iWUd.js → workflow-status-fykpTxfb.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-CtBn5JvO.js → workflow-webhook-action-DM3W8XZE.js} +3 -3
- package/dist/_chunks/{zh-CN-C657DBCO.js → zh-CN-B7Ek17US.js} +11 -11
- package/dist/agent-catalog.json +3359 -1569
- package/dist/agent-i18n/en.json +100 -2
- package/dist/components/_shared/accessible-target.d.ts +12 -0
- package/dist/components/_shared/decimal.d.ts +171 -0
- package/dist/components/_shared/format-price.d.ts +54 -2
- package/dist/components/_shared/privacy-mask-text.d.ts +4 -0
- package/dist/components/_shared/privacy-mask.d.ts +2 -4
- package/dist/components/_shared/saved-view-tabs/saved-tab.d.ts +54 -0
- package/dist/components/_shared/saved-view-tabs/saved-view-tabs.d.ts +93 -0
- package/dist/components/_shared/saved-view-tabs/use-saved-view-tabs.d.ts +59 -0
- package/dist/components/_shared/saved-view-tabs/view-adapter.d.ts +69 -0
- package/dist/components/_shared/table-filters/calendar-day.d.ts +27 -0
- package/dist/components/_shared/table-filters/predicates.d.ts +56 -0
- package/dist/components/_shared/table-toolbar/context.d.ts +28 -0
- package/dist/components/_shared/table-toolbar/describe-filter.d.ts +42 -0
- package/dist/components/_shared/table-toolbar/export-files.d.ts +47 -0
- package/dist/components/{data-table/xlsx-export.d.ts → _shared/table-toolbar/export-xlsx.d.ts} +2 -2
- package/dist/components/_shared/table-toolbar/parts.d.ts +125 -0
- package/dist/components/_shared/table-toolbar/seam.d.ts +261 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/bill-line-table.agent.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +47 -0
- package/dist/components/bill-line-table/bill-line-table.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.model.d.ts +173 -0
- package/dist/components/bill-line-table/bill-line-table.types.d.ts +443 -0
- package/dist/components/bill-line-table/bill-line-table.variants.d.ts +34 -0
- package/dist/components/bill-line-table/index.d.ts +6 -0
- package/dist/components/bill-line-table/index.js +23 -0
- package/dist/components/bill-table/bill-table.agent.d.ts +4 -0
- package/dist/components/bill-table/bill-table.d.ts +13 -0
- package/dist/components/bill-table/bill-table.variants.d.ts +55 -0
- package/dist/components/bill-table/cells.d.ts +89 -0
- package/dist/components/bill-table/columns.d.ts +21 -0
- package/dist/components/bill-table/default-tabs.d.ts +21 -0
- package/dist/components/bill-table/handle.d.ts +19 -0
- package/dist/components/bill-table/index.d.ts +7 -0
- package/dist/components/bill-table/index.js +19 -0
- package/dist/components/bill-table/model.d.ts +103 -0
- package/dist/components/bill-table/row-actions.d.ts +27 -0
- package/dist/components/bill-table/status-maps.d.ts +225 -0
- package/dist/components/bill-table/types.d.ts +542 -0
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +66 -6
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +59 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-grid/announcer.d.ts +27 -0
- package/dist/components/data-grid/body.d.ts +101 -0
- package/dist/components/data-grid/columns.d.ts +96 -0
- package/dist/components/data-grid/data-grid.agent.d.ts +2 -1
- package/dist/components/data-grid/data-grid.d.ts +11 -27
- package/dist/components/data-grid/data-grid.variants.d.ts +110 -0
- package/dist/components/data-grid/editors.d.ts +14 -0
- package/dist/components/data-grid/export-snapshot.d.ts +3 -0
- package/dist/components/data-grid/features.d.ts +56 -0
- package/dist/components/data-grid/filter-fns.d.ts +23 -0
- package/dist/components/data-grid/filters/date-range-panel.d.ts +8 -0
- package/dist/components/data-grid/filters/filter-panels.d.ts +27 -0
- package/dist/components/data-grid/filters/filter-trigger.d.ts +7 -0
- package/dist/components/data-grid/footer.d.ts +10 -0
- package/dist/components/data-grid/grid-context.d.ts +18 -0
- package/dist/components/data-grid/handle.d.ts +60 -0
- package/dist/components/data-grid/header.d.ts +12 -0
- package/dist/components/data-grid/index.d.ts +3 -0
- package/dist/components/data-grid/index.js +11 -3
- package/dist/components/data-grid/keyboard.d.ts +76 -0
- package/dist/components/data-grid/pager.d.ts +18 -0
- package/dist/components/data-grid/persistence.d.ts +60 -0
- package/dist/components/data-grid/print.d.ts +10 -0
- package/dist/components/data-grid/responsive.d.ts +36 -0
- package/dist/components/data-grid/selection.d.ts +68 -0
- package/dist/components/data-grid/state.d.ts +119 -0
- package/dist/components/data-grid/states.d.ts +34 -0
- package/dist/components/data-grid/toolbar-seam.d.ts +7 -0
- package/dist/components/data-grid/toolbar.d.ts +41 -0
- package/dist/components/data-grid/types.d.ts +1396 -0
- package/dist/components/data-grid/use-data-grid-engine.d.ts +9 -0
- package/dist/components/data-grid/virtual-rows.d.ts +43 -0
- package/dist/components/data-grid-tabs/data-grid-tabs.agent.d.ts +9 -0
- package/dist/components/data-grid-tabs/data-grid-tabs.d.ts +4 -0
- package/dist/components/data-grid-tabs/grid-view-adapter.d.ts +15 -0
- package/dist/components/data-grid-tabs/index.d.ts +5 -0
- package/dist/components/data-grid-tabs/index.js +8 -0
- package/dist/components/data-grid-tabs/types.d.ts +220 -0
- package/dist/components/data-table/ag-toolbar-seam.d.ts +35 -0
- package/dist/components/data-table/calendar-day.d.ts +4 -21
- package/dist/components/data-table/data-table.d.ts +10 -6
- package/dist/components/data-table/filters/date-range-filter.d.ts +5 -9
- package/dist/components/data-table/filters/filter-kind.d.ts +6 -0
- package/dist/components/data-table/filters/number-filter.d.ts +6 -10
- package/dist/components/data-table/filters/select-filter.d.ts +2 -4
- package/dist/components/data-table/filters/text-filter.d.ts +2 -5
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table/toolbar.d.ts +25 -21
- package/dist/components/data-table-tabs/ag-view-adapter.d.ts +17 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts +34 -33
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +11 -66
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/focus-return.d.ts +12 -0
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -0
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +19 -1
- package/dist/components/icon-button-group/index.d.ts +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/index.d.ts +7 -0
- package/dist/components/money/index.js +1 -1
- package/dist/components/money/money.d.ts +39 -6
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/number-input/index.d.ts +2 -2
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.d.ts +43 -2
- package/dist/components/number-input/use-locale-number.d.ts +67 -3
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/row-actions/index.d.ts +3 -0
- package/dist/components/row-actions/index.js +5 -0
- package/dist/components/row-actions/row-actions.d.ts +63 -0
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/smart-date/smart-date.d.ts +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/decimal/index.js +149 -0
- package/dist/host-compat.css +36 -2
- package/dist/i18n/locales/ar.d.ts +342 -0
- package/dist/i18n/locales/ar.js +344 -2
- package/dist/i18n/locales/de.d.ts +342 -0
- package/dist/i18n/locales/de.js +344 -2
- package/dist/i18n/locales/el.d.ts +342 -0
- package/dist/i18n/locales/el.js +344 -2
- package/dist/i18n/locales/en.d.ts +342 -0
- package/dist/i18n/locales/en.js +345 -2
- package/dist/i18n/locales/es.d.ts +342 -0
- package/dist/i18n/locales/es.js +344 -2
- package/dist/i18n/locales/fr.d.ts +342 -0
- package/dist/i18n/locales/fr.js +344 -2
- package/dist/i18n/locales/hi.d.ts +342 -0
- package/dist/i18n/locales/hi.js +344 -2
- package/dist/i18n/locales/it.d.ts +342 -0
- package/dist/i18n/locales/it.js +344 -2
- package/dist/i18n/locales/ja.d.ts +342 -0
- package/dist/i18n/locales/ja.js +344 -2
- package/dist/i18n/locales/nl.d.ts +342 -0
- package/dist/i18n/locales/nl.js +344 -2
- package/dist/i18n/locales/pl.d.ts +342 -0
- package/dist/i18n/locales/pl.js +344 -2
- package/dist/i18n/locales/pt.d.ts +342 -0
- package/dist/i18n/locales/pt.js +344 -2
- package/dist/i18n/locales/ro.d.ts +342 -0
- package/dist/i18n/locales/ro.js +344 -2
- package/dist/i18n/locales/ru.d.ts +342 -0
- package/dist/i18n/locales/ru.js +344 -2
- package/dist/i18n/locales/sq.d.ts +342 -0
- package/dist/i18n/locales/sq.js +344 -2
- package/dist/i18n/locales/sv.d.ts +342 -0
- package/dist/i18n/locales/sv.js +344 -2
- package/dist/i18n/locales/tr.d.ts +342 -0
- package/dist/i18n/locales/tr.js +344 -2
- package/dist/i18n/locales/zh.d.ts +342 -0
- package/dist/i18n/locales/zh.js +344 -2
- package/dist/index.js +1305 -1241
- package/dist/locales/ar.json +344 -2
- package/dist/locales/de.json +344 -2
- package/dist/locales/el.json +344 -2
- package/dist/locales/en.json +344 -2
- package/dist/locales/es.json +344 -2
- package/dist/locales/fr.json +344 -2
- package/dist/locales/hi.json +344 -2
- package/dist/locales/it.json +344 -2
- package/dist/locales/ja.json +344 -2
- package/dist/locales/nl.json +344 -2
- package/dist/locales/pl.json +344 -2
- package/dist/locales/pt.json +344 -2
- package/dist/locales/ro.json +344 -2
- package/dist/locales/ru.json +344 -2
- package/dist/locales/sq.json +344 -2
- package/dist/locales/sv.json +344 -2
- package/dist/locales/tr.json +344 -2
- package/dist/locales/zh.json +344 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +21 -1
- package/dist/_chunks/checkbox-a7Sh-dXb.js +0 -227
- package/dist/_chunks/combobox-duuDRI1t.js +0 -688
- package/dist/_chunks/data-grid.agent-CASyEAnb.js +0 -1773
- package/dist/_chunks/data-table-C9idMvs0.js +0 -2042
- package/dist/_chunks/data-table-tabs-Db7zToFD.js +0 -728
- package/dist/_chunks/dialog-BTjSQjdY.js +0 -274
- package/dist/_chunks/format--x5jypvH.js +0 -1319
- package/dist/_chunks/format-price-BcFBa-WP.js +0 -52
- package/dist/_chunks/icon-button-group-mXvYDaba.js +0 -427
- package/dist/_chunks/link-cell-renderer-_Fv3WEmb.js +0 -867
- package/dist/_chunks/money-Tsczpjfz.js +0 -102
- package/dist/_chunks/number-input-CVwI1ltI.js +0 -423
- package/dist/_chunks/privacy-mask-Dc3kdkCR.js +0 -81
- package/dist/_chunks/subDays-DKISP2nE.js +0 -8
- package/dist/_chunks/undo-2-CYNAzclj.js +0 -26
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { jsxs as V, jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as z, useMemo as N } from "react";
|
|
3
|
-
import { c as Z } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as $ } from "react-i18next";
|
|
5
|
-
import { V as O } from "./visually-hidden-BHxEUGyT.js";
|
|
6
|
-
import { f as R, a as T } from "./format-price-BcFBa-WP.js";
|
|
7
|
-
const U = Z(
|
|
8
|
-
[
|
|
9
|
-
"ds:inline-flex ds:items-baseline ds:whitespace-nowrap",
|
|
10
|
-
// Lining, fixed-width figures: without these a column of amounts
|
|
11
|
-
// wanders because glyph widths differ between digits.
|
|
12
|
-
"ds:tabular-nums"
|
|
13
|
-
].join(" "),
|
|
14
|
-
{
|
|
15
|
-
variants: {
|
|
16
|
-
size: {
|
|
17
|
-
sm: "type-body-sm",
|
|
18
|
-
md: "type-body",
|
|
19
|
-
lg: "type-title-item"
|
|
20
|
-
},
|
|
21
|
-
tone: {
|
|
22
|
-
default: "ds:text-[color:var(--foreground)]",
|
|
23
|
-
muted: "ds:text-[color:var(--muted-foreground)]",
|
|
24
|
-
positive: "ds:text-[color:var(--success-foreground)]",
|
|
25
|
-
negative: "ds:text-[color:var(--destructive)]"
|
|
26
|
-
},
|
|
27
|
-
strikethrough: {
|
|
28
|
-
true: "ds:line-through ds:decoration-from-font",
|
|
29
|
-
false: ""
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
defaultVariants: { size: "md", tone: "default", strikethrough: !1 }
|
|
33
|
-
}
|
|
34
|
-
), C = z(
|
|
35
|
-
({
|
|
36
|
-
value: o,
|
|
37
|
-
currency: s = "EUR",
|
|
38
|
-
locale: v,
|
|
39
|
-
size: x,
|
|
40
|
-
tone: l = "default",
|
|
41
|
-
decimals: a = "full",
|
|
42
|
-
signDisplay: m = "auto",
|
|
43
|
-
strikethrough: y,
|
|
44
|
-
className: g,
|
|
45
|
-
...h
|
|
46
|
-
}, j) => {
|
|
47
|
-
const { i18n: b } = $("ui"), n = v ?? b.language, { nodes: k, full: w } = N(() => {
|
|
48
|
-
const e = R(
|
|
49
|
-
o,
|
|
50
|
-
s,
|
|
51
|
-
n,
|
|
52
|
-
m === "always" ? { signDisplay: "exceptZero" } : {}
|
|
53
|
-
), f = T(o, s, n);
|
|
54
|
-
if (!e)
|
|
55
|
-
return { nodes: [{ text: f, muted: !1 }], full: f };
|
|
56
|
-
const i = e.map((t) => t.value).join(""), P = e.filter((t) => t.type === "fraction").every((t) => /^0+$/.test(t.value)), u = (t) => t === "decimal" || t === "fraction";
|
|
57
|
-
if (a === "hideWhenZero" && P) {
|
|
58
|
-
const c = e.filter((d) => !u(d.type)).map((d) => d.value).join("").trim();
|
|
59
|
-
return { nodes: [{ text: c, muted: !1 }], full: c };
|
|
60
|
-
}
|
|
61
|
-
return a === "muted" ? {
|
|
62
|
-
nodes: e.map((t) => ({
|
|
63
|
-
text: t.value,
|
|
64
|
-
muted: u(t.type)
|
|
65
|
-
})),
|
|
66
|
-
full: i
|
|
67
|
-
} : { nodes: [{ text: i, muted: !1 }], full: i };
|
|
68
|
-
}, [o, s, n, a, m]), M = l === "auto" ? o < 0 ? "negative" : "default" : l;
|
|
69
|
-
return /* @__PURE__ */ V(
|
|
70
|
-
"span",
|
|
71
|
-
{
|
|
72
|
-
ref: j,
|
|
73
|
-
"data-component": "money",
|
|
74
|
-
"data-currency": s.toUpperCase(),
|
|
75
|
-
className: U({
|
|
76
|
-
size: x,
|
|
77
|
-
tone: M,
|
|
78
|
-
strikethrough: y,
|
|
79
|
-
className: g
|
|
80
|
-
}),
|
|
81
|
-
...h,
|
|
82
|
-
children: [
|
|
83
|
-
k.map((r, e) => /* @__PURE__ */ p(
|
|
84
|
-
"span",
|
|
85
|
-
{
|
|
86
|
-
"aria-hidden": "true",
|
|
87
|
-
className: r.muted ? "ds:opacity-70 ds:[font-size:0.85em]" : void 0,
|
|
88
|
-
children: r.text
|
|
89
|
-
},
|
|
90
|
-
`${e}-${r.text}`
|
|
91
|
-
)),
|
|
92
|
-
/* @__PURE__ */ p(O, { children: w })
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
);
|
|
98
|
-
C.displayName = "Money";
|
|
99
|
-
export {
|
|
100
|
-
C as M
|
|
101
|
-
};
|
|
102
|
-
//# sourceMappingURL=money-Tsczpjfz.js.map
|
|
@@ -1,423 +0,0 @@
|
|
|
1
|
-
import { jsxs as Se, jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo as te, forwardRef as ke, useId as ze, useRef as q, useCallback as T, useState as H, useEffect as Me } from "react";
|
|
3
|
-
import { c as W } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as Ue } from "react-i18next";
|
|
5
|
-
import { u as Te } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
|
-
import { u as Pe, a as Be } from "./form-field-context-DtiROUJV.js";
|
|
7
|
-
import { c as Re } from "./compose-refs-C0k0tdqF.js";
|
|
8
|
-
import { u as Ae } from "./registry-DvAUVLHh.js";
|
|
9
|
-
import { C as je } from "./chevron-down-DWE7GSq9.js";
|
|
10
|
-
import { C as Ee } from "./chevron-up-umRGgtJA.js";
|
|
11
|
-
const Le = {
|
|
12
|
-
id: "number-input",
|
|
13
|
-
capabilities: ["set_value"],
|
|
14
|
-
state: {
|
|
15
|
-
value: {
|
|
16
|
-
type: "number | null",
|
|
17
|
-
descriptionKey: "ui.agent.numberInput.state.value",
|
|
18
|
-
description: "Current numeric value, or null when empty.",
|
|
19
|
-
read: (n) => n.getValue()
|
|
20
|
-
},
|
|
21
|
-
isEmpty: {
|
|
22
|
-
type: "boolean",
|
|
23
|
-
descriptionKey: "ui.agent.numberInput.state.isEmpty",
|
|
24
|
-
description: "Whether the input has no value.",
|
|
25
|
-
read: (n) => n.getValue() === null
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
actions: {
|
|
29
|
-
set_value: {
|
|
30
|
-
safety: "write",
|
|
31
|
-
argsType: "{ value: number | null }",
|
|
32
|
-
argsSchema: {
|
|
33
|
-
type: "object",
|
|
34
|
-
properties: { value: { type: ["number", "null"] } },
|
|
35
|
-
required: ["value"]
|
|
36
|
-
},
|
|
37
|
-
idempotent: !0,
|
|
38
|
-
examples: [{ args: { value: 42 } }, { args: { value: null } }],
|
|
39
|
-
descriptionKey: "ui.agent.numberInput.actions.setValue",
|
|
40
|
-
description: "Replace the numeric value, or pass null to clear.",
|
|
41
|
-
invoke: (n, s) => {
|
|
42
|
-
n.setValue(s.value);
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
clear: {
|
|
46
|
-
safety: "destructive",
|
|
47
|
-
idempotent: !0,
|
|
48
|
-
descriptionKey: "ui.agent.numberInput.actions.clear",
|
|
49
|
-
description: "Empty the input. Loses any typed value.",
|
|
50
|
-
invoke: (n) => {
|
|
51
|
-
n.clear();
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
focus: {
|
|
55
|
-
safety: "read",
|
|
56
|
-
idempotent: !0,
|
|
57
|
-
descriptionKey: "ui.agent.numberInput.actions.focus",
|
|
58
|
-
description: "Move keyboard focus to the input.",
|
|
59
|
-
invoke: (n) => {
|
|
60
|
-
n.focus();
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
domHooks: {
|
|
65
|
-
root: {
|
|
66
|
-
attr: "data-component",
|
|
67
|
-
value: "number-input",
|
|
68
|
-
description: "Marks the NumberInput wrapper."
|
|
69
|
-
},
|
|
70
|
-
instanceId: {
|
|
71
|
-
attr: "data-component-id",
|
|
72
|
-
sourceProp: "id",
|
|
73
|
-
description: "Sourced from the id prop."
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
function Ke(n) {
|
|
78
|
-
let s = "";
|
|
79
|
-
for (const l of n) {
|
|
80
|
-
const r = l.codePointAt(0);
|
|
81
|
-
r !== void 0 && (r >= 1632 && r <= 1641 ? s += String.fromCodePoint(48 + (r - 1632)) : r >= 1776 && r <= 1785 ? s += String.fromCodePoint(48 + (r - 1776)) : s += l);
|
|
82
|
-
}
|
|
83
|
-
return s;
|
|
84
|
-
}
|
|
85
|
-
function qe(n, s, l) {
|
|
86
|
-
return te(() => {
|
|
87
|
-
var k, m;
|
|
88
|
-
const r = new Intl.NumberFormat(n).formatToParts(1234.5), u = ((k = r.find((o) => o.type === "decimal")) == null ? void 0 : k.value) ?? ".", S = ((m = r.find((o) => o.type === "group")) == null ? void 0 : m.value) ?? ",", p = s === "currency" ? new Intl.NumberFormat(n, {
|
|
89
|
-
style: "currency",
|
|
90
|
-
currency: l ?? "USD"
|
|
91
|
-
}) : s === "percentage" ? new Intl.NumberFormat(n, {
|
|
92
|
-
style: "percent",
|
|
93
|
-
maximumFractionDigits: 4
|
|
94
|
-
}) : s === "integer" ? new Intl.NumberFormat(n, { maximumFractionDigits: 0 }) : new Intl.NumberFormat(n, { maximumFractionDigits: 10 }), P = (o) => Number.isFinite(o) ? p.format(o) : "", B = (o) => {
|
|
95
|
-
if (!o) return NaN;
|
|
96
|
-
const y = Ke(o), z = y.trim(), D = z.startsWith("-") || z.startsWith("−");
|
|
97
|
-
let g = "";
|
|
98
|
-
for (const v of y)
|
|
99
|
-
v >= "0" && v <= "9" ? g += v : v === u && (g += ".");
|
|
100
|
-
if (!g || g === ".") return NaN;
|
|
101
|
-
let d = Number(g);
|
|
102
|
-
return Number.isFinite(d) ? (D && (d = -d), s === "percentage" && (d = d / 100), d) : NaN;
|
|
103
|
-
};
|
|
104
|
-
let N = "decimal";
|
|
105
|
-
if (s === "integer")
|
|
106
|
-
N = "numeric";
|
|
107
|
-
else if (s === "currency")
|
|
108
|
-
try {
|
|
109
|
-
const { maximumFractionDigits: o } = new Intl.NumberFormat(n, {
|
|
110
|
-
style: "currency",
|
|
111
|
-
currency: l ?? "USD"
|
|
112
|
-
}).resolvedOptions();
|
|
113
|
-
N = o === 0 ? "numeric" : "decimal";
|
|
114
|
-
} catch {
|
|
115
|
-
N = "decimal";
|
|
116
|
-
}
|
|
117
|
-
return {
|
|
118
|
-
format: P,
|
|
119
|
-
parse: B,
|
|
120
|
-
decimalSeparator: u,
|
|
121
|
-
groupingSeparator: S,
|
|
122
|
-
inputMode: N
|
|
123
|
-
};
|
|
124
|
-
}, [n, s, l]);
|
|
125
|
-
}
|
|
126
|
-
const He = W(
|
|
127
|
-
[
|
|
128
|
-
"ds:flex ds:items-center ds:rounded-[var(--radius-sm)]",
|
|
129
|
-
"ds:border ds:bg-input ds:text-foreground",
|
|
130
|
-
"ds:shadow-[var(--shadow-input)]",
|
|
131
|
-
"ds:transition-[colors,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
132
|
-
"ds:focus-within:outline-[length:var(--focus-ring-width)] ds:focus-within:outline-solid",
|
|
133
|
-
"ds:focus-within:outline-ring ds:focus-within:outline-offset-[length:var(--focus-ring-offset)]",
|
|
134
|
-
"ds:has-[:disabled]:cursor-not-allowed ds:has-[:disabled]:opacity-50"
|
|
135
|
-
].join(" "),
|
|
136
|
-
{
|
|
137
|
-
variants: {
|
|
138
|
-
size: {
|
|
139
|
-
sm: "ds:h-8 ds:text-[length:var(--font-size-sm)]",
|
|
140
|
-
md: "ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)]",
|
|
141
|
-
lg: "ds:h-12 ds:text-[length:var(--font-size-lg)]"
|
|
142
|
-
},
|
|
143
|
-
tone: {
|
|
144
|
-
default: "ds:border-[color:var(--control-border)]",
|
|
145
|
-
error: "ds:border-destructive ds:focus-within:outline-destructive"
|
|
146
|
-
},
|
|
147
|
-
// Intrinsic sizes shrink-wrap the frame around field, unit and paddings;
|
|
148
|
-
// the floor keeps a bare 'sm' field a valid tap target.
|
|
149
|
-
inline: {
|
|
150
|
-
full: "ds:w-full",
|
|
151
|
-
sm: "ds:w-fit ds:min-w-[var(--min-target-size)]",
|
|
152
|
-
md: "ds:w-fit ds:min-w-[var(--min-target-size)]",
|
|
153
|
-
lg: "ds:w-fit ds:min-w-[var(--min-target-size)]"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
defaultVariants: { size: "md", tone: "default", inline: "full" }
|
|
157
|
-
}
|
|
158
|
-
), We = W(
|
|
159
|
-
"ds:min-w-0 ds:bg-transparent ds:outline-none ds:tabular-nums ds:disabled:cursor-not-allowed",
|
|
160
|
-
{
|
|
161
|
-
variants: {
|
|
162
|
-
variant: { stepper: "ds:ps-2", plain: "ds:ps-3" },
|
|
163
|
-
hasUnit: { true: "ds:pe-1", false: "" },
|
|
164
|
-
// `ch` is the advance of "0", so with tabular numerals N digits fit
|
|
165
|
-
// exactly; box-content keeps the paddings outside that count.
|
|
166
|
-
inline: {
|
|
167
|
-
full: "ds:flex-1 ds:w-full",
|
|
168
|
-
sm: "ds:box-content ds:w-[8ch]",
|
|
169
|
-
md: "ds:box-content ds:w-[12ch]",
|
|
170
|
-
lg: "ds:box-content ds:w-[16ch]"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
compoundVariants: [
|
|
174
|
-
{ variant: "stepper", hasUnit: !1, class: "ds:pe-2" },
|
|
175
|
-
{ variant: "plain", hasUnit: !1, class: "ds:pe-3" },
|
|
176
|
-
// Alignment: exactly one of these matches, because two text-align
|
|
177
|
-
// utilities in one class list resolve by stylesheet order, not by the
|
|
178
|
-
// order they were written.
|
|
179
|
-
// A unit or an answer-sized box means the number is read AGAINST
|
|
180
|
-
// something — stranding it at the far start left a gap wide enough to
|
|
181
|
-
// read as two separate controls.
|
|
182
|
-
{ inline: "full", hasUnit: !1, class: "ds:text-start" },
|
|
183
|
-
{ inline: "full", hasUnit: !0, class: "ds:text-end" },
|
|
184
|
-
{ inline: ["sm", "md", "lg"], class: "ds:text-end" }
|
|
185
|
-
],
|
|
186
|
-
defaultVariants: { variant: "stepper", hasUnit: !1, inline: "full" }
|
|
187
|
-
}
|
|
188
|
-
), Oe = W(
|
|
189
|
-
"ds:shrink-0 ds:select-none ds:whitespace-nowrap ds:text-muted-foreground",
|
|
190
|
-
{
|
|
191
|
-
variants: {
|
|
192
|
-
variant: { stepper: "ds:pe-1", plain: "ds:pe-3" }
|
|
193
|
-
},
|
|
194
|
-
defaultVariants: { variant: "stepper" }
|
|
195
|
-
}
|
|
196
|
-
), ee = [
|
|
197
|
-
"ds:inline-flex ds:items-center ds:justify-center",
|
|
198
|
-
"ds:h-full ds:shrink-0",
|
|
199
|
-
"ds:text-muted-foreground ds:hover:text-foreground",
|
|
200
|
-
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
201
|
-
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
|
|
202
|
-
].join(" "), _e = () => typeof navigator < "u" && navigator.language ? navigator.language : "en-US", $e = (n) => typeof n == "string" && n.trim() !== "" ? n : void 0;
|
|
203
|
-
function Ge(n) {
|
|
204
|
-
if (!Number.isFinite(n)) return 0;
|
|
205
|
-
const s = String(n), l = s.indexOf(".");
|
|
206
|
-
return l === -1 ? 0 : s.length - l - 1;
|
|
207
|
-
}
|
|
208
|
-
function Je(n, s) {
|
|
209
|
-
if (s <= 0 || !Number.isFinite(s)) return n;
|
|
210
|
-
const r = 10 ** Ge(s);
|
|
211
|
-
return Math.round(n * r) / r;
|
|
212
|
-
}
|
|
213
|
-
const Qe = ke(
|
|
214
|
-
({
|
|
215
|
-
value: n,
|
|
216
|
-
defaultValue: s,
|
|
217
|
-
onChange: l,
|
|
218
|
-
min: r,
|
|
219
|
-
max: u,
|
|
220
|
-
step: S = 1,
|
|
221
|
-
mode: p = "integer",
|
|
222
|
-
currency: P,
|
|
223
|
-
locale: B,
|
|
224
|
-
size: N = "md",
|
|
225
|
-
tone: k,
|
|
226
|
-
variant: m = "stepper",
|
|
227
|
-
unit: o,
|
|
228
|
-
inline: y = "full",
|
|
229
|
-
className: z,
|
|
230
|
-
id: D,
|
|
231
|
-
disabled: g,
|
|
232
|
-
onFocus: d,
|
|
233
|
-
onBlur: v,
|
|
234
|
-
onKeyDown: R,
|
|
235
|
-
...ne
|
|
236
|
-
}, re) => {
|
|
237
|
-
const { t: O, i18n: se } = Ue("ui"), F = Pe(), ie = Be(F, D), M = !!(F.disabled || g), _ = ze(), ae = [F.describedBy, o ? _ : void 0].filter(Boolean).join(" ") || void 0, oe = B ?? $e(se.language) ?? _e(), A = qe(oe, p, P), {
|
|
238
|
-
decimalSeparator: U,
|
|
239
|
-
groupingSeparator: $,
|
|
240
|
-
format: j,
|
|
241
|
-
parse: G
|
|
242
|
-
} = A, J = q(null), ue = Re(re, J), [le, de] = Te({
|
|
243
|
-
value: n,
|
|
244
|
-
defaultValue: s ?? null,
|
|
245
|
-
onChange: l
|
|
246
|
-
}), a = le ?? null, Q = q(a);
|
|
247
|
-
Q.current = a;
|
|
248
|
-
const C = T(
|
|
249
|
-
(e) => {
|
|
250
|
-
const t = p === "percentage" ? e * 100 : e;
|
|
251
|
-
return (Number.isInteger(t) ? String(t) : t.toString()).replace(".", U);
|
|
252
|
-
},
|
|
253
|
-
[p, U]
|
|
254
|
-
), b = T(
|
|
255
|
-
(e) => e == null || Number.isNaN(e) ? "" : j(e),
|
|
256
|
-
[j]
|
|
257
|
-
), [E, c] = H(
|
|
258
|
-
() => b(a)
|
|
259
|
-
), w = q(!1), [ce, h] = H(!1), [L, V] = H(!1), K = T(
|
|
260
|
-
(e) => {
|
|
261
|
-
if (e >= "0" && e <= "9") return !0;
|
|
262
|
-
const t = e.codePointAt(0) ?? 0;
|
|
263
|
-
return t >= 1632 && t <= 1641 || t >= 1776 && t <= 1785 ? !0 : e === U || e === $ || e === "-" || e === "−";
|
|
264
|
-
},
|
|
265
|
-
[U, $]
|
|
266
|
-
), fe = T(
|
|
267
|
-
(e) => {
|
|
268
|
-
let t = "";
|
|
269
|
-
for (const i of e)
|
|
270
|
-
K(i) && (t += i);
|
|
271
|
-
return t;
|
|
272
|
-
},
|
|
273
|
-
[K]
|
|
274
|
-
);
|
|
275
|
-
Me(() => {
|
|
276
|
-
!w.current && !L && c(b(a));
|
|
277
|
-
}, [a, b, L]);
|
|
278
|
-
const pe = ce || L || a !== null && (r !== void 0 && a < r || u !== void 0 && a > u), X = F.invalid || pe, me = X ? "error" : k ?? "default", f = (e) => {
|
|
279
|
-
de(e);
|
|
280
|
-
}, I = (e) => {
|
|
281
|
-
let i = (a ?? 0) + S * e;
|
|
282
|
-
r !== void 0 && (i = Math.max(r, i)), u !== void 0 && (i = Math.min(u, i)), i = Je(i, S), f(i), h(!1), c(
|
|
283
|
-
w.current ? C(i) : b(i)
|
|
284
|
-
);
|
|
285
|
-
}, Y = (e) => {
|
|
286
|
-
f(e), h(!1), c(
|
|
287
|
-
w.current ? C(e) : b(e)
|
|
288
|
-
);
|
|
289
|
-
}, ve = (e) => {
|
|
290
|
-
if (R == null || R(e), e.defaultPrevented || M) return;
|
|
291
|
-
const { key: t, shiftKey: i } = e;
|
|
292
|
-
t === "ArrowUp" ? (e.preventDefault(), I(i ? 10 : 1)) : t === "ArrowDown" ? (e.preventDefault(), I(i ? -10 : -1)) : t === "PageUp" ? (e.preventDefault(), I(100)) : t === "PageDown" ? (e.preventDefault(), I(-100)) : t === "Home" && r !== void 0 ? (e.preventDefault(), Y(r)) : t === "End" && u !== void 0 && (e.preventDefault(), Y(u));
|
|
293
|
-
}, be = (e) => {
|
|
294
|
-
const t = fe(e.target.value);
|
|
295
|
-
if (c(t), t.trim() === "") {
|
|
296
|
-
f(null), h(!1), V(!1);
|
|
297
|
-
return;
|
|
298
|
-
}
|
|
299
|
-
const i = G(t);
|
|
300
|
-
Number.isNaN(i) || (f(i), V(!1));
|
|
301
|
-
}, ge = (e) => {
|
|
302
|
-
const { data: t } = e.nativeEvent;
|
|
303
|
-
typeof t != "string" || t.length !== 1 || K(t) || e.preventDefault();
|
|
304
|
-
}, he = (e) => {
|
|
305
|
-
d == null || d(e), w.current = !0, a != null && c(C(a));
|
|
306
|
-
}, Ne = (e) => {
|
|
307
|
-
if (v == null || v(e), w.current = !1, E.trim() === "") {
|
|
308
|
-
f(null), h(!1), V(!1), c("");
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
const t = G(E);
|
|
312
|
-
if (Number.isNaN(t)) {
|
|
313
|
-
V(!0), h(!1), f(null);
|
|
314
|
-
return;
|
|
315
|
-
}
|
|
316
|
-
const i = r !== void 0 && t < r || u !== void 0 && t > u;
|
|
317
|
-
h(i), V(!1), f(t), c(b(t));
|
|
318
|
-
}, Z = (e) => {
|
|
319
|
-
e.preventDefault();
|
|
320
|
-
}, ye = () => I(1), we = () => I(-1), Ie = te(
|
|
321
|
-
() => ({
|
|
322
|
-
getValue: () => Q.current,
|
|
323
|
-
setValue: (e) => {
|
|
324
|
-
f(e), c(
|
|
325
|
-
e === null ? "" : w.current ? C(e) : b(e)
|
|
326
|
-
);
|
|
327
|
-
},
|
|
328
|
-
clear: () => {
|
|
329
|
-
f(null), c(""), h(!1);
|
|
330
|
-
},
|
|
331
|
-
focus: () => {
|
|
332
|
-
var e;
|
|
333
|
-
return (e = J.current) == null ? void 0 : e.focus();
|
|
334
|
-
}
|
|
335
|
-
}),
|
|
336
|
-
// The handle is reconstructed per render; consumers (the agent runtime)
|
|
337
|
-
// re-register only when the identity changes, which is a cheap no-op.
|
|
338
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
339
|
-
[C, b]
|
|
340
|
-
);
|
|
341
|
-
Ae(Le, Ie, D);
|
|
342
|
-
const xe = M || r !== void 0 && a !== null && a <= r, De = M || u !== void 0 && a !== null && a >= u, Fe = a ?? void 0, Ce = (p === "currency" || p === "percentage") && a !== null && a !== null ? j(a) : void 0, Ve = A.inputMode === "numeric" ? "[0-9]*" : void 0;
|
|
343
|
-
return /* @__PURE__ */ Se(
|
|
344
|
-
"div",
|
|
345
|
-
{
|
|
346
|
-
className: He({
|
|
347
|
-
size: N,
|
|
348
|
-
tone: me,
|
|
349
|
-
inline: y,
|
|
350
|
-
className: z
|
|
351
|
-
}),
|
|
352
|
-
"data-component": "number-input",
|
|
353
|
-
"data-component-id": D,
|
|
354
|
-
"data-mode": p,
|
|
355
|
-
"data-variant": m,
|
|
356
|
-
"data-inline": y,
|
|
357
|
-
children: [
|
|
358
|
-
m === "stepper" ? /* @__PURE__ */ x(
|
|
359
|
-
"button",
|
|
360
|
-
{
|
|
361
|
-
type: "button",
|
|
362
|
-
tabIndex: -1,
|
|
363
|
-
"aria-label": O("inputs.number.decrement", "Decrement"),
|
|
364
|
-
onClick: we,
|
|
365
|
-
onMouseDown: Z,
|
|
366
|
-
disabled: xe,
|
|
367
|
-
className: `${ee} ds:ps-2 ds:pe-1`,
|
|
368
|
-
children: /* @__PURE__ */ x(je, { "aria-hidden": "true", className: "ds:size-4" })
|
|
369
|
-
}
|
|
370
|
-
) : null,
|
|
371
|
-
/* @__PURE__ */ x(
|
|
372
|
-
"input",
|
|
373
|
-
{
|
|
374
|
-
ref: ue,
|
|
375
|
-
id: ie,
|
|
376
|
-
type: "text",
|
|
377
|
-
role: "spinbutton",
|
|
378
|
-
inputMode: A.inputMode,
|
|
379
|
-
pattern: Ve,
|
|
380
|
-
autoComplete: "off",
|
|
381
|
-
value: E,
|
|
382
|
-
disabled: M,
|
|
383
|
-
"aria-valuemin": r,
|
|
384
|
-
"aria-valuemax": u,
|
|
385
|
-
"aria-valuenow": Fe,
|
|
386
|
-
"aria-valuetext": Ce,
|
|
387
|
-
"aria-invalid": X || void 0,
|
|
388
|
-
"aria-required": F.required || void 0,
|
|
389
|
-
"aria-describedby": ae,
|
|
390
|
-
onBeforeInput: ge,
|
|
391
|
-
onChange: be,
|
|
392
|
-
onFocus: he,
|
|
393
|
-
onBlur: Ne,
|
|
394
|
-
onKeyDown: ve,
|
|
395
|
-
className: We({ variant: m, hasUnit: !!o, inline: y }),
|
|
396
|
-
...ne
|
|
397
|
-
}
|
|
398
|
-
),
|
|
399
|
-
o ? /* @__PURE__ */ x("span", { id: _, className: Oe({ variant: m }), children: o }) : null,
|
|
400
|
-
m === "stepper" ? /* @__PURE__ */ x(
|
|
401
|
-
"button",
|
|
402
|
-
{
|
|
403
|
-
type: "button",
|
|
404
|
-
tabIndex: -1,
|
|
405
|
-
"aria-label": O("inputs.number.increment", "Increment"),
|
|
406
|
-
onClick: ye,
|
|
407
|
-
onMouseDown: Z,
|
|
408
|
-
disabled: De,
|
|
409
|
-
className: `${ee} ds:ps-1 ds:pe-2`,
|
|
410
|
-
children: /* @__PURE__ */ x(Ee, { "aria-hidden": "true", className: "ds:size-4" })
|
|
411
|
-
}
|
|
412
|
-
) : null
|
|
413
|
-
]
|
|
414
|
-
}
|
|
415
|
-
);
|
|
416
|
-
}
|
|
417
|
-
);
|
|
418
|
-
Qe.displayName = "NumberInput";
|
|
419
|
-
export {
|
|
420
|
-
Qe as N,
|
|
421
|
-
qe as u
|
|
422
|
-
};
|
|
423
|
-
//# sourceMappingURL=number-input-CVwI1ltI.js.map
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { jsx as i, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { useTranslation as n } from "react-i18next";
|
|
3
|
-
import { E as c } from "./empty-state-DwJ5YNzz.js";
|
|
4
|
-
import { P as o } from "./panel-header-CbtlTe85.js";
|
|
5
|
-
import { S as l } from "./section-card-DFr2wGal.js";
|
|
6
|
-
import { V as p } from "./visually-hidden-BHxEUGyT.js";
|
|
7
|
-
import { E as s } from "./eye-off-C_4xkbRP.js";
|
|
8
|
-
const r = (e) => `calendarWorkspace.privacy.${e}`;
|
|
9
|
-
function m(e) {
|
|
10
|
-
return e !== void 0 && e.trim() !== "" ? e : "•••";
|
|
11
|
-
}
|
|
12
|
-
function u({ block: e }) {
|
|
13
|
-
const { t: a } = n("ui");
|
|
14
|
-
return /* @__PURE__ */ t(
|
|
15
|
-
"p",
|
|
16
|
-
{
|
|
17
|
-
"data-privacy": "hidden",
|
|
18
|
-
"data-block": e,
|
|
19
|
-
className: "ds:m-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[color:var(--muted-foreground)]",
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ i(s, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
|
|
22
|
-
a(r("hidden"))
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
function k({ mask: e }) {
|
|
28
|
-
const { t: a } = n("ui");
|
|
29
|
-
return /* @__PURE__ */ i(
|
|
30
|
-
l,
|
|
31
|
-
{
|
|
32
|
-
"data-card": "patient",
|
|
33
|
-
"data-privacy": "masked",
|
|
34
|
-
headingLevel: 3,
|
|
35
|
-
title: /* @__PURE__ */ t("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
36
|
-
/* @__PURE__ */ i(s, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
|
|
37
|
-
/* @__PURE__ */ i(p, { children: a("appointmentPeek.hiddenName") }),
|
|
38
|
-
/* @__PURE__ */ i("span", { "aria-hidden": "true", children: m(e) })
|
|
39
|
-
] }),
|
|
40
|
-
children: /* @__PURE__ */ i(u, {})
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
function v({ onTurnOff: e }) {
|
|
45
|
-
const { t: a } = n("ui");
|
|
46
|
-
return /* @__PURE__ */ i("div", { "data-component": "privacy-notice", className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ i(
|
|
47
|
-
c,
|
|
48
|
-
{
|
|
49
|
-
variant: "first-use",
|
|
50
|
-
size: "sm",
|
|
51
|
-
title: a(r("hidden")),
|
|
52
|
-
description: a(r("noticeBody")),
|
|
53
|
-
primaryAction: e ? { label: a(r("turnOff")), onClick: e } : void 0
|
|
54
|
-
}
|
|
55
|
-
) });
|
|
56
|
-
}
|
|
57
|
-
function b({
|
|
58
|
-
title: e,
|
|
59
|
-
icon: a,
|
|
60
|
-
onTurnOff: d
|
|
61
|
-
}) {
|
|
62
|
-
return /* @__PURE__ */ t(
|
|
63
|
-
"div",
|
|
64
|
-
{
|
|
65
|
-
"data-component": "privacy-notice-panel",
|
|
66
|
-
className: "ds:flex ds:h-full ds:flex-col",
|
|
67
|
-
children: [
|
|
68
|
-
/* @__PURE__ */ i(o, { title: e, icon: a, sticky: !0, divider: !0 }),
|
|
69
|
-
/* @__PURE__ */ i(v, { onTurnOff: d })
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
export {
|
|
75
|
-
v as P,
|
|
76
|
-
k as a,
|
|
77
|
-
u as b,
|
|
78
|
-
b as c,
|
|
79
|
-
m as p
|
|
80
|
-
};
|
|
81
|
-
//# sourceMappingURL=privacy-mask-Dc3kdkCR.js.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { c as a } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v1.22.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const o = [
|
|
9
|
-
["path", { d: "m9 11-6 6v3h9l3-3", key: "1a3l36" }],
|
|
10
|
-
["path", { d: "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4", key: "14a9rk" }]
|
|
11
|
-
], h = a("highlighter", o);
|
|
12
|
-
/**
|
|
13
|
-
* @license lucide-react v1.22.0 - ISC
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the ISC license.
|
|
16
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/
|
|
18
|
-
const t = [
|
|
19
|
-
["path", { d: "M9 14 4 9l5-5", key: "102s5s" }],
|
|
20
|
-
["path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11", key: "f3b9sd" }]
|
|
21
|
-
], c = a("undo-2", t);
|
|
22
|
-
export {
|
|
23
|
-
h as H,
|
|
24
|
-
c as U
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=undo-2-CYNAzclj.js.map
|