@epam/ai-dial-conversation-messages 1.3.0-dev.252 → 1.3.0-dev.256
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/components/ConversationStartTimestamp/ConversationStartTimestamp.d.ts.map +1 -1
- package/components/MessageBubble/AssistantMessageBubble.d.ts.map +1 -1
- package/components/MessageBubble/UserMessageBubble.d.ts.map +1 -1
- package/components/MessageTimestamp/MessageTimestamp.d.ts.map +1 -1
- package/index.css +2 -2
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +77 -74
- package/models/conversation-start.d.ts +9 -2
- package/models/conversation-start.d.ts.map +1 -1
- package/models/message-bubble.d.ts +3 -1
- package/models/message-bubble.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationStartTimestamp.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationStartTimestamp/ConversationStartTimestamp.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"ConversationStartTimestamp.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationStartTimestamp/ConversationStartTimestamp.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAQvF,yGAAyG;AACzG,eAAO,MAAM,0BAA0B,EAAE,EAAE,CACzC,+BAA+B,CA2BhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantMessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/AssistantMessageBubble.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAGpC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAc/E,gHAAgH;AAChH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,
|
|
1
|
+
{"version":3,"file":"AssistantMessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/AssistantMessageBubble.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAGpC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAc/E,gHAAgH;AAChH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAoQlE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/UserMessageBubble.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,EAAE,EAAkB,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAoB1E,kGAAkG;AAClG,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"UserMessageBubble.d.ts","sourceRoot":"","sources":["../../../src/components/MessageBubble/UserMessageBubble.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,EAAE,EAAkB,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAoB1E,kGAAkG;AAClG,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAkQxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageTimestamp.d.ts","sourceRoot":"","sources":["../../../src/components/MessageTimestamp/MessageTimestamp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageTimestamp.d.ts","sourceRoot":"","sources":["../../../src/components/MessageTimestamp/MessageTimestamp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAmB7E,mFAAmF;AACnF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAyBtD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
._activeRating_ygoee_1{color:var(--ma-active-rating-text,var(--text-accent,#1d4ed8))}._userBubble_17fln_1{border-color:var(--cm-bubble-user-border,var(--stroke-secondary,#d1dbea));background:var(--cm-bubble-user-bg,var(--bg-layer-sunken,#eef1f7))}._collapsibleText_17fln_6{max-height:var(--cm-bubble-collapsed-height);transition:max-height .2s ease-out}._expandedText_17fln_11{max-height:var(--cm-bubble-expanded-height)}._collapsedText_17fln_15:after{content:"";pointer-events:none;inset-inline:0;background:linear-gradient(to bottom, var(--cm-bubble-fade-start,var(--shadow-xs-2,#161b2d08)), var(--cm-bubble-user-bg,var(--bg-layer-sunken,#eef1f7)));height:3rem;position:absolute;bottom:0}@media (prefers-reduced-motion:reduce){._collapsibleText_17fln_6{transition:none}}._startersDivider_17fln_31{border-color:var(--cm-starters-divider,var(--stroke-secondary,#d1dbea))}._text_17fln_35{color:var(--cm-bubble-text,var(--text-primary,#161b2d))}._button_tqo4d_3._button_tqo4d_3{color:var(--cm-reply-text,var(--text-primary,#161b2d));background:var(--cm-reply-background,var(--bg-layer-raised,#fcfcfc))!important}._button_tqo4d_3._button_tqo4d_3:hover{color:var(--cm-reply-text,var(--text-primary,#161b2d));background:var(--cm-reply-hover-background,var(--bg-layer-base,#f5f7fa))!important}
|
|
1
|
+
._activeRating_ygoee_1{color:var(--ma-active-rating-text,var(--text-accent,#1d4ed8))}._time_16pwx_2{color:var(--cm-timestamp-text,var(--text-secondary,#57647a))}._userBubble_17fln_1{border-color:var(--cm-bubble-user-border,var(--stroke-secondary,#d1dbea));background:var(--cm-bubble-user-bg,var(--bg-layer-sunken,#eef1f7))}._collapsibleText_17fln_6{max-height:var(--cm-bubble-collapsed-height);transition:max-height .2s ease-out}._expandedText_17fln_11{max-height:var(--cm-bubble-expanded-height)}._collapsedText_17fln_15:after{content:"";pointer-events:none;inset-inline:0;background:linear-gradient(to bottom, var(--cm-bubble-fade-start,var(--shadow-xs-2,#161b2d08)), var(--cm-bubble-user-bg,var(--bg-layer-sunken,#eef1f7)));height:3rem;position:absolute;bottom:0}@media (prefers-reduced-motion:reduce){._collapsibleText_17fln_6{transition:none}}._startersDivider_17fln_31{border-color:var(--cm-starters-divider,var(--stroke-secondary,#d1dbea))}._text_17fln_35{color:var(--cm-bubble-text,var(--text-primary,#161b2d))}._button_tqo4d_3._button_tqo4d_3{color:var(--cm-reply-text,var(--text-primary,#161b2d));background:var(--cm-reply-background,var(--bg-layer-raised,#fcfcfc))!important}._button_tqo4d_3._button_tqo4d_3:hover{color:var(--cm-reply-text,var(--text-primary,#161b2d));background:var(--cm-reply-hover-background,var(--bg-layer-base,#f5f7fa))!important}._label_1nohb_1{color:var(--cst-text,var(--text-secondary,#57647a))}
|
|
2
2
|
/*$vite$:1*//*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
3
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}.collapse{visibility:collapse}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-s-0{inset-inline-start:0}.top-0{top:0}.left-0{left:0}.z-50{z-index:50}.-ms-1{margin-inline-start:-.25rem}.ms-auto{margin-inline-start:auto}.-me-1{margin-inline-end:-.25rem}.mt-3{margin-top:.75rem}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.h-8{height:2rem}.min-h-8{min-height:2rem}.w-\[calc\(100\%\+8px\)\]{width:calc(100% + 8px)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[640px\]{max-width:640px}.max-w-\[calc\(100vw-16px\)\]{max-width:calc(100vw - 16px)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-11{min-width:2.75rem}.min-w-\[40px\]{min-width:40px}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-end{justify-content:flex-end}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.rounded-ss-2xl{border-start-start-radius:1rem}.rounded-se-2xl{border-start-end-radius:1rem}.rounded-se-md{border-start-end-radius:.375rem}.rounded-ee-2xl{border-end-end-radius:1rem}.rounded-ee-md{border-end-end-radius:.375rem}.rounded-es-2xl{border-end-start-radius:1rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.px-1{padding-inline:.25rem}.px-2{padding-inline:.5rem}.px-6{padding-inline:1.5rem}.py-4{padding-block:1rem}.ps-1{padding-inline-start:.25rem}.pe-1{padding-inline-end:.25rem}.pt-5{padding-top:1.25rem}.text-center{text-align:center}.text-start{text-align:start}.wrap-anywhere{overflow-wrap:anywhere}.whitespace-nowrap{white-space:nowrap}.
|
|
3
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}.collapse{visibility:collapse}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-s-0{inset-inline-start:0}.top-0{top:0}.left-0{left:0}.z-50{z-index:50}.-ms-1{margin-inline-start:-.25rem}.ms-auto{margin-inline-start:auto}.-me-1{margin-inline-end:-.25rem}.mt-3{margin-top:.75rem}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.h-8{height:2rem}.min-h-8{min-height:2rem}.w-\[calc\(100\%\+8px\)\]{width:calc(100% + 8px)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[640px\]{max-width:640px}.max-w-\[calc\(100vw-16px\)\]{max-width:calc(100vw - 16px)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-11{min-width:2.75rem}.min-w-\[40px\]{min-width:40px}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-end{justify-content:flex-end}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.rounded-ss-2xl{border-start-start-radius:1rem}.rounded-se-2xl{border-start-end-radius:1rem}.rounded-se-md{border-start-end-radius:.375rem}.rounded-ee-2xl{border-end-end-radius:1rem}.rounded-ee-md{border-end-end-radius:.375rem}.rounded-es-2xl{border-end-start-radius:1rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.px-1{padding-inline:.25rem}.px-2{padding-inline:.5rem}.px-6{padding-inline:1.5rem}.py-4{padding-block:1rem}.ps-1{padding-inline-start:.25rem}.pe-1{padding-inline-end:.25rem}.pt-5{padding-top:1.25rem}.text-center{text-align:center}.text-start{text-align:start}.wrap-anywhere{overflow-wrap:anywhere}.whitespace-nowrap{white-space:nowrap}.opacity-0{opacity:0}.shadow-lg{--tw-shadow:1px 10px 25px 12px var(--tw-shadow-color,var(--shadow-lg,#2764d914));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.group-focus-within\/message\:opacity-100:is(:where(.group\/message):focus-within *){opacity:1}@media (hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *),.group-hover\/message\:opacity-100:is(:where(.group\/message):hover *){opacity:1}}.rtl\:scale-x-\[-1\]:where(:dir(rtl),[dir=rtl],[dir=rtl] *){--tw-scale-x:-1;scale:var(--tw-scale-x) var(--tw-scale-y)}@media (max-width:1279px){.mobile\:h-11{height:2.75rem}.mobile\:min-h-11{min-height:2.75rem}}.\[\&\>\.cm-bubble-markdown\>div\>\*\:first-child\]\:indent-\[var\(--cm-bubble-first-line-indent\,0px\)\]>.cm-bubble-markdown>div>:first-child{text-indent:var(--cm-bubble-first-line-indent,0px)}.\[\&\>div\>\*\:first-child\]\:mt-0>div>:first-child{margin-top:0}.\[\&\>div\>\*\:last-child\]\:mb-0>div>:last-child{margin-bottom:0}@media (hover:none){.\[\@media\(hover\:none\)\]\:opacity-100{opacity:1}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
|
package/index.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export type { MessageSelectionReplyColors, MessageSelectionReplyLabels, MessageS
|
|
|
12
12
|
export type { StatusMessageBubbleLabels, StatusMessageBubbleProps, } from './components/MessageBubble/StatusMessageBubble';
|
|
13
13
|
export type { MessageActionsProps, MessageActionColors, MessageActionLabels, MessageActionTooltips, MessageActionAriaLabels, } from './models/message-actions';
|
|
14
14
|
export type { MessageSourceProps, MessageSourceLabels, MessageSourceStyles, MessageSourceColors, MessageSourceTypography, } from './models/message-source';
|
|
15
|
-
export type { ConversationStartTimestampLabels, ConversationStartTimestampProps, } from './models/conversation-start';
|
|
15
|
+
export type { ConversationStartTimestampColors, ConversationStartTimestampLabels, ConversationStartTimestampProps, } from './models/conversation-start';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,0BAA0B,EAAE,MAAM,oEAAoE,CAAC;AAChH,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,2BAA2B,EAC3B,mBAAmB,EACn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AmB,EACnB,4BAA4B,EAC5B,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,2BAA2B,EAC3B,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,0DAA0D,CAAC;AAClE,YAAY,EACV,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,gDAAgD,CAAC;AACxD,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,gCAAgC,EAChC,gCAAgC,EAChC,+BAA+B,GAChC,MAAM,6BAA6B,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AttachmentType as e, CopyIconButton as t, DeploymentIcon as n, MDMessageViewer as r, MessageRating as i, MessageRole as a, ResponseFormat as o, buildCssVars as s, buildInlineSegmentSource as c, createInlineSegmentComponents as l, createRehypeInlineSegments as u, mergeClasses as d, useCollapsedText as f } from "@epam/ai-dial-chat-shared";
|
|
2
2
|
import { AttachmentGroup as p } from "@epam/ai-dial-attachment-input";
|
|
3
3
|
import { Button as m, ButtonVariant as h, DIAL_ICON_SIZE as g, DIAL_KIT_ICON_STROKE as _, ElementSize as v, GhostIconButton as y, InfoMessageNotification as b, LinkButton as x, LiveRegion as S, LiveRegionElement as C, NeutralButton as w, Tooltip as T } from "@epam/ai-dial-ui-kit";
|
|
4
|
-
import { useCallback as E, useEffect as D, useId as ee, useLayoutEffect as O, useMemo as k, useRef as
|
|
5
|
-
import { IconArrowBackUp as
|
|
4
|
+
import { useCallback as E, useEffect as D, useId as ee, useLayoutEffect as O, useMemo as k, useRef as te, useState as A } from "react";
|
|
5
|
+
import { IconArrowBackUp as j, IconChevronDown as M, IconChevronUp as N, IconMarkdown as ne, IconPencilMinus as P, IconRefresh as F, IconThumbDown as re, IconThumbDownFilled as ie, IconThumbUp as ae, IconThumbUpFilled as oe, IconTrashX as I } from "@tabler/icons-react";
|
|
6
6
|
import { Fragment as L, jsx as R, jsxs as z } from "react/jsx-runtime";
|
|
7
7
|
import { createPortal as B } from "react-dom";
|
|
8
8
|
//#region src/constants/public-class-names.ts
|
|
@@ -10,7 +10,7 @@ var V = {
|
|
|
10
10
|
userBubble: "dial-cm-user-bubble",
|
|
11
11
|
assistantContent: "dial-cm-assistant-content"
|
|
12
12
|
}, H = 4, U = (e) => {
|
|
13
|
-
let t =
|
|
13
|
+
let t = te(null), [n, r] = A(0);
|
|
14
14
|
return D(() => {
|
|
15
15
|
if (!e) return;
|
|
16
16
|
let n = t.current;
|
|
@@ -80,28 +80,28 @@ var V = {
|
|
|
80
80
|
}
|
|
81
81
|
e.clipboardData.setData("text/html", r.innerHTML), e.clipboardData.setData("text/plain", n), e.preventDefault();
|
|
82
82
|
}, G = { activeRating: "_activeRating_ygoee_1" }, K = 2e3, me = ({ role: e = a.User, onEdit: n, onEditHover: r, onDelete: o, onRegenerate: c, onCopy: l, onCopyMarkdown: u, onLike: f, onDislike: p, activeRating: m, isAlwaysVisible: h, leadingContent: b, trailingContent: x, isDisabled: w = !1, className: T, labels: ee, colors: O }) => {
|
|
83
|
-
let { tooltips: k, ariaLabels:
|
|
83
|
+
let { tooltips: k, ariaLabels: j } = ee ?? {}, [M, N] = A(null), [B, V] = A(""), H = te(void 0);
|
|
84
84
|
D(() => () => clearTimeout(H.current), []);
|
|
85
85
|
let U = E(() => {
|
|
86
|
-
clearTimeout(H.current), H.current = setTimeout(() =>
|
|
86
|
+
clearTimeout(H.current), H.current = setTimeout(() => N(null), K);
|
|
87
87
|
}, []), se = n != null || o != null || c != null || l != null || u != null || f != null || p != null || b != null || x != null, ce = s({ "--ma-active-rating-text": O?.activeRatingText }), W = E(() => {
|
|
88
|
-
l?.(),
|
|
88
|
+
l?.(), N("copy"), V(e === a.User ? j?.copiedMessageStatus ?? "Message copied to clipboard" : j?.copiedStatus ?? "Copied to clipboard"), U();
|
|
89
89
|
}, [
|
|
90
90
|
l,
|
|
91
91
|
e,
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
j?.copiedStatus,
|
|
93
|
+
j?.copiedMessageStatus,
|
|
94
94
|
U
|
|
95
95
|
]), le = E(() => {
|
|
96
|
-
u?.(),
|
|
96
|
+
u?.(), N("markdown"), V(j?.copiedMarkdownStatus ?? "Copied as Markdown to clipboard"), U();
|
|
97
97
|
}, [
|
|
98
98
|
u,
|
|
99
|
-
|
|
99
|
+
j?.copiedMarkdownStatus,
|
|
100
100
|
U
|
|
101
101
|
]);
|
|
102
102
|
return se ? /* @__PURE__ */ z("div", {
|
|
103
103
|
role: "toolbar",
|
|
104
|
-
"aria-label":
|
|
104
|
+
"aria-label": j?.actionsGroup ?? "Message actions",
|
|
105
105
|
style: ce,
|
|
106
106
|
className: d("flex items-center gap-1", !h && "opacity-0 group-hover:opacity-100", T),
|
|
107
107
|
children: [
|
|
@@ -116,20 +116,20 @@ var V = {
|
|
|
116
116
|
iconSize: g.SM,
|
|
117
117
|
onClick: W,
|
|
118
118
|
size: v.Small,
|
|
119
|
-
isCopied:
|
|
119
|
+
isCopied: M === "copy",
|
|
120
120
|
copyLabel: k?.copyMessage ?? "Copy message",
|
|
121
121
|
copiedLabel: k?.copied ?? "Copied!",
|
|
122
|
-
ariaLabel:
|
|
122
|
+
ariaLabel: j?.copyMessage ?? "Copy message",
|
|
123
123
|
isDisabled: w
|
|
124
124
|
}),
|
|
125
125
|
n && /* @__PURE__ */ R(y, {
|
|
126
|
-
icon: /* @__PURE__ */ R(
|
|
126
|
+
icon: /* @__PURE__ */ R(P, {
|
|
127
127
|
size: g.SM,
|
|
128
128
|
"aria-hidden": !0,
|
|
129
129
|
stroke: _
|
|
130
130
|
}),
|
|
131
131
|
size: v.Small,
|
|
132
|
-
"aria-label":
|
|
132
|
+
"aria-label": j?.editMessage ?? "Edit message",
|
|
133
133
|
tooltipProps: { tooltip: k?.edit ?? "Edit" },
|
|
134
134
|
onClick: n,
|
|
135
135
|
onMouseEnter: r,
|
|
@@ -143,20 +143,20 @@ var V = {
|
|
|
143
143
|
stroke: _
|
|
144
144
|
}),
|
|
145
145
|
size: v.Small,
|
|
146
|
-
"aria-label":
|
|
146
|
+
"aria-label": j?.deleteMessage ?? "Delete message",
|
|
147
147
|
tooltipProps: { tooltip: k?.delete ?? "Delete" },
|
|
148
148
|
onClick: o,
|
|
149
149
|
disabled: w
|
|
150
150
|
})
|
|
151
151
|
] }) : /* @__PURE__ */ z(L, { children: [
|
|
152
152
|
c && /* @__PURE__ */ R(y, {
|
|
153
|
-
icon: /* @__PURE__ */ R(
|
|
153
|
+
icon: /* @__PURE__ */ R(F, {
|
|
154
154
|
size: g.SM,
|
|
155
155
|
"aria-hidden": !0,
|
|
156
156
|
stroke: _
|
|
157
157
|
}),
|
|
158
158
|
size: v.Small,
|
|
159
|
-
"aria-label":
|
|
159
|
+
"aria-label": j?.regenerateResponse ?? "Regenerate response",
|
|
160
160
|
tooltipProps: { tooltip: k?.regenerate ?? "Regenerate" },
|
|
161
161
|
onClick: c,
|
|
162
162
|
disabled: w
|
|
@@ -165,25 +165,25 @@ var V = {
|
|
|
165
165
|
iconSize: g.SM,
|
|
166
166
|
onClick: W,
|
|
167
167
|
size: v.Small,
|
|
168
|
-
isCopied:
|
|
168
|
+
isCopied: M === "copy",
|
|
169
169
|
copyLabel: k?.copy ?? "Copy",
|
|
170
170
|
copiedLabel: k?.copied ?? "Copied!",
|
|
171
|
-
ariaLabel:
|
|
171
|
+
ariaLabel: j?.copyResponse ?? "Copy response",
|
|
172
172
|
isDisabled: w
|
|
173
173
|
}),
|
|
174
174
|
u && /* @__PURE__ */ R(t, {
|
|
175
175
|
iconSize: g.SM,
|
|
176
176
|
onClick: le,
|
|
177
177
|
size: v.Small,
|
|
178
|
-
isCopied:
|
|
179
|
-
iconCopy: /* @__PURE__ */ R(
|
|
178
|
+
isCopied: M === "markdown",
|
|
179
|
+
iconCopy: /* @__PURE__ */ R(ne, {
|
|
180
180
|
size: g.SM,
|
|
181
181
|
"aria-hidden": !0,
|
|
182
182
|
stroke: _
|
|
183
183
|
}),
|
|
184
184
|
copyLabel: k?.copyMarkdown ?? "Copy as Markdown",
|
|
185
185
|
copiedLabel: k?.copiedMarkdown ?? "Copied!",
|
|
186
|
-
ariaLabel:
|
|
186
|
+
ariaLabel: j?.copyAsMarkdown ?? "Copy as markdown",
|
|
187
187
|
isDisabled: w
|
|
188
188
|
}),
|
|
189
189
|
f && /* @__PURE__ */ R(y, {
|
|
@@ -197,7 +197,7 @@ var V = {
|
|
|
197
197
|
stroke: _
|
|
198
198
|
}),
|
|
199
199
|
size: v.Small,
|
|
200
|
-
"aria-label":
|
|
200
|
+
"aria-label": j?.likeResponse ?? "Like response",
|
|
201
201
|
"aria-pressed": m === i.Like,
|
|
202
202
|
tooltipProps: { tooltip: k?.like ?? "Like" },
|
|
203
203
|
onClick: f,
|
|
@@ -214,7 +214,7 @@ var V = {
|
|
|
214
214
|
stroke: _
|
|
215
215
|
}),
|
|
216
216
|
size: v.Small,
|
|
217
|
-
"aria-label":
|
|
217
|
+
"aria-label": j?.dislikeResponse ?? "Dislike response",
|
|
218
218
|
"aria-pressed": m === i.Dislike,
|
|
219
219
|
tooltipProps: { tooltip: k?.dislike ?? "Dislike" },
|
|
220
220
|
onClick: p,
|
|
@@ -225,7 +225,7 @@ var V = {
|
|
|
225
225
|
]
|
|
226
226
|
}) : null;
|
|
227
227
|
}, q = (e) => {
|
|
228
|
-
let [t, n] =
|
|
228
|
+
let [t, n] = A(() => /* @__PURE__ */ new Date());
|
|
229
229
|
return D(() => {
|
|
230
230
|
let t = setInterval(() => n(/* @__PURE__ */ new Date()), e);
|
|
231
231
|
return () => clearInterval(t);
|
|
@@ -270,15 +270,15 @@ var V = {
|
|
|
270
270
|
if (n >= 1) return r.format(-n, e);
|
|
271
271
|
}
|
|
272
272
|
return r.format(0, "second");
|
|
273
|
-
}, Se =
|
|
274
|
-
let r = q(
|
|
273
|
+
}, Se = { time: "_time_16pwx_2" }, Ce = 6e4, we = "opacity-0 transition-opacity group-hover/message:opacity-100 group-focus-within/message:opacity-100 [@media(hover:none)]:opacity-100", Te = ({ timestamp: e, locale: t, className: n = "dial-small-text" }) => {
|
|
274
|
+
let r = q(Ce), i = Z(e);
|
|
275
275
|
return i == null ? null : /* @__PURE__ */ R(T, {
|
|
276
276
|
tooltip: be(i, t),
|
|
277
277
|
asChild: !0,
|
|
278
278
|
children: /* @__PURE__ */ R("time", {
|
|
279
279
|
dateTime: e,
|
|
280
280
|
tabIndex: 0,
|
|
281
|
-
className: d("px-1 whitespace-nowrap", n,
|
|
281
|
+
className: d("px-1 whitespace-nowrap", Se.time, n, we),
|
|
282
282
|
children: Q(i, r, t)
|
|
283
283
|
})
|
|
284
284
|
});
|
|
@@ -289,12 +289,12 @@ var V = {
|
|
|
289
289
|
collapsedText: "_collapsedText_17fln_15",
|
|
290
290
|
startersDivider: "_startersDivider_17fln_31",
|
|
291
291
|
text: "_text_17fln_35"
|
|
292
|
-
},
|
|
293
|
-
let { colors:
|
|
292
|
+
}, Ee = "[&>.cm-bubble-markdown>div>*:first-child]:indent-[var(--cm-bubble-first-line-indent,0px)]", De = ({ text: t, contentRef: i, styles: c, actions: l, hasAlwaysVisibleActions: u, timestamp: f, locale: m, isStreaming: h, attachments: g, beforeContent: _, responseFormat: v, afterContent: y, hasThinkingPlaceholder: b = !0, starters: x, onSelectStarter: S, deploymentIconUrl: C, deploymentDisplayName: T, markdownComponents: E, markdownClassNames: D, markdownUrlTransform: ee, onAttachmentClick: O, onDownloadAll: te, isAttachmentDownloadable: A, onAttachmentRetry: j, codeBlockTheme: M, tableOnOpenInCanvas: N, labels: ne, selectedAttachmentId: P }) => {
|
|
293
|
+
let { colors: F, typography: re, className: ie, bubbleClassName: ae, timestampClassName: oe } = c ?? {}, I = f == null ? void 0 : /* @__PURE__ */ R(Te, {
|
|
294
294
|
timestamp: f,
|
|
295
295
|
locale: m,
|
|
296
296
|
className: oe
|
|
297
|
-
}), { attachmentClickLabel: B, attachmentDownloadLabel: H, attachmentRetryLabel: se, attachmentOpenInNewTabLabel: ce, startersAriaLabel: W = "Quick reply buttons", thinkingLabel: le, codeBlockCopyLabel: ue, codeBlockCopiedLabel: de, codeBlockDownloadLabel: fe, tableCopyLabel: G, tableCopiedLabel: K, tableDownloadCsvLabel: q, tableOpenInCanvasLabel: J, tableDownloadFilename: Y, tableScrollRegionAriaLabel: he, mathScrollRegionAriaLabel: ge, assistantMessageAriaLabel: _e = "Assistant message", deploymentIconFallbackLabel: X = "AI" } =
|
|
297
|
+
}), { attachmentClickLabel: B, attachmentDownloadLabel: H, attachmentRetryLabel: se, attachmentOpenInNewTabLabel: ce, startersAriaLabel: W = "Quick reply buttons", thinkingLabel: le, codeBlockCopyLabel: ue, codeBlockCopiedLabel: de, codeBlockDownloadLabel: fe, tableCopyLabel: G, tableCopiedLabel: K, tableDownloadCsvLabel: q, tableOpenInCanvasLabel: J, tableDownloadFilename: Y, tableScrollRegionAriaLabel: he, mathScrollRegionAriaLabel: ge, assistantMessageAriaLabel: _e = "Assistant message", deploymentIconFallbackLabel: X = "AI" } = ne ?? {}, ve = k(() => ({
|
|
298
298
|
copyLabel: G,
|
|
299
299
|
copiedLabel: K,
|
|
300
300
|
downloadCsvLabel: q,
|
|
@@ -305,8 +305,9 @@ var V = {
|
|
|
305
305
|
q,
|
|
306
306
|
J
|
|
307
307
|
]), ye = h ? (g ?? []).filter((t) => t.type !== e.Audio) : g ?? [], Z = !!t?.trim(), { slotRef: be, firstLineIndent: xe } = U(_ != null && Z), Q = s({
|
|
308
|
-
"--cm-bubble-text":
|
|
309
|
-
"--cm-starters-divider":
|
|
308
|
+
"--cm-bubble-text": F?.text,
|
|
309
|
+
"--cm-starters-divider": F?.startersDivider,
|
|
310
|
+
"--cm-timestamp-text": F?.timestampText,
|
|
310
311
|
"--cm-bubble-first-line-indent": xe
|
|
311
312
|
}), Se = d($.text, re?.fontClassName), Ce = !!(C || T);
|
|
312
313
|
return /* @__PURE__ */ z("div", {
|
|
@@ -332,7 +333,7 @@ var V = {
|
|
|
332
333
|
(Z || h && b) && /* @__PURE__ */ z("div", {
|
|
333
334
|
"aria-live": "polite",
|
|
334
335
|
"aria-atomic": "false",
|
|
335
|
-
className: d(Se, "relative max-w-full min-w-0 text-start", _ != null && Z &&
|
|
336
|
+
className: d(Se, "relative max-w-full min-w-0 text-start", _ != null && Z && Ee, V.assistantContent),
|
|
336
337
|
children: [_ != null && Z && /* @__PURE__ */ R("div", {
|
|
337
338
|
ref: be,
|
|
338
339
|
className: "absolute inset-s-0 top-0",
|
|
@@ -351,10 +352,10 @@ var V = {
|
|
|
351
352
|
codeBlockCopyLabel: ue,
|
|
352
353
|
codeBlockCopiedLabel: de,
|
|
353
354
|
codeBlockDownloadLabel: fe,
|
|
354
|
-
codeBlockTheme:
|
|
355
|
+
codeBlockTheme: M,
|
|
355
356
|
tableActionLabels: ve,
|
|
356
357
|
tableDownloadFilename: Y,
|
|
357
|
-
tableOnOpenInCanvas:
|
|
358
|
+
tableOnOpenInCanvas: N,
|
|
358
359
|
tableScrollRegionAriaLabel: he,
|
|
359
360
|
mathScrollRegionAriaLabel: ge
|
|
360
361
|
})
|
|
@@ -366,16 +367,16 @@ var V = {
|
|
|
366
367
|
let t = g?.find((t) => t.id === e);
|
|
367
368
|
t && O(t);
|
|
368
369
|
} : void 0,
|
|
369
|
-
onDownloadAll:
|
|
370
|
-
isAttachmentDownloadable:
|
|
371
|
-
onRetry:
|
|
370
|
+
onDownloadAll: te,
|
|
371
|
+
isAttachmentDownloadable: A,
|
|
372
|
+
onRetry: j,
|
|
372
373
|
labels: {
|
|
373
374
|
clickLabel: B,
|
|
374
375
|
downloadLabel: H,
|
|
375
376
|
retryLabel: se,
|
|
376
377
|
openInNewTabLabel: ce
|
|
377
378
|
},
|
|
378
|
-
selectedAttachmentId:
|
|
379
|
+
selectedAttachmentId: P
|
|
379
380
|
}),
|
|
380
381
|
y,
|
|
381
382
|
/* @__PURE__ */ R(me, {
|
|
@@ -401,14 +402,14 @@ var V = {
|
|
|
401
402
|
})]
|
|
402
403
|
})]
|
|
403
404
|
});
|
|
404
|
-
},
|
|
405
|
+
}, Oe = ({ labels: { titleText: e = "Model switched.", bodyText: t } }) => /* @__PURE__ */ R(b, {
|
|
405
406
|
title: e,
|
|
406
407
|
message: t,
|
|
407
408
|
textClassName: "flex-row flex-wrap gap-1"
|
|
408
|
-
}),
|
|
409
|
+
}), ke = /* @__PURE__ */ function(e) {
|
|
409
410
|
return e.Bottom = "Bottom", e.Top = "Top", e;
|
|
410
|
-
}({}),
|
|
411
|
-
let { colors:
|
|
411
|
+
}({}), Ae = 10, je = "[&>div>*:first-child]:mt-0 [&>div>*:last-child]:mb-0", Me = [], Ne = ({ text: e, contentRef: t, position: n = ke.Bottom, styles: i, actions: o, hasAlwaysVisibleActions: m, timestamp: h, locale: _, attachments: y, collapsedLineCount: b = Ae, labels: S, textSegments: C, onAttachmentClick: w, onDownloadAll: T, isAttachmentDownloadable: E, onAttachmentRetry: D, selectedAttachmentId: O, markdownClassNames: te, markdownUrlTransform: A, codeBlockTheme: j, tableOnOpenInCanvas: ne }) => {
|
|
412
|
+
let { colors: P, typography: F, className: re, bubbleClassName: ie, timestampClassName: ae } = i ?? {}, oe = h == null ? void 0 : /* @__PURE__ */ R(Te, {
|
|
412
413
|
timestamp: h,
|
|
413
414
|
locale: _,
|
|
414
415
|
className: ae
|
|
@@ -426,16 +427,17 @@ var V = {
|
|
|
426
427
|
text: e ?? "",
|
|
427
428
|
collapsedLineCount: b
|
|
428
429
|
}), Ce = s({
|
|
429
|
-
"--cm-bubble-user-bg":
|
|
430
|
-
"--cm-bubble-user-border":
|
|
431
|
-
"--cm-bubble-fade-start":
|
|
432
|
-
"--cm-bubble-text":
|
|
430
|
+
"--cm-bubble-user-bg": P?.userBackground,
|
|
431
|
+
"--cm-bubble-user-border": P?.userBorder,
|
|
432
|
+
"--cm-bubble-fade-start": P?.fadeStart,
|
|
433
|
+
"--cm-bubble-text": P?.text,
|
|
434
|
+
"--cm-timestamp-text": P?.timestampText,
|
|
433
435
|
"--cm-bubble-collapsed-height": Z ? `${be}px` : void 0,
|
|
434
436
|
"--cm-bubble-expanded-height": Z ? `${xe}px` : void 0
|
|
435
|
-
}),
|
|
437
|
+
}), we = n === ke.Top ? "rounded-ee-md rounded-se-2xl" : "rounded-se-md rounded-ee-2xl", Ee = d($.text, F?.fontClassName), { markdownSource: De, segmentRehypePlugins: Oe, segmentComponents: Ne } = k(() => {
|
|
436
438
|
if (C == null) return {
|
|
437
439
|
markdownSource: e ?? "",
|
|
438
|
-
segmentRehypePlugins:
|
|
440
|
+
segmentRehypePlugins: Me,
|
|
439
441
|
segmentComponents: void 0
|
|
440
442
|
};
|
|
441
443
|
let { source: t, inlineSegments: n } = c(C);
|
|
@@ -444,7 +446,7 @@ var V = {
|
|
|
444
446
|
segmentRehypePlugins: [u(n)],
|
|
445
447
|
segmentComponents: l(n)
|
|
446
448
|
};
|
|
447
|
-
}, [e, C]), Pe = H ?? I, Fe = U ?? B, Ie = Q ? I : B, Le = Q ? Pe : Fe, Re = Q ?
|
|
449
|
+
}, [e, C]), Pe = H ?? I, Fe = U ?? B, Ie = Q ? I : B, Le = Q ? Pe : Fe, Re = Q ? M : N, ze = ee();
|
|
448
450
|
return /* @__PURE__ */ R("div", {
|
|
449
451
|
role: "group",
|
|
450
452
|
"aria-label": ue,
|
|
@@ -473,7 +475,7 @@ var V = {
|
|
|
473
475
|
selectedAttachmentId: O
|
|
474
476
|
}),
|
|
475
477
|
e && /* @__PURE__ */ R("div", {
|
|
476
|
-
className: d($.userBubble, "flex w-fit max-w-full min-w-0 items-center justify-end rounded-ss-2xl rounded-es-2xl border px-6 py-4 wrap-anywhere",
|
|
478
|
+
className: d($.userBubble, "flex w-fit max-w-full min-w-0 items-center justify-end rounded-ss-2xl rounded-es-2xl border px-6 py-4 wrap-anywhere", we, ie, V.userBubble),
|
|
477
479
|
children: /* @__PURE__ */ z("div", {
|
|
478
480
|
className: "flex min-w-0 flex-col items-start",
|
|
479
481
|
children: [/* @__PURE__ */ R("div", {
|
|
@@ -482,21 +484,21 @@ var V = {
|
|
|
482
484
|
className: d("relative -ms-1 -me-1 w-[calc(100%+8px)] overflow-hidden ps-1 pe-1", Z && $.collapsibleText, Z && !Q && $.expandedText, ye && $.collapsedText),
|
|
483
485
|
children: /* @__PURE__ */ R("div", {
|
|
484
486
|
ref: ve,
|
|
485
|
-
className: d(Ee, "max-w-full min-w-0 text-start",
|
|
487
|
+
className: d(Ee, "max-w-full min-w-0 text-start", je),
|
|
486
488
|
children: /* @__PURE__ */ R(r, {
|
|
487
489
|
content: De,
|
|
488
490
|
isRawHtmlEnabled: !1,
|
|
489
|
-
rehypePlugins:
|
|
491
|
+
rehypePlugins: Oe,
|
|
490
492
|
components: Ne,
|
|
491
|
-
classNames:
|
|
492
|
-
urlTransform:
|
|
493
|
+
classNames: te,
|
|
494
|
+
urlTransform: A,
|
|
493
495
|
codeBlockCopyLabel: de,
|
|
494
496
|
codeBlockCopiedLabel: fe,
|
|
495
497
|
codeBlockDownloadLabel: G,
|
|
496
|
-
codeBlockTheme:
|
|
498
|
+
codeBlockTheme: j,
|
|
497
499
|
tableActionLabels: X,
|
|
498
500
|
tableDownloadFilename: he,
|
|
499
|
-
tableOnOpenInCanvas:
|
|
501
|
+
tableOnOpenInCanvas: ne,
|
|
500
502
|
tableScrollRegionAriaLabel: ge,
|
|
501
503
|
mathScrollRegionAriaLabel: _e
|
|
502
504
|
})
|
|
@@ -525,27 +527,27 @@ var V = {
|
|
|
525
527
|
]
|
|
526
528
|
})
|
|
527
529
|
});
|
|
528
|
-
},
|
|
530
|
+
}, Pe = ({ role: e, beforeContent: t, textSegments: n, onAttachmentClick: r, responseFormat: i, markdownComponents: o, markdownUrlTransform: s, ...c }) => e === a.Status ? /* @__PURE__ */ R(Oe, { labels: {
|
|
529
531
|
titleText: c.labels?.statusTitleText,
|
|
530
532
|
bodyText: c.labels?.statusBodyText ?? ""
|
|
531
|
-
} }) : e === a.User ? /* @__PURE__ */ R(
|
|
533
|
+
} }) : e === a.User ? /* @__PURE__ */ R(Ne, {
|
|
532
534
|
...c,
|
|
533
535
|
textSegments: n,
|
|
534
536
|
markdownUrlTransform: s,
|
|
535
537
|
onAttachmentClick: r
|
|
536
|
-
}) : /* @__PURE__ */ R(
|
|
538
|
+
}) : /* @__PURE__ */ R(De, {
|
|
537
539
|
...c,
|
|
538
540
|
beforeContent: t,
|
|
539
541
|
responseFormat: i,
|
|
540
542
|
markdownComponents: o,
|
|
541
543
|
markdownUrlTransform: s,
|
|
542
544
|
onAttachmentClick: r
|
|
543
|
-
}),
|
|
545
|
+
}), Fe = { button: "_button_tqo4d_3" }, Ie = ({ rect: e, actionRef: t, onReply: n, addedRevision: r, labels: i, styles: a, portalContainer: o }) => {
|
|
544
546
|
let { colors: c, typography: l, className: u, buttonClassName: f } = a ?? {}, p = l?.fontClassName ?? "dial-small-text", g = o === void 0 ? typeof document > "u" ? null : document.body : o, y = s({
|
|
545
547
|
"--cm-reply-background": c?.background,
|
|
546
548
|
"--cm-reply-hover-background": c?.hoverBackground,
|
|
547
549
|
"--cm-reply-text": c?.text
|
|
548
|
-
}), [b, x] =
|
|
550
|
+
}), [b, x] = A({
|
|
549
551
|
x: 0,
|
|
550
552
|
y: 0
|
|
551
553
|
});
|
|
@@ -577,8 +579,8 @@ var V = {
|
|
|
577
579
|
label: i.reply,
|
|
578
580
|
onClick: n,
|
|
579
581
|
textClassName: p,
|
|
580
|
-
className: d(
|
|
581
|
-
iconAfter: /* @__PURE__ */ R(
|
|
582
|
+
className: d(Fe.button, "h-8 min-h-8 min-w-11 px-2 shadow-lg mobile:h-11 mobile:min-h-11", f),
|
|
583
|
+
iconAfter: /* @__PURE__ */ R(j, {
|
|
582
584
|
size: 16,
|
|
583
585
|
stroke: _,
|
|
584
586
|
"aria-hidden": "true",
|
|
@@ -589,15 +591,16 @@ var V = {
|
|
|
589
591
|
visuallyHidden: !0,
|
|
590
592
|
children: e ? i.selectionAvailable : r > 0 ? /* @__PURE__ */ R("span", { children: i.attachmentAdded }, r) : null
|
|
591
593
|
})] }), g) : null;
|
|
592
|
-
},
|
|
593
|
-
let
|
|
594
|
-
if (
|
|
595
|
-
let { kind:
|
|
596
|
-
return
|
|
594
|
+
}, Le = { label: "_label_1nohb_1" }, Re = (e) => `Today ${e}`, ze = (e) => `Yesterday ${e}`, Be = ({ timestamp: e, locale: t, labels: n, className: r = "dial-small-text", colors: i }) => {
|
|
595
|
+
let a = Z(e);
|
|
596
|
+
if (a == null) return null;
|
|
597
|
+
let { kind: o, text: c } = xe(a, /* @__PURE__ */ new Date(), t), l = c;
|
|
598
|
+
return o === J.Today ? l = (n?.today ?? Re)(c) : o === J.Yesterday && (l = (n?.yesterday ?? ze)(c)), /* @__PURE__ */ R("time", {
|
|
597
599
|
dateTime: e,
|
|
598
|
-
className: d("self-center text-center", r),
|
|
599
|
-
|
|
600
|
+
className: d("self-center text-center", Le.label, r),
|
|
601
|
+
style: s({ "--cst-text": i?.text }),
|
|
602
|
+
children: l
|
|
600
603
|
});
|
|
601
604
|
};
|
|
602
605
|
//#endregion
|
|
603
|
-
export {
|
|
606
|
+
export { De as AssistantMessageBubble, ke as BubblePosition, V as CONVERSATION_MESSAGES_CLASS, Be as ConversationStartTimestamp, me as MessageActions, Pe as MessageBubble, Ie as MessageSelectionReply, Oe as StatusMessageBubble, Ne as UserMessageBubble };
|
|
@@ -13,6 +13,11 @@ export interface ConversationStartTimestampLabels {
|
|
|
13
13
|
/** Builds the label for a start on the previous day from the localized time. Defaults to `` (time) => `Yesterday ${time}` ``. */
|
|
14
14
|
yesterday?: (time: string) => string;
|
|
15
15
|
}
|
|
16
|
+
/** CSS custom property overrides for `ConversationStartTimestamp`. */
|
|
17
|
+
export interface ConversationStartTimestampColors {
|
|
18
|
+
/** Text color of the label. Defaults to `--text-secondary`. */
|
|
19
|
+
text?: string;
|
|
20
|
+
}
|
|
16
21
|
/** Props for `ConversationStartTimestamp`. */
|
|
17
22
|
export interface ConversationStartTimestampProps {
|
|
18
23
|
/** ISO-8601 start time, usually the first message's `timestamp`. Nothing renders when it is missing or unparsable. */
|
|
@@ -21,8 +26,10 @@ export interface ConversationStartTimestampProps {
|
|
|
21
26
|
locale?: string;
|
|
22
27
|
/** Localised "Today"/"Yesterday" templates. */
|
|
23
28
|
labels?: ConversationStartTimestampLabels;
|
|
24
|
-
/** Typography
|
|
29
|
+
/** Typography class on the label. Defaults to `'dial-small-text'`. */
|
|
25
30
|
className?: string;
|
|
31
|
+
/** Color overrides, applied as CSS custom properties. */
|
|
32
|
+
colors?: ConversationStartTimestampColors;
|
|
26
33
|
}
|
|
27
34
|
/** Props for the relative send time rendered in a message's action row. */
|
|
28
35
|
export interface MessageTimestampProps {
|
|
@@ -30,7 +37,7 @@ export interface MessageTimestampProps {
|
|
|
30
37
|
timestamp: string;
|
|
31
38
|
/** BCP 47 locale for the relative text and the absolute tooltip. Defaults to the runtime's default locale. */
|
|
32
39
|
locale?: string;
|
|
33
|
-
/** Typography
|
|
40
|
+
/** Typography class on the time. Defaults to `'dial-small-text'`. */
|
|
34
41
|
className?: string;
|
|
35
42
|
}
|
|
36
43
|
//# sourceMappingURL=conversation-start.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-start.d.ts","sourceRoot":"","sources":["../../src/models/conversation-start.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,gGAAgG;AAChG,MAAM,WAAW,sBAAsB;IACrC,gCAAgC;IAChC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,2FAA2F;IAC3F,IAAI,EAAE,MAAM,CAAC;CACd;AAED,4DAA4D;AAC5D,MAAM,WAAW,gCAAgC;IAC/C,uHAAuH;IACvH,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,iIAAiI;IACjI,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CACtC;AAED,8CAA8C;AAC9C,MAAM,WAAW,+BAA+B;IAC9C,sHAAsH;IACtH,SAAS,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,gCAAgC,CAAC;IAC1C,
|
|
1
|
+
{"version":3,"file":"conversation-start.d.ts","sourceRoot":"","sources":["../../src/models/conversation-start.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,gGAAgG;AAChG,MAAM,WAAW,sBAAsB;IACrC,gCAAgC;IAChC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,2FAA2F;IAC3F,IAAI,EAAE,MAAM,CAAC;CACd;AAED,4DAA4D;AAC5D,MAAM,WAAW,gCAAgC;IAC/C,uHAAuH;IACvH,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,iIAAiI;IACjI,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CACtC;AAED,sEAAsE;AACtE,MAAM,WAAW,gCAAgC;IAC/C,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,8CAA8C;AAC9C,MAAM,WAAW,+BAA+B;IAC9C,sHAAsH;IACtH,SAAS,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,gCAAgC,CAAC;IAC1C,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,MAAM,CAAC,EAAE,gCAAgC,CAAC;CAC3C;AAED,2EAA2E;AAC3E,MAAM,WAAW,qBAAqB;IACpC,2FAA2F;IAC3F,SAAS,EAAE,MAAM,CAAC;IAClB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -15,6 +15,8 @@ export interface MessageBubbleColors {
|
|
|
15
15
|
text?: string;
|
|
16
16
|
/** Divider color above quick-reply buttons. Falls back to `--color-secondary`. */
|
|
17
17
|
startersDivider?: string;
|
|
18
|
+
/** Text color of the send time shown when `timestamp` is set. Defaults to `--text-secondary`. */
|
|
19
|
+
timestampText?: string;
|
|
18
20
|
}
|
|
19
21
|
/** Typography overrides for message bubble components. */
|
|
20
22
|
export interface MessageBubbleTypography {
|
|
@@ -31,7 +33,7 @@ export interface MessageBubbleStyles {
|
|
|
31
33
|
className?: string;
|
|
32
34
|
/** Extra class(es) on the bubble element. */
|
|
33
35
|
bubbleClassName?: string;
|
|
34
|
-
/** Typography
|
|
36
|
+
/** Typography class on the send time shown when `timestamp` is set. Defaults to `'dial-small-text'`. */
|
|
35
37
|
timestampClassName?: string;
|
|
36
38
|
}
|
|
37
39
|
/** Localised labels for message bubble components. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-bubble.d.ts","sourceRoot":"","sources":["../../src/models/message-bubble.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,0BAA0B,EAC1B,WAAW,EACX,cAAc,EACd,aAAa,EACb,WAAW,EACZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAA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U,CAAC;IAChC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B,8CAA8C;IAC9C,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IACnD,2FAA2F;IAC3F,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,gKAAgK;IAChK,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2DAA2D;IAC3D,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,+FAA+F;IAC/F,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAED,kGAAkG;AAClG,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,GAC1D,IAAI,CACF,sBAAsB,EACtB,UAAU,GAAG,oBAAoB,GAAG,cAAc,CACnD,GAAG;IACF,8DAA8D;IAC9D,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-conversation-messages",
|
|
3
3
|
"description": "Message bubble components for rendering conversation history with actions and source citations",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.256",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@tabler/icons-react": "^3.44.0",
|
|
21
21
|
"react-markdown": "^10.1.0",
|
|
22
|
-
"@epam/ai-dial-attachment-input": "1.3.0-dev.
|
|
22
|
+
"@epam/ai-dial-attachment-input": "1.3.0-dev.256"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^19.2.8",
|
|
26
26
|
"react-dom": "^19.2.8",
|
|
27
|
-
"@epam/ai-dial-chat-shared": "1.3.0-dev.
|
|
27
|
+
"@epam/ai-dial-chat-shared": "1.3.0-dev.256",
|
|
28
28
|
"@epam/ai-dial-ui-kit": "^0.16.0-dev.56"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|