@flamingo-stack/openframe-frontend-core 0.0.810 → 0.0.812
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/{case-study-card-MEWJNF4N.cjs → case-study-card-3XLKCGLV.cjs} +7 -7
- package/dist/{chunk-CLMUD56S.cjs → chunk-2IZHRVKD.cjs} +26 -26
- package/dist/{chunk-XYZBN6D7.cjs → chunk-4IU462LR.cjs} +2 -2
- package/dist/{chunk-STLJCAIZ.cjs → chunk-4SZKJPQJ.cjs} +2 -2
- package/dist/{chunk-TOWVMBAP.cjs → chunk-4ZTGCCNI.cjs} +17 -17
- package/dist/{chunk-VXXOUM2K.cjs → chunk-5DBW6ERF.cjs} +4 -0
- package/dist/{chunk-GAHXURKJ.cjs → chunk-5QLDHPPU.cjs} +2 -2
- package/dist/{chunk-PIKHEBG5.cjs → chunk-6LZ4BI7Z.cjs} +52 -52
- package/dist/{chunk-5MTYKS2Q.cjs → chunk-743MM5B6.cjs} +4 -4
- package/dist/{chunk-ZXBRPQND.cjs → chunk-7HNZHENA.cjs} +17 -17
- package/dist/{chunk-4W77VLQV.cjs → chunk-7Q2PFKU3.cjs} +10 -10
- package/dist/{chunk-KVJKKVB3.cjs → chunk-7TBXHZLB.cjs} +9 -9
- package/dist/{chunk-VXAKQRV7.cjs → chunk-APOMNC7H.cjs} +5 -5
- package/dist/{chunk-OJZBZH56.cjs → chunk-CNTBGJA7.cjs} +3 -3
- package/dist/{chunk-TUZV2ZQY.cjs → chunk-COTJLBOS.cjs} +2 -2
- package/dist/{chunk-FLW2VL5W.cjs → chunk-CUDJP7R7.cjs} +24 -24
- package/dist/{chunk-B6DIM5JG.cjs → chunk-D2EPUQ35.cjs} +6 -6
- package/dist/{chunk-MSAXZRXZ.cjs → chunk-D322VUSH.cjs} +622 -621
- package/dist/{chunk-TOTR2WMH.cjs → chunk-DA2TWDGJ.cjs} +8 -8
- package/dist/{chunk-JLKGLPDC.cjs → chunk-E64HJMY6.cjs} +20 -20
- package/dist/{chunk-X2JSCOOR.cjs → chunk-EPMAMFQE.cjs} +100 -100
- package/dist/{chunk-MAQFG62O.cjs → chunk-FCFLZPID.cjs} +36 -36
- package/dist/{chunk-7PNRXJX2.cjs → chunk-FX35L4Y6.cjs} +3 -3
- package/dist/{chunk-5GJM7VRR.cjs → chunk-GI3MMBP3.cjs} +91 -26
- package/dist/{chunk-GG36TCKP.cjs → chunk-JMAKYJ3Q.cjs} +6 -6
- package/dist/{chunk-2C63MX75.cjs → chunk-JMRO7CK2.cjs} +23 -23
- package/dist/{chunk-F26COFTW.cjs → chunk-K7IX2NAG.cjs} +89 -89
- package/dist/{chunk-V4FXUIMH.cjs → chunk-LC65AC6M.cjs} +4 -4
- package/dist/{chunk-AQXKXZWB.cjs → chunk-MG3HJIGG.cjs} +4 -4
- package/dist/{chunk-ETI7OMPU.cjs → chunk-NEDFRRLM.cjs} +71 -71
- package/dist/{chunk-RKNCNL6K.cjs → chunk-OKI5KSUV.cjs} +28 -28
- package/dist/{chunk-3FBXQSSC.cjs → chunk-PQ76VC2P.cjs} +865 -671
- package/dist/{chunk-R2ABQG2T.cjs → chunk-RSLLS6C4.cjs} +53 -53
- package/dist/{chunk-PRCGRDHV.cjs → chunk-SC3I3YWM.cjs} +18 -18
- package/dist/{chunk-NG3RKTQU.cjs → chunk-SFUNXMY3.cjs} +8 -8
- package/dist/{chunk-J4QORJMC.cjs → chunk-TCMUVY3M.cjs} +113 -113
- package/dist/{chunk-ML3DG4SS.cjs → chunk-TS4PKCG3.cjs} +5 -5
- package/dist/{chunk-TGOJHOQR.cjs → chunk-U2MHQBL4.cjs} +3 -3
- package/dist/{chunk-EKDLVUEA.cjs → chunk-VEN6MGNX.cjs} +50 -50
- package/dist/{chunk-FCFYZIOY.cjs → chunk-VPYGK4AV.cjs} +22 -22
- package/dist/{chunk-I3RJLXEL.cjs → chunk-VT2ACO3Z.cjs} +159 -159
- package/dist/{chunk-FRS2VO22.cjs → chunk-VYLBW6ZV.cjs} +41 -41
- package/dist/{chunk-RPBOWCME.cjs → chunk-WFJDKP2Q.cjs} +17 -17
- package/dist/{chunk-CZWQCYKV.cjs → chunk-XB7VPJNY.cjs} +3 -3
- package/dist/{chunk-VHX4A4SA.cjs → chunk-XZKYU57A.cjs} +2 -2
- package/dist/{chunk-SZHDXXMK.cjs → chunk-YSDB6HGQ.cjs} +3 -3
- package/dist/{chunk-TT64NRFU.cjs → chunk-ZFUNSXSH.cjs} +7 -7
- package/dist/{cloud-tenants-QTASS5KP.cjs → cloud-tenants-CW3I7AIM.cjs} +27 -27
- package/dist/components/case-studies/index.cjs +43 -43
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +4 -1
- package/dist/components/chat/index.cjs +21 -21
- package/dist/components/chat/utils/icon-registry.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-registry.js +4 -0
- package/dist/components/contact/index.cjs +28 -28
- package/dist/components/docs/index.cjs +31 -31
- package/dist/components/embeds/index.cjs +28 -28
- package/dist/components/faq/index.cjs +29 -29
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
- package/dist/components/features/devices/devices-table-columns.js +1 -1
- package/dist/components/features/index.cjs +27 -27
- package/dist/components/help-center-pages/index.cjs +133 -133
- package/dist/components/index.cjs +98 -98
- package/dist/components/meeting-scheduler/index.cjs +143 -97
- package/dist/components/meeting-scheduler/index.d.ts +30 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +43 -3
- package/dist/components/navigation/index.cjs +30 -30
- package/dist/components/onboarding-guides/index.cjs +30 -30
- package/dist/components/product-demo/index.cjs +38 -38
- package/dist/components/related-content/index.cjs +16 -16
- package/dist/components/tickets/index.cjs +34 -34
- package/dist/components/ui/index.cjs +27 -27
- package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
- package/dist/components/ui/markdown/base-components.js +6 -7
- package/dist/components/ui/markdown/engine.d.ts +7 -0
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/markdown/engine.js +12 -3
- package/dist/components/ui/markdown/external-media-notice.d.ts +33 -0
- package/dist/components/ui/markdown/external-media-notice.d.ts.map +1 -0
- package/dist/components/ui/markdown/external-media-notice.js +56 -0
- package/dist/components/ui/markdown/mermaid-diagram.d.ts +24 -2
- package/dist/components/ui/markdown/mermaid-diagram.d.ts.map +1 -1
- package/dist/components/ui/markdown/mermaid-diagram.js +66 -6
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts +4 -4
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.js +2 -1
- package/dist/components/ui/markdown/sanitize.d.ts +28 -3
- package/dist/components/ui/markdown/sanitize.d.ts.map +1 -1
- package/dist/components/ui/markdown/sanitize.js +84 -12
- package/dist/components/ui/markdown/simple-markdown-renderer.d.ts +3 -2
- package/dist/components/ui/markdown/simple-markdown-renderer.d.ts.map +1 -1
- package/dist/{devices-KPMQI57Y.cjs → devices-KKRAB4Q2.cjs} +28 -28
- package/dist/{embeddable-chat-LB7NDFVQ.cjs → embeddable-chat-5UO66U4F.cjs} +93 -93
- package/dist/hooks/index.cjs +13 -13
- package/dist/index.cjs +33 -33
- package/dist/{knowledge-JWGBY3ZJ.cjs → knowledge-Z2PTGBA3.cjs} +28 -28
- package/dist/{logs-QENTXKWY.cjs → logs-6T5VK2TY.cjs} +35 -35
- package/dist/{policies-2HXFZ2EL.cjs → policies-JPIC5YDE.cjs} +31 -31
- package/dist/{remote-session-LMUFV2RZ.cjs → remote-session-VBVUMIUP.cjs} +12 -12
- package/dist/{scripts-TMXULK6L.cjs → scripts-BSYJJFBQ.cjs} +34 -34
- package/dist/{software-update-H2LAEWDN.cjs → software-update-KVEYYORC.cjs} +31 -31
- package/dist/{tickets-board-QF5JNSH2.cjs → tickets-board-YRZ54JJS.cjs} +16 -16
- package/dist/utils/app-origins.d.ts +41 -0
- package/dist/utils/app-origins.d.ts.map +1 -0
- package/dist/utils/app-origins.js +51 -0
- package/dist/utils/embed-auth-adapter-registry.d.ts +7 -0
- package/dist/utils/embed-auth-adapter-registry.d.ts.map +1 -0
- package/dist/utils/embed-auth-adapter-registry.js +34 -0
- package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
- package/dist/utils/embed-authed-fetch.js +6 -19
- package/dist/utils/index.cjs +32 -12
- package/dist/{video-file-player-2FMFCGXE.cjs → video-file-player-4QMVTOBE.cjs} +3 -3
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +12 -1
- package/src/components/chat/utils/icon-registry.ts +4 -0
- package/src/components/features/devices/devices-table-columns.tsx +5 -2
- package/src/components/meeting-scheduler/index.tsx +85 -3
- package/src/components/ui/markdown/base-components.tsx +6 -7
- package/src/components/ui/markdown/engine.tsx +29 -5
- package/src/components/ui/markdown/external-media-notice.tsx +84 -0
- package/src/components/ui/markdown/mermaid-diagram.tsx +107 -5
- package/src/components/ui/markdown/rich/rich-markdown-renderer.tsx +11 -5
- package/src/components/ui/markdown/sanitize.ts +162 -15
- package/src/components/ui/markdown/simple-markdown-renderer.tsx +6 -2
- package/src/utils/app-origins.ts +95 -0
- package/src/utils/embed-auth-adapter-registry.ts +49 -0
- package/src/utils/embed-authed-fetch.ts +7 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkD322VUSHcjs = require('./chunk-D322VUSH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -11,10 +11,10 @@ var _chunkM7ZSKWT3cjs = require('./chunk-M7ZSKWT3.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkZFUNSXSHcjs = require('./chunk-ZFUNSXSH.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkU2MHQBL4cjs = require('./chunk-U2MHQBL4.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkAHBTZ7DNcjs = require('./chunk-AHBTZ7DN.cjs');
|
|
@@ -29,7 +29,7 @@ function FileDownloadCard({ fileName, mimeType, fileSize, fileUrl }) {
|
|
|
29
29
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h3", children: fileName || "File" }),
|
|
30
30
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-2 flex items-center justify-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
31
31
|
mimeType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: mimeType }),
|
|
32
|
-
typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children:
|
|
32
|
+
typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkU2MHQBL4cjs.formatFileSize.call(void 0, fileSize) })
|
|
33
33
|
] })
|
|
34
34
|
] }),
|
|
35
35
|
fileUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", href: fileUrl, openInNewTab: true, leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Download, { className: "h-4 w-4" }), children: "Download File" })
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunkD322VUSHcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -57,7 +57,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
57
57
|
{
|
|
58
58
|
variant: "outline",
|
|
59
59
|
size: "small-legacy",
|
|
60
|
-
href:
|
|
60
|
+
href: _chunkZFUNSXSHcjs.toGoogleSheetsOriginalUrl.call(void 0, externalUrl),
|
|
61
61
|
openInNewTab: true,
|
|
62
62
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-4 w-4" }),
|
|
63
63
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }),
|
|
@@ -65,7 +65,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
65
65
|
children: "Open in Google Sheets"
|
|
66
66
|
}
|
|
67
67
|
),
|
|
68
|
-
src:
|
|
68
|
+
src: _chunkZFUNSXSHcjs.toGoogleSheetsEmbedUrl.call(void 0, externalUrl),
|
|
69
69
|
height
|
|
70
70
|
}
|
|
71
71
|
);
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunkD322VUSHcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -14,7 +14,7 @@ var _chunkC7GIHB3Vcjs = require('./chunk-C7GIHB3V.cjs');
|
|
|
14
14
|
var _chunkHFNBMV5Mcjs = require('./chunk-HFNBMV5M.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk4IU462LRcjs = require('./chunk-4IU462LR.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
@@ -25,20 +25,20 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk7Q2PFKU3cjs = require('./chunk-7Q2PFKU3.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkU2MHQBL4cjs = require('./chunk-U2MHQBL4.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunk5DBW6ERFcjs = require('./chunk-5DBW6ERF.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
var _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
|
|
@@ -74,12 +74,12 @@ function formatTicketRelativeTime(iso) {
|
|
|
74
74
|
if (diffMin < 60) return `${diffMin} min ago`;
|
|
75
75
|
const diffHours = Math.floor(diffMin / 60);
|
|
76
76
|
if (diffHours < 24) return diffHours === 1 ? "1 hour ago" : `${diffHours} hours ago`;
|
|
77
|
-
return
|
|
77
|
+
return _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, date, _chunkU2MHQBL4cjs.VIEWER_TIMEZONE, "numeric", { viewerLocale: true });
|
|
78
78
|
}
|
|
79
79
|
function formatTicketFullTimestamp(iso) {
|
|
80
|
-
return
|
|
80
|
+
return _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0,
|
|
81
81
|
iso,
|
|
82
|
-
|
|
82
|
+
_chunkU2MHQBL4cjs.VIEWER_TIMEZONE,
|
|
83
83
|
{ year: "numeric", month: "2-digit", day: "2-digit", hour: "numeric", minute: "2-digit" },
|
|
84
84
|
{ viewerLocale: true }
|
|
85
85
|
);
|
|
@@ -108,7 +108,7 @@ function formatRelativeTimeFrom(timestamp, now) {
|
|
|
108
108
|
const weeks = Math.floor(diffInDays / 7);
|
|
109
109
|
return `${weeks}w ago`;
|
|
110
110
|
}
|
|
111
|
-
return
|
|
111
|
+
return _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, targetTime, null, {
|
|
112
112
|
month: "short",
|
|
113
113
|
day: "numeric",
|
|
114
114
|
year: targetTime.getUTCFullYear() !== now.getUTCFullYear() ? "numeric" : void 0
|
|
@@ -120,7 +120,7 @@ function formatAbsoluteDate(timestamp, options = {}) {
|
|
|
120
120
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatAbsoluteDate:", timestamp);
|
|
121
121
|
return "Invalid date";
|
|
122
122
|
}
|
|
123
|
-
return
|
|
123
|
+
return _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
124
124
|
year: "numeric",
|
|
125
125
|
month: "short",
|
|
126
126
|
day: "numeric",
|
|
@@ -133,7 +133,7 @@ function formatDateTime(timestamp, options = {}) {
|
|
|
133
133
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatDateTime:", timestamp);
|
|
134
134
|
return "Invalid date";
|
|
135
135
|
}
|
|
136
|
-
return
|
|
136
|
+
return _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
137
137
|
...ZONED_DATE_FIELDS_MEDIUM_DATETIME,
|
|
138
138
|
...options
|
|
139
139
|
});
|
|
@@ -292,13 +292,13 @@ function TicketStatusTag({
|
|
|
292
292
|
const config = getTicketStatusConfig(status);
|
|
293
293
|
const customStyle = color ? {
|
|
294
294
|
"--tag-bg": color,
|
|
295
|
-
"--tag-bg-hover":
|
|
296
|
-
"--tag-bg-active":
|
|
297
|
-
color:
|
|
295
|
+
"--tag-bg-hover": _chunk7Q2PFKU3cjs.deriveHoverColor.call(void 0, color),
|
|
296
|
+
"--tag-bg-active": _chunk7Q2PFKU3cjs.deriveActiveColor.call(void 0, color),
|
|
297
|
+
color: _chunk7Q2PFKU3cjs.getReadableTextColor.call(void 0, color)
|
|
298
298
|
} : void 0;
|
|
299
299
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
300
300
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
301
|
-
|
|
301
|
+
_chunkU2MHQBL4cjs.Tag,
|
|
302
302
|
{
|
|
303
303
|
loading,
|
|
304
304
|
label: _nullishCoalesce(label, () => ( config.label)),
|
|
@@ -351,7 +351,7 @@ function TicketStatusTag({
|
|
|
351
351
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
352
352
|
// The tag's variant styling, split into a label section and a separated chevron section (the common
|
|
353
353
|
// dropdown-button seam). Custom color: bg/hover/active from the CSS vars set above.
|
|
354
|
-
|
|
354
|
+
_chunkU2MHQBL4cjs.tagVariants.call(void 0, { variant: _nullishCoalesce(variant, () => ( config.variant)) }),
|
|
355
355
|
"items-stretch justify-start gap-0 overflow-hidden p-0",
|
|
356
356
|
customColorClasses
|
|
357
357
|
),
|
|
@@ -627,7 +627,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
627
627
|
const hasExpandableBody = args.length > 0 || typeof result === "string" && result.length > 0;
|
|
628
628
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start border-b border-ods-border bg-ods-card last:border-b-0", children: [
|
|
629
629
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", onClick: onToggle, "aria-expanded": expanded, children: [
|
|
630
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
630
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4IU462LRcjs.ToolIcon, { toolType, size: 16 }) }),
|
|
631
631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
632
632
|
"div",
|
|
633
633
|
{
|
|
@@ -866,13 +866,13 @@ ApprovalBatchMessage.displayName = "ApprovalBatchMessage";
|
|
|
866
866
|
// src/components/agent-mark.tsx
|
|
867
867
|
|
|
868
868
|
|
|
869
|
-
function AgentMark({ agent, className = "", color =
|
|
870
|
-
const identity =
|
|
869
|
+
function AgentMark({ agent, className = "", color = _chunk7Q2PFKU3cjs.AGENT_GLYPH_COLOR }) {
|
|
870
|
+
const identity = _chunk7Q2PFKU3cjs.useAgentIdentityIcon.call(void 0, agent);
|
|
871
871
|
if (_optionalChain([identity, 'optionalAccess', _15 => _15.url])) {
|
|
872
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKUXHXLJQcjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes:
|
|
872
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKUXHXLJQcjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes: _chunk5DBW6ERFcjs.fixedImageSlot.call(void 0, "mark"), className: _chunk7Q2PFKU3cjs.AGENT_PICTURE_CLASS }) });
|
|
873
873
|
}
|
|
874
874
|
if (_optionalChain([identity, 'optionalAccess', _16 => _16.name])) {
|
|
875
|
-
return _react.createElement.call(void 0,
|
|
875
|
+
return _react.createElement.call(void 0, _chunk5DBW6ERFcjs.resolveIcon.call(void 0, identity.name), {
|
|
876
876
|
className,
|
|
877
877
|
"aria-hidden": true,
|
|
878
878
|
color,
|