@epam/ai-dial-chat-shared 1.4.0-dev.8 → 1.4.0-dev.82
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/DeploymentIcon/DeploymentIcon.d.ts.map +1 -1
- package/components/DeploymentIcon/DeploymentIcon.js +4 -0
- package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts.map +1 -1
- package/file-manager/DialFileManagerShell/DialFileManagerShell.js +2 -1
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +82 -80
- package/models/org-unit.d.ts +13 -0
- package/models/org-unit.d.ts.map +1 -0
- package/package.json +2 -2
- package/utils/org-unit.d.ts +17 -0
- package/utils/org-unit.d.ts.map +1 -0
- package/utils/org-unit.js +16 -0
- package/utils/resource-version.d.ts +5 -0
- package/utils/resource-version.d.ts.map +1 -0
- package/utils/resource-version.js +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeploymentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentIcon/DeploymentIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAM7E,wEAAwE;AACxE,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACnC,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,4CAA4C;AAC5C,MAAM,WAAW,oBAAoB;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,6FAA6F;IAC7F,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,YAAY,EAAE,MAAM,CAAC;IACrB,sGAAsG;IACtG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED,8HAA8H;AAC9H,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"DeploymentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentIcon/DeploymentIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAM7E,wEAAwE;AACxE,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACnC,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,4CAA4C;AAC5C,MAAM,WAAW,oBAAoB;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,6FAA6F;IAC7F,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,YAAY,EAAE,MAAM,CAAC;IACrB,sGAAsG;IACtG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED,8HAA8H;AAC9H,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAoGlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialFileManagerShell.d.ts","sourceRoot":"","sources":["../../../src/file-manager/DialFileManagerShell/DialFileManagerShell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,EAEnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,kCAAkC,CAAC;AAa1C,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAG/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAEV,0BAA0B,EAE3B,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAgDlE,yDAAyD;AACzD,MAAM,WAAW,yBAAyB;IACxC,8EAA8E;IAC9E,UAAU,EAAE,qBAAqB,CAAC;IAClC,qDAAqD;IACrD,MAAM,EAAE,0BAA0B,CAAC;IACnC,4BAA4B;IAC5B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,kFAAkF;IAClF,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,0CAA0C;IAC1C,WAAW,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAChD,2DAA2D;IAC3D,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,yCAAyC;IACzC,qBAAqB,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACpD,mGAAmG;IACnG,OAAO,EAAE,sBAAsB,CAAC;IAChC,wEAAwE;IACxE,aAAa,EAAE,4BAA4B,CAAC;IAC5C,gFAAgF;IAChF,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACxC,6JAA6J;IAC7J,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sMAAsM;IACtM,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iFAAiF;IACjF,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE;QACvB,IAAI,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;KACzC,KAAK,OAAO,CAAC;IACd,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,MAAM,GAAG,SAAS,CAAC;IACrE,uDAAuD;IACvD,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,0EAA0E;IAC1E,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACrD,0KAA0K;IAC1K,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,0BAA0B,CAAC;CACrC;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"DialFileManagerShell.d.ts","sourceRoot":"","sources":["../../../src/file-manager/DialFileManagerShell/DialFileManagerShell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,EAEnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,kCAAkC,CAAC;AAa1C,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAG/E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EAAE,kBAAkB,KAAK,MAAM,GAAG,SAAS,CAAC;IACrE,uDAAuD;IACvD,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,0EAA0E;IAC1E,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACrD,0KAA0K;IAC1K,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,0BAA0B,CAAC;CACrC;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA2nB9D,CAAC;;AAEF,wBAA0C"}
|
package/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export * from './models/application-visualizer';
|
|
|
16
16
|
export * from './models/entity';
|
|
17
17
|
export * from './models/locale';
|
|
18
18
|
export * from './models/inline-segment';
|
|
19
|
+
export * from './models/org-unit';
|
|
19
20
|
export * from './types/attachment';
|
|
20
21
|
export * from './types/entity-type';
|
|
21
22
|
export * from './types/mime-type';
|
|
@@ -25,8 +26,10 @@ export * from './utils/annotation';
|
|
|
25
26
|
export * from './utils/base64-json';
|
|
26
27
|
export * from './utils/string-utils';
|
|
27
28
|
export * from './utils/entity-field-limits';
|
|
29
|
+
export * from './utils/resource-version';
|
|
28
30
|
export * from './utils/merge-class';
|
|
29
31
|
export * from './utils/build-css-vars';
|
|
32
|
+
export * from './utils/org-unit';
|
|
30
33
|
export * from './utils/message';
|
|
31
34
|
export * from './utils/message-attachment-to-display';
|
|
32
35
|
export * from './utils/mime-type';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA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AA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4DAA4D,CAAC;AAC3E,OAAO,EACL,iBAAiB,EACjB,KAAK,0BAA0B,GAChC,MAAM,6DAA6D,CAAC;AAYrE,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAErF,cAAc,qDAAqD,CAAC"}
|
package/index.js
CHANGED
|
@@ -12,83 +12,85 @@ import { isAnnotationSelector as k, normalizePersistedHtmlTagAttachmentType as A
|
|
|
12
12
|
import { decodeJsonFromBase64 as M, encodeJsonToBase64 as N } from "./utils/base64-json.js";
|
|
13
13
|
import { PROHIBITED_CONVERSATION_NAME_CHARS_RE as P, getUtf8ByteLength as F, sanitizeConversationName as I, stripTrailingDots as L, truncateToUtf8Bytes as R } from "./utils/string-utils.js";
|
|
14
14
|
import { ENTITY_DESCRIPTION_MAX_LENGTH as z, ENTITY_INSTRUCTIONS_MAX_LENGTH as B, ENTITY_NAME_MAX_LENGTH as V, exceedsMaxLength as H, hasControlCharacters as U } from "./utils/entity-field-limits.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
|
|
15
|
+
import { RESOURCE_VERSION_PATTERN as W, STORED_RESOURCE_VERSION_PATTERN as G } from "./utils/resource-version.js";
|
|
16
|
+
import { mergeClasses as K } from "./utils/merge-class.js";
|
|
17
|
+
import { buildCssVars as q } from "./utils/build-css-vars.js";
|
|
18
|
+
import { isOrgUnitFolder as J, normalizeOrgUnitFolder as Y, toOrgUnitFolderSet as X } from "./utils/org-unit.js";
|
|
19
|
+
import { isStatusMessage as Z } from "./utils/message.js";
|
|
20
|
+
import { messageAttachmentToDisplayAttachment as Q, messageAttachmentsToDisplayAttachments as $ } from "./utils/message-attachment-to-display.js";
|
|
21
|
+
import { isAudioTranscriptionSupported as ee } from "./utils/is-audio-transcription-supported.js";
|
|
22
|
+
import { copyMarkdownAsRichText as te, copyToClipboard as ne, markdownToRichTextHtml as re } from "./utils/copy-to-clipboard.js";
|
|
23
|
+
import { makeOutsideInert as ie } from "./utils/dom.js";
|
|
24
|
+
import { formatLastUsed as ae } from "./utils/format-last-used.js";
|
|
25
|
+
import { formatFileSize as oe } from "./utils/format-file-size.js";
|
|
26
|
+
import { formatCost as se, formatPrice as ce, formatUnitPrice as le } from "./utils/format-price.js";
|
|
27
|
+
import { base64ToBlob as ue, downloadTextFile as de, ensureDownloadFilename as fe, getFileExtensionForLanguage as pe, triggerAnchorDownload as me, triggerBlobDownload as he, tryBase64ToBytes as ge } from "./utils/file-download.js";
|
|
28
|
+
import { isSyntaxHighlightingAllowed as _e } from "./utils/syntax-highlighting.js";
|
|
29
|
+
import { ENTITY_TYPE_BG_COLOR as ve, ENTITY_TYPE_COLOR as ye } from "./constants/entity-colors.js";
|
|
30
|
+
import { PROMPT_PARAM_DEFAULT_SEPARATOR as be, PROMPT_PARAM_PATTERN as xe, PROMPT_VARIABLE_CLASS_NAME as Se, buildPromptParamDefaults as Ce, extractPromptParams as we, rehypePromptVariables as Te, resolvePromptParams as Ee } from "./utils/prompt-variables.js";
|
|
31
|
+
import { generateUUID as De } from "./utils/generate-uuid.js";
|
|
32
|
+
import { BASE_LG_ICON_PROPS as Oe, BASE_MD_ICON_PROPS as ke } from "./constants/icon.js";
|
|
33
|
+
import { HIDDEN_FILE as Ae, PUBLIC_BUCKET as je } from "./constants/dial.js";
|
|
34
|
+
import { TAG_INPUT_TAG_CLASS_NAME as Me } from "./constants/tag-input.js";
|
|
35
|
+
import { MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME as Ne, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as Pe, RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE as Fe, RESIZABLE_TEXTAREA_CLASS_NAME as Ie } from "./constants/resizable-fields.js";
|
|
36
|
+
import { MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as Le } from "./constants/markdown-editor.js";
|
|
37
|
+
import { SELECT_LIST_MAX_HEIGHT_CLASS_NAME as Re, SELECT_LIST_MAX_HEIGHT_PX as ze } from "./constants/select-list.js";
|
|
38
|
+
import { DESKTOP_BREAKPOINT_PX as Be, DESKTOP_MEDIA_QUERY as Ve, MOBILE_MAX_WIDTH_PX as He, MOBILE_MEDIA_QUERY as Ue, PHONE_MEDIA_QUERY as We, TABLET_BREAKPOINT_PX as Ge, TABLET_MEDIA_QUERY as Ke } from "./constants/breakpoint.js";
|
|
39
|
+
import { InitialsAvatar as qe } from "./components/InitialsAvatar/InitialsAvatar.js";
|
|
40
|
+
import { DeploymentIcon as Je } from "./components/DeploymentIcon/DeploymentIcon.js";
|
|
41
|
+
import { CopyButton as Ye, CopyIconButton as Xe } from "./components/CopyButton/CopyButton.js";
|
|
42
|
+
import { extractInitials as Ze } from "./utils/initials.js";
|
|
43
|
+
import { pickAvatarColor as Qe } from "./utils/avatar-color.js";
|
|
44
|
+
import { useIsPhone as $e } from "./hooks/useIsPhone.js";
|
|
45
|
+
import { ActionMenu as et } from "./components/ActionMenu/ActionMenu.js";
|
|
46
|
+
import { PanelEmptyState as tt } from "./components/PanelEmptyState/PanelEmptyState.js";
|
|
47
|
+
import { NewVersionAlert as nt } from "./components/NewVersionAlert/NewVersionAlert.js";
|
|
48
|
+
import { NotificationStack as rt } from "./components/NotificationStack/NotificationStack.js";
|
|
49
|
+
import { ItemHeader as it } from "./components/ItemHeader/ItemHeader.js";
|
|
50
|
+
import { EntityTypeLabel as at } from "./components/EntityTypeLabel/EntityTypeLabel.js";
|
|
51
|
+
import { FeaturedChip as ot } from "./components/FeaturedChip/FeaturedChip.js";
|
|
52
|
+
import { EntityHeader as st } from "./components/EntityHeader/EntityHeader.js";
|
|
53
|
+
import { ResourceSummary as ct } from "./components/ResourceSummary/ResourceSummary.js";
|
|
54
|
+
import { ConfirmationIdentityCard as lt } from "./components/ConfirmationIdentityCard/ConfirmationIdentityCard.js";
|
|
55
|
+
import { ConfirmationIdentityRow as ut } from "./components/ConfirmationIdentityRow/ConfirmationIdentityRow.js";
|
|
56
|
+
import { ConfirmationView as dt } from "./components/ConfirmationView/ConfirmationView.js";
|
|
57
|
+
import { ConfirmationFooter as ft } from "./components/ConfirmationView/ConfirmationFooter.js";
|
|
58
|
+
import { ConfirmationDialog as pt } from "./components/ConfirmationDialog/ConfirmationDialog.js";
|
|
59
|
+
import { DELETE_CONFIRMATION_MAX_LISTED_NAMES as mt, DeleteConfirmationView as ht } from "./components/DeleteConfirmationView/DeleteConfirmationView.js";
|
|
60
|
+
import { DeleteConfirmationDialog as gt } from "./components/DeleteConfirmationDialog/DeleteConfirmationDialog.js";
|
|
61
|
+
import { DeleteConfirmationDrawer as _t } from "./components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.js";
|
|
62
|
+
import { TableHeader as vt } from "./components/MarkdownRenderer/Table/TableHeader.js";
|
|
63
|
+
import { TextRefinementState as yt, useTextRefinement as bt } from "./hooks/useTextRefinement.js";
|
|
64
|
+
import { TextRefinementField as xt } from "./components/TextRefinementField/TextRefinementField.js";
|
|
65
|
+
import { CHAT_SHARED_CLASS as St } from "./constants/public-class-names.js";
|
|
66
|
+
import { useCodeCopy as Ct } from "./hooks/useCodeCopy.js";
|
|
67
|
+
import { restrainedSyntaxTheme as wt } from "./components/MarkdownRenderer/CodeBlock/syntax-theme.js";
|
|
68
|
+
import { MarkdownCodeBlock as Tt } from "./components/MarkdownRenderer/CodeBlock/CodeBlock.js";
|
|
69
|
+
import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as Et, MARKDOWN_TABLE_CSV_MIME_TYPE as Dt, MarkdownTableCopyFormat as Ot, serializeMarkdownTableRows as kt } from "./components/MarkdownRenderer/Table/table-serialization.js";
|
|
70
|
+
import { MarkdownTable as At } from "./components/MarkdownRenderer/Table/MarkdownTable.js";
|
|
71
|
+
import { MarkdownRenderer as jt, defaultMarkdownComponents as Mt } from "./components/MarkdownRenderer/MarkdownRenderer.js";
|
|
72
|
+
import { COMPACT_MARKDOWN_CLASS_NAMES as Nt, DEFAULT_MARKDOWN_CLASS_NAMES as Pt } from "./components/MarkdownRenderer/markdown-class-names.js";
|
|
73
|
+
import { PlainTextRenderer as Ft } from "./components/MarkdownRenderer/PlainTextRenderer.js";
|
|
74
|
+
import { MDMessageViewer as It } from "./components/MarkdownRenderer/MDMessageViewer.js";
|
|
75
|
+
import { MarkdownWithPlaceholders as Lt } from "./components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.js";
|
|
76
|
+
import { buildInlineSegmentSource as Rt, createInlineSegmentComponents as zt, createRehypeInlineSegments as Bt } from "./utils/inline-segments.js";
|
|
77
|
+
import { useCollapsedText as Vt } from "./hooks/useCollapsedText.js";
|
|
78
|
+
import { useAvailableHeightCap as Ht } from "./hooks/useAvailableHeightCap.js";
|
|
79
|
+
import { useControlErrorAssociation as Ut } from "./hooks/useControlErrorAssociation.js";
|
|
80
|
+
import { useIsMobile as Wt } from "./hooks/useIsMobile.js";
|
|
81
|
+
import { useIsTablet as Gt } from "./hooks/useIsTablet.js";
|
|
82
|
+
import { useIsTextClipped as Kt } from "./hooks/useIsTextClipped.js";
|
|
83
|
+
import { useIsVerticallyClamped as qt } from "./hooks/useIsVerticallyClamped.js";
|
|
84
|
+
import { useUnsavedChangesGuard as Jt } from "./hooks/useUnsavedChangesGuard.js";
|
|
85
|
+
import { useUnsavedChanges as Yt } from "./components/UnsavedChangesProvider/unsaved-changes-context.js";
|
|
86
|
+
import { useUnsavedChangesLeaveGuard as Xt } from "./hooks/useUnsavedChangesLeaveGuard.js";
|
|
87
|
+
import { useUnsavedChangesLeaveConfirmation as Zt } from "./hooks/useUnsavedChangesLeaveConfirmation.js";
|
|
88
|
+
import { UnsavedChangesProvider as Qt } from "./components/UnsavedChangesProvider/UnsavedChangesProvider.js";
|
|
89
|
+
import { DialFileManagerActionProfile as $t, DialFileManagerVariant as en } from "./file-manager/file-manager-variant.js";
|
|
90
|
+
import { getParentFolderPath as tn, isHiddenPath as nn } from "./file-manager/path.js";
|
|
91
|
+
import { FileDownloadStatus as rn, FileUploadFailureReason as an, FileUploadStatus as on, isDownloadInProgress as sn, isUploadInProgress as cn } from "./file-manager/upload-batch.js";
|
|
92
|
+
import { useGridEditingScroll as ln } from "./file-manager/useGridEditingScroll/useGridEditingScroll.js";
|
|
93
|
+
import { OperationLoaderModal as un } from "./file-manager/OperationLoaderModal/OperationLoaderModal.js";
|
|
94
|
+
import { isSkillSelectionUnsupported as dn } from "./utils/is-skill-selection-unsupported.js";
|
|
95
|
+
import { toConversationTransferQueueItems as fn } from "./conversation-transfer/conversation-transfer-queue.js";
|
|
96
|
+
export { et as ActionMenu, m as AttachmentErrorReason, h as AttachmentType, Oe as BASE_LG_ICON_PROPS, ke as BASE_MD_ICON_PROPS, s as BackgroundGenerationStatus, St as CHAT_SHARED_CLASS, Nt as COMPACT_MARKDOWN_CLASS_NAMES, g as CatalogEntityType, y as CodeBlockTheme, pt as ConfirmationDialog, ft as ConfirmationFooter, lt as ConfirmationIdentityCard, ut as ConfirmationIdentityRow, dt as ConfirmationView, a as ConversationKind, e as ConversationTransferErrorCode, t as ConversationTransferJobStatus, n as ConversationTransferSubjectKind, r as ConversationTransferUnitKind, i as ConversationTransferWarningCode, Ye as CopyButton, Xe as CopyIconButton, Pt as DEFAULT_MARKDOWN_CLASS_NAMES, Et as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, mt as DELETE_CONFIRMATION_MAX_LISTED_NAMES, Be as DESKTOP_BREAKPOINT_PX, Ve as DESKTOP_MEDIA_QUERY, gt as DeleteConfirmationDialog, _t as DeleteConfirmationDrawer, ht as DeleteConfirmationView, Je as DeploymentIcon, $t as DialFileManagerActionProfile, en as DialFileManagerVariant, z as ENTITY_DESCRIPTION_MAX_LENGTH, B as ENTITY_INSTRUCTIONS_MAX_LENGTH, V as ENTITY_NAME_MAX_LENGTH, ve as ENTITY_TYPE_BG_COLOR, ye as ENTITY_TYPE_COLOR, st as EntityHeader, at as EntityTypeLabel, ot as FeaturedChip, rn as FileDownloadStatus, _ as FileExtension, an as FileUploadFailureReason, on as FileUploadStatus, o as FilterTab, Ae as HIDDEN_FILE, qe as InitialsAvatar, it as ItemHeader, Ne as MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME, Pe as MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME, Le as MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME, Dt as MARKDOWN_TABLE_CSV_MIME_TYPE, It 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, He as MOBILE_MAX_WIDTH_PX, Ue as MOBILE_MEDIA_QUERY, Tt as MarkdownCodeBlock, jt as MarkdownRenderer, At as MarkdownTable, Ot as MarkdownTableCopyFormat, Lt as MarkdownWithPlaceholders, c as MessageRating, l as MessageRole, nt as NewVersionAlert, rt as NotificationStack, un as OperationLoaderModal, We as PHONE_MEDIA_QUERY, P as PROHIBITED_CONVERSATION_NAME_CHARS_RE, be as PROMPT_PARAM_DEFAULT_SEPARATOR, xe as PROMPT_PARAM_PATTERN, Se as PROMPT_VARIABLE_CLASS_NAME, je as PUBLIC_BUCKET, tt as PanelEmptyState, Ft as PlainTextRenderer, Fe as RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE, Ie as RESIZABLE_TEXTAREA_CLASS_NAME, W as RESOURCE_VERSION_PATTERN, u as RequestStatus, ct as ResourceSummary, p as ResponseFormat, Re as SELECT_LIST_MAX_HEIGHT_CLASS_NAME, ze as SELECT_LIST_MAX_HEIGHT_PX, G as STORED_RESOURCE_VERSION_PATTERN, d as StageStatus, f as StatusEvent, Ge as TABLET_BREAKPOINT_PX, Ke as TABLET_MEDIA_QUERY, Me as TAG_INPUT_TAG_CLASS_NAME, vt as TableHeader, xt as TextRefinementField, yt as TextRefinementState, Qt as UnsavedChangesProvider, ue as base64ToBlob, q as buildCssVars, Rt as buildInlineSegmentSource, Ce as buildPromptParamDefaults, te as copyMarkdownAsRichText, ne as copyToClipboard, zt as createInlineSegmentComponents, Bt as createRehypeInlineSegments, M as decodeJsonFromBase64, Mt as defaultMarkdownComponents, de as downloadTextFile, N as encodeJsonToBase64, fe as ensureDownloadFilename, H as exceedsMaxLength, Ze as extractInitials, we as extractPromptParams, se as formatCost, oe as formatFileSize, ae as formatLastUsed, ce as formatPrice, le as formatUnitPrice, De as generateUUID, w as getAttachmentTypeFromMime, T as getBaseMimeType, pe as getFileExtensionForLanguage, tn as getParentFolderPath, F as getUtf8ByteLength, U as hasControlCharacters, E as inferMimeTypeFromPath, k as isAnnotationSelector, ee as isAudioTranscriptionSupported, sn as isDownloadInProgress, nn as isHiddenPath, J as isOrgUnitFolder, dn as isSkillSelectionUnsupported, Z as isStatusMessage, _e as isSyntaxHighlightingAllowed, cn as isUploadInProgress, ie as makeOutsideInert, re as markdownToRichTextHtml, K as mergeClasses, Q as messageAttachmentToDisplayAttachment, $ as messageAttachmentsToDisplayAttachments, D as normalizeMimeType, Y as normalizeOrgUnitFolder, A as normalizePersistedHtmlTagAttachmentType, j as normalizeRawAnnotations, Qe as pickAvatarColor, Te as rehypePromptVariables, Ee as resolvePromptParams, wt as restrainedSyntaxTheme, I as sanitizeConversationName, kt as serializeMarkdownTableRows, L as stripTrailingDots, O as stripUrlQueryAndFragment, fn as toConversationTransferQueueItems, X as toOrgUnitFolderSet, me as triggerAnchorDownload, he as triggerBlobDownload, R as truncateToUtf8Bytes, ge as tryBase64ToBytes, Ht as useAvailableHeightCap, Ct as useCodeCopy, Vt as useCollapsedText, Ut as useControlErrorAssociation, ln as useGridEditingScroll, Wt as useIsMobile, $e as useIsPhone, Gt as useIsTablet, Kt as useIsTextClipped, qt as useIsVerticallyClamped, bt as useTextRefinement, Yt as useUnsavedChanges, Jt as useUnsavedChangesGuard, Zt as useUnsavedChangesLeaveConfirmation, Xt as useUnsavedChangesLeaveGuard };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** A DIAL Core org unit: an organisation's folder in the public bucket. */
|
|
2
|
+
export interface OrgUnit {
|
|
3
|
+
id: string;
|
|
4
|
+
/** Unit name; also the last segment of its folder. */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Name to show people; equals `name` when Core has none. */
|
|
7
|
+
displayName: string;
|
|
8
|
+
/** Decoded unit address without a trailing slash, e.g. `public/Acme/US Risk`. */
|
|
9
|
+
path: string;
|
|
10
|
+
/** Unit folder as DIAL Core returns it: url-encoded, with a trailing slash, e.g. `public/Acme/US%20Risk/`. */
|
|
11
|
+
folder: string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=org-unit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"org-unit.d.ts","sourceRoot":"","sources":["../../src/models/org-unit.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,IAAI,EAAE,MAAM,CAAC;IACb,8GAA8G;IAC9G,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
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.4.0-dev.
|
|
4
|
+
"version": "1.4.0-dev.82",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"react": "^19.2.8",
|
|
35
35
|
"react-dom": "^19.2.8",
|
|
36
36
|
"@epam/ai-dial-ui-kit": "^0.16.0",
|
|
37
|
-
"@epam/ai-dial-react-file-manager": "^0.4.
|
|
37
|
+
"@epam/ai-dial-react-file-manager": "^0.4.2"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"ag-grid-community": "^35.3.0",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OrgUnit } from '../models/org-unit';
|
|
2
|
+
/**
|
|
3
|
+
* Returns a unit's Core `folder` (url-encoded, rooted at `public/`, e.g.
|
|
4
|
+
* `public/Acme/US%20Risk/`) as a decoded public-relative folder with one
|
|
5
|
+
* trailing slash (`Acme/US Risk/`), or `''` for the public root and for a
|
|
6
|
+
* folder outside `public/`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const normalizeOrgUnitFolder: (folder: string) => string;
|
|
9
|
+
/** The normalised folders of `units`, for repeated {@link isOrgUnitFolder} lookups. */
|
|
10
|
+
export declare const toOrgUnitFolderSet: (units: readonly OrgUnit[]) => ReadonlySet<string>;
|
|
11
|
+
/**
|
|
12
|
+
* Whether `publicPath` — a decoded path relative to the public bucket, as the
|
|
13
|
+
* file manager and the publish tree show it (`Acme/US Risk`) — is a unit's own
|
|
14
|
+
* folder. A folder inside a unit is not a unit.
|
|
15
|
+
*/
|
|
16
|
+
export declare const isOrgUnitFolder: (unitFolders: ReadonlySet<string>, publicPath: string) => boolean;
|
|
17
|
+
//# sourceMappingURL=org-unit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"org-unit.d.ts","sourceRoot":"","sources":["../../src/utils/org-unit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAmBlD;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GAAI,QAAQ,MAAM,KAAG,MAIvD,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,kBAAkB,GAC7B,OAAO,SAAS,OAAO,EAAE,KACxB,WAAW,CAAC,MAAM,CAKlB,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAa,WAAW,CAAC,MAAM,CAAC,EAChC,YAAY,MAAM,KACjB,OAGF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region src/utils/org-unit.ts
|
|
2
|
+
var e = (e) => {
|
|
3
|
+
try {
|
|
4
|
+
return decodeURIComponent(e);
|
|
5
|
+
} catch {
|
|
6
|
+
return e;
|
|
7
|
+
}
|
|
8
|
+
}, t = (e) => e.split("/").filter((e) => e !== ""), n = (e) => e.length === 0 ? "" : `${e.join("/")}/`, r = (r) => {
|
|
9
|
+
let [i, ...a] = t(r);
|
|
10
|
+
return i === "public" ? n(a.map(e)) : "";
|
|
11
|
+
}, i = (e) => new Set(e.map(({ folder: e }) => r(e)).filter((e) => e !== "")), a = (e, r) => {
|
|
12
|
+
let i = n(t(r));
|
|
13
|
+
return i !== "" && e.has(i);
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { a as isOrgUnitFolder, r as normalizeOrgUnitFolder, i as toOrgUnitFolderSet };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Accepts a resource version of 1-64 letters, digits, `_`, `.`, `+` or `-` that does not end with a dot, does not contain `__` and does not start with `_`. */
|
|
2
|
+
export declare const RESOURCE_VERSION_PATTERN: RegExp;
|
|
3
|
+
/** Accepts a version of letters, digits, `_`, `.`, `+` or `-` that is not made of dots only, with no length limit. */
|
|
4
|
+
export declare const STORED_RESOURCE_VERSION_PATTERN: RegExp;
|
|
5
|
+
//# sourceMappingURL=resource-version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-version.d.ts","sourceRoot":"","sources":["../../src/utils/resource-version.ts"],"names":[],"mappings":"AAcA,gKAAgK;AAChK,eAAO,MAAM,wBAAwB,QAA0C,CAAC;AAUhF,sHAAsH;AACtH,eAAO,MAAM,+BAA+B,QAAuB,CAAC"}
|