@epam/ai-dial-chat-shared 1.3.0-dev.309 → 1.3.0-dev.310
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/constants/breakpoint.d.ts +6 -0
- package/constants/breakpoint.d.ts.map +1 -1
- package/constants/breakpoint.js +2 -2
- package/hooks/useIsPhone.d.ts +3 -0
- package/hooks/useIsPhone.d.ts.map +1 -0
- package/hooks/useIsPhone.js +13 -0
- package/hooks/useIsTablet.d.ts +3 -0
- package/hooks/useIsTablet.d.ts.map +1 -0
- package/hooks/useIsTablet.js +13 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +52 -50
- package/package.json +2 -2
|
@@ -6,4 +6,10 @@ export declare const MOBILE_MAX_WIDTH_PX: number;
|
|
|
6
6
|
export declare const DESKTOP_MEDIA_QUERY = "(min-width: 1280px)";
|
|
7
7
|
/** `matchMedia` query matching the mobile/tablet band (up to 1279px). */
|
|
8
8
|
export declare const MOBILE_MEDIA_QUERY = "(max-width: 1279px)";
|
|
9
|
+
/** Inclusive boundary for anchored menus and bounded tablet panels, independent of layout. */
|
|
10
|
+
export declare const TABLET_BREAKPOINT_PX = 768;
|
|
11
|
+
/** Phone menu presentation, including fractional widths below 768px. */
|
|
12
|
+
export declare const PHONE_MEDIA_QUERY = "(width < 768px)";
|
|
13
|
+
/** Bounded overlays without changing the app's mobile layout policy. */
|
|
14
|
+
export declare const TABLET_MEDIA_QUERY = "(768px <= width < 1280px)";
|
|
9
15
|
//# sourceMappingURL=breakpoint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../src/constants/breakpoint.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../src/constants/breakpoint.ts"],"names":[],"mappings":"AAKA,4EAA4E;AAC5E,eAAO,MAAM,qBAAqB,OAAO,CAAC;AAE1C,oFAAoF;AACpF,eAAO,MAAM,mBAAmB,QAA4B,CAAC;AAE7D,uEAAuE;AACvE,eAAO,MAAM,mBAAmB,wBAA4C,CAAC;AAE7E,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,wBAA0C,CAAC;AAE1E,8FAA8F;AAC9F,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC,wEAAwE;AACxE,eAAO,MAAM,iBAAiB,oBAAwC,CAAC;AAEvE,wEAAwE;AACxE,eAAO,MAAM,kBAAkB,8BAAsE,CAAC"}
|
package/constants/breakpoint.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/constants/breakpoint.ts
|
|
2
|
-
var e = 1280, t = 1279, n = `(min-width: ${e}px)`, r = `(max-width: ${t}px)`;
|
|
2
|
+
var e = 1280, t = 1279, n = `(min-width: ${e}px)`, r = `(max-width: ${t}px)`, i = 768, a = "(width < 768px)", o = `(768px <= width < ${e}px)`;
|
|
3
3
|
//#endregion
|
|
4
|
-
export { e as DESKTOP_BREAKPOINT_PX, n as DESKTOP_MEDIA_QUERY, t as MOBILE_MAX_WIDTH_PX, r as MOBILE_MEDIA_QUERY };
|
|
4
|
+
export { e as DESKTOP_BREAKPOINT_PX, n as DESKTOP_MEDIA_QUERY, t as MOBILE_MAX_WIDTH_PX, r as MOBILE_MEDIA_QUERY, a as PHONE_MEDIA_QUERY, i as TABLET_BREAKPOINT_PX, o as TABLET_MEDIA_QUERY };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsPhone.d.ts","sourceRoot":"","sources":["../../src/hooks/useIsPhone.ts"],"names":[],"mappings":"AAQA,oFAAoF;AACpF,eAAO,MAAM,UAAU,QAAO,OAiB7B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PHONE_MEDIA_QUERY as e } from "../constants/breakpoint.js";
|
|
2
|
+
import { useEffect as t, useState as n } from "react";
|
|
3
|
+
//#region src/hooks/useIsPhone.ts
|
|
4
|
+
var r = () => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(width < 768px)").matches, i = () => {
|
|
5
|
+
let [i, a] = n(r);
|
|
6
|
+
return t(() => {
|
|
7
|
+
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
8
|
+
let t = window.matchMedia(e), n = () => a(t.matches);
|
|
9
|
+
return n(), t.addEventListener("change", n), () => t.removeEventListener("change", n);
|
|
10
|
+
}, []), i;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { i as useIsPhone };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsTablet.d.ts","sourceRoot":"","sources":["../../src/hooks/useIsTablet.ts"],"names":[],"mappings":"AAQA,qFAAqF;AACrF,eAAO,MAAM,WAAW,QAAO,OAiB9B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TABLET_MEDIA_QUERY as e } from "../constants/breakpoint.js";
|
|
2
|
+
import { useEffect as t, useState as n } from "react";
|
|
3
|
+
//#region src/hooks/useIsTablet.ts
|
|
4
|
+
var r = () => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(768px <= width < 1280px)").matches, i = () => {
|
|
5
|
+
let [i, a] = n(r);
|
|
6
|
+
return t(() => {
|
|
7
|
+
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
8
|
+
let t = window.matchMedia(e), n = () => a(t.matches);
|
|
9
|
+
return n(), t.addEventListener("change", n), () => t.removeEventListener("change", n);
|
|
10
|
+
}, []), i;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { i as useIsTablet };
|
package/index.d.ts
CHANGED
|
@@ -74,6 +74,8 @@ export * from './entry-points/markdown';
|
|
|
74
74
|
export * from './hooks/useAvailableHeightCap';
|
|
75
75
|
export * from './hooks/useControlErrorAssociation';
|
|
76
76
|
export * from './hooks/useIsMobile';
|
|
77
|
+
export * from './hooks/useIsPhone';
|
|
78
|
+
export * from './hooks/useIsTablet';
|
|
77
79
|
export * from './hooks/useIsTextClipped';
|
|
78
80
|
export * from './hooks/useTextRefinement';
|
|
79
81
|
export * from './hooks/useUnsavedChangesGuard';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uCAAuC,CAAC;AACtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0CAA0C,CAAC;AACzD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uB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
CHANGED
|
@@ -32,53 +32,55 @@ import { TAG_INPUT_TAG_CLASS_NAME as Ee } from "./constants/tag-input.js";
|
|
|
32
32
|
import { MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME as De, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as Oe, RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE as ke, RESIZABLE_TEXTAREA_CLASS_NAME as Ae } from "./constants/resizable-fields.js";
|
|
33
33
|
import { MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as je } from "./constants/markdown-editor.js";
|
|
34
34
|
import { SELECT_LIST_MAX_HEIGHT_CLASS_NAME as Me, SELECT_LIST_MAX_HEIGHT_PX as Ne } from "./constants/select-list.js";
|
|
35
|
-
import { DESKTOP_BREAKPOINT_PX as Pe, DESKTOP_MEDIA_QUERY as Fe, MOBILE_MAX_WIDTH_PX as Ie, MOBILE_MEDIA_QUERY as Le } from "./constants/breakpoint.js";
|
|
36
|
-
import { InitialsAvatar as
|
|
37
|
-
import { DeploymentIcon as
|
|
38
|
-
import { CopyButton as
|
|
39
|
-
import { extractInitials as
|
|
40
|
-
import { pickAvatarColor as
|
|
41
|
-
import { PanelEmptyState as
|
|
42
|
-
import { NewVersionAlert as
|
|
43
|
-
import { NotificationStack as
|
|
44
|
-
import { ItemHeader as
|
|
45
|
-
import { EntityTypeLabel as
|
|
46
|
-
import { FeaturedChip as
|
|
47
|
-
import { EntityHeader as
|
|
48
|
-
import { ResourceSummary as
|
|
49
|
-
import { ConfirmationIdentityCard as
|
|
50
|
-
import { ConfirmationIdentityRow as
|
|
51
|
-
import { ConfirmationView as
|
|
52
|
-
import { ConfirmationFooter as
|
|
53
|
-
import { ConfirmationDialog as
|
|
54
|
-
import { DELETE_CONFIRMATION_MAX_LISTED_NAMES as
|
|
55
|
-
import { DeleteConfirmationDialog as
|
|
56
|
-
import { TableHeader as
|
|
57
|
-
import { TextRefinementState as
|
|
58
|
-
import { TextRefinementField as
|
|
59
|
-
import { CHAT_SHARED_CLASS as
|
|
60
|
-
import { useCodeCopy as
|
|
61
|
-
import { restrainedSyntaxTheme as
|
|
62
|
-
import { MarkdownCodeBlock as
|
|
63
|
-
import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as
|
|
64
|
-
import { MarkdownTable as
|
|
65
|
-
import { MarkdownRenderer as
|
|
66
|
-
import { COMPACT_MARKDOWN_CLASS_NAMES as
|
|
67
|
-
import { PlainTextRenderer as
|
|
68
|
-
import { MDMessageViewer as
|
|
69
|
-
import { MarkdownWithPlaceholders as
|
|
70
|
-
import { buildInlineSegmentSource as
|
|
71
|
-
import { useCollapsedText as
|
|
72
|
-
import { useAvailableHeightCap as
|
|
73
|
-
import { useControlErrorAssociation as
|
|
74
|
-
import { useIsMobile as
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
|
|
35
|
+
import { DESKTOP_BREAKPOINT_PX as Pe, DESKTOP_MEDIA_QUERY as Fe, MOBILE_MAX_WIDTH_PX as Ie, MOBILE_MEDIA_QUERY as Le, PHONE_MEDIA_QUERY as Re, TABLET_BREAKPOINT_PX as ze, TABLET_MEDIA_QUERY as Be } from "./constants/breakpoint.js";
|
|
36
|
+
import { InitialsAvatar as Ve } from "./components/InitialsAvatar/InitialsAvatar.js";
|
|
37
|
+
import { DeploymentIcon as He } from "./components/DeploymentIcon/DeploymentIcon.js";
|
|
38
|
+
import { CopyButton as Ue, CopyIconButton as We } from "./components/CopyButton/CopyButton.js";
|
|
39
|
+
import { extractInitials as Ge } from "./utils/initials.js";
|
|
40
|
+
import { pickAvatarColor as Ke } from "./utils/avatar-color.js";
|
|
41
|
+
import { PanelEmptyState as qe } from "./components/PanelEmptyState/PanelEmptyState.js";
|
|
42
|
+
import { NewVersionAlert as Je } from "./components/NewVersionAlert/NewVersionAlert.js";
|
|
43
|
+
import { NotificationStack as Ye } from "./components/NotificationStack/NotificationStack.js";
|
|
44
|
+
import { ItemHeader as Xe } from "./components/ItemHeader/ItemHeader.js";
|
|
45
|
+
import { EntityTypeLabel as Ze } from "./components/EntityTypeLabel/EntityTypeLabel.js";
|
|
46
|
+
import { FeaturedChip as Qe } from "./components/FeaturedChip/FeaturedChip.js";
|
|
47
|
+
import { EntityHeader as $e } from "./components/EntityHeader/EntityHeader.js";
|
|
48
|
+
import { ResourceSummary as et } from "./components/ResourceSummary/ResourceSummary.js";
|
|
49
|
+
import { ConfirmationIdentityCard as tt } from "./components/ConfirmationIdentityCard/ConfirmationIdentityCard.js";
|
|
50
|
+
import { ConfirmationIdentityRow as nt } from "./components/ConfirmationIdentityRow/ConfirmationIdentityRow.js";
|
|
51
|
+
import { ConfirmationView as rt } from "./components/ConfirmationView/ConfirmationView.js";
|
|
52
|
+
import { ConfirmationFooter as it } from "./components/ConfirmationView/ConfirmationFooter.js";
|
|
53
|
+
import { ConfirmationDialog as at } from "./components/ConfirmationDialog/ConfirmationDialog.js";
|
|
54
|
+
import { DELETE_CONFIRMATION_MAX_LISTED_NAMES as ot, DeleteConfirmationView as st } from "./components/DeleteConfirmationView/DeleteConfirmationView.js";
|
|
55
|
+
import { DeleteConfirmationDialog as ct } from "./components/DeleteConfirmationDialog/DeleteConfirmationDialog.js";
|
|
56
|
+
import { TableHeader as lt } from "./components/MarkdownRenderer/Table/TableHeader.js";
|
|
57
|
+
import { TextRefinementState as ut, useTextRefinement as dt } from "./hooks/useTextRefinement.js";
|
|
58
|
+
import { TextRefinementField as ft } from "./components/TextRefinementField/TextRefinementField.js";
|
|
59
|
+
import { CHAT_SHARED_CLASS as pt } from "./constants/public-class-names.js";
|
|
60
|
+
import { useCodeCopy as mt } from "./hooks/useCodeCopy.js";
|
|
61
|
+
import { restrainedSyntaxTheme as ht } from "./components/MarkdownRenderer/CodeBlock/syntax-theme.js";
|
|
62
|
+
import { MarkdownCodeBlock as gt } from "./components/MarkdownRenderer/CodeBlock/CodeBlock.js";
|
|
63
|
+
import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as _t, MARKDOWN_TABLE_CSV_MIME_TYPE as vt, MarkdownTableCopyFormat as yt, serializeMarkdownTableRows as bt } from "./components/MarkdownRenderer/Table/table-serialization.js";
|
|
64
|
+
import { MarkdownTable as xt } from "./components/MarkdownRenderer/Table/MarkdownTable.js";
|
|
65
|
+
import { MarkdownRenderer as St, defaultMarkdownComponents as Ct } from "./components/MarkdownRenderer/MarkdownRenderer.js";
|
|
66
|
+
import { COMPACT_MARKDOWN_CLASS_NAMES as wt, DEFAULT_MARKDOWN_CLASS_NAMES as Tt } from "./components/MarkdownRenderer/markdown-class-names.js";
|
|
67
|
+
import { PlainTextRenderer as Et } from "./components/MarkdownRenderer/PlainTextRenderer.js";
|
|
68
|
+
import { MDMessageViewer as Dt } from "./components/MarkdownRenderer/MDMessageViewer.js";
|
|
69
|
+
import { MarkdownWithPlaceholders as Ot } from "./components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.js";
|
|
70
|
+
import { buildInlineSegmentSource as kt, createInlineSegmentComponents as At, createRehypeInlineSegments as jt } from "./utils/inline-segments.js";
|
|
71
|
+
import { useCollapsedText as Mt } from "./hooks/useCollapsedText.js";
|
|
72
|
+
import { useAvailableHeightCap as Nt } from "./hooks/useAvailableHeightCap.js";
|
|
73
|
+
import { useControlErrorAssociation as Pt } from "./hooks/useControlErrorAssociation.js";
|
|
74
|
+
import { useIsMobile as Ft } from "./hooks/useIsMobile.js";
|
|
75
|
+
import { useIsPhone as It } from "./hooks/useIsPhone.js";
|
|
76
|
+
import { useIsTablet as Lt } from "./hooks/useIsTablet.js";
|
|
77
|
+
import { useIsTextClipped as Rt } from "./hooks/useIsTextClipped.js";
|
|
78
|
+
import { useUnsavedChangesGuard as zt } from "./hooks/useUnsavedChangesGuard.js";
|
|
79
|
+
import { DialFileManagerActionProfile as Bt, DialFileManagerVariant as Vt } from "./file-manager/file-manager-variant.js";
|
|
80
|
+
import { getParentFolderPath as Ht, isHiddenPath as Ut } from "./file-manager/path.js";
|
|
81
|
+
import { FileDownloadStatus as Wt, FileUploadFailureReason as Gt, FileUploadStatus as Kt, isDownloadInProgress as qt, isUploadInProgress as Jt } from "./file-manager/upload-batch.js";
|
|
82
|
+
import { useGridEditingScroll as Yt } from "./file-manager/useGridEditingScroll/useGridEditingScroll.js";
|
|
83
|
+
import { OperationLoaderModal as Xt } from "./file-manager/OperationLoaderModal/OperationLoaderModal.js";
|
|
84
|
+
import { isSkillSelectionUnsupported as Zt } from "./utils/is-skill-selection-unsupported.js";
|
|
85
|
+
import { toConversationTransferQueueItems as Qt } from "./conversation-transfer/conversation-transfer-queue.js";
|
|
86
|
+
export { m as AttachmentErrorReason, h as AttachmentType, Se as BASE_LG_ICON_PROPS, Ce as BASE_MD_ICON_PROPS, s as BackgroundGenerationStatus, pt as CHAT_SHARED_CLASS, wt as COMPACT_MARKDOWN_CLASS_NAMES, g as CatalogEntityType, y as CodeBlockTheme, at as ConfirmationDialog, it as ConfirmationFooter, tt as ConfirmationIdentityCard, nt as ConfirmationIdentityRow, rt as ConfirmationView, a as ConversationKind, e as ConversationTransferErrorCode, t as ConversationTransferJobStatus, n as ConversationTransferSubjectKind, r as ConversationTransferUnitKind, i as ConversationTransferWarningCode, Ue as CopyButton, We as CopyIconButton, Tt as DEFAULT_MARKDOWN_CLASS_NAMES, _t as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, ot as DELETE_CONFIRMATION_MAX_LISTED_NAMES, Pe as DESKTOP_BREAKPOINT_PX, Fe as DESKTOP_MEDIA_QUERY, ct as DeleteConfirmationDialog, st as DeleteConfirmationView, He as DeploymentIcon, Bt as DialFileManagerActionProfile, Vt as DialFileManagerVariant, z as ENTITY_DESCRIPTION_MAX_LENGTH, B as ENTITY_INSTRUCTIONS_MAX_LENGTH, V as ENTITY_NAME_MAX_LENGTH, fe as ENTITY_TYPE_BG_COLOR, pe as ENTITY_TYPE_COLOR, $e as EntityHeader, Ze as EntityTypeLabel, Qe as FeaturedChip, Wt as FileDownloadStatus, _ as FileExtension, Gt as FileUploadFailureReason, Kt as FileUploadStatus, o as FilterTab, we as HIDDEN_FILE, Ve as InitialsAvatar, Xe as ItemHeader, De as MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME, Oe as MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME, je as MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME, vt as MARKDOWN_TABLE_CSV_MIME_TYPE, Dt as MDMessageViewer, v as MIMEType, b as MIME_TYPE_ALIASES, x as MIME_TYPE_AUDIO_PREFIX, S as MIME_TYPE_EXT_MAP, C as MIME_TYPE_WILDCARD, Ie as MOBILE_MAX_WIDTH_PX, Le as MOBILE_MEDIA_QUERY, gt as MarkdownCodeBlock, St as MarkdownRenderer, xt as MarkdownTable, yt as MarkdownTableCopyFormat, Ot as MarkdownWithPlaceholders, c as MessageRating, l as MessageRole, Je as NewVersionAlert, Ye as NotificationStack, Xt as OperationLoaderModal, Re as PHONE_MEDIA_QUERY, P as PROHIBITED_CONVERSATION_NAME_CHARS_RE, me as PROMPT_PARAM_DEFAULT_SEPARATOR, he as PROMPT_PARAM_PATTERN, ge as PROMPT_VARIABLE_CLASS_NAME, Te as PUBLIC_BUCKET, qe as PanelEmptyState, Et as PlainTextRenderer, ke as RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE, Ae as RESIZABLE_TEXTAREA_CLASS_NAME, u as RequestStatus, et as ResourceSummary, p as ResponseFormat, Me as SELECT_LIST_MAX_HEIGHT_CLASS_NAME, Ne as SELECT_LIST_MAX_HEIGHT_PX, d as StageStatus, f as StatusEvent, ze as TABLET_BREAKPOINT_PX, Be as TABLET_MEDIA_QUERY, Ee as TAG_INPUT_TAG_CLASS_NAME, lt as TableHeader, ft as TextRefinementField, ut as TextRefinementState, ie as base64ToBlob, G as buildCssVars, kt as buildInlineSegmentSource, _e as buildPromptParamDefaults, X as copyMarkdownAsRichText, Z as copyToClipboard, At as createInlineSegmentComponents, jt as createRehypeInlineSegments, M as decodeJsonFromBase64, Ct as defaultMarkdownComponents, ae as downloadTextFile, N as encodeJsonToBase64, oe as ensureDownloadFilename, H as exceedsMaxLength, Ge as extractInitials, ve as extractPromptParams, te as formatCost, ee as formatFileSize, $ as formatLastUsed, ne as formatPrice, re as formatUnitPrice, xe as generateUUID, w as getAttachmentTypeFromMime, T as getBaseMimeType, se as getFileExtensionForLanguage, Ht as getParentFolderPath, F as getUtf8ByteLength, U as hasControlCharacters, E as inferMimeTypeFromPath, k as isAnnotationSelector, Y as isAudioTranscriptionSupported, qt as isDownloadInProgress, Ut as isHiddenPath, Zt as isSkillSelectionUnsupported, K as isStatusMessage, de as isSyntaxHighlightingAllowed, Jt as isUploadInProgress, Q as markdownToRichTextHtml, W as mergeClasses, q as messageAttachmentToDisplayAttachment, J as messageAttachmentsToDisplayAttachments, D as normalizeMimeType, A as normalizePersistedHtmlTagAttachmentType, j as normalizeRawAnnotations, Ke as pickAvatarColor, ye as rehypePromptVariables, be as resolvePromptParams, ht as restrainedSyntaxTheme, I as sanitizeConversationName, bt as serializeMarkdownTableRows, L as stripTrailingDots, O as stripUrlQueryAndFragment, Qt as toConversationTransferQueueItems, ce as triggerAnchorDownload, le as triggerBlobDownload, R as truncateToUtf8Bytes, ue as tryBase64ToBytes, Nt as useAvailableHeightCap, mt as useCodeCopy, Mt as useCollapsedText, Pt as useControlErrorAssociation, Yt as useGridEditingScroll, Ft as useIsMobile, It as useIsPhone, Lt as useIsTablet, Rt as useIsTextClipped, dt as useTextRefinement, zt as useUnsavedChangesGuard };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-chat-shared",
|
|
3
3
|
"description": "Shared domain models, utilities, and UI components for AI DIAL Chat libraries",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.310",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "^19.2.8",
|
|
35
35
|
"react-dom": "^19.2.8",
|
|
36
|
-
"@epam/ai-dial-ui-kit": "^0.16.0-dev.
|
|
36
|
+
"@epam/ai-dial-ui-kit": "^0.16.0-dev.71",
|
|
37
37
|
"@epam/ai-dial-react-file-manager": "^0.4.0-dev.25"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|