@epam/ai-dial-catalog 1.3.0-dev.364 → 1.3.0-dev.371

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.
Files changed (40) hide show
  1. package/components/Details/DetailsPanel.d.ts.map +1 -1
  2. package/components/Details/DetailsPublishContent.d.ts +19 -0
  3. package/components/Details/DetailsPublishContent.d.ts.map +1 -0
  4. package/components/Details/DetailsTabs.d.ts +23 -0
  5. package/components/Details/DetailsTabs.d.ts.map +1 -0
  6. package/components/Details/Header/Header.d.ts +3 -153
  7. package/components/Details/Header/Header.d.ts.map +1 -1
  8. package/components/Details/Header/HeaderCredentialsButton.d.ts +16 -0
  9. package/components/Details/Header/HeaderCredentialsButton.d.ts.map +1 -0
  10. package/components/Details/Header/HeaderManageSlot.d.ts +27 -0
  11. package/components/Details/Header/HeaderManageSlot.d.ts.map +1 -0
  12. package/components/Details/Header/LimitStatusBadge.d.ts +14 -0
  13. package/components/Details/Header/LimitStatusBadge.d.ts.map +1 -0
  14. package/components/Details/Header/hooks/useManageActions.d.ts +34 -0
  15. package/components/Details/Header/hooks/useManageActions.d.ts.map +1 -0
  16. package/components/Details/Header/hooks/useRecipientsCount.d.ts +11 -0
  17. package/components/Details/Header/hooks/useRecipientsCount.d.ts.map +1 -0
  18. package/components/Details/hooks/useDetailsConfirmation.d.ts +29 -0
  19. package/components/Details/hooks/useDetailsConfirmation.d.ts.map +1 -0
  20. package/components/Details/hooks/useDetailsContentFile.d.ts +19 -0
  21. package/components/Details/hooks/useDetailsContentFile.d.ts.map +1 -0
  22. package/components/Details/hooks/useDetailsPublish.d.ts +22 -0
  23. package/components/Details/hooks/useDetailsPublish.d.ts.map +1 -0
  24. package/components/ListView/columns.d.ts +1 -2
  25. package/components/ListView/columns.d.ts.map +1 -1
  26. package/index.css +1 -1
  27. package/index.d.ts +2 -1
  28. package/index.d.ts.map +1 -1
  29. package/index.js +2456 -2231
  30. package/models/details-header.d.ts +176 -0
  31. package/models/details-header.d.ts.map +1 -0
  32. package/models/details-panel.d.ts +31 -0
  33. package/models/details-panel.d.ts.map +1 -0
  34. package/package.json +3 -3
  35. package/types/list-view-column.d.ts +7 -0
  36. package/types/list-view-column.d.ts.map +1 -0
  37. package/utils/details-header-actions.d.ts +37 -0
  38. package/utils/details-header-actions.d.ts.map +1 -0
  39. package/utils/details-panel.d.ts +33 -0
  40. package/utils/details-panel.d.ts.map +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"DetailsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Details/DetailsPanel.tsx"],"names":[],"mappings":"AA6BA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAwIzE,4EAA4E;AAC5E,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA2wC9C,CAAC"}
1
+ {"version":3,"file":"DetailsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Details/DetailsPanel.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAuBzE,4EAA4E;AAC5E,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAyd9C,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { FC } from 'react';
2
+ import { DetailsPanelProps } from '../../models/item-details-props';
3
+ import { useDetailsPublish } from './hooks/useDetailsPublish';
4
+ type DetailsPublishState = ReturnType<typeof useDetailsPublish>;
5
+ /** Props for {@link DetailsPublishContent}. */
6
+ export interface DetailsPublishContentProps extends Pick<DetailsPanelProps, 'item' | 'publishExpandedPaths' | 'onPublishExpandedPathsChange' | 'publishLoadingPaths' | 'publishLabels'> {
7
+ /** Rule source options, with the panel default already applied. */
8
+ ruleSourceOptions: string[];
9
+ /** Publish form state, from `useDetailsPublish`. */
10
+ publishFlow: DetailsPublishState['publishFlow'];
11
+ /** Main/change-folder view state, from `useDetailsPublish`. */
12
+ publishFolderView: DetailsPublishState['publishFolderView'];
13
+ /** Whether the item may pass its credentials on to the published copy. */
14
+ isPublishCredentialsEligible: boolean;
15
+ }
16
+ /** Body of the details panel's publish sub-view. */
17
+ export declare const DetailsPublishContent: FC<DetailsPublishContentProps>;
18
+ export {};
19
+ //# sourceMappingURL=DetailsPublishContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailsPublishContent.d.ts","sourceRoot":"","sources":["../../../src/components/Details/DetailsPublishContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEhE,+CAA+C;AAC/C,MAAM,WAAW,0BAA2B,SAAQ,IAAI,CACtD,iBAAiB,EACf,MAAM,GACN,sBAAsB,GACtB,8BAA8B,GAC9B,qBAAqB,GACrB,eAAe,CAClB;IACC,mEAAmE;IACnE,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,oDAAoD;IACpD,WAAW,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC;IAChD,+DAA+D;IAC/D,iBAAiB,EAAE,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;IAC5D,0EAA0E;IAC1E,4BAA4B,EAAE,OAAO,CAAC;CACvC;AAED,oDAAoD;AACpD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAoDhE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { FC } from 'react';
2
+ import { DetailsPanelProps } from '../../models/item-details-props';
3
+ import { CatalogDetailsTab } from '../../types/detail-tab';
4
+ import { useDetailsContentFile } from './hooks/useDetailsContentFile';
5
+ /** Props for {@link DetailsTabs}. */
6
+ export interface DetailsTabsProps extends Pick<DetailsPanelProps, 'item' | 'isDetailsLoading' | 'renderContentFileTree' | 'texts' | 'limitsFooterNote'> {
7
+ /** Tabs this item shows, in order. */
8
+ tabs: {
9
+ id: CatalogDetailsTab;
10
+ label: string;
11
+ }[];
12
+ /** Id of the selected tab. */
13
+ activeTab: string;
14
+ /** Called with the id of the tab the user selects. */
15
+ onTabChange: (tabId: string) => void;
16
+ /** Content-tab file picker state, from `useDetailsContentFile`. */
17
+ contentFile: ReturnType<typeof useDetailsContentFile>;
18
+ /** Style overrides of the details panel. */
19
+ detailsStyles: DetailsPanelProps['styles'];
20
+ }
21
+ /** Tab row and active tab body of the catalog details panel. */
22
+ export declare const DetailsTabs: FC<DetailsTabsProps>;
23
+ //# sourceMappingURL=DetailsTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailsTabs.d.ts","sourceRoot":"","sources":["../../../src/components/Details/DetailsTabs.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAK3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAQ3E,qCAAqC;AACrC,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAC5C,iBAAiB,EACf,MAAM,GACN,kBAAkB,GAClB,uBAAuB,GACvB,OAAO,GACP,kBAAkB,CACrB;IACC,sCAAsC;IACtC,IAAI,EAAE;QAAE,EAAE,EAAE,iBAAiB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACjD,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,mEAAmE;IACnE,WAAW,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IACtD,4CAA4C;IAC5C,aAAa,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;CAC5C;AAED,gEAAgE;AAChE,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAgM5C,CAAC"}
@@ -1,156 +1,6 @@
1
- import { FC, ReactNode } from 'react';
2
- import { CatalogItem } from '../../../models/catalog-item';
3
- import { ItemDetailsStyles, ItemDetailsTexts } from '../../../models/item-details-props';
4
- import { CredentialsLevel } from '../../../types/toolset-auth';
5
- /**
6
- * Props for {@link Header}, exported as `DetailsHeaderProps`: the details
7
- * view's identity block and action row. Every action is opt-in and hidden
8
- * when its prop is absent.
9
- */
10
- export interface HeaderProps {
11
- /** The item whose identity, folder and actions are shown. */
12
- item: CatalogItem;
13
- /** Called by the primary "Use in chat" action. The action is hidden when absent. */
14
- onUseInChat?: (item: CatalogItem) => void;
15
- /** Returns `false` to hide the primary action for an item. */
16
- isPrimaryActionVisible?: (item: CatalogItem) => boolean;
17
- /** Called by Share when no `shareOverlay` is given. Share is hidden when both are absent. */
18
- onShare?: (item: CatalogItem) => void;
19
- /**
20
- * Renders the Share popover content. When provided, choosing Share opens
21
- * this popover instead of calling `onShare`. It anchors to whichever surface
22
- * carries Share: the header button, or the Manage trigger when
23
- * `isSharePrimary` has moved the entry into that menu.
24
- */
25
- shareOverlay?: (item: CatalogItem, onClose: () => void) => ReactNode;
26
- /**
27
- * Additional caller-supplied rule for whether Share is shown, combined
28
- * (AND) with the built-in ownership/type rule.
29
- */
30
- isShareVisible?: (item: CatalogItem) => boolean;
31
- /**
32
- * Resolves whether Share renders as its own header button rather than a
33
- * Manage-menu entry. Defaults to `true` — the header button. Returning
34
- * `false` moves Share into the Manage menu, beside Delete. Share renders on
35
- * one surface or the other, never both.
36
- */
37
- isSharePrimary?: (item: CatalogItem) => boolean;
38
- /** Called by the Manage menu's "Edit" entry, shown only for an editable item. */
39
- onEdit?: (item: CatalogItem) => void;
40
- /**
41
- * Called when "Download" is clicked. In the Manage menu, fire-and-forget:
42
- * the result is not awaited and no pending state is shown. As the primary
43
- * action (see `isDownloadPrimary`), the call is awaited and drives a
44
- * pending/disabled state on the button.
45
- */
46
- onDownload?: (item: CatalogItem) => Promise<void> | void;
47
- /** Additional caller-supplied rule for whether "Download" is shown. Defaults to `true` when absent. */
48
- isDownloadVisible?: (item: CatalogItem) => boolean;
49
- /**
50
- * Resolves whether Download renders as the primary action instead of a
51
- * Manage-menu entry. Defaults to a Skill whose "Use in chat" primary action
52
- * is not shown (`item.type === CatalogEntityType.Skill` and no primary
53
- * action). An item whose Download is primary never also shows it in the
54
- * Manage menu.
55
- */
56
- isDownloadPrimary?: (item: CatalogItem) => boolean;
57
- /** Called when "Delete" is clicked in the Manage menu. The details panel owns the confirmation step, so this only requests it. */
58
- onDelete?: (item: CatalogItem) => void;
59
- /** Called when the recipient-side "Remove from My List" action is clicked for an item shared with the current user. The details panel owns the confirmation step. */
60
- onUnshare?: (item: CatalogItem) => void;
61
- /** Additional caller-supplied rule for whether "Remove from My List" is shown, combined (AND) with the built-in `sharedWithMe`/`isMyApp` rule. Defaults to `true` when absent. */
62
- isUnshareVisible?: (item: CatalogItem) => boolean;
63
- /** Called when the owner-side "Revoke access" action is clicked for an item the current user owns. The details panel owns the confirmation step. */
64
- onRevokeShare?: (item: CatalogItem) => void;
65
- /** Resolves how many users currently hold shared access to an owned item, called when the Manage menu is opened or focused. `0` hides "Revoke access"; `undefined` or a rejection leaves it reachable without a count. */
66
- onFetchRecipientsCount?: (item: CatalogItem) => Promise<number | undefined>;
67
- /** Additional caller-supplied rule for whether "Revoke access" is shown, combined (AND) with the built-in `isMyApp` rule and the recipient count. Defaults to `true` when absent. */
68
- isRevokeShareVisible?: (item: CatalogItem) => boolean;
69
- /** Called by the credentials action to sign in (OAuth) or to add an API key, for the given credentials level. May return a promise. */
70
- onLogin?: (item: CatalogItem, params: {
71
- level: CredentialsLevel;
72
- apiKey?: string;
73
- }) => Promise<void> | void;
74
- /** Called to sign out or remove an API key for the given credentials level, when no confirmation is requested through `onRequestLogout`. May return a promise. */
75
- onLogout?: (item: CatalogItem, params: {
76
- level: CredentialsLevel;
77
- }) => Promise<void> | void;
78
- /**
79
- * Called when the credentials trigger button is clicked and the resolved
80
- * state is "Manage credentials"/"Manage API keys" — opens the admin
81
- * credentials-management sub-screen.
82
- */
83
- onOpenCredentialsManagement?: () => void;
84
- /**
85
- * Called instead of directly logging out when the resolved state is
86
- * "Log out" for OAuth authentication — opens the logout confirmation
87
- * without signing out immediately.
88
- */
89
- onRequestLogout?: () => void;
90
- /** Text overrides, shared with `DetailsPanel`. */
91
- texts?: ItemDetailsTexts;
92
- /** Style overrides, shared with `DetailsPanel`. */
93
- detailsStyles?: ItemDetailsStyles;
94
- /**
95
- * Controls whether the "Publish" action is shown. Defaults to the same rule
96
- * as the primary action. Returning `true` is not sufficient on its own:
97
- * "Publish" is suppressed whenever "Unpublish" is shown, so the panel
98
- * carries one of the two, never both.
99
- */
100
- isPublishVisible?: (item: CatalogItem) => boolean;
101
- /**
102
- * Resolves whether whichever of "Publish"/"Unpublish" applies renders as its
103
- * own header button rather than a Manage-menu entry. Defaults to `false` —
104
- * the menu entry. It renders on one surface or the other, never both.
105
- */
106
- isPublishPrimary?: (item: CatalogItem) => boolean;
107
- /** Called when the "Publish" button is clicked; the host swaps this panel's content to the publish view. */
108
- onOpenPublish?: () => void;
109
- /**
110
- * Additional caller-supplied rule for whether "Unpublish" is shown,
111
- * combined (AND) with `hasPublishedFolders` and the presence of
112
- * `onOpenUnpublish`. Defaults to `true` when absent. When the entry ends up
113
- * shown, it replaces "Publish" rather than joining it. Supplying it also
114
- * withholds the Manage slot for an item it returns `true` for while
115
- * `isPublishHistoryResolved` is still `false`, and lets a lone "Unpublish"
116
- * render as its own button once history resolves — so the host must
117
- * resolve history for such an item without waiting for hover, and settle
118
- * it on failure too.
119
- */
120
- isUnpublishVisible?: (item: CatalogItem) => boolean;
121
- /**
122
- * Whether the panel has resolved publish history for this item to at least
123
- * one folder. Withheld while the lookup is unresolved and `false` on zero
124
- * entries or failure — the request cannot be built without a folder, so an
125
- * entry shown without one could not do anything if clicked. Default: `false`.
126
- */
127
- hasPublishedFolders?: boolean;
128
- /**
129
- * Whether the panel's publish-history lookup for this item has settled.
130
- * Keeps the Manage trigger rendered while an "Unpublish" entry is still
131
- * pending, so an item that would have no other entry can still start the
132
- * lookup that produces one. Default: `true` — a host that does not report
133
- * it is treated as having nothing outstanding.
134
- */
135
- isPublishHistoryResolved?: boolean;
136
- /**
137
- * Starts the panel's publish-history lookup, called on hover/focus of the
138
- * Manage trigger and on Manage-menu open, plus on hover/focus of the publish
139
- * button where `isPublishPrimary` promoted it into the action row. Guarded
140
- * once per item by the panel.
141
- */
142
- onRequestPublishHistory?: () => void;
143
- /** Called when the "Unpublish" button is clicked; the host swaps this panel's content to the unpublish confirmation. */
144
- onOpenUnpublish?: () => void;
145
- /**
146
- * Renders the header read-only: every action that mutates the item or the
147
- * caller's relationship to it — Share, Publish/Unpublish, Edit, Delete,
148
- * "Remove from My List", "Revoke access", and the credentials Log in / Log
149
- * out / manage button — is withheld. The non-mutating actions (the primary
150
- * "Use in chat" and Download) still render. Default: false.
151
- */
152
- isReadonly?: boolean;
153
- }
1
+ import { FC } from 'react';
2
+ import { HeaderProps } from '../../../models/details-header';
3
+ export type { HeaderProps } from '../../../models/details-header';
154
4
  /** Details panel header bar: entity identity (icon + name + version), action buttons (primary action, Share, a "Manage" menu for Edit, Publish or Unpublish, and Delete — or that action as a button of its own where filtering leaves only one), and inline credentials section. For Toolsets, the credentials action (Log in / Log out / manage) renders first and styled as the primary action, since Toolsets have no "Use in chat" action. Shows a "Running low"/"Limit reached" badge from `item.details?.limits?.status`, disabling "Use in chat" once a limit is reached. */
155
5
  export declare const Header: FC<HeaderProps>;
156
6
  //# sourceMappingURL=Header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/Header.tsx"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/Header.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAWlE,YAAY,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAElE,qjBAAqjB;AACrjB,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CA2ZlC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { NeutralButton, PrimaryButton } from '@epam/ai-dial-ui-kit';
2
+ import { FC } from 'react';
3
+ import { HeaderProps } from '../../../models/details-header';
4
+ import { CredentialsUiState, ToolsetAuthenticationType } from '../../../types/toolset-auth';
5
+ /** Props for {@link HeaderCredentialsButton}. */
6
+ export interface HeaderCredentialsButtonProps extends Pick<HeaderProps, 'item' | 'onLogin' | 'onLogout' | 'onOpenCredentialsManagement' | 'onRequestLogout' | 'texts' | 'detailsStyles'> {
7
+ /** Kit button the action renders as: primary while it is the leading call to action. */
8
+ buttonComponent: typeof PrimaryButton | typeof NeutralButton;
9
+ /** Authentication type of the item's credentials. */
10
+ authenticationType: ToolsetAuthenticationType;
11
+ /** Resolved credentials state; the button renders only when it is set. */
12
+ credentialsUiState: CredentialsUiState | undefined;
13
+ }
14
+ /** Credentials action of the details header: Log in / Log out, manage credentials, or the API-key popover trigger. */
15
+ export declare const HeaderCredentialsButton: FC<HeaderCredentialsButtonProps>;
16
+ //# sourceMappingURL=HeaderCredentialsButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderCredentialsButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/HeaderCredentialsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,sBAAsB,CAAC;AAQ9B,OAAO,EAAE,KAAK,EAAE,EAAyB,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAEL,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,6BAA6B,CAAC;AAKrC,iDAAiD;AACjD,MAAM,WAAW,4BAA6B,SAAQ,IAAI,CACxD,WAAW,EACT,MAAM,GACN,SAAS,GACT,UAAU,GACV,6BAA6B,GAC7B,iBAAiB,GACjB,OAAO,GACP,eAAe,CAClB;IACC,wFAAwF;IACxF,eAAe,EAAE,OAAO,aAAa,GAAG,OAAO,aAAa,CAAC;IAC7D,qDAAqD;IACrD,kBAAkB,EAAE,yBAAyB,CAAC;IAC9C,0EAA0E;IAC1E,kBAAkB,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACpD;AAED,sHAAsH;AACtH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAqJpE,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { DropdownItem } from '@epam/ai-dial-ui-kit';
2
+ import { FC } from 'react';
3
+ import { HeaderProps, ManageAction } from '../../../models/details-header';
4
+ /** Props for {@link HeaderManageSlot}. */
5
+ export interface HeaderManageSlotProps extends Pick<HeaderProps, 'item' | 'onShare' | 'shareOverlay' | 'isShareVisible' | 'texts'> {
6
+ /** The lone Manage entry rendered as a button instead of a menu, if any. */
7
+ promotedManageAction: ManageAction | undefined;
8
+ /** Manage-menu items. The slot renders nothing when empty and nothing is promoted. */
9
+ manageItems: DropdownItem[];
10
+ /** Called when the Manage menu opens or closes. */
11
+ onManageOpenChange: (isOpen: boolean) => void;
12
+ /** Called on hover or focus of the Manage trigger, before a click. */
13
+ onManageTriggerIntent: () => void;
14
+ /** Whether Share renders in the action row rather than in the Manage menu. */
15
+ isShareInActionRow: boolean;
16
+ /** Whether Share is offered at all. */
17
+ shouldShowShareAction: boolean;
18
+ /** Whether the share popover anchored to the Manage trigger is open. */
19
+ isShareOverlayOpen: boolean;
20
+ /** Called to open or close the share popover. */
21
+ onShareOverlayOpenChange: (isOpen: boolean) => void;
22
+ /** Closes the share popover; handed to `shareOverlay`. */
23
+ onCloseShareOverlay: () => void;
24
+ }
25
+ /** Manage slot of the details header: the overflow menu, or its lone entry as a button. */
26
+ export declare const HeaderManageSlot: FC<HeaderManageSlotProps>;
27
+ //# sourceMappingURL=HeaderManageSlot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderManageSlot.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/HeaderManageSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,YAAY,EAGlB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAGhF,0CAA0C;AAC1C,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CACjD,WAAW,EACX,MAAM,GAAG,SAAS,GAAG,cAAc,GAAG,gBAAgB,GAAG,OAAO,CACjE;IACC,4EAA4E;IAC5E,oBAAoB,EAAE,YAAY,GAAG,SAAS,CAAC;IAC/C,sFAAsF;IACtF,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,mDAAmD;IACnD,kBAAkB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,sEAAsE;IACtE,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,8EAA8E;IAC9E,kBAAkB,EAAE,OAAO,CAAC;IAC5B,uCAAuC;IACvC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,wEAAwE;IACxE,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iDAAiD;IACjD,wBAAwB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,0DAA0D;IAC1D,mBAAmB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,2FAA2F;AAC3F,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAoHtD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { FC } from 'react';
2
+ import { CatalogLimitStatus } from '../../../models/item-details-data';
3
+ /** Props for {@link LimitStatusBadge}. */
4
+ export interface LimitStatusBadgeProps {
5
+ /** Limit status the badge shows. */
6
+ status: CatalogLimitStatus;
7
+ /** Visible badge text. */
8
+ label: string;
9
+ /** Typography class of the badge. */
10
+ className: string;
11
+ }
12
+ /** Small status pill matching `FeaturedChip`'s shape, shown in the same header corner. */
13
+ export declare const LimitStatusBadge: FC<LimitStatusBadgeProps>;
14
+ //# sourceMappingURL=LimitStatusBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LimitStatusBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/LimitStatusBadge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAQvE,0CAA0C;AAC1C,MAAM,WAAW,qBAAqB;IACpC,oCAAoC;IACpC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,0FAA0F;AAC1F,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CActD,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { DropdownItem } from '@epam/ai-dial-ui-kit';
2
+ import { HeaderProps, ManageAction } from '../../../../models/details-header';
3
+ import { resolveHeaderActionVisibility } from '../../../../utils/details-header-actions';
4
+ /** Parameters for {@link useManageActions}. */
5
+ export interface UseManageActionsParams extends Pick<HeaderProps, 'texts' | 'detailsStyles'> {
6
+ /** Action visibility, from `resolveHeaderActionVisibility`. */
7
+ visibility: ReturnType<typeof resolveHeaderActionVisibility>;
8
+ /** Resolved recipient count, shown in the "Revoke access" label. */
9
+ recipientsCount: number | undefined;
10
+ /** Whether the Manage menu is open; an open menu is never promoted to a button. */
11
+ isManageMenuOpen: boolean;
12
+ /** Header handler run by the matching Manage entry. */
13
+ handleShare: () => void;
14
+ /** Header handler run by the matching Manage entry. */
15
+ handleEdit: () => void;
16
+ /** Header handler run by the matching Manage entry. */
17
+ handleDownload: () => void;
18
+ /** Header handler run by the matching Manage entry. */
19
+ handleOpenPublish: () => void;
20
+ /** Header handler run by the matching Manage entry. */
21
+ handleOpenUnpublish: () => void;
22
+ /** Header handler run by the matching Manage entry. */
23
+ handleDelete: () => void;
24
+ /** Header handler run by the matching Manage entry. */
25
+ handleRevokeShare: () => void;
26
+ /** Header handler run by the matching Manage entry. */
27
+ handleUnshare: () => void;
28
+ }
29
+ /** Manage-menu model of the details header: its entries, menu items, and the entry promoted to a button. */
30
+ export declare const useManageActions: ({ visibility, texts, detailsStyles, recipientsCount, isManageMenuOpen, handleShare, handleEdit, handleDownload, handleOpenPublish, handleOpenUnpublish, handleDelete, handleRevokeShare, handleUnshare, }: UseManageActionsParams) => {
31
+ manageItems: DropdownItem[];
32
+ promotedManageAction: ManageAction | undefined;
33
+ };
34
+ //# sourceMappingURL=useManageActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useManageActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/hooks/useManageActions.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAW9B,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACb,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAG9F,+CAA+C;AAC/C,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAClD,WAAW,EACX,OAAO,GAAG,eAAe,CAC1B;IACC,+DAA+D;IAC/D,UAAU,EAAE,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC;IAC7D,oEAAoE;IACpE,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,mFAAmF;IACnF,gBAAgB,EAAE,OAAO,CAAC;IAC1B,uDAAuD;IACvD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,uDAAuD;IACvD,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,uDAAuD;IACvD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,uDAAuD;IACvD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,uDAAuD;IACvD,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,uDAAuD;IACvD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,uDAAuD;IACvD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,uDAAuD;IACvD,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,4GAA4G;AAC5G,eAAO,MAAM,gBAAgB,GAAI,2MAc9B,sBAAsB;;;CA4LxB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { HeaderProps } from '../../../../models/details-header';
2
+ import { RecipientsCountStatus } from '../../../../types/recipients-count';
3
+ /** Parameters for {@link useRecipientsCount}. */
4
+ export type UseRecipientsCountParams = Pick<HeaderProps, 'item' | 'onFetchRecipientsCount' | 'onRevokeShare' | 'isRevokeShareVisible'>;
5
+ /** Per-item lookup of how many users hold shared access to an owned item. */
6
+ export declare const useRecipientsCount: ({ item, onFetchRecipientsCount, onRevokeShare, isRevokeShareVisible, }: UseRecipientsCountParams) => {
7
+ recipientsCountStatus: RecipientsCountStatus;
8
+ recipientsCount: number | undefined;
9
+ requestRecipientsCount: () => void;
10
+ };
11
+ //# sourceMappingURL=useRecipientsCount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRecipientsCount.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/hooks/useRecipientsCount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,iDAAiD;AACjD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,WAAW,EACX,MAAM,GAAG,wBAAwB,GAAG,eAAe,GAAG,sBAAsB,CAC7E,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB,GAAI,wEAKhC,wBAAwB;;;;CAyD1B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { ConfirmationContent, PublishedFolder } from '../../../models/details-panel';
2
+ import { DetailsPanelProps } from '../../../models/item-details-props';
3
+ import { DetailsConfirmationKind } from '../../../types/details-confirmation';
4
+ import { CredentialsLevel } from '../../../types/toolset-auth';
5
+ /** Parameters for {@link useDetailsConfirmation}. */
6
+ export interface UseDetailsConfirmationParams extends Pick<DetailsPanelProps, 'item' | 'isOpen' | 'onClose' | 'onDelete' | 'onUnshare' | 'onRevokeShare' | 'onLogout' | 'onUnpublish' | 'texts'> {
7
+ /** Folders the item is published to, from `useDetailsPublish`. */
8
+ publishedFolders: PublishedFolder[];
9
+ /** Display label of a published folder key, from `useDetailsPublish`. */
10
+ formatFolderLabel: (folderKey: string) => string;
11
+ }
12
+ /** Confirmation step of the details panel: the pending kind, its handlers, and its copy. */
13
+ export declare const useDetailsConfirmation: ({ item, isOpen, onClose, onDelete, onUnshare, onRevokeShare, onLogout, onUnpublish, texts, publishedFolders, formatFolderLabel, }: UseDetailsConfirmationParams) => {
14
+ confirmation: DetailsConfirmationKind | null;
15
+ isConfirming: boolean;
16
+ selectedUnpublishFolder: string | null;
17
+ setSelectedUnpublishFolder: import('react').Dispatch<import('react').SetStateAction<string | null>>;
18
+ handleRequestDelete: () => void;
19
+ handleRequestLogout: (level?: CredentialsLevel) => void;
20
+ handleRequestUnshare: () => void;
21
+ handleRequestRevokeShare: () => void;
22
+ handleRequestUnpublish: () => void;
23
+ handleRequestDeleteApiKey: (level: CredentialsLevel) => void;
24
+ handleCancelConfirmation: () => void;
25
+ handleConfirm: () => Promise<void>;
26
+ confirmationContent: ConfirmationContent | null;
27
+ isConfirmDisabled: boolean;
28
+ };
29
+ //# sourceMappingURL=useDetailsConfirmation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDetailsConfirmation.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/hooks/useDetailsConfirmation.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EAChB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAY/D,qDAAqD;AACrD,MAAM,WAAW,4BAA6B,SAAQ,IAAI,CACxD,iBAAiB,EACf,MAAM,GACN,QAAQ,GACR,SAAS,GACT,UAAU,GACV,WAAW,GACX,eAAe,GACf,UAAU,GACV,aAAa,GACb,OAAO,CACV;IACC,kEAAkE;IAClE,gBAAgB,EAAE,eAAe,EAAE,CAAC;IACpC,yEAAyE;IACzE,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;CAClD;AAED,4FAA4F;AAC5F,eAAO,MAAM,sBAAsB,GAAI,mIAYpC,4BAA4B;;;;;;kCAqClB,gBAAgB;;;;uCAwB2B,gBAAgB;;;;;CA8QvE,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+ import { CatalogContentFilePreview } from '../../../models/item-details-data';
3
+ import { DetailsPanelProps } from '../../../models/item-details-props';
4
+ /** Parameters for {@link useDetailsContentFile}. */
5
+ export type UseDetailsContentFileParams = Pick<DetailsPanelProps, 'item' | 'onLoadContentFile' | 'onLoadContentFilePreview' | 'renderContentFilePreview' | 'texts'>;
6
+ /** Content-tab file picker state for the details panel. */
7
+ export declare const useDetailsContentFile: ({ item, onLoadContentFile, onLoadContentFilePreview, renderContentFilePreview, texts, }: UseDetailsContentFileParams) => {
8
+ promptContent: import('../../..').CatalogItemPromptContent | undefined;
9
+ selectedFileId: string | undefined;
10
+ isContentFileLoading: boolean;
11
+ expandedFolderIds: Set<string>;
12
+ isFileSelectorOpen: boolean;
13
+ setIsFileSelectorOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
14
+ handleToggleFolder: (folderId: string) => void;
15
+ handleSelectContentFile: (fileId: string) => Promise<void>;
16
+ resolveContentFilePreview: () => CatalogContentFilePreview | null;
17
+ renderedContentFilePreview: ReactNode;
18
+ };
19
+ //# sourceMappingURL=useDetailsContentFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDetailsContentFile.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/hooks/useDetailsContentFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAO5E,oDAAoD;AACpD,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAC5C,iBAAiB,EACf,MAAM,GACN,mBAAmB,GACnB,0BAA0B,GAC1B,0BAA0B,GAC1B,OAAO,CACV,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,qBAAqB,GAAI,yFAMnC,2BAA2B;;;;;;;mCA0EsB,MAAM;sCAavC,MAAM;qCAwEe,yBAAyB,GAAG,IAAI;;CA4BvE,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { PublishedFolder } from '../../../models/details-panel';
2
+ import { DetailsPanelProps } from '../../../models/item-details-props';
3
+ /** Parameters for {@link useDetailsPublish}. */
4
+ export type UseDetailsPublishParams = Pick<DetailsPanelProps, 'item' | 'isReadonly' | 'getPublishHistory' | 'publishFolderItems' | 'hasPublishWriteAccess' | 'publishDefaultAuthor' | 'onPublish' | 'onPublishSuccess' | 'onPublishError' | 'onCreatePublishFolder' | 'onFetchExistingRules' | 'onUnpublish' | 'isUnpublishVisible' | 'publishLabels'>;
5
+ /** Publish sub-view state and the once-per-item publish-history lookup of the details panel. */
6
+ export declare const useDetailsPublish: ({ item, isReadonly, getPublishHistory, publishFolderItems, hasPublishWriteAccess, publishDefaultAuthor, onPublish, onPublishSuccess, onPublishError, onCreatePublishFolder, onFetchExistingRules, onUnpublish, isUnpublishVisible, publishLabels, }: UseDetailsPublishParams) => {
7
+ isPublishOpen: boolean;
8
+ isPublishHistoryResolved: boolean;
9
+ requestPublishHistory: () => void;
10
+ publishFlow: import('@epam/ai-dial-publish-panel').UsePublishFlowResult;
11
+ isPublishCredentialsEligible: boolean;
12
+ publishDerived: import('@epam/ai-dial-publish-panel').PublishDerivedState;
13
+ publishedFolders: PublishedFolder[];
14
+ hasPublishedFolders: boolean;
15
+ formatFolderLabel: (folderKey: string) => string;
16
+ handleOpenPublish: () => void;
17
+ handleClosePublish: () => void;
18
+ publishFolderView: import('@epam/ai-dial-publish-panel').UsePublishFolderViewResult;
19
+ isPublishFolderView: boolean;
20
+ handleSubmitPublish: () => Promise<void>;
21
+ };
22
+ //# sourceMappingURL=useDetailsPublish.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDetailsPublish.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/hooks/useDetailsPublish.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAQ5E,gDAAgD;AAChD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,iBAAiB,EACf,MAAM,GACN,YAAY,GACZ,mBAAmB,GACnB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,WAAW,GACX,kBAAkB,GAClB,gBAAgB,GAChB,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,oBAAoB,GACpB,eAAe,CAClB,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,iBAAiB,GAAI,qPAe/B,uBAAuB;;;;;;;;;mCAoKV,MAAM;;;;;;CAwCrB,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { CatalogEntityType } from '@epam/ai-dial-chat-shared';
2
2
  import { ColDef } from 'ag-grid-community';
3
3
  import { CatalogItem } from '../../models/catalog-item';
4
- /** The optional built-in `ListView` columns a host can independently show or hide per entity type. */
5
- export type ListViewColumnKey = 'folder' | 'tags' | 'favorite';
4
+ import { ListViewColumnKey } from '../../types/list-view-column';
6
5
  /**
7
6
  * Per-column rule resolving whether an optional `ListView` column renders for
8
7
  * the active tab, given its entity `type`. Overrides the column's built-in
@@ -1 +1 @@
1
- {"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AASxD,sGAAsG;AACtG,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,MAAM,CAAC,iBAAiB,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC,CAChE,CAAC;AAiCF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,GAC1B,MAAM,iBAAiB,EACvB,oBAAkB,EAClB,mBAAmB,wBAAwB,KAC1C,MAAM,CAAC,WAAW,CAAC,EAyDrB,CAAC"}
1
+ {"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AASjE;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,MAAM,CAAC,iBAAiB,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC,CAChE,CAAC;AAiCF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,GAC1B,MAAM,iBAAiB,EACvB,oBAAkB,EAClB,mBAAmB,wBAAwB,KAC1C,MAAM,CAAC,WAAW,CAAC,EAyDrB,CAAC"}