@epam/ai-dial-chat-shared 1.2.0-dev.155 → 1.2.0-dev.159
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/dial.js +2 -2
- package/index.d.ts +3 -0
- package/index.js +42 -42
- package/package.json +1 -1
package/constants/dial.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -2137,6 +2137,9 @@ export declare interface ProviderInfo {
|
|
|
2137
2137
|
label: string;
|
|
2138
2138
|
}
|
|
2139
2139
|
|
|
2140
|
+
/** DIAL Core bucket that holds published (organization-wide) resources, readable by every user. */
|
|
2141
|
+
export declare const PUBLIC_BUCKET = "public";
|
|
2142
|
+
|
|
2140
2143
|
/**
|
|
2141
2144
|
* Rehype plugin that wraps every `{{name}}` placeholder in a span so it can be
|
|
2142
2145
|
* styled apart from the surrounding prose. Placeholders inside code are left
|
package/index.js
CHANGED
|
@@ -24,45 +24,45 @@ import { ENTITY_TYPE_BG_COLOR as ne, ENTITY_TYPE_COLOR as re } from "./constants
|
|
|
24
24
|
import { PROMPT_PARAM_DEFAULT_SEPARATOR as ie, PROMPT_PARAM_PATTERN as ae, PROMPT_VARIABLE_CLASS_NAME as oe, buildPromptParamDefaults as se, extractPromptParams as ce, rehypePromptVariables as le, resolvePromptParams as ue } from "./utils/prompt-variables.js";
|
|
25
25
|
import { generateUUID as de } from "./utils/generate-uuid.js";
|
|
26
26
|
import { BASE_LG_ICON_PROPS as fe, BASE_MD_ICON_PROPS as pe } from "./constants/icon.js";
|
|
27
|
-
import { HIDDEN_FILE as me } from "./constants/dial.js";
|
|
28
|
-
import { TAG_INPUT_TAG_CLASS_NAME as
|
|
29
|
-
import { MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as
|
|
30
|
-
import { MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as
|
|
31
|
-
import { SELECT_LIST_MAX_HEIGHT_CLASS_NAME as
|
|
32
|
-
import { DESKTOP_BREAKPOINT_PX as
|
|
33
|
-
import { pickAvatarColor as
|
|
34
|
-
import { extractInitials as
|
|
35
|
-
import { InitialsAvatar as
|
|
36
|
-
import { DeploymentIcon as
|
|
37
|
-
import { CopyButton as
|
|
38
|
-
import { PanelEmptyState as
|
|
39
|
-
import { ItemHeader as
|
|
40
|
-
import { EntityTypeLabel as
|
|
41
|
-
import { FeaturedChip as
|
|
42
|
-
import { EntityHeader as
|
|
43
|
-
import { ResourceSummary as
|
|
44
|
-
import { TableHeader as
|
|
45
|
-
import { TextRefinementState as
|
|
46
|
-
import { TextRefinementField as
|
|
47
|
-
import { CHAT_SHARED_CLASS as
|
|
48
|
-
import { useCodeCopy as
|
|
49
|
-
import { restrainedSyntaxTheme as
|
|
50
|
-
import { MarkdownCodeBlock as
|
|
51
|
-
import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as
|
|
52
|
-
import { MarkdownTable as
|
|
53
|
-
import { MarkdownRenderer as
|
|
54
|
-
import { COMPACT_MARKDOWN_CLASS_NAMES as
|
|
55
|
-
import { PlainTextRenderer as
|
|
56
|
-
import { MDMessageViewer as
|
|
57
|
-
import { MarkdownWithPlaceholders as
|
|
58
|
-
import { useCollapsedText as
|
|
59
|
-
import { useAvailableHeightCap as
|
|
60
|
-
import { useIsMobile as
|
|
61
|
-
import { DialFileManagerActionProfile as
|
|
62
|
-
import { getParentFolderPath as
|
|
63
|
-
import { FileUploadStatus as
|
|
64
|
-
import { useGridEditingScroll as
|
|
65
|
-
import { OperationLoaderModal as
|
|
66
|
-
import { UploadProgressModal as
|
|
67
|
-
import { isSkillSelectionUnsupported as
|
|
68
|
-
export { f as AttachmentErrorReason, p as AttachmentType, fe as BASE_LG_ICON_PROPS, pe as BASE_MD_ICON_PROPS,
|
|
27
|
+
import { HIDDEN_FILE as me, PUBLIC_BUCKET as he } from "./constants/dial.js";
|
|
28
|
+
import { TAG_INPUT_TAG_CLASS_NAME as ge } from "./constants/tag-input.js";
|
|
29
|
+
import { MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as _e, RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE as ve, RESIZABLE_TEXTAREA_CLASS_NAME as ye } from "./constants/resizable-fields.js";
|
|
30
|
+
import { MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as be } from "./constants/markdown-editor.js";
|
|
31
|
+
import { SELECT_LIST_MAX_HEIGHT_CLASS_NAME as xe, SELECT_LIST_MAX_HEIGHT_PX as Se } from "./constants/select-list.js";
|
|
32
|
+
import { DESKTOP_BREAKPOINT_PX as Ce, DESKTOP_MEDIA_QUERY as we, MOBILE_MAX_WIDTH_PX as Te, MOBILE_MEDIA_QUERY as Ee } from "./constants/breakpoint.js";
|
|
33
|
+
import { pickAvatarColor as De } from "./utils/avatar-color.js";
|
|
34
|
+
import { extractInitials as Oe } from "./utils/initials.js";
|
|
35
|
+
import { InitialsAvatar as ke } from "./components/InitialsAvatar/InitialsAvatar.js";
|
|
36
|
+
import { DeploymentIcon as Ae } from "./components/DeploymentIcon/DeploymentIcon.js";
|
|
37
|
+
import { CopyButton as je, CopyIconButton as Me } from "./components/CopyButton/CopyButton.js";
|
|
38
|
+
import { PanelEmptyState as Ne } from "./components/PanelEmptyState/PanelEmptyState.js";
|
|
39
|
+
import { ItemHeader as Pe } from "./components/ItemHeader/ItemHeader.js";
|
|
40
|
+
import { EntityTypeLabel as Fe } from "./components/EntityTypeLabel/EntityTypeLabel.js";
|
|
41
|
+
import { FeaturedChip as Ie } from "./components/FeaturedChip/FeaturedChip.js";
|
|
42
|
+
import { EntityHeader as Le } from "./components/EntityHeader/EntityHeader.js";
|
|
43
|
+
import { ResourceSummary as Re } from "./components/ResourceSummary/ResourceSummary.js";
|
|
44
|
+
import { TableHeader as ze } from "./components/MarkdownRenderer/Table/TableHeader.js";
|
|
45
|
+
import { TextRefinementState as Be, useTextRefinement as Ve } from "./hooks/useTextRefinement.js";
|
|
46
|
+
import { TextRefinementField as He } from "./components/TextRefinementField/TextRefinementField.js";
|
|
47
|
+
import { CHAT_SHARED_CLASS as Ue } from "./constants/public-class-names.js";
|
|
48
|
+
import { useCodeCopy as We } from "./hooks/useCodeCopy.js";
|
|
49
|
+
import { restrainedSyntaxTheme as Ge } from "./components/MarkdownRenderer/CodeBlock/syntax-theme.js";
|
|
50
|
+
import { MarkdownCodeBlock as Ke } from "./components/MarkdownRenderer/CodeBlock/CodeBlock.js";
|
|
51
|
+
import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as qe, MARKDOWN_TABLE_CSV_MIME_TYPE as Je, MarkdownTableCopyFormat as Ye, serializeMarkdownTableRows as Xe } from "./components/MarkdownRenderer/Table/table-serialization.js";
|
|
52
|
+
import { MarkdownTable as Ze } from "./components/MarkdownRenderer/Table/MarkdownTable.js";
|
|
53
|
+
import { MarkdownRenderer as Qe, defaultMarkdownComponents as $e } from "./components/MarkdownRenderer/MarkdownRenderer.js";
|
|
54
|
+
import { COMPACT_MARKDOWN_CLASS_NAMES as et, DEFAULT_MARKDOWN_CLASS_NAMES as tt } from "./components/MarkdownRenderer/markdown-class-names.js";
|
|
55
|
+
import { PlainTextRenderer as nt } from "./components/MarkdownRenderer/PlainTextRenderer.js";
|
|
56
|
+
import { MDMessageViewer as rt } from "./components/MarkdownRenderer/MDMessageViewer.js";
|
|
57
|
+
import { MarkdownWithPlaceholders as it } from "./components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.js";
|
|
58
|
+
import { useCollapsedText as at } from "./hooks/useCollapsedText.js";
|
|
59
|
+
import { useAvailableHeightCap as ot } from "./hooks/useAvailableHeightCap.js";
|
|
60
|
+
import { useIsMobile as st } from "./hooks/useIsMobile.js";
|
|
61
|
+
import { DialFileManagerActionProfile as ct, DialFileManagerVariant as lt } from "./file-manager/file-manager-variant.js";
|
|
62
|
+
import { getParentFolderPath as ut, isHiddenPath as dt } from "./file-manager/path.js";
|
|
63
|
+
import { FileUploadStatus as ft } from "./file-manager/upload-batch.js";
|
|
64
|
+
import { useGridEditingScroll as pt } from "./file-manager/useGridEditingScroll/useGridEditingScroll.js";
|
|
65
|
+
import { OperationLoaderModal as mt } from "./file-manager/OperationLoaderModal/OperationLoaderModal.js";
|
|
66
|
+
import { UploadProgressModal as ht } from "./file-manager/UploadProgressModal/UploadProgressModal.js";
|
|
67
|
+
import { isSkillSelectionUnsupported as gt } from "./utils/is-skill-selection-unsupported.js";
|
|
68
|
+
export { f as AttachmentErrorReason, p as AttachmentType, fe as BASE_LG_ICON_PROPS, pe as BASE_MD_ICON_PROPS, Ue as CHAT_SHARED_CLASS, et as COMPACT_MARKDOWN_CLASS_NAMES, m as CatalogEntityType, _ as CodeBlockTheme, e as ConversationTransferErrorCode, t as ConversationTransferJobStatus, n as ConversationTransferSubjectKind, r as ConversationTransferUnitKind, i as ConversationTransferWarningCode, je as CopyButton, Me as CopyIconButton, tt as DEFAULT_MARKDOWN_CLASS_NAMES, qe as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, Ce as DESKTOP_BREAKPOINT_PX, we as DESKTOP_MEDIA_QUERY, Ae as DeploymentIcon, ct as DialFileManagerActionProfile, lt as DialFileManagerVariant, ne as ENTITY_TYPE_BG_COLOR, re as ENTITY_TYPE_COLOR, Le as EntityHeader, Fe as EntityTypeLabel, Ie as FeaturedChip, h as FileExtension, ft as FileUploadStatus, a as FilterTab, me as HIDDEN_FILE, ke as InitialsAvatar, Pe as ItemHeader, _e as MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME, be as MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME, Je as MARKDOWN_TABLE_CSV_MIME_TYPE, rt as MDMessageViewer, g as MIMEType, v as MIME_TYPE_ALIASES, y as MIME_TYPE_AUDIO_PREFIX, b as MIME_TYPE_EXT_MAP, x as MIME_TYPE_WILDCARD, Te as MOBILE_MAX_WIDTH_PX, Ee as MOBILE_MEDIA_QUERY, Ke as MarkdownCodeBlock, Qe as MarkdownRenderer, Ze as MarkdownTable, Ye as MarkdownTableCopyFormat, it as MarkdownWithPlaceholders, o as MessageRating, s as MessageRole, mt as OperationLoaderModal, A as PROHIBITED_CONVERSATION_NAME_CHARS_RE, ie as PROMPT_PARAM_DEFAULT_SEPARATOR, ae as PROMPT_PARAM_PATTERN, oe as PROMPT_VARIABLE_CLASS_NAME, he as PUBLIC_BUCKET, Ne as PanelEmptyState, nt as PlainTextRenderer, ve as RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE, ye as RESIZABLE_TEXTAREA_CLASS_NAME, c as RequestStatus, Re as ResourceSummary, d as ResponseFormat, xe as SELECT_LIST_MAX_HEIGHT_CLASS_NAME, Se as SELECT_LIST_MAX_HEIGHT_PX, l as StageStatus, u as StatusEvent, ge as TAG_INPUT_TAG_CLASS_NAME, ze as TableHeader, He as TextRefinementField, Be as TextRefinementState, ht as UploadProgressModal, Y as base64ToBlob, I as buildCssVars, se as buildPromptParamDefaults, V as copyMarkdownAsRichText, H as copyToClipboard, $e as defaultMarkdownComponents, X as downloadTextFile, Z as ensureDownloadFilename, Oe as extractInitials, ce as extractPromptParams, K as formatCost, G as formatFileSize, W as formatLastUsed, q as formatPrice, J as formatUnitPrice, de as generateUUID, S as getAttachmentTypeFromMime, C as getBaseMimeType, Q as getFileExtensionForLanguage, ut as getParentFolderPath, j as getUtf8ByteLength, w as inferMimeTypeFromPath, D as isAnnotationSelector, B as isAudioTranscriptionSupported, dt as isHiddenPath, gt as isSkillSelectionUnsupported, L as isStatusMessage, U as markdownToRichTextHtml, F as mergeClasses, R as messageAttachmentToDisplayAttachment, z as messageAttachmentsToDisplayAttachments, T as normalizeMimeType, O as normalizePersistedHtmlTagAttachmentType, k as normalizeRawAnnotations, De as pickAvatarColor, le as rehypePromptVariables, ue as resolvePromptParams, Ge as restrainedSyntaxTheme, M as sanitizeConversationName, Xe as serializeMarkdownTableRows, N as stripTrailingDots, E as stripUrlQueryAndFragment, $ as triggerAnchorDownload, ee as triggerBlobDownload, P as truncateToUtf8Bytes, te as tryBase64ToBytes, ot as useAvailableHeightCap, We as useCodeCopy, at as useCollapsedText, pt as useGridEditingScroll, st as useIsMobile, Ve as useTextRefinement };
|
package/package.json
CHANGED