@epam/ai-dial-chat-hooks 1.4.0-dev.12 → 1.4.0-dev.122
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/api-error/map-api-error.d.ts +10 -0
- package/api-error/map-api-error.d.ts.map +1 -0
- package/api-error/map-api-error.js +11 -0
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts +1 -1
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts.map +1 -1
- package/attachment/useAttachmentAction/useAttachmentAction.js +35 -44
- package/catalog/create-publish-api.d.ts +22 -1
- package/catalog/create-publish-api.d.ts.map +1 -1
- package/catalog/create-publish-api.js +20 -1
- package/catalog/entity-details.d.ts +5 -2
- package/catalog/entity-details.d.ts.map +1 -1
- package/catalog/map-entity-details-to-catalog.d.ts +4 -0
- package/catalog/map-entity-details-to-catalog.d.ts.map +1 -1
- package/catalog/map-entity-details-to-catalog.js +15 -13
- package/catalog/publish-dependency-icons.d.ts +22 -0
- package/catalog/publish-dependency-icons.d.ts.map +1 -0
- package/catalog/publish-dependency-icons.js +11 -0
- package/catalog/publish-target-taken.d.ts +31 -0
- package/catalog/publish-target-taken.d.ts.map +1 -0
- package/catalog/publish-target-taken.js +14 -0
- package/catalog/publish.d.ts +15 -2
- package/catalog/publish.d.ts.map +1 -1
- package/catalog/publish.js +15 -4
- package/catalog/resource-name-conflict.d.ts.map +1 -1
- package/catalog/resource-name-conflict.js +19 -22
- package/catalog/resource-save-adapter.d.ts +7 -2
- package/catalog/resource-save-adapter.d.ts.map +1 -1
- package/catalog/resource-save-adapters.d.ts +32 -7
- package/catalog/resource-save-adapters.d.ts.map +1 -1
- package/catalog/resource-save-adapters.js +47 -41
- package/catalog/resource-save.d.ts +17 -9
- package/catalog/resource-save.d.ts.map +1 -1
- package/catalog/resource-save.js +34 -25
- package/catalog/save-destination-root.d.ts +12 -0
- package/catalog/save-destination-root.d.ts.map +1 -0
- package/catalog/save-destination-root.js +6 -0
- package/catalog/use-publish-dependencies.d.ts +19 -0
- package/catalog/use-publish-dependencies.d.ts.map +1 -0
- package/catalog/use-publish-dependencies.js +25 -0
- package/catalog/use-publish-target-guard.d.ts +45 -0
- package/catalog/use-publish-target-guard.d.ts.map +1 -0
- package/catalog/use-publish-target-guard.js +18 -0
- package/catalog/usePublishFolders/usePublishFolders.d.ts +8 -2
- package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -1
- package/catalog/usePublishFolders/usePublishFolders.js +29 -29
- package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts +7 -3
- package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts.map +1 -1
- package/catalog/useResourceSavePanel/useResourceSavePanel.js +107 -97
- package/catalog/useVersionHistory/useVersionHistory.d.ts +38 -0
- package/catalog/useVersionHistory/useVersionHistory.d.ts.map +1 -0
- package/catalog/useVersionHistory/useVersionHistory.js +49 -0
- package/catalog/useVersionHistory/useVersionHistorySection.d.ts +30 -0
- package/catalog/useVersionHistory/useVersionHistorySection.d.ts.map +1 -0
- package/catalog/useVersionHistory/useVersionHistorySection.js +31 -0
- package/catalog/version-history.d.ts +42 -0
- package/catalog/version-history.d.ts.map +1 -0
- package/catalog/version-history.js +27 -0
- package/catalog.js +39 -31
- package/conversation/announcement-message.d.ts +12 -0
- package/conversation/announcement-message.d.ts.map +1 -1
- package/conversation/announcement-message.js +16 -10
- package/conversation/conversation-list.d.ts +7 -1
- package/conversation/conversation-list.d.ts.map +1 -1
- package/conversation/conversation-list.js +11 -2
- package/conversation/conversation-transfer/zip-export.d.ts +1 -1
- package/conversation/conversation-transfer/zip-export.d.ts.map +1 -1
- package/conversation/conversation-transfer/zip-export.js +7 -8
- package/conversation/conversation-transfer/zip-import.d.ts.map +1 -1
- package/conversation/conversation-transfer/zip-import.js +8 -9
- package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -1
- package/conversation/useConversationExport/useConversationExport.js +3 -1
- package/conversation/useConversationStream/generation-resume.d.ts.map +1 -1
- package/conversation/useConversationStream/generation-resume.js +119 -96
- package/conversation.js +44 -44
- package/entry-points/catalog.d.ts +7 -0
- package/entry-points/catalog.d.ts.map +1 -1
- package/entry-points/file-manager.d.ts +1 -0
- package/entry-points/file-manager.d.ts.map +1 -1
- package/entry-points/project.d.ts +5 -0
- package/entry-points/project.d.ts.map +1 -1
- package/entry-points/scheduled-tasks.d.ts +2 -0
- package/entry-points/scheduled-tasks.d.ts.map +1 -1
- package/entry-points/usage-limits.d.ts +1 -0
- package/entry-points/usage-limits.d.ts.map +1 -1
- package/entry-points/utils.d.ts +7 -0
- package/entry-points/utils.d.ts.map +1 -1
- package/file-manager.js +33 -32
- package/files/annotation.d.ts +3 -3
- package/files/annotation.d.ts.map +1 -1
- package/files/annotation.js +12 -11
- package/files/attachment-canvas.d.ts +1 -1
- package/files/attachment-canvas.d.ts.map +1 -1
- package/files/attachment-canvas.js +135 -135
- package/files/attachment-type-labels.d.ts +3 -0
- package/files/attachment-type-labels.d.ts.map +1 -0
- package/files/attachment-type-labels.js +12 -0
- package/files/attachment-types.d.ts +0 -2
- package/files/attachment-types.d.ts.map +1 -1
- package/files/attachment-types.js +7 -14
- package/files/dial-file.d.ts +18 -0
- package/files/dial-file.d.ts.map +1 -1
- package/files/dial-file.js +30 -5
- package/index.d.ts +23 -0
- package/index.d.ts.map +1 -1
- package/index.js +266 -244
- package/org-units/models.d.ts +11 -0
- package/org-units/models.d.ts.map +1 -0
- package/org-units/org-unit-guards.d.ts +64 -0
- package/org-units/org-unit-guards.d.ts.map +1 -0
- package/org-units/org-unit-guards.js +28 -0
- package/org-units/types.d.ts +14 -0
- package/org-units/types.d.ts.map +1 -0
- package/org-units/types.js +6 -0
- package/org-units/useFolderGuards/useFolderGuards.d.ts +31 -0
- package/org-units/useFolderGuards/useFolderGuards.d.ts.map +1 -0
- package/org-units/useFolderGuards/useFolderGuards.js +50 -0
- package/org-units/useOrgUnits/useOrgUnits.d.ts +34 -0
- package/org-units/useOrgUnits/useOrgUnits.d.ts.map +1 -0
- package/org-units/useOrgUnits/useOrgUnits.js +54 -0
- package/package.json +19 -19
- package/project/project-sharing-client.d.ts +8 -0
- package/project/project-sharing-client.d.ts.map +1 -0
- package/project/project-sharing-client.js +11 -0
- package/project/project-sharing.d.ts +28 -0
- package/project/project-sharing.d.ts.map +1 -0
- package/project/project-sharing.js +22 -0
- package/project/use-pinned-project-chats.d.ts +4 -2
- package/project/use-pinned-project-chats.d.ts.map +1 -1
- package/project/use-pinned-project-chats.js +152 -96
- package/project/use-project-conversations.d.ts.map +1 -1
- package/project/use-project-conversations.js +2 -2
- package/project/use-project-remove-from-list.d.ts +30 -0
- package/project/use-project-remove-from-list.d.ts.map +1 -0
- package/project/use-project-remove-from-list.js +39 -0
- package/project/use-project-revoke-access.d.ts +15 -0
- package/project/use-project-revoke-access.d.ts.map +1 -0
- package/project/use-project-revoke-access.js +32 -0
- package/project/use-project-share-recipients.d.ts +7 -0
- package/project/use-project-share-recipients.d.ts.map +1 -0
- package/project/use-project-share-recipients.js +36 -0
- package/project/use-projects.d.ts +1 -0
- package/project/use-projects.d.ts.map +1 -1
- package/project/use-projects.js +2 -1
- package/project.js +7 -2
- package/scheduled-task/scheduled-task-description.d.ts +19 -13
- package/scheduled-task/scheduled-task-description.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-description.js +39 -55
- package/scheduled-task/scheduled-task-display.d.ts +20 -6
- package/scheduled-task/scheduled-task-display.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-display.js +39 -43
- package/scheduled-task/scheduled-task-next-occurrence.d.ts +9 -5
- package/scheduled-task/scheduled-task-next-occurrence.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-next-occurrence.js +16 -16
- package/scheduled-task/scheduled-task-time-format.d.ts +34 -0
- package/scheduled-task/scheduled-task-time-format.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-time-format.js +33 -0
- package/scheduled-task/scheduled-task-trigger.d.ts +6 -4
- package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-trigger.js +92 -115
- package/scheduled-tasks.js +15 -13
- package/shared/timezones.d.ts +30 -0
- package/shared/timezones.d.ts.map +1 -0
- package/shared/timezones.js +102 -0
- package/skill/skill-archive.d.ts.map +1 -1
- package/skill/skill-archive.js +6 -7
- package/skill/skill.d.ts +2 -2
- package/skill/skill.d.ts.map +1 -1
- package/skill/skill.js +33 -34
- package/skill/useSkillEditorLoad.js +1 -1
- package/skill/useSkillEditorSubmit.d.ts +4 -1
- package/skill/useSkillEditorSubmit.d.ts.map +1 -1
- package/skill/useSkillEditorSubmit.js +125 -121
- package/usage/map-usage-data-to-dashboard.d.ts +22 -1
- package/usage/map-usage-data-to-dashboard.d.ts.map +1 -1
- package/usage/map-usage-data-to-dashboard.js +33 -2
- package/usage/spending-limits-mode.d.ts +37 -0
- package/usage/spending-limits-mode.d.ts.map +1 -0
- package/usage/spending-limits-mode.js +15 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts +6 -2
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts.map +1 -1
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts +4 -1
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts.map +1 -1
- package/usage/useUsageLimitBanner/useUsageLimitBanner.js +55 -47
- package/usage-limits.js +6 -5
- package/usage.js +3 -3
- package/utils.js +27 -21
- package/shared/cron-day-of-month.d.ts +0 -21
- package/shared/cron-day-of-month.d.ts.map +0 -1
- package/shared/cron-day-of-month.js +0 -13
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CatalogEntityType } from '@epam/ai-dial-chat-shared';
|
|
2
|
+
import { VersionHistoryLabels, VersionHistorySectionProps } from '@epam/ai-dial-publish-panel';
|
|
3
|
+
import { VersionHistoryFormatters, VersionHistoryListingItem } from '../version-history';
|
|
4
|
+
import { UseVersionHistoryParams } from './useVersionHistory';
|
|
5
|
+
/** Parameters of {@link useVersionHistorySection}. */
|
|
6
|
+
export interface UseVersionHistorySectionParams {
|
|
7
|
+
/** Id of the resource being edited or published. */
|
|
8
|
+
resourceId: string;
|
|
9
|
+
/** Catalog type of the resource. */
|
|
10
|
+
resourceType: CatalogEntityType;
|
|
11
|
+
/** Whether the panel showing the section is open; statuses load only while it is. */
|
|
12
|
+
isEnabled: boolean;
|
|
13
|
+
/** Items of the already-loaded deployments listing, used for applications. */
|
|
14
|
+
applications: readonly VersionHistoryListingItem[];
|
|
15
|
+
/** Items of the already-loaded toolsets listing, used for toolsets. */
|
|
16
|
+
toolsets: readonly VersionHistoryListingItem[];
|
|
17
|
+
/** Configured client that reads the version statuses. */
|
|
18
|
+
client: UseVersionHistoryParams['client'];
|
|
19
|
+
/** Translated section labels, from the host. */
|
|
20
|
+
labels: VersionHistoryLabels;
|
|
21
|
+
/** Host text and date formatting; keep it referentially stable. */
|
|
22
|
+
formatters: VersionHistoryFormatters;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Builds the props of the Versions history section for an application or toolset from the listings the host already holds.
|
|
26
|
+
* @param params - listings, edited resource, open state, client, labels and formatters
|
|
27
|
+
* @returns the section props, or `undefined` for an unversioned resource type and while the listing holds no version the user owns
|
|
28
|
+
*/
|
|
29
|
+
export declare const useVersionHistorySection: ({ resourceId, resourceType, isEnabled, applications, toolsets, client, labels, formatters, }: UseVersionHistorySectionParams) => VersionHistorySectionProps | undefined;
|
|
30
|
+
//# sourceMappingURL=useVersionHistorySection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVersionHistorySection.d.ts","sourceRoot":"","sources":["../../../src/catalog/useVersionHistory/useVersionHistorySection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAE7B,sDAAsD;AACtD,MAAM,WAAW,8BAA8B;IAC7C,oDAAoD;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,YAAY,EAAE,iBAAiB,CAAC;IAChC,qFAAqF;IACrF,SAAS,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,YAAY,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACnD,uEAAuE;IACvE,QAAQ,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC/C,yDAAyD;IACzD,MAAM,EAAE,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAC1C,gDAAgD;IAChD,MAAM,EAAE,oBAAoB,CAAC;IAC7B,mEAAmE;IACnE,UAAU,EAAE,wBAAwB,CAAC;CACtC;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GAAI,8FAStC,8BAA8B,KAAG,0BAA0B,GAAG,SAqBhE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { isVersionedCatalogEntityType as e, toPublishEntityType as t } from "../publish.js";
|
|
2
|
+
import { useVersionHistory as n } from "./useVersionHistory.js";
|
|
3
|
+
import { useMemo as r } from "react";
|
|
4
|
+
//#region src/catalog/useVersionHistory/useVersionHistorySection.ts
|
|
5
|
+
var i = ({ resourceId: i, resourceType: a, isEnabled: o, applications: s, toolsets: c, client: l, labels: u, formatters: d }) => {
|
|
6
|
+
let f = e(a), p = t(a) ?? "application", { rows: m, hasVersions: h, isLoading: g, hasError: _, onRetry: v } = n({
|
|
7
|
+
items: p === "toolset" ? c : s,
|
|
8
|
+
resourceId: i,
|
|
9
|
+
entityType: p,
|
|
10
|
+
isEnabled: o && f,
|
|
11
|
+
client: l,
|
|
12
|
+
formatters: d
|
|
13
|
+
});
|
|
14
|
+
return r(() => f && h ? {
|
|
15
|
+
rows: m,
|
|
16
|
+
isLoading: g,
|
|
17
|
+
hasError: _,
|
|
18
|
+
onRetry: v,
|
|
19
|
+
labels: u
|
|
20
|
+
} : void 0, [
|
|
21
|
+
f,
|
|
22
|
+
h,
|
|
23
|
+
m,
|
|
24
|
+
g,
|
|
25
|
+
_,
|
|
26
|
+
v,
|
|
27
|
+
u
|
|
28
|
+
]);
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { i as useVersionHistorySection };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { VersionStatusEntryDto } from '@epam/ai-dial-chat-api-client';
|
|
2
|
+
import { VersionHistoryRow } from '@epam/ai-dial-publish-panel';
|
|
3
|
+
/** The fields of a deployments or toolsets listing item the Versions history reads. */
|
|
4
|
+
export interface VersionHistoryListingItem {
|
|
5
|
+
/** Resource id as the listing returns it. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** Key shared by every version of one resource saved by one owner in one folder. */
|
|
8
|
+
versionGroupId?: string;
|
|
9
|
+
/** Display version of the item. */
|
|
10
|
+
displayVersion?: string;
|
|
11
|
+
/** Last modified time, epoch milliseconds. */
|
|
12
|
+
updatedAt?: number;
|
|
13
|
+
/** Original author of the resource. */
|
|
14
|
+
owner?: string;
|
|
15
|
+
/** Whether the item belongs to the caller. */
|
|
16
|
+
isMy?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/** Host-supplied text and date formatting for the Versions history rows. */
|
|
19
|
+
export interface VersionHistoryFormatters {
|
|
20
|
+
/** Translated label of the Personal root, the first part of every folder. */
|
|
21
|
+
rootLabel: string;
|
|
22
|
+
/** Formats a last-modified time given in epoch milliseconds. */
|
|
23
|
+
formatDate: (timestamp: number) => string;
|
|
24
|
+
/** Builds the author line of a published version, e.g. `Published by {name}`. */
|
|
25
|
+
formatPublishedBy: (name: string) => string;
|
|
26
|
+
/** Builds the author line of any other version, e.g. `by {name}`. */
|
|
27
|
+
formatOwner: (name: string) => string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Selects the other saved versions of `resourceId` from a listing: the caller's own items that share its `versionGroupId`, without the version itself.
|
|
31
|
+
* @param items - deployments or toolsets listing items
|
|
32
|
+
* @param resourceId - id of the resource being edited or published
|
|
33
|
+
*/
|
|
34
|
+
export declare const selectOtherVersions: <T extends VersionHistoryListingItem>(items: readonly T[], resourceId: string) => T[];
|
|
35
|
+
/**
|
|
36
|
+
* Builds the Versions history rows, newest first by last modified time.
|
|
37
|
+
* @param group - the other versions of the resource, from {@link selectOtherVersions}
|
|
38
|
+
* @param statuses - statuses by item id; omit while they load
|
|
39
|
+
* @param formatters - host text and date formatting
|
|
40
|
+
*/
|
|
41
|
+
export declare const buildVersionHistoryRows: (group: readonly VersionHistoryListingItem[], statuses: ReadonlyMap<string, VersionStatusEntryDto> | undefined, formatters: VersionHistoryFormatters) => VersionHistoryRow[];
|
|
42
|
+
//# sourceMappingURL=version-history.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-history.d.ts","sourceRoot":"","sources":["../../src/catalog/version-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AAIrC,uFAAuF;AACvF,MAAM,WAAW,yBAAyB;IACxC,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8CAA8C;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,4EAA4E;AAC5E,MAAM,WAAW,wBAAwB;IACvC,6EAA6E;IAC7E,SAAS,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,iFAAiF;IACjF,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5C,qEAAqE;IACrE,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC;AASD;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,yBAAyB,EACrE,OAAO,SAAS,CAAC,EAAE,EACnB,YAAY,MAAM,KACjB,CAAC,EAaH,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAClC,OAAO,SAAS,yBAAyB,EAAE,EAC3C,UAAU,WAAW,CAAC,MAAM,EAAE,qBAAqB,CAAC,GAAG,SAAS,EAChE,YAAY,wBAAwB,KACnC,iBAAiB,EA2BnB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { safeDecodeURIComponent as e } from "../shared/string-utils.js";
|
|
2
|
+
import { parseResourceFolderPath as t } from "./resource-folder.js";
|
|
3
|
+
import { VersionPublicationStatus as n } from "@epam/ai-dial-chat-api-client";
|
|
4
|
+
import { VersionHistoryStatus as r } from "@epam/ai-dial-publish-panel";
|
|
5
|
+
//#region src/catalog/version-history.ts
|
|
6
|
+
var i = {
|
|
7
|
+
[n.NotPublished]: r.NotPublished,
|
|
8
|
+
[n.InReview]: r.InReview,
|
|
9
|
+
[n.Published]: r.Published,
|
|
10
|
+
[n.Unknown]: r.Unknown
|
|
11
|
+
}, a = (t, n) => {
|
|
12
|
+
if (n === "") return [];
|
|
13
|
+
let r = e(n), i = t.find((t) => e(t.id) === r);
|
|
14
|
+
return i?.isMy !== !0 || i.versionGroupId == null ? [] : t.filter((e) => e !== i && e.isMy === !0 && e.versionGroupId === i.versionGroupId);
|
|
15
|
+
}, o = (n, a, o) => [...n].sort((e, t) => (t.updatedAt ?? 0) - (e.updatedAt ?? 0)).map((n) => {
|
|
16
|
+
let s = a?.get(e(n.id)), c = s ? i[s.status] : void 0, l;
|
|
17
|
+
return c === r.Published && s?.publishedBy ? l = o.formatPublishedBy(s.publishedBy) : n.owner && (l = o.formatOwner(n.owner)), {
|
|
18
|
+
id: n.id,
|
|
19
|
+
version: n.displayVersion ?? "",
|
|
20
|
+
status: c,
|
|
21
|
+
folder: [o.rootLabel, ...t(n.id)].join(" / "),
|
|
22
|
+
modifiedAt: n.updatedAt == null ? void 0 : o.formatDate(n.updatedAt),
|
|
23
|
+
author: l
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { o as buildVersionHistoryRows, a as selectOtherVersions };
|
package/catalog.js
CHANGED
|
@@ -10,34 +10,42 @@ import { buildPromptOverview as C, isOrganisationPromptItem as w, mapPromptToCat
|
|
|
10
10
|
import { PUBLIC_SKILL_BUCKET as E, SKILL_LISTING_MAX_PAGES as D, SKILL_LISTING_PAGE_SIZE as O, SKILL_MANIFEST_MAX_BYTES as k, SkillSource as A, parseSkillResourceUrl as j } from "./skill/skill-types.js";
|
|
11
11
|
import { buildSkillContentTree as M, buildSkillOverview as N, mapSkillToCatalogItem as P, readSkillFileBytes as F, readSkillFilePreviewBytes as I, readSkillManifest as L, resolveSkillFileDownloadPath as R, resolveSkillManifestFileId as z } from "./catalog/map-skill-to-catalog-item.js";
|
|
12
12
|
import { McpResourceKind as B, buildApplicationMcpUrl as V, buildConnectApi as H, buildToolsetMcpUrl as U, resolveMcpResourceKind as W } from "./catalog/mcp-endpoint-url.js";
|
|
13
|
-
import { getPublicCatalogEntityFolderPath as G, isPublicCatalogEntityId as K,
|
|
14
|
-
import {
|
|
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
|
-
|
|
13
|
+
import { getPublicCatalogEntityFolderPath as G, isPublicCatalogEntityId as K, isVersionedCatalogEntityType as q, mapPublishConversationResultDto as J, mapPublishHistoryEntryDto as Y, mapResourceDependencyDto as X, toPublishEntityType as Z } from "./catalog/publish.js";
|
|
14
|
+
import { createPublishDependencyIconResolver as Q } from "./catalog/publish-dependency-icons.js";
|
|
15
|
+
import { usePublishHistory as $ } from "./catalog/use-publish-history.js";
|
|
16
|
+
import { PublishTargetTakenError as ee, isPublishInProgressDetails as te, isPublishTargetTakenResponse as ne, wrapPublishTargetTaken as re } from "./catalog/publish-target-taken.js";
|
|
17
|
+
import { usePublishTargetGuard as ie } from "./catalog/use-publish-target-guard.js";
|
|
18
|
+
import { usePublishDependencies as ae } from "./catalog/use-publish-dependencies.js";
|
|
19
|
+
import { resolveUnpublishableFolders as oe } from "./catalog/unpublishable-folders.js";
|
|
20
|
+
import { useUnpublishableFolders as se } from "./catalog/useUnpublishableFolders/useUnpublishableFolders.js";
|
|
21
|
+
import { useUnpublishConfirmation as ce } from "./catalog/useUnpublishConfirmation/useUnpublishConfirmation.js";
|
|
22
|
+
import { canEditShareAccess as le, deriveAvailableTabIds as ue, deriveFavoriteItems as de, filterCatalogItemsBySelector as fe, filterHiddenOwnedItems as pe, reconcileFilterTopics as me } from "./catalog/catalog-derivations.js";
|
|
23
|
+
import { CatalogEntityKind as he, findSchemaDisplayName as ge, resolveCatalogEntityKind as _e } from "./catalog/catalog-entity-kind.js";
|
|
24
|
+
import { FavoriteEntityType as ve, useFavoriteEntitiesState as ye } from "./catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.js";
|
|
25
|
+
import { resolveFavoriteEntityType as be } from "./catalog/favorite-entity-type.js";
|
|
26
|
+
import { parseCatalogFilterTopics as xe, resolveCatalogActiveTab as Se, resolveCatalogSortKey as Ce } from "./catalog/catalog-preferences.js";
|
|
27
|
+
import { findWorstCappedRow as we } from "./catalog/usage-limit-rows.js";
|
|
28
|
+
import { CatalogPrimaryActionType as Te, resolveCatalogPrimaryAction as Ee } from "./catalog/catalog-primary-action.js";
|
|
29
|
+
import { useCatalogItemDelete as De } from "./catalog/useCatalogItemDelete/useCatalogItemDelete.js";
|
|
30
|
+
import { useCatalogEditNavigation as Oe } from "./catalog/useCatalogEditNavigation/useCatalogEditNavigation.js";
|
|
31
|
+
import { useSkillItemDetails as ke } from "./catalog/useSkillItemDetails.js";
|
|
32
|
+
import { useCatalogItemDetails as Ae } from "./catalog/useCatalogItemDetails.js";
|
|
33
|
+
import { useCatalogToolsetCredentials as je } from "./catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.js";
|
|
34
|
+
import { buildApplicationCredentialLoginParams as Me, mapApplicationCredentials as Ne } from "./catalog/application-credentials.js";
|
|
35
|
+
import { useApplicationCredentials as Pe } from "./catalog/useApplicationCredentials/useApplicationCredentials.js";
|
|
36
|
+
import { DEFAULT_APPLICATION_CREDENTIAL_ACTIONS_LABELS as Fe, useApplicationCredentialActions as Ie } from "./catalog/useApplicationCredentialActions/useApplicationCredentialActions.js";
|
|
37
|
+
import { useSkillDetailsPanelData as Le } from "./catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.js";
|
|
38
|
+
import { hasPublishFolderWriteAccess as Re, rememberPublishFolderKey as ze, usePublishFolders as Be } from "./catalog/usePublishFolders/usePublishFolders.js";
|
|
39
|
+
import { useResourceFolders as Ve } from "./catalog/useResourceFolders/useResourceFolders.js";
|
|
40
|
+
import { parseResourceFolderPath as He } from "./catalog/resource-folder.js";
|
|
41
|
+
import { ResourceSaveError as Ue, isResourceCreateAdapter as We } from "./catalog/resource-save-adapter.js";
|
|
42
|
+
import { ResourceNameConflictKind as Ge, getResourceNameConflictKind as Ke, withResourceNameConflictMessages as qe } from "./catalog/resource-name-conflict.js";
|
|
43
|
+
import { SaveDestinationRoot as Je } from "./catalog/save-destination-root.js";
|
|
44
|
+
import { ResourceSaveOutcome as Ye, ResourceSaveVersionError as Xe, createPublishSavedResource as Ze, runResourceSave as Qe, toSaveDestinationRoot as $e } from "./catalog/resource-save.js";
|
|
45
|
+
import { createEmbeddedApplicationSaveAdapter as et, createHostApplicationSaveAdapter as tt, createOrgUnitWriter as nt, createPromptCreateAdapter as rt, createPromptFolderLister as it, createPromptSaveAdapter as at, createSkillFolderLister as ot, createToolsetCreateAdapter as st, createToolsetSaveAdapter as ct } from "./catalog/resource-save-adapters.js";
|
|
46
|
+
import { useResourceSavePanel as lt } from "./catalog/useResourceSavePanel/useResourceSavePanel.js";
|
|
47
|
+
import { buildVersionHistoryRows as ut, selectOtherVersions as dt } from "./catalog/version-history.js";
|
|
48
|
+
import { useVersionHistory as ft } from "./catalog/useVersionHistory/useVersionHistory.js";
|
|
49
|
+
import { useVersionHistorySection as pt } from "./catalog/useVersionHistory/useVersionHistorySection.js";
|
|
50
|
+
import { SkillPreviewErrorKind as mt, useSkillFilePreview as ht } from "./skill/useSkillFilePreview.js";
|
|
51
|
+
export { u as AuthenticationType, he as CatalogEntityKind, Te as CatalogPrimaryActionType, Fe as DEFAULT_APPLICATION_CREDENTIAL_ACTIONS_LABELS, m as DEFAULT_ENTITY_DETAILS_LABELS, ve as FavoriteEntityType, B as McpResourceKind, E as PUBLIC_SKILL_BUCKET, ee as PublishTargetTakenError, Ge as ResourceNameConflictKind, Ue as ResourceSaveError, Ye as ResourceSaveOutcome, Xe as ResourceSaveVersionError, D as SKILL_LISTING_MAX_PAGES, O as SKILL_LISTING_PAGE_SIZE, k as SKILL_MANIFEST_MAX_BYTES, Je as SaveDestinationRoot, mt as SkillPreviewErrorKind, A as SkillSource, Me as buildApplicationCredentialLoginParams, V as buildApplicationMcpUrl, n as buildChatCompletionsUrl, H as buildConnectApi, r as buildDeploymentConnectApi, C as buildPromptOverview, d as buildResetFields, i as buildResponsesUrl, M as buildSkillContentTree, N as buildSkillOverview, U as buildToolsetMcpUrl, ut as buildVersionHistoryRows, le as canEditShareAccess, a as createDeploymentLookup, et as createEmbeddedApplicationSaveAdapter, tt as createHostApplicationSaveAdapter, nt as createOrgUnitWriter, rt as createPromptCreateAdapter, it as createPromptFolderLister, at as createPromptSaveAdapter, e as createPublishApiClient, Q as createPublishDependencyIconResolver, Ze as createPublishSavedResource, ot as createSkillFolderLister, st as createToolsetCreateAdapter, ct as createToolsetSaveAdapter, o as decodeDeploymentId, ue as deriveAvailableTabIds, de as deriveFavoriteItems, s as encodeDeploymentId, fe as filterCatalogItemsBySelector, pe as filterHiddenOwnedItems, c as findDeploymentByIdOrReference, ge as findSchemaDisplayName, we as findWorstCappedRow, G as getPublicCatalogEntityFolderPath, Ke as getResourceNameConflictKind, Re as hasPublishFolderWriteAccess, w as isOrganisationPromptItem, K as isPublicCatalogEntityId, te as isPublishInProgressDetails, ne as isPublishTargetTakenResponse, We as isResourceCreateAdapter, q as isVersionedCatalogEntityType, Ne as mapApplicationCredentials, h as mapDeploymentDetailsDtoToEntityDetails, p as mapDeploymentLimitsDtoToCatalogLimits, f as mapDeploymentLimitsToInput, v as mapDeploymentToCatalogItem, y as mapDeploymentToolsetCredentials, g as mapEntityDetailsToCatalogDetails, T as mapPromptToCatalogItem, J as mapPublishConversationResultDto, Y as mapPublishHistoryEntryDto, X as mapResourceDependencyDto, P as mapSkillToCatalogItem, _ as mapToolsetCredentials, b as mapToolsetToCatalogItem, l as normalizeDeploymentId, xe as parseCatalogFilterTopics, He as parseResourceFolderPath, j as parseSkillResourceUrl, F as readSkillFileBytes, I as readSkillFilePreviewBytes, L as readSkillManifest, me as reconcileFilterTopics, ze as rememberPublishFolderKey, Se as resolveCatalogActiveTab, _e as resolveCatalogEntityKind, Ee as resolveCatalogPrimaryAction, Ce as resolveCatalogSortKey, x as resolveDeploymentFolder, be as resolveFavoriteEntityType, W as resolveMcpResourceKind, R as resolveSkillFileDownloadPath, z as resolveSkillManifestFileId, oe as resolveUnpublishableFolders, Qe as runResourceSave, dt as selectOtherVersions, S as supportsChatInterface, Z as toPublishEntityType, t as toPublishRuleDto, $e as toSaveDestinationRoot, Ie as useApplicationCredentialActions, Pe as useApplicationCredentials, Oe as useCatalogEditNavigation, De as useCatalogItemDelete, Ae as useCatalogItemDetails, je as useCatalogToolsetCredentials, ye as useFavoriteEntitiesState, ae as usePublishDependencies, Be as usePublishFolders, $ as usePublishHistory, ie as usePublishTargetGuard, Ve as useResourceFolders, lt as useResourceSavePanel, Le as useSkillDetailsPanelData, ht as useSkillFilePreview, ke as useSkillItemDetails, ce as useUnpublishConfirmation, se as useUnpublishableFolders, ft as useVersionHistory, pt as useVersionHistorySection, qe as withResourceNameConflictMessages, re as wrapPublishTargetTaken };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AnnouncementSeverity as AnnouncementSeverityDto } from '@epam/ai-dial-chat-api-client';
|
|
1
2
|
/** A link rendered as the call to action of an announcements-popover entry. */
|
|
2
3
|
export interface AnnouncementListItemLink {
|
|
3
4
|
/** Visible text of the call to action. */
|
|
@@ -5,6 +6,13 @@ export interface AnnouncementListItemLink {
|
|
|
5
6
|
/** Absolute `http`/`https` target the call to action opens. */
|
|
6
7
|
href: string;
|
|
7
8
|
}
|
|
9
|
+
/** How urgent an announcements-popover entry is. */
|
|
10
|
+
export declare enum AnnouncementSeverity {
|
|
11
|
+
/** An ordinary news item. */
|
|
12
|
+
Info = "info",
|
|
13
|
+
/** A maintenance or outage notice a host may mark, for example with an icon. */
|
|
14
|
+
Warning = "warning"
|
|
15
|
+
}
|
|
8
16
|
/** One entry of the announcements popover behind the banner's `+N` pill. */
|
|
9
17
|
export interface AnnouncementListItem {
|
|
10
18
|
/** Plain-text heading of the entry. */
|
|
@@ -13,7 +21,11 @@ export interface AnnouncementListItem {
|
|
|
13
21
|
description?: string | null;
|
|
14
22
|
/** Optional call to action shown at the end of the entry. */
|
|
15
23
|
link?: AnnouncementListItemLink | null;
|
|
24
|
+
/** How urgent the entry is. Absent means `AnnouncementSeverity.Info`. */
|
|
25
|
+
severity?: AnnouncementSeverity;
|
|
16
26
|
}
|
|
27
|
+
/** Returns the `AnnouncementSeverity` for a generated-client severity, or `Info` when it is missing or unknown. */
|
|
28
|
+
export declare const mapAnnouncementSeverity: (severity: AnnouncementSeverityDto | null | undefined) => AnnouncementSeverity;
|
|
17
29
|
/** Structured announcement banner content. */
|
|
18
30
|
export interface AnnouncementContent {
|
|
19
31
|
title: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement-message.d.ts","sourceRoot":"","sources":["../../src/conversation/announcement-message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"announcement-message.d.ts","sourceRoot":"","sources":["../../src/conversation/announcement-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAgChG,+EAA+E;AAC/E,MAAM,WAAW,wBAAwB;IACvC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oDAAoD;AACpD,oBAAY,oBAAoB;IAC9B,6BAA6B;IAC7B,IAAI,SAAS;IACb,gFAAgF;IAChF,OAAO,YAAY;CACpB;AAED,4EAA4E;AAC5E,MAAM,WAAW,oBAAoB;IACnC,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,6DAA6D;IAC7D,IAAI,CAAC,EAAE,wBAAwB,GAAG,IAAI,CAAC;IACvC,yEAAyE;IACzE,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC;AAYD,mHAAmH;AACnH,eAAO,MAAM,uBAAuB,GAClC,UAAU,uBAAuB,GAAG,IAAI,GAAG,SAAS,KACnD,oBAGwB,CAAC;AAE5B,8CAA8C;AAC9C,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAC;CACzC;AAQD,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,KAAG,MACgB,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,GAAI,MAAM,MAAM,KAAG,MACY,CAAC;AAK5E;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,GAAI,yBAGvC,mBAAmB,KAAG,OACqB,CAAC;AAE/C,yFAAyF;AACzF,eAAO,MAAM,sBAAsB,GAAI,SAAS,mBAAmB,KAAG,OACN,CAAC;AA+BjE;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,mBAAmB,KAC3B,MAgBF,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import e from "
|
|
1
|
+
import { AnnouncementSeverity as e } from "@epam/ai-dial-chat-api-client";
|
|
2
|
+
import t from "dompurify";
|
|
2
3
|
//#region src/conversation/announcement-message.ts
|
|
3
|
-
var
|
|
4
|
+
var n = {
|
|
4
5
|
ALLOWED_TAGS: [
|
|
5
6
|
"a",
|
|
6
7
|
"b",
|
|
@@ -14,7 +15,7 @@ var t = {
|
|
|
14
15
|
"target",
|
|
15
16
|
"rel"
|
|
16
17
|
]
|
|
17
|
-
},
|
|
18
|
+
}, r = {
|
|
18
19
|
ALLOWED_TAGS: [
|
|
19
20
|
"a",
|
|
20
21
|
"b",
|
|
@@ -30,24 +31,29 @@ var t = {
|
|
|
30
31
|
"target",
|
|
31
32
|
"rel"
|
|
32
33
|
]
|
|
33
|
-
}
|
|
34
|
-
e.
|
|
34
|
+
}, i = /* @__PURE__ */ function(e) {
|
|
35
|
+
return e.Info = "info", e.Warning = "warning", e;
|
|
36
|
+
}({}), a = {
|
|
37
|
+
[e.Info]: "info",
|
|
38
|
+
[e.Warning]: "warning"
|
|
39
|
+
}, o = (e) => e != null && a[e] || "info";
|
|
40
|
+
t.addHook("afterSanitizeAttributes", (e) => {
|
|
35
41
|
e.tagName === "A" && e.getAttribute("target") === "_blank" && e.setAttribute("rel", "noopener noreferrer");
|
|
36
42
|
});
|
|
37
|
-
var
|
|
43
|
+
var s = (e) => t.sanitize(e, n), c = (e) => t.sanitize(e, r), l = (e) => typeof e == "string" && e.length > 0, u = ({ title: e, description: t }) => l(e) || l(t), d = (e) => u(e) || l(e.html), f = (e) => e.map((e) => ({
|
|
38
44
|
title: e.title,
|
|
39
45
|
description: e.description ?? "",
|
|
40
46
|
link: e.link ? {
|
|
41
47
|
label: e.link.label,
|
|
42
48
|
href: e.link.href
|
|
43
49
|
} : null
|
|
44
|
-
})),
|
|
45
|
-
if (!
|
|
50
|
+
})), p = (e) => {
|
|
51
|
+
if (!u(e)) return e.html ?? "";
|
|
46
52
|
let t = {
|
|
47
53
|
title: e.title ?? "",
|
|
48
54
|
description: e.description ?? ""
|
|
49
55
|
}, n = e.items ?? [];
|
|
50
|
-
return n.length > 0 && (t.items =
|
|
56
|
+
return n.length > 0 && (t.items = f(n)), JSON.stringify(t);
|
|
51
57
|
};
|
|
52
58
|
//#endregion
|
|
53
|
-
export {
|
|
59
|
+
export { i as AnnouncementSeverity, p as buildAnnouncementSignature, d as hasAnnouncementContent, u as hasStructuredAnnouncement, o as mapAnnouncementSeverity, s as sanitizeAnnouncementHtml, c as sanitizeAnnouncementMessageHtml };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import { ConversationDeletionResultDto } from '@epam/ai-dial-chat-api-client';
|
|
1
|
+
import { ConversationDeletionResultDto, ConversationListItemDto, ConversationResponseDto } from '@epam/ai-dial-chat-api-client';
|
|
2
|
+
/** Returns the list endpoint's id (`conversations/<bucket>/<encoded path>`) for a decoded `<bucket>/<path>` conversation id. */
|
|
3
|
+
export declare const toConversationListId: (conversationId: string) => string;
|
|
4
|
+
/** Returns whether a decoded `<bucket>/<path>` conversation id lives in `bucket`. */
|
|
5
|
+
export declare const isConversationInBucket: (conversationId: string, bucket: string | undefined) => boolean;
|
|
6
|
+
/** Returns the list row for a conversation in the user's own bucket, titled `title`. */
|
|
7
|
+
export declare const toOwnConversationListItem: (conversationId: string, conversation: Pick<ConversationResponseDto, "updatedAt">, title: string) => ConversationListItemDto;
|
|
2
8
|
/** Returns `true` when a delete-all request removed nothing: some conversations failed and none was deleted or already gone. */
|
|
3
9
|
export declare const isTotalDeletionFailure: (result: Pick<ConversationDeletionResultDto, "failed" | "deleted" | "alreadyAbsent">) => boolean;
|
|
4
10
|
/** Returns the pin state a dragged conversation takes in its target group: `true` to pin, `false` to unpin, `undefined` to leave it. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-list.d.ts","sourceRoot":"","sources":["../../src/conversation/conversation-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"conversation-list.d.ts","sourceRoot":"","sources":["../../src/conversation/conversation-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,+BAA+B,CAAC;AAGvC,gIAAgI;AAChI,eAAO,MAAM,oBAAoB,GAAI,gBAAgB,MAAM,KAAG,MAI9C,CAAC;AAEjB,qFAAqF;AACrF,eAAO,MAAM,sBAAsB,GACjC,gBAAgB,MAAM,EACtB,QAAQ,MAAM,GAAG,SAAS,KACzB,OAA8D,CAAC;AAElE,wFAAwF;AACxF,eAAO,MAAM,yBAAyB,GACpC,gBAAgB,MAAM,EACtB,cAAc,IAAI,CAAC,uBAAuB,EAAE,WAAW,CAAC,EACxD,OAAO,MAAM,KACZ,uBASD,CAAC;AAEH,gIAAgI;AAChI,eAAO,MAAM,sBAAsB,GACjC,QAAQ,IAAI,CACV,6BAA6B,EAC7B,QAAQ,GAAG,SAAS,GAAG,eAAe,CACvC,KACA,OAGyB,CAAC;AAE7B,wIAAwI;AACxI,eAAO,MAAM,4BAA4B,GACvC,gBAAgB,MAAM,EACtB,UAAU,OAAO,GAAG,SAAS,KAC5B,OAAO,GAAG,SAIZ,CAAC"}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { FilterTab as e } from "@epam/ai-dial-chat-shared";
|
|
2
2
|
//#region src/conversation/conversation-list.ts
|
|
3
|
-
var t = (e) => e.
|
|
3
|
+
var t = (e) => `conversations/${e.split("/").map((e) => encodeURIComponent(e)).join("/")}`, n = (e, t) => !!t && e.startsWith(`${t}/`), r = (e, n, r) => ({
|
|
4
|
+
id: t(e),
|
|
5
|
+
title: r,
|
|
6
|
+
updatedAt: n.updatedAt || Date.now(),
|
|
7
|
+
sharedWithMe: !1,
|
|
8
|
+
publishedWithMe: !1,
|
|
9
|
+
isPinned: !1,
|
|
10
|
+
isReadonly: !1,
|
|
11
|
+
isScheduledTask: !1
|
|
12
|
+
}), i = (e) => e.failed.length > 0 && e.deleted === 0 && e.alreadyAbsent === 0, a = (t, n) => t === e.Pinned || !n && void 0;
|
|
4
13
|
//#endregion
|
|
5
|
-
export {
|
|
14
|
+
export { n as isConversationInBucket, i as isTotalDeletionFailure, a as resolveConversationPinChange, t as toConversationListId, r as toOwnConversationListItem };
|
|
@@ -27,5 +27,5 @@ export interface BuildDialArchiveResult {
|
|
|
27
27
|
* plus every valid attachment, laid out under `res/<path>`. Attachments
|
|
28
28
|
* failing the path allowlist are skipped and reported in `skippedPaths`.
|
|
29
29
|
*/
|
|
30
|
-
export declare const buildDialArchive: (envelope: ExportFormat, attachments: ZipAttachmentEntry[]) => BuildDialArchiveResult
|
|
30
|
+
export declare const buildDialArchive: (envelope: ExportFormat, attachments: ZipAttachmentEntry[]) => Promise<BuildDialArchiveResult>;
|
|
31
31
|
//# sourceMappingURL=zip-export.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zip-export.d.ts","sourceRoot":"","sources":["../../../src/conversation/conversation-transfer/zip-export.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"zip-export.d.ts","sourceRoot":"","sources":["../../../src/conversation/conversation-transfer/zip-export.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAkB9D;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,OAI4B,CAAC;AAE/E,6FAA6F;AAC7F,MAAM,WAAW,kBAAkB;IACjC,iFAAiF;IACjF,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC,iCAAiC;IACjC,IAAI,EAAE,IAAI,CAAC;IACX,mFAAmF;IACnF,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC3B,UAAU,YAAY,EACtB,aAAa,kBAAkB,EAAE,KAChC,OAAO,CAAC,sBAAsB,CA4BhC,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { strToU8 as e, zipSync as t } from "fflate";
|
|
2
1
|
//#region src/conversation/conversation-transfer/zip-export.ts
|
|
3
|
-
var
|
|
4
|
-
let o = [],
|
|
5
|
-
for (let
|
|
6
|
-
let
|
|
2
|
+
var e = (e, t) => e instanceof t ? e : new t(e), t = (e) => e.length > 0 && e.split("/").every((e) => e !== "" && e !== "." && e !== ".."), n = async (n, r) => {
|
|
3
|
+
let { strToU8: i, zipSync: a } = await import("fflate"), o = i("", !0).constructor, s = [], c = { "conversation.json": e(i(JSON.stringify(n, null, 2)), o) };
|
|
4
|
+
for (let n of r) t(n.path) ? c[`res/${n.path}`] = e(n.data, o) : s.push(n.path);
|
|
5
|
+
let l = a(c);
|
|
7
6
|
return {
|
|
8
|
-
blob: new Blob([new Uint8Array(
|
|
9
|
-
skippedPaths:
|
|
7
|
+
blob: new Blob([new Uint8Array(l)], { type: "application/zip" }),
|
|
8
|
+
skippedPaths: s
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
//#endregion
|
|
13
|
-
export {
|
|
12
|
+
export { n as buildDialArchive, t as isValidArchivePath };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zip-import.d.ts","sourceRoot":"","sources":["../../../src/conversation/conversation-transfer/zip-import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"zip-import.d.ts","sourceRoot":"","sources":["../../../src/conversation/conversation-transfer/zip-import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAc9D,MAAM,WAAW,iBAAiB;IAChC,gDAAgD;IAChD,QAAQ,EAAE,YAAY,CAAC;IACvB,sFAAsF;IACtF,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACtC;AAqBD;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAC3B,MAAM,IAAI,KACT,OAAO,CAAC,iBAAiB,CAmC3B,CAAC"}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { UnsupportedImportFormatError as e, parseImportEnvelope as t } from "./import-conversation.js";
|
|
2
2
|
import { isValidArchivePath as n } from "./zip-export.js";
|
|
3
|
-
import { strFromU8 as r, unzipSync as i } from "fflate";
|
|
4
3
|
//#region src/conversation/conversation-transfer/zip-import.ts
|
|
5
|
-
var
|
|
4
|
+
var r = "conversation.json", i = /^conversations\/.*\.json$/, a = "res/", o = (e) => e.find((e) => e === r) ?? e.find((e) => i.test(e)) ?? e.find((e) => !e.includes("/") && e.toLowerCase().endsWith(".json")), s = (e) => new Promise((t, n) => {
|
|
6
5
|
let r = new FileReader();
|
|
7
6
|
r.onload = () => t(new Uint8Array(r.result)), r.onerror = () => n(r.error), r.readAsArrayBuffer(e);
|
|
8
|
-
}),
|
|
9
|
-
let
|
|
7
|
+
}), c = async (r) => {
|
|
8
|
+
let i = await s(r), { strFromU8: c, unzipSync: l } = await import("fflate"), u;
|
|
10
9
|
try {
|
|
11
|
-
u = i
|
|
10
|
+
u = l(i);
|
|
12
11
|
} catch {
|
|
13
12
|
throw new e("Import file is not a valid archive");
|
|
14
13
|
}
|
|
15
|
-
let d = Object.keys(u), f =
|
|
14
|
+
let d = Object.keys(u), f = o(d);
|
|
16
15
|
if (!f) throw new e("Archive does not contain a readable conversation-JSON entry");
|
|
17
|
-
let p = t(
|
|
16
|
+
let p = t(c(u[f])), m = /* @__PURE__ */ new Map();
|
|
18
17
|
for (let e of d) {
|
|
19
|
-
if (e.endsWith("/") || !e.startsWith(
|
|
18
|
+
if (e.endsWith("/") || !e.startsWith(a)) continue;
|
|
20
19
|
let t = e.slice(4);
|
|
21
20
|
t && n(t) && m.set(t, u[e]);
|
|
22
21
|
}
|
|
@@ -26,4 +25,4 @@ var a = "conversation.json", o = /^conversations\/.*\.json$/, s = "res/", c = (e
|
|
|
26
25
|
};
|
|
27
26
|
};
|
|
28
27
|
//#endregion
|
|
29
|
-
export {
|
|
28
|
+
export { c as parseDialArchive };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConversationExport.d.ts","sourceRoot":"","sources":["../../../src/conversation/useConversationExport/useConversationExport.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAGL,KAAK,uBAAuB,EA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AAY,EAAE,CACZ,cAAc,EAAE,MAAM,EACtB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,sBAAsB,KACzB,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,4DAA4D;IAC5D,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,sFAAsF;IACtF,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,0FAA0F;IAC1F,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,oFAAoF;IACpF,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,+DAA+D;IAC/D,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,GAAI,wJAUnC,2BAA2B,KAAG,
|
|
1
|
+
{"version":3,"file":"useConversationExport.d.ts","sourceRoot":"","sources":["../../../src/conversation/useConversationExport/useConversationExport.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAGL,KAAK,uBAAuB,EAI7B,MAAM,2BAA2B,CAAC;AAsBnC,OAAO,EACL,sBAAsB,EACtB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EAErC,KAAK,gCAAgC,EAEtC,MAAM,gCAAgC,CAAC;AASxC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,QAAoB,CAAC;AAyD3D,UAAU,yBAAyB;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAsBD,oDAAoD;AACpD,MAAM,WAAW,2BAA2B;IAC1C,+EAA+E;IAC/E,gBAAgB,EAAE,IAAI,CACpB,gBAAgB,EAChB,iBAAiB,GAAG,mBAAmB,CACxC,CAAC;IACF,iFAAiF;IACjF,QAAQ,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xB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,GAAI,wJAUnC,2BAA2B,KAAG,2BAychC,CAAC"}
|
|
@@ -124,7 +124,9 @@ var C = 5, w = 536870912, T = 429, E = 5, D = 2e3, O = (e) => e instanceof _ &&
|
|
|
124
124
|
}), I.failJob(r, v.FileTooLarge), console.error(`Refused to build an export archive of ${C} bytes: over the ${O}-byte limit`);
|
|
125
125
|
return;
|
|
126
126
|
}
|
|
127
|
-
let w = a([_], []), { blob: T, skippedPaths: E } = g(w, u)
|
|
127
|
+
let w = a([_], []), { blob: T, skippedPaths: E } = await g(w, u);
|
|
128
|
+
if (f.aborted) return;
|
|
129
|
+
let D = y || E.length > 0;
|
|
128
130
|
D && P?.({
|
|
129
131
|
jobId: r,
|
|
130
132
|
code: n.AttachmentSkipped
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generation-resume.d.ts","sourceRoot":"","sources":["../../../src/conversation/useConversationStream/generation-resume.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EAEjB,KAAK,OAAO,EAEb,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AASxE,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,KAAG,OAWtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,GAC5C,cAAc,YAAY,KACzB,MAKA,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,GACzC,cAAc,YAAY,EAC1B,MAAK,MAAmB,KACvB,MAKA,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,GACrC,cAAc,YAAY,KACzB,OAWF,CAAC;
|
|
1
|
+
{"version":3,"file":"generation-resume.d.ts","sourceRoot":"","sources":["../../../src/conversation/useConversationStream/generation-resume.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EAEjB,KAAK,OAAO,EAEb,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AASxE,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,KAAG,OAWtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,GAC5C,cAAc,YAAY,KACzB,MAKA,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,GACzC,cAAc,YAAY,EAC1B,MAAK,MAAmB,KACvB,MAKA,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,GACrC,cAAc,YAAY,KACzB,OAWF,CAAC;AAqCF,eAAO,MAAM,0BAA0B,UAAkC,CAAC;AAe1E;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,GACvC,MAAM,MAAM,OAAO,CAAC,YAAY,CAAC,EACjC,YAAY,MAAM,OAAO,EACzB,YAAY,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,KAClD,OAAO,CAAC,YAAY,GAAG,IAAI,CAiB7B,CAAC;AAUF,sGAAsG;AACtG,MAAM,WAAW,uBAAuB;IACtC,qIAAqI;IACrI,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oGAAoG;IACpG,SAAS,CAAC,EAAE,MAAM,IA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