@epam/ai-dial-catalog 1.1.0-dev.18 → 1.1.0-dev.182

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 (170) hide show
  1. package/JsonEditor-oVyN8mBH-4_lVc0wh-B2lYzGFt-H_hD252X.js +732 -0
  2. package/components/AppIdentity/AppIdentity.d.ts +6 -13
  3. package/components/AppIdentity/AppIdentity.d.ts.map +1 -1
  4. package/components/CardGrid/Card.d.ts.map +1 -1
  5. package/components/CardGrid/CardGrid.d.ts.map +1 -1
  6. package/components/CardGrid/CardRowRenderer.d.ts.map +1 -1
  7. package/components/CardTag/CardTag.d.ts +24 -0
  8. package/components/CardTag/CardTag.d.ts.map +1 -0
  9. package/components/Catalog/Catalog.d.ts +1 -5
  10. package/components/Catalog/Catalog.d.ts.map +1 -1
  11. package/components/Catalog/CreateButton.d.ts +2 -2
  12. package/components/Catalog/CreateButton.d.ts.map +1 -1
  13. package/components/CredentialsBadge/CredentialsBadge.d.ts +10 -1
  14. package/components/CredentialsBadge/CredentialsBadge.d.ts.map +1 -1
  15. package/components/Details/ApiDetails.d.ts +4 -2
  16. package/components/Details/ApiDetails.d.ts.map +1 -1
  17. package/components/Details/ConfirmationView/ConfirmationFooter.d.ts +22 -0
  18. package/components/Details/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
  19. package/components/Details/ConfirmationView/ConfirmationView.d.ts +19 -0
  20. package/components/Details/ConfirmationView/ConfirmationView.d.ts.map +1 -0
  21. package/components/Details/Credentials/CredentialsSection.d.ts +1 -1
  22. package/components/Details/Credentials/CredentialsSection.d.ts.map +1 -1
  23. package/components/Details/DetailsPanel.d.ts.map +1 -1
  24. package/components/Details/Header/Header.d.ts +20 -9
  25. package/components/Details/Header/Header.d.ts.map +1 -1
  26. package/components/Details/Header/ShareButton/ShareButton.d.ts +6 -0
  27. package/components/Details/Header/ShareButton/ShareButton.d.ts.map +1 -1
  28. package/components/Details/TabsContent/About.d.ts +2 -1
  29. package/components/Details/TabsContent/About.d.ts.map +1 -1
  30. package/components/Details/TabsContent/Content.d.ts +17 -0
  31. package/components/Details/TabsContent/Content.d.ts.map +1 -0
  32. package/components/Details/TabsContent/DataGrid/DataGrid.d.ts +1 -1
  33. package/components/Details/TabsContent/DataGrid/DataGrid.d.ts.map +1 -1
  34. package/components/Details/TabsContent/Limits.d.ts.map +1 -1
  35. package/components/EntityHeader/EntityHeader.d.ts +5 -5
  36. package/components/EntityHeader/EntityHeader.d.ts.map +1 -1
  37. package/components/EntityTypeLabel/EntityTypeLabel.d.ts +1 -1
  38. package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +1 -1
  39. package/components/Favorites/FavoriteCard.d.ts +6 -3
  40. package/components/Favorites/FavoriteCard.d.ts.map +1 -1
  41. package/components/Favorites/Favorites.d.ts.map +1 -1
  42. package/components/FeaturedChip/FeaturedChip.d.ts +3 -0
  43. package/components/FeaturedChip/FeaturedChip.d.ts.map +1 -1
  44. package/components/Filter/Filter.d.ts +34 -6
  45. package/components/Filter/Filter.d.ts.map +1 -1
  46. package/components/InfoCard/InfoCard.d.ts +15 -0
  47. package/components/InfoCard/InfoCard.d.ts.map +1 -0
  48. package/components/ItemHeader/ItemHeader.d.ts +1 -0
  49. package/components/ItemHeader/ItemHeader.d.ts.map +1 -1
  50. package/components/ListView/ListView.d.ts +1 -5
  51. package/components/ListView/ListView.d.ts.map +1 -1
  52. package/components/ListView/Renders/EntityTypeCellRenderer.d.ts +1 -0
  53. package/components/ListView/Renders/EntityTypeCellRenderer.d.ts.map +1 -1
  54. package/components/ListView/Renders/FolderCellRenderer.d.ts +1 -0
  55. package/components/ListView/Renders/FolderCellRenderer.d.ts.map +1 -1
  56. package/components/ListView/Renders/NameCellRenderer.d.ts +1 -0
  57. package/components/ListView/Renders/NameCellRenderer.d.ts.map +1 -1
  58. package/components/ListView/Renders/StarCellRenderer.d.ts +1 -0
  59. package/components/ListView/Renders/StarCellRenderer.d.ts.map +1 -1
  60. package/components/ListView/Renders/TagsCellRenderer.d.ts +1 -0
  61. package/components/ListView/Renders/TagsCellRenderer.d.ts.map +1 -1
  62. package/components/ListView/columns.d.ts +2 -1
  63. package/components/ListView/columns.d.ts.map +1 -1
  64. package/components/SearchBar/SearchBar.d.ts +1 -5
  65. package/components/SearchBar/SearchBar.d.ts.map +1 -1
  66. package/components/StarToggleButton/StarToggleButton.d.ts +2 -0
  67. package/components/StarToggleButton/StarToggleButton.d.ts.map +1 -1
  68. package/components/TableView/TableView.d.ts +19 -0
  69. package/components/TableView/TableView.d.ts.map +1 -1
  70. package/components/Toolbar/Rows/TitleRow.d.ts +3 -3
  71. package/components/Toolbar/Rows/TitleRow.d.ts.map +1 -1
  72. package/components/Toolbar/Toolbar.d.ts.map +1 -1
  73. package/components/TopicTag/TopicTag.d.ts +12 -7
  74. package/components/TopicTag/TopicTag.d.ts.map +1 -1
  75. package/constants/entity-colors.d.ts +3 -3
  76. package/constants/entity-colors.d.ts.map +1 -1
  77. package/index-BU5Qz5JM-BXYoqD6l-L4brbFsj-DweMgJ6-.js +58296 -0
  78. package/index.css +1 -1
  79. package/index.d.ts +19 -29
  80. package/index.d.ts.map +1 -1
  81. package/index.js +96010 -10262
  82. package/models/app-identity-styles.d.ts +28 -0
  83. package/models/app-identity-styles.d.ts.map +1 -0
  84. package/models/card-props.d.ts +13 -13
  85. package/models/card-props.d.ts.map +1 -1
  86. package/models/catalog-item.d.ts +2 -5
  87. package/models/catalog-item.d.ts.map +1 -1
  88. package/models/catalog-props.d.ts +70 -32
  89. package/models/catalog-props.d.ts.map +1 -1
  90. package/models/catalog-styles.d.ts +3 -40
  91. package/models/catalog-styles.d.ts.map +1 -1
  92. package/models/favorites.d.ts +13 -7
  93. package/models/favorites.d.ts.map +1 -1
  94. package/models/grid-props.d.ts +4 -0
  95. package/models/grid-props.d.ts.map +1 -1
  96. package/models/item-details-data.d.ts +7 -0
  97. package/models/item-details-data.d.ts.map +1 -1
  98. package/models/item-details-props.d.ts +209 -34
  99. package/models/item-details-props.d.ts.map +1 -1
  100. package/models/item-overview.d.ts +1 -7
  101. package/models/item-overview.d.ts.map +1 -1
  102. package/models/list-props.d.ts +22 -3
  103. package/models/list-props.d.ts.map +1 -1
  104. package/models/toolbar-props.d.ts +17 -21
  105. package/models/toolbar-props.d.ts.map +1 -1
  106. package/package.json +6 -6
  107. package/types/deployment-icon-size.d.ts +5 -0
  108. package/types/deployment-icon-size.d.ts.map +1 -0
  109. package/types/detail-tab.d.ts +4 -1
  110. package/types/detail-tab.d.ts.map +1 -1
  111. package/types/details-confirmation.d.ts +19 -0
  112. package/types/details-confirmation.d.ts.map +1 -0
  113. package/types/entity-type.d.ts +2 -3
  114. package/types/entity-type.d.ts.map +1 -1
  115. package/types/recipients-count.d.ts +12 -0
  116. package/types/recipients-count.d.ts.map +1 -0
  117. package/utils/catalog-filter.d.ts +1 -0
  118. package/utils/catalog-filter.d.ts.map +1 -1
  119. package/utils/catalog-sort.d.ts +1 -8
  120. package/utils/catalog-sort.d.ts.map +1 -1
  121. package/utils/catalog-tabs.d.ts +2 -2
  122. package/utils/catalog-tabs.d.ts.map +1 -1
  123. package/utils/parse-about-content.d.ts +2 -12
  124. package/utils/parse-about-content.d.ts.map +1 -1
  125. package/utils/styles.d.ts +1 -3
  126. package/utils/styles.d.ts.map +1 -1
  127. package/utils/toolset-credentials.d.ts +3 -18
  128. package/utils/toolset-credentials.d.ts.map +1 -1
  129. package/utils/use-fav-columns.d.ts +1 -4
  130. package/utils/use-fav-columns.d.ts.map +1 -1
  131. package/utils/use-scroll-virtualizer.d.ts +1 -9
  132. package/utils/use-scroll-virtualizer.d.ts.map +1 -1
  133. package/components/Details/Header/ConnectButton/ConnectButton.d.ts +0 -25
  134. package/components/Details/Header/ConnectButton/ConnectButton.d.ts.map +0 -1
  135. package/components/Details/Header/DeleteButton/DeleteButton.d.ts +0 -25
  136. package/components/Details/Header/DeleteButton/DeleteButton.d.ts.map +0 -1
  137. package/components/Details/Summary/Limits.d.ts +0 -18
  138. package/components/Details/Summary/Limits.d.ts.map +0 -1
  139. package/components/Details/Summary/Summary.d.ts +0 -12
  140. package/components/Details/Summary/Summary.d.ts.map +0 -1
  141. package/components/FolderPath/FolderPath.d.ts +0 -25
  142. package/components/FolderPath/FolderPath.d.ts.map +0 -1
  143. package/components/PublishFoldersTree/PublishFoldersTree.d.ts +0 -72
  144. package/components/PublishFoldersTree/PublishFoldersTree.d.ts.map +0 -1
  145. package/components/PublishHistoryList/PublishHistoryList.d.ts +0 -44
  146. package/components/PublishHistoryList/PublishHistoryList.d.ts.map +0 -1
  147. package/components/PublishPanel/PublishFooter.d.ts +0 -37
  148. package/components/PublishPanel/PublishFooter.d.ts.map +0 -1
  149. package/components/PublishPanel/PublishPanel.d.ts +0 -109
  150. package/components/PublishPanel/PublishPanel.d.ts.map +0 -1
  151. package/components/PublishPanel/StandalonePublishPanel.d.ts +0 -90
  152. package/components/PublishPanel/StandalonePublishPanel.d.ts.map +0 -1
  153. package/constants/catalog-defaults.d.ts +0 -4
  154. package/constants/catalog-defaults.d.ts.map +0 -1
  155. package/models/entity-summary.d.ts +0 -23
  156. package/models/entity-summary.d.ts.map +0 -1
  157. package/models/publish.d.ts +0 -89
  158. package/models/publish.d.ts.map +0 -1
  159. package/models/sort.d.ts +0 -8
  160. package/models/sort.d.ts.map +0 -1
  161. package/types/entity-tag.d.ts +0 -9
  162. package/types/entity-tag.d.ts.map +0 -1
  163. package/utils/format-published-date.d.ts +0 -8
  164. package/utils/format-published-date.d.ts.map +0 -1
  165. package/utils/publish-folder-tree.d.ts +0 -45
  166. package/utils/publish-folder-tree.d.ts.map +0 -1
  167. package/utils/publish-state.d.ts +0 -9
  168. package/utils/publish-state.d.ts.map +0 -1
  169. package/utils/use-publish-flow.d.ts +0 -77
  170. package/utils/use-publish-flow.d.ts.map +0 -1
@@ -1,27 +1,25 @@
1
+ import { PublicationRule, PublishFolderNode, PublishFooterLabels, PublishHistoryEntry, PublishPanelLabels } from '../../../publish-panel/src/index.ts';
1
2
  import { ReactNode } from 'react';
2
- import { PublishFooterTexts } from '../components/PublishPanel/PublishFooter';
3
- import { PublishPanelTexts } from '../components/PublishPanel/PublishPanel';
4
3
  import { CredentialsLevel } from '../types/toolset-auth';
5
4
  import { CatalogItem } from './catalog-item';
6
- import { PublishFolderNode, PublishHistoryEntry } from './publish';
7
5
  /** Text overrides for all user-visible strings in `DetailsPanel`. */
8
6
  export interface ItemDetailsTexts {
9
7
  /** "Share" action button label. Default: `'Share'`. */
10
8
  shareLabel?: string;
11
- /** "Connect" action button label, used for every entity type. Default: `'Connect'`. */
12
- connectLabel?: string;
13
- /** Caption above the intro/description text. Default: `'Intro'`. */
14
- introLabel?: string;
9
+ /** "Connect" tab label (resource ID, endpoint, and code snippets). Default: `'Connect'`. */
10
+ tabConnectLabel?: string;
11
+ /** Accessible label for the icon-only "Manage" button (opens the Edit/Publish/Delete menu). Default: `'Manage'`. */
12
+ manageActionLabel?: string;
15
13
  /** "About" tab label. Default: `'About'`. */
16
14
  tabAboutLabel?: string;
15
+ /** Content tab label, shown for items carrying a text body. Default: `'Details'`. */
16
+ tabContentLabel?: string;
17
17
  /** "Overview" tab label. Default: `'Overview'`. */
18
18
  tabOverviewLabel?: string;
19
19
  /** "Pricing" tab label. Default: `'Pricing'`. */
20
20
  tabPricingLabel?: string;
21
21
  /** "Limits" tab label. Default: `'Limits'`. */
22
22
  tabLimitsLabel?: string;
23
- /** "API" tab label. Default: `'API'`. */
24
- tabApiLabel?: string;
25
23
  /** Accessible label for the details panel `role="dialog"`. Default: `'Item details'`. */
26
24
  ariaLabel?: string;
27
25
  /** Accessible label for the close button. Default: `'Close'`. */
@@ -50,18 +48,18 @@ export interface ItemDetailsTexts {
50
48
  hasPrimaryAction?: boolean;
51
49
  /** "Edit" action button label. Default: `'Edit'`. */
52
50
  editActionLabel?: string;
53
- /** Label above the daily-limit progress bar. Default: `'Daily limit'`. */
54
- dailyLimitLabel?: string;
51
+ /** "Download" action button label. Default: `'Download'`. */
52
+ downloadActionLabel?: string;
55
53
  /** "Resource" section heading in the API tab. Default: `'Resource'`. */
56
54
  apiResourceSectionLabel?: string;
57
55
  /** "Code snippet" section heading in the API tab. Default: `'Code snippet'`. */
58
56
  apiSnippetSectionLabel?: string;
59
57
  /** "Model ID" row label in the API tab. Default: `'Model ID'`. */
60
58
  apiModelIdLabel?: string;
61
- /** "Endpoint" section heading in the API tab (multi-endpoint selector). Default: `'Endpoint'`. */
62
- apiEndpointSectionLabel?: string;
63
- /** URL row label inside each endpoint option. Default: `'Endpoint'`. */
59
+ /** Title shown in the single-endpoint code block's header in the Connect tab. Default: `'Endpoint'`. */
64
60
  apiEndpointLabel?: string;
61
+ /** "Endpoint" section heading above the multi-endpoint selector in the Connect tab. Default: `'Endpoint'`. */
62
+ apiEndpointSectionLabel?: string;
65
63
  /** "Request example" row label in the API tab. Default: `'Request example'`. */
66
64
  apiRequestExampleLabel?: string;
67
65
  /** "Response schema" row label in the API tab. Default: `'Response schema'`. */
@@ -112,20 +110,79 @@ export interface ItemDetailsTexts {
112
110
  deleteActionLabel?: string;
113
111
  /** Status text announced to assistive tech while a delete is in progress. Default: `'Deleting'`. */
114
112
  deletingStatusLabel?: string;
113
+ /** Title of the delete confirmation step. Default: the `deleteActionLabel` value. */
114
+ deleteConfirmTitle?: string;
115
+ /**
116
+ * Returns the delete confirmation's body copy, given the item's display
117
+ * name. Default:
118
+ * `(name) => \`Are you sure you want to delete ${name}? This action is permanent and cannot be undone.\`` (with the name emphasized).
119
+ */
120
+ deleteConfirmMessage?: (name: string) => ReactNode;
121
+ /**
122
+ * Consequences listed as bullets in the delete confirmation. Default:
123
+ * `['All shared configurations will be lost', 'Users who rely on it will lose access', 'Cannot be undone']`.
124
+ * Pass `[]` to render no list.
125
+ */
126
+ deleteConfirmConsequences?: string[];
127
+ /** Recipient-side "Remove from My List" action and confirmation label. Default: `'Remove from My List'`. */
128
+ unshareLabel?: string;
129
+ /** Title of the confirmation step shown before removing a shared item. Default: `'Remove from My List'`. */
130
+ unshareConfirmTitle?: string;
131
+ /**
132
+ * Returns the removal confirmation's body copy, given the item's display
133
+ * name. Default:
134
+ * `(name) => \`Remove ${name} from your list? You'll need a new invitation to access it again.\`` (with the name emphasized).
135
+ */
136
+ unshareConfirmMessage?: (name: string) => ReactNode;
137
+ /**
138
+ * Consequences listed as bullets in the removal confirmation. Default:
139
+ * `['You will lose access to this item', 'Other people keep their access', 'You will need a new invitation to get it back']`.
140
+ * Pass `[]` to render no list.
141
+ */
142
+ unshareConfirmConsequences?: string[];
143
+ /** Status text announced to assistive tech while a removal is in progress. Default: `'Removing'`. */
144
+ unsharingStatusLabel?: string;
145
+ /** Owner-side "Revoke access" action and confirmation label. Default: `'Revoke access'`. */
146
+ revokeShareLabel?: string;
147
+ /**
148
+ * Returns the "Revoke access" menu label when the number of users holding
149
+ * access is known, so the owner can see the blast radius before opening the
150
+ * confirmation. Falls back to `revokeShareLabel` when the count is unknown.
151
+ * Default: `(count) => \`Revoke access (${count})\``.
152
+ */
153
+ revokeShareLabelWithCount?: (count: number) => string;
154
+ /** Title of the confirmation step shown before revoking everyone's shared access. Default: `'Revoke access'`. */
155
+ revokeShareConfirmTitle?: string;
156
+ /**
157
+ * Returns the revoke confirmation's body copy, given the item's display
158
+ * name. Default:
159
+ * `(name) => \`Revoke shared access to ${name}? Anyone you shared it with will lose access.\`` (with the name emphasized).
160
+ */
161
+ revokeShareConfirmMessage?: (name: string) => ReactNode;
162
+ /**
163
+ * Consequences listed as bullets in the revoke confirmation. Default:
164
+ * `['Everyone you shared it with loses access', 'Existing share links stop working', 'You keep full access — nothing is deleted']`.
165
+ * Pass `[]` to render no list.
166
+ */
167
+ revokeShareConfirmConsequences?: string[];
168
+ /** Status text announced to assistive tech while a revoke is in progress. Default: `'Revoking access'`. */
169
+ revokingShareStatusLabel?: string;
170
+ /** Status text announced to assistive tech while a logout is in progress. Default: `'Logging out'`. */
171
+ loggingOutStatusLabel?: string;
172
+ /** Generic "Cancel" label, used by every confirmation step. Default: `'Cancel'`. */
173
+ cancelLabel?: string;
115
174
  }
116
175
  /** Typography class overrides for `DetailsPanel` text elements. */
117
176
  export interface ItemDetailsTypography {
118
- /** Typography class for the entity name. Default: `'dial-body-semi-text text-primary'`. */
177
+ /** Typography class for the entity name. Default: `'dial-body-semi-text'`. */
119
178
  nameClassName?: string;
120
- /** Typography class for the provider label below the entity name. Default: `'dial-tiny-text text-secondary'`. */
121
- providerClassName?: string;
179
+ /** Typography class for a sub-view header title (publish, share, credentials). Default: `'dial-body-semi-text'`. */
180
+ subViewTitleClassName?: string;
122
181
  /** Typography class for the version string. Default: `'dial-tiny-text'`. */
123
182
  versionClassName?: string;
124
- /** Typography class for the intro section caption. Default: `'dial-caption-text'`. */
125
- introCaptionClassName?: string;
126
- /** Typography class for section headings inside the intro/description content. Default: `'dial-small-semi-text'`. */
183
+ /** Typography class for section headings inside the description content. Default: `'dial-small-semi-text'`. */
127
184
  contentHeadingClassName?: string;
128
- /** Typography class for the intro/description body text. Default: `'dial-small-text'`. */
185
+ /** Typography class for the description body text. Default: `'dial-small-text'`. */
129
186
  contentClassName?: string;
130
187
  /** Typography class for Overview section headings. Default: `'dial-caption-text'`. */
131
188
  overviewSectionClassName?: string;
@@ -139,13 +196,80 @@ export interface ItemDetailsTypography {
139
196
  folderLabelClassName?: string;
140
197
  /** Typography class applied to the leaf (last) folder path segment. Default: `'dial-tiny-semi-text'`. */
141
198
  folderLeafClassName?: string;
142
- /** Typography class for the credentials section's signed-in/signed-out status label. Default: `'dial-small-semi-text text-primary'`. */
199
+ /** Typography class for the credentials section's signed-in/signed-out status label. Default: `'dial-small-semi-text'`. */
143
200
  credentialsStatusLabelClassName?: string;
201
+ /** Typography class for a confirmation step's body copy and consequence bullets. Default: `'dial-small-text'`. */
202
+ confirmMessageClassName?: string;
203
+ }
204
+ /**
205
+ * Color overrides for `DetailsPanel` and everything it renders, applied as CSS
206
+ * custom properties on the panel root so they cascade into the nested header,
207
+ * credentials, summary, spec-grid and tools sections.
208
+ */
209
+ export interface ItemDetailsColors {
210
+ /** Backdrop overlay color behind the panel. Fallback: `--bg-backdrop`. */
211
+ backdrop?: string;
212
+ /** Panel surface background. Fallback: `--bg-layer-raised`. */
213
+ background?: string;
214
+ /** Panel's leading-edge border color (desktop only). Fallback: `--stroke-secondary`. */
215
+ border?: string;
216
+ /** Horizontal divider color between panel sections. Fallback: `--stroke-tertiary`. */
217
+ divider?: string;
218
+ /** Scrollbar thumb color of the scrollable content area. Fallback: `--stroke-secondary`. */
219
+ scrollbar?: string;
220
+ /** Shimmer color of the tab-row loading skeleton. Fallback: `--bg-layer-4`. */
221
+ skeleton?: string;
222
+ /** Entity name text color in the header. Fallback: `--text-primary`. */
223
+ nameText?: string;
224
+ /** Title text color of a sub-view (publish or a confirmation step). Fallback: `--text-primary`. */
225
+ publishTitleText?: string;
226
+ /** Border color of the "current version" tag. Fallback: `--stroke-tertiary`. */
227
+ versionTagBorder?: string;
228
+ /** Background color of the "current version" tag. Fallback: `--bg-accent-primary-alpha`. */
229
+ versionTagBackground?: string;
230
+ /** Text color of the "current version" tag. Fallback: `--text-accent`. */
231
+ versionTagText?: string;
232
+ /** Credentials signed-in/signed-out status label color. Fallback: `--text-primary`. */
233
+ credentialsStatusText?: string;
234
+ /** Body text color of the Content tab. Fallback: `--text-primary`. */
235
+ contentText?: string;
236
+ /** Text color of a `{{placeholder}}` token in the Content tab's body. Fallback: `--text-prompt-parameter`. */
237
+ variableText?: string;
238
+ /** Heading color of the API section. Fallback: `--text-secondary`. */
239
+ apiHeadingText?: string;
240
+ /** Divider color between tool entries. Fallback: `--stroke-tertiary`. */
241
+ toolsDivider?: string;
242
+ /** Tool description text color. Fallback: `--text-secondary`. */
243
+ toolsDescriptionText?: string;
244
+ /** Spec-grid outer border color. Fallback: `--stroke-secondary`. */
245
+ gridBorder?: string;
246
+ /** Spec-grid header text color. Fallback: `--text-secondary`. */
247
+ gridHeaderText?: string;
248
+ /** Spec-grid header background. Fallback: `--bg-layer-1`. */
249
+ gridHeaderBackground?: string;
250
+ /** Spec-grid cell text color. Fallback: `--text-primary`. */
251
+ gridCellText?: string;
252
+ /** Spec-grid cell top-border color. Fallback: `--stroke-secondary`. */
253
+ gridCellDivider?: string;
254
+ /** Spec-grid even-row background. Fallback: `--bg-layer-7`. */
255
+ gridRowEvenBackground?: string;
256
+ /** `InfoCard` surface color in its `Info` variant. Fallback: `--bg-info`. */
257
+ infoCardBackground?: string;
258
+ /** `InfoCard` surface color in its `Danger` variant. Fallback: `--bg-error`. */
259
+ infoCardDangerBackground?: string;
260
+ /** Confirmation body-copy text color. Fallback: `--text-primary`. */
261
+ confirmMessageText?: string;
262
+ /** Confirmation consequence-bullet text color. Fallback: `--text-secondary`. */
263
+ confirmConsequenceText?: string;
264
+ /** Top border color of the confirmation action row. Fallback: `--stroke-tertiary`. */
265
+ confirmFooterBorder?: string;
144
266
  }
145
267
  /** Grouped style overrides for `DetailsPanel`. */
146
268
  export interface ItemDetailsStyles {
147
269
  /** Typography class overrides for text elements. */
148
270
  typography?: ItemDetailsTypography;
271
+ /** Color overrides applied as CSS custom properties on the panel root. */
272
+ colors?: ItemDetailsColors;
149
273
  }
150
274
  /** Props for `DetailsPanel`. */
151
275
  export interface DetailsPanelProps {
@@ -164,6 +288,12 @@ export interface DetailsPanelProps {
164
288
  onClose: () => void;
165
289
  /** Called when the star/favorite button is toggled. */
166
290
  onToggleFavorite?: (id: string, isStarred: boolean) => void;
291
+ /**
292
+ * Additional caller-supplied rule for whether the "Remove from My List"
293
+ * action is shown, combined (AND) with the built-in
294
+ * `sharedWithMe`/`isMyApp` rule. Defaults to `true` when absent.
295
+ */
296
+ isUnshareVisible?: (item: CatalogItem) => boolean;
167
297
  /** Called when the "Use in chat" button is clicked. */
168
298
  onUseInChat?: (item: CatalogItem) => void;
169
299
  /** Controls whether the primary action button is shown for the item. */
@@ -188,32 +318,48 @@ export interface DetailsPanelProps {
188
318
  publishLoadingPaths?: Set<string>;
189
319
  /** Resolves whether the current user can publish to a given folder path. */
190
320
  hasPublishWriteAccess?: (folderPath: string[]) => boolean;
191
- /** Called with the destination folder path when the user confirms publish/update. */
192
- onPublish?: (item: CatalogItem, folderPath: string[]) => Promise<void>;
321
+ /** Called with the destination folder path and current access rules when the user confirms publish/update. */
322
+ onPublish?: (item: CatalogItem, folderPath: string[], rules: PublicationRule[]) => Promise<void>;
193
323
  /** Called after a successful publish; use this to surface a success notification. */
194
324
  onPublishSuccess?: (item: CatalogItem, folderPath: string[]) => void;
325
+ /** Called with the rejection reason when a publish request fails; use this to surface an error notification. */
326
+ onPublishError?: (item: CatalogItem, folderPath: string[], error: unknown) => void;
195
327
  /** Called when the user confirms a new folder name in the publish flow. */
196
328
  onCreatePublishFolder?: (parentPath: string[], name: string) => void;
197
329
  /** Text overrides forwarded to the publish flow. */
198
- publishTexts?: PublishPanelTexts & PublishFooterTexts;
330
+ publishLabels?: PublishPanelLabels & PublishFooterLabels;
331
+ /** Options offered in the access-rules editor's source picker. Defaults to `[]` when absent. */
332
+ ruleSourceOptions?: string[];
333
+ /**
334
+ * Resolves the access rules already configured for a destination folder,
335
+ * called whenever the selected folder changes. The result fully replaces
336
+ * the rules editor's contents. Omit to skip pre-filling entirely.
337
+ */
338
+ onFetchExistingRules?: (folderPath: string[]) => Promise<PublicationRule[]>;
199
339
  /**
200
340
  * Renders the Share popover content anchored to the Share button. When
201
341
  * provided, clicking Share opens this popover instead of calling `onShare`.
202
342
  */
203
343
  shareOverlay?: (item: CatalogItem, onClose: () => void) => ReactNode;
204
344
  /**
205
- * Renders the Connect popover content anchored to the Connect button. When
206
- * absent, the Connect button is never shown there is no non-overlay
207
- * fallback action.
208
- */
209
- connectOverlay?: (item: CatalogItem, onClose: () => void) => ReactNode;
210
- /**
211
- * Controls whether the "Connect" action is shown for the item. When
212
- * absent, the Connect button is never shown.
345
+ * Additional caller-supplied rule for whether the "Share" action is shown
346
+ * for the item, combined (AND) with the built-in ownership/type rule.
347
+ * Absent means the built-in rule alone decides.
213
348
  */
214
- isConnectVisible?: (item: CatalogItem) => boolean;
349
+ isShareVisible?: (item: CatalogItem) => boolean;
215
350
  /** Called when the "Edit" button is clicked. Shown only when the item's `isEditable` is `true`. */
216
351
  onEdit?: (item: CatalogItem) => void;
352
+ /**
353
+ * Called when the "Download" action is clicked, with no confirmation step.
354
+ * The panel does not await the result or show a pending state, so the host
355
+ * owns any progress and failure feedback.
356
+ */
357
+ onDownload?: (item: CatalogItem) => Promise<void> | void;
358
+ /**
359
+ * Narrows which items offer the "Download" action. Defaults to `true`
360
+ * (visible for every item) whenever `onDownload` is supplied.
361
+ */
362
+ isDownloadVisible?: (item: CatalogItem) => boolean;
217
363
  /**
218
364
  * Called immediately when the "Delete" button is clicked, with no
219
365
  * confirmation step. Shown only when the item's `isMyApp` is `true` and
@@ -221,6 +367,35 @@ export interface DetailsPanelProps {
221
367
  * button shows a disabled state while pending.
222
368
  */
223
369
  onDelete?: (item: CatalogItem) => Promise<void> | void;
370
+ /**
371
+ * Called when removal is confirmed via the confirmation popup, for an item
372
+ * shared with the current user (`sharedWithMe: true`). May return a
373
+ * promise; the popup shows a loading state and prevents duplicate
374
+ * submission while pending.
375
+ */
376
+ onUnshare?: (item: CatalogItem) => Promise<void> | void;
377
+ /**
378
+ * Called when revocation is confirmed for an item the current user owns
379
+ * (`isMyApp: true`), removing every recipient's shared access at once. May
380
+ * return a promise; the confirmation shows a loading state and prevents
381
+ * duplicate submission while pending. The item stays in the owner's
382
+ * catalog, so the panel returns to its details content on success.
383
+ */
384
+ onRevokeShare?: (item: CatalogItem) => Promise<void> | void;
385
+ /**
386
+ * Resolves how many users currently hold shared access to an owned item.
387
+ * Called when the owner opens the Manage menu, so "Revoke access" is gated
388
+ * and labelled on a count that is never stale. `0` hides the action;
389
+ * `undefined` (or a rejection) leaves it reachable without a count. Omit to
390
+ * offer the action for every owned item.
391
+ */
392
+ onFetchRecipientsCount?: (item: CatalogItem) => Promise<number | undefined>;
393
+ /**
394
+ * Additional caller-supplied rule for whether "Revoke access" is shown,
395
+ * combined (AND) with the built-in `isMyApp` rule and the recipient count.
396
+ * Defaults to `true` when absent.
397
+ */
398
+ isRevokeShareVisible?: (item: CatalogItem) => boolean;
224
399
  /**
225
400
  * Called when the credentials login form is submitted. `level` identifies
226
401
  * which credentials slot the call applies to (`USER` for the current
@@ -1 +1 @@
1
- {"version":3,"file":"item-details-props.d.ts","sourceRoot":"","sources":["../../src/models/item-details-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAExE,qEAAqE;AACrE,MAAM,WAAW,gBAAgB;IAC/B,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iDAAiD;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wGA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CAAC;IACrC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACvD;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,CACR,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KACjD,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CACT,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAA;KAAE,KAChC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B,mDAAmD;IACnD,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,+BAA+B;IAC/B,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B"}
1
+ {"version":3,"file":"item-details-props.d.ts","sourceRoot":"","sources":["../../src/models/item-details-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,qEAAqE;AACrE,MAAM,WAAW,gBAAgB;IAC/B,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4FAA4F;IAC5F,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oHAAoH;IACpH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,6CAA6C;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,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IAAI,CAAC,GAAG,IAAI,CAAC;IAC5D;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5E;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IACtD;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,CACR,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KACjD,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CACT,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAA;KAAE,KAChC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B,mDAAmD;IACnD,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,+BAA+B;IAC/B,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B"}
@@ -17,13 +17,7 @@ export interface OverviewSection {
17
17
  /** Ordered spec rows. */
18
18
  specs: OverviewSpec[];
19
19
  }
20
- /**
21
- * Structured data powering the Overview tab of `DetailsPanel`.
22
- *
23
- * Recommended source format: a TypeScript file per entity type (or per provider)
24
- * exporting a `Record<string, CatalogItemOverview>` keyed by item id.
25
- * Example: `export const MODEL_OVERVIEWS: Record<string, CatalogItemOverview> = { 'gpt-4o': { sections: [...] } }`.
26
- */
20
+ /** Structured data powering the Overview tab of `DetailsPanel`. */
27
21
  export interface CatalogItemOverview {
28
22
  /** Ordered list of spec sections shown in the Overview tab. */
29
23
  sections: OverviewSection[];
@@ -1 +1 @@
1
- {"version":3,"file":"item-overview.d.ts","sourceRoot":"","sources":["../../src/models/item-overview.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,MAAM,WAAW,YAAY;IAC3B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AAED,sDAAsD;AACtD,MAAM,WAAW,eAAe;IAC9B,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,QAAQ,EAAE,eAAe,EAAE,CAAC;CAC7B"}
1
+ {"version":3,"file":"item-overview.d.ts","sourceRoot":"","sources":["../../src/models/item-overview.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,MAAM,WAAW,YAAY;IAC3B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AAED,sDAAsD;AACtD,MAAM,WAAW,eAAe;IAC9B,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB;AAED,mEAAmE;AACnE,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,QAAQ,EAAE,eAAe,EAAE,CAAC;CAC7B"}
@@ -1,7 +1,8 @@
1
+ import { CatalogEntityType } from '../types/entity-type';
1
2
  import { CatalogItem } from './catalog-item';
2
3
  /** Typography class overrides for `ListView` cells. */
3
4
  export interface ListViewTypography {
4
- /** Typography class for item name text. Default: `'dial-h3-text'`. */
5
+ /** Typography class for item name text. Default: `'dial-small-semi-text'`. */
5
6
  nameClassName?: string;
6
7
  /** Typography class for item version text. Default: `'dial-tiny-text'`. */
7
8
  versionClassName?: string;
@@ -12,8 +13,24 @@ export interface ListViewTypography {
12
13
  }
13
14
  /** Color overrides for `ListView` cells, applied via CSS custom properties. */
14
15
  export interface ListViewColors {
15
- /** Color for item name text. Fallback: `--text-primary`. */
16
- nameText?: string;
16
+ /** Grid container background. Fallback: `--bg-layer-raised`. */
17
+ background?: string;
18
+ /** Grid container border color. Fallback: `--stroke-secondary`. */
19
+ border?: string;
20
+ /** Sticky header background. Fallback: `--bg-layer-raised`. */
21
+ headerBackground?: string;
22
+ /** Divider color between header and rows. Fallback: `--stroke-tertiary`. */
23
+ rowDivider?: string;
24
+ /** Color of the filled star icon in the favorite column. Fallback: `--text-warning-icon`. */
25
+ starFilled?: string;
26
+ /** Background color of even-indexed grid rows. Fallback: `--bg-layer-base`. */
27
+ rowEvenBackground?: string;
28
+ /** Border color of the selected row. Fallback: `--stroke-info`. */
29
+ selectedRowBorder?: string;
30
+ /** Background color (tint) of the selected row. Fallback: `--bg-accent-primary-alpha`. */
31
+ selectedRowBackground?: string;
32
+ /** Color of the checkmark icon in the selected row's name cell. Fallback: `--text-accent`. */
33
+ selectedRowCheckIcon?: string;
17
34
  }
18
35
  /** Combined style overrides for `ListView`. */
19
36
  export interface ListViewStyles {
@@ -24,6 +41,8 @@ export interface ListViewStyles {
24
41
  }
25
42
  /** Props for ListView. */
26
43
  export interface ListViewProps {
44
+ /** Type of catalog items being displayed. */
45
+ type: CatalogEntityType;
27
46
  /** Items to display in the table. */
28
47
  items: CatalogItem[];
29
48
  /** Active search query — passed through grid context so cell renderers can highlight. */
@@ -1 +1 @@
1
- {"version":3,"file":"list-props.d.ts","sourceRoot":"","sources":["../../src/models/list-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,uDAAuD;AACvD,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2EAA2E;IAC3E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iGAAiG;IACjG,0BAA0B,CAAC,EAAE,MAAM,CAAC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I,CAAC;IAC5D,sEAAsE;IACtE,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qFAAqF;IACrF,8BAA8B,CAAC,EAAE,MAAM,CAAC;CACzC"}
@@ -1,38 +1,36 @@
1
+ import { DropdownItem } from '@epam/ai-dial-ui-kit';
1
2
  import { CatalogViewMode } from '../types/view-mode';
2
- /** A single option in the sort dropdown. */
3
- export interface CatalogSortOption {
4
- /** Sort key passed to `onSortChange`. */
5
- value: string;
6
- /** Display label shown in the dropdown. */
7
- label: string;
8
- }
9
3
  /** Typography class overrides for `Toolbar`. */
10
4
  export interface ToolbarTypography {
11
- /** Typography class for the section title. Default: `'dial-h3-text'`. */
5
+ /** Typography class for the section title. Default: `'dial-body-semi-text'`. */
12
6
  titleClassName?: string;
13
- /** Typography class for the total count. Default: `'dial-tiny-text'`. */
7
+ /** Typography class for the total count. Default: `'dial-tiny-semi-text'`. */
14
8
  countClassName?: string;
15
- /** Typography class for the filter section label. Default: `'dial-tiny-semi-text'`. */
9
+ /** Typography class for the filter section label. Default: `'dial-tiny-lead-semi-text'`. */
16
10
  filterSectionLabelClassName?: string;
17
11
  /** Typography class for the filter checkbox labels. Default: `'dial-small-semi-text'`. */
18
12
  filterButtonClassName?: string;
19
13
  }
20
14
  /** Color overrides for `Toolbar`, applied via CSS custom properties. */
21
15
  export interface ToolbarColors {
22
- /** Section background color. Fallback: `--bg-layer-1`. */
23
- background?: string;
24
16
  /** Section title text color. Fallback: `--text-primary`. */
25
17
  titleText?: string;
26
18
  /** Total count text color. Fallback: `--text-secondary`. */
27
19
  countText?: string;
28
- /** Filter icon color. Fallback: `--text-secondary`. */
29
- icon?: string;
30
20
  /** Vertical divider color next to sort dropdown. Fallback: `--stroke-secondary`. */
31
21
  divider?: string;
32
- /** Clear-all button text color. Fallback: `--text-error`. */
33
- clearAll?: string;
34
- /** Bottom border color of tabs row. Fallback: `--stroke-secondary`. */
35
- tabsBorder?: string;
22
+ /** Background color of the view-toggle wrapper. Fallback: `--bg-layer-sunken`. */
23
+ viewToggleBackground?: string;
24
+ /** Border color of the view-toggle wrapper. Fallback: `--stroke-tertiary`. */
25
+ viewToggleBorder?: string;
26
+ /** Background color of the active grid/list view-toggle button. Fallback: `--bg-layer-raised`. */
27
+ viewToggleActiveBackground?: string;
28
+ /** Icon color of the active grid/list view-toggle button. Fallback: `--text-accent`. */
29
+ viewToggleActiveText?: string;
30
+ /** Icon color of an inactive grid/list view-toggle button. Fallback: `--text-secondary`. */
31
+ viewToggleText?: string;
32
+ /** Icon color of an inactive grid/list view-toggle button on hover. Fallback: `--text-primary`. */
33
+ viewToggleTextHover?: string;
36
34
  }
37
35
  /** Grouped style overrides for `Toolbar`. */
38
36
  export interface ToolbarStyles {
@@ -81,9 +79,7 @@ export interface ToolbarProps {
81
79
  filterTopicsLabel?: string;
82
80
  /** Currently active sort key. */
83
81
  sortKey?: string;
84
- /** Called when the user selects a different sort option. */
85
- onSortChange?: (key: string) => void;
86
82
  /** Available sort options shown in the dropdown. */
87
- sortOptions?: CatalogSortOption[];
83
+ sortOptions?: DropdownItem[];
88
84
  }
89
85
  //# sourceMappingURL=toolbar-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar-props.d.ts","sourceRoot":"","sources":["../../src/models/toolbar-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,4CAA4C;AAC5C,MAAM,WAAW,iBAAiB;IAChC,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,gDAAgD;AAChD,MAAM,WAAW,iBAAiB;IAChC,yEAAyE;IACzE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IAC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C9C,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,mFAAmF;IACnF,OAAO,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,sDAAsD;IACtD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACjD,8EAA8E;IAC9E,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,6EAA6E;IAC7E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yDAAyD;IACzD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kFAAkF;IAClF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oDAAoD;IACpD,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;CAC9B"}
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.1.0-dev.18",
4
+ "version": "1.1.0-dev.182",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -19,11 +19,11 @@
19
19
  "peerDependencies": {
20
20
  "react": "^19.0.0",
21
21
  "@tabler/icons-react": "^3.0.0",
22
- "@epam/ai-dial-ui-kit": "0.12.0-dev.36",
23
- "@epam/ai-dial-kit": "1.1.0-dev.18",
24
- "@epam/ai-dial-sidebar": "1.1.0-dev.18",
25
- "@epam/ai-dial-chat-shared": "1.1.0-dev.18",
26
- "ag-grid-community": "35.3.0"
22
+ "@epam/ai-dial-kit": "1.1.0-dev.182",
23
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.182",
24
+ "@epam/ai-dial-publish-panel": "1.1.0-dev.182",
25
+ "ag-grid-community": "35.3.0",
26
+ "@epam/ai-dial-ui-kit": "^0.13.0-dev.26"
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",
@@ -0,0 +1,5 @@
1
+ export declare enum DeploymentSize {
2
+ SM = "sm",
3
+ LG = "lg"
4
+ }
5
+ //# sourceMappingURL=deployment-icon-size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployment-icon-size.d.ts","sourceRoot":"","sources":["../../src/types/deployment-icon-size.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,EAAE,OAAO;IACT,EAAE,OAAO;CACV"}
@@ -1,11 +1,14 @@
1
1
  /** Tab identifiers for the entity details panel. */
2
2
  export declare enum CatalogDetailsTab {
3
- /** Intro/description content (`item.intro ?? item.description`). Always the first tab. */
3
+ /** Description content (`item.description`). Always the first tab. */
4
4
  About = "about",
5
+ /** Read-only long-form text body, e.g. a prompt's content. */
6
+ Content = "content",
5
7
  Overview = "overview",
6
8
  Pricing = "pricing",
7
9
  /** Runtime usage-limit progress for model deployments. */
8
10
  Limits = "limits",
11
+ /** Resource ID, endpoint, and code snippets. Labeled "Connect". */
9
12
  Api = "api",
10
13
  /** Tool definitions tab, shown for Toolset entities. */
11
14
  Tools = "tools"
@@ -1 +1 @@
1
- {"version":3,"file":"detail-tab.d.ts","sourceRoot":"","sources":["../../src/types/detail-tab.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,oBAAY,iBAAiB;IAC3B,0FAA0F;IAC1F,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,0DAA0D;IAC1D,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,wDAAwD;IACxD,KAAK,UAAU;CAChB"}
1
+ {"version":3,"file":"detail-tab.d.ts","sourceRoot":"","sources":["../../src/types/detail-tab.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,oBAAY,iBAAiB;IAC3B,sEAAsE;IACtE,KAAK,UAAU;IACf,8DAA8D;IAC9D,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,0DAA0D;IAC1D,MAAM,WAAW;IACjB,mEAAmE;IACnE,GAAG,QAAQ;IACX,wDAAwD;IACxD,KAAK,UAAU;CAChB"}
@@ -0,0 +1,19 @@
1
+ /** Identifies which confirmation step the catalog details panel is currently showing in place of its details content. */
2
+ export declare enum DetailsConfirmationKind {
3
+ /** Owner-side deletion of the item for everyone. */
4
+ Delete = "delete",
5
+ /** Signing out of the item's stored credentials. */
6
+ Logout = "logout",
7
+ /** Recipient-side removal of the caller's own shared access. */
8
+ Unshare = "unshare",
9
+ /** Owner-side revocation of everyone else's shared access. */
10
+ RevokeAccess = "revokeAccess"
11
+ }
12
+ /** Palette a confirmation step is rendered with. */
13
+ export declare enum DetailsConfirmationVariant {
14
+ /** Irreversible loss for everyone — red identity card and a danger confirm button. */
15
+ Danger = "danger",
16
+ /** Affects only the current user and is recoverable — blue identity card and a neutral confirm button. */
17
+ Info = "info"
18
+ }
19
+ //# sourceMappingURL=details-confirmation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"details-confirmation.d.ts","sourceRoot":"","sources":["../../src/types/details-confirmation.ts"],"names":[],"mappings":"AAAA,yHAAyH;AACzH,oBAAY,uBAAuB;IACjC,oDAAoD;IACpD,MAAM,WAAW;IACjB,oDAAoD;IACpD,MAAM,WAAW;IACjB,gEAAgE;IAChE,OAAO,YAAY;IACnB,8DAA8D;IAC9D,YAAY,iBAAiB;CAC9B;AAED,oDAAoD;AACpD,oBAAY,0BAA0B;IACpC,sFAAsF;IACtF,MAAM,WAAW;IACjB,0GAA0G;IAC1G,IAAI,SAAS;CACd"}