@alfadocs/ui-kit 1.137.0 → 1.139.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/{address-fields-DvSWdeR0.js → address-fields-Bh9JZJHZ.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-CVNeusoW.js → ai-prompt-input-B2QFwuJ1.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-Dr2V1Rtf.js → anamnesis-summary-rows-BgfBnjp0.js} +4 -4
- package/dist/_chunks/{appointment-card-BT1cMZIX.js → appointment-card-CaxFXtSn.js} +196 -184
- package/dist/_chunks/{appointment-timeline-Dy4YQJ17.js → appointment-timeline-BEwgbYyG.js} +113 -110
- package/dist/_chunks/{appointment-tray-B3gSHL1j.js → appointment-tray-DPpeR9JT.js} +8 -8
- package/dist/_chunks/{audio-recorder-BOF5YYoC.js → audio-recorder-6dUq8I38.js} +2 -2
- package/dist/_chunks/autocomplete-HZNW7_Pa.js +642 -0
- package/dist/_chunks/{balance-badge-cell-BSB02Bwo.js → balance-badge-cell-CRrIv2hy.js} +4 -4
- package/dist/_chunks/{bill-line-table-By-YL2ms.js → bill-line-table-DCqxhode.js} +3 -3
- package/dist/_chunks/{bishop-score-DWGESRP9.js → bishop-score-M7Fi-ykx.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-D0n_bVsT.js → calendar-appointment-editor-dialog-GdnaPIOV.js} +537 -536
- package/dist/_chunks/{calendar-editor-discard-host-1UfmMOEb.js → calendar-editor-discard-host-BcMEgVEq.js} +3 -3
- package/dist/_chunks/{calendar-waiting-list-panel-Ckd6tSeu.js → calendar-waiting-list-panel-CkZBAv_E.js} +4 -4
- package/dist/_chunks/{calendar-workspace.model-DrOoxY1b.js → calendar-workspace.model-B8yPwuBv.js} +2 -2
- package/dist/_chunks/{calendar.sheets-Datc0-IT.js → calendar.sheets-B0jP2Yt0.js} +113 -112
- package/dist/_chunks/{calls-panel-BIfatK90.js → calls-panel-CtxJAzkJ.js} +2 -2
- package/dist/_chunks/{city-input-DXipzTfZ.js → city-input-DARVDJhH.js} +2 -2
- package/dist/_chunks/{combobox-BBCVQS-S.js → combobox-BYl6mY4c.js} +12 -13
- package/dist/_chunks/{communications-panel-SQ-55e3V.js → communications-panel-DBWM9II9.js} +2 -2
- package/dist/_chunks/{country-select-C2GdvRtS.js → country-select-BPISkYVU.js} +3 -3
- package/dist/_chunks/{data-grid-CxKz8flO.js → data-grid-bQ6iFm10.js} +15 -7
- package/dist/_chunks/{data-table-_tgj0C_T.js → data-table-CnLfOwxg.js} +2 -2
- package/dist/_chunks/{default-tabs-oDWQzbN7.js → default-tabs-Dm_vk6hd.js} +3 -3
- package/dist/_chunks/{document-preview-CirR3C_m.js → document-preview-FTCHXYhk.js} +2 -2
- package/dist/_chunks/{face-scheme-D_Y1StPl.js → face-scheme-Bxt7ZnJn.js} +2 -2
- package/dist/_chunks/{file-manager-CEi4z2i0.js → file-manager-Bsccb8Jj.js} +2 -2
- package/dist/_chunks/{forgot-password-form-YvI9vX-G.js → forgot-password-form-B4ufmBFn.js} +5 -4
- package/dist/_chunks/{gestational-age-calculator-CHbpC4vL.js → gestational-age-calculator-DXSPWG8u.js} +2 -2
- package/dist/_chunks/{heatmap-_546qI2V.js → heatmap-CFPaEKD_.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-CQI9MUl6.js → invoice-upload-list-Dz3CXHPP.js} +3 -3
- package/dist/_chunks/{kit-extensions-BNBf4m8O.js → kit-extensions-BB_ksnVl.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-Xx5T8u5Q.js → link-cell-renderer-CSA0KKPe.js} +5 -5
- package/dist/_chunks/{login-dev-card-Dz3ezx1o.js → login-dev-card-oRh9h7N2.js} +18 -17
- package/dist/_chunks/medication-I6QvOq6k.js +21 -0
- package/dist/_chunks/medication-line-CHdlh-F7.js +222 -0
- package/dist/_chunks/medication-search-DoEDakoM.js +380 -0
- package/dist/_chunks/{multi-select-Df3R8lv_.js → multi-select-DeMiHm8T.js} +4 -5
- package/dist/_chunks/{muscle-scheme-D_rSyGDj.js → muscle-scheme-BB2eBfww.js} +2 -2
- package/dist/_chunks/normalize-diacritics-DhJjQ3Bp.js +7 -0
- package/dist/_chunks/{notes-panel-DsEKNtsw.js → notes-panel-CnmQqhwq.js} +2 -2
- package/dist/_chunks/{optical-prescription-DaSbsh4p.js → optical-prescription-C4jpDFOE.js} +2 -2
- package/dist/_chunks/{option-row-Dc7BrbK8.js → option-row-DpCnuUqo.js} +25 -12
- package/dist/_chunks/{patient-account-settings-COybehKx.js → patient-account-settings-DfEPHmCh.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-DZnyYDKH.js → patient-check-in-resume-TWs8CPQr.js} +5 -5
- package/dist/_chunks/{patient-details-Dv7EiTCo.js → patient-details-DQTxSWY4.js} +2 -2
- package/dist/_chunks/{patient-field-row-DuHWGlLz.js → patient-field-row-CXuWQeQJ.js} +6 -6
- package/dist/_chunks/patient-picker-CQNsqYn2.js +163 -0
- package/dist/_chunks/{patient-search-DBvLFArV.js → patient-search-aTFd7p9s.js} +2 -2
- package/dist/_chunks/{patient-summary-card-D-cDzOim.js → patient-summary-card-j5u7c5Us.js} +2 -2
- package/dist/_chunks/{phone-input-BL8Sj6OG.js → phone-input-DRKcJUi4.js} +2 -2
- package/dist/_chunks/{portal-details-DdzvroYP.js → portal-details-VfeOI4PB.js} +3 -3
- package/dist/_chunks/{portal-documents-CNmoYWFc.js → portal-documents-hGHlwmbv.js} +3 -3
- package/dist/_chunks/{portal-parts-Br8wuala.js → portal-parts-C99CreYO.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-lJbzai73.js → pregnancy-dating-C-3NLI6K.js} +2 -2
- package/dist/_chunks/prescription-history-748qDVwZ.js +1544 -0
- package/dist/_chunks/print-sheet-CSeqkM3_.js +318 -0
- package/dist/_chunks/{province-select-CTM8A9SM.js → province-select-D-iY9bQG.js} +3 -3
- package/dist/_chunks/{registration-form-CuLiTA52.js → registration-form-Cs9o6e5q.js} +7 -6
- package/dist/_chunks/{reserved.agent-CabZHFJC.js → reserved.agent-L2ElYPuj.js} +7 -7
- package/dist/_chunks/{reset-password-form-D_TePSM1.js → reset-password-form-DwtSNhnA.js} +18 -17
- package/dist/_chunks/{rich-text-editor-C48omVjq.js → rich-text-editor-DFsH5RAj.js} +2 -2
- package/dist/_chunks/save-Dn8uje3f.js +22 -0
- package/dist/_chunks/{search-bar-CQ9_V3EJ.js → search-bar-k1mS5yZl.js} +2 -2
- package/dist/_chunks/{select-CIXKyUMw.js → select-Bm8s3q-X.js} +16 -17
- package/dist/_chunks/{send-registration-link-form-BjkXr0TD.js → send-registration-link-form-C1vw6H1M.js} +6 -5
- package/dist/_chunks/{signature-request-vJDSHZld.js → signature-request-D3sLLOM6.js} +2 -2
- package/dist/_chunks/sync-tray-BhnkgXKK.js +567 -0
- package/dist/_chunks/{tabs-Czkmw5ou.js → tabs-BXr5XeGq.js} +2 -2
- package/dist/_chunks/{task-editor-wKbFbGqW.js → task-editor-DDVDPKJf.js} +26 -25
- package/dist/_chunks/{tasks-panel-DbtJS4QI.js → tasks-panel-BHXaPNOZ.js} +2 -2
- package/dist/_chunks/{toolbar-DjG-cpD_.js → toolbar-Dz_hAUIZ.js} +2 -2
- package/dist/_chunks/{unit-converter-CUAUTu2B.js → unit-converter-CBy7S4Tl.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-jGkJalX8.js → use-appointment-details-read-CBSpX4DI.js} +2 -2
- package/dist/_chunks/use-error-summary-CecJZo6w.js +32 -0
- package/dist/_chunks/use-registration-submit-CVukOAQk.js +84 -0
- package/dist/_chunks/{variables-menu-DQl8H4Gh.js → variables-menu-C4NcClKi.js} +2 -2
- package/dist/_chunks/{voice-control-panel-Cp4vs1iy.js → voice-control-panel-Dc_NFH2R.js} +2 -2
- package/dist/agent-catalog.json +456 -2
- package/dist/agent-i18n/en.json +53 -0
- package/dist/appointment-editor-panel/index.js +2 -2
- package/dist/booking-tools-data/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +1 -1
- package/dist/components/_shared/medication.d.ts +28 -0
- package/dist/components/_shared/normalize-diacritics.d.ts +5 -0
- package/dist/components/_shared/patient-picker.d.ts +7 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +5 -2
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +6 -0
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +50 -0
- package/dist/components/autocomplete/index.d.ts +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calls-panel/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/face-scheme/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/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +5 -0
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/medication-line/index.d.ts +6 -0
- package/dist/components/medication-line/index.js +7 -0
- package/dist/components/medication-line/medication-line.agent.d.ts +14 -0
- package/dist/components/medication-line/medication-line.d.ts +40 -0
- package/dist/components/medication-search/index.d.ts +6 -0
- package/dist/components/medication-search/index.js +10 -0
- package/dist/components/medication-search/medication-search.agent.d.ts +15 -0
- package/dist/components/medication-search/medication-search.d.ts +49 -0
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/print-sheet/index.d.ts +5 -0
- package/dist/components/print-sheet/index.js +6 -0
- package/dist/components/print-sheet/print-isolation.d.ts +17 -0
- package/dist/components/print-sheet/print-sheet.agent.d.ts +19 -0
- package/dist/components/print-sheet/print-sheet.d.ts +54 -0
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/sync-tray/index.d.ts +4 -0
- package/dist/components/sync-tray/index.js +7 -0
- package/dist/components/sync-tray/sync-tray.agent.d.ts +15 -0
- package/dist/components/sync-tray/sync-tray.d.ts +77 -0
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/variables-menu/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-compat.css +13 -1
- package/dist/host-legacy.css +16 -0
- package/dist/i18n/locales/ar.d.ts +134 -1
- package/dist/i18n/locales/ar.js +134 -1
- package/dist/i18n/locales/de.d.ts +134 -1
- package/dist/i18n/locales/de.js +134 -1
- package/dist/i18n/locales/el.d.ts +134 -1
- package/dist/i18n/locales/el.js +134 -1
- package/dist/i18n/locales/en.d.ts +134 -1
- package/dist/i18n/locales/en.js +134 -1
- package/dist/i18n/locales/es.d.ts +134 -1
- package/dist/i18n/locales/es.js +134 -1
- package/dist/i18n/locales/fr.d.ts +134 -1
- package/dist/i18n/locales/fr.js +134 -1
- package/dist/i18n/locales/hi.d.ts +134 -1
- package/dist/i18n/locales/hi.js +134 -1
- package/dist/i18n/locales/it.d.ts +134 -1
- package/dist/i18n/locales/it.js +134 -1
- package/dist/i18n/locales/ja.d.ts +134 -1
- package/dist/i18n/locales/ja.js +134 -1
- package/dist/i18n/locales/nl.d.ts +134 -1
- package/dist/i18n/locales/nl.js +134 -1
- package/dist/i18n/locales/pl.d.ts +134 -1
- package/dist/i18n/locales/pl.js +134 -1
- package/dist/i18n/locales/pt.d.ts +134 -1
- package/dist/i18n/locales/pt.js +134 -1
- package/dist/i18n/locales/ro.d.ts +134 -1
- package/dist/i18n/locales/ro.js +134 -1
- package/dist/i18n/locales/ru.d.ts +134 -1
- package/dist/i18n/locales/ru.js +134 -1
- package/dist/i18n/locales/sq.d.ts +134 -1
- package/dist/i18n/locales/sq.js +134 -1
- package/dist/i18n/locales/sv.d.ts +134 -1
- package/dist/i18n/locales/sv.js +134 -1
- package/dist/i18n/locales/tr.d.ts +134 -1
- package/dist/i18n/locales/tr.js +134 -1
- package/dist/i18n/locales/zh.d.ts +134 -1
- package/dist/i18n/locales/zh.js +134 -1
- package/dist/index.js +1004 -976
- package/dist/locales/ar.json +134 -1
- package/dist/locales/de.json +134 -1
- package/dist/locales/el.json +134 -1
- package/dist/locales/en.json +134 -1
- package/dist/locales/es.json +134 -1
- package/dist/locales/fr.json +134 -1
- package/dist/locales/hi.json +134 -1
- package/dist/locales/it.json +134 -1
- package/dist/locales/ja.json +134 -1
- package/dist/locales/nl.json +134 -1
- package/dist/locales/pl.json +134 -1
- package/dist/locales/pt.json +134 -1
- package/dist/locales/ro.json +134 -1
- package/dist/locales/ru.json +134 -1
- package/dist/locales/sq.json +134 -1
- package/dist/locales/sv.json +134 -1
- package/dist/locales/tr.json +134 -1
- package/dist/locales/zh.json +134 -1
- package/dist/online-bookings-panel/index.js +2 -2
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +4 -4
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.d.ts +11 -0
- package/dist/patterns/prescription/index.js +13 -0
- package/dist/patterns/prescription/prescription-composer-errors.d.ts +6 -0
- package/dist/patterns/prescription/prescription-composer-item.d.ts +34 -0
- package/dist/patterns/prescription/prescription-composer.d.ts +89 -0
- package/dist/patterns/prescription/prescription-history.d.ts +48 -0
- package/dist/patterns/prescription/prescription-patient-block.d.ts +13 -0
- package/dist/patterns/prescription/prescription-sheet.d.ts +52 -0
- package/dist/patterns/prescription/prescription-status-badge.d.ts +5 -0
- package/dist/patterns/prescription/prescription-types.d.ts +97 -0
- package/dist/patterns/prescription/prescription-validation.d.ts +40 -0
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +21 -1
- package/dist/_chunks/autocomplete-D10ydpgi.js +0 -562
- package/dist/_chunks/group-options-BvKhQ3xb.js +0 -16
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js +0 -7
- package/dist/_chunks/patient-picker-BZJuOgMw.js +0 -173
- package/dist/_chunks/use-registration-submit-CLGHxwoT.js +0 -112
|
@@ -5,7 +5,7 @@ import { useTranslation as At } from "react-i18next";
|
|
|
5
5
|
import { A as T } from "./alert-C4WKViaS.js";
|
|
6
6
|
import { B as We } from "./button-DohK_Ak_.js";
|
|
7
7
|
import { I as Ke } from "./icon-button-S8_weU3g.js";
|
|
8
|
-
import { C as Bt } from "./combobox-
|
|
8
|
+
import { C as Bt } from "./combobox-BYl6mY4c.js";
|
|
9
9
|
import { D as J } from "./dialog-CVTxyR0v.js";
|
|
10
10
|
import { D as Ft } from "./date-picker-BmVBVpVu.js";
|
|
11
11
|
import { F } from "./form-field-CyHfOVKF.js";
|
|
@@ -15,7 +15,7 @@ import { P as xt } from "./panel-subview-DCyvn-49.js";
|
|
|
15
15
|
import { R as Be } from "./radio-BZQs6_36.js";
|
|
16
16
|
import { R as jt } from "./radio-group-ChIKyeSJ.js";
|
|
17
17
|
import { S as $t } from "./scroll-area-CY5SLYNw.js";
|
|
18
|
-
import { S as Le } from "./select-
|
|
18
|
+
import { S as Le } from "./select-Bm8s3q-X.js";
|
|
19
19
|
import { S as ze } from "./skeleton-tTWJpvAq.js";
|
|
20
20
|
import { S as Mt } from "./switch-DO6uC4HJ.js";
|
|
21
21
|
import { T as qt } from "./text-area-COMVJ1yE.js";
|
|
@@ -25,20 +25,21 @@ import { u as Vt } from "./registry-DvAUVLHh.js";
|
|
|
25
25
|
import { u as Ut } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
26
26
|
import { c as Wt } from "./compose-refs-C0k0tdqF.js";
|
|
27
27
|
import { E as Kt, a as Lt } from "./compact-editor-fields-cP6yh7xv.js";
|
|
28
|
-
import { P as zt
|
|
29
|
-
import { b as
|
|
28
|
+
import { P as zt } from "./patient-picker-CQNsqYn2.js";
|
|
29
|
+
import { b as Gt } from "./privacy-mask-C2ZLKrMh.js";
|
|
30
30
|
import { g as Pe } from "./get-error-message-DbFUzuja.js";
|
|
31
|
-
import { h as
|
|
32
|
-
import { L as
|
|
33
|
-
import { X as
|
|
34
|
-
import { C as
|
|
35
|
-
import { U as
|
|
36
|
-
import { B as
|
|
37
|
-
import { S as
|
|
31
|
+
import { h as Ht } from "./handled-rejection-C-6Dq0As.js";
|
|
32
|
+
import { L as Yt } from "./lock-ClAFG1gy.js";
|
|
33
|
+
import { X as Xt } from "./x-B5YnXwCz.js";
|
|
34
|
+
import { C as Jt } from "./circle-off-DuT9pVy2.js";
|
|
35
|
+
import { U as Qt } from "./user-B12p7bVF.js";
|
|
36
|
+
import { B as Zt } from "./building-2-D33bLCWL.js";
|
|
37
|
+
import { S as en } from "./stethoscope-sZXGC43m.js";
|
|
38
38
|
import { T as st } from "./trash-2-uumy3fy1.js";
|
|
39
39
|
import { S as dt } from "./square-check-big-dj0o8yA3.js";
|
|
40
|
-
import { p as
|
|
41
|
-
import { L as
|
|
40
|
+
import { p as tn } from "./privacy-mask-text-B8YfzB7L.js";
|
|
41
|
+
import { L as nn } from "./loader-circle-BECIU_8N.js";
|
|
42
|
+
import { S as on } from "./save-Dn8uje3f.js";
|
|
42
43
|
const rn = {
|
|
43
44
|
id: "task-editor",
|
|
44
45
|
// set_value backs set_fields and set_done; submit backs save; dismiss
|
|
@@ -318,7 +319,7 @@ function ln({
|
|
|
318
319
|
toggle. */
|
|
319
320
|
done: O.confirmedDone
|
|
320
321
|
} : void 0;
|
|
321
|
-
}, I = (e) =>
|
|
322
|
+
}, I = (e) => Ht(new Error(`TaskEditor: ${e}`)), Ce = () => {
|
|
322
323
|
const e = S.current;
|
|
323
324
|
if (D !== "ready") return I(`cannot save while ${D}.`);
|
|
324
325
|
if (!pe) return I("the host gave no save seam.");
|
|
@@ -695,7 +696,7 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
695
696
|
label: o(a("assigneeUnresolved"), { id: l.assigneeId })
|
|
696
697
|
}
|
|
697
698
|
] : []
|
|
698
|
-
], U = l.about === "company" && l.companyId && !Q.some((t) => t.id === l.companyId) ? l.companyId : void 0, It = U && U === (m == null ? void 0 : m.companyId) && ae ? ae : o(a("companyUnresolved"), { id: U }), Xe = /* @__PURE__ */ b(T, { variant: "info", announce: "off", icon: /* @__PURE__ */ n(
|
|
699
|
+
], U = l.about === "company" && l.companyId && !Q.some((t) => t.id === l.companyId) ? l.companyId : void 0, It = U && U === (m == null ? void 0 : m.companyId) && ae ? ae : o(a("companyUnresolved"), { id: U }), Xe = /* @__PURE__ */ b(T, { variant: "info", announce: "off", icon: /* @__PURE__ */ n(Yt, { "aria-hidden": "true" }), children: [
|
|
699
700
|
/* @__PURE__ */ n(T.Title, { as: "p", children: o("calendarWorkspace.details.readOnlyTitle") }),
|
|
700
701
|
/* @__PURE__ */ n(T.Description, { children: o(a("readOnlyBody")) })
|
|
701
702
|
] }), qe = s.saving || s.deleting, Je = () => {
|
|
@@ -705,7 +706,7 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
705
706
|
{
|
|
706
707
|
size: "sm",
|
|
707
708
|
intent: "outline",
|
|
708
|
-
icon: /* @__PURE__ */ n(
|
|
709
|
+
icon: /* @__PURE__ */ n(Xt, { "aria-hidden": "true" }),
|
|
709
710
|
"aria-label": o(a("cancel")),
|
|
710
711
|
tooltip: o(a("cancel")),
|
|
711
712
|
"data-action": "cancel-task",
|
|
@@ -741,12 +742,12 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
741
742
|
size: "sm",
|
|
742
743
|
intent: "primary",
|
|
743
744
|
icon: s.saving ? /* @__PURE__ */ n(
|
|
744
|
-
|
|
745
|
+
nn,
|
|
745
746
|
{
|
|
746
747
|
"aria-hidden": "true",
|
|
747
748
|
className: "ds:animate-spin ds:motion-reduce:animate-none"
|
|
748
749
|
}
|
|
749
|
-
) : /* @__PURE__ */ n(
|
|
750
|
+
) : /* @__PURE__ */ n(on, { "aria-hidden": "true" }),
|
|
750
751
|
"aria-label": o(a("save")),
|
|
751
752
|
tooltip: o(a("save")),
|
|
752
753
|
disabled: !_e && !d.canSave,
|
|
@@ -811,7 +812,7 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
811
812
|
children: o("emptyState.error.cta")
|
|
812
813
|
}
|
|
813
814
|
)
|
|
814
|
-
] }), kt = /* @__PURE__ */ n("fieldset", { disabled: !0, className: pt({ layout: "notice" }), children: Xe }), St = () => l.about !== "patient" ? null : w ? /* @__PURE__ */ n(F, { label: o(a("aboutPatient")), children: /* @__PURE__ */ n(Fe, { value:
|
|
815
|
+
] }), kt = /* @__PURE__ */ n("fieldset", { disabled: !0, className: pt({ layout: "notice" }), children: Xe }), St = () => l.about !== "patient" ? null : w ? /* @__PURE__ */ n(F, { label: o(a("aboutPatient")), children: /* @__PURE__ */ n(Fe, { value: tn(), disabled: !0, readOnly: !0 }) }) : f ? /* @__PURE__ */ n(F, { label: o(a("aboutPatient")), children: /* @__PURE__ */ n(
|
|
815
816
|
zt,
|
|
816
817
|
{
|
|
817
818
|
value: l.patientId,
|
|
@@ -887,7 +888,7 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
887
888
|
{
|
|
888
889
|
value: "nobody",
|
|
889
890
|
label: o(a("aboutNobody")),
|
|
890
|
-
icon: /* @__PURE__ */ n(
|
|
891
|
+
icon: /* @__PURE__ */ n(Jt, { "aria-hidden": "true" })
|
|
891
892
|
}
|
|
892
893
|
),
|
|
893
894
|
f || l.about === "patient" || m != null && m.patientId ? /* @__PURE__ */ n(
|
|
@@ -895,7 +896,7 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
895
896
|
{
|
|
896
897
|
value: "patient",
|
|
897
898
|
label: o(a("aboutPatient")),
|
|
898
|
-
icon: /* @__PURE__ */ n(
|
|
899
|
+
icon: /* @__PURE__ */ n(Qt, { "aria-hidden": "true" })
|
|
899
900
|
}
|
|
900
901
|
) : null,
|
|
901
902
|
e || l.about === "company" || m != null && m.companyId ? /* @__PURE__ */ n(
|
|
@@ -903,7 +904,7 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
903
904
|
{
|
|
904
905
|
value: "company",
|
|
905
906
|
label: o(a("aboutCompany")),
|
|
906
|
-
icon: /* @__PURE__ */ n(
|
|
907
|
+
icon: /* @__PURE__ */ n(Zt, { "aria-hidden": "true" })
|
|
907
908
|
}
|
|
908
909
|
) : null,
|
|
909
910
|
i || l.about === "operator" || m != null && m.operatorId ? /* @__PURE__ */ n(
|
|
@@ -911,7 +912,7 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
911
912
|
{
|
|
912
913
|
value: "operator",
|
|
913
914
|
label: o(a("aboutOperator")),
|
|
914
|
-
icon: /* @__PURE__ */ n(
|
|
915
|
+
icon: /* @__PURE__ */ n(en, { "aria-hidden": "true" })
|
|
915
916
|
}
|
|
916
917
|
) : null
|
|
917
918
|
]
|
|
@@ -981,7 +982,7 @@ const ut = ft("ds:flex ds:min-h-0 ds:flex-col", {
|
|
|
981
982
|
s.saveError ? /* @__PURE__ */ n(T, { variant: "error", children: /* @__PURE__ */ n(T.Description, { children: s.saveError }) }) : null,
|
|
982
983
|
s.deleteError && !s.confirmDeleteOpen ? /* @__PURE__ */ n(T, { variant: "error", children: /* @__PURE__ */ n(T.Description, { children: s.deleteError }) }) : null
|
|
983
984
|
] }), et = E === "loading" ? wt : E === "error" ? Et : E === "locked" ? kt : E === "withheld" ? /* @__PURE__ */ n(
|
|
984
|
-
|
|
985
|
+
Gt,
|
|
985
986
|
{
|
|
986
987
|
onTurnOff: se ? Ne(se) : void 0
|
|
987
988
|
}
|
|
@@ -1090,4 +1091,4 @@ export {
|
|
|
1090
1091
|
pn as T,
|
|
1091
1092
|
rn as t
|
|
1092
1093
|
};
|
|
1093
|
-
//# sourceMappingURL=task-editor-
|
|
1094
|
+
//# sourceMappingURL=task-editor-DDVDPKJf.js.map
|
|
@@ -8,7 +8,7 @@ import { B as Pe } from "./button-DohK_Ak_.js";
|
|
|
8
8
|
import { I as He } from "./icon-button-S8_weU3g.js";
|
|
9
9
|
import { B as Et } from "./button-group-DuQuuulC.js";
|
|
10
10
|
import { P as qs } from "./panel-header-CbtlTe85.js";
|
|
11
|
-
import { S as Ot } from "./select-
|
|
11
|
+
import { S as Ot } from "./select-Bm8s3q-X.js";
|
|
12
12
|
import { S as Ks } from "./switch-DO6uC4HJ.js";
|
|
13
13
|
import { S as Vs } from "./skeleton-tTWJpvAq.js";
|
|
14
14
|
import { E as We } from "./empty-state-DwJ5YNzz.js";
|
|
@@ -1223,4 +1223,4 @@ export {
|
|
|
1223
1223
|
Rn as T,
|
|
1224
1224
|
cn as t
|
|
1225
1225
|
};
|
|
1226
|
-
//# sourceMappingURL=tasks-panel-
|
|
1226
|
+
//# sourceMappingURL=tasks-panel-BHXaPNOZ.js.map
|
|
@@ -5,7 +5,7 @@ import { T as v, c as N, a as R } from "./parts-BOnDDU3E.js";
|
|
|
5
5
|
import { e as k, s as P, w as A, a as B } from "./export-files-BByoK9Cg.js";
|
|
6
6
|
import { i as O } from "./is-development-CLUAnsU7.js";
|
|
7
7
|
import { d as j, g as Q, u as _ } from "./grid-context-jn9y8tNE.js";
|
|
8
|
-
import { g as U } from "./data-grid-
|
|
8
|
+
import { g as U } from "./data-grid-bQ6iFm10.js";
|
|
9
9
|
function S() {
|
|
10
10
|
var t;
|
|
11
11
|
return ((t = _()) == null ? void 0 : t.toolbarSeam) ?? null;
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
Z as D,
|
|
157
157
|
Y as a
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=toolbar-
|
|
159
|
+
//# sourceMappingURL=toolbar-Dz_hAUIZ.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as M } from "react-i18next";
|
|
|
5
5
|
import { u as Y } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { F as C } from "./form-field-CyHfOVKF.js";
|
|
7
7
|
import { N as B } from "./number-input-DUSvP7Dq.js";
|
|
8
|
-
import { S } from "./select-
|
|
8
|
+
import { S } from "./select-Bm8s3q-X.js";
|
|
9
9
|
import { I as D } from "./insert-result-CDMMt7q8.js";
|
|
10
10
|
const L = [
|
|
11
11
|
"weight",
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
ee as b,
|
|
335
335
|
Q as c
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=unit-converter-
|
|
337
|
+
//# sourceMappingURL=unit-converter-CBy7S4Tl.js.map
|
|
@@ -17,7 +17,7 @@ import { E as Ht } from "./editable-description-KU56SP4P.js";
|
|
|
17
17
|
import { N as tt } from "./note-timeline-BbjHMhkL.js";
|
|
18
18
|
import { P as Mt } from "./panel-header-CbtlTe85.js";
|
|
19
19
|
import { P as Je } from "./panel-subview-DCyvn-49.js";
|
|
20
|
-
import { P as Ft } from "./patient-summary-card-
|
|
20
|
+
import { P as Ft } from "./patient-summary-card-j5u7c5Us.js";
|
|
21
21
|
import { S as pe } from "./section-card-CYfeQ6EQ.js";
|
|
22
22
|
import { C as nn, S as ke } from "./skeleton-tTWJpvAq.js";
|
|
23
23
|
import { T as an } from "./text-area-COMVJ1yE.js";
|
|
@@ -1963,4 +1963,4 @@ export {
|
|
|
1963
1963
|
ea as a,
|
|
1964
1964
|
$i as u
|
|
1965
1965
|
};
|
|
1966
|
-
//# sourceMappingURL=use-appointment-details-read-
|
|
1966
|
+
//# sourceMappingURL=use-appointment-details-read-CBSpX4DI.js.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { useState as f, useRef as d, useEffect as p } from "react";
|
|
2
|
+
function k(n, l, u = !1) {
|
|
3
|
+
const [t, a] = f(
|
|
4
|
+
() => u ? {} : null
|
|
5
|
+
), [h, v] = f(null), [o, i] = f([]);
|
|
6
|
+
if (t !== h)
|
|
7
|
+
v(t), i(n.filter((e) => !!l(e)));
|
|
8
|
+
else {
|
|
9
|
+
const e = o.filter((r) => !!l(r));
|
|
10
|
+
e.length !== o.length && i(e);
|
|
11
|
+
}
|
|
12
|
+
const c = d(null), s = d(null);
|
|
13
|
+
return p(() => {
|
|
14
|
+
var e, r;
|
|
15
|
+
!t || s.current === t || (s.current = t, o.length > 0 ? (e = c.current) == null || e.focus() : (r = t.fallback) == null || r.call(t));
|
|
16
|
+
}, [t, o]), {
|
|
17
|
+
listed: o,
|
|
18
|
+
lists: (e) => o.includes(e),
|
|
19
|
+
// A new object each time, so a second refused submit moves focus again.
|
|
20
|
+
open: (e) => a({ fallback: e }),
|
|
21
|
+
ref: c
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function B(n, l) {
|
|
25
|
+
const [u, t] = f(void 0);
|
|
26
|
+
return n && l && u !== n && t(n), !n && u !== void 0 && t(void 0), n && (l || u === n) ? "off" : void 0;
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
B as a,
|
|
30
|
+
k as u
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=use-error-summary-CecJZo6w.js.map
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { useRef as s, useState as v, useEffect as b } from "react";
|
|
2
|
+
const N = 8e3, O = (t) => JSON.stringify(
|
|
3
|
+
Object.entries(t ?? {}).filter(([, e]) => !!e).sort(([e], [a]) => e < a ? -1 : e > a ? 1 : 0)
|
|
4
|
+
);
|
|
5
|
+
function L(t) {
|
|
6
|
+
const e = s(t);
|
|
7
|
+
e.current = t;
|
|
8
|
+
const [a, w] = v(!1), [A, o] = v(!1), [C, f] = v(!1), S = t.submitting || a || A, h = s(null), c = s(!1), i = s(void 0), l = s(!1), g = s(!1), T = s(void 0), E = () => {
|
|
9
|
+
c.current = !1, clearTimeout(i.current), o(!1);
|
|
10
|
+
};
|
|
11
|
+
b(() => () => clearTimeout(i.current), []);
|
|
12
|
+
const P = (r) => {
|
|
13
|
+
e.current.native ? w(!0) : (l.current = !0, g.current = !1, T.current = e.current.errors), e.current.deliver(r);
|
|
14
|
+
}, R = (r) => {
|
|
15
|
+
if (S) {
|
|
16
|
+
r.preventDefault();
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
f(!1);
|
|
20
|
+
const n = e.current.firstProblem();
|
|
21
|
+
if (n !== void 0) {
|
|
22
|
+
r.preventDefault(), e.current.onRefused(n);
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
if (e.current.captcha) {
|
|
26
|
+
r.preventDefault();
|
|
27
|
+
const u = h.current;
|
|
28
|
+
if (!u) {
|
|
29
|
+
f(!0);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
c.current = !1, u.reset(), c.current = !0, o(!0), clearTimeout(i.current), i.current = setTimeout(
|
|
33
|
+
() => o(!1),
|
|
34
|
+
N
|
|
35
|
+
), u.execute();
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (e.current.native) {
|
|
39
|
+
w(!0);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
r.preventDefault(), P();
|
|
43
|
+
}, D = (r) => {
|
|
44
|
+
if (!c.current) return;
|
|
45
|
+
if (E(), !r) {
|
|
46
|
+
f(!0);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const n = e.current.firstProblem();
|
|
50
|
+
if (n !== void 0) {
|
|
51
|
+
e.current.onRefused(n);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
P(r);
|
|
55
|
+
}, x = () => {
|
|
56
|
+
c.current && (E(), f(!0));
|
|
57
|
+
}, d = t.errors, m = O(d), p = s(null);
|
|
58
|
+
return b(() => {
|
|
59
|
+
var u;
|
|
60
|
+
if (p.current === null) {
|
|
61
|
+
p.current = m;
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const r = m !== p.current;
|
|
65
|
+
p.current = m, l.current && t.submitting && (g.current = !0);
|
|
66
|
+
const n = l.current && g.current && !t.submitting && d !== T.current;
|
|
67
|
+
!r && !n || (l.current = !1, g.current = !1, c.current = !1, clearTimeout(i.current), o(!1), (u = h.current) == null || u.reset(), e.current.onAnswer(d ?? {}));
|
|
68
|
+
}, [d, m, t.submitting]), b(() => {
|
|
69
|
+
const r = (n) => {
|
|
70
|
+
var u, y;
|
|
71
|
+
n.persisted && (w(!1), (y = (u = e.current).onRestore) == null || y.call(u));
|
|
72
|
+
};
|
|
73
|
+
return window.addEventListener("pageshow", r), () => window.removeEventListener("pageshow", r);
|
|
74
|
+
}, []), {
|
|
75
|
+
busy: S,
|
|
76
|
+
captchaFailed: C,
|
|
77
|
+
handleSubmit: R,
|
|
78
|
+
captcha: { ref: h, onChange: D, onError: x }
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
L as u
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=use-registration-submit-CVukOAQk.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Q, useRef as z, useId as W, useMemo as h, useState as Y, useImperativeHandle as q, useEffect as J } from "react";
|
|
3
3
|
import { useTranslation as X } from "react-i18next";
|
|
4
|
-
import { n as E } from "./normalize-diacritics-
|
|
4
|
+
import { n as E } from "./normalize-diacritics-DhJjQ3Bp.js";
|
|
5
5
|
import { b as Z } from "./menu-row-BAr8bx1I.js";
|
|
6
6
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
7
7
|
import { S as te } from "./search-QbWPlY5f.js";
|
|
@@ -389,4 +389,4 @@ export {
|
|
|
389
389
|
we as V,
|
|
390
390
|
ie as v
|
|
391
391
|
};
|
|
392
|
-
//# sourceMappingURL=variables-menu-
|
|
392
|
+
//# sourceMappingURL=variables-menu-C4NcClKi.js.map
|
|
@@ -14,7 +14,7 @@ import { F as yn } from "./form-field-CyHfOVKF.js";
|
|
|
14
14
|
import { K as bn } from "./kbd-Bx7eQv9f.js";
|
|
15
15
|
import { L as pe } from "./list-CNnn7DOD.js";
|
|
16
16
|
import { L as xn } from "./live-region-C41SO3cA.js";
|
|
17
|
-
import { S as wn } from "./select-
|
|
17
|
+
import { S as wn } from "./select-Bm8s3q-X.js";
|
|
18
18
|
import { a as Nn, b as Ct, c as Cn, d as kn } from "./ai-fab-pill-BOu96kCx.js";
|
|
19
19
|
import { c as An } from "./compose-refs-C0k0tdqF.js";
|
|
20
20
|
import { g as Rn, a as En } from "./glass-surface-CPok0jEe.js";
|
|
@@ -1145,4 +1145,4 @@ export {
|
|
|
1145
1145
|
no as V,
|
|
1146
1146
|
Gn as v
|
|
1147
1147
|
};
|
|
1148
|
-
//# sourceMappingURL=voice-control-panel-
|
|
1148
|
+
//# sourceMappingURL=voice-control-panel-Dc_NFH2R.js.map
|