@alfadocs/ui-kit 1.50.1 → 1.52.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/{actions-cell-renderer-DMittsR3.js → actions-cell-renderer-DhmUGzRY.js} +5 -5
- package/dist/_chunks/{address-autocomplete-Dp5uMvKP.js → address-autocomplete-BVLoHU3E.js} +3 -3
- package/dist/_chunks/{address-fields-QfC-N3pw.js → address-fields-UiEXHxEX.js} +9 -9
- package/dist/_chunks/{agenda-card-CjjxlA9K.js → agenda-card-CakEvwnM.js} +4 -4
- package/dist/_chunks/{agenda-tray-BhZASyJm.js → agenda-tray-C-_iu6Fo.js} +5 -5
- package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js → ai-credits-notice-Da0fJPXO.js} +5 -5
- package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js → ai-permission-notice-C5q_uHBA.js} +7 -7
- package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js → ai-prompt-input-IObcUWqB.js} +5 -5
- package/dist/_chunks/{alert-CiQ5Pa3Q.js → alert-BhCstf2h.js} +3 -3
- package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js → alia-sidebar-DyQMsyiz.js} +23 -23
- package/dist/_chunks/{anamnesis-card-D8Si-2GV.js → anamnesis-card-D4RWzQXP.js} +5 -5
- package/dist/_chunks/{anamnesis-summary-card-DPyScUMM.js → anamnesis-summary-card-Bv0CZ-mk.js} +3 -3
- package/dist/_chunks/anamnesis-summary-rows-DaSoA80I.js +20926 -0
- package/dist/_chunks/{annotation-marker-CsUJGZjQ.js → annotation-marker-D-M7y4R1.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-8fm3vPSV.js → antenatal-schedule-timeline-BZzgjfyd.js} +13 -13
- package/dist/_chunks/{app-frame-DIEMIC5V.js → app-frame-Cos-GSfw.js} +5 -5
- package/dist/_chunks/{appointment-card-BgLpE6T5.js → appointment-card-CA2ynsmN.js} +8 -8
- package/dist/_chunks/{appointment-peek-Dk11UOVW.js → appointment-peek-DpPzeYXm.js} +6 -6
- package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js → appointment-timeline-BZErHbD1.js} +7 -7
- package/dist/_chunks/{appointment-tray-D7Gt6m8x.js → appointment-tray-DR_Zm4Gw.js} +10 -10
- package/dist/_chunks/{appointment-workflow-status-CS8ufF1f.js → appointment-workflow-status-DrWCNLbB.js} +2 -2
- package/dist/_chunks/{ar-BR1FGFP2.js → ar-pLopgMbL.js} +12 -12
- package/dist/_chunks/{audio-recorder-DZBtAvLH.js → audio-recorder-BafA28cX.js} +7 -7
- package/dist/_chunks/{audio-visualiser-l6zPd0AG.js → audio-visualiser-CK2JyQW1.js} +2 -2
- package/dist/_chunks/{autocomplete-DSasZUf6.js → autocomplete-IfLaXwyb.js} +3 -3
- package/dist/_chunks/{avatar-BVvjKNTp.js → avatar-DYtwj1-R.js} +2 -2
- package/dist/_chunks/{badge-BAkd6_Pj.js → badge-hnBt8o7n.js} +6 -6
- package/dist/_chunks/{balance-badge-cell-klaxFNL_.js → balance-badge-cell-CS-iKkLM.js} +8 -8
- package/dist/_chunks/{bishop-score-BMLRvXYF.js → bishop-score-BfDsm9HH.js} +6 -6
- package/dist/_chunks/{bmi-calculator-DUhRyyrA.js → bmi-calculator-BNtmMzQy.js} +6 -6
- package/dist/_chunks/{booking-Cdzd8kyY.js → booking-DP543-BT.js} +43 -42
- package/dist/_chunks/{breadcrumb-D3boYzD4.js → breadcrumb-xgVpPH2H.js} +4 -4
- package/dist/_chunks/{button-18oBsI3n.js → button-CYPx2xFq.js} +38 -36
- package/dist/_chunks/{button-group-BSDqso_C.js → button-group-DnSR6eN6.js} +30 -30
- package/dist/_chunks/{calculator-dialog-C0ixc3SU.js → calculator-dialog-BRjZMWuE.js} +2 -2
- package/dist/_chunks/calendar-BwF5nQuW.js +1469 -0
- package/dist/_chunks/{calendar-event-card-DyFSIehr.js → calendar-event-card-DXAYWH6k.js} +2 -2
- package/dist/_chunks/calendar-workspace-B9MKJXER.js +10608 -0
- package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-BanlKJZn.js} +8 -8
- package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-ByqT84_P.js} +9 -9
- package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-BwfUHMgM.js} +6 -6
- package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-WKODAYVw.js} +6 -6
- package/dist/_chunks/{chart-VjuXDXOZ.js → chart-CuE30cfr.js} +4 -4
- package/dist/_chunks/{chat-container-CYYego1W.js → chat-container-CAfyTxat.js} +3 -3
- package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-DA10w969.js} +3 -3
- package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DoMjMa-M.js} +6 -6
- package/dist/_chunks/{checkbox-group-DomUzpkF.js → checkbox-group-C7czpHmJ.js} +2 -2
- package/dist/_chunks/{city-input-BGYc4lRV.js → city-input-CAnTVgBZ.js} +10 -10
- package/dist/_chunks/{clinical-note-card-B7s5BtEl.js → clinical-note-card-kvlUrmP-.js} +6 -6
- package/dist/_chunks/{code-block-C_eNHWaa.js → code-block-NtHjtagI.js} +6 -6
- package/dist/_chunks/{color-picker-Bl5f0iK1.js → color-picker-Yl99lHuF.js} +3 -3
- package/dist/_chunks/{combobox-B_rLwmSv.js → combobox-Iel8y3u6.js} +2 -2
- package/dist/_chunks/{command-palette-DhgGo7GJ.js → command-palette-D9TBzmOG.js} +4 -4
- package/dist/_chunks/{connection-status-Cfux3TvH.js → connection-status-Dz8o-Fui.js} +5 -5
- package/dist/_chunks/{contact-card-0hnFJwrz.js → contact-card-D2gXrxlL.js} +12 -12
- package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-B7cXr8g5.js} +5 -5
- package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-B446rHSL.js} +4 -4
- package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-CiIuVbKe.js} +3 -3
- package/dist/_chunks/{country-select-C5jZjO8O.js → country-select-BYa4BrEi.js} +3 -3
- package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-D_5f9VSN.js} +10 -10
- package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-DWNP02Ff.js} +4 -4
- package/dist/_chunks/data-table-DJvEwZZx.js +1989 -0
- package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dc6zvoI_.js} +6 -6
- package/dist/_chunks/{date-picker-6tFnKFty.js → date-picker-p9yz3pxc.js} +83 -80
- package/dist/_chunks/{date-picker-variants-B9NLAfUK.js → date-picker-variants-B3AFKDSu.js} +706 -658
- package/dist/_chunks/{date-range-picker-TpmECKRh.js → date-range-picker-DIy8gNY0.js} +153 -150
- package/dist/_chunks/{date-time-picker-DijEae25.js → date-time-picker-C3UVzqOm.js} +86 -77
- package/dist/_chunks/{de-3iM4rGqo.js → de-lVkJRPnh.js} +5 -5
- package/dist/_chunks/{dependent-selector-58hTg5rB.js → dependent-selector-CPiolWiw.js} +4 -4
- package/dist/_chunks/{description-list-1A2DEbE6.js → description-list-9rchqp5q.js} +3 -3
- package/dist/_chunks/{dialog-BJiLqhx6.js → dialog-D52AI4nF.js} +2 -2
- package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-1CZJg6CX.js} +6 -6
- package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-T5jHiraQ.js} +5 -5
- package/dist/_chunks/dropdown-menu-B5mgV1kV.js +594 -0
- package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-iJXm6HOj.js} +11 -11
- package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-DdMHme5y.js} +9 -9
- package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-Cy3AZ5K2.js} +4 -4
- package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-C0awV6ba.js} +3 -3
- package/dist/_chunks/{el-C96rGJvU.js → el-CHzxNWPj.js} +6 -6
- package/dist/_chunks/{email-input-Dpe63k0K.js → email-input-ebdovOmh.js} +3 -3
- package/dist/_chunks/{empty-state-DTBZ1ENT.js → empty-state-DActfjdn.js} +3 -3
- package/dist/_chunks/en-GB-CwxYmmhU.js +45 -0
- package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-oW3_jFhU.js} +8 -8
- package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary--w5hYiQ-.js} +3 -3
- package/dist/_chunks/{es-Cxiqjx8r.js → es-Ck-oxbHW.js} +8 -8
- package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-Dg7KcbW2.js} +11 -11
- package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-BoIkl2t1.js} +6 -6
- package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-BF2nCmvt.js} +4 -4
- package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-BGHShxn_.js} +21 -21
- package/dist/_chunks/{file-upload-B242a_Y1.js → file-upload-OMlGHz70.js} +2 -2
- package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BguGAUdg.js} +3 -3
- package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CuuE8_dt.js} +3 -3
- package/dist/_chunks/{floating-action-button-pojvb9gG.js → floating-action-button-BesoUmO_.js} +6 -6
- package/dist/_chunks/{form-field-CahJzTxp.js → form-field-YUJl_U5l.js} +2 -2
- package/dist/_chunks/{format-4HNwNGrN.js → format-D-1gTdHF.js} +47 -43
- package/dist/_chunks/{fr-Bhr6SYKj.js → fr-fWRnDcSD.js} +13 -13
- package/dist/_chunks/{freemium-paywall-B6JITu4l.js → freemium-paywall-BhxKSEJD.js} +5 -5
- package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-CjZ7v-8x.js} +13 -13
- package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-BYMogA0e.js} +15 -15
- package/dist/_chunks/{header-CCjp5GvE.js → header-CzJbtTGQ.js} +5 -5
- package/dist/_chunks/header-settings-BqdBe4zk.js +305 -0
- package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CGCyhAVE.js} +17 -17
- package/dist/_chunks/{hi-BxXX26d_.js → hi-B5uX0h3V.js} +14 -14
- package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-DEMPFs9M.js} +3 -3
- package/dist/_chunks/{iban-input-DXIA8Ln_.js → iban-input-D88HRGZo.js} +2 -2
- package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
- package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-DHRz90jY.js} +4 -4
- package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-C5Fhx1-3.js} +5 -5
- package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-CNBGkG7P.js} +3 -3
- package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-DfmEvyAF.js} +3 -3
- package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-BuWQl11Z.js} +3 -3
- package/dist/_chunks/intl-locale-CXM-B8EP.js +16 -0
- package/dist/_chunks/{isSameWeek-B73MagWB.js → isSameWeek-u81Z-J7h.js} +2 -2
- package/dist/_chunks/{it-Xmjomvyj.js → it-DBoNIelY.js} +17 -17
- package/dist/_chunks/{ja-mfZvt1ZV.js → ja-Du8gfg8p.js} +6 -6
- package/dist/_chunks/{kbd-D855ZXIW.js → kbd-BLovyx1R.js} +2 -2
- package/dist/_chunks/{key-value-pair-Dcdl3Gni.js → key-value-pair-DZH8ESsc.js} +3 -3
- package/dist/_chunks/{kit-extensions-BTJSnM_H.js → kit-extensions-CF5mDF_Z.js} +6 -6
- package/dist/_chunks/{link-CPb_pZPr.js → link-BlVUIKk1.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js → link-cell-renderer-DvcbSHyp.js} +12 -12
- package/dist/_chunks/{list-DgE1xWBM.js → list-RRN2TJ_7.js} +2 -2
- package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-DYDppQdZ.js} +218 -213
- package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-CmNGS6Ok.js} +4 -4
- package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rd1bSSm4.js} +137 -128
- package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-Dub3790J.js} +6 -6
- package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-CTd6CsnG.js} +6 -6
- package/dist/_chunks/{money-BXLBIRVO.js → money-GypsuFk2.js} +2 -2
- package/dist/_chunks/{multi-select-N4Smh-gj.js → multi-select-Bx0_cgPI.js} +2 -2
- package/dist/_chunks/{muscle-scheme-Co0NIgbU.js → muscle-scheme-X2bdmsQt.js} +4 -4
- package/dist/_chunks/{nav-grid-gRudLsPX.js → nav-grid-BnY0Ilet.js} +2 -2
- package/dist/_chunks/{navigation-menu-D3VndouD.js → navigation-menu-DbaSlvdO.js} +25 -25
- package/dist/_chunks/{nl-DDs-KEnD.js → nl-BCBwxYi8.js} +9 -9
- package/dist/_chunks/{note-attachment-CGjNTrAC.js → note-attachment-CpPRIfSn.js} +4 -4
- package/dist/_chunks/{note-timeline-CVnKL0p6.js → note-timeline-CZUmobcn.js} +3 -3
- package/dist/_chunks/{notes-panel-xxpFt-I1.js → notes-panel-CPfxz-1j.js} +10 -10
- package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-B39g86vM.js} +13 -13
- package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-WsP7c1jf.js} +6 -6
- package/dist/_chunks/{number-input-Cgu2TtA8.js → number-input-BLrx3utH.js} +2 -2
- package/dist/_chunks/{operator-hero-DyrNLoRO.js → operator-hero-BnBPxwOi.js} +10 -10
- package/dist/_chunks/{optical-prescription-DUufWXfZ.js → optical-prescription-x--Rpmmx.js} +6 -6
- package/dist/_chunks/{otp-input-DzBQ-CpE.js → otp-input-Dz8WMg4F.js} +2 -2
- package/dist/_chunks/{pagination-B0N2qGy_.js → pagination-CzEkpfti.js} +6 -6
- package/dist/_chunks/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
- package/dist/_chunks/{parse-DPqj4JtD.js → parse-DeDYl04y.js} +32 -32
- package/dist/_chunks/{parseISO-fOGpHKXm.js → parseISO-y3LncvfO.js} +2 -2
- package/dist/_chunks/{patient-details-tTlvrJSU.js → patient-details-BSAMAd3I.js} +6 -6
- package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-dUF2cW2G.js} +288 -268
- package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-CXl0FNfN.js} +14 -14
- package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DF-Mxcma.js} +10 -10
- package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-DNiraNhF.js} +6 -6
- package/dist/_chunks/{payment-form-DqJFiplX.js → payment-form-DxsjXYHJ.js} +6 -6
- package/dist/_chunks/{payment-request-card-DMJB57Tv.js → payment-request-card-BFsmHLtf.js} +8 -8
- package/dist/_chunks/{pdf-viewer-DUKdn5iq.js → pdf-viewer-hzfM5pZf.js} +6 -6
- package/dist/_chunks/{periodontal-chart-DbGzKDj7.js → periodontal-chart-Bvii6uOg.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js → periodontal-chart-card-DTbvFQO7.js} +4 -4
- package/dist/_chunks/{periodontal-diagnosis-B8WqI0eU.js → periodontal-diagnosis-BqEo0usu.js} +3 -3
- package/dist/_chunks/{periodontal-risk-chart-DsFRFFSz.js → periodontal-risk-chart-C1Y5f-md.js} +3 -3
- package/dist/_chunks/{permission-matrix-VdAXjjHU.js → permission-matrix-DHKECaNW.js} +3 -3
- package/dist/_chunks/{phone-input-sQj-zi59.js → phone-input-opMMHkyh.js} +2 -2
- package/dist/_chunks/{pl-BYYMnEWP.js → pl-HwLM6gPs.js} +7 -7
- package/dist/_chunks/{popover-Dvb40vPH.js → popover-CGYPYIVi.js} +3 -3
- package/dist/_chunks/{position-grid-CcvqHaKN.js → position-grid-D2D5_Tze.js} +2 -2
- package/dist/_chunks/{postal-code-input-BznBxVxf.js → postal-code-input-Dv02t5MD.js} +3 -3
- package/dist/_chunks/{practice-profile-hero-B-WcJYNH.js → practice-profile-hero-Bc3AyBiM.js} +4 -4
- package/dist/_chunks/{practice-results-EKRiqWtQ.js → practice-results-DjhcggtZ.js} +29 -29
- package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CcPxK3S3.js} +14 -14
- package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-tGbbravi.js} +6 -6
- package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-Bh4O7Y7g.js} +17 -17
- package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-noG15O9q.js} +24 -24
- package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-BmBzDba9.js} +24 -24
- package/dist/_chunks/{progress-CK8otcQ-.js → progress-TIAsNHQW.js} +4 -4
- package/dist/_chunks/{province-select-BiszMRRY.js → province-select-BZtM0RSR.js} +3 -3
- package/dist/_chunks/{pt-BSPnVrQ7.js → pt-BxhT5ZQH.js} +10 -10
- package/dist/_chunks/{public-footer.agent-BKkK3T3V.js → public-footer.agent-CVYmHY94.js} +4 -4
- package/dist/_chunks/{public-header.agent-B9wDmUeB.js → public-header.agent-1mcrQqIM.js} +4 -4
- package/dist/_chunks/{qr-code-DOJs4suh.js → qr-code-C3m9o7om.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-BP71J_VB.js} +14 -14
- package/dist/_chunks/{rating-BYbUowdK.js → rating-C1Vrmpsi.js} +2 -2
- package/dist/_chunks/{recaptcha-widget-BC-4To9b.js → recaptcha-widget-BNAeSTCo.js} +2 -2
- package/dist/_chunks/{resizable-DVGcfOrk.js → resizable-BKkNmZCl.js} +2 -2
- package/dist/_chunks/resource-chip-DQeCJzJf.js +143 -0
- package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-DDb_t7vy.js} +8 -8
- package/dist/_chunks/rich-text-editor-C7N4Cem6.js +4231 -0
- package/dist/_chunks/{ro-BbiylGmG.js → ro-Do9W55ae.js} +2 -2
- package/dist/_chunks/{ru-BX_qsV67.js → ru-PDBX5gdf.js} +13 -13
- package/dist/_chunks/{search-bar-6bHatpYJ.js → search-bar-Blq_QeSe.js} +4 -4
- package/dist/_chunks/{search-input-B7GmlPIE.js → search-input-DfsAu3P2.js} +4 -4
- package/dist/_chunks/{select-upNAltly.js → select-Br88h070.js} +2 -2
- package/dist/_chunks/{session-countdown-ACJyTXH2.js → session-countdown-DWUVDDox.js} +4 -4
- package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-BE6oi30q.js} +3 -3
- package/dist/_chunks/{sidebar-DbZXLl8h.js → sidebar-2GBc0ZUa.js} +7 -7
- package/dist/_chunks/{sign-document-CRQuAn4W.js → sign-document-Buw-zC_7.js} +4 -4
- package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js → sign-in-with-alfadocs-button-Bd4VPGQh.js} +4 -4
- package/dist/_chunks/{signature-capture-D6ut9_IR.js → signature-capture-F6KViBF_.js} +2 -2
- package/dist/_chunks/{signature-field-0rFODJlW.js → signature-field-DBIGiY-J.js} +3 -3
- package/dist/_chunks/{signature-request-BUGeG8oD.js → signature-request-DqZkn-iB.js} +156 -156
- package/dist/_chunks/{signature-status-chip-Dz6sS2oA.js → signature-status-chip-DP3qRijv.js} +3 -3
- package/dist/_chunks/{skip-link-BaSMtPwB.js → skip-link-BOQzBUVb.js} +2 -2
- package/dist/_chunks/{slider-DN1CWkKB.js → slider-BRq2lL-l.js} +2 -2
- package/dist/_chunks/{slot-grid-4fWH3Euk.js → slot-grid-Bkg9MVXP.js} +7 -7
- package/dist/_chunks/{smart-date-CsPlilQA.js → smart-date-pYK6WmM_.js} +2 -2
- package/dist/_chunks/{social-sign-in-button-dlpPI5l7.js → social-sign-in-button-Bb2UQpsA.js} +8 -8
- package/dist/_chunks/{sparkline-Dx_sxK3J.js → sparkline-ZOxMBU76.js} +3 -3
- package/dist/_chunks/{spinner-hbwuKwMf.js → spinner-DxjSZLD-.js} +2 -2
- package/dist/_chunks/{sq-i9UOk4P7.js → sq-DnvsgyIh.js} +6 -6
- package/dist/_chunks/{stat-Bs80Z6Yv.js → stat-Ce9ymEKm.js} +3 -3
- package/dist/_chunks/{stepper-accordion-jMR8NaOB.js → stepper-accordion-BPNS6J6B.js} +2 -2
- package/dist/_chunks/{stepper-progress-Bv0njx4g.js → stepper-progress-D6H8wQiV.js} +2 -2
- package/dist/_chunks/{streaming-text-eRiizArc.js → streaming-text-D0IJeRBg.js} +2 -2
- package/dist/_chunks/subDays-XBMBTVOO.js +8 -0
- package/dist/_chunks/{suggestion-chip-Bk4PmYTg.js → suggestion-chip-BNRWZL51.js} +2 -2
- package/dist/_chunks/{sv-CpTdtmDQ.js → sv-CpFSK8xS.js} +4 -4
- package/dist/_chunks/{switch-OILsBLWo.js → switch-DXGD2Drz.js} +2 -2
- package/dist/_chunks/{tab-bar-BHFf6knq.js → tab-bar-DRKiomgj.js} +4 -4
- package/dist/_chunks/tabs-DLXVEDsa.js +413 -0
- package/dist/_chunks/{tag-B65tLWvD.js → tag-CS5cXpfx.js} +2 -2
- package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CngF4Zee.js} +3 -3
- package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-Dz93rRXg.js} +18 -18
- package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-CB6_BvH9.js} +5 -5
- package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-DHAoTQtR.js} +11 -11
- package/dist/_chunks/{text-area-Bt3p7Pt0.js → text-area-Cjtw7mna.js} +2 -2
- package/dist/_chunks/{text-input-CUvCb6ST.js → text-input-CLaItY93.js} +2 -2
- package/dist/_chunks/{theme-toggle-LUBxlNDm.js → theme-toggle-Byg0x2vB.js} +10 -10
- package/dist/_chunks/{time-picker-D0RS391l.js → time-picker-BG7G3ujX.js} +2 -2
- package/dist/_chunks/{timeline-ChY7iZrs.js → timeline-CVLjybJ3.js} +4 -4
- package/dist/_chunks/{timestamp-BV2lC-wV.js → timestamp-DPLDWdxA.js} +2 -2
- package/dist/_chunks/{toast-CT8hjr9r.js → toast-6wbpghjF.js} +3 -3
- package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-DgtBIbNu.js} +3 -3
- package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-CXcLzxPb.js} +4 -4
- package/dist/_chunks/{tooth-finding-palette-vqC-D2Ye.js → tooth-finding-palette-DNQ3G2Tz.js} +2 -2
- package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BLbwUVer.js} +663 -718
- package/dist/_chunks/{tr-DXG2QN1K.js → tr-DW4oQYHT.js} +5 -5
- package/dist/_chunks/{transaction-chip-CwgcJiqF.js → transaction-chip-CohY6sTA.js} +6 -6
- package/dist/_chunks/{transcript-panel-u2HHxZB6.js → transcript-panel-Dve7bsm7.js} +3 -3
- package/dist/_chunks/{treatment-receipt-C-gWZ6uv.js → treatment-receipt-DF2Slh-x.js} +5 -5
- package/dist/_chunks/{typing-indicator-DHeVN4ob.js → typing-indicator-BmwMQSxw.js} +9 -9
- package/dist/_chunks/{unit-converter-Dp_KDxE6.js → unit-converter-D8WnJbZm.js} +6 -6
- package/dist/_chunks/use-appointment-details-read-YsuJgYeB.js +2198 -0
- package/dist/_chunks/{use-edge-resize-BHesP0kg.js → use-edge-resize-DHbyQwu8.js} +15 -15
- package/dist/_chunks/use-locale-BExNy9Dl.js +16 -0
- package/dist/_chunks/{use-password-requirements-Bwtqx1qN.js → use-password-requirements-DK4hV1Ik.js} +4 -4
- package/dist/_chunks/{variables-menu-aJLKJ_cu.js → variables-menu-DQl8H4Gh.js} +2 -2
- package/dist/_chunks/{wallet-pay-button--dnR6NfJ.js → wallet-pay-button-C-GFl7RO.js} +3 -3
- package/dist/_chunks/{warning-stack-CEgYkI1z.js → warning-stack-CzKSeB5v.js} +5 -5
- package/dist/_chunks/{whatsapp-button-Ai4YAVkl.js → whatsapp-button-DV9JFmtq.js} +2 -2
- package/dist/_chunks/{widget-picker-CilQvcNL.js → widget-picker-b5NCHxFe.js} +28 -28
- package/dist/_chunks/{workflow-map-qGkQTNvS.js → workflow-map-C7fHKTXL.js} +17 -17
- package/dist/_chunks/{workflow-status-ClHfz4Kr.js → workflow-status-DDnsIrLt.js} +4 -4
- package/dist/_chunks/{zh-CN-vPkPEK6H.js → zh-CN-QGEs29fQ.js} +7 -7
- package/dist/agent-catalog.json +103 -38
- package/dist/agent-i18n/en.json +7 -4
- package/dist/components/_shared/date-locale.d.ts +2 -2
- package/dist/components/_shared/day-picker-labels.d.ts +6 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
- package/dist/components/_shared/intl-locale.d.ts +10 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/annotation-marker/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +3 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.history.d.ts +19 -5
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +6 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +51 -1
- package/dist/components/appointment-details-panel/index.d.ts +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- 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/breadcrumb/index.js +1 -1
- package/dist/components/button/button.d.ts +11 -0
- package/dist/components/button/icon-button.d.ts +4 -0
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/calendar-locale.d.ts +5 -0
- package/dist/components/calendar/calendar.d.ts +6 -4
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-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/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/chart.d.ts +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/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/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/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-table/ag-grid-locale.d.ts +5 -0
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +52 -2
- package/dist/components/dropdown-menu/index.d.ts +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/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/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/floating-action-button/index.js +1 -1
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/hcg.d.ts +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/header-settings.d.ts +3 -3
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/locale-picker/locale-picker.d.ts +7 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/money/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/navigation-menu/index.js +2 -2
- package/dist/components/note-timeline/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-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-details/patient-details.d.ts +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-summary-card/patient-summary-card.d.ts +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/position-grid/index.js +1 -1
- package/dist/components/postal-code-input/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/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/resource-chip/index.d.ts +1 -1
- package/dist/components/resource-chip/index.js +3 -2
- package/dist/components/resource-chip/resource-chip.d.ts +20 -0
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/rich-text-editor/redactor-locale.d.ts +4 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +8 -3
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +3 -3
- package/dist/components/skip-link/index.js +1 -1
- package/dist/components/skip-link/skip-link.d.ts +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/smart-date/index.js +1 -1
- package/dist/components/smart-date/smart-date.d.ts +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/stepper-progress/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/suggestion-chip/index.js +1 -1
- package/dist/components/switch/index.js +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/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/timestamp/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-finding-palette/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -2
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/variables-menu/index.js +1 -1
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/whatsapp-button/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/workflow-card.d.ts +1 -1
- package/dist/components/workflow-status/index.js +2 -2
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/use-locale.d.ts +2 -16
- package/dist/i18n/config.d.ts +17 -13
- package/dist/i18n/config.js +127 -62
- package/dist/i18n/locale-meta.d.ts +1 -1
- package/dist/i18n/locales/ar.d.ts +915 -660
- package/dist/i18n/locales/ar.js +916 -665
- package/dist/i18n/locales/de.d.ts +722 -479
- package/dist/i18n/locales/de.js +723 -484
- package/dist/i18n/locales/el.d.ts +965 -722
- package/dist/i18n/locales/el.js +965 -726
- package/dist/i18n/locales/en.d.ts +308 -65
- package/dist/i18n/locales/en.js +309 -70
- package/dist/i18n/locales/es.d.ts +787 -541
- package/dist/i18n/locales/es.js +788 -546
- package/dist/i18n/locales/fr.d.ts +730 -484
- package/dist/i18n/locales/fr.js +731 -489
- package/dist/i18n/locales/hi.d.ts +875 -632
- package/dist/i18n/locales/hi.js +876 -637
- package/dist/i18n/locales/it.d.ts +937 -691
- package/dist/i18n/locales/it.js +943 -696
- package/dist/i18n/locales/ja.d.ts +698 -455
- package/dist/i18n/locales/ja.js +699 -460
- package/dist/i18n/locales/nl.d.ts +723 -480
- package/dist/i18n/locales/nl.js +724 -485
- package/dist/i18n/locales/pl.d.ts +1019 -770
- package/dist/i18n/locales/pl.js +1019 -774
- package/dist/i18n/locales/pt.d.ts +811 -562
- package/dist/i18n/locales/pt.js +812 -567
- package/dist/i18n/locales/ro.d.ts +1060 -814
- package/dist/i18n/locales/ro.js +1061 -819
- package/dist/i18n/locales/ru.d.ts +1037 -788
- package/dist/i18n/locales/ru.js +1032 -787
- package/dist/i18n/locales/sq.d.ts +1288 -1045
- package/dist/i18n/locales/sq.js +1288 -1049
- package/dist/i18n/locales/sv.d.ts +809 -566
- package/dist/i18n/locales/sv.js +810 -571
- package/dist/i18n/locales/tr.d.ts +768 -525
- package/dist/i18n/locales/tr.js +769 -530
- package/dist/i18n/locales/zh.d.ts +756 -513
- package/dist/i18n/locales/zh.js +757 -518
- package/dist/i18n/registerUiBundle.d.ts +3 -2
- package/dist/i18n/resources.d.ts +2 -7
- package/dist/i18n/supported-locales.d.ts +8 -0
- package/dist/index.js +552 -551
- package/dist/locales/ar.json +920 -665
- package/dist/locales/de.json +727 -484
- package/dist/locales/el.json +970 -727
- package/dist/locales/en.json +313 -70
- package/dist/locales/es.json +792 -546
- package/dist/locales/fr.json +735 -489
- package/dist/locales/hi.json +880 -637
- package/dist/locales/it.json +942 -696
- package/dist/locales/ja.json +703 -460
- package/dist/locales/nl.json +728 -485
- package/dist/locales/pl.json +1024 -775
- package/dist/locales/pt.json +816 -567
- package/dist/locales/ro.json +1065 -819
- package/dist/locales/ru.json +1042 -793
- package/dist/locales/sq.json +1293 -1050
- package/dist/locales/sv.json +814 -571
- package/dist/locales/tr.json +773 -530
- package/dist/locales/zh.json +761 -518
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/anamnesis-format.d.ts +1 -1
- package/dist/patterns/anamnesis/anamnesis-i18n.d.ts +3 -2
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/anamnesis/locales/ar.d.ts +776 -0
- package/dist/patterns/anamnesis/locales/de.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/el.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/en.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/es.d.ts +749 -0
- package/dist/patterns/anamnesis/locales/fr.d.ts +749 -0
- package/dist/patterns/anamnesis/locales/hi.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/it.d.ts +749 -0
- package/dist/patterns/anamnesis/locales/ja.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/nl.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/pl.d.ts +758 -0
- package/dist/patterns/anamnesis/locales/pt.d.ts +758 -0
- package/dist/patterns/anamnesis/locales/ro.d.ts +749 -0
- package/dist/patterns/anamnesis/locales/ru.d.ts +758 -0
- package/dist/patterns/anamnesis/locales/sq.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/sv.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/tr.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/zh.d.ts +740 -0
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +4 -1
- package/dist/patterns/calendar/calendar-workspace.d.ts +5 -0
- package/dist/patterns/calendar/calendar.sheets.d.ts +4 -1
- package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
- package/dist/patterns/calendar/calendar.types.d.ts +3 -1
- package/dist/patterns/calendar/index.d.ts +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/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/signature-request/index.js +1 -1
- package/dist/tokens.css +6 -2
- package/package.json +12 -2
- package/dist/_chunks/anamnesis-summary-rows-CZirLRuv.js +0 -9416
- package/dist/_chunks/calendar-E6Yu4lzC.js +0 -1381
- package/dist/_chunks/calendar-workspace-DjbGFjg1.js +0 -10584
- package/dist/_chunks/data-table-CrI3_bjH.js +0 -1824
- package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
- package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
- package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
- package/dist/_chunks/rich-text-editor-y6ML0KeV.js +0 -4154
- package/dist/_chunks/subDays-HPvBuvq3.js +0 -8
- package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
- package/dist/_chunks/use-appointment-details-read-5-hV-2xA.js +0 -2045
- package/dist/_chunks/use-locale-BkCIHujH.js +0 -20
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { useMemo as _, useCallback as
|
|
1
|
+
import { useMemo as _, useCallback as C, useState as z, cloneElement as W, useId as Y } from "react";
|
|
2
2
|
import { u as Z } from "./use-controllable-state-BiY4xTzM.js";
|
|
3
3
|
import { jsxs as V, jsx as t, Fragment as q } from "react/jsx-runtime";
|
|
4
4
|
import { useTranslation as A } from "react-i18next";
|
|
5
|
-
import { B as ee } from "./button-
|
|
6
|
-
import { I } from "./icon-button-
|
|
7
|
-
import { C as
|
|
8
|
-
import { P as O } from "./popover-
|
|
5
|
+
import { B as ee } from "./button-CYPx2xFq.js";
|
|
6
|
+
import { I } from "./icon-button-JAXAkqWC.js";
|
|
7
|
+
import { C as U } from "./checkbox-CZkipDn7.js";
|
|
8
|
+
import { P as O } from "./popover-CGYPYIVi.js";
|
|
9
9
|
import { S as te } from "./separator-CYU_bGFn.js";
|
|
10
10
|
import { S as ae } from "./settings-d25ju_6L.js";
|
|
11
|
-
import { G as
|
|
12
|
-
import { D as $ } from "./description-list-
|
|
13
|
-
import { B as
|
|
14
|
-
import { L as
|
|
15
|
-
import { T as
|
|
11
|
+
import { G as se } from "./grip-vertical-onSb1JXO.js";
|
|
12
|
+
import { D as $ } from "./description-list-9rchqp5q.js";
|
|
13
|
+
import { B as j } from "./badge-hnBt8o7n.js";
|
|
14
|
+
import { L as re } from "./link-BlVUIKk1.js";
|
|
15
|
+
import { T as ne } from "./transaction-chip-CohY6sTA.js";
|
|
16
16
|
import { H as ie } from "./hash-CSQ9SChR.js";
|
|
17
17
|
import { C as oe } from "./calendar-days-BGWklvE-.js";
|
|
18
|
-
import { c as
|
|
18
|
+
import { c as R } from "./createLucideIcon-DhHxpK9K.js";
|
|
19
19
|
import { U as le } from "./user-B12p7bVF.js";
|
|
20
|
-
import { C as ce } from "./city-input-
|
|
21
|
-
import { C as de } from "./country-select-
|
|
22
|
-
import { D as ue } from "./date-picker-
|
|
23
|
-
import { E as me } from "./email-input-
|
|
24
|
-
import { F as pe } from "./fiscal-code-input-
|
|
25
|
-
import { N as fe } from "./number-input-
|
|
26
|
-
import { P as ge } from "./phone-input-
|
|
27
|
-
import { P as he } from "./postal-code-input-
|
|
28
|
-
import { P as ye } from "./province-select-
|
|
29
|
-
import { S as be } from "./select-
|
|
30
|
-
import { S as ve } from "./switch-
|
|
31
|
-
import { T as xe } from "./text-area-
|
|
32
|
-
import { T as
|
|
20
|
+
import { C as ce } from "./city-input-CAnTVgBZ.js";
|
|
21
|
+
import { C as de } from "./country-select-BYa4BrEi.js";
|
|
22
|
+
import { D as ue } from "./date-picker-p9yz3pxc.js";
|
|
23
|
+
import { E as me } from "./email-input-ebdovOmh.js";
|
|
24
|
+
import { F as pe } from "./fiscal-code-input-CuuE8_dt.js";
|
|
25
|
+
import { N as fe } from "./number-input-BLrx3utH.js";
|
|
26
|
+
import { P as ge } from "./phone-input-opMMHkyh.js";
|
|
27
|
+
import { P as he } from "./postal-code-input-Dv02t5MD.js";
|
|
28
|
+
import { P as ye } from "./province-select-BZtM0RSR.js";
|
|
29
|
+
import { S as be } from "./select-Br88h070.js";
|
|
30
|
+
import { S as ve } from "./switch-DXGD2Drz.js";
|
|
31
|
+
import { T as xe } from "./text-area-Cjtw7mna.js";
|
|
32
|
+
import { T as ke } from "./text-input-CLaItY93.js";
|
|
33
33
|
import { C as K } from "./check-DrFSN__t.js";
|
|
34
|
-
import { X as
|
|
34
|
+
import { X as Ce } from "./x-B5YnXwCz.js";
|
|
35
35
|
import { P as Ve } from "./pencil-B1sKKyuT.js";
|
|
36
36
|
import { L as Ne } from "./lock-ClAFG1gy.js";
|
|
37
|
-
import { C as
|
|
37
|
+
import { C as we } from "./copy-vRpqqHtY.js";
|
|
38
38
|
/**
|
|
39
39
|
* @license lucide-react v1.22.0 - ISC
|
|
40
40
|
*
|
|
41
41
|
* This source code is licensed under the ISC license.
|
|
42
42
|
* See the LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
const
|
|
44
|
+
const De = [
|
|
45
45
|
["path", { d: "M5 22h14", key: "ehvnwv" }],
|
|
46
46
|
["path", { d: "M5 2h14", key: "pdyrp9" }],
|
|
47
47
|
[
|
|
@@ -55,7 +55,7 @@ const we = [
|
|
|
55
55
|
"path",
|
|
56
56
|
{ d: "M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2", key: "1vvvr6" }
|
|
57
57
|
]
|
|
58
|
-
], Se =
|
|
58
|
+
], Se = R("hourglass", De);
|
|
59
59
|
/**
|
|
60
60
|
* @license lucide-react v1.22.0 - ISC
|
|
61
61
|
*
|
|
@@ -66,7 +66,7 @@ const Te = [
|
|
|
66
66
|
["path", { d: "M16 3h5v5", key: "1806ms" }],
|
|
67
67
|
["path", { d: "m21 3-6.75 6.75", key: "pv0uzu" }],
|
|
68
68
|
["circle", { cx: "10", cy: "14", r: "6", key: "1qwbdc" }]
|
|
69
|
-
], ze =
|
|
69
|
+
], ze = R("mars", Te);
|
|
70
70
|
/**
|
|
71
71
|
* @license lucide-react v1.22.0 - ISC
|
|
72
72
|
*
|
|
@@ -77,49 +77,49 @@ const Pe = [
|
|
|
77
77
|
["path", { d: "M12 15v7", key: "t2xh3l" }],
|
|
78
78
|
["path", { d: "M9 19h6", key: "456am0" }],
|
|
79
79
|
["circle", { cx: "12", cy: "9", r: "6", key: "1nw4tq" }]
|
|
80
|
-
], Ae =
|
|
80
|
+
], Ae = R("venus", Pe);
|
|
81
81
|
function X(e) {
|
|
82
|
-
return e.flatMap((
|
|
82
|
+
return e.flatMap((s) => s.fields.map((a) => a.id));
|
|
83
83
|
}
|
|
84
|
-
function Nt(e,
|
|
85
|
-
const a =
|
|
86
|
-
return e.map((
|
|
87
|
-
section:
|
|
88
|
-
fields:
|
|
89
|
-
(h, l) =>
|
|
84
|
+
function Nt(e, s) {
|
|
85
|
+
const a = s ?? X(e), r = new Map(a.map((n, h) => [n, h]));
|
|
86
|
+
return e.map((n) => ({
|
|
87
|
+
section: n,
|
|
88
|
+
fields: n.fields.filter((h) => r.has(h.id)).sort(
|
|
89
|
+
(h, l) => r.get(h.id) - r.get(l.id)
|
|
90
90
|
)
|
|
91
91
|
}));
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
const
|
|
93
|
+
function wt(e, { value: s, defaultValue: a, onChange: r } = {}) {
|
|
94
|
+
const n = _(
|
|
95
95
|
() => X(e),
|
|
96
96
|
[e]
|
|
97
97
|
), [h, l] = Z({
|
|
98
|
-
value:
|
|
99
|
-
defaultValue: a ??
|
|
100
|
-
onChange:
|
|
101
|
-
}), c = h ?? a ??
|
|
98
|
+
value: s,
|
|
99
|
+
defaultValue: a ?? n,
|
|
100
|
+
onChange: r
|
|
101
|
+
}), c = h ?? a ?? n, m = _(() => {
|
|
102
102
|
const g = /* @__PURE__ */ new Map();
|
|
103
103
|
for (const y of e)
|
|
104
104
|
for (const x of y.fields)
|
|
105
105
|
g.set(x.id, { field: x, sectionId: y.id });
|
|
106
106
|
return g;
|
|
107
|
-
}, [e]), d =
|
|
107
|
+
}, [e]), d = C(
|
|
108
108
|
(g) => {
|
|
109
109
|
l(g.filter((y) => m.has(y)));
|
|
110
110
|
},
|
|
111
111
|
[l, m]
|
|
112
|
-
), i =
|
|
112
|
+
), i = C(
|
|
113
113
|
(g) => {
|
|
114
114
|
d(
|
|
115
115
|
c.includes(g) ? c.filter((y) => y !== g) : [...c, g]
|
|
116
116
|
);
|
|
117
117
|
},
|
|
118
118
|
[c, d]
|
|
119
|
-
), E =
|
|
119
|
+
), E = C(
|
|
120
120
|
(g, y) => {
|
|
121
|
-
var
|
|
122
|
-
const x = ((
|
|
121
|
+
var w;
|
|
122
|
+
const x = ((w = e.find((p) => p.id === g)) == null ? void 0 : w.fields.map((p) => p.id)) ?? [], P = new Set(x);
|
|
123
123
|
if (y) {
|
|
124
124
|
const p = x.filter((u) => !c.includes(u));
|
|
125
125
|
d([...c, ...p]);
|
|
@@ -127,57 +127,57 @@ function Dt(e, { value: n, defaultValue: a, onChange: s } = {}) {
|
|
|
127
127
|
d(c.filter((p) => !P.has(p)));
|
|
128
128
|
},
|
|
129
129
|
[e, c, d]
|
|
130
|
-
), N =
|
|
130
|
+
), N = C(
|
|
131
131
|
(g, y) => {
|
|
132
132
|
var M, o, F;
|
|
133
133
|
if (g === y) return;
|
|
134
134
|
const x = (M = m.get(g)) == null ? void 0 : M.sectionId, P = (o = m.get(y)) == null ? void 0 : o.sectionId;
|
|
135
135
|
if (!x || x !== P) return;
|
|
136
|
-
const
|
|
136
|
+
const w = new Set(
|
|
137
137
|
((F = e.find((b) => b.id === x)) == null ? void 0 : F.fields.map((b) => b.id)) ?? []
|
|
138
|
-
), p = c.filter((b) =>
|
|
138
|
+
), p = c.filter((b) => w.has(b)), u = p.indexOf(g), v = p.indexOf(y);
|
|
139
139
|
if (u < 0 || v < 0) return;
|
|
140
140
|
const [S] = p.splice(u, 1);
|
|
141
141
|
p.splice(v, 0, S);
|
|
142
|
-
let
|
|
142
|
+
let k = 0;
|
|
143
143
|
const H = c.map(
|
|
144
|
-
(b) =>
|
|
144
|
+
(b) => w.has(b) ? p[k++] : b
|
|
145
145
|
);
|
|
146
146
|
d(H);
|
|
147
147
|
},
|
|
148
148
|
[m, e, c, d]
|
|
149
|
-
),
|
|
150
|
-
d(a ??
|
|
151
|
-
}, [a,
|
|
149
|
+
), D = C(() => {
|
|
150
|
+
d(a ?? n);
|
|
151
|
+
}, [a, n, d]);
|
|
152
152
|
return {
|
|
153
153
|
visible: c,
|
|
154
|
-
catalogueIds:
|
|
154
|
+
catalogueIds: n,
|
|
155
155
|
fieldById: m,
|
|
156
156
|
setOrder: d,
|
|
157
157
|
toggleField: i,
|
|
158
158
|
toggleSection: E,
|
|
159
159
|
moveFieldOnto: N,
|
|
160
|
-
reset:
|
|
160
|
+
reset: D
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Dt({
|
|
164
164
|
sections: e,
|
|
165
|
-
visible:
|
|
165
|
+
visible: s,
|
|
166
166
|
onToggleField: a,
|
|
167
|
-
onToggleSection:
|
|
168
|
-
onMoveFieldOnto:
|
|
167
|
+
onToggleSection: r,
|
|
168
|
+
onMoveFieldOnto: n,
|
|
169
169
|
onReset: h,
|
|
170
170
|
label: l
|
|
171
171
|
}) {
|
|
172
|
-
const { t: c } = A(), m = _(() => new Set(
|
|
172
|
+
const { t: c } = A("ui"), m = _(() => new Set(s), [s]), [d, i] = z(null), [E, N] = z(null), [D, g] = z(""), { sectionOfField: y, labelOfField: x } = _(() => {
|
|
173
173
|
const u = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
|
|
174
174
|
for (const S of e)
|
|
175
|
-
for (const
|
|
176
|
-
u.set(
|
|
175
|
+
for (const k of S.fields)
|
|
176
|
+
u.set(k.id, S.id), v.set(k.id, k.label);
|
|
177
177
|
return { sectionOfField: u, labelOfField: v };
|
|
178
|
-
}, [e]), P = d ? y.get(d) : void 0,
|
|
178
|
+
}, [e]), P = d ? y.get(d) : void 0, w = C(() => {
|
|
179
179
|
i(null), N(null);
|
|
180
|
-
}, []), p =
|
|
180
|
+
}, []), p = C(
|
|
181
181
|
(u, v, S) => {
|
|
182
182
|
g(
|
|
183
183
|
c("fieldPicker.moved", {
|
|
@@ -201,131 +201,151 @@ function wt({
|
|
|
201
201
|
className: "ds:shrink-0"
|
|
202
202
|
}
|
|
203
203
|
) }),
|
|
204
|
-
/* @__PURE__ */ V(
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
return /* @__PURE__ */ V(
|
|
204
|
+
/* @__PURE__ */ V(
|
|
205
|
+
O.Content,
|
|
206
|
+
{
|
|
207
|
+
align: "end",
|
|
208
|
+
size: "sm",
|
|
209
|
+
className: "ds:flex ds:max-h-[var(--radix-popover-content-available-height)] ds:flex-col",
|
|
210
|
+
children: [
|
|
211
|
+
/* @__PURE__ */ t(O.Heading, { children: c("fieldPicker.title", { defaultValue: "Customize fields" }) }),
|
|
212
|
+
/* @__PURE__ */ t(
|
|
214
213
|
"div",
|
|
215
214
|
{
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
)
|
|
227
|
-
|
|
228
|
-
|
|
215
|
+
"data-component-part": "field-list",
|
|
216
|
+
className: [
|
|
217
|
+
"ds:flex ds:min-h-0 ds:flex-col ds:gap-[var(--spacing-sm)] ds:overflow-y-auto",
|
|
218
|
+
"ds:-mx-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] ds:px-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
|
|
219
|
+
"ds:py-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
|
|
220
|
+
"ds:mt-[calc(var(--spacing-xs)-var(--focus-ring-width)-var(--focus-ring-offset))]"
|
|
221
|
+
].join(" "),
|
|
222
|
+
children: e.map((u) => {
|
|
223
|
+
const v = u.fields.map((o) => o.id), S = v.filter(
|
|
224
|
+
(o) => m.has(o)
|
|
225
|
+
).length, k = s.filter(
|
|
226
|
+
(o) => v.includes(o)
|
|
227
|
+
), H = S === 0 ? !1 : S === v.length ? !0 : "indeterminate", M = !!u.heading;
|
|
228
|
+
return /* @__PURE__ */ V(
|
|
229
|
+
"div",
|
|
229
230
|
{
|
|
230
|
-
className: [
|
|
231
|
-
|
|
232
|
-
M ?
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
231
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
232
|
+
children: [
|
|
233
|
+
M ? /* @__PURE__ */ t(
|
|
234
|
+
U,
|
|
235
|
+
{
|
|
236
|
+
size: "sm",
|
|
237
|
+
label: u.heading,
|
|
238
|
+
checked: H,
|
|
239
|
+
onCheckedChange: (o) => r(u.id, o === !0)
|
|
240
|
+
}
|
|
241
|
+
) : null,
|
|
242
|
+
/* @__PURE__ */ t(
|
|
243
|
+
"ul",
|
|
238
244
|
{
|
|
239
|
-
...F ? {
|
|
240
|
-
draggable: !0,
|
|
241
|
-
onDragStart: (f) => {
|
|
242
|
-
i(o.id), f.dataTransfer.effectAllowed = "move", f.dataTransfer.setData("text/plain", o.id);
|
|
243
|
-
},
|
|
244
|
-
onDragOver: (f) => {
|
|
245
|
-
d === null || P !== u.id || (f.preventDefault(), f.dataTransfer.dropEffect = "move", N(o.id));
|
|
246
|
-
},
|
|
247
|
-
onDragLeave: () => N(
|
|
248
|
-
(f) => f === o.id ? null : f
|
|
249
|
-
),
|
|
250
|
-
onDrop: (f) => {
|
|
251
|
-
f.preventDefault();
|
|
252
|
-
const L = f.dataTransfer.getData("text/plain");
|
|
253
|
-
L && L !== o.id && y.get(L) === u.id && (r(L, o.id), p(L, b, T)), D();
|
|
254
|
-
},
|
|
255
|
-
onDragEnd: D
|
|
256
|
-
} : {},
|
|
257
245
|
className: [
|
|
258
|
-
"ds:
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
/* @__PURE__ */
|
|
264
|
-
|
|
265
|
-
{
|
|
266
|
-
size: "sm",
|
|
267
|
-
label: o.label,
|
|
268
|
-
checked: F,
|
|
269
|
-
onCheckedChange: () => a(o.id)
|
|
270
|
-
}
|
|
271
|
-
),
|
|
272
|
-
F ? /* @__PURE__ */ t(
|
|
273
|
-
I,
|
|
246
|
+
"ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
247
|
+
M ? "ds:ps-[var(--spacing-md)]" : "ds:ps-0"
|
|
248
|
+
].join(" "),
|
|
249
|
+
children: u.fields.map((o) => {
|
|
250
|
+
const F = m.has(o.id), b = k.indexOf(o.id), T = k.length, J = d === o.id, Q = E === o.id && d !== null && d !== o.id && P === u.id;
|
|
251
|
+
return /* @__PURE__ */ V(
|
|
252
|
+
"li",
|
|
274
253
|
{
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
), p(o.id, T - 1, T);
|
|
254
|
+
...F ? {
|
|
255
|
+
draggable: !0,
|
|
256
|
+
onDragStart: (f) => {
|
|
257
|
+
i(o.id), f.dataTransfer.effectAllowed = "move", f.dataTransfer.setData("text/plain", o.id);
|
|
258
|
+
},
|
|
259
|
+
onDragOver: (f) => {
|
|
260
|
+
d === null || P !== u.id || (f.preventDefault(), f.dataTransfer.dropEffect = "move", N(o.id));
|
|
261
|
+
},
|
|
262
|
+
onDragLeave: () => N(
|
|
263
|
+
(f) => f === o.id ? null : f
|
|
264
|
+
),
|
|
265
|
+
onDrop: (f) => {
|
|
266
|
+
f.preventDefault();
|
|
267
|
+
const L = f.dataTransfer.getData("text/plain");
|
|
268
|
+
L && L !== o.id && y.get(L) === u.id && (n(L, o.id), p(L, b, T)), w();
|
|
269
|
+
},
|
|
270
|
+
onDragEnd: w
|
|
271
|
+
} : {},
|
|
272
|
+
className: [
|
|
273
|
+
"ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-2xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-2xs)] ds:py-[var(--spacing-2xs)] ds:transition-colors ds:motion-reduce:transition-none",
|
|
274
|
+
J ? "ds:opacity-50" : "",
|
|
275
|
+
Q ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
|
|
276
|
+
].filter(Boolean).join(" "),
|
|
277
|
+
children: [
|
|
278
|
+
/* @__PURE__ */ t(
|
|
279
|
+
U,
|
|
280
|
+
{
|
|
281
|
+
size: "sm",
|
|
282
|
+
label: o.label,
|
|
283
|
+
checked: F,
|
|
284
|
+
onCheckedChange: () => a(o.id)
|
|
307
285
|
}
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
286
|
+
),
|
|
287
|
+
F ? /* @__PURE__ */ t(
|
|
288
|
+
I,
|
|
289
|
+
{
|
|
290
|
+
size: "sm",
|
|
291
|
+
intent: "ghost",
|
|
292
|
+
icon: /* @__PURE__ */ t(se, { "aria-hidden": "true" }),
|
|
293
|
+
"aria-label": c("fieldPicker.reorder", {
|
|
294
|
+
field: o.label,
|
|
295
|
+
defaultValue: "Reorder {{field}}. Press Alt + Up or Alt + Down to move."
|
|
296
|
+
}),
|
|
297
|
+
"aria-keyshortcuts": "Alt+ArrowUp Alt+ArrowDown Alt+Home Alt+End",
|
|
298
|
+
className: "ds:shrink-0 ds:cursor-grab ds:active:cursor-grabbing",
|
|
299
|
+
onKeyDown: (f) => {
|
|
300
|
+
if (f.altKey) {
|
|
301
|
+
if (f.key === "ArrowUp") {
|
|
302
|
+
if (b <= 0) return;
|
|
303
|
+
f.preventDefault(), n(
|
|
304
|
+
o.id,
|
|
305
|
+
k[b - 1]
|
|
306
|
+
), p(o.id, b - 1, T);
|
|
307
|
+
} else if (f.key === "ArrowDown") {
|
|
308
|
+
if (b >= T - 1) return;
|
|
309
|
+
f.preventDefault(), n(
|
|
310
|
+
o.id,
|
|
311
|
+
k[b + 1]
|
|
312
|
+
), p(o.id, b + 1, T);
|
|
313
|
+
} else if (f.key === "Home") {
|
|
314
|
+
if (b <= 0) return;
|
|
315
|
+
f.preventDefault(), n(o.id, k[0]), p(o.id, 0, T);
|
|
316
|
+
} else if (f.key === "End") {
|
|
317
|
+
if (b >= T - 1) return;
|
|
318
|
+
f.preventDefault(), n(
|
|
319
|
+
o.id,
|
|
320
|
+
k[T - 1]
|
|
321
|
+
), p(o.id, T - 1, T);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
) : null
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
o.id
|
|
330
|
+
);
|
|
331
|
+
})
|
|
332
|
+
}
|
|
333
|
+
)
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
u.id
|
|
337
|
+
);
|
|
338
|
+
})
|
|
339
|
+
}
|
|
340
|
+
),
|
|
341
|
+
/* @__PURE__ */ V("div", { className: "ds:flex ds:shrink-0 ds:flex-col ds:gap-[var(--spacing-sm)] ds:pt-[calc(var(--spacing-sm)-var(--focus-ring-width)-var(--focus-ring-offset))]", children: [
|
|
342
|
+
/* @__PURE__ */ t(te, { orientation: "horizontal" }),
|
|
343
|
+
/* @__PURE__ */ t(ee, { type: "button", size: "sm", intent: "ghost", onClick: h, children: c("fieldPicker.reset", { defaultValue: "Reset to defaults" }) })
|
|
344
|
+
] }),
|
|
345
|
+
/* @__PURE__ */ t("span", { role: "status", className: "ds:sr-only", children: D })
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
)
|
|
329
349
|
] });
|
|
330
350
|
}
|
|
331
351
|
const G = "ds:text-[color:var(--foreground)]", Ee = {
|
|
@@ -335,14 +355,14 @@ const G = "ds:text-[color:var(--foreground)]", Ee = {
|
|
|
335
355
|
};
|
|
336
356
|
function B({
|
|
337
357
|
icon: e,
|
|
338
|
-
mono:
|
|
358
|
+
mono: s,
|
|
339
359
|
children: a
|
|
340
360
|
}) {
|
|
341
361
|
return /* @__PURE__ */ t(
|
|
342
|
-
|
|
362
|
+
j,
|
|
343
363
|
{
|
|
344
364
|
variant: "neutral",
|
|
345
|
-
className:
|
|
365
|
+
className: s ? "ds:font-mono" : void 0,
|
|
346
366
|
leading: e ? W(e, {
|
|
347
367
|
className: G
|
|
348
368
|
}) : void 0,
|
|
@@ -351,25 +371,25 @@ function B({
|
|
|
351
371
|
);
|
|
352
372
|
}
|
|
353
373
|
function Fe({ code: e }) {
|
|
354
|
-
const { t:
|
|
374
|
+
const { t: s } = A("ui"), a = e.toLowerCase(), r = s(`patientField.sex.${a}`, {
|
|
355
375
|
defaultValue: Ee[a] ?? e
|
|
356
376
|
});
|
|
357
|
-
return a === "f" ? /* @__PURE__ */ t(
|
|
377
|
+
return a === "f" ? /* @__PURE__ */ t(j, { variant: "accentSoft", leading: /* @__PURE__ */ t(Ae, {}), children: r }) : a === "m" ? /* @__PURE__ */ t(j, { variant: "info", leading: /* @__PURE__ */ t(ze, {}), children: r }) : /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(le, {}), children: r });
|
|
358
378
|
}
|
|
359
379
|
function Ie({ years: e }) {
|
|
360
|
-
const { t:
|
|
361
|
-
return /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(Se, {}), children:
|
|
380
|
+
const { t: s } = A("ui");
|
|
381
|
+
return /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(Se, {}), children: s("patientField.age", {
|
|
362
382
|
count: e,
|
|
363
383
|
defaultValue: "{{count}} years old"
|
|
364
384
|
}) });
|
|
365
385
|
}
|
|
366
386
|
function Me({ field: e }) {
|
|
367
|
-
const { i18n:
|
|
387
|
+
const { i18n: s } = A("ui");
|
|
368
388
|
if (e.kind === "email" || e.kind === "phone") {
|
|
369
389
|
const a = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
|
|
370
390
|
if (a) {
|
|
371
|
-
const
|
|
372
|
-
return /* @__PURE__ */ t(
|
|
391
|
+
const r = e.kind === "email" ? `mailto:${a.trim()}` : `tel:${a.replace(/[^+\d]/g, "")}`;
|
|
392
|
+
return /* @__PURE__ */ t(re, { href: r, dir: "ltr", children: a });
|
|
373
393
|
}
|
|
374
394
|
}
|
|
375
395
|
if (e.value != null)
|
|
@@ -384,12 +404,12 @@ function Me({ field: e }) {
|
|
|
384
404
|
return Number.isFinite(a) ? /* @__PURE__ */ t(Ie, { years: a }) : null;
|
|
385
405
|
}
|
|
386
406
|
case "dob": {
|
|
387
|
-
const a = e.editValue,
|
|
407
|
+
const a = e.editValue, r = a instanceof Date ? a : new Date(String(a ?? "")), n = Number.isNaN(r.getTime()) ? String(a ?? "") : new Intl.DateTimeFormat(s.language, {
|
|
388
408
|
day: "numeric",
|
|
389
409
|
month: "short",
|
|
390
410
|
year: "numeric"
|
|
391
|
-
}).format(
|
|
392
|
-
return
|
|
411
|
+
}).format(r);
|
|
412
|
+
return n ? /* @__PURE__ */ t(B, { icon: /* @__PURE__ */ t(oe, {}), children: n }) : null;
|
|
393
413
|
}
|
|
394
414
|
case "fiscalCode": {
|
|
395
415
|
const a = e.copyText ?? (typeof e.editValue == "string" ? e.editValue : "");
|
|
@@ -398,7 +418,7 @@ function Me({ field: e }) {
|
|
|
398
418
|
case "discount": {
|
|
399
419
|
const a = typeof e.editValue == "number" ? e.editValue : Number(e.editValue);
|
|
400
420
|
return Number.isFinite(a) ? /* @__PURE__ */ t(
|
|
401
|
-
|
|
421
|
+
ne,
|
|
402
422
|
{
|
|
403
423
|
state: "discount",
|
|
404
424
|
amount: Math.abs(a),
|
|
@@ -414,13 +434,13 @@ function Me({ field: e }) {
|
|
|
414
434
|
function Le({
|
|
415
435
|
field: e
|
|
416
436
|
}) {
|
|
417
|
-
const { t:
|
|
437
|
+
const { t: s } = A("ui");
|
|
418
438
|
return /* @__PURE__ */ V("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
419
439
|
e.label,
|
|
420
440
|
e.sensitive ? /* @__PURE__ */ t(
|
|
421
441
|
Ne,
|
|
422
442
|
{
|
|
423
|
-
"aria-label":
|
|
443
|
+
"aria-label": s("patientDetails.sensitive", {
|
|
424
444
|
defaultValue: "Sensitive"
|
|
425
445
|
}),
|
|
426
446
|
className: "ds:size-3 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
|
|
@@ -430,27 +450,27 @@ function Le({
|
|
|
430
450
|
}
|
|
431
451
|
function Oe({
|
|
432
452
|
field: e,
|
|
433
|
-
editable:
|
|
453
|
+
editable: s,
|
|
434
454
|
onFieldSave: a,
|
|
435
|
-
validate:
|
|
436
|
-
locale:
|
|
455
|
+
validate: r,
|
|
456
|
+
locale: n
|
|
437
457
|
}) {
|
|
438
|
-
const { t: h } = A(), l = Y(), c =
|
|
439
|
-
E(e.editValue),
|
|
440
|
-
}, [e.editValue]), P =
|
|
441
|
-
d(!1),
|
|
442
|
-
}, []),
|
|
458
|
+
const { t: h } = A("ui"), l = Y(), c = s && !!e.editable && !!a, [m, d] = z(!1), [i, E] = z(e.editValue), [N, D] = z(null), [g, y] = z(!1), x = C(() => {
|
|
459
|
+
E(e.editValue), D(null), d(!0);
|
|
460
|
+
}, [e.editValue]), P = C(() => {
|
|
461
|
+
d(!1), D(null);
|
|
462
|
+
}, []), w = C(async () => {
|
|
443
463
|
if (!a) return;
|
|
444
|
-
const u = (
|
|
464
|
+
const u = (r == null ? void 0 : r(e.id, i)) ?? null;
|
|
445
465
|
if (u) {
|
|
446
|
-
|
|
466
|
+
D(u);
|
|
447
467
|
return;
|
|
448
468
|
}
|
|
449
|
-
y(!0),
|
|
469
|
+
y(!0), D(null);
|
|
450
470
|
try {
|
|
451
471
|
await a(e.id, i), d(!1);
|
|
452
472
|
} catch (v) {
|
|
453
|
-
|
|
473
|
+
D(
|
|
454
474
|
v instanceof Error && v.message ? v.message : h("patientDetails.edit.saveFailed", {
|
|
455
475
|
defaultValue: "Could not save. Try again."
|
|
456
476
|
})
|
|
@@ -458,7 +478,7 @@ function Oe({
|
|
|
458
478
|
} finally {
|
|
459
479
|
y(!1);
|
|
460
480
|
}
|
|
461
|
-
}, [a,
|
|
481
|
+
}, [a, r, e.id, i, h]), p = typeof e.value == "string" ? e.value : e.copyText ?? (typeof e.editValue == "string" ? e.editValue : void 0);
|
|
462
482
|
return m ? /* @__PURE__ */ V("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
463
483
|
/* @__PURE__ */ V("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
|
|
464
484
|
/* @__PURE__ */ t(
|
|
@@ -469,7 +489,7 @@ function Oe({
|
|
|
469
489
|
onChange: E,
|
|
470
490
|
invalid: !!N,
|
|
471
491
|
errorId: N ? l : void 0,
|
|
472
|
-
locale:
|
|
492
|
+
locale: n,
|
|
473
493
|
disabled: g
|
|
474
494
|
}
|
|
475
495
|
),
|
|
@@ -481,7 +501,7 @@ function Oe({
|
|
|
481
501
|
icon: /* @__PURE__ */ t(K, { "aria-hidden": "true" }),
|
|
482
502
|
"aria-label": h("patientDetails.edit.save", { defaultValue: "Save" }),
|
|
483
503
|
loading: g,
|
|
484
|
-
onClick:
|
|
504
|
+
onClick: w
|
|
485
505
|
}
|
|
486
506
|
),
|
|
487
507
|
/* @__PURE__ */ t(
|
|
@@ -489,7 +509,7 @@ function Oe({
|
|
|
489
509
|
{
|
|
490
510
|
size: "sm",
|
|
491
511
|
intent: "ghost",
|
|
492
|
-
icon: /* @__PURE__ */ t(
|
|
512
|
+
icon: /* @__PURE__ */ t(Ce, { "aria-hidden": "true" }),
|
|
493
513
|
"aria-label": h("patientDetails.edit.cancel", {
|
|
494
514
|
defaultValue: "Cancel"
|
|
495
515
|
}),
|
|
@@ -535,13 +555,13 @@ function Oe({
|
|
|
535
555
|
}
|
|
536
556
|
function St({
|
|
537
557
|
field: e,
|
|
538
|
-
icon:
|
|
558
|
+
icon: s,
|
|
539
559
|
...a
|
|
540
560
|
}) {
|
|
541
561
|
return /* @__PURE__ */ V(
|
|
542
562
|
$.Row,
|
|
543
563
|
{
|
|
544
|
-
icon:
|
|
564
|
+
icon: s ?? null,
|
|
545
565
|
"data-field-id": e.id,
|
|
546
566
|
className: "ds:group",
|
|
547
567
|
children: [
|
|
@@ -553,26 +573,26 @@ function St({
|
|
|
553
573
|
}
|
|
554
574
|
function _e({
|
|
555
575
|
field: e,
|
|
556
|
-
value:
|
|
576
|
+
value: s,
|
|
557
577
|
onChange: a,
|
|
558
|
-
invalid:
|
|
559
|
-
errorId:
|
|
578
|
+
invalid: r,
|
|
579
|
+
errorId: n,
|
|
560
580
|
locale: h,
|
|
561
581
|
disabled: l
|
|
562
582
|
}) {
|
|
563
|
-
const { t: c } = A(), m =
|
|
583
|
+
const { t: c } = A("ui"), m = r ? "error" : "default";
|
|
564
584
|
switch (e.editType ?? "text") {
|
|
565
585
|
case "textarea":
|
|
566
586
|
return /* @__PURE__ */ t(
|
|
567
587
|
xe,
|
|
568
588
|
{
|
|
569
589
|
size: "sm",
|
|
570
|
-
value: typeof
|
|
590
|
+
value: typeof s == "string" ? s : "",
|
|
571
591
|
onChange: (i) => a(i.target.value),
|
|
572
592
|
tone: m,
|
|
573
593
|
"aria-label": e.label,
|
|
574
|
-
"aria-invalid":
|
|
575
|
-
"aria-describedby":
|
|
594
|
+
"aria-invalid": r || void 0,
|
|
595
|
+
"aria-describedby": n,
|
|
576
596
|
disabled: l,
|
|
577
597
|
className: "ds:flex-1"
|
|
578
598
|
}
|
|
@@ -583,13 +603,13 @@ function _e({
|
|
|
583
603
|
{
|
|
584
604
|
size: "sm",
|
|
585
605
|
options: e.options ?? [],
|
|
586
|
-
value: typeof
|
|
606
|
+
value: typeof s == "string" ? s : "",
|
|
587
607
|
onValueChange: (i) => a(i),
|
|
588
608
|
tone: m,
|
|
589
609
|
disabled: l,
|
|
590
610
|
"aria-label": e.label,
|
|
591
|
-
"aria-invalid":
|
|
592
|
-
"aria-describedby":
|
|
611
|
+
"aria-invalid": r || void 0,
|
|
612
|
+
"aria-describedby": n
|
|
593
613
|
}
|
|
594
614
|
);
|
|
595
615
|
case "boolean":
|
|
@@ -597,7 +617,7 @@ function _e({
|
|
|
597
617
|
ve,
|
|
598
618
|
{
|
|
599
619
|
label: e.label,
|
|
600
|
-
checked:
|
|
620
|
+
checked: s === !0,
|
|
601
621
|
onCheckedChange: (i) => a(i),
|
|
602
622
|
disabled: l
|
|
603
623
|
}
|
|
@@ -607,7 +627,7 @@ function _e({
|
|
|
607
627
|
ue,
|
|
608
628
|
{
|
|
609
629
|
size: "sm",
|
|
610
|
-
value:
|
|
630
|
+
value: s instanceof Date ? s : void 0,
|
|
611
631
|
onChange: (i) => a(i ?? null),
|
|
612
632
|
disabled: l,
|
|
613
633
|
"aria-label": e.label
|
|
@@ -618,7 +638,7 @@ function _e({
|
|
|
618
638
|
fe,
|
|
619
639
|
{
|
|
620
640
|
size: "sm",
|
|
621
|
-
value: typeof
|
|
641
|
+
value: typeof s == "number" ? s : null,
|
|
622
642
|
onChange: (i) => a(i),
|
|
623
643
|
mode: e.currency ? "currency" : "decimal",
|
|
624
644
|
currency: e.currency,
|
|
@@ -626,8 +646,8 @@ function _e({
|
|
|
626
646
|
tone: m,
|
|
627
647
|
disabled: l,
|
|
628
648
|
"aria-label": e.label,
|
|
629
|
-
"aria-invalid":
|
|
630
|
-
"aria-describedby":
|
|
649
|
+
"aria-invalid": r || void 0,
|
|
650
|
+
"aria-describedby": n
|
|
631
651
|
}
|
|
632
652
|
);
|
|
633
653
|
case "email":
|
|
@@ -635,11 +655,11 @@ function _e({
|
|
|
635
655
|
me,
|
|
636
656
|
{
|
|
637
657
|
size: "sm",
|
|
638
|
-
value: typeof
|
|
658
|
+
value: typeof s == "string" ? s : "",
|
|
639
659
|
onChange: (i) => a(i.target.value),
|
|
640
660
|
"aria-label": e.label,
|
|
641
|
-
"aria-invalid":
|
|
642
|
-
"aria-describedby":
|
|
661
|
+
"aria-invalid": r || void 0,
|
|
662
|
+
"aria-describedby": n,
|
|
643
663
|
disabled: l,
|
|
644
664
|
className: "ds:flex-1"
|
|
645
665
|
}
|
|
@@ -649,12 +669,12 @@ function _e({
|
|
|
649
669
|
ge,
|
|
650
670
|
{
|
|
651
671
|
size: "sm",
|
|
652
|
-
value: typeof
|
|
672
|
+
value: typeof s == "string" ? s : "",
|
|
653
673
|
onChange: (i) => a(i),
|
|
654
674
|
tone: m,
|
|
655
675
|
"aria-label": e.label,
|
|
656
|
-
"aria-invalid":
|
|
657
|
-
"aria-describedby":
|
|
676
|
+
"aria-invalid": r || void 0,
|
|
677
|
+
"aria-describedby": n,
|
|
658
678
|
disabled: l,
|
|
659
679
|
className: "ds:flex-1"
|
|
660
680
|
}
|
|
@@ -664,12 +684,12 @@ function _e({
|
|
|
664
684
|
pe,
|
|
665
685
|
{
|
|
666
686
|
size: "sm",
|
|
667
|
-
value: typeof
|
|
687
|
+
value: typeof s == "string" ? s : "",
|
|
668
688
|
onChange: (i) => a(i),
|
|
669
689
|
tone: m,
|
|
670
690
|
"aria-label": e.label,
|
|
671
|
-
"aria-invalid":
|
|
672
|
-
"aria-describedby":
|
|
691
|
+
"aria-invalid": r || void 0,
|
|
692
|
+
"aria-describedby": n,
|
|
673
693
|
disabled: l,
|
|
674
694
|
className: "ds:flex-1"
|
|
675
695
|
}
|
|
@@ -684,13 +704,13 @@ function _e({
|
|
|
684
704
|
{
|
|
685
705
|
size: "sm",
|
|
686
706
|
country: "it",
|
|
687
|
-
value: typeof
|
|
707
|
+
value: typeof s == "string" ? s : "",
|
|
688
708
|
onValueChange: (i) => a(i),
|
|
689
709
|
tone: m,
|
|
690
710
|
disabled: l,
|
|
691
711
|
"aria-label": e.label,
|
|
692
|
-
"aria-invalid":
|
|
693
|
-
"aria-describedby":
|
|
712
|
+
"aria-invalid": r || void 0,
|
|
713
|
+
"aria-describedby": n,
|
|
694
714
|
className: "ds:flex-1"
|
|
695
715
|
}
|
|
696
716
|
);
|
|
@@ -699,13 +719,13 @@ function _e({
|
|
|
699
719
|
de,
|
|
700
720
|
{
|
|
701
721
|
size: "sm",
|
|
702
|
-
value: typeof
|
|
722
|
+
value: typeof s == "string" ? s : "",
|
|
703
723
|
onValueChange: (i) => a(i),
|
|
704
724
|
tone: m,
|
|
705
725
|
disabled: l,
|
|
706
726
|
"aria-label": e.label,
|
|
707
|
-
"aria-invalid":
|
|
708
|
-
"aria-describedby":
|
|
727
|
+
"aria-invalid": r || void 0,
|
|
728
|
+
"aria-describedby": n,
|
|
709
729
|
className: "ds:flex-1"
|
|
710
730
|
}
|
|
711
731
|
);
|
|
@@ -715,11 +735,11 @@ function _e({
|
|
|
715
735
|
{
|
|
716
736
|
size: "sm",
|
|
717
737
|
country: "it",
|
|
718
|
-
value: typeof
|
|
738
|
+
value: typeof s == "string" ? s : "",
|
|
719
739
|
onValueChange: (i) => a(i),
|
|
720
740
|
"aria-label": e.label,
|
|
721
|
-
"aria-invalid":
|
|
722
|
-
"aria-describedby":
|
|
741
|
+
"aria-invalid": r || void 0,
|
|
742
|
+
"aria-describedby": n,
|
|
723
743
|
disabled: l,
|
|
724
744
|
className: "ds:flex-1"
|
|
725
745
|
}
|
|
@@ -729,28 +749,28 @@ function _e({
|
|
|
729
749
|
ce,
|
|
730
750
|
{
|
|
731
751
|
size: "sm",
|
|
732
|
-
value: typeof
|
|
752
|
+
value: typeof s == "string" ? s : "",
|
|
733
753
|
onValueChange: (i) => a(i),
|
|
734
754
|
tone: m,
|
|
735
755
|
disabled: l,
|
|
736
756
|
"aria-label": e.label,
|
|
737
|
-
"aria-invalid":
|
|
738
|
-
"aria-describedby":
|
|
757
|
+
"aria-invalid": r || void 0,
|
|
758
|
+
"aria-describedby": n,
|
|
739
759
|
className: "ds:flex-1"
|
|
740
760
|
}
|
|
741
761
|
);
|
|
742
762
|
case "text":
|
|
743
763
|
default:
|
|
744
764
|
return /* @__PURE__ */ t(
|
|
745
|
-
|
|
765
|
+
ke,
|
|
746
766
|
{
|
|
747
767
|
size: "sm",
|
|
748
|
-
value: typeof
|
|
768
|
+
value: typeof s == "string" ? s : "",
|
|
749
769
|
onChange: (i) => a(i.target.value),
|
|
750
770
|
tone: m,
|
|
751
771
|
"aria-label": e.label,
|
|
752
|
-
"aria-invalid":
|
|
753
|
-
"aria-describedby":
|
|
772
|
+
"aria-invalid": r || void 0,
|
|
773
|
+
"aria-describedby": n,
|
|
754
774
|
disabled: l,
|
|
755
775
|
clearable: !0,
|
|
756
776
|
placeholder: c("patientDetails.edit.placeholder", {
|
|
@@ -763,12 +783,12 @@ function _e({
|
|
|
763
783
|
}
|
|
764
784
|
function Be({
|
|
765
785
|
text: e,
|
|
766
|
-
label:
|
|
786
|
+
label: s
|
|
767
787
|
}) {
|
|
768
|
-
const { t: a } = A(), [
|
|
788
|
+
const { t: a } = A("ui"), [r, n] = z(!1), [h, l] = z(""), c = C(async () => {
|
|
769
789
|
try {
|
|
770
|
-
await navigator.clipboard.writeText(e),
|
|
771
|
-
|
|
790
|
+
await navigator.clipboard.writeText(e), n(!0), l(a("keyValuePair.copied", { defaultValue: "Copied" })), setTimeout(() => {
|
|
791
|
+
n(!1), l("");
|
|
772
792
|
}, 2e3);
|
|
773
793
|
} catch {
|
|
774
794
|
l(
|
|
@@ -782,9 +802,9 @@ function Be({
|
|
|
782
802
|
{
|
|
783
803
|
size: "sm",
|
|
784
804
|
intent: "ghost",
|
|
785
|
-
icon:
|
|
805
|
+
icon: r ? /* @__PURE__ */ t(K, { "aria-hidden": "true" }) : /* @__PURE__ */ t(we, { "aria-hidden": "true" }),
|
|
786
806
|
"aria-label": a("keyValuePair.copy", {
|
|
787
|
-
label:
|
|
807
|
+
label: s,
|
|
788
808
|
defaultValue: "Copy {{label}}"
|
|
789
809
|
}),
|
|
790
810
|
onClick: c
|
|
@@ -795,7 +815,7 @@ function Be({
|
|
|
795
815
|
}
|
|
796
816
|
export {
|
|
797
817
|
Ie as A,
|
|
798
|
-
|
|
818
|
+
Dt as F,
|
|
799
819
|
Se as H,
|
|
800
820
|
B as N,
|
|
801
821
|
St as P,
|
|
@@ -803,6 +823,6 @@ export {
|
|
|
803
823
|
Oe as a,
|
|
804
824
|
Le as b,
|
|
805
825
|
Nt as r,
|
|
806
|
-
|
|
826
|
+
wt as u
|
|
807
827
|
};
|
|
808
|
-
//# sourceMappingURL=patient-field-row-
|
|
828
|
+
//# sourceMappingURL=patient-field-row-dUF2cW2G.js.map
|