@epam/ai-dial-catalog 1.3.0-dev.70 → 1.3.0-dev.79
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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "./mapping-
|
|
1
|
+
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "./mapping-BcyG24Cg.js";
|
|
2
2
|
import { CatalogEntityType as E, ConfirmationFooter as D, ConfirmationView as O, DESKTOP_BREAKPOINT_PX as k, DeploymentIcon as A, EntityHeader as j, EntityTypeLabel as M, FeaturedChip as ee, ItemHeader as te, MarkdownCodeBlock as N, MarkdownRenderer as ne, MarkdownWithPlaceholders as re, PanelEmptyState as ie, SELECT_LIST_MAX_HEIGHT_CLASS_NAME as ae, buildCssVars as oe, mergeClasses as P, useIsMobile as se } from "@epam/ai-dial-chat-shared";
|
|
3
3
|
import { Fragment as ce, createContext as le, memo as ue, startTransition as de, useCallback as F, useContext as fe, useEffect as I, useId as pe, useLayoutEffect as me, useMemo as L, useRef as R, useState as z } from "react";
|
|
4
4
|
import { Badge as he, BottomSheet as ge, Button as _e, ButtonAppearance as ve, ButtonDropdown as ye, ButtonVariant as be, CardShell as xe, Checkbox as Se, ConfirmationPopupVariant as Ce, DIAL_ICON_SIZE as B, DIAL_KIT_ICON_STROKE as V, DangerButton as we, Dropdown as H, DropdownItemType as Te, ElementSize as Ee, EllipsisTooltip as De, FolderPath as Oe, GhostButton as ke, GhostIconButton as Ae, Highlight as je, InlineSelect as Me, InlineSelectTrigger as U, Input as Ne, InteractiveTooltip as Pe, LinkButton as Fe, MenuItem as W, MenuItemMark as G, NeutralButton as K, NeutralIconButton as Ie, NoDataContent as Le, PrimaryButton as Re, ProgressBar as ze, RadioGroup as Be, Search as Ve, SegmentedControl as He, SideDrawer as Ue, Skeleton as We, SkeletonAvatarShape as q, Spinner as Ge, Tabs as Ke, ToggleIconButton as qe, Tooltip as Je, mergeClasses as Ye } from "@epam/ai-dial-ui-kit";
|
|
@@ -69,7 +69,7 @@ var t = /* @__PURE__ */ function(e) {
|
|
|
69
69
|
if (e.authenticationType === t.None) return;
|
|
70
70
|
let n = C(e.userStatus), r = C(e.globalStatus);
|
|
71
71
|
return !n && !r ? a.LoggedOut : void 0;
|
|
72
|
-
}, O = (e) => e?.authenticationType == null || e.authenticationType === t.None ? !1 : C(e.
|
|
72
|
+
}, O = (e) => e?.authenticationType == null || e.authenticationType === t.None ? !1 : C(e.globalStatus), k = (e) => C(e.userStatus) ? r.User : r.Global, A = (e) => {
|
|
73
73
|
if (e.isManageableByAdmin) return C(e.userStatus) ? o.PersonalCredentialsActive : C(e.globalStatus) ? o.OrgCredentialsActive : void 0;
|
|
74
74
|
if (C(e.globalStatus) && e.isPublic && !C(e.userStatus)) return o.UsingOrgCredentials;
|
|
75
75
|
};
|
package/mapping.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, f as c, h as l, i as u, n as d, r as f, u as p, w as m, x as h, y as g } from "./mapping-
|
|
1
|
+
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, f as c, h as l, i as u, n as d, r as f, u as p, w as m, x as h, y as g } from "./mapping-BcyG24Cg.js";
|
|
2
2
|
export { g as CatalogDetailsTab, o as CatalogSortKey, h as CredentialStatus, n as CredentialsBadgeState, e as CredentialsBannerState, m as CredentialsLevel, r as CredentialsUiState, t as ToolsetAuthenticationType, p as buildCatalogTabs, l as filterCatalogItems, s as getCatalogDetailsTabs, d as getCredentialsBadgeState, f as getCredentialsBannerState, u as getCredentialsUiState, a as getSignedInLevel, i as getTopicOptions, c as sortCatalogItems };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-catalog",
|
|
3
3
|
"description": "Marketplace catalog component for browsing models, tools, and assistants with search, filter, and sort",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.79",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@tabler/icons-react": "^3.44.0",
|
|
30
30
|
"ag-grid-community": "^35.3.0",
|
|
31
|
-
"@epam/ai-dial-publish-panel": "1.3.0-dev.
|
|
31
|
+
"@epam/ai-dial-publish-panel": "1.3.0-dev.79"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "^19.2.8",
|
|
35
|
-
"@epam/ai-dial-chat-shared": "1.3.0-dev.
|
|
35
|
+
"@epam/ai-dial-chat-shared": "1.3.0-dev.79",
|
|
36
36
|
"@epam/ai-dial-ui-kit": "^0.16.0-dev.11"
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|
|
@@ -9,13 +9,12 @@ export declare const getCredentialsUiState: (credentials: CatalogItemCredentials
|
|
|
9
9
|
/** Returns `CredentialsBadgeState.LoggedOut` when signed out at every applicable level, or `undefined` when no authentication is required or signed in at any level. */
|
|
10
10
|
export declare const getCredentialsBadgeState: (credentials: CatalogItemCredentials) => CredentialsBadgeState | undefined;
|
|
11
11
|
/**
|
|
12
|
-
* Whether the publisher holds a credential for an authenticated
|
|
13
|
-
* may therefore offer to publish it alongside the toolset.
|
|
12
|
+
* Whether the publisher holds a global-level credential for an authenticated
|
|
13
|
+
* toolset and may therefore offer to publish it alongside the toolset.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* does not hold cannot be passed on.
|
|
15
|
+
* Only `globalStatus` qualifies: DIAL Core copies the source item's global
|
|
16
|
+
* credential to the published copy, so a user-level sign-in alone leaves
|
|
17
|
+
* nothing to pass on.
|
|
19
18
|
*/
|
|
20
19
|
export declare const canPublishCredentials: (credentials: CatalogItemCredentials | undefined) => boolean;
|
|
21
20
|
/** Resolves which level a direct (non-accordion) "Log out" action applies to. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolset-credentials.d.ts","sourceRoot":"","sources":["../../src/utils/toolset-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AAK/B,uFAAuF;AACvF,eAAO,MAAM,eAAe,GAC1B,aAAa,sBAAsB,GAAG,SAAS,EAC/C,OAAO,gBAAgB,KACtB,OAKA,CAAC;AAEJ,2EAA2E;AAC3E,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,KAAG,OAAO,CAAC,IAAI,CACI,CAAC;AAEpD,8GAA8G;AAC9G,eAAO,MAAM,qBAAqB,GAChC,aAAa,sBAAsB,KAClC,kBAcF,CAAC;AAEF,wKAAwK;AACxK,eAAO,MAAM,wBAAwB,GACnC,aAAa,sBAAsB,KAClC,qBAAqB,GAAG,SAW1B,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"toolset-credentials.d.ts","sourceRoot":"","sources":["../../src/utils/toolset-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AAK/B,uFAAuF;AACvF,eAAO,MAAM,eAAe,GAC1B,aAAa,sBAAsB,GAAG,SAAS,E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