@epam/ai-dial-shared 0.27.0-rc.21 → 0.27.0-rc.23
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/index.esm.js +2 -0
- package/package.json +3 -2
- package/src/types/features.d.ts +31 -30
package/index.esm.js
CHANGED
|
@@ -32,6 +32,7 @@ var Feature;
|
|
|
32
32
|
Feature["DisallowChangeAgent"] = "disallow-change-agent";
|
|
33
33
|
Feature["MarketplaceTableView"] = "marketplace-table-view";
|
|
34
34
|
Feature["HideUserSettings"] = "hide-user-settings";
|
|
35
|
+
Feature["AdvancedView"] = "advanced-view";
|
|
35
36
|
})(Feature || (Feature = {}));
|
|
36
37
|
const availableFeatures = {
|
|
37
38
|
[Feature.ConversationsSection]: true,
|
|
@@ -66,6 +67,7 @@ const availableFeatures = {
|
|
|
66
67
|
[Feature.DisallowChangeAgent]: true,
|
|
67
68
|
[Feature.MarketplaceTableView]: true,
|
|
68
69
|
[Feature.HideUserSettings]: true,
|
|
70
|
+
[Feature.AdvancedView]: true,
|
|
69
71
|
};
|
|
70
72
|
|
|
71
73
|
var Role;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@epam/ai-dial-shared",
|
|
3
3
|
"description": "Shared elements that support developing DIAL",
|
|
4
4
|
"homepage": "https://epam-rail.com",
|
|
5
|
-
"version": "0.27.0-rc.
|
|
5
|
+
"version": "0.27.0-rc.23",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bugs": {
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
"directory": "libs/shared"
|
|
16
16
|
},
|
|
17
17
|
"module": "./index.esm.js",
|
|
18
|
-
"main": "./index.esm.js"
|
|
18
|
+
"main": "./index.esm.js",
|
|
19
|
+
"types": "./index.esm.d.ts"
|
|
19
20
|
}
|
package/src/types/features.d.ts
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
export declare enum Feature {
|
|
2
|
-
ConversationsSection = "conversations-section"
|
|
3
|
-
PromptsSection = "prompts-section"
|
|
4
|
-
TopSettings = "top-settings"
|
|
5
|
-
TopClearConversation = "top-clear-conversation"
|
|
6
|
-
TopChatInfo = "top-chat-info"
|
|
7
|
-
TopChatModelSettings = "top-chat-model-settings"
|
|
8
|
-
HideTopContextMenu = "hide-top-context-menu"
|
|
9
|
-
EmptyChatSettings = "empty-chat-settings"
|
|
10
|
-
HideEmptyChatChangeAgent = "hide-empty-chat-change-agent"
|
|
11
|
-
Header = "header"
|
|
12
|
-
Footer = "footer"
|
|
13
|
-
RequestApiKey = "request-api-key"
|
|
14
|
-
ReportAnIssue = "report-an-issue"
|
|
15
|
-
Likes = "likes"
|
|
16
|
-
ConversationsSharing = "conversations-sharing"
|
|
17
|
-
PromptsSharing = "prompts-sharing"
|
|
18
|
-
ApplicationsSharing = "applications-sharing"
|
|
19
|
-
InputFiles = "input-files"
|
|
20
|
-
InputLinks = "input-links"
|
|
21
|
-
AttachmentsManager = "attachments-manager"
|
|
2
|
+
ConversationsSection = "conversations-section",// Display conversations sidebar
|
|
3
|
+
PromptsSection = "prompts-section",// Display prompts sidebar
|
|
4
|
+
TopSettings = "top-settings",// Display conversation top header
|
|
5
|
+
TopClearConversation = "top-clear-conversation",// Display clear conversations button in chat top settings
|
|
6
|
+
TopChatInfo = "top-chat-info",// Display conversation info in top chat settings
|
|
7
|
+
TopChatModelSettings = "top-chat-model-settings",// Display change model settings button
|
|
8
|
+
HideTopContextMenu = "hide-top-context-menu",// Hide top context menu button
|
|
9
|
+
EmptyChatSettings = "empty-chat-settings",// Display settings for empty chat
|
|
10
|
+
HideEmptyChatChangeAgent = "hide-empty-chat-change-agent",// Hide empty chat "Change agent" button
|
|
11
|
+
Header = "header",// Display app header
|
|
12
|
+
Footer = "footer",// Display app footer
|
|
13
|
+
RequestApiKey = "request-api-key",// Display request API Key modal
|
|
14
|
+
ReportAnIssue = "report-an-issue",// Display report issue modal
|
|
15
|
+
Likes = "likes",// Display likes
|
|
16
|
+
ConversationsSharing = "conversations-sharing",// Display conversation sharing
|
|
17
|
+
PromptsSharing = "prompts-sharing",// Display prompts sharing
|
|
18
|
+
ApplicationsSharing = "applications-sharing",// Display applications sharing
|
|
19
|
+
InputFiles = "input-files",// Allow attach files to conversation
|
|
20
|
+
InputLinks = "input-links",// Allow attach links to conversation
|
|
21
|
+
AttachmentsManager = "attachments-manager",// Display attachments manager in conversation sidebar
|
|
22
22
|
ConversationsPublishing = "conversations-publishing",
|
|
23
23
|
PromptsPublishing = "prompts-publishing",
|
|
24
|
-
CustomLogo = "custom-logo"
|
|
25
|
-
HideNewConversation = "hide-new-conversation"
|
|
26
|
-
CustomApplications = "custom-applications"
|
|
27
|
-
MessageTemplates = "message-templates"
|
|
28
|
-
Marketplace = "marketplace"
|
|
29
|
-
QuickApps = "quick-apps"
|
|
30
|
-
CodeApps = "code-apps"
|
|
31
|
-
DisallowChangeAgent = "disallow-change-agent"
|
|
32
|
-
MarketplaceTableView = "marketplace-table-view"
|
|
33
|
-
HideUserSettings = "hide-user-settings"
|
|
24
|
+
CustomLogo = "custom-logo",// Enable setting for custom logo feature
|
|
25
|
+
HideNewConversation = "hide-new-conversation",// hide "New conversation" button
|
|
26
|
+
CustomApplications = "custom-applications",// custom applications
|
|
27
|
+
MessageTemplates = "message-templates",// message templates
|
|
28
|
+
Marketplace = "marketplace",// Enable Marketplace
|
|
29
|
+
QuickApps = "quick-apps",// Enable Quick apps
|
|
30
|
+
CodeApps = "code-apps",// Enable Code apps
|
|
31
|
+
DisallowChangeAgent = "disallow-change-agent",// Disallow "Change agent" button
|
|
32
|
+
MarketplaceTableView = "marketplace-table-view",// Enable table view in Marketplace
|
|
33
|
+
HideUserSettings = "hide-user-settings",// Hide user settings
|
|
34
|
+
AdvancedView = "advanced-view"
|
|
34
35
|
}
|
|
35
36
|
export declare const availableFeatures: Record<Feature, boolean>;
|