@epam/ai-dial-conversation-stages 1.3.0-dev.245 → 1.3.0-dev.248

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.
@@ -1 +1 @@
1
- {"version":3,"file":"StageItem.d.ts","sourceRoot":"","sources":["../../../src/components/StageItem/StageItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAG1E,OAAO,EAAE,EAAE,EAAE,SAAS,EAAkC,MAAM,OAAO,CAAC;AAKtE,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EAChB,MAAM,2BAA2B,CAAC;AAOnC,mCAAmC;AACnC,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,kEAAkE;IAClE,MAAM,EAAE,OAAO,CAAC;IAChB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,4BAA4B;IAC5B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,kHAAkH;IAClH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wGAAwG;IACxG,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,uIAAuI;IACvI,0BAA0B,CAAC,EAAE,gBAAgB,CAAC,4BAA4B,CAAC,CAAC;IAC5E,qHAAqH;IACrH,cAAc,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACpD,sIAAsI;IACtI,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,yIAAyI;IACzI,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C;AAyCD,8FAA8F;AAC9F,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA2JxC,CAAC"}
1
+ {"version":3,"file":"StageItem.d.ts","sourceRoot":"","sources":["../../../src/components/StageItem/StageItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAG1E,OAAO,EAAE,EAAE,EAAE,SAAS,EAAkC,MAAM,OAAO,CAAC;AAKtE,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EAChB,MAAM,2BAA2B,CAAC;AAOnC,mCAAmC;AACnC,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,kEAAkE;IAClE,MAAM,EAAE,OAAO,CAAC;IAChB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,4BAA4B;IAC5B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,kHAAkH;IAClH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wGAAwG;IACxG,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,uIAAuI;IACvI,0BAA0B,CAAC,EAAE,gBAAgB,CAAC,4BAA4B,CAAC,CAAC;IAC5E,qHAAqH;IACrH,cAAc,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACpD,sIAAsI;IACtI,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,yIAAyI;IACzI,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C;AAyCD,8FAA8F;AAC9F,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA4JxC,CAAC"}
package/index.css CHANGED
@@ -1,3 +1,3 @@
1
- ._panel_w65is_2{color:var(--cs-text,var(--text-primary,#161b2d))}._row_w65is_6:hover{background:var(--cs-row-hover,var(--bg-layer-sunken,#eef1f7))}._collapseButton_w65is_10{background:var(--cs-button-bg,transparent)}._stageHeader_w65is_19._stageHeader_w65is_19:hover{background:var(--cs-row-hover,var(--bg-layer-sunken,#eef1f7))}._stageHeader_w65is_19._stageHeader_w65is_19>svg{color:var(--cs-icon-secondary,var(--text-secondary,#57647a));opacity:.7}._stageRegion_w65is_28._stageRegion_w65is_28{color:inherit}._stageName_w65is_32{color:var(--cs-stage-text,var(--text-secondary,#57647a))}._stageNameFailed_w65is_36{color:var(--cs-failed-text,var(--text-warning,#7f6300))}._monoName_w65is_40{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}._tag_w65is_44{color:var(--cs-tag-text,var(--text-tertiary,#848e9c))}._count_w65is_48{color:var(--cs-count-text,var(--text-tertiary,#848e9c));font-variant-numeric:tabular-nums}._duration_w65is_53{color:var(--cs-duration-text,var(--text-tertiary,#848e9c));font-variant-numeric:tabular-nums}._iconSecondary_w65is_58{color:var(--cs-icon-secondary,var(--text-secondary,#57647a));opacity:.7}._iconCompleted_w65is_63{color:var(--cs-icon-completed,var(--text-success,#007274))}._iconError_w65is_67{color:var(--cs-icon-error,var(--text-warning,#7f6300))}._stageContent_w65is_71{color:var(--cs-stage-text,var(--text-secondary,#57647a))}._codeBlock_w65is_75{background:var(--cs-code-bg,var(--bg-layer-raised,#fcfcfc));border-color:var(--cs-code-border,var(--stroke-secondary,#d1dbea));color:var(--cs-code-text,var(--text-primary,#161b2d))}._codeInline_w65is_84{font-family:var(--theme-font-mono,var(--font-fira-code,"Fira Code"), ui-monospace, monospace);background:var(--cs-code-bg,var(--bg-layer-raised,#fcfcfc));border:1px solid var(--cs-code-border,var(--stroke-secondary,#d1dbea));color:var(--cs-code-text,var(--text-primary,#161b2d))}._blockquote_w65is_91{border-color:var(--cs-stage-text,var(--text-secondary,#57647a));color:var(--cs-stage-text,var(--text-secondary,#57647a))}._tableCell_w65is_96{border-color:var(--cs-border,var(--stroke-secondary,#d1dbea));color:var(--cs-stage-text,var(--text-secondary,#57647a))}._toggleButton_16fae_7._toggleButton_16fae_7{color:var(--cs-cg-label,var(--text-secondary,#57647a));text-align:start;width:100%;min-width:0}._toggleButton_16fae_7._toggleButton_16fae_7:hover{color:var(--cs-cg-label-hover,var(--text-primary,#161b2d));background:0 0}._toggleButton_16fae_7._toggleButton_16fae_7>svg{width:12px;height:12px;color:inherit}._toggleButton_16fae_7._toggleButton_16fae_7>span>span{white-space:normal}._groupRegion_16fae_28._groupRegion_16fae_28{color:inherit}._executedLabel_16fae_32{color:var(--cs-cg-label,var(--text-secondary,#57647a))}._doneIcon_16fae_36{color:var(--cs-cg-done,var(--text-success,#007274))}._failedText_16fae_40{color:var(--cs-cg-failed,var(--text-warning,#7f6300))}._liveName_16fae_44{color:var(--cs-cg-label,var(--text-primary,#161b2d))}
1
+ ._panel_msss2_1{color:var(--cs-text,var(--text-primary,#161b2d))}._row_msss2_5:hover{background:var(--cs-row-hover,var(--bg-layer-sunken,#eef1f7))}._collapseButton_msss2_9{background:var(--cs-button-bg,transparent)}._stageHeader_msss2_18._stageHeader_msss2_18:hover{background:var(--cs-row-hover,var(--bg-layer-sunken,#eef1f7))}._stageHeader_msss2_18._stageHeader_msss2_18>svg{color:var(--cs-icon-secondary,var(--text-secondary,#57647a));opacity:.7}._stageRegion_msss2_27._stageRegion_msss2_27{color:inherit}._stageName_msss2_31{color:var(--cs-stage-text,var(--text-secondary,#57647a))}._stageNameFailed_msss2_35{color:var(--cs-failed-text,var(--text-warning,#7f6300))}._tag_msss2_39{color:var(--cs-tag-text,var(--text-tertiary,#848e9c))}._count_msss2_43{color:var(--cs-count-text,var(--text-tertiary,#848e9c));font-variant-numeric:tabular-nums}._duration_msss2_48{color:var(--cs-duration-text,var(--text-tertiary,#848e9c));font-variant-numeric:tabular-nums}._iconSecondary_msss2_53{color:var(--cs-icon-secondary,var(--text-secondary,#57647a));opacity:.7}._iconCompleted_msss2_58{color:var(--cs-icon-completed,var(--text-success,#007274))}._iconError_msss2_62{color:var(--cs-icon-error,var(--text-warning,#7f6300))}._stageContent_msss2_66{color:var(--cs-stage-text,var(--text-secondary,#57647a))}._codeBlock_msss2_70{background:var(--cs-code-bg,var(--bg-layer-raised,#fcfcfc));border-color:var(--cs-code-border,var(--stroke-secondary,#d1dbea));color:var(--cs-code-text,var(--text-primary,#161b2d))}._codeInline_msss2_76{background:var(--cs-code-bg,var(--bg-layer-raised,#fcfcfc));border:1px solid var(--cs-code-border,var(--stroke-secondary,#d1dbea));color:var(--cs-code-text,var(--text-primary,#161b2d))}._blockquote_msss2_82{border-color:var(--cs-stage-text,var(--text-secondary,#57647a));color:var(--cs-stage-text,var(--text-secondary,#57647a))}._tableCell_msss2_87{border-color:var(--cs-border,var(--stroke-secondary,#d1dbea));color:var(--cs-stage-text,var(--text-secondary,#57647a))}._toggleButton_16fae_7._toggleButton_16fae_7{color:var(--cs-cg-label,var(--text-secondary,#57647a));text-align:start;width:100%;min-width:0}._toggleButton_16fae_7._toggleButton_16fae_7:hover{color:var(--cs-cg-label-hover,var(--text-primary,#161b2d));background:0 0}._toggleButton_16fae_7._toggleButton_16fae_7>svg{width:12px;height:12px;color:inherit}._toggleButton_16fae_7._toggleButton_16fae_7>span>span{white-space:normal}._groupRegion_16fae_28._groupRegion_16fae_28{color:inherit}._executedLabel_16fae_32{color:var(--cs-cg-label,var(--text-secondary,#57647a))}._doneIcon_16fae_36{color:var(--cs-cg-done,var(--text-success,#007274))}._failedText_16fae_40{color:var(--cs-cg-failed,var(--text-warning,#7f6300))}._liveName_16fae_44{color:var(--cs-cg-label,var(--text-primary,#161b2d))}
2
2
  /*$vite$:1*//*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
3
3
  .collapse{visibility:collapse}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.-mt-1{margin-top:-.25rem}.-mt-2{margin-top:-.5rem}.mb-1\.5{margin-bottom:.375rem}.block{display:block}.flex{display:flex}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.max-h-\[300px\]{max-height:300px}.w-full{width:100%}.max-w-\[22rem\]{max-width:22rem}.min-w-0{min-width:0}.flex-none{flex:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.px-0{padding-inline:0}.px-1{padding-inline:.25rem}.px-2{padding-inline:.5rem}.py-0{padding-block:0}.py-0\.5{padding-block:.125rem}.py-1{padding-block:.25rem}.py-1\.5{padding-block:.375rem}.py-3{padding-block:.75rem}.ps-0{padding-inline-start:0}.ps-4{padding-inline-start:1rem}.ps-5{padding-inline-start:1.25rem}.ps-6{padding-inline-start:1.5rem}.ps-8{padding-inline-start:2rem}.pt-1{padding-top:.25rem}.text-start{text-align:start}.last\:mb-0:last-child{margin-bottom:0}@media (max-width:1279px){.mobile\:min-h-11{min-height:2.75rem}}
package/index.js CHANGED
@@ -1,24 +1,24 @@
1
1
  import { AttachmentErrorReason as e, AttachmentType as t, MIME_TYPE_EXT_MAP as n, MarkdownCodeBlock as r, MarkdownRenderer as i, RequestStatus as a, StageStatus as o, buildCssVars as s, mergeClasses as c, messageAttachmentsToDisplayAttachments as l, normalizeMimeType as u } from "@epam/ai-dial-chat-shared";
2
- import { Accordion as d, DIAL_ICON_SIZE as f, DIAL_KIT_ICON_STROKE as p, DialItemType as m, ElementSize as h, EllipsisTooltip as g, FileIcon as _, Highlight as v, Skeleton as y, SkeletonVariant as b, Spinner as x, StaticIconButton as S } from "@epam/ai-dial-ui-kit";
3
- import { IconAlertCircle as C, IconCheck as w, IconClipboard as T, IconDownload as E, IconExternalLink as D, IconFile as O, IconFileTypeBmp as k, IconFileTypeCss as A, IconFileTypeCsv as j, IconFileTypeDoc as M, IconFileTypeDocx as N, IconFileTypeHtml as P, IconFileTypeJpg as F, IconFileTypeJs as I, IconFileTypeJsx as L, IconFileTypePdf as R, IconFileTypePhp as z, IconFileTypePng as B, IconFileTypePpt as V, IconFileTypeRs as ee, IconFileTypeSql as te, IconFileTypeSvg as ne, IconFileTypeTs as re, IconFileTypeTsx as ie, IconFileTypeTxt as ae, IconFileTypeVue as H, IconFileTypeXls as oe, IconFileTypeXml as se, IconFileTypeZip as ce, IconMusic as le, IconPhoto as U, IconReload as ue, IconTerminal2 as de, IconVideo as fe, IconX as pe } from "@tabler/icons-react";
4
- import { memo as me, useCallback as W, useEffect as G, useId as he, useMemo as K, useRef as ge, useState as q } from "react";
5
- import { Fragment as _e, jsx as J, jsxs as Y } from "react/jsx-runtime";
2
+ import { Accordion as d, DIAL_ICON_SIZE as f, DIAL_KIT_ICON_STROKE as p, DialItemType as m, ElementSize as h, EllipsisTooltip as g, FileIcon as _, Highlight as v, LiveRegion as y, LiveRegionElement as b, Skeleton as x, SkeletonVariant as S, Spinner as C, StaticIconButton as w } from "@epam/ai-dial-ui-kit";
3
+ import { IconAlertCircle as T, IconCheck as E, IconClipboard as D, IconDownload as O, IconExternalLink as k, IconFile as A, IconFileTypeBmp as j, IconFileTypeCss as M, IconFileTypeCsv as N, IconFileTypeDoc as P, IconFileTypeDocx as F, IconFileTypeHtml as I, IconFileTypeJpg as L, IconFileTypeJs as R, IconFileTypeJsx as z, IconFileTypePdf as B, IconFileTypePhp as V, IconFileTypePng as H, IconFileTypePpt as U, IconFileTypeRs as ee, IconFileTypeSql as te, IconFileTypeSvg as ne, IconFileTypeTs as re, IconFileTypeTsx as ie, IconFileTypeTxt as ae, IconFileTypeVue as W, IconFileTypeXls as oe, IconFileTypeXml as se, IconFileTypeZip as ce, IconMusic as le, IconPhoto as G, IconReload as ue, IconTerminal2 as de, IconVideo as fe, IconX as pe } from "@tabler/icons-react";
4
+ import { memo as me, useCallback as K, useEffect as he, useId as ge, useMemo as q, useRef as _e, useState as ve } from "react";
5
+ import { Fragment as ye, jsx as J, jsxs as Y } from "react/jsx-runtime";
6
6
  //#region src/constants/public-class-names.ts
7
- var ve = {
7
+ var be = {
8
8
  panel: "dial-conversation-stages-panel",
9
9
  group: "dial-conversation-stages-group",
10
10
  groupToggle: "dial-conversation-stages-group-toggle"
11
- }, ye = () => {
12
- let [e, t] = q(() => /* @__PURE__ */ new Set()), n = W((e, n) => {
11
+ }, xe = () => {
12
+ let [e, t] = ve(() => /* @__PURE__ */ new Set()), n = K((e, n) => {
13
13
  t((t) => {
14
14
  if (t.has(e) === n) return t;
15
15
  let r = new Set(t);
16
16
  return n ? r.add(e) : r.delete(e), r;
17
17
  });
18
- }, []), r = W(() => {
18
+ }, []), r = K(() => {
19
19
  t((e) => e.size ? /* @__PURE__ */ new Set() : e);
20
20
  }, []);
21
- return K(() => ({
21
+ return q(() => ({
22
22
  isExpanded: (t) => e.has(t),
23
23
  onToggle: n,
24
24
  reset: r
@@ -27,30 +27,30 @@ var ve = {
27
27
  n,
28
28
  r
29
29
  ]);
30
- }, be = /[([][^()[\]]*[)\]]/g, xe = /(\d+(?:\.\d+)?)\s*s\b/, Se = (e) => {
30
+ }, Se = /[([][^()[\]]*[)\]]/g, Ce = /(\d+(?:\.\d+)?)\s*s\b/, we = (e) => {
31
31
  let t = e.trimEnd();
32
32
  return t.endsWith(":") ? t.slice(0, -1) : t;
33
- }, Ce = (e) => {
34
- be.lastIndex = 0;
33
+ }, Te = (e) => {
34
+ Se.lastIndex = 0;
35
35
  let t;
36
- for (; t = be.exec(e);) {
37
- let e = t[0].slice(1, -1), n = xe.exec(e);
36
+ for (; t = Se.exec(e);) {
37
+ let e = t[0].slice(1, -1), n = Ce.exec(e);
38
38
  if (n) return {
39
39
  durationLabel: `${n[1]}s`,
40
40
  groupIndex: t.index,
41
41
  groupLength: t[0].length
42
42
  };
43
43
  }
44
- }, we = (e) => {
45
- let t = e ?? "", n = Ce(t);
44
+ }, Ee = (e) => {
45
+ let t = e ?? "", n = Te(t);
46
46
  return {
47
- name: Se(n ? t.slice(0, n.groupIndex) + t.slice(n.groupIndex + n.groupLength) : t).trim().replace(/ {2,}/g, " "),
47
+ name: we(n ? t.slice(0, n.groupIndex) + t.slice(n.groupIndex + n.groupLength) : t).trim().replace(/ {2,}/g, " "),
48
48
  durationLabel: n?.durationLabel
49
49
  };
50
- }, Te = (e) => e.length > 0 && !/\s/.test(e) && e.includes("_"), Ee = (e) => [...e].reverse().find((e) => e.status == null), De = (e, t) => {
50
+ }, De = (e) => e.length > 0 && !/\s/.test(e) && e.includes("_"), Oe = (e) => [...e].reverse().find((e) => e.status == null), ke = (e, t) => {
51
51
  let n = e.parent_stage_index;
52
52
  if (!(n == null || !Number.isInteger(n) || n < 0 || n >= e.index)) return t.get(n);
53
- }, Oe = (e) => {
53
+ }, Ae = (e) => {
54
54
  let t = e.map((e) => ({
55
55
  stage: e,
56
56
  children: []
@@ -58,15 +58,15 @@ var ve = {
58
58
  for (let e of t) n.has(e.stage.index) || n.set(e.stage.index, e);
59
59
  let r = [];
60
60
  for (let e of t) {
61
- let t = De(e.stage, n);
61
+ let t = ke(e.stage, n);
62
62
  t ? t.children.push(e) : r.push(e);
63
63
  }
64
64
  return r;
65
- }, ke = (e) => `stage:${e}`, Ae = (e) => `group:${e}`, je = "min-w-0 overflow-visible py-0", Me = "min-w-0 justify-start gap-2 rounded-lg px-2 py-1.5 text-start mobile:min-h-11", Ne = (e) => {
65
+ }, je = (e) => `stage:${e}`, Me = (e) => `group:${e}`, Ne = "min-w-0 overflow-visible py-0", Pe = "min-w-0 justify-start gap-2 rounded-lg px-2 py-1.5 text-start mobile:min-h-11", Fe = (e) => {
66
66
  let t = [], n = 0;
67
67
  for (; n < e.length;) {
68
- let r = e[n], i = we(r.stage.name).name, a = n + 1;
69
- for (; a < e.length && we(e[a].stage.name).name === i;) a += 1;
68
+ let r = e[n], i = Ee(r.stage.name).name, a = n + 1;
69
+ for (; a < e.length && Ee(e[a].stage.name).name === i;) a += 1;
70
70
  let o = e.slice(n, a);
71
71
  o.length > 1 ? t.push({
72
72
  key: r.stage.index,
@@ -79,26 +79,25 @@ var ve = {
79
79
  }
80
80
  return t;
81
81
  }, X = {
82
- panel: "_panel_w65is_2",
83
- row: "_row_w65is_6",
84
- collapseButton: "_collapseButton_w65is_10",
85
- stageHeader: "_stageHeader_w65is_19",
86
- stageRegion: "_stageRegion_w65is_28",
87
- stageName: "_stageName_w65is_32",
88
- stageNameFailed: "_stageNameFailed_w65is_36",
89
- monoName: "_monoName_w65is_40",
90
- tag: "_tag_w65is_44",
91
- count: "_count_w65is_48",
92
- duration: "_duration_w65is_53",
93
- iconSecondary: "_iconSecondary_w65is_58",
94
- iconCompleted: "_iconCompleted_w65is_63",
95
- iconError: "_iconError_w65is_67",
96
- stageContent: "_stageContent_w65is_71",
97
- codeBlock: "_codeBlock_w65is_75",
98
- codeInline: "_codeInline_w65is_84",
99
- blockquote: "_blockquote_w65is_91",
100
- tableCell: "_tableCell_w65is_96"
101
- }, Pe = ({ status: e, isLive: t, runningLabel: n = "Running", failedLabel: r = "Failed" }) => e === o.Failed ? /* @__PURE__ */ Y(_e, { children: [/* @__PURE__ */ J(C, {
82
+ panel: "_panel_msss2_1",
83
+ row: "_row_msss2_5",
84
+ collapseButton: "_collapseButton_msss2_9",
85
+ stageHeader: "_stageHeader_msss2_18",
86
+ stageRegion: "_stageRegion_msss2_27",
87
+ stageName: "_stageName_msss2_31",
88
+ stageNameFailed: "_stageNameFailed_msss2_35",
89
+ tag: "_tag_msss2_39",
90
+ count: "_count_msss2_43",
91
+ duration: "_duration_msss2_48",
92
+ iconSecondary: "_iconSecondary_msss2_53",
93
+ iconCompleted: "_iconCompleted_msss2_58",
94
+ iconError: "_iconError_msss2_62",
95
+ stageContent: "_stageContent_msss2_66",
96
+ codeBlock: "_codeBlock_msss2_70",
97
+ codeInline: "_codeInline_msss2_76",
98
+ blockquote: "_blockquote_msss2_82",
99
+ tableCell: "_tableCell_msss2_87"
100
+ }, Ie = ({ status: e, isLive: t, runningLabel: n = "Running", failedLabel: r = "Failed" }) => e === o.Failed ? /* @__PURE__ */ Y(ye, { children: [/* @__PURE__ */ J(T, {
102
101
  size: f.MD,
103
102
  className: X.iconError,
104
103
  "aria-hidden": !0,
@@ -106,36 +105,36 @@ var ve = {
106
105
  }), /* @__PURE__ */ J("span", {
107
106
  className: "sr-only",
108
107
  children: r
109
- })] }) : e === o.Completed ? /* @__PURE__ */ J(w, {
108
+ })] }) : e === o.Completed ? /* @__PURE__ */ J(E, {
110
109
  size: f.SM,
111
110
  className: X.iconCompleted,
112
111
  "aria-hidden": !0,
113
112
  stroke: p
114
- }) : t ? /* @__PURE__ */ J(x, {
113
+ }) : t ? /* @__PURE__ */ J(C, {
115
114
  size: 16,
116
115
  ariaLabel: n
117
- }) : null, Fe = (e) => {
116
+ }) : null, Le = (e) => {
118
117
  if (e == null) return "";
119
118
  let t = e.lastIndexOf(".");
120
119
  return t > 0 ? e.slice(0, t) : e;
121
- }, Ie = (e) => {
122
- if (!e) return O;
120
+ }, Re = (e) => {
121
+ if (!e) return A;
123
122
  let t = u(e);
124
123
  if (t.startsWith("image/")) switch (t) {
125
- case "image/jpeg": return F;
126
- case "image/png": return B;
124
+ case "image/jpeg": return L;
125
+ case "image/png": return H;
127
126
  case "image/svg+xml": return ne;
128
- case "image/bmp": return k;
129
- default: return U;
127
+ case "image/bmp": return j;
128
+ default: return G;
130
129
  }
131
130
  if (t.startsWith("video/")) return fe;
132
131
  if (t.startsWith("audio/")) return le;
133
132
  switch (t) {
134
- case "application/pdf": return R;
135
- case "application/msword": return M;
136
- case "application/vnd.openxmlformats-officedocument.wordprocessingml.document": return N;
137
- case "application/vnd.ms-powerpoint": return V;
138
- case "application/vnd.openxmlformats-officedocument.presentationml.presentation": return V;
133
+ case "application/pdf": return B;
134
+ case "application/msword": return P;
135
+ case "application/vnd.openxmlformats-officedocument.wordprocessingml.document": return F;
136
+ case "application/vnd.ms-powerpoint": return U;
137
+ case "application/vnd.openxmlformats-officedocument.presentationml.presentation": return U;
139
138
  case "application/vnd.ms-excel": return oe;
140
139
  case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": return oe;
141
140
  case "application/zip":
@@ -143,57 +142,57 @@ var ve = {
143
142
  case "application/x-7z-compressed":
144
143
  case "application/gzip":
145
144
  case "application/x-tar": return ce;
146
- case "text/csv": return j;
145
+ case "text/csv": return N;
147
146
  case "text/plain": return ae;
148
147
  case "text/html":
149
- case "application/xhtml+xml": return P;
148
+ case "application/xhtml+xml": return I;
150
149
  case "application/xml": return se;
151
150
  case "application/sql": return te;
152
- case "text/javascript": return I;
153
- case "text/jsx": return L;
151
+ case "text/javascript": return R;
152
+ case "text/jsx": return z;
154
153
  case "text/typescript": return re;
155
154
  case "text/tsx": return ie;
156
- case "text/css": return A;
157
- case "text/x-php": return z;
155
+ case "text/css": return M;
156
+ case "text/x-php": return V;
158
157
  case "text/x-rustsrc": return ee;
159
- case "text/x-vue": return H;
160
- default: return O;
158
+ case "text/x-vue": return W;
159
+ default: return A;
161
160
  }
162
- }, Le = (e) => {
161
+ }, ze = (e) => {
163
162
  let { type: n, contentType: r } = e;
164
- return n === t.Prompt ? de : n === t.Pasted ? T : n === t.Image ? U : Ie(r ?? "");
165
- }, Re = (e) => {
163
+ return n === t.Prompt ? de : n === t.Pasted ? D : n === t.Image ? G : Re(r ?? "");
164
+ }, Be = (e) => {
166
165
  let t = u(e), r = n[t];
167
166
  if (r) return r;
168
167
  let i = t.split("/")[1];
169
168
  if (i && !i.startsWith("vnd.") && !i.includes("+")) return i;
170
- }, ze = (e) => {
169
+ }, Ve = (e) => {
171
170
  let { name: t, contentType: n } = e;
172
171
  if (n) {
173
- let e = Re(n);
172
+ let e = Be(n);
174
173
  if (e) return e;
175
174
  }
176
175
  if (t == null) return;
177
176
  let r = t.lastIndexOf(".");
178
177
  if (r > 0 && r < t.length - 1) return t.slice(r + 1).toLowerCase();
179
- }, Be = (e) => e.type !== t.Prompt && e.type !== t.Pasted, Ve = (e, n) => {
178
+ }, He = (e) => e.type !== t.Prompt && e.type !== t.Pasted, Ue = (e, n) => {
180
179
  let { type: r, name: i } = e;
181
180
  if (r === t.Prompt) return n.promptLabel ?? "Prompt";
182
181
  if (r === t.Pasted) return n.pastedLabel ?? "Pasted";
183
182
  if (r === t.Image) return n.imageLabel ?? "Image";
184
- let a = ze(e);
183
+ let a = Ve(e);
185
184
  return a ? `.${a}` : i ?? "";
186
- }, He = (e, n = {}) => {
185
+ }, We = (e, n = {}) => {
187
186
  let { type: r, status: i, previewUrl: o, url: s } = e, c = i === a.Loading, l = i === a.Error, u = r === t.Image && !!(o ?? s) && !l, d = r === t.Link && !l;
188
187
  return {
189
188
  isLoading: c,
190
189
  isError: l,
191
190
  isImage: u,
192
191
  isLink: d,
193
- BottomIcon: d ? null : Le(e),
194
- typeLabel: d ? null : Ve(e, n)
192
+ BottomIcon: d ? null : ze(e),
193
+ typeLabel: d ? null : Ue(e, n)
195
194
  };
196
- }, Ue = "flex size-[100px] items-center justify-center rounded-xl border", We = "outline-offset-1 focus-visible:outline-1", Z = {
195
+ }, Ge = "flex size-[100px] items-center justify-center rounded-xl border", Ke = "outline-offset-1 focus-visible:outline-1", Z = {
197
196
  tray: "dial-ai-attachment-tray",
198
197
  trayItem: "dial-ai-attachment-tray-item",
199
198
  tile: "dial-ai-attachment-tile",
@@ -215,7 +214,7 @@ var ve = {
215
214
  loading: "_loading_23kve_86",
216
215
  imageActionButton: "_imageActionButton_23kve_87",
217
216
  proxyFocus: "_proxyFocus_23kve_96"
218
- }, Ge = ({ ariaLabel: e, errorTitle: t, errorDescId: n, onClick: r, id: i, icon: a, className: o, isAlwaysVisible: s }) => /* @__PURE__ */ J(S, {
217
+ }, qe = ({ ariaLabel: e, errorTitle: t, errorDescId: n, onClick: r, id: i, icon: a, className: o, isAlwaysVisible: s }) => /* @__PURE__ */ J(w, {
219
218
  icon: a,
220
219
  size: h.Small,
221
220
  className: c(s ? "opacity-100" : "opacity-0 group-hover/attachment-tile:opacity-100 group-focus-visible/attachment-tile:opacity-100 group-has-[:focus-visible]/attachment-tile:opacity-100", Q.actionButton, o, Z.tileAction),
@@ -224,7 +223,7 @@ var ve = {
224
223
  onClick: (e) => {
225
224
  e.stopPropagation(), r(i);
226
225
  }
227
- }), Ke = ({ ...e }) => /* @__PURE__ */ J(Ge, {
226
+ }), Je = ({ ...e }) => /* @__PURE__ */ J(qe, {
228
227
  icon: /* @__PURE__ */ J(ue, {
229
228
  size: f.SM,
230
229
  "aria-hidden": !0,
@@ -232,21 +231,21 @@ var ve = {
232
231
  }),
233
232
  className: Q.retryIcon,
234
233
  ...e
235
- }), qe = ({ ...e }) => /* @__PURE__ */ J(Ge, {
236
- icon: /* @__PURE__ */ J(E, {
234
+ }), Ye = ({ ...e }) => /* @__PURE__ */ J(qe, {
235
+ icon: /* @__PURE__ */ J(O, {
237
236
  size: f.SM,
238
237
  "aria-hidden": !0,
239
238
  stroke: p
240
239
  }),
241
240
  ...e
242
- }), Je = ({ ...e }) => /* @__PURE__ */ J(Ge, {
243
- icon: /* @__PURE__ */ J(D, {
241
+ }), Xe = ({ ...e }) => /* @__PURE__ */ J(qe, {
242
+ icon: /* @__PURE__ */ J(k, {
244
243
  size: f.SM,
245
244
  "aria-hidden": !0,
246
245
  stroke: p
247
246
  }),
248
247
  ...e
249
- }), Ye = ({ className: e, ...t }) => /* @__PURE__ */ J(Ge, {
248
+ }), Ze = ({ className: e, ...t }) => /* @__PURE__ */ J(qe, {
250
249
  icon: /* @__PURE__ */ J(pe, {
251
250
  size: f.SM,
252
251
  "aria-hidden": !0,
@@ -254,31 +253,31 @@ var ve = {
254
253
  }),
255
254
  className: c("mobile:opacity-100", e),
256
255
  ...t
257
- }), Xe = {
256
+ }), Qe = {
258
257
  [e.Network]: "Upload failed · network error",
259
258
  [e.UnsupportedType]: "Upload failed · unsupported file type",
260
259
  [e.FileTooLarge]: "Upload failed · file too large"
261
- }, Ze = ({ attachment: t, searchQuery: n = "", onClick: r, onRetry: i, labels: o, styles: s, onDownload: l, isLink: u, cssVars: d, onExpand: h, isExpandable: g, onRemove: y, isSelected: b }) => {
262
- let { clickLabel: S = "Download attachment", expandLabel: C = "Expand pasted text", downloadLabel: w = "Download attachment", retryLabel: T = "Retry upload", removeLabel: E = "Remove attachment", openInNewTabLabel: D = "Open in new tab", sizeLabel: O, uploadingLabel: k = "Uploading", errorReasonLabels: A, genericErrorLabel: j = "Upload failed" } = o ?? {}, { typography: M, className: N } = s ?? {}, { id: P, name: F, status: I, errorReason: L } = t, R = I === a.Loading, z = I === a.Error, B = he(), V = z ? L && (A?.[L] ?? Xe[L]) || j : "", { BottomIcon: ee, typeLabel: te } = He(t), ne = Be(t), re = !z && !R && l && !u, ie = z && !!i && L !== e.UnsupportedType && L !== e.FileTooLarge, ae = !!g && h !== void 0, H = ae || r !== void 0, oe = Number(!!re) + Number(!!ie) + Number(!!u) + Number(!!y), se = !H && oe === 1, ce = () => {
263
- ae ? h(P) : r?.(P);
260
+ }, $e = ({ attachment: t, searchQuery: n = "", onClick: r, onRetry: i, labels: o, styles: s, onDownload: l, isLink: u, cssVars: d, onExpand: h, isExpandable: g, onRemove: x, isSelected: S }) => {
261
+ let { clickLabel: w = "Download attachment", expandLabel: T = "Expand pasted text", downloadLabel: E = "Download attachment", retryLabel: D = "Retry upload", removeLabel: O = "Remove attachment", openInNewTabLabel: k = "Open in new tab", sizeLabel: A, uploadingLabel: j = "Uploading", errorReasonLabels: M, genericErrorLabel: N = "Upload failed" } = o ?? {}, { typography: P, className: F } = s ?? {}, { id: I, name: L, status: R, errorReason: z } = t, B = R === a.Loading, V = R === a.Error, H = ge(), U = V ? z && (M?.[z] ?? Qe[z]) || N : "", { BottomIcon: ee, typeLabel: te } = We(t), ne = He(t), re = !V && !B && l && !u, ie = V && !!i && z !== e.UnsupportedType && z !== e.FileTooLarge, ae = !!g && h !== void 0, W = ae || r !== void 0, oe = Number(!!re) + Number(!!ie) + Number(!!u) + Number(!!x), se = !W && oe === 1, ce = () => {
262
+ ae ? h(I) : r?.(I);
264
263
  }, le = (e) => {
265
264
  e.target === e.currentTarget && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), ce());
266
- }, U = K(() => Fe(F), [F]), ue = W(() => {
265
+ }, G = q(() => Le(L), [L]), ue = K(() => {
267
266
  window.open(t.referenceUrl, "_blank", "noopener,noreferrer");
268
- }, [t]), de = c(Ue, "group/attachment-tile relative flex-col justify-between items-start gap-2 overflow-hidden p-3", Q.tile, H && !z && !R && Q.hovered, R && Q.loading, b && Q.selected, z && Q.tileError, se && Q.proxyFocus, Z.tile, b && Z.tileSelected), fe = /* @__PURE__ */ J("div", {
269
- title: U,
270
- className: c(M?.nameClassName ?? "dial-tiny-text", "line-clamp-2 w-full min-w-0 break-words", Q.nameText, Z.tileName),
267
+ }, [t]), de = c(Ge, "group/attachment-tile relative flex-col justify-between items-start gap-2 overflow-hidden p-3", Q.tile, W && !V && !B && Q.hovered, B && Q.loading, S && Q.selected, V && Q.tileError, se && Q.proxyFocus, Z.tile, S && Z.tileSelected), fe = /* @__PURE__ */ J("div", {
268
+ title: G,
269
+ className: c(P?.nameClassName ?? "dial-tiny-text", "line-clamp-2 w-full min-w-0 break-words", Q.nameText, Z.tileName),
271
270
  children: n ? /* @__PURE__ */ J(v, {
272
- text: U,
271
+ text: G,
273
272
  query: n,
274
273
  maxLines: 2
275
- }) : U
274
+ }) : G
276
275
  }), pe = ee && /* @__PURE__ */ Y("div", {
277
276
  className: c("flex w-full items-end gap-1", Z.tileType),
278
277
  children: [ne ? /* @__PURE__ */ J(_, {
279
278
  type: m.File,
280
- name: F ?? "",
281
- fileExtension: ze(t),
279
+ name: L ?? "",
280
+ fileExtension: Ve(t),
282
281
  size: f.MD,
283
282
  decorative: !0
284
283
  }) : /* @__PURE__ */ J(ee, {
@@ -287,83 +286,82 @@ var ve = {
287
286
  stroke: p,
288
287
  "aria-hidden": !0
289
288
  }), /* @__PURE__ */ J("span", {
290
- className: c(M?.metaClassName ?? "dial-tiny-text", "min-w-0 flex-1 truncate", Q.typeText),
291
- children: O ? `${te} · ${O}` : te
289
+ className: c(P?.metaClassName ?? "dial-tiny-text", "min-w-0 flex-1 truncate", Q.typeText),
290
+ children: A ? `${te} · ${A}` : te
292
291
  })]
293
- }), me = H ? {
292
+ }), me = W ? {
294
293
  role: "button",
295
294
  tabIndex: 0,
296
- "aria-label": ae ? C : S,
295
+ "aria-label": ae ? T : w,
297
296
  onClick: ce,
298
297
  onKeyDown: le
299
- } : {}, G = /* @__PURE__ */ Y(_e, { children: [
298
+ } : {}, he = /* @__PURE__ */ Y(ye, { children: [
300
299
  fe,
301
300
  pe,
302
- R && /* @__PURE__ */ J("div", {
301
+ B && /* @__PURE__ */ J("div", {
303
302
  role: "progressbar",
304
- "aria-label": k,
303
+ "aria-label": j,
305
304
  className: c("absolute inset-0 flex items-center justify-center rounded-[11px]", Q.track),
306
- children: /* @__PURE__ */ J(x, { size: 32 })
305
+ children: /* @__PURE__ */ J(C, { size: 32 })
307
306
  }),
308
307
  /* @__PURE__ */ Y("div", {
309
308
  className: "absolute inset-e-1 top-1 flex",
310
309
  children: [
311
- re && /* @__PURE__ */ J(qe, {
312
- ariaLabel: w,
313
- errorTitle: V,
314
- errorDescId: B,
310
+ re && /* @__PURE__ */ J(Ye, {
311
+ ariaLabel: E,
312
+ errorTitle: U,
313
+ errorDescId: H,
315
314
  onClick: l,
316
- id: P
315
+ id: I
317
316
  }),
318
- ie && /* @__PURE__ */ J(Ke, {
319
- ariaLabel: T,
320
- errorTitle: V,
321
- errorDescId: B,
317
+ ie && /* @__PURE__ */ J(Je, {
318
+ ariaLabel: D,
319
+ errorTitle: U,
320
+ errorDescId: H,
322
321
  onClick: i,
323
- id: P
322
+ id: I
324
323
  }),
325
- u && /* @__PURE__ */ J(Je, {
326
- ariaLabel: D,
327
- errorTitle: V,
328
- errorDescId: B,
324
+ u && /* @__PURE__ */ J(Xe, {
325
+ ariaLabel: k,
326
+ errorTitle: U,
327
+ errorDescId: H,
329
328
  onClick: ue
330
329
  }),
331
- y && /* @__PURE__ */ J(Ye, {
332
- ariaLabel: E,
333
- errorTitle: V,
334
- errorDescId: B,
335
- onClick: y,
336
- id: P,
337
- isAlwaysVisible: R
330
+ x && /* @__PURE__ */ J(Ze, {
331
+ ariaLabel: O,
332
+ errorTitle: U,
333
+ errorDescId: H,
334
+ onClick: x,
335
+ id: I,
336
+ isAlwaysVisible: B
338
337
  })
339
338
  ]
340
339
  }),
341
- z && /* @__PURE__ */ J("span", {
342
- id: B,
343
- role: "status",
344
- "aria-live": "polite",
345
- className: "sr-only",
346
- children: V
340
+ /* @__PURE__ */ J(y, {
341
+ id: H,
342
+ visuallyHidden: !0,
343
+ as: b.Span,
344
+ children: V ? U : ""
347
345
  })
348
346
  ] });
349
347
  return /* @__PURE__ */ J("div", {
350
348
  style: d,
351
- className: c("inline-flex", N),
349
+ className: c("inline-flex", F),
352
350
  children: /* @__PURE__ */ J("div", {
353
351
  ...me,
354
- "aria-busy": R,
352
+ "aria-busy": B,
355
353
  style: d,
356
- className: c(de, H && "cursor-pointer", We),
357
- children: G
354
+ className: c(de, W && "cursor-pointer", Ke),
355
+ children: he
358
356
  })
359
357
  });
360
- }, Qe = /* @__PURE__ */ function(e) {
358
+ }, et = /* @__PURE__ */ function(e) {
361
359
  return e.Idle = "idle", e.Loading = "loading", e.Loaded = "loaded", e.Error = "error", e;
362
- }({}), $e = ({ enabled: e, src: t }) => {
363
- let n = ge(null), [r, i] = q("idle");
364
- return G(() => {
360
+ }({}), tt = ({ enabled: e, src: t }) => {
361
+ let n = _e(null), [r, i] = ve("idle");
362
+ return he(() => {
365
363
  i(e && t ? "loading" : "idle");
366
- }, [e, t]), G(() => {
364
+ }, [e, t]), he(() => {
367
365
  let r = n.current;
368
366
  if (!r || !e || !t) return;
369
367
  let a = () => i("loaded"), o = () => i("error");
@@ -374,12 +372,12 @@ var ve = {
374
372
  imageRef: n,
375
373
  imageLoadStatus: r
376
374
  };
377
- }, et = ({ attachment: e, onExpand: n, onClick: r, labels: i, onRemove: a, cssVars: o, onDownload: s, styles: l, isSelected: u }) => {
378
- let { clickLabel: d = "Open attachment", expandLabel: m = "Expand pasted text", removeLabel: h = "Remove attachment", downloadLabel: g = "Download attachment", uploadingLabel: _ = "Uploading" } = i ?? {}, { className: v } = l ?? {}, { id: S, name: C } = e, w = e.previewUrl ?? e.url, T = e.type === t.Pasted && n !== void 0, { isLoading: E, isError: D, isImage: O } = K(() => He(e), [e]), k = r !== void 0 && !T && !E && !D, A = T || k, j = !!s && !E, M = !A && Number(!!a) + Number(j) === 1, { imageRef: N, imageLoadStatus: P } = $e({
375
+ }, nt = ({ attachment: e, onExpand: n, onClick: r, labels: i, onRemove: a, cssVars: o, onDownload: s, styles: l, isSelected: u }) => {
376
+ let { clickLabel: d = "Open attachment", expandLabel: m = "Expand pasted text", removeLabel: h = "Remove attachment", downloadLabel: g = "Download attachment", uploadingLabel: _ = "Uploading" } = i ?? {}, { className: v } = l ?? {}, { id: y, name: b } = e, w = e.previewUrl ?? e.url, T = e.type === t.Pasted && n !== void 0, { isLoading: E, isError: D, isImage: O } = q(() => We(e), [e]), k = r !== void 0 && !T && !E && !D, A = T || k, j = !!s && !E, M = !A && Number(!!a) + Number(j) === 1, { imageRef: N, imageLoadStatus: P } = tt({
379
377
  enabled: O,
380
378
  src: w
381
379
  }), F = () => {
382
- T && n ? n(S) : k && r && r(S);
380
+ T && n ? n(y) : k && r && r(y);
383
381
  }, I = A ? {
384
382
  role: "button",
385
383
  tabIndex: 0,
@@ -388,7 +386,7 @@ var ve = {
388
386
  onKeyDown: (e) => {
389
387
  e.target === e.currentTarget && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), F());
390
388
  }
391
- } : {}, L = c(Ue, "group/attachment-tile", A && "cursor-pointer", Q.tile, u && Q.selected, E && Q.loading, M && Q.proxyFocus, We, v, Z.tile, u && Z.tileSelected);
389
+ } : {}, L = c(Ge, "group/attachment-tile", A && "cursor-pointer", Q.tile, u && Q.selected, E && Q.loading, M && Q.proxyFocus, Ke, v, Z.tile, u && Z.tileSelected);
392
390
  return /* @__PURE__ */ J("div", {
393
391
  className: L,
394
392
  ...I,
@@ -399,25 +397,25 @@ var ve = {
399
397
  children: [
400
398
  /* @__PURE__ */ Y("div", {
401
399
  className: "absolute inset-e-1 top-1 z-10 flex",
402
- children: [a && /* @__PURE__ */ J(Ye, {
400
+ children: [a && /* @__PURE__ */ J(Ze, {
403
401
  ariaLabel: h,
404
402
  onClick: a,
405
- id: S,
403
+ id: y,
406
404
  className: Q.imageActionButton,
407
405
  isAlwaysVisible: E
408
- }), j && /* @__PURE__ */ J(qe, {
406
+ }), j && /* @__PURE__ */ J(Ye, {
409
407
  ariaLabel: g,
410
408
  onClick: s,
411
- id: S,
409
+ id: y,
412
410
  className: Q.imageActionButton
413
411
  })]
414
412
  }),
415
- P !== Qe.Loaded && /* @__PURE__ */ J(y, {
416
- variant: b.Rectangular,
413
+ P !== et.Loaded && /* @__PURE__ */ J(x, {
414
+ variant: S.Rectangular,
417
415
  width: "100%",
418
416
  height: "100%",
419
- active: P === Qe.Loading,
420
- overlay: /* @__PURE__ */ J(U, {
417
+ active: P === et.Loading,
418
+ overlay: /* @__PURE__ */ J(G, {
421
419
  size: f.LG,
422
420
  className: Q.placeholderIcon,
423
421
  "aria-hidden": !0,
@@ -428,21 +426,21 @@ var ve = {
428
426
  /* @__PURE__ */ J("img", {
429
427
  ref: N,
430
428
  src: w,
431
- alt: C,
429
+ alt: b,
432
430
  loading: "lazy",
433
431
  decoding: "async",
434
- className: c("h-full w-full rounded-xl object-cover transition-opacity duration-200", P === Qe.Loaded ? "opacity-100" : "opacity-0")
432
+ className: c("h-full w-full rounded-xl object-cover transition-opacity duration-200", P === et.Loaded ? "opacity-100" : "opacity-0")
435
433
  }),
436
434
  E && /* @__PURE__ */ J("div", {
437
435
  role: "progressbar",
438
436
  "aria-label": _,
439
437
  className: c("absolute inset-0 flex items-center justify-center rounded-xl", Q.track),
440
- children: /* @__PURE__ */ J(x, { size: 32 })
438
+ children: /* @__PURE__ */ J(C, { size: 32 })
441
439
  })
442
440
  ]
443
441
  })
444
442
  });
445
- }, tt = ({ attachment: e, searchQuery: n = "", onRemove: r, onRetry: i, onExpand: a, onClick: o, onDownload: c, labels: l, styles: u, isSelected: d }) => {
443
+ }, rt = ({ attachment: e, searchQuery: n = "", onRemove: r, onRetry: i, onExpand: a, onClick: o, onDownload: c, labels: l, styles: u, isSelected: d }) => {
446
444
  let { colors: f } = u ?? {}, p = e.type === t.Pasted && a !== void 0, m = s({
447
445
  "--ai-tile-bg": f?.background,
448
446
  "--ai-tile-border": f?.border,
@@ -460,8 +458,8 @@ var ve = {
460
458
  "--ai-tile-hover-icon-bg": f?.hoverIconBackground,
461
459
  "--ai-tile-hover-icon-color": f?.hoverIconColor,
462
460
  "--ai-tile-progress-track": f?.trackBackground
463
- }), { isImage: h, isLink: g } = K(() => He(e), [e]);
464
- return h ? /* @__PURE__ */ J(et, {
461
+ }), { isImage: h, isLink: g } = q(() => We(e), [e]);
462
+ return h ? /* @__PURE__ */ J(nt, {
465
463
  attachment: e,
466
464
  labels: l,
467
465
  onClick: o,
@@ -471,7 +469,7 @@ var ve = {
471
469
  cssVars: m,
472
470
  onDownload: c,
473
471
  isSelected: d
474
- }) : /* @__PURE__ */ J(Ze, {
472
+ }) : /* @__PURE__ */ J($e, {
475
473
  attachment: e,
476
474
  searchQuery: n,
477
475
  onClick: o,
@@ -486,7 +484,7 @@ var ve = {
486
484
  isExpandable: p,
487
485
  isSelected: d
488
486
  });
489
- }, nt = (e, t) => {
487
+ }, it = (e, t) => {
490
488
  let n = l(e, t);
491
489
  if (!e?.length) return n;
492
490
  let r = /* @__PURE__ */ new Map();
@@ -501,7 +499,7 @@ var ve = {
501
499
  contentType: t
502
500
  } : e;
503
501
  });
504
- }, rt = ({ children: e, codeClassName: t, blockClassName: n = "dial-code-text", copyAriaLabel: i, copiedLabel: a }) => {
502
+ }, at = ({ children: e, codeClassName: t, blockClassName: n = "dial-code-text", copyAriaLabel: i, copiedLabel: a }) => {
505
503
  let o = t?.replace(/^language-/, "") ?? "";
506
504
  return /* @__PURE__ */ J(r, {
507
505
  language: o,
@@ -512,16 +510,16 @@ var ve = {
512
510
  copiedLabel: a,
513
511
  hideDownload: !0
514
512
  });
515
- }, it = me(({ content: e, typography: t, copyAriaLabel: n = "Copy", copiedLabel: r, tableScrollRegionAriaLabel: a, mathScrollRegionAriaLabel: o, renderCitation: s }) => {
516
- let l = "mb-1.5 last:mb-0", u = c(t?.headingClassName ?? "dial-small-semi-text", X.stageContent, l), d = K(() => ({
517
- code: ({ children: e, className: i }) => i?.includes("language-") ? /* @__PURE__ */ J(rt, {
513
+ }, ot = me(({ content: e, typography: t, copyAriaLabel: n = "Copy", copiedLabel: r, tableScrollRegionAriaLabel: a, mathScrollRegionAriaLabel: o, renderCitation: s }) => {
514
+ let l = "mb-1.5 last:mb-0", u = c(t?.headingClassName ?? "dial-small-semi-text", X.stageContent, l), d = q(() => ({
515
+ code: ({ children: e, className: i }) => i?.includes("language-") ? /* @__PURE__ */ J(at, {
518
516
  codeClassName: i,
519
517
  blockClassName: t?.codeBlockClassName,
520
518
  copyAriaLabel: n,
521
519
  copiedLabel: r,
522
520
  children: e
523
521
  }) : /* @__PURE__ */ J("code", {
524
- className: c("px-1 py-0.5", t?.codeClassName ?? "dial-tiny-text rounded-md", X.codeInline),
522
+ className: c("px-1 py-0.5", t?.codeClassName ?? "dial-tiny-code-text rounded-md", X.codeInline),
525
523
  children: e
526
524
  }),
527
525
  ...s != null && { cit: (e) => s(e["data-id"], e.children) }
@@ -554,8 +552,8 @@ var ve = {
554
552
  },
555
553
  components: d
556
554
  });
557
- }), at = ({ attachments: e, clickLabel: t, onAttachmentClick: n }) => {
558
- let r = W((t) => {
555
+ }), st = ({ attachments: e, clickLabel: t, onAttachmentClick: n }) => {
556
+ let r = K((t) => {
559
557
  let r = e.find((e) => e.id === t);
560
558
  r && n?.(r);
561
559
  }, [e, n]);
@@ -564,20 +562,20 @@ var ve = {
564
562
  className: "flex flex-wrap gap-2",
565
563
  children: e.map((e) => /* @__PURE__ */ J("div", {
566
564
  role: "listitem",
567
- children: /* @__PURE__ */ J(tt, {
565
+ children: /* @__PURE__ */ J(rt, {
568
566
  attachment: e,
569
567
  onClick: n && r,
570
568
  labels: { clickLabel: t }
571
569
  })
572
570
  }, e.id))
573
571
  });
574
- }, ot = ({ stage: e, isLive: t, typography: n, labels: r, nameOverride: i, onAttachmentClick: a, attachmentDisplayResolvers: s, renderCitation: l, childList: u, isExpanded: f, onToggle: p }) => {
575
- let [m, h] = q(!1), _ = f ?? m, v = W((e) => {
572
+ }, ct = ({ stage: e, isLive: t, typography: n, labels: r, nameOverride: i, onAttachmentClick: a, attachmentDisplayResolvers: s, renderCitation: l, childList: u, isExpanded: f, onToggle: p }) => {
573
+ let [m, h] = ve(!1), _ = f ?? m, v = K((e) => {
576
574
  f === void 0 && h(e), p?.(e);
577
- }, [f, p]), { copyAriaLabel: y = "Copy stage content", codeBlockCopiedLabel: b, tableScrollRegionAriaLabel: x, mathScrollRegionAriaLabel: S, runningAriaLabel: C, failedAriaLabel: w, attachmentClickLabel: T = "Preview search result" } = r ?? {}, E = K(() => nt(e.attachments, s), [e.attachments, s]), { name: D, durationLabel: O } = we(e.name), k = i ?? D, A = !i && Te(D), j = e.status === o.Failed, M = !!e.content || !!e.attachments?.length, N = M || u != null, P = /* @__PURE__ */ Y(_e, { children: [
575
+ }, [f, p]), { copyAriaLabel: y = "Copy stage content", codeBlockCopiedLabel: b, tableScrollRegionAriaLabel: x, mathScrollRegionAriaLabel: S, runningAriaLabel: C, failedAriaLabel: w, attachmentClickLabel: T = "Preview search result" } = r ?? {}, E = q(() => it(e.attachments, s), [e.attachments, s]), { name: D, durationLabel: O } = Ee(e.name), k = i ?? D, A = !i && De(D), j = e.status === o.Failed, M = !!e.content || !!e.attachments?.length, N = M || u != null, P = /* @__PURE__ */ Y(ye, { children: [
578
576
  /* @__PURE__ */ J("span", {
579
577
  className: "flex flex-none items-center",
580
- children: /* @__PURE__ */ J(Pe, {
578
+ children: /* @__PURE__ */ J(Ie, {
581
579
  status: e.status,
582
580
  isLive: t,
583
581
  runningLabel: C,
@@ -585,7 +583,7 @@ var ve = {
585
583
  })
586
584
  }),
587
585
  /* @__PURE__ */ J("span", {
588
- className: c("max-w-[22rem] min-w-0 truncate", n?.fontClassName ?? "dial-small-text", X.stageName, j && X.stageNameFailed, A && X.monoName),
586
+ className: c("max-w-[22rem] min-w-0 truncate", A ? n?.monoFontClassName ?? "dial-code-text" : n?.fontClassName ?? "dial-small-text", X.stageName, j && X.stageNameFailed),
589
587
  children: /* @__PURE__ */ J(g, { text: k || e.status || "" })
590
588
  }),
591
589
  e.tag && /* @__PURE__ */ J("span", {
@@ -604,14 +602,14 @@ var ve = {
604
602
  className: "flex min-w-0 items-center gap-2",
605
603
  children: P
606
604
  }),
607
- className: je,
608
- headerClassName: c(Me, X.row, X.stageHeader),
605
+ className: Ne,
606
+ headerClassName: c(Pe, X.row, X.stageHeader),
609
607
  contentClassName: c("-mt-1 flex min-w-0 flex-col gap-3 px-0 py-1", X.stageRegion),
610
608
  children: [_ && M && /* @__PURE__ */ Y("div", {
611
609
  className: "flex min-w-0 flex-col gap-3 ps-8",
612
610
  children: [e.content && /* @__PURE__ */ J("div", {
613
611
  className: "max-h-[300px] min-w-0 overflow-y-auto",
614
- children: /* @__PURE__ */ J(it, {
612
+ children: /* @__PURE__ */ J(ot, {
615
613
  content: e.content,
616
614
  typography: n,
617
615
  copyAriaLabel: y,
@@ -620,7 +618,7 @@ var ve = {
620
618
  mathScrollRegionAriaLabel: S,
621
619
  renderCitation: l
622
620
  })
623
- }), E.length > 0 && /* @__PURE__ */ J(at, {
621
+ }), E.length > 0 && /* @__PURE__ */ J(st, {
624
622
  attachments: E,
625
623
  clickLabel: T,
626
624
  onAttachmentClick: a
@@ -630,9 +628,9 @@ var ve = {
630
628
  className: c("flex w-full items-center gap-2 px-2 py-1.5", X.row),
631
629
  children: P
632
630
  });
633
- }, st = (e) => e <= 3 ? "ps-4" : "ps-0", ct = (e) => e <= 3 ? "ps-6" : "ps-0", lt = ({ node: e, depth: t, nameOverride: n, isStreaming: r, expansion: i, typography: a, labels: o, onAttachmentClick: s, attachmentDisplayResolvers: c, renderCitation: l }) => {
634
- let u = ke(e.stage.index), d = t + 1;
635
- return /* @__PURE__ */ J(ot, {
631
+ }, lt = (e) => e <= 3 ? "ps-4" : "ps-0", ut = (e) => e <= 3 ? "ps-6" : "ps-0", dt = ({ node: e, depth: t, nameOverride: n, isStreaming: r, expansion: i, typography: a, labels: o, onAttachmentClick: s, attachmentDisplayResolvers: c, renderCitation: l }) => {
632
+ let u = je(e.stage.index), d = t + 1;
633
+ return /* @__PURE__ */ J(ct, {
636
634
  stage: e.stage,
637
635
  nameOverride: n,
638
636
  isLive: r && e.stage.status == null,
@@ -643,10 +641,10 @@ var ve = {
643
641
  renderCitation: l,
644
642
  isExpanded: i.isExpanded(u),
645
643
  onToggle: (e) => i.onToggle(u, e),
646
- childList: e.children.length > 0 ? /* @__PURE__ */ J(dt, {
644
+ childList: e.children.length > 0 ? /* @__PURE__ */ J(pt, {
647
645
  nodes: e.children,
648
646
  depth: d,
649
- className: st(d),
647
+ className: lt(d),
650
648
  isStreaming: r,
651
649
  expansion: i,
652
650
  typography: a,
@@ -656,15 +654,15 @@ var ve = {
656
654
  renderCitation: l
657
655
  }) : void 0
658
656
  });
659
- }, ut = ({ row: e, depth: t, isStreaming: n, expansion: r, typography: i, labels: a, onAttachmentClick: s, attachmentDisplayResolvers: l, renderCitation: u }) => {
657
+ }, ft = ({ row: e, depth: t, isStreaming: n, expansion: r, typography: i, labels: a, onAttachmentClick: s, attachmentDisplayResolvers: l, renderCitation: u }) => {
660
658
  let { runningAriaLabel: f, failedAriaLabel: p, attemptLabel: m = (e) => `Attempt ${e}` } = a ?? {}, h = e.attempts ?? [], _ = h.some((e) => e.stage.status == null), v = h.some((e) => e.stage.status === o.Failed), y = o.Completed;
661
659
  _ ? y = null : v && (y = o.Failed);
662
- let b = Ae(e.key), x = r.isExpanded(b), S = t + 1, C = /* @__PURE__ */ Y("span", {
660
+ let b = Me(e.key), x = r.isExpanded(b), S = t + 1, C = /* @__PURE__ */ Y("span", {
663
661
  className: "flex min-w-0 items-center gap-2",
664
662
  children: [
665
663
  /* @__PURE__ */ J("span", {
666
664
  className: "flex flex-none items-center",
667
- children: /* @__PURE__ */ J(Pe, {
665
+ children: /* @__PURE__ */ J(Ie, {
668
666
  status: y,
669
667
  isLive: n && _,
670
668
  runningLabel: f,
@@ -685,16 +683,16 @@ var ve = {
685
683
  title: C,
686
684
  expanded: x,
687
685
  onToggle: (e) => r.onToggle(b, e),
688
- className: je,
689
- headerClassName: c(Me, X.collapseButton, X.row, X.stageHeader),
690
- contentClassName: c("-mt-2 min-w-0 px-0", ct(S), X.stageRegion),
686
+ className: Ne,
687
+ headerClassName: c(Pe, X.collapseButton, X.row, X.stageHeader),
688
+ contentClassName: c("-mt-2 min-w-0 px-0", ut(S), X.stageRegion),
691
689
  children: /* @__PURE__ */ J("ul", {
692
690
  role: "list",
693
691
  className: "flex min-w-0 flex-col gap-0.5",
694
692
  children: x && h.map((e, t) => /* @__PURE__ */ J("li", {
695
693
  role: "listitem",
696
694
  className: "min-w-0",
697
- children: /* @__PURE__ */ J(lt, {
695
+ children: /* @__PURE__ */ J(dt, {
698
696
  node: e,
699
697
  depth: S,
700
698
  nameOverride: m(t + 1),
@@ -709,23 +707,23 @@ var ve = {
709
707
  }, e.stage.index))
710
708
  })
711
709
  });
712
- }, dt = ({ nodes: e, depth: t, className: n, ...r }) => /* @__PURE__ */ J("ul", {
710
+ }, pt = ({ nodes: e, depth: t, className: n, ...r }) => /* @__PURE__ */ J("ul", {
713
711
  role: "list",
714
712
  className: c("flex min-w-0 flex-col gap-0.5", n),
715
- children: Ne(e).map((e) => /* @__PURE__ */ J("li", {
713
+ children: Fe(e).map((e) => /* @__PURE__ */ J("li", {
716
714
  role: "listitem",
717
715
  className: "min-w-0",
718
- children: e.node ? /* @__PURE__ */ J(lt, {
716
+ children: e.node ? /* @__PURE__ */ J(dt, {
719
717
  node: e.node,
720
718
  depth: t,
721
719
  ...r
722
- }) : /* @__PURE__ */ J(ut, {
720
+ }) : /* @__PURE__ */ J(ft, {
723
721
  row: e,
724
722
  depth: t,
725
723
  ...r
726
724
  })
727
725
  }, e.key))
728
- }), ft = ({ stages: e, isStreaming: t, className: n, styles: r, labels: i, onAttachmentClick: a, attachmentDisplayResolvers: o, renderCitation: l, expansion: u }) => {
726
+ }), mt = ({ stages: e, isStreaming: t, className: n, styles: r, labels: i, onAttachmentClick: a, attachmentDisplayResolvers: o, renderCitation: l, expansion: u }) => {
729
727
  let { colors: d, typography: f } = r ?? {}, p = s({
730
728
  "--cs-text": d?.text,
731
729
  "--cs-row-hover": d?.rowHoverColor,
@@ -742,11 +740,11 @@ var ve = {
742
740
  "--cs-code-border": d?.codeBorderColor,
743
741
  "--cs-code-text": d?.codeTextColor,
744
742
  "--cs-border": d?.borderColor
745
- }), m = K(() => Oe(e), [e]);
743
+ }), m = q(() => Ae(e), [e]);
746
744
  return /* @__PURE__ */ J("div", {
747
745
  style: p,
748
- className: c("w-full min-w-0", X.panel, n, ve.panel),
749
- children: /* @__PURE__ */ J(dt, {
746
+ className: c("w-full min-w-0", X.panel, n, be.panel),
747
+ children: /* @__PURE__ */ J(pt, {
750
748
  nodes: m,
751
749
  depth: 0,
752
750
  className: "w-full ps-5",
@@ -759,9 +757,9 @@ var ve = {
759
757
  renderCitation: l
760
758
  })
761
759
  });
762
- }, pt = (e) => {
763
- let t = ye();
764
- return /* @__PURE__ */ J(ft, {
760
+ }, ht = (e) => {
761
+ let t = xe();
762
+ return /* @__PURE__ */ J(mt, {
765
763
  ...e,
766
764
  expansion: t
767
765
  });
@@ -772,17 +770,17 @@ var ve = {
772
770
  doneIcon: "_doneIcon_16fae_36",
773
771
  failedText: "_failedText_16fae_40",
774
772
  liveName: "_liveName_16fae_44"
775
- }, mt = ({ stages: e, isStreaming: t, labels: n, className: r, styles: i, onAttachmentClick: a, attachmentDisplayResolvers: l, renderCitation: u }) => {
776
- let { executedLabel: m = "Executed", stepsLabel: h = () => "steps", failedCountLabel: _ = (e) => `${e} failed`, runningAriaLabel: v = "Running", copyAriaLabel: y, codeBlockCopiedLabel: b, tableScrollRegionAriaLabel: S, mathScrollRegionAriaLabel: C, failedAriaLabel: T, attemptLabel: E, attachmentClickLabel: D } = n ?? {}, [O, k] = q(t), A = ye(), { reset: j } = A, M = e.length > 1;
777
- G(() => {
773
+ }, gt = ({ stages: e, isStreaming: t, labels: n, className: r, styles: i, onAttachmentClick: a, attachmentDisplayResolvers: l, renderCitation: u }) => {
774
+ let { executedLabel: m = "Executed", stepsLabel: h = () => "steps", failedCountLabel: _ = (e) => `${e} failed`, runningAriaLabel: v = "Running", copyAriaLabel: y, codeBlockCopiedLabel: b, tableScrollRegionAriaLabel: x, mathScrollRegionAriaLabel: S, failedAriaLabel: w, attemptLabel: T, attachmentClickLabel: D } = n ?? {}, [O, k] = ve(t), A = xe(), { reset: j } = A, M = e.length > 1;
775
+ he(() => {
778
776
  M && !O && j();
779
777
  }, [
780
778
  M,
781
779
  O,
782
780
  j
783
781
  ]);
784
- let N = ge(t);
785
- G(() => {
782
+ let N = _e(t);
783
+ he(() => {
786
784
  N.current && !t && k(!1), N.current = t;
787
785
  }, [t]);
788
786
  let { colors: P, panel: F } = i ?? {}, I = i?.typography ?? { fontClassName: "dial-small-text" }, L = s({
@@ -810,14 +808,14 @@ var ve = {
810
808
  let R = {
811
809
  copyAriaLabel: y,
812
810
  codeBlockCopiedLabel: b,
813
- tableScrollRegionAriaLabel: S,
814
- mathScrollRegionAriaLabel: C,
811
+ tableScrollRegionAriaLabel: x,
812
+ mathScrollRegionAriaLabel: S,
815
813
  runningAriaLabel: v,
816
- failedAriaLabel: T,
817
- attemptLabel: E,
814
+ failedAriaLabel: w,
815
+ attemptLabel: T,
818
816
  attachmentClickLabel: D
819
817
  };
820
- if (e.length === 1) return /* @__PURE__ */ J(ft, {
818
+ if (e.length === 1) return /* @__PURE__ */ J(mt, {
821
819
  stages: e,
822
820
  isStreaming: t,
823
821
  expansion: A,
@@ -833,14 +831,14 @@ var ve = {
833
831
  });
834
832
  let z = e.some((e) => e.status === o.Failed), B;
835
833
  if (t) {
836
- let t = we((Ee(e) ?? e[e.length - 1]).name).name;
834
+ let t = Ee((Oe(e) ?? e[e.length - 1]).name).name;
837
835
  B = /* @__PURE__ */ Y("span", {
838
836
  role: "status",
839
837
  "aria-live": "polite",
840
838
  className: "flex min-w-0 items-center gap-2",
841
839
  children: [/* @__PURE__ */ J("span", {
842
840
  className: "flex flex-none items-center",
843
- children: /* @__PURE__ */ J(x, {
841
+ children: /* @__PURE__ */ J(C, {
844
842
  size: 14,
845
843
  ariaLabel: v
846
844
  })
@@ -869,7 +867,7 @@ var ve = {
869
867
  });
870
868
  } else B = /* @__PURE__ */ Y("span", {
871
869
  className: "inline-flex items-center gap-1",
872
- children: [/* @__PURE__ */ J(w, {
870
+ children: [/* @__PURE__ */ J(E, {
873
871
  size: f.SM,
874
872
  className: $.doneIcon,
875
873
  "aria-hidden": !0,
@@ -887,15 +885,15 @@ var ve = {
887
885
  });
888
886
  return /* @__PURE__ */ J("div", {
889
887
  style: L,
890
- className: c("flex w-full flex-col gap-1", r, ve.group),
888
+ className: c("flex w-full flex-col gap-1", r, be.group),
891
889
  children: /* @__PURE__ */ J(d, {
892
890
  title: B,
893
891
  expanded: O,
894
892
  onToggle: k,
895
893
  className: "overflow-visible py-0",
896
- headerClassName: c("justify-start gap-1 rounded-none px-0", $.toggleButton, ve.groupToggle),
894
+ headerClassName: c("justify-start gap-1 rounded-none px-0", $.toggleButton, be.groupToggle),
897
895
  contentClassName: c("-mt-2 px-0", $.groupRegion),
898
- children: O && /* @__PURE__ */ J(ft, {
896
+ children: O && /* @__PURE__ */ J(mt, {
899
897
  stages: e,
900
898
  isStreaming: t,
901
899
  expansion: A,
@@ -913,4 +911,4 @@ var ve = {
913
911
  });
914
912
  };
915
913
  //#endregion
916
- export { ve as CONVERSATION_STAGES_CLASS, mt as CollapsedGroup, pt as StagesPanel };
914
+ export { be as CONVERSATION_STAGES_CLASS, gt as CollapsedGroup, ht as StagesPanel };
@@ -6,13 +6,15 @@ export type StageCitationRenderer = (dataId: string | undefined, children: React
6
6
  export interface StageTypography {
7
7
  /** CSS utility class applied to the stage/step name. Defaults to `'dial-small-text'`. */
8
8
  fontClassName?: string;
9
+ /** CSS utility class applied, instead of `fontClassName`, to a stage name that is a bare identifier (e.g. a tool name). Defaults to `'dial-code-text'`. */
10
+ monoFontClassName?: string;
9
11
  /** CSS utility class applied to expanded content text elements (paragraphs, lists, blockquotes, links, table cells). Defaults to `'dial-tiny-text'`. */
10
12
  contentClassName?: string;
11
13
  /** CSS utility class applied to `<strong>` (bold markdown) inside expanded content. Falls back to `contentClassName`, then `'dial-tiny-text'`. */
12
14
  strongClassName?: string;
13
15
  /** CSS utility class applied to every heading level (`h1`–`h6`) inside expanded content. Defaults to `'dial-small-semi-text'`. */
14
16
  headingClassName?: string;
15
- /** CSS utility class applied to inline code elements; the monospace family comes from the panel stylesheet. Defaults to `'dial-tiny-text rounded-md'`. */
17
+ /** CSS utility class applied to inline code elements. Defaults to `'dial-tiny-code-text rounded-md'`. */
16
18
  codeClassName?: string;
17
19
  /** CSS utility class applied to fenced code blocks. Defaults to `'dial-code-text'`. */
18
20
  codeBlockClassName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"stages-props.d.ts","sourceRoot":"","sources":["../../src/models/stages-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,KAAK,EACN,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE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EAAE,MAAM,CAAC;CAC/B;AAED,qDAAqD;AACrD,MAAM,WAAW,gBAAgB;IAC/B,yCAAyC;IACzC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,yEAAyE;IACzE,WAAW,EAAE,OAAO,CAAC;IACrB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,4BAA4B;IAC5B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,wGAAwG;IACxG,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,0HAA0H;IAC1H,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;IACxD,qHAAqH;IACrH,cAAc,CAAC,EAAE,qBAAqB,CAAC;CACxC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-conversation-stages",
3
3
  "description": "Panel for displaying agent processing stages during LLM response streaming",
4
- "version": "1.3.0-dev.245",
4
+ "version": "1.3.0-dev.248",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tabler/icons-react": "^3.44.0",
21
- "@epam/ai-dial-attachment-input": "1.3.0-dev.245"
21
+ "@epam/ai-dial-attachment-input": "1.3.0-dev.248"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^19.2.8",
25
- "@epam/ai-dial-chat-shared": "1.3.0-dev.245",
26
- "@epam/ai-dial-ui-kit": "^0.16.0-dev.45"
25
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.248",
26
+ "@epam/ai-dial-ui-kit": "^0.16.0-dev.56"
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",