@epam/ai-dial-chat-shared 1.3.0-dev.326 → 1.3.0-dev.331

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.
@@ -0,0 +1,26 @@
1
+ import { Dropdown, DropdownItem } from '@epam/ai-dial-ui-kit';
2
+ import { ComponentProps, FC, MouseEvent, ReactElement } from 'react';
3
+ /** Props for `ActionMenu`. */
4
+ export interface ActionMenuProps {
5
+ /** Actions of the menu. Dividers, plain-text rows and nested items are shown by the desktop dropdown only. */
6
+ items: DropdownItem[];
7
+ /** Trigger element; on a phone it gets the click handler that opens the sheet, so it must accept `onClick`. */
8
+ children: ReactElement<{
9
+ onClick?: (event: MouseEvent) => void;
10
+ }>;
11
+ /** Title and accessible name of the phone sheet. */
12
+ title: string;
13
+ /** Accessible name of the phone sheet's close button. Defaults to `'Close'`. */
14
+ closeLabel?: string;
15
+ /** Placement of the desktop dropdown. Defaults to automatic placement. */
16
+ placement?: ComponentProps<typeof Dropdown>['placement'];
17
+ /** Whether the desktop dropdown is as wide as its trigger. Defaults to `true`. */
18
+ matchReferenceWidth?: boolean;
19
+ /** CSS class applied to the desktop dropdown's list. */
20
+ listClassName?: string;
21
+ /** Called when the menu opens or closes, on either surface. */
22
+ onOpenChange?: (isOpen: boolean) => void;
23
+ }
24
+ /** Action menu that opens as the kit dropdown on tablet and desktop and as a bottom sheet on a phone. */
25
+ export declare const ActionMenu: FC<ActionMenuProps>;
26
+ //# sourceMappingURL=ActionMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionMenu/ActionMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,KAAK,YAAY,EAGlB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,EAAE,EACP,KAAK,UAAU,EACf,KAAK,YAAY,EAElB,MAAM,OAAO,CAAC;AAGf,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,8GAA8G;IAC9G,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,+GAA+G;IAC/G,QAAQ,EAAE,YAAY,CAAC;QAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;KAAE,CAAC,CAAC;IAClE,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC;IACzD,kFAAkF;IAClF,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C;AAED,yGAAyG;AACzG,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA8E1C,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { useIsPhone as e } from "../../hooks/useIsPhone.js";
2
+ import { BottomSheet as t, Dropdown as n, DropdownItemType as r, MenuItem as i } from "@epam/ai-dial-ui-kit";
3
+ import { cloneElement as a, useState as o } from "react";
4
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
5
+ //#region src/components/ActionMenu/ActionMenu.tsx
6
+ var u = ({ items: u, children: d, title: f, closeLabel: p = "Close", placement: m, matchReferenceWidth: h, listClassName: g, onOpenChange: _ }) => {
7
+ let v = e(), [y, b] = o(!1);
8
+ if (!v) return /* @__PURE__ */ c(n, {
9
+ items: u,
10
+ placement: m,
11
+ matchReferenceWidth: h,
12
+ listClassName: g,
13
+ onOpenChange: _,
14
+ children: d
15
+ });
16
+ let x = (e) => {
17
+ b(e), _?.(e);
18
+ }, S = (e) => {
19
+ d.props.onClick?.(e), x(!0);
20
+ }, C = (e, t) => {
21
+ x(!1), e.onClick?.({
22
+ key: e.key,
23
+ domEvent: t
24
+ });
25
+ }, w = u.filter((e) => e.type !== r.Divider && e.type !== r.PlainText && !e.children?.length);
26
+ return /* @__PURE__ */ l(s, { children: [a(d, {
27
+ onClick: S,
28
+ "aria-haspopup": "dialog",
29
+ "aria-expanded": y
30
+ }), /* @__PURE__ */ c(t, {
31
+ open: y,
32
+ title: f,
33
+ closeAriaLabel: p,
34
+ onClose: () => x(!1),
35
+ children: /* @__PURE__ */ c("div", {
36
+ role: "menu",
37
+ "aria-label": f,
38
+ children: w.map((e) => /* @__PURE__ */ c(i, {
39
+ role: "menuitem",
40
+ label: e.label,
41
+ icon: e.icon,
42
+ disabled: e.disabled,
43
+ danger: e.danger,
44
+ onClick: (t) => C(e, t)
45
+ }, e.key))
46
+ })
47
+ })] });
48
+ };
49
+ //#endregion
50
+ export { u as ActionMenu };
@@ -0,0 +1,31 @@
1
+ import { FC } from 'react';
2
+ import { DeleteConfirmationViewLabels, DeleteConfirmationViewProps } from '../DeleteConfirmationView/DeleteConfirmationView';
3
+ /** User-visible strings of `DeleteConfirmationDrawer`. */
4
+ export interface DeleteConfirmationDrawerLabels extends DeleteConfirmationViewLabels {
5
+ /** Label of the confirming action button. Defaults to `'Delete'`. */
6
+ confirm?: string;
7
+ /** Label of the cancel button. Defaults to `'Cancel'`. */
8
+ cancel?: string;
9
+ /** Status text announced while the deletion is in flight. Defaults to `'Deleting…'`. */
10
+ deleting?: string;
11
+ /** Accessible name of the header's close button. Defaults to `'Close'`. */
12
+ close?: string;
13
+ }
14
+ /** Props for `DeleteConfirmationDrawer`. */
15
+ export interface DeleteConfirmationDrawerProps extends Omit<DeleteConfirmationViewProps, 'labels'> {
16
+ /** Whether the drawer is open. */
17
+ open: boolean;
18
+ /** Drawer title. A string rather than a node, so the kit names the dialog with it. */
19
+ title: string;
20
+ /** Whether the delete request is in flight; blocks both actions and every dismissal route. Defaults to `false`. */
21
+ isLoading?: boolean;
22
+ /** User-visible strings. */
23
+ labels?: DeleteConfirmationDrawerLabels;
24
+ /** Called when the user confirms. */
25
+ onConfirm: () => void;
26
+ /** Called when the drawer is dismissed — Cancel, the close control, Escape, or a backdrop press. */
27
+ onClose: () => void;
28
+ }
29
+ /** Delete confirmation presented as a side drawer, the same panel the catalog shows for an item. */
30
+ export declare const DeleteConfirmationDrawer: FC<DeleteConfirmationDrawerProps>;
31
+ //# sourceMappingURL=DeleteConfirmationDrawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteConfirmationDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAEL,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EACjC,MAAM,kDAAkD,CAAC;AAE1D,0DAA0D;AAC1D,MAAM,WAAW,8BAA+B,SAAQ,4BAA4B;IAClF,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,4CAA4C;AAC5C,MAAM,WAAW,6BAA8B,SAAQ,IAAI,CACzD,2BAA2B,EAC3B,QAAQ,CACT;IACC,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,mHAAmH;IACnH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oGAAoG;IACpG,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,oGAAoG;AACpG,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CA8CtE,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { ConfirmationFooter as e } from "../ConfirmationView/ConfirmationFooter.js";
2
+ import { DeleteConfirmationView as t } from "../DeleteConfirmationView/DeleteConfirmationView.js";
3
+ import { ConfirmationPopupVariant as n, SideDrawer as r } from "@epam/ai-dial-ui-kit";
4
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ //#region src/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.tsx
6
+ var o = ({ open: o, title: s, isLoading: c = !1, labels: l, onConfirm: u, onClose: d, ...f }) => {
7
+ let { confirm: p = "Delete", cancel: m = "Cancel", deleting: h = "Deleting…", close: g = "Close", ..._ } = l ?? {}, v = () => {
8
+ c || d();
9
+ };
10
+ return /* @__PURE__ */ a(r, {
11
+ open: o,
12
+ header: s,
13
+ closeAriaLabel: g,
14
+ closeDisabled: c,
15
+ closeOnOutsideClick: !c,
16
+ onClose: v,
17
+ bodyClassName: "flex flex-col overflow-hidden",
18
+ children: [/* @__PURE__ */ i("div", {
19
+ className: "flex min-h-0 flex-1 flex-col overflow-y-auto",
20
+ children: /* @__PURE__ */ i(t, {
21
+ ...f,
22
+ labels: _
23
+ })
24
+ }), /* @__PURE__ */ i(e, {
25
+ variant: n.Danger,
26
+ confirmLabel: p,
27
+ cancelLabel: m,
28
+ isLoading: c,
29
+ loadingStatusLabel: h,
30
+ onConfirm: u,
31
+ onCancel: v
32
+ })]
33
+ });
34
+ };
35
+ //#endregion
36
+ export { o as DeleteConfirmationDrawer };
@@ -1,3 +1,4 @@
1
+ import { ConfirmationPopupVariant } from '@epam/ai-dial-ui-kit';
1
2
  import { FC, ReactNode } from 'react';
2
3
  import { ConfirmationViewColors } from '../ConfirmationView/ConfirmationView';
3
4
  /** Default cap on the names listed for a multi-item delete. */
@@ -35,6 +36,8 @@ export interface DeleteConfirmationViewProps {
35
36
  message: ReactNode;
36
37
  /** Consequences listed before the final "cannot be undone" bullet. */
37
38
  consequences?: string[];
39
+ /** Palette of the identity card. Defaults to `undefined`, a neutral card; `ConfirmationPopupVariant.Danger` tints it red. */
40
+ identityVariant?: ConfirmationPopupVariant;
38
41
  /** Maximum number of names listed for a multi-item delete. Defaults to `DELETE_CONFIRMATION_MAX_LISTED_NAMES` (10). */
39
42
  maxListedNames?: number;
40
43
  /** User-visible strings. */
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteConfirmationView.d.ts","sourceRoot":"","sources":["../../../src/components/DeleteConfirmationView/DeleteConfirmationView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sCAAsC,CAAC;AAI9C,+DAA+D;AAC/D,eAAO,MAAM,oCAAoC,KAAK,CAAC;AAEvD,wDAAwD;AACxD,MAAM,WAAW,4BAA4B;IAC3C,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iFAAiF;IACjF,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,+FAA+F;IAC/F,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC;AAED,oDAAoD;AACpD,MAAM,WAAW,4BAA6B,SAAQ,sBAAsB;IAC1E,iEAAiE;IACjE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,oDAAoD;AACpD,MAAM,WAAW,4BAA4B;IAC3C,gHAAgH;IAChH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAED,0CAA0C;AAC1C,MAAM,WAAW,2BAA2B;IAC1C,kJAAkJ;IAClJ,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,8GAA8G;IAC9G,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uGAAuG;IACvG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,OAAO,EAAE,SAAS,CAAC;IACnB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,uHAAuH;IACvH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,uBAAuB;IACvB,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,mFAAmF;IACnF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAMD,+GAA+G;AAC/G,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAgElE,CAAC"}
1
+ {"version":3,"file":"DeleteConfirmationView.d.ts","sourceRoot":"","sources":["../../../src/components/DeleteConfirmationView/DeleteConfirmationView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sCAAsC,CAAC;AAI9C,+DAA+D;AAC/D,eAAO,MAAM,oCAAoC,KAAK,CAAC;AAEvD,wDAAwD;AACxD,MAAM,WAAW,4BAA4B;IAC3C,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iFAAiF;IACjF,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,+FAA+F;IAC/F,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC;AAED,oDAAoD;AACpD,MAAM,WAAW,4BAA6B,SAAQ,sBAAsB;IAC1E,iEAAiE;IACjE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,oDAAoD;AACpD,MAAM,WAAW,4BAA4B;IAC3C,gHAAgH;IAChH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC;AAED,0CAA0C;AAC1C,MAAM,WAAW,2BAA2B;IAC1C,kJAAkJ;IAClJ,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,8GAA8G;IAC9G,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uGAAuG;IACvG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,OAAO,EAAE,SAAS,CAAC;IACnB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,6HAA6H;IAC7H,eAAe,CAAC,EAAE,wBAAwB,CAAC;IAC3C,uHAAuH;IACvH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,uBAAuB;IACvB,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,mFAAmF;IACnF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAMD,+GAA+G;AAC/G,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAkFlE,CAAC"}
@@ -1,37 +1,46 @@
1
1
  import { mergeClasses as e } from "../../utils/merge-class.js";
2
2
  import { ResourceSummary as t } from "../ResourceSummary/ResourceSummary.js";
3
- import { ConfirmationIdentityRow as n } from "../ConfirmationIdentityRow/ConfirmationIdentityRow.js";
4
- import { ConfirmationView as r } from "../ConfirmationView/ConfirmationView.js";
5
- import i from "./DeleteConfirmationView.module.scss.js";
6
- import { ConfirmationPopupVariant as a } from "@epam/ai-dial-ui-kit";
7
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
3
+ import { ConfirmationIdentityCard as n } from "../ConfirmationIdentityCard/ConfirmationIdentityCard.js";
4
+ import { ConfirmationIdentityRow as r } from "../ConfirmationIdentityRow/ConfirmationIdentityRow.js";
5
+ import { ConfirmationView as i } from "../ConfirmationView/ConfirmationView.js";
6
+ import a from "./DeleteConfirmationView.module.scss.js";
7
+ import { ConfirmationPopupVariant as o } from "@epam/ai-dial-ui-kit";
8
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
8
9
  //#region src/components/DeleteConfirmationView/DeleteConfirmationView.tsx
9
- var c = 10, l = (e) => e === 1 ? "1 item" : `${e} items`, u = (e) => `… and ${e} more`, d = ({ names: c, icon: d, typeLabel: f, message: p, consequences: m = [], maxListedNames: h = 10, labels: g, styles: _, children: v }) => {
10
- let { cannotBeUndone: y = "Cannot be undone", itemCount: b = l, moreItems: x = u } = g ?? {}, { typeLabelText: S, ...C } = _?.colors ?? {}, w = _?.messageClassName ?? "dial-small-text", T = c.length === 1, E = T ? [] : c.slice(0, h), D = c.length - (T ? 1 : E.length);
11
- return /* @__PURE__ */ o(r, {
12
- variant: a.Danger,
13
- messageClassName: w,
14
- styles: { colors: C },
15
- identity: /* @__PURE__ */ o(t, { children: /* @__PURE__ */ o(n, {
16
- icon: T ? d : void 0,
17
- typeLabel: T ? f : void 0,
18
- name: T ? c[0] : b(c.length),
19
- styles: { colors: { typeLabelText: S } }
20
- }) }),
21
- message: p,
22
- details: E.length > 0 && /* @__PURE__ */ s("ul", {
23
- className: e("flex flex-col gap-1", w, i.names),
24
- children: [E.map((e, t) => /* @__PURE__ */ o("li", {
10
+ var l = 10, u = (e) => e === 1 ? "1 item" : `${e} items`, d = (e) => `… and ${e} more`, f = ({ names: l, icon: f, typeLabel: p, message: m, consequences: h = [], identityVariant: g, maxListedNames: _ = 10, labels: v, styles: y, children: b }) => {
11
+ let { cannotBeUndone: x = "Cannot be undone", itemCount: S = u, moreItems: C = d } = v ?? {}, { typeLabelText: w, ...T } = y?.colors ?? {}, E = y?.messageClassName ?? "dial-small-text", D = l.length === 1, O = D ? [] : l.slice(0, _), k = l.length - (D ? 1 : O.length), A = /* @__PURE__ */ s(r, {
12
+ icon: D ? f : void 0,
13
+ typeLabel: D ? p : void 0,
14
+ name: D ? l[0] : S(l.length),
15
+ styles: { colors: { typeLabelText: w } }
16
+ });
17
+ return /* @__PURE__ */ s(i, {
18
+ variant: o.Danger,
19
+ messageClassName: E,
20
+ styles: { colors: T },
21
+ identity: g == null ? /* @__PURE__ */ s(t, { children: A }) : /* @__PURE__ */ s(n, {
22
+ variant: g,
23
+ styles: { colors: {
24
+ background: T.cardBackground,
25
+ dangerBackground: T.cardDangerBackground,
26
+ dangerBorder: T.cardDangerBorder
27
+ } },
28
+ children: A
29
+ }),
30
+ message: m,
31
+ details: O.length > 0 && /* @__PURE__ */ c("ul", {
32
+ className: e("flex flex-col gap-1", E, a.names),
33
+ children: [O.map((e, t) => /* @__PURE__ */ s("li", {
25
34
  className: "truncate",
26
35
  children: e
27
- }, `${t}-${e}`)), D > 0 && /* @__PURE__ */ o("li", {
28
- className: i.more,
29
- children: x(D)
36
+ }, `${t}-${e}`)), k > 0 && /* @__PURE__ */ s("li", {
37
+ className: a.more,
38
+ children: C(k)
30
39
  })]
31
40
  }),
32
- consequences: [...m, y],
33
- children: v
41
+ consequences: [...h, x],
42
+ children: b
34
43
  });
35
44
  };
36
45
  //#endregion
37
- export { c as DELETE_CONFIRMATION_MAX_LISTED_NAMES, d as DeleteConfirmationView };
46
+ export { l as DELETE_CONFIRMATION_MAX_LISTED_NAMES, f as DeleteConfirmationView };
package/index.d.ts CHANGED
@@ -54,6 +54,7 @@ export * from './components/InitialsAvatar/InitialsAvatar';
54
54
  export * from './components/CopyButton/CopyButton';
55
55
  export * from './utils/initials';
56
56
  export * from './utils/avatar-color';
57
+ export * from './components/ActionMenu/ActionMenu';
57
58
  export * from './components/PanelEmptyState/PanelEmptyState';
58
59
  export * from './components/NewVersionAlert/NewVersionAlert';
59
60
  export * from './components/NotificationStack/NotificationStack';
@@ -69,6 +70,7 @@ export * from './components/ConfirmationView/ConfirmationFooter';
69
70
  export * from './components/ConfirmationDialog/ConfirmationDialog';
70
71
  export * from './components/DeleteConfirmationView/DeleteConfirmationView';
71
72
  export * from './components/DeleteConfirmationDialog/DeleteConfirmationDialog';
73
+ export * from './components/DeleteConfirmationDrawer/DeleteConfirmationDrawer';
72
74
  export * from './components/MarkdownRenderer/Table/TableHeader';
73
75
  export * from './components/TextRefinementField/TextRefinementField';
74
76
  export * from './entry-points/markdown';
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,aAAa,CAAC;AA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AAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAY/C,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
@@ -39,49 +39,51 @@ import { DeploymentIcon as Ue } from "./components/DeploymentIcon/DeploymentIcon
39
39
  import { CopyButton as We, CopyIconButton as Ge } from "./components/CopyButton/CopyButton.js";
40
40
  import { extractInitials as Ke } from "./utils/initials.js";
41
41
  import { pickAvatarColor as qe } from "./utils/avatar-color.js";
42
- import { PanelEmptyState as Je } from "./components/PanelEmptyState/PanelEmptyState.js";
43
- import { NewVersionAlert as Ye } from "./components/NewVersionAlert/NewVersionAlert.js";
44
- import { NotificationStack as Xe } from "./components/NotificationStack/NotificationStack.js";
45
- import { ItemHeader as Ze } from "./components/ItemHeader/ItemHeader.js";
46
- import { EntityTypeLabel as Qe } from "./components/EntityTypeLabel/EntityTypeLabel.js";
47
- import { FeaturedChip as $e } from "./components/FeaturedChip/FeaturedChip.js";
48
- import { EntityHeader as et } from "./components/EntityHeader/EntityHeader.js";
49
- import { ResourceSummary as tt } from "./components/ResourceSummary/ResourceSummary.js";
50
- import { ConfirmationIdentityCard as nt } from "./components/ConfirmationIdentityCard/ConfirmationIdentityCard.js";
51
- import { ConfirmationIdentityRow as rt } from "./components/ConfirmationIdentityRow/ConfirmationIdentityRow.js";
52
- import { ConfirmationView as it } from "./components/ConfirmationView/ConfirmationView.js";
53
- import { ConfirmationFooter as at } from "./components/ConfirmationView/ConfirmationFooter.js";
54
- import { ConfirmationDialog as ot } from "./components/ConfirmationDialog/ConfirmationDialog.js";
55
- import { DELETE_CONFIRMATION_MAX_LISTED_NAMES as st, DeleteConfirmationView as ct } from "./components/DeleteConfirmationView/DeleteConfirmationView.js";
56
- import { DeleteConfirmationDialog as lt } from "./components/DeleteConfirmationDialog/DeleteConfirmationDialog.js";
57
- import { TableHeader as ut } from "./components/MarkdownRenderer/Table/TableHeader.js";
58
- import { TextRefinementState as dt, useTextRefinement as ft } from "./hooks/useTextRefinement.js";
59
- import { TextRefinementField as pt } from "./components/TextRefinementField/TextRefinementField.js";
60
- import { CHAT_SHARED_CLASS as mt } from "./constants/public-class-names.js";
61
- import { useCodeCopy as ht } from "./hooks/useCodeCopy.js";
62
- import { restrainedSyntaxTheme as gt } from "./components/MarkdownRenderer/CodeBlock/syntax-theme.js";
63
- import { MarkdownCodeBlock as _t } from "./components/MarkdownRenderer/CodeBlock/CodeBlock.js";
64
- import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as vt, MARKDOWN_TABLE_CSV_MIME_TYPE as yt, MarkdownTableCopyFormat as bt, serializeMarkdownTableRows as xt } from "./components/MarkdownRenderer/Table/table-serialization.js";
65
- import { MarkdownTable as St } from "./components/MarkdownRenderer/Table/MarkdownTable.js";
66
- import { MarkdownRenderer as Ct, defaultMarkdownComponents as wt } from "./components/MarkdownRenderer/MarkdownRenderer.js";
67
- import { COMPACT_MARKDOWN_CLASS_NAMES as Tt, DEFAULT_MARKDOWN_CLASS_NAMES as Et } from "./components/MarkdownRenderer/markdown-class-names.js";
68
- import { PlainTextRenderer as Dt } from "./components/MarkdownRenderer/PlainTextRenderer.js";
69
- import { MDMessageViewer as Ot } from "./components/MarkdownRenderer/MDMessageViewer.js";
70
- import { MarkdownWithPlaceholders as kt } from "./components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.js";
71
- import { buildInlineSegmentSource as At, createInlineSegmentComponents as jt, createRehypeInlineSegments as Mt } from "./utils/inline-segments.js";
72
- import { useCollapsedText as Nt } from "./hooks/useCollapsedText.js";
73
- import { useAvailableHeightCap as Pt } from "./hooks/useAvailableHeightCap.js";
74
- import { useControlErrorAssociation as Ft } from "./hooks/useControlErrorAssociation.js";
75
- import { useIsMobile as It } from "./hooks/useIsMobile.js";
76
- import { useIsPhone as Lt } from "./hooks/useIsPhone.js";
77
- import { useIsTablet as Rt } from "./hooks/useIsTablet.js";
78
- import { useIsTextClipped as zt } from "./hooks/useIsTextClipped.js";
79
- import { useUnsavedChangesGuard as Bt } from "./hooks/useUnsavedChangesGuard.js";
80
- import { DialFileManagerActionProfile as Vt, DialFileManagerVariant as Ht } from "./file-manager/file-manager-variant.js";
81
- import { getParentFolderPath as Ut, isHiddenPath as Wt } from "./file-manager/path.js";
82
- import { FileDownloadStatus as Gt, FileUploadFailureReason as Kt, FileUploadStatus as qt, isDownloadInProgress as Jt, isUploadInProgress as Yt } from "./file-manager/upload-batch.js";
83
- import { useGridEditingScroll as Xt } from "./file-manager/useGridEditingScroll/useGridEditingScroll.js";
84
- import { OperationLoaderModal as Zt } from "./file-manager/OperationLoaderModal/OperationLoaderModal.js";
85
- import { isSkillSelectionUnsupported as Qt } from "./utils/is-skill-selection-unsupported.js";
86
- import { toConversationTransferQueueItems as $t } from "./conversation-transfer/conversation-transfer-queue.js";
87
- export { m as AttachmentErrorReason, h as AttachmentType, Ce as BASE_LG_ICON_PROPS, we as BASE_MD_ICON_PROPS, s as BackgroundGenerationStatus, mt as CHAT_SHARED_CLASS, Tt as COMPACT_MARKDOWN_CLASS_NAMES, g as CatalogEntityType, y as CodeBlockTheme, ot as ConfirmationDialog, at as ConfirmationFooter, nt as ConfirmationIdentityCard, rt as ConfirmationIdentityRow, it as ConfirmationView, a as ConversationKind, e as ConversationTransferErrorCode, t as ConversationTransferJobStatus, n as ConversationTransferSubjectKind, r as ConversationTransferUnitKind, i as ConversationTransferWarningCode, We as CopyButton, Ge as CopyIconButton, Et as DEFAULT_MARKDOWN_CLASS_NAMES, vt as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, st as DELETE_CONFIRMATION_MAX_LISTED_NAMES, Fe as DESKTOP_BREAKPOINT_PX, Ie as DESKTOP_MEDIA_QUERY, lt as DeleteConfirmationDialog, ct as DeleteConfirmationView, Ue as DeploymentIcon, Vt as DialFileManagerActionProfile, Ht as DialFileManagerVariant, z as ENTITY_DESCRIPTION_MAX_LENGTH, B as ENTITY_INSTRUCTIONS_MAX_LENGTH, V as ENTITY_NAME_MAX_LENGTH, pe as ENTITY_TYPE_BG_COLOR, me as ENTITY_TYPE_COLOR, et as EntityHeader, Qe as EntityTypeLabel, $e as FeaturedChip, Gt as FileDownloadStatus, _ as FileExtension, Kt as FileUploadFailureReason, qt as FileUploadStatus, o as FilterTab, Te as HIDDEN_FILE, He as InitialsAvatar, Ze as ItemHeader, Oe as MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME, ke as MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME, Me as MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME, yt as MARKDOWN_TABLE_CSV_MIME_TYPE, Ot 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, Le as MOBILE_MAX_WIDTH_PX, Re as MOBILE_MEDIA_QUERY, _t as MarkdownCodeBlock, Ct as MarkdownRenderer, St as MarkdownTable, bt as MarkdownTableCopyFormat, kt as MarkdownWithPlaceholders, c as MessageRating, l as MessageRole, Ye as NewVersionAlert, Xe as NotificationStack, Zt as OperationLoaderModal, ze as PHONE_MEDIA_QUERY, P as PROHIBITED_CONVERSATION_NAME_CHARS_RE, he as PROMPT_PARAM_DEFAULT_SEPARATOR, ge as PROMPT_PARAM_PATTERN, _e as PROMPT_VARIABLE_CLASS_NAME, Ee as PUBLIC_BUCKET, Je as PanelEmptyState, Dt as PlainTextRenderer, Ae as RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE, je as RESIZABLE_TEXTAREA_CLASS_NAME, u as RequestStatus, tt as ResourceSummary, p as ResponseFormat, Ne as SELECT_LIST_MAX_HEIGHT_CLASS_NAME, Pe as SELECT_LIST_MAX_HEIGHT_PX, d as StageStatus, f as StatusEvent, Be as TABLET_BREAKPOINT_PX, Ve as TABLET_MEDIA_QUERY, De as TAG_INPUT_TAG_CLASS_NAME, ut as TableHeader, pt as TextRefinementField, dt as TextRefinementState, ae as base64ToBlob, G as buildCssVars, At as buildInlineSegmentSource, ve as buildPromptParamDefaults, X as copyMarkdownAsRichText, Z as copyToClipboard, jt as createInlineSegmentComponents, Mt as createRehypeInlineSegments, M as decodeJsonFromBase64, wt as defaultMarkdownComponents, oe as downloadTextFile, N as encodeJsonToBase64, se as ensureDownloadFilename, H as exceedsMaxLength, Ke as extractInitials, ye as extractPromptParams, ne as formatCost, te as formatFileSize, ee as formatLastUsed, re as formatPrice, ie as formatUnitPrice, Se as generateUUID, w as getAttachmentTypeFromMime, T as getBaseMimeType, ce as getFileExtensionForLanguage, Ut as getParentFolderPath, F as getUtf8ByteLength, U as hasControlCharacters, E as inferMimeTypeFromPath, k as isAnnotationSelector, Y as isAudioTranscriptionSupported, Jt as isDownloadInProgress, Wt as isHiddenPath, Qt as isSkillSelectionUnsupported, K as isStatusMessage, fe as isSyntaxHighlightingAllowed, Yt as isUploadInProgress, $ as makeOutsideInert, Q as markdownToRichTextHtml, W as mergeClasses, q as messageAttachmentToDisplayAttachment, J as messageAttachmentsToDisplayAttachments, D as normalizeMimeType, A as normalizePersistedHtmlTagAttachmentType, j as normalizeRawAnnotations, qe as pickAvatarColor, be as rehypePromptVariables, xe as resolvePromptParams, gt as restrainedSyntaxTheme, I as sanitizeConversationName, xt as serializeMarkdownTableRows, L as stripTrailingDots, O as stripUrlQueryAndFragment, $t as toConversationTransferQueueItems, le as triggerAnchorDownload, ue as triggerBlobDownload, R as truncateToUtf8Bytes, de as tryBase64ToBytes, Pt as useAvailableHeightCap, ht as useCodeCopy, Nt as useCollapsedText, Ft as useControlErrorAssociation, Xt as useGridEditingScroll, It as useIsMobile, Lt as useIsPhone, Rt as useIsTablet, zt as useIsTextClipped, ft as useTextRefinement, Bt as useUnsavedChangesGuard };
42
+ import { useIsPhone as Je } from "./hooks/useIsPhone.js";
43
+ import { ActionMenu as Ye } from "./components/ActionMenu/ActionMenu.js";
44
+ import { PanelEmptyState as Xe } from "./components/PanelEmptyState/PanelEmptyState.js";
45
+ import { NewVersionAlert as Ze } from "./components/NewVersionAlert/NewVersionAlert.js";
46
+ import { NotificationStack as Qe } from "./components/NotificationStack/NotificationStack.js";
47
+ import { ItemHeader as $e } from "./components/ItemHeader/ItemHeader.js";
48
+ import { EntityTypeLabel as et } from "./components/EntityTypeLabel/EntityTypeLabel.js";
49
+ import { FeaturedChip as tt } from "./components/FeaturedChip/FeaturedChip.js";
50
+ import { EntityHeader as nt } from "./components/EntityHeader/EntityHeader.js";
51
+ import { ResourceSummary as rt } from "./components/ResourceSummary/ResourceSummary.js";
52
+ import { ConfirmationIdentityCard as it } from "./components/ConfirmationIdentityCard/ConfirmationIdentityCard.js";
53
+ import { ConfirmationIdentityRow as at } from "./components/ConfirmationIdentityRow/ConfirmationIdentityRow.js";
54
+ import { ConfirmationView as ot } from "./components/ConfirmationView/ConfirmationView.js";
55
+ import { ConfirmationFooter as st } from "./components/ConfirmationView/ConfirmationFooter.js";
56
+ import { ConfirmationDialog as ct } from "./components/ConfirmationDialog/ConfirmationDialog.js";
57
+ import { DELETE_CONFIRMATION_MAX_LISTED_NAMES as lt, DeleteConfirmationView as ut } from "./components/DeleteConfirmationView/DeleteConfirmationView.js";
58
+ import { DeleteConfirmationDialog as dt } from "./components/DeleteConfirmationDialog/DeleteConfirmationDialog.js";
59
+ import { DeleteConfirmationDrawer as ft } from "./components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.js";
60
+ import { TableHeader as pt } from "./components/MarkdownRenderer/Table/TableHeader.js";
61
+ import { TextRefinementState as mt, useTextRefinement as ht } from "./hooks/useTextRefinement.js";
62
+ import { TextRefinementField as gt } from "./components/TextRefinementField/TextRefinementField.js";
63
+ import { CHAT_SHARED_CLASS as _t } from "./constants/public-class-names.js";
64
+ import { useCodeCopy as vt } from "./hooks/useCodeCopy.js";
65
+ import { restrainedSyntaxTheme as yt } from "./components/MarkdownRenderer/CodeBlock/syntax-theme.js";
66
+ import { MarkdownCodeBlock as bt } from "./components/MarkdownRenderer/CodeBlock/CodeBlock.js";
67
+ import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as xt, MARKDOWN_TABLE_CSV_MIME_TYPE as St, MarkdownTableCopyFormat as Ct, serializeMarkdownTableRows as wt } from "./components/MarkdownRenderer/Table/table-serialization.js";
68
+ import { MarkdownTable as Tt } from "./components/MarkdownRenderer/Table/MarkdownTable.js";
69
+ import { MarkdownRenderer as Et, defaultMarkdownComponents as Dt } from "./components/MarkdownRenderer/MarkdownRenderer.js";
70
+ import { COMPACT_MARKDOWN_CLASS_NAMES as Ot, DEFAULT_MARKDOWN_CLASS_NAMES as kt } from "./components/MarkdownRenderer/markdown-class-names.js";
71
+ import { PlainTextRenderer as At } from "./components/MarkdownRenderer/PlainTextRenderer.js";
72
+ import { MDMessageViewer as jt } from "./components/MarkdownRenderer/MDMessageViewer.js";
73
+ import { MarkdownWithPlaceholders as Mt } from "./components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.js";
74
+ import { buildInlineSegmentSource as Nt, createInlineSegmentComponents as Pt, createRehypeInlineSegments as Ft } from "./utils/inline-segments.js";
75
+ import { useCollapsedText as It } from "./hooks/useCollapsedText.js";
76
+ import { useAvailableHeightCap as Lt } from "./hooks/useAvailableHeightCap.js";
77
+ import { useControlErrorAssociation as Rt } from "./hooks/useControlErrorAssociation.js";
78
+ import { useIsMobile as zt } from "./hooks/useIsMobile.js";
79
+ import { useIsTablet as Bt } from "./hooks/useIsTablet.js";
80
+ import { useIsTextClipped as Vt } from "./hooks/useIsTextClipped.js";
81
+ import { useUnsavedChangesGuard as Ht } from "./hooks/useUnsavedChangesGuard.js";
82
+ import { DialFileManagerActionProfile as Ut, DialFileManagerVariant as Wt } from "./file-manager/file-manager-variant.js";
83
+ import { getParentFolderPath as Gt, isHiddenPath as Kt } from "./file-manager/path.js";
84
+ import { FileDownloadStatus as qt, FileUploadFailureReason as Jt, FileUploadStatus as Yt, isDownloadInProgress as Xt, isUploadInProgress as Zt } from "./file-manager/upload-batch.js";
85
+ import { useGridEditingScroll as Qt } from "./file-manager/useGridEditingScroll/useGridEditingScroll.js";
86
+ import { OperationLoaderModal as $t } from "./file-manager/OperationLoaderModal/OperationLoaderModal.js";
87
+ import { isSkillSelectionUnsupported as en } from "./utils/is-skill-selection-unsupported.js";
88
+ import { toConversationTransferQueueItems as tn } from "./conversation-transfer/conversation-transfer-queue.js";
89
+ export { Ye as ActionMenu, m as AttachmentErrorReason, h as AttachmentType, Ce as BASE_LG_ICON_PROPS, we as BASE_MD_ICON_PROPS, s as BackgroundGenerationStatus, _t as CHAT_SHARED_CLASS, Ot as COMPACT_MARKDOWN_CLASS_NAMES, g as CatalogEntityType, y as CodeBlockTheme, ct as ConfirmationDialog, st as ConfirmationFooter, it as ConfirmationIdentityCard, at as ConfirmationIdentityRow, ot as ConfirmationView, a as ConversationKind, e as ConversationTransferErrorCode, t as ConversationTransferJobStatus, n as ConversationTransferSubjectKind, r as ConversationTransferUnitKind, i as ConversationTransferWarningCode, We as CopyButton, Ge as CopyIconButton, kt as DEFAULT_MARKDOWN_CLASS_NAMES, xt as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, lt as DELETE_CONFIRMATION_MAX_LISTED_NAMES, Fe as DESKTOP_BREAKPOINT_PX, Ie as DESKTOP_MEDIA_QUERY, dt as DeleteConfirmationDialog, ft as DeleteConfirmationDrawer, ut as DeleteConfirmationView, Ue as DeploymentIcon, Ut as DialFileManagerActionProfile, Wt as DialFileManagerVariant, z as ENTITY_DESCRIPTION_MAX_LENGTH, B as ENTITY_INSTRUCTIONS_MAX_LENGTH, V as ENTITY_NAME_MAX_LENGTH, pe as ENTITY_TYPE_BG_COLOR, me as ENTITY_TYPE_COLOR, nt as EntityHeader, et as EntityTypeLabel, tt as FeaturedChip, qt as FileDownloadStatus, _ as FileExtension, Jt as FileUploadFailureReason, Yt as FileUploadStatus, o as FilterTab, Te as HIDDEN_FILE, He as InitialsAvatar, $e as ItemHeader, Oe as MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME, ke as MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME, Me as MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME, St as MARKDOWN_TABLE_CSV_MIME_TYPE, jt 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, Le as MOBILE_MAX_WIDTH_PX, Re as MOBILE_MEDIA_QUERY, bt as MarkdownCodeBlock, Et as MarkdownRenderer, Tt as MarkdownTable, Ct as MarkdownTableCopyFormat, Mt as MarkdownWithPlaceholders, c as MessageRating, l as MessageRole, Ze as NewVersionAlert, Qe as NotificationStack, $t as OperationLoaderModal, ze as PHONE_MEDIA_QUERY, P as PROHIBITED_CONVERSATION_NAME_CHARS_RE, he as PROMPT_PARAM_DEFAULT_SEPARATOR, ge as PROMPT_PARAM_PATTERN, _e as PROMPT_VARIABLE_CLASS_NAME, Ee as PUBLIC_BUCKET, Xe as PanelEmptyState, At as PlainTextRenderer, Ae as RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE, je as RESIZABLE_TEXTAREA_CLASS_NAME, u as RequestStatus, rt as ResourceSummary, p as ResponseFormat, Ne as SELECT_LIST_MAX_HEIGHT_CLASS_NAME, Pe as SELECT_LIST_MAX_HEIGHT_PX, d as StageStatus, f as StatusEvent, Be as TABLET_BREAKPOINT_PX, Ve as TABLET_MEDIA_QUERY, De as TAG_INPUT_TAG_CLASS_NAME, pt as TableHeader, gt as TextRefinementField, mt as TextRefinementState, ae as base64ToBlob, G as buildCssVars, Nt as buildInlineSegmentSource, ve as buildPromptParamDefaults, X as copyMarkdownAsRichText, Z as copyToClipboard, Pt as createInlineSegmentComponents, Ft as createRehypeInlineSegments, M as decodeJsonFromBase64, Dt as defaultMarkdownComponents, oe as downloadTextFile, N as encodeJsonToBase64, se as ensureDownloadFilename, H as exceedsMaxLength, Ke as extractInitials, ye as extractPromptParams, ne as formatCost, te as formatFileSize, ee as formatLastUsed, re as formatPrice, ie as formatUnitPrice, Se as generateUUID, w as getAttachmentTypeFromMime, T as getBaseMimeType, ce as getFileExtensionForLanguage, Gt as getParentFolderPath, F as getUtf8ByteLength, U as hasControlCharacters, E as inferMimeTypeFromPath, k as isAnnotationSelector, Y as isAudioTranscriptionSupported, Xt as isDownloadInProgress, Kt as isHiddenPath, en as isSkillSelectionUnsupported, K as isStatusMessage, fe as isSyntaxHighlightingAllowed, Zt as isUploadInProgress, $ as makeOutsideInert, Q as markdownToRichTextHtml, W as mergeClasses, q as messageAttachmentToDisplayAttachment, J as messageAttachmentsToDisplayAttachments, D as normalizeMimeType, A as normalizePersistedHtmlTagAttachmentType, j as normalizeRawAnnotations, qe as pickAvatarColor, be as rehypePromptVariables, xe as resolvePromptParams, yt as restrainedSyntaxTheme, I as sanitizeConversationName, wt as serializeMarkdownTableRows, L as stripTrailingDots, O as stripUrlQueryAndFragment, tn as toConversationTransferQueueItems, le as triggerAnchorDownload, ue as triggerBlobDownload, R as truncateToUtf8Bytes, de as tryBase64ToBytes, Lt as useAvailableHeightCap, vt as useCodeCopy, It as useCollapsedText, Rt as useControlErrorAssociation, Qt as useGridEditingScroll, zt as useIsMobile, Je as useIsPhone, Bt as useIsTablet, Vt as useIsTextClipped, ht as useTextRefinement, Ht 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.326",
4
+ "version": "1.3.0-dev.331",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sideEffects": [