@alfadocs/ui-kit 1.135.0 → 1.136.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/{ai-prompt-input-JIPbrTF3.js → ai-prompt-input-CVNeusoW.js} +2 -2
- package/dist/_chunks/ai-summary-panel-BhCo2vZF.js +1045 -0
- package/dist/_chunks/{alia-sidebar-CtwhdASP.js → alia-sidebar-CVBlKur9.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-rows-CCNmkq55.js → anamnesis-summary-rows-Dr2V1Rtf.js} +3 -3
- package/dist/_chunks/{audio-recorder-CsnM_WDy.js → audio-recorder-BOF5YYoC.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DTiMdnCZ.js → balance-badge-cell-BSB02Bwo.js} +4 -4
- package/dist/_chunks/{bill-line-table-DHKb_O7c.js → bill-line-table-By-YL2ms.js} +2 -2
- package/dist/_chunks/{bishop-score-CKztphVz.js → bishop-score-DWGESRP9.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-I5PfWudy.js → calendar-appointment-editor-dialog-CB4cQOtc.js} +5 -5
- package/dist/_chunks/call-status-chip-pajxN5eZ.js +180 -0
- package/dist/_chunks/calls-panel-BIfatK90.js +1094 -0
- package/dist/_chunks/{chat-input-CX4dxBq7.js → chat-input-BmvnuZqj.js} +114 -109
- package/dist/_chunks/{chat-message-CfIyXrxA.js → chat-message-B4TMeZ2m.js} +35 -30
- package/dist/_chunks/circle-x-W8Enq3i4.js +16 -0
- package/dist/_chunks/communications-panel-SQ-55e3V.js +1079 -0
- package/dist/_chunks/{data-grid-B2oaI7Lt.js → data-grid-CxKz8flO.js} +2 -2
- package/dist/_chunks/{data-table-FTV3uRjX.js → data-table-_tgj0C_T.js} +2 -2
- package/dist/_chunks/{default-tabs-DbebYO04.js → default-tabs-oDWQzbN7.js} +3 -3
- package/dist/_chunks/{document-preview-DLVIrOYV.js → document-preview-DWlejd8A.js} +2 -2
- package/dist/_chunks/entity-summary-CPUHzyil.js +297 -0
- package/dist/_chunks/{file-manager-Bzr5NK1t.js → file-manager-CEi4z2i0.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-mB6brTlp.js → gestational-age-calculator-CHbpC4vL.js} +2 -2
- package/dist/_chunks/{heatmap-C5gJin_F.js → heatmap-_546qI2V.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-B5aMffTy.js → invoice-upload-list-CQI9MUl6.js} +3 -3
- package/dist/_chunks/{kit-extensions-DUaIYyMD.js → kit-extensions-BNBf4m8O.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-D3JLPURZ.js → link-cell-renderer-Xx5T8u5Q.js} +3 -3
- package/dist/_chunks/{muscle-scheme-BGJD62op.js → muscle-scheme-D_rSyGDj.js} +2 -2
- package/dist/_chunks/{optical-prescription-Da_r8pMr.js → optical-prescription-DaSbsh4p.js} +2 -2
- package/dist/_chunks/{patient-account-settings-B2XbN_Fe.js → patient-account-settings-Bmfeclpd.js} +2 -2
- package/dist/_chunks/{patient-card-DTh3QTyS.js → patient-card-Cpr8iD19.js} +4 -4
- package/dist/_chunks/{patient-check-in-resume-B7NY-6KI.js → patient-check-in-resume-CYZ-SvsF.js} +38 -38
- package/dist/_chunks/{patient-details-DBtEITfE.js → patient-details-9eh9cNy7.js} +2 -2
- package/dist/_chunks/{patient-field-row-a5d4QijH.js → patient-field-row-B782eT0C.js} +2 -2
- package/dist/_chunks/{patient-sign-in-pin-CDBqV254.js → patient-sign-in-pin-DmMBwWet.js} +2 -2
- package/dist/_chunks/{patient-sign-in-steps-C2JSqlok.js → patient-sign-in-steps-BKcxNkdY.js} +37 -59
- package/dist/_chunks/{patient-summary-card-Bl2NknPe.js → patient-summary-card-K9zaMl1O.js} +2 -2
- package/dist/_chunks/phone-off-DQSTLz4l.js +28 -0
- package/dist/_chunks/{portal-documents-DJOH8pZx.js → portal-documents-DVKj6Sco.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-BNI32qNw.js → pregnancy-dating-lJbzai73.js} +2 -2
- package/dist/_chunks/{registration-form-DS3RuKHu.js → registration-form-CuLiTA52.js} +2 -2
- package/dist/_chunks/{reserved.agent-DOzOBUW7.js → reserved.agent-CabZHFJC.js} +2 -2
- package/dist/_chunks/{select-uESzXTX6.js → select-CIXKyUMw.js} +172 -149
- package/dist/_chunks/{session-countdown-DOx1IBUB.js → session-countdown-StcyUU5O.js} +56 -66
- package/dist/_chunks/{signature-request-CHsM_iWi.js → signature-request-vJDSHZld.js} +2 -2
- package/dist/_chunks/{tabs-CRIDBLP7.js → tabs-Czkmw5ou.js} +2 -2
- package/dist/_chunks/{task-editor-DvwqPfFR.js → task-editor-BfXSn6U1.js} +2 -2
- package/dist/_chunks/{tasks-panel-6EzdnwT8.js → tasks-panel-DbtJS4QI.js} +2 -2
- package/dist/_chunks/{toolbar-CfdoJzMV.js → toolbar-DjG-cpD_.js} +2 -2
- package/dist/_chunks/{unit-converter-YKlHyUC2.js → unit-converter-CUAUTu2B.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-6_OmOwUs.js → use-appointment-details-read-7J0j1FP7.js} +2 -2
- package/dist/_chunks/{voice-control-panel-Be_c0CQ0.js → voice-control-panel-Cp4vs1iy.js} +2 -2
- package/dist/agent-catalog.json +282 -6
- package/dist/agent-i18n/en.json +26 -4
- package/dist/browser-support.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/ai-summary-panel/ai-summary-panel.d.ts +68 -5
- package/dist/components/ai-summary-panel/index.d.ts +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/ai-summary-panel/summary-markdown.d.ts +15 -0
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/audio-recorder/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/call-status-chip/call-status-chip.d.ts +30 -0
- package/dist/components/call-status-chip/index.d.ts +3 -0
- package/dist/components/call-status-chip/index.js +5 -0
- package/dist/components/calls-panel/calls-panel.agent.d.ts +4 -0
- package/dist/components/calls-panel/calls-panel.d.ts +153 -0
- package/dist/components/calls-panel/index.d.ts +4 -0
- package/dist/components/calls-panel/index.js +6 -0
- package/dist/components/chat-input/chat-input.d.ts +17 -0
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/communications-panel/communications-panel.d.ts +15 -3
- package/dist/components/communications-panel/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/entity-summary/entity-summary.d.ts +29 -1
- package/dist/components/entity-summary/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 +2 -0
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/muscle-scheme/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-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +8 -0
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +72 -3
- package/dist/i18n/locales/ar.js +74 -5
- package/dist/i18n/locales/de.d.ts +72 -3
- package/dist/i18n/locales/de.js +74 -5
- package/dist/i18n/locales/el.d.ts +72 -3
- package/dist/i18n/locales/el.js +74 -5
- package/dist/i18n/locales/en.d.ts +72 -3
- package/dist/i18n/locales/en.js +73 -4
- package/dist/i18n/locales/es.d.ts +72 -3
- package/dist/i18n/locales/es.js +74 -5
- package/dist/i18n/locales/fr.d.ts +72 -3
- package/dist/i18n/locales/fr.js +74 -5
- package/dist/i18n/locales/hi.d.ts +72 -3
- package/dist/i18n/locales/hi.js +74 -5
- package/dist/i18n/locales/it.d.ts +83 -14
- package/dist/i18n/locales/it.js +84 -15
- package/dist/i18n/locales/ja.d.ts +72 -3
- package/dist/i18n/locales/ja.js +74 -5
- package/dist/i18n/locales/nl.d.ts +72 -3
- package/dist/i18n/locales/nl.js +74 -5
- package/dist/i18n/locales/pl.d.ts +72 -3
- package/dist/i18n/locales/pl.js +74 -5
- package/dist/i18n/locales/pt.d.ts +72 -3
- package/dist/i18n/locales/pt.js +74 -5
- package/dist/i18n/locales/ro.d.ts +72 -3
- package/dist/i18n/locales/ro.js +74 -5
- package/dist/i18n/locales/ru.d.ts +72 -3
- package/dist/i18n/locales/ru.js +74 -5
- package/dist/i18n/locales/sq.d.ts +72 -3
- package/dist/i18n/locales/sq.js +74 -5
- package/dist/i18n/locales/sv.d.ts +72 -3
- package/dist/i18n/locales/sv.js +74 -5
- package/dist/i18n/locales/tr.d.ts +72 -3
- package/dist/i18n/locales/tr.js +74 -5
- package/dist/i18n/locales/zh.d.ts +72 -3
- package/dist/i18n/locales/zh.js +74 -5
- package/dist/index.js +707 -702
- package/dist/locales/ar.json +74 -5
- package/dist/locales/de.json +74 -5
- package/dist/locales/el.json +74 -5
- package/dist/locales/en.json +73 -4
- package/dist/locales/es.json +74 -5
- package/dist/locales/fr.json +74 -5
- package/dist/locales/hi.json +74 -5
- package/dist/locales/it.json +84 -15
- package/dist/locales/ja.json +74 -5
- package/dist/locales/nl.json +74 -5
- package/dist/locales/pl.json +74 -5
- package/dist/locales/pt.json +74 -5
- package/dist/locales/ro.json +74 -5
- package/dist/locales/ru.json +74 -5
- package/dist/locales/sq.json +74 -5
- package/dist/locales/sv.json +74 -5
- package/dist/locales/tr.json +74 -5
- package/dist/locales/zh.json +74 -5
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +1 -1
- package/dist/patterns/patient-sign-in/index.js +2 -2
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +9 -1
- package/dist/_chunks/ai-summary-panel-B70S2lgC.js +0 -455
- package/dist/_chunks/communications-panel-BKPHCiMB.js +0 -973
- package/dist/_chunks/entity-summary-CpNk6ybN.js +0 -266
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as e, Fragment as P } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as D, useId as C, useRef as f, useImperativeHandle as _, useMemo as $ } from "react";
|
|
3
|
-
import { useTranslation as q } from "react-i18next";
|
|
4
|
-
import { A as I } from "./alert-C4WKViaS.js";
|
|
5
|
-
import { A as H } from "./avatar-Dp5apm1d.js";
|
|
6
|
-
import { B as O } from "./button-DohK_Ak_.js";
|
|
7
|
-
import { I as F } from "./icon-button-S8_weU3g.js";
|
|
8
|
-
import { C as E } from "./card-n6W6LW-N.js";
|
|
9
|
-
import { L as G } from "./link-CeV7FoI6.js";
|
|
10
|
-
import { P as W } from "./panel-header-CbtlTe85.js";
|
|
11
|
-
import { T as X } from "./timestamp-DPLDWdxA.js";
|
|
12
|
-
import { u as J } from "./registry-DvAUVLHh.js";
|
|
13
|
-
import { C as Q } from "./clock-Drd4Wtis.js";
|
|
14
|
-
import { R as U } from "./refresh-cw-DnI0cLFC.js";
|
|
15
|
-
import { X as Y } from "./x-B5YnXwCz.js";
|
|
16
|
-
import { C as Z } from "./contact-round-DiSvB3LP.js";
|
|
17
|
-
const ee = {
|
|
18
|
-
id: "entity-summary",
|
|
19
|
-
// 'close' backs close; regenerate is a host-driven refresh with no
|
|
20
|
-
// dedicated capability in the closed vocabulary.
|
|
21
|
-
capabilities: ["close"],
|
|
22
|
-
state: {
|
|
23
|
-
sections: {
|
|
24
|
-
type: 'Array<{ id: string; heading: string; tone: "default" | "attention"; itemCount: number }>',
|
|
25
|
-
descriptionKey: "ui.agent.entitySummary.state.sections",
|
|
26
|
-
description: "Structural section list — ids, fixed category headings, tone and item counts. Never the entity name or the bullet items (both PHI).",
|
|
27
|
-
read: (t) => t.getState().sections
|
|
28
|
-
},
|
|
29
|
-
generatedAtIso: {
|
|
30
|
-
type: "string | undefined",
|
|
31
|
-
descriptionKey: "ui.agent.entitySummary.state.generatedAtIso",
|
|
32
|
-
description: "ISO-8601 instant the brief was generated, when known.",
|
|
33
|
-
read: (t) => t.getState().generatedAtIso
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
actions: {
|
|
37
|
-
regenerate: {
|
|
38
|
-
// Re-requests a fresh brief from the model — reaches an external system.
|
|
39
|
-
safety: "write",
|
|
40
|
-
openWorld: !0,
|
|
41
|
-
descriptionKey: "ui.agent.entitySummary.actions.regenerate",
|
|
42
|
-
description: "Request the host to regenerate the AI brief. No-op when the regenerate affordance is not available.",
|
|
43
|
-
invoke: (t) => {
|
|
44
|
-
t.canRegenerate() && t.regenerate();
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
close: {
|
|
48
|
-
// Ephemeral panel-visibility change — read.
|
|
49
|
-
safety: "read",
|
|
50
|
-
idempotent: !0,
|
|
51
|
-
descriptionKey: "ui.agent.entitySummary.actions.close",
|
|
52
|
-
description: "Dismiss the summary panel. No-op when the close affordance is not available (e.g. docked in the rail).",
|
|
53
|
-
invoke: (t) => {
|
|
54
|
-
t.canClose() && t.close();
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
domHooks: {
|
|
59
|
-
root: {
|
|
60
|
-
attr: "data-component",
|
|
61
|
-
value: "entity-summary",
|
|
62
|
-
description: "Marks the EntitySummary panel region."
|
|
63
|
-
},
|
|
64
|
-
instanceId: {
|
|
65
|
-
attr: "data-component-id",
|
|
66
|
-
sourceProp: "id",
|
|
67
|
-
description: "Sourced from the id prop. Required to address a specific summary panel from the agent."
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}, te = "ds:flex ds:size-7 ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-md)] ds:[&_svg]:size-4 ds:bg-primary/10 ds:text-[color:var(--primary)]", w = "ds:m-0 ds:flex ds:list-disc ds:flex-col ds:gap-[var(--spacing-2xs)] ds:ps-[var(--spacing-md)] ds:break-words type-body-sm", xe = D(
|
|
71
|
-
function({
|
|
72
|
-
id: n,
|
|
73
|
-
title: i,
|
|
74
|
-
entityName: s,
|
|
75
|
-
entityHref: y,
|
|
76
|
-
entityAvatarSrc: z,
|
|
77
|
-
generatedAtIso: d,
|
|
78
|
-
stats: o,
|
|
79
|
-
sections: g,
|
|
80
|
-
onRegenerate: l,
|
|
81
|
-
regenerateLabel: R,
|
|
82
|
-
onClose: c,
|
|
83
|
-
disclaimer: j,
|
|
84
|
-
locale: B,
|
|
85
|
-
showHeader: v = !0,
|
|
86
|
-
className: T,
|
|
87
|
-
"aria-label": h,
|
|
88
|
-
...L
|
|
89
|
-
}, V) {
|
|
90
|
-
const { t: m } = q("ui"), x = C(), K = i ?? m("entitySummary.title", { defaultValue: "AI summary" }), b = f(g);
|
|
91
|
-
b.current = g;
|
|
92
|
-
const S = f(d);
|
|
93
|
-
S.current = d;
|
|
94
|
-
const u = f(l);
|
|
95
|
-
u.current = l;
|
|
96
|
-
const p = f(c);
|
|
97
|
-
p.current = c;
|
|
98
|
-
const N = f(null);
|
|
99
|
-
_(V, () => N.current, []);
|
|
100
|
-
const M = $(
|
|
101
|
-
() => ({
|
|
102
|
-
// Structural only — section headings are fixed category labels, never
|
|
103
|
-
// the entity name or the bullet items (both PHI).
|
|
104
|
-
getState: () => ({
|
|
105
|
-
generatedAtIso: S.current,
|
|
106
|
-
sections: b.current.map((r) => ({
|
|
107
|
-
id: r.id,
|
|
108
|
-
heading: r.heading,
|
|
109
|
-
tone: r.tone ?? "default",
|
|
110
|
-
itemCount: r.items.length
|
|
111
|
-
}))
|
|
112
|
-
}),
|
|
113
|
-
canRegenerate: () => !!u.current,
|
|
114
|
-
regenerate: () => {
|
|
115
|
-
var r;
|
|
116
|
-
return (r = u.current) == null ? void 0 : r.call(u);
|
|
117
|
-
},
|
|
118
|
-
canClose: () => !!p.current,
|
|
119
|
-
close: () => {
|
|
120
|
-
var r;
|
|
121
|
-
return (r = p.current) == null ? void 0 : r.call(p);
|
|
122
|
-
}
|
|
123
|
-
}),
|
|
124
|
-
[]
|
|
125
|
-
);
|
|
126
|
-
J(ee, M, n);
|
|
127
|
-
const k = d ? /* @__PURE__ */ a("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] type-meta ds:text-[color:var(--muted-foreground)]", children: [
|
|
128
|
-
/* @__PURE__ */ e(Q, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
129
|
-
/* @__PURE__ */ e("span", { children: m("entitySummary.generatedAt", { defaultValue: "Generated" }) }),
|
|
130
|
-
/* @__PURE__ */ e(X, { value: d, format: "absolute", locale: B })
|
|
131
|
-
] }) : null;
|
|
132
|
-
return /* @__PURE__ */ a(
|
|
133
|
-
"section",
|
|
134
|
-
{
|
|
135
|
-
ref: N,
|
|
136
|
-
"data-component": "entity-summary",
|
|
137
|
-
"data-component-id": n,
|
|
138
|
-
"aria-labelledby": h || !v ? void 0 : x,
|
|
139
|
-
"aria-label": h,
|
|
140
|
-
className: ["ds:flex ds:flex-col", T].filter(Boolean).join(" "),
|
|
141
|
-
...L,
|
|
142
|
-
children: [
|
|
143
|
-
v ? /* @__PURE__ */ e(
|
|
144
|
-
W,
|
|
145
|
-
{
|
|
146
|
-
title: K,
|
|
147
|
-
icon: /* @__PURE__ */ e(Z, { "aria-hidden": "true" }),
|
|
148
|
-
headingId: h ? void 0 : x,
|
|
149
|
-
sticky: !0,
|
|
150
|
-
divider: !0,
|
|
151
|
-
actions: l || c ? /* @__PURE__ */ a(P, { children: [
|
|
152
|
-
l ? /* @__PURE__ */ e(
|
|
153
|
-
O,
|
|
154
|
-
{
|
|
155
|
-
type: "button",
|
|
156
|
-
size: "sm",
|
|
157
|
-
intent: "ghost",
|
|
158
|
-
startIcon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
|
|
159
|
-
onClick: l,
|
|
160
|
-
children: R ?? m("entitySummary.regenerate", {
|
|
161
|
-
defaultValue: "Regenerate"
|
|
162
|
-
})
|
|
163
|
-
}
|
|
164
|
-
) : null,
|
|
165
|
-
c ? /* @__PURE__ */ e(
|
|
166
|
-
F,
|
|
167
|
-
{
|
|
168
|
-
icon: /* @__PURE__ */ e(Y, { "aria-hidden": "true" }),
|
|
169
|
-
size: "sm",
|
|
170
|
-
intent: "ghost",
|
|
171
|
-
"aria-label": m("common.close", { defaultValue: "Close" }),
|
|
172
|
-
onClick: c
|
|
173
|
-
}
|
|
174
|
-
) : null
|
|
175
|
-
] }) : void 0
|
|
176
|
-
}
|
|
177
|
-
) : null,
|
|
178
|
-
/* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:p-[var(--spacing-md)]", children: [
|
|
179
|
-
s || d || o && o.length > 0 ? /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
180
|
-
s ? /* @__PURE__ */ a("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
181
|
-
/* @__PURE__ */ e(
|
|
182
|
-
H,
|
|
183
|
-
{
|
|
184
|
-
name: s,
|
|
185
|
-
src: z,
|
|
186
|
-
size: "sm",
|
|
187
|
-
className: "ds:shrink-0"
|
|
188
|
-
}
|
|
189
|
-
),
|
|
190
|
-
/* @__PURE__ */ a("div", { className: "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
191
|
-
y ? /* @__PURE__ */ e(
|
|
192
|
-
G,
|
|
193
|
-
{
|
|
194
|
-
href: y,
|
|
195
|
-
className: "type-body-sm ds:font-semibold",
|
|
196
|
-
children: s
|
|
197
|
-
}
|
|
198
|
-
) : /* @__PURE__ */ e("span", { className: "type-body-sm ds:font-semibold ds:text-[color:var(--foreground)]", children: s }),
|
|
199
|
-
k
|
|
200
|
-
] })
|
|
201
|
-
] }) : k,
|
|
202
|
-
o && o.length > 0 ? /* @__PURE__ */ e(E, { variant: "elevated", children: /* @__PURE__ */ e(
|
|
203
|
-
"ul",
|
|
204
|
-
{
|
|
205
|
-
role: "list",
|
|
206
|
-
className: "ds:m-0 ds:flex ds:list-none ds:items-stretch",
|
|
207
|
-
children: o.map((r, A) => /* @__PURE__ */ a(
|
|
208
|
-
"li",
|
|
209
|
-
{
|
|
210
|
-
className: [
|
|
211
|
-
"ds:flex ds:flex-1 ds:flex-col ds:items-center ds:gap-[var(--spacing-2xs)] ds:p-[var(--spacing-sm)] ds:text-center",
|
|
212
|
-
A > 0 ? "ds:border-s ds:border-[color:var(--card-border)]" : ""
|
|
213
|
-
].filter(Boolean).join(" "),
|
|
214
|
-
children: [
|
|
215
|
-
/* @__PURE__ */ e("span", { className: "type-metric ds:[--type-metric-size:var(--font-size-lg)] ds:text-[color:var(--foreground)]", children: r.value }),
|
|
216
|
-
/* @__PURE__ */ e("span", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: r.label })
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
`${r.label}-${A}`
|
|
220
|
-
))
|
|
221
|
-
}
|
|
222
|
-
) }) : null
|
|
223
|
-
] }) : null,
|
|
224
|
-
g.map((r) => /* @__PURE__ */ e(re, { section: r }, r.id)),
|
|
225
|
-
/* @__PURE__ */ e("p", { className: "ds:m-0 type-meta ds:text-[color:var(--muted-foreground)]", children: j ?? m("entitySummary.disclaimer", {
|
|
226
|
-
defaultValue: "Does not replace clinical judgement · verify accuracy before clinical use · BETA"
|
|
227
|
-
}) })
|
|
228
|
-
] })
|
|
229
|
-
]
|
|
230
|
-
}
|
|
231
|
-
);
|
|
232
|
-
}
|
|
233
|
-
);
|
|
234
|
-
function re({ section: t }) {
|
|
235
|
-
const n = C();
|
|
236
|
-
return t.tone === "attention" ? /* @__PURE__ */ a(
|
|
237
|
-
I,
|
|
238
|
-
{
|
|
239
|
-
variant: "warning",
|
|
240
|
-
live: "off",
|
|
241
|
-
icon: t.icon,
|
|
242
|
-
className: "ds:shadow-[var(--shadow-card)]",
|
|
243
|
-
children: [
|
|
244
|
-
/* @__PURE__ */ e(I.Title, { as: "h3", children: t.heading }),
|
|
245
|
-
/* @__PURE__ */ e("ul", { className: w, children: t.items.map((i, s) => /* @__PURE__ */ e("li", { children: i }, s)) })
|
|
246
|
-
]
|
|
247
|
-
}
|
|
248
|
-
) : /* @__PURE__ */ e(E, { variant: "elevated", "aria-labelledby": n, children: /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]", children: [
|
|
249
|
-
/* @__PURE__ */ a("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
250
|
-
t.icon ? /* @__PURE__ */ e("span", { "aria-hidden": "true", className: te, children: t.icon }) : null,
|
|
251
|
-
/* @__PURE__ */ e(
|
|
252
|
-
"h3",
|
|
253
|
-
{
|
|
254
|
-
id: n,
|
|
255
|
-
className: "ds:m-0 type-eyebrow ds:text-[color:var(--foreground)]",
|
|
256
|
-
children: t.heading
|
|
257
|
-
}
|
|
258
|
-
)
|
|
259
|
-
] }),
|
|
260
|
-
/* @__PURE__ */ e("ul", { className: `${w} ds:text-[color:var(--foreground)]`, children: t.items.map((i, s) => /* @__PURE__ */ e("li", { children: i }, s)) })
|
|
261
|
-
] }) });
|
|
262
|
-
}
|
|
263
|
-
export {
|
|
264
|
-
xe as E
|
|
265
|
-
};
|
|
266
|
-
//# sourceMappingURL=entity-summary-CpNk6ybN.js.map
|