@alfadocs/ui-kit 1.113.0 → 1.114.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/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-DaS-j8Jd.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-DmlXxevC.js} +2 -2
- package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
- package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CaZm5wGR.js → calendar-appointment-editor-dialog-iyh9QqNw.js} +6 -6
- package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
- package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
- package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
- package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
- package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-Dd-XbKmZ.js} +2 -2
- package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-Dl6SyMHO.js} +3 -3
- package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
- package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DlcQaQVR.js} +2 -2
- package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
- package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
- package/dist/_chunks/{forgot-password-form-YQVzSskq.js → forgot-password-form-Bc_UPax6.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-DmzYdW5e.js} +3 -3
- package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-Tr72PetS.js} +2 -2
- package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-CNxCDl0D.js} +2 -2
- package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-DZJRmDI6.js} +7 -7
- package/dist/_chunks/{login-dev-card-B6-zCFq3.js → login-dev-card-D7orCfJT.js} +2 -2
- package/dist/_chunks/map-view-Bny79cWa.js +856 -0
- package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js} +2 -2
- package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
- package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-DXMTObBv.js} +3 -3
- package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
- package/dist/_chunks/{patient-details-RsT3SaYh.js → patient-details-DdtXBNjt.js} +2 -2
- package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
- package/dist/_chunks/{patient-summary-card-BjZErlbt.js → patient-summary-card-CGHz-Bvm.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
- package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
- package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-xheWfi4g.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
- package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
- package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-BvorzHrd.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
- package/dist/_chunks/{privacy-mask-DbEKI-Jv.js → privacy-mask-Dc3kdkCR.js} +2 -2
- package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
- package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
- package/dist/_chunks/{registration-form-Cq5_OSIL.js → registration-form-Lw9T7IXr.js} +2 -2
- package/dist/_chunks/{reserved.agent-BMkapgom.js → reserved.agent-D2jwJPac.js} +21 -31
- package/dist/_chunks/{reset-password-form-BVsL2fOJ.js → reset-password-form-C93SH0Tx.js} +2 -2
- package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
- package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-OgPomrZN.js → send-registration-link-form-DfbTjrEK.js} +2 -2
- package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
- package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
- package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-DqVoitRk.js} +2 -2
- package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-D--LwVrg.js} +2 -2
- package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-C6j8HVMv.js} +2 -2
- package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-D6PuF4MQ.js} +2 -2
- package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-DvK7Looa.js → use-appointment-details-read-BK_Gw1GG.js} +5 -5
- package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-CtBn5JvO.js} +2 -2
- package/dist/agent-catalog.json +6 -6
- package/dist/agent-i18n/en.json +2 -2
- package/dist/components/_shared/motion-is-off.d.ts +7 -0
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-details-panel/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/booking/step-focus.d.ts +0 -6
- package/dist/components/card/index.js +1 -1
- package/dist/components/clinical-note-card/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/cycle-calculator/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +16 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/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-search/patient-search.d.ts +6 -2
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +15 -2
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +23 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +7 -0
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +7 -0
- 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/timeline/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.js +2 -1
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.js +2 -1
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.js +2 -1
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.js +1 -0
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.js +2 -1
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.js +2 -1
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.js +2 -1
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.js +2 -1
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.js +2 -1
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.js +2 -1
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.js +2 -1
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.js +2 -1
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.js +2 -1
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.js +2 -1
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.js +2 -1
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.js +2 -1
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.js +2 -1
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.js +2 -1
- package/dist/index.js +60 -60
- package/dist/locales/ar.json +2 -1
- package/dist/locales/de.json +2 -1
- package/dist/locales/el.json +2 -1
- package/dist/locales/en.json +1 -0
- package/dist/locales/es.json +2 -1
- package/dist/locales/fr.json +2 -1
- package/dist/locales/hi.json +2 -1
- package/dist/locales/it.json +2 -1
- package/dist/locales/ja.json +2 -1
- package/dist/locales/nl.json +2 -1
- package/dist/locales/pl.json +2 -1
- package/dist/locales/pt.json +2 -1
- package/dist/locales/ro.json +2 -1
- package/dist/locales/ru.json +2 -1
- package/dist/locales/sq.json +2 -1
- package/dist/locales/sv.json +2 -1
- package/dist/locales/tr.json +2 -1
- package/dist/locales/zh.json +2 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
- package/dist/_chunks/practice-results-BByRCIuR.js +0 -1977
package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { c as p } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { A as q } from "./app-frame-DUPEwu4E.js";
|
|
6
6
|
import { A as F } from "./avatar-Dp5apm1d.js";
|
|
7
7
|
import { A as be } from "./alert-C4WKViaS.js";
|
|
8
|
-
import { C as U } from "./card-
|
|
8
|
+
import { C as U } from "./card-DVO3x8E-.js";
|
|
9
9
|
import { D as u } from "./dropdown-menu-CqxBthww.js";
|
|
10
10
|
import { T as ke } from "./tab-bar-C_pggqVr.js";
|
|
11
11
|
import { a as Y, H as we, g as Ne, f as G, e as ye, c as Se, d as Ce } from "./header-l_B8MV0g.js";
|
|
@@ -656,4 +656,4 @@ export {
|
|
|
656
656
|
na as M,
|
|
657
657
|
y as P
|
|
658
658
|
};
|
|
659
|
-
//# sourceMappingURL=marketplace-app-shell-
|
|
659
|
+
//# sourceMappingURL=marketplace-app-shell-CPNVBVLH.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function n(e) {
|
|
2
|
+
if (typeof window > "u") return !1;
|
|
3
|
+
if (typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches)
|
|
4
|
+
return !0;
|
|
5
|
+
if (!e) return !1;
|
|
6
|
+
if (e.closest(".theme-accessible")) return !0;
|
|
7
|
+
const t = getComputedStyle(e).getPropertyValue(
|
|
8
|
+
"--animation-duration"
|
|
9
|
+
);
|
|
10
|
+
return t.trim() !== "" && parseFloat(t) === 0;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
n as m
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=motion-is-off-BvAuNV5O.js.map
|
|
@@ -4,7 +4,7 @@ import { c as Et } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as kn } from "react-i18next";
|
|
5
5
|
import { g as mt, h as Rt } from "./handled-rejection-6gqCf5vt.js";
|
|
6
6
|
import { u as zn } from "./registry-DvAUVLHh.js";
|
|
7
|
-
import { C as Hn } from "./clinical-note-card-
|
|
7
|
+
import { C as Hn } from "./clinical-note-card-Zz5_GEz-.js";
|
|
8
8
|
import { R as Mn } from "./rich-text-editor-BLS2cK-u.js";
|
|
9
9
|
import { T as Wn } from "./text-area-COMVJ1yE.js";
|
|
10
10
|
import { A as j } from "./alert-C4WKViaS.js";
|
|
@@ -12,7 +12,7 @@ import { B as te } from "./button-DohK_Ak_.js";
|
|
|
12
12
|
import { I as vt } from "./icon-button-S8_weU3g.js";
|
|
13
13
|
import { S as $n } from "./switch-DO6uC4HJ.js";
|
|
14
14
|
import { T as Bn } from "./tooltip-uEBdD1-5.js";
|
|
15
|
-
import { C as yt } from "./card-
|
|
15
|
+
import { C as yt } from "./card-DVO3x8E-.js";
|
|
16
16
|
import { C as Kn, S as ve } from "./skeleton-tTWJpvAq.js";
|
|
17
17
|
import { D as L } from "./dialog-BTjSQjdY.js";
|
|
18
18
|
import { P as In } from "./panel-header-CbtlTe85.js";
|
|
@@ -1109,4 +1109,4 @@ const jr = qn(
|
|
|
1109
1109
|
export {
|
|
1110
1110
|
jr as N
|
|
1111
1111
|
};
|
|
1112
|
-
//# sourceMappingURL=notes-panel-
|
|
1112
|
+
//# sourceMappingURL=notes-panel-DXMTObBv.js.map
|
|
@@ -4,12 +4,12 @@ import { c as I } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as T } from "react-i18next";
|
|
5
5
|
import { A as V } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { B } from "./badge-BUk4RjTS.js";
|
|
7
|
-
import { C as K } from "./card-
|
|
7
|
+
import { C as K } from "./card-DVO3x8E-.js";
|
|
8
8
|
import { R as S } from "./rating-CGYpg5dj.js";
|
|
9
|
-
import { f as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import { c as
|
|
9
|
+
import { f as $ } from "./format-number-DdzqwMs1.js";
|
|
10
|
+
import { u as E } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
+
import { u as M } from "./registry-DvAUVLHh.js";
|
|
12
|
+
import { c as W } from "./entity-card-fpm-KUKc.js";
|
|
13
13
|
const q = {
|
|
14
14
|
id: "operator-hero",
|
|
15
15
|
// Purely observable hero region — no interactive affordances and no
|
|
@@ -22,13 +22,13 @@ const q = {
|
|
|
22
22
|
type: "string",
|
|
23
23
|
descriptionKey: "ui.agent.operatorHero.state.name",
|
|
24
24
|
description: "Operator display name currently rendered.",
|
|
25
|
-
read: (
|
|
25
|
+
read: (r) => r.getName()
|
|
26
26
|
},
|
|
27
27
|
hasColor: {
|
|
28
28
|
type: "boolean",
|
|
29
29
|
descriptionKey: "ui.agent.operatorHero.state.hasColor",
|
|
30
30
|
description: "Whether a calendar-colour identity dot is rendered. Structural flag only — never the colour id or any PHI.",
|
|
31
|
-
read: (
|
|
31
|
+
read: (r) => r.getHasColor()
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
actions: {},
|
|
@@ -67,85 +67,94 @@ const q = {
|
|
|
67
67
|
}
|
|
68
68
|
}), F = P(
|
|
69
69
|
({
|
|
70
|
-
name:
|
|
71
|
-
colorId:
|
|
72
|
-
tagline:
|
|
73
|
-
imageUrl:
|
|
74
|
-
imageAlt:
|
|
70
|
+
name: r,
|
|
71
|
+
colorId: d,
|
|
72
|
+
tagline: m,
|
|
73
|
+
imageUrl: b,
|
|
74
|
+
imageAlt: y,
|
|
75
75
|
rating: a,
|
|
76
76
|
badges: i,
|
|
77
|
-
actionSlot:
|
|
78
|
-
density:
|
|
79
|
-
surface:
|
|
80
|
-
"aria-label":
|
|
77
|
+
actionSlot: f,
|
|
78
|
+
density: o = "comfortable",
|
|
79
|
+
surface: u = "elevated",
|
|
80
|
+
"aria-label": N,
|
|
81
81
|
id: n,
|
|
82
|
-
className:
|
|
83
|
-
...
|
|
84
|
-
},
|
|
85
|
-
const { t: c, i18n:
|
|
86
|
-
|
|
82
|
+
className: H,
|
|
83
|
+
...w
|
|
84
|
+
}, C) => {
|
|
85
|
+
const { t: c, i18n: k } = T("ui"), p = z(), R = N ?? c("operatorHero.regionLabel"), l = d != null, v = j(null);
|
|
86
|
+
M(
|
|
87
87
|
q,
|
|
88
|
-
{ getName: () =>
|
|
88
|
+
{ getName: () => r, getHasColor: () => l },
|
|
89
89
|
n
|
|
90
|
-
),
|
|
90
|
+
), E(() => {
|
|
91
91
|
const s = v.current;
|
|
92
|
-
s && (
|
|
93
|
-
}, [
|
|
94
|
-
const h = a ?
|
|
92
|
+
s && (l ? s.style.setProperty("--operator-hero-color", W(d)) : s.style.removeProperty("--operator-hero-color"));
|
|
93
|
+
}, [l, d]);
|
|
94
|
+
const h = a ? $(a.value, k.language) : void 0, L = a ? c("operatorHero.ratingLabel", {
|
|
95
95
|
value: h,
|
|
96
96
|
count: a.count
|
|
97
|
-
}) : void 0,
|
|
97
|
+
}) : void 0, A = o === "comfortable" ? "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", O = o === "comfortable" ? "2xl" : "xl", g = o === "comfortable" ? "type-title-page" : "type-title-card", x = /* @__PURE__ */ t(
|
|
98
98
|
"div",
|
|
99
99
|
{
|
|
100
100
|
className: [
|
|
101
101
|
"ds:flex ds:items-start ds:gap-[var(--spacing-lg)]",
|
|
102
|
-
|
|
102
|
+
A,
|
|
103
103
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
|
|
104
104
|
].join(" "),
|
|
105
105
|
children: [
|
|
106
106
|
/* @__PURE__ */ e(
|
|
107
107
|
V,
|
|
108
108
|
{
|
|
109
|
-
size:
|
|
109
|
+
size: O,
|
|
110
110
|
shape: "rounded",
|
|
111
111
|
ratio: "3:4",
|
|
112
|
-
width:
|
|
113
|
-
height:
|
|
114
|
-
name:
|
|
115
|
-
src:
|
|
116
|
-
alt:
|
|
112
|
+
width: o === "comfortable" ? 96 : 48,
|
|
113
|
+
height: o === "comfortable" ? 128 : 64,
|
|
114
|
+
name: r,
|
|
115
|
+
src: b,
|
|
116
|
+
alt: y,
|
|
117
117
|
className: "ds:shrink-0"
|
|
118
118
|
}
|
|
119
119
|
),
|
|
120
120
|
/* @__PURE__ */ t("div", { className: "ds:@container/ohero ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
121
121
|
/* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)] ds:@[480px]/ohero:flex-row ds:@[480px]/ohero:flex-nowrap ds:@[480px]/ohero:gap-[var(--spacing-md)]", children: [
|
|
122
|
-
/* @__PURE__ */ t(
|
|
122
|
+
l ? /* @__PURE__ */ t("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:@[480px]/ohero:min-w-0 ds:@[480px]/ohero:flex-1", children: [
|
|
123
|
+
/* @__PURE__ */ e(
|
|
124
|
+
"span",
|
|
125
|
+
{
|
|
126
|
+
ref: v,
|
|
127
|
+
role: "img",
|
|
128
|
+
"aria-label": c("operatorHero.colorLabel", "Calendar colour"),
|
|
129
|
+
className: "ds:inline-block ds:size-[var(--spacing-sm)] ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[var(--operator-hero-color)]"
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
/* @__PURE__ */ e(
|
|
133
|
+
"h1",
|
|
134
|
+
{
|
|
135
|
+
id: p,
|
|
136
|
+
dir: "auto",
|
|
137
|
+
className: `${g} ds:m-0 ds:min-w-0 ds:text-[color:var(--foreground)]`,
|
|
138
|
+
children: r
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
] }) : /* @__PURE__ */ e(
|
|
123
142
|
"h1",
|
|
124
143
|
{
|
|
125
|
-
id:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"span",
|
|
130
|
-
{
|
|
131
|
-
ref: v,
|
|
132
|
-
role: "img",
|
|
133
|
-
"aria-label": c("operatorHero.colorLabel", "Calendar colour"),
|
|
134
|
-
className: "ds:inline-block ds:size-[var(--spacing-sm)] ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[var(--operator-hero-color)]"
|
|
135
|
-
}
|
|
136
|
-
) : null,
|
|
137
|
-
/* @__PURE__ */ e("span", { dir: "auto", children: o })
|
|
138
|
-
]
|
|
144
|
+
id: p,
|
|
145
|
+
dir: "auto",
|
|
146
|
+
className: `${g} ds:m-0 ds:text-[color:var(--foreground)] ds:@[480px]/ohero:min-w-0`,
|
|
147
|
+
children: r
|
|
139
148
|
}
|
|
140
149
|
),
|
|
141
|
-
|
|
150
|
+
f ? /* @__PURE__ */ e("div", { className: "ds:order-first ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:@[480px]/ohero:order-none ds:@[480px]/ohero:ms-auto ds:@[480px]/ohero:min-w-0 ds:@[480px]/ohero:max-w-[50%]", children: f }) : null
|
|
142
151
|
] }),
|
|
143
|
-
|
|
152
|
+
m ? /* @__PURE__ */ e(
|
|
144
153
|
"p",
|
|
145
154
|
{
|
|
146
155
|
dir: "auto",
|
|
147
156
|
className: "type-body ds:m-0 ds:text-[color:var(--foreground)]",
|
|
148
|
-
children:
|
|
157
|
+
children: m
|
|
149
158
|
}
|
|
150
159
|
) : null,
|
|
151
160
|
a ? (
|
|
@@ -157,14 +166,14 @@ const q = {
|
|
|
157
166
|
{
|
|
158
167
|
role: "img",
|
|
159
168
|
className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
160
|
-
"aria-label":
|
|
169
|
+
"aria-label": L,
|
|
161
170
|
children: [
|
|
162
171
|
/* @__PURE__ */ e(
|
|
163
172
|
S,
|
|
164
173
|
{
|
|
165
174
|
value: a.value,
|
|
166
175
|
max: 5,
|
|
167
|
-
size:
|
|
176
|
+
size: o === "comfortable" ? "md" : "sm",
|
|
168
177
|
decorative: !0
|
|
169
178
|
}
|
|
170
179
|
),
|
|
@@ -200,17 +209,17 @@ const q = {
|
|
|
200
209
|
return /* @__PURE__ */ e(
|
|
201
210
|
"div",
|
|
202
211
|
{
|
|
203
|
-
ref:
|
|
212
|
+
ref: C,
|
|
204
213
|
role: "region",
|
|
205
|
-
"aria-label":
|
|
206
|
-
"aria-labelledby":
|
|
214
|
+
"aria-label": R,
|
|
215
|
+
"aria-labelledby": p,
|
|
207
216
|
"data-component": "operator-hero",
|
|
208
217
|
"data-component-id": n,
|
|
209
|
-
"data-density":
|
|
218
|
+
"data-density": o,
|
|
210
219
|
id: n,
|
|
211
|
-
className: D({ surface:
|
|
212
|
-
...
|
|
213
|
-
children:
|
|
220
|
+
className: D({ surface: u, density: o, className: H }),
|
|
221
|
+
...w,
|
|
222
|
+
children: u === "elevated" ? /* @__PURE__ */ e(K, { variant: "elevated", children: x }) : x
|
|
214
223
|
}
|
|
215
224
|
);
|
|
216
225
|
}
|
|
@@ -220,4 +229,4 @@ export {
|
|
|
220
229
|
F as O,
|
|
221
230
|
q as o
|
|
222
231
|
};
|
|
223
|
-
//# sourceMappingURL=operator-hero-
|
|
232
|
+
//# sourceMappingURL=operator-hero-BWayX73x.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as X, useId as T, useMemo as Z, Fragment as $ } from "react"
|
|
|
3
3
|
import { c as j } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as A } from "react-i18next";
|
|
5
5
|
import { A as ee } from "./avatar-Dp5apm1d.js";
|
|
6
|
-
import { C as f } from "./card-
|
|
6
|
+
import { C as f } from "./card-DVO3x8E-.js";
|
|
7
7
|
import { C as ie, b as te, a as se } from "./collapsible-DVPM46bq.js";
|
|
8
8
|
import { D as ae } from "./description-list-BxzDN9o2.js";
|
|
9
9
|
import { P as de } from "./panel-header-CbtlTe85.js";
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
ue as P,
|
|
369
369
|
me as p
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=patient-details-
|
|
371
|
+
//# sourceMappingURL=patient-details-DdtXBNjt.js.map
|