@epam/ai-dial-catalog 1.3.0-dev.37 → 1.3.0-dev.372

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 (169) hide show
  1. package/components/AddOnCatalogModal/AddOnCatalogModal.d.ts +44 -0
  2. package/components/AddOnCatalogModal/AddOnCatalogModal.d.ts.map +1 -0
  3. package/components/AddOnListItem/AddOnListItem.d.ts +65 -0
  4. package/components/AddOnListItem/AddOnListItem.d.ts.map +1 -0
  5. package/components/AppIdentity/AppIdentity.d.ts +5 -8
  6. package/components/AppIdentity/AppIdentity.d.ts.map +1 -1
  7. package/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.d.ts +3 -1
  8. package/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.d.ts.map +1 -1
  9. package/components/ApplicationCredentials/ApplicationCredentials.d.ts.map +1 -1
  10. package/components/CardGrid/Card.d.ts.map +1 -1
  11. package/components/CardGrid/CardGrid.d.ts.map +1 -1
  12. package/components/CardGrid/CardRowRenderer.d.ts.map +1 -1
  13. package/components/Catalog/Catalog.d.ts.map +1 -1
  14. package/components/Catalog/CreateButton.d.ts +8 -1
  15. package/components/Catalog/CreateButton.d.ts.map +1 -1
  16. package/components/Catalog/CreateMenuSheet.d.ts +5 -0
  17. package/components/Catalog/CreateMenuSheet.d.ts.map +1 -1
  18. package/components/CatalogPickerModal/CatalogPickerModal.d.ts +110 -0
  19. package/components/CatalogPickerModal/CatalogPickerModal.d.ts.map +1 -0
  20. package/components/ClampedName/ClampedName.d.ts.map +1 -1
  21. package/components/DeploymentSelectorField/DeploymentSelectorField.d.ts +3 -1
  22. package/components/DeploymentSelectorField/DeploymentSelectorField.d.ts.map +1 -1
  23. package/components/DeploymentSelectorPanel/DeploymentSelectorPanel.d.ts +5 -0
  24. package/components/DeploymentSelectorPanel/DeploymentSelectorPanel.d.ts.map +1 -0
  25. package/components/Details/ApiDetails.d.ts.map +1 -1
  26. package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts +1 -1
  27. package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts.map +1 -1
  28. package/components/Details/Credentials/CredentialsInfoCard/CredentialsInfoCard.d.ts.map +1 -1
  29. package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts +1 -1
  30. package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts.map +1 -1
  31. package/components/Details/Credentials/CredentialsRow/CredentialsRow.d.ts.map +1 -1
  32. package/components/Details/DetailsPanel.d.ts.map +1 -1
  33. package/components/Details/DetailsPublishContent.d.ts +19 -0
  34. package/components/Details/DetailsPublishContent.d.ts.map +1 -0
  35. package/components/Details/DetailsTabs.d.ts +23 -0
  36. package/components/Details/DetailsTabs.d.ts.map +1 -0
  37. package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts +6 -4
  38. package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts.map +1 -1
  39. package/components/Details/Header/Header.d.ts +3 -152
  40. package/components/Details/Header/Header.d.ts.map +1 -1
  41. package/components/Details/Header/HeaderCredentialsButton.d.ts +16 -0
  42. package/components/Details/Header/HeaderCredentialsButton.d.ts.map +1 -0
  43. package/components/Details/Header/HeaderManageSlot.d.ts +27 -0
  44. package/components/Details/Header/HeaderManageSlot.d.ts.map +1 -0
  45. package/components/Details/Header/LimitStatusBadge.d.ts +14 -0
  46. package/components/Details/Header/LimitStatusBadge.d.ts.map +1 -0
  47. package/components/Details/Header/ShareButton/ShareButton.d.ts.map +1 -1
  48. package/components/Details/Header/hooks/useManageActions.d.ts +34 -0
  49. package/components/Details/Header/hooks/useManageActions.d.ts.map +1 -0
  50. package/components/Details/Header/hooks/useRecipientsCount.d.ts +11 -0
  51. package/components/Details/Header/hooks/useRecipientsCount.d.ts.map +1 -0
  52. package/components/Details/TabsContent/Content.d.ts +3 -2
  53. package/components/Details/TabsContent/Content.d.ts.map +1 -1
  54. package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts +10 -0
  55. package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts.map +1 -1
  56. package/components/Details/TabsContent/Limits/LimitRow.d.ts.map +1 -1
  57. package/components/Details/TabsContent/Tools/Tools.d.ts +2 -0
  58. package/components/Details/TabsContent/Tools/Tools.d.ts.map +1 -1
  59. package/components/Details/hooks/useDetailsConfirmation.d.ts +29 -0
  60. package/components/Details/hooks/useDetailsConfirmation.d.ts.map +1 -0
  61. package/components/Details/hooks/useDetailsContentFile.d.ts +19 -0
  62. package/components/Details/hooks/useDetailsContentFile.d.ts.map +1 -0
  63. package/components/Details/hooks/useDetailsPublish.d.ts +22 -0
  64. package/components/Details/hooks/useDetailsPublish.d.ts.map +1 -0
  65. package/components/Favorites/FavoriteCard.d.ts +2 -0
  66. package/components/Favorites/FavoriteCard.d.ts.map +1 -1
  67. package/components/Favorites/Favorites.d.ts +2 -2
  68. package/components/Favorites/Favorites.d.ts.map +1 -1
  69. package/components/Filter/Filter.d.ts +2 -0
  70. package/components/Filter/Filter.d.ts.map +1 -1
  71. package/components/ListView/ListView.d.ts +1 -1
  72. package/components/ListView/ListView.d.ts.map +1 -1
  73. package/components/ListView/Renders/EntityTypeCellRenderer.d.ts +2 -1
  74. package/components/ListView/Renders/EntityTypeCellRenderer.d.ts.map +1 -1
  75. package/components/ListView/columns.d.ts +4 -7
  76. package/components/ListView/columns.d.ts.map +1 -1
  77. package/components/PersonalEmptyState/PersonalEmptyState.d.ts +2 -2
  78. package/components/PersonalEmptyState/PersonalEmptyState.d.ts.map +1 -1
  79. package/components/ScrollToTopButton/ScrollToTopButton.d.ts +14 -0
  80. package/components/ScrollToTopButton/ScrollToTopButton.d.ts.map +1 -0
  81. package/components/SigninInterruptDialog/SigninInterruptDialog.d.ts +5 -0
  82. package/components/SigninInterruptDialog/SigninInterruptDialog.d.ts.map +1 -0
  83. package/components/SigninInterruptDialog/SigninInterruptRow/SigninInterruptRow.d.ts +18 -0
  84. package/components/SigninInterruptDialog/SigninInterruptRow/SigninInterruptRow.d.ts.map +1 -0
  85. package/components/Toolbar/Rows/TitleRow.d.ts +2 -1
  86. package/components/Toolbar/Rows/TitleRow.d.ts.map +1 -1
  87. package/constants/create-menu.d.ts +0 -2
  88. package/constants/create-menu.d.ts.map +1 -1
  89. package/entry-points/mapping.d.ts +5 -3
  90. package/entry-points/mapping.d.ts.map +1 -1
  91. package/hooks/useCatalogScrollToTop/useCatalogScrollToTop.d.ts +9 -0
  92. package/hooks/useCatalogScrollToTop/useCatalogScrollToTop.d.ts.map +1 -0
  93. package/index.css +3 -2
  94. package/index.d.ts +18 -4
  95. package/index.d.ts.map +1 -1
  96. package/index.js +4227 -3194
  97. package/{mapping-CA0Z7TOl.js → mapping-Bsy4fyg5.js} +35 -24
  98. package/mapping.js +1 -2
  99. package/models/application-credentials.d.ts +17 -0
  100. package/models/application-credentials.d.ts.map +1 -1
  101. package/models/card-props.d.ts +11 -0
  102. package/models/card-props.d.ts.map +1 -1
  103. package/models/card-row-data.d.ts +5 -0
  104. package/models/card-row-data.d.ts.map +1 -1
  105. package/models/catalog-item.d.ts +3 -1
  106. package/models/catalog-item.d.ts.map +1 -1
  107. package/models/catalog-props.d.ts +17 -3
  108. package/models/catalog-props.d.ts.map +1 -1
  109. package/models/catalog-styles.d.ts +13 -0
  110. package/models/catalog-styles.d.ts.map +1 -1
  111. package/models/deployment-selector-panel.d.ts +83 -0
  112. package/models/deployment-selector-panel.d.ts.map +1 -0
  113. package/models/details-header.d.ts +176 -0
  114. package/models/details-header.d.ts.map +1 -0
  115. package/models/details-panel.d.ts +31 -0
  116. package/models/details-panel.d.ts.map +1 -0
  117. package/models/favorites.d.ts +2 -0
  118. package/models/favorites.d.ts.map +1 -1
  119. package/models/grid-context.d.ts +1 -1
  120. package/models/grid-context.d.ts.map +1 -1
  121. package/models/grid-props.d.ts +7 -0
  122. package/models/grid-props.d.ts.map +1 -1
  123. package/models/item-details-props.d.ts +26 -0
  124. package/models/item-details-props.d.ts.map +1 -1
  125. package/models/list-props.d.ts +23 -26
  126. package/models/list-props.d.ts.map +1 -1
  127. package/models/scroll-to-top.d.ts +23 -0
  128. package/models/scroll-to-top.d.ts.map +1 -0
  129. package/models/signin-interrupt-dialog.d.ts +97 -0
  130. package/models/signin-interrupt-dialog.d.ts.map +1 -0
  131. package/models/toolbar-props.d.ts +3 -1
  132. package/models/toolbar-props.d.ts.map +1 -1
  133. package/package.json +5 -5
  134. package/types/deployment-selector-layout.d.ts +8 -0
  135. package/types/deployment-selector-layout.d.ts.map +1 -0
  136. package/types/list-view-column.d.ts +7 -0
  137. package/types/list-view-column.d.ts.map +1 -0
  138. package/types/load-status.d.ts +10 -0
  139. package/types/load-status.d.ts.map +1 -0
  140. package/types/toolset-auth.d.ts +1 -1
  141. package/types/toolset-auth.d.ts.map +1 -1
  142. package/utils/catalog-filter.d.ts +16 -0
  143. package/utils/catalog-filter.d.ts.map +1 -1
  144. package/utils/catalog-tabs.d.ts +9 -1
  145. package/utils/catalog-tabs.d.ts.map +1 -1
  146. package/utils/create-menu.d.ts +5 -1
  147. package/utils/create-menu.d.ts.map +1 -1
  148. package/utils/details-header-actions.d.ts +37 -0
  149. package/utils/details-header-actions.d.ts.map +1 -0
  150. package/utils/details-panel.d.ts +33 -0
  151. package/utils/details-panel.d.ts.map +1 -0
  152. package/utils/favorites-row.d.ts +8 -0
  153. package/utils/favorites-row.d.ts.map +1 -0
  154. package/utils/list-selection.d.ts +10 -10
  155. package/utils/list-selection.d.ts.map +1 -1
  156. package/utils/scroll-window.d.ts +3 -14
  157. package/utils/scroll-window.d.ts.map +1 -1
  158. package/utils/toolset-credentials.d.ts +17 -6
  159. package/utils/toolset-credentials.d.ts.map +1 -1
  160. package/utils/use-list-remove-focus.d.ts +4 -0
  161. package/utils/use-list-remove-focus.d.ts.map +1 -0
  162. package/components/ListView/Renders/SelectionCellRenderer.d.ts +0 -6
  163. package/components/ListView/Renders/SelectionCellRenderer.d.ts.map +0 -1
  164. package/components/ListView/Renders/SelectionHeader.d.ts +0 -4
  165. package/components/ListView/Renders/SelectionHeader.d.ts.map +0 -1
  166. package/components/ListView/selection-context.d.ts +0 -24
  167. package/components/ListView/selection-context.d.ts.map +0 -1
  168. package/hooks/useIsVerticallyClamped/useIsVerticallyClamped.d.ts +0 -16
  169. package/hooks/useIsVerticallyClamped/useIsVerticallyClamped.d.ts.map +0 -1
@@ -0,0 +1,44 @@
1
+ import { CatalogEntityType } from '@epam/ai-dial-chat-shared';
2
+ import { FC, ReactNode } from 'react';
3
+ import { CatalogItem } from '../../models/catalog-item';
4
+ import { CatalogLoadStatus } from '../../types/load-status';
5
+ import { CatalogPickerListProps, CatalogPickerModalLabels } from '../CatalogPickerModal/CatalogPickerModal';
6
+ /** User-visible strings of `AddOnCatalogModal`; pass translated ones in a localised host. */
7
+ export interface AddOnCatalogModalLabels extends CatalogPickerModalLabels {
8
+ /** Accessible name of the select-all checkbox. Defaults to `'Select all'`. */
9
+ selectAll?: string;
10
+ /** Accessible name of a row's checkbox. Defaults to `` `Select ${name}` ``. */
11
+ selectRow?: (name: string) => string;
12
+ }
13
+ /** `ListView` props `AddOnCatalogModal` passes through: all but those it sets for multiple selection. */
14
+ export type AddOnCatalogListProps = Omit<CatalogPickerListProps, 'type' | 'selectionMode' | 'selectedItemIds' | 'onSelectionChange' | 'selectRowAriaLabel' | 'selectAllAriaLabel'>;
15
+ /** Props for `AddOnCatalogModal`. */
16
+ export interface AddOnCatalogModalProps {
17
+ /** Entity type of the rows, e.g. `CatalogEntityType.Toolset`. */
18
+ type: CatalogEntityType;
19
+ /** The items the user can pick from, already mapped to catalog items. */
20
+ items: CatalogItem[];
21
+ /** The edited list's ids; those among `items` open checked, the others stay on Add. */
22
+ attachedIds: string[];
23
+ /** User-visible strings. */
24
+ labels: AddOnCatalogModalLabels;
25
+ /** Where the items' data stands. */
26
+ status: CatalogLoadStatus;
27
+ /** Why the items failed to load, shown under the failure title. */
28
+ error?: string | null;
29
+ /** Called by the Retry button shown on a failure; without it there is no Retry. */
30
+ onRetry?: () => void;
31
+ /** Further `ListView` props, e.g. `columnVisibility` or `credentialsBadgeLoggedOutLabel`. */
32
+ listProps?: AddOnCatalogListProps;
33
+ /** Content at the footer's start for the current checked set, e.g. a note on what is checked. */
34
+ renderFooterStart?: (checkedIds: ReadonlySet<string>) => ReactNode;
35
+ /** Called on Add with the new full id list. */
36
+ onConfirm: (ids: string[]) => void;
37
+ /** Called when the user cancels or closes the dialog. */
38
+ onClose: () => void;
39
+ /** Typography class of the heading above the list, forwarded to `CatalogPickerModal`. Defaults to `'dial-body-semi-text'`. */
40
+ headingClassName?: string;
41
+ }
42
+ /** Add-on picker dialog: a catalog checklist that opens on the attached items and commits the checked set on Add. */
43
+ export declare const AddOnCatalogModal: FC<AddOnCatalogModalProps>;
44
+ //# sourceMappingURL=AddOnCatalogModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddOnCatalogModal.d.ts","sourceRoot":"","sources":["../../../src/components/AddOnCatalogModal/AddOnCatalogModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAkC,MAAM,OAAO,CAAC;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC9B,MAAM,0CAA0C,CAAC;AAElD,6FAA6F;AAC7F,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACvE,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CACtC;AAED,yGAAyG;AACzG,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,sBAAsB,EACpB,MAAM,GACN,eAAe,GACf,iBAAiB,GACjB,mBAAmB,GACnB,oBAAoB,GACpB,oBAAoB,CACvB,CAAC;AAEF,qCAAqC;AACrC,MAAM,WAAW,sBAAsB;IACrC,iEAAiE;IACjE,IAAI,EAAE,iBAAiB,CAAC;IACxB,yEAAyE;IACzE,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,uFAAuF;IACvF,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,4BAA4B;IAC5B,MAAM,EAAE,uBAAuB,CAAC;IAChC,oCAAoC;IACpC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,KAAK,SAAS,CAAC;IACnE,+CAA+C;IAC/C,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,yDAAyD;IACzD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,8HAA8H;IAC9H,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,qHAAqH;AACrH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAuDxD,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { DialItemType } from '@epam/ai-dial-ui-kit';
2
+ import { FC, ReactNode } from 'react';
3
+ import { CatalogItemCredentials } from '../../models/catalog-item-credentials';
4
+ /** User-visible strings of `AddOnListItem`; pass translated ones in a localised host. */
5
+ export interface AddOnListItemLabels {
6
+ /** Accessible name of the remove button. Defaults to `` `Remove ${name}` ``. */
7
+ remove?: string;
8
+ /** Accessible name of the location trail. Defaults to `'Location'`. */
9
+ location?: string;
10
+ /** Label and tooltip of the logged-out badge. Defaults to `CredentialsBadge`'s own. */
11
+ credentialsBadge?: string;
12
+ }
13
+ /** Color overrides for `AddOnListItem`, applied as CSS custom properties. */
14
+ export interface AddOnListItemColors {
15
+ /** Row background on hover. Defaults to `--bg-control-accent-alpha`. */
16
+ rowHoverBackground?: string;
17
+ /** Outline color of the focused row button. Defaults to `--stroke-accent-focus`. */
18
+ focusOutline?: string;
19
+ /** Color of the name. Defaults to `--text-primary`. */
20
+ title?: string;
21
+ /** Color of the version. Defaults to `--text-secondary`. */
22
+ version?: string;
23
+ /** Color of the line under the name. Defaults to `--text-secondary`. */
24
+ description?: string;
25
+ }
26
+ /** Props for `AddOnListItem`. */
27
+ export interface AddOnListItemProps {
28
+ /** The item's display name; also names the row's button. */
29
+ name: string;
30
+ /** Version shown after the name. */
31
+ version?: string;
32
+ /** Already-resolved icon URL; without it the avatar shows the name's initials. */
33
+ iconUrl?: string;
34
+ /** Draws a `FileIcon` of this type instead of the avatar. */
35
+ fileType?: DialItemType;
36
+ /** Avatar size in px. Defaults to `36`. */
37
+ iconSize?: number;
38
+ /** The item's location, outermost first; shown as plain breadcrumbs in place of the name. */
39
+ path?: string[];
40
+ /** The line under the name, e.g. a status or the item's source; describes the row's button. */
41
+ description?: ReactNode;
42
+ /** Content after the text, e.g. status badges. */
43
+ trailing?: ReactNode;
44
+ /** Credentials of the item; a signed-out state draws the logged-out badge over the icon. */
45
+ credentials?: CatalogItemCredentials;
46
+ /** User-visible strings. */
47
+ labels?: AddOnListItemLabels;
48
+ /** Color overrides, applied as CSS custom properties. */
49
+ colors?: AddOnListItemColors;
50
+ /** CSS class applied to the name. Defaults to `'dial-small-semi-text'`. */
51
+ titleClassName?: string;
52
+ /** CSS class applied to the version. Defaults to `'dial-tiny-text'`. */
53
+ versionClassName?: string;
54
+ /** CSS class applied to the line under the name. Defaults to `'dial-tiny-text'`. */
55
+ descriptionClassName?: string;
56
+ /** Disables the row's buttons. Defaults to `false`. */
57
+ isDisabled?: boolean;
58
+ /** Called when the row is activated. */
59
+ onOpen: () => void;
60
+ /** Called by the remove button; without it there is none. */
61
+ onRemove?: () => void;
62
+ }
63
+ /** One attached add-on in a list: a button showing its icon, name, version and a line, with a remove beside it. */
64
+ export declare const AddOnListItem: FC<AddOnListItemProps>;
65
+ //# sourceMappingURL=AddOnListItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddOnListItem.d.ts","sourceRoot":"","sources":["../../../src/components/AddOnListItem/AddOnListItem.tsx"],"names":[],"mappings":"AAKA,OAAO,EAIL,KAAK,YAAY,EAKlB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAIpF,yFAAyF;AACzF,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uFAAuF;IACvF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,6EAA6E;AAC7E,MAAM,WAAW,mBAAmB;IAClC,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oFAAoF;IACpF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,iCAAiC;AACjC,MAAM,WAAW,kBAAkB;IACjC,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6FAA6F;IAC7F,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,+FAA+F;IAC/F,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4FAA4F;IAC5F,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC,4BAA4B;IAC5B,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,yDAAyD;IACzD,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uDAAuD;IACvD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,wCAAwC;IACxC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAMD,mHAAmH;AACnH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA0JhD,CAAC"}
@@ -10,14 +10,11 @@ export interface AppIdentityProps {
10
10
  type: CatalogEntityType;
11
11
  /** Display name. Wraps onto at most two lines and shows the full name in a tooltip once it is clipped. */
12
12
  name: string;
13
- /** Version string shown flush-end of the name, aligned to the top of the name. The name takes up to 66% of the row and the version the remaining 34%; whichever side is shorter keeps only its own width and hands the rest to the other. */
13
+ /** Version string. In size 'sm' it is shown flush-end of the name, which takes up to 66% of the row while the version takes the remaining 34%, a shorter side handing the rest to the other; in size 'lg' it opens the meta row below the name, leaving the name the full row width. */
14
14
  version?: string;
15
- /**
16
- * Relative time string for the last-used row (size 'lg' only).
17
- * When undefined, the row is hidden even in size 'lg'.
18
- */
15
+ /** Relative time string shown on the meta row (size 'lg' only). */
19
16
  lastUsed?: string;
20
- /** Size of the block, which controls the logo size and whether the last-used row is shown. */
17
+ /** Size of the block, which controls the logo size and whether the meta row (version, last-used, trailing element) is shown below the name. */
21
18
  size: DeploymentSize;
22
19
  /** Search query used to highlight matching text in the name. */
23
20
  query?: string;
@@ -25,13 +22,13 @@ export interface AppIdentityProps {
25
22
  className?: string;
26
23
  /** Grouped color and typography overrides. */
27
24
  styles?: AppIdentityStyles;
28
- /** Element rendered at the end of the last-used row (size 'lg' only). */
25
+ /** Element rendered flush-end of the meta row (size 'lg' only). */
29
26
  lastUsedTrailing?: ReactNode;
30
27
  /** Additional CSS class applied to the icon wrapper div (e.g. for hover-scale animations). */
31
28
  iconClassName?: string;
32
29
  /** Element anchored to the icon's bottom-end corner, overlapping its edge (e.g. a status badge). */
33
30
  iconOverlay?: ReactNode;
34
31
  }
35
- /** Shared identity block: logo + type + name + version + optional last-used row. */
32
+ /** Shared identity block: logo + type + name + version, with an optional meta row in size 'lg'. */
36
33
  export declare const AppIdentity: FC<AppIdentityProps>;
37
34
  //# sourceMappingURL=AppIdentity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppIdentity.d.ts","sourceRoot":"","sources":["../../../src/components/AppIdentity/AppIdentity.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAIlB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,gFAAgF;AAChF,MAAM,WAAW,gBAAgB;IAC/B,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,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CAAC,EAAE,MAAM,CAAC;IAClB,+IAA+I;IAC/I,IAAI,EAAE,cAAc,CAAC;IACrB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,mEAAmE;IACnE,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,8FAA8F;IAC9F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oGAAoG;IACpG,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,mGAAmG;AACnG,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA0H5C,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { FC } from 'react';
2
- import { ApplicationCredential, ApplicationCredentialsProps } from '../../../models/application-credentials';
2
+ import { ApplicationCredential, ApplicationCredentialsProps, ApplicationCredentialsTypography } from '../../../models/application-credentials';
3
3
  interface ApplicationCredentialRowProps extends Pick<ApplicationCredentialsProps, 'texts' | 'onLogin' | 'onLogout'> {
4
4
  /** Host-resolved presentation of this service. */
5
5
  service: ApplicationCredential;
6
+ /** Typography class overrides forwarded from `ApplicationCredentials`. */
7
+ typography?: ApplicationCredentialsTypography;
6
8
  }
7
9
  /** Per-service consent and removal confirmation around the shared credentials row. */
8
10
  export declare const ApplicationCredentialRow: FC<ApplicationCredentialRowProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationCredentialRow.d.ts","sourceRoot":"","sources":["../../../../src/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.tsx"],"names":[],"mappings":"AASA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,yCAAyC,CAAC;AAUjD,UAAU,6BAA8B,SAAQ,IAAI,CAClD,2BAA2B,EAC3B,OAAO,GAAG,SAAS,GAAG,UAAU,CACjC;IACC,kDAAkD;IAClD,OAAO,EAAE,qBAAqB,CAAC;CAChC;AAED,sFAAsF;AACtF,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CAsItE,CAAC"}
1
+ {"version":3,"file":"ApplicationCredentialRow.d.ts","sourceRoot":"","sources":["../../../../src/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,gCAAgC,EACjC,MAAM,yCAAyC,CAAC;AAUjD,UAAU,6BAA8B,SAAQ,IAAI,CAClD,2BAA2B,EAC3B,OAAO,GAAG,SAAS,GAAG,UAAU,CACjC;IACC,kDAAkD;IAClD,OAAO,EAAE,qBAAqB,CAAC;IAC/B,0EAA0E;IAC1E,UAAU,CAAC,EAAE,gCAAgC,CAAC;CAC/C;AAED,sFAAsF;AACtF,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CAgJtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationCredentials.d.ts","sourceRoot":"","sources":["../../../src/components/ApplicationCredentials/ApplicationCredentials.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAGxF,0FAA0F;AAC1F,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAuDlE,CAAC"}
1
+ {"version":3,"file":"ApplicationCredentials.d.ts","sourceRoot":"","sources":["../../../src/components/ApplicationCredentials/ApplicationCredentials.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAGxF,0FAA0F;AAC1F,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA8ElE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/Card.tsx"],"names":[],"mappings":"AAgBA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAyCzD,6FAA6F;AAC7F,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAkP9B,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/Card.tsx"],"names":[],"mappings":"AAiBA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AA2BzD,6FAA6F;AAC7F,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAgR9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardGrid.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAiB,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK7D,yFAAyF;AACzF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAyHtC,CAAC"}
1
+ {"version":3,"file":"CardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardGrid.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAiB,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK7D,yFAAyF;AACzF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkItC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CardRowRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardRowRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAG9D,uDAAuD;AACvD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,sFAAsF;IACtF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA8DpD,CAAC"}
1
+ {"version":3,"file":"CardRowRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardRowRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAG9D,uDAAuD;AACvD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,sFAAsF;IACtF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAkEpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Catalog.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAgD/D,mHAAmH;AACnH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAmzBpC,CAAC"}
1
+ {"version":3,"file":"Catalog.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAoD/D,mHAAmH;AACnH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAu6BpC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { ButtonVariant, DropdownItem } from '@epam/ai-dial-ui-kit';
2
2
  import { FC, MouseEvent } from 'react';
3
3
  import { CatalogCreateSearch } from '../../models/catalog-props';
4
+ import { CreateMenuColors } from '../../models/catalog-styles';
4
5
  /** Props for the catalog Create button. */
5
6
  export interface CreateButtonProps {
6
7
  /** Button label. */
@@ -26,7 +27,13 @@ export interface CreateButtonProps {
26
27
  closeLabel?: string;
27
28
  /** Colour variant of the button. Defaults to `ButtonVariant.Primary`. */
28
29
  variant?: ButtonVariant;
30
+ /** Colors of the mobile menu sheet's divider and section-header rows. */
31
+ colors?: CreateMenuColors;
32
+ /** Typography class of a section header in the mobile menu sheet. Defaults to `'dial-caption-text'`. */
33
+ sectionHeaderClassName?: string;
34
+ /** Renders a round icon-only `+` button, named by `label`, whose menu follows the phone-menu breakpoint; the caller positions it. Defaults to `false`. */
35
+ isFloating?: boolean;
29
36
  }
30
- /** Renders a plain primary button, a split-chevron dropdown, a searchable dropdown, or — on mobile — a menu sheet. */
37
+ /** Renders a plain primary button, a split-chevron dropdown, a searchable dropdown, or — on mobile — a menu sheet; optionally as a round floating button. */
31
38
  export declare const CreateButton: FC<CreateButtonProps>;
32
39
  //# sourceMappingURL=CreateButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateButton.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/CreateButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,aAAa,EAIb,YAAY,EAKb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,UAAU,EAAoB,MAAM,OAAO,CAAC;AAKzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAItE,2CAA2C;AAC3C,MAAM,WAAW,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ACzD,iHAAiH;IACjH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,mFAAmF;IACnF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yEAAyE;IACzE,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,yEAAyE;IACzE,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,wGAAwG;IACxG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,0JAA0J;IAC1J,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,6JAA6J;AAC7J,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8I9C,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { DropdownItem } from '@epam/ai-dial-ui-kit';
2
2
  import { FC } from 'react';
3
3
  import { CatalogCreateSearch } from '../../models/catalog-props';
4
+ import { CreateMenuColors } from '../../models/catalog-styles';
4
5
  /** Props for the mobile Create menu sheet. */
5
6
  export interface CreateMenuSheetProps {
6
7
  /** Whether the sheet is shown. */
@@ -23,6 +24,10 @@ export interface CreateMenuSheetProps {
23
24
  backLabel: string;
24
25
  /** Accessible name of the header's close button. */
25
26
  closeLabel: string;
27
+ /** Colors of the divider and section-header rows. */
28
+ colors?: CreateMenuColors;
29
+ /** Typography class of a section-header row. Defaults to `'dial-caption-text'`. */
30
+ sectionHeaderClassName?: string;
26
31
  }
27
32
  /**
28
33
  * The Create menu below the desktop breakpoint: a bottom sheet instead of a
@@ -1 +1 @@
1
- {"version":3,"file":"CreateMenuSheet.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/CreateMenuSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EA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C9B,KAAK,EAAE,MAAM,CAAC;IACd,yFAAyF;IACzF,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,kHAAkH;IAClH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,2DAA2D;IAC3D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,kDAAkD;IAClD,cAAc,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,mFAAmF;IACnF,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAmIpD,CAAC"}
@@ -0,0 +1,110 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { CatalogItem } from '../../models/catalog-item';
3
+ import { ListViewProps } from '../../models/list-props';
4
+ import { CatalogLoadStatus } from '../../types/load-status';
5
+ /** User-visible strings of `CatalogPickerModal`; pass translated ones in a localised host. */
6
+ export interface CatalogPickerModalLabels {
7
+ /** Dialog title, e.g. "Add toolset". */
8
+ title: string;
9
+ /** Heading above the list, e.g. "Toolsets catalog". */
10
+ catalog: string;
11
+ /** Search placeholder and accessible name. Defaults to `'Search'`. */
12
+ search?: string;
13
+ /** Accessible name of the loading spinner. Defaults to `'Loading'`. */
14
+ loading?: string;
15
+ /** Title shown when the items failed to load. Defaults to `'Failed to load'`. */
16
+ failedToLoad?: string;
17
+ /** Title shown when the catalog has no items at all. Defaults to `'Nothing here yet'`. */
18
+ empty?: string;
19
+ /** Title shown when the search or filter leaves no items. Defaults to `'No results found'`. */
20
+ noResults?: string;
21
+ /** Retry button label. Defaults to `'Retry'`. */
22
+ retry?: string;
23
+ /** Sort button label while no sort option matches. Defaults to `'Sort'`. */
24
+ sort?: string;
25
+ /** "Recently updated" sort option. Defaults to `'Recently Updated'`. */
26
+ sortUpdated?: string;
27
+ /** "Newest" sort option. Defaults to `'Newest'`. */
28
+ sortNewest?: string;
29
+ /** "Name A-Z" sort option. Defaults to `'Name A-Z'`. */
30
+ sortNameAZ?: string;
31
+ /** Cancel button label. Defaults to `'Cancel'`. */
32
+ cancel?: string;
33
+ /** Confirm button label. Defaults to `'Add'`. */
34
+ add?: string;
35
+ /** Accessible name of the dialog's close button. Defaults to `'Close dialog'`. */
36
+ closeDialog?: string;
37
+ /** Accessible name of the search's clear button. Defaults to `'Clear search'`. */
38
+ clearSearch?: string;
39
+ /** From filter trigger label. Defaults to `'From'`. */
40
+ from?: string;
41
+ /** From filter "My" option. Defaults to `'My'`. */
42
+ my?: string;
43
+ /** From filter topics heading. Defaults to `'Topics'`. */
44
+ topics?: string;
45
+ /** From filter Clear button. Defaults to `'Clear'`. */
46
+ clear?: string;
47
+ /** From filter Apply button. Defaults to `'Apply'`. */
48
+ apply?: string;
49
+ /** Accessible name and tooltip of the default list's "Scroll to top" button. Defaults to `'Scroll to top'`. */
50
+ scrollToTop?: string;
51
+ }
52
+ /**
53
+ * The default list's `ListView` props: everything but the rows and the query,
54
+ * which the picker supplies. `ariaLabel` defaults to `labels.catalog`.
55
+ */
56
+ export type CatalogPickerListProps = Omit<ListViewProps, 'items' | 'query'>;
57
+ /** Color overrides for `CatalogPickerModal`. */
58
+ export interface CatalogPickerModalColors {
59
+ /** Color of the rule above the footer drawn with `footerStart`. Defaults to `--stroke-tertiary`. */
60
+ footerBorder?: string;
61
+ }
62
+ /** Props for `CatalogPickerModal` shared by the default and the custom list. */
63
+ interface CatalogPickerModalBaseProps {
64
+ /** The items the user can pick from, already mapped to catalog items. */
65
+ items: CatalogItem[];
66
+ /** User-visible strings. */
67
+ labels: CatalogPickerModalLabels;
68
+ /** Where the items' data stands. */
69
+ status: CatalogLoadStatus;
70
+ /** Why the items failed to load, shown under the failure title. */
71
+ error?: string | null;
72
+ /** Called by the Retry button shown on a failure; without it there is no Retry. */
73
+ onRetry?: () => void;
74
+ /** Keeps the confirm button disabled on top of the items not being ready. Defaults to `false`. */
75
+ isConfirmDisabled?: boolean;
76
+ /** The choice's own options (a model's effort, say), at the footer's start. */
77
+ footerStart?: ReactNode;
78
+ /** Color overrides, applied as CSS custom properties. */
79
+ colors?: CatalogPickerModalColors;
80
+ /** Typography class of the heading above the list. Defaults to `'dial-body-semi-text'`. */
81
+ headingClassName?: string;
82
+ /** Called when the user confirms. */
83
+ onConfirm: () => void;
84
+ /** Called when the user cancels or closes the dialog. */
85
+ onClose: () => void;
86
+ }
87
+ /**
88
+ * Props for `CatalogPickerModal`: either `listProps`, for the default list (a
89
+ * `ListView` of the searched, filtered and sorted items), or `renderList`, for
90
+ * a list of the host's own.
91
+ */
92
+ export type CatalogPickerModalProps = CatalogPickerModalBaseProps & ({
93
+ /** The default list's `ListView` props, e.g. `type`, `selectedItemId` and `onItemClick`. */
94
+ listProps: CatalogPickerListProps;
95
+ renderList?: never;
96
+ } | {
97
+ listProps?: never;
98
+ /** Renders the list for the searched, filtered and sorted items, with the search query to highlight. */
99
+ renderList: (items: CatalogItem[], query: string) => ReactNode;
100
+ });
101
+ /**
102
+ * Shell of a catalog picker dialog (Add toolset, Change model): the header with
103
+ * sort, search and the From filter, and the loading, failure and empty states.
104
+ * The list is a `ListView` given `listProps`, or the host's own from
105
+ * `renderList`. Mount it only while open, so search, filter and sort start
106
+ * fresh each time it opens.
107
+ */
108
+ export declare const CatalogPickerModal: FC<CatalogPickerModalProps>;
109
+ export {};
110
+ //# sourceMappingURL=CatalogPickerModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CatalogPickerModal.d.ts","sourceRoot":"","sources":["../../../src/components/CatalogPickerModal/CatalogPickerModal.tsx"],"names":[],"mappings":"AAiBA,OAAO,EACL,KAAK,EAAE,EACP,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,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MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAgS1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClampedName.d.ts","sourceRoot":"","sources":["../../../src/components/ClampedName/ClampedName.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,+BAA+B;AAC/B,MAAM,WAAW,gBAAgB;IAC/B,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,4GAA4G;AAC5G,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA2B5C,CAAC"}
1
+ {"version":3,"file":"ClampedName.d.ts","sourceRoot":"","sources":["../../../src/components/ClampedName/ClampedName.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,+BAA+B;AAC/B,MAAM,WAAW,gBAAgB;IAC/B,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,4GAA4G;AAC5G,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA8B5C,CAAC"}
@@ -16,6 +16,8 @@ export interface DeploymentSelectorFieldLabels {
16
16
  emptyLabel: string;
17
17
  errorLabel: string;
18
18
  browseLabel?: string;
19
+ /** Accessible name of the default dropdown panel. Defaults to `'Select model'`. */
20
+ panelAriaLabel?: string;
19
21
  }
20
22
  export interface DeploymentSelectorFieldProps {
21
23
  selectedId: string | null;
@@ -31,7 +33,7 @@ export interface DeploymentSelectorFieldProps {
31
33
  isDisabled?: boolean;
32
34
  isInvalid?: boolean;
33
35
  labelledById?: string;
34
- /** Accessible popup role. Use `dialog` for a host-rendered sheet. Defaults to `listbox`. */
36
+ /** Trigger `aria-haspopup` for a `renderOverlay` sheet; the default dropdown derives `dialog` from its overlay role. Defaults to `listbox`. */
35
37
  ariaHasPopup?: AriaAttributes['aria-haspopup'];
36
38
  className?: string;
37
39
  panelClassName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DeploymentSelectorField.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentSelectorField/DeploymentSelectorField.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,EAAE,EAEP,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAEf,iGAAiG;AACjG,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,6BAA6B;IAC5C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,4BAA4B;IAC3C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,+BAA+B,EAAE,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,6BAA6B,CAAC;IACtC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,6BAA6B,EAAE,CAAC;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4FAA4F;IAC5F,YAAY,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,iFAAiF;IACjF,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;IACjD,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,oEAAoE;IACpE,aAAa,CAAC,EAAE,CACd,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,IAAI,KAChB,SAAS,CAAC;CAChB;AAED,wEAAwE;AACxE,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAkKpE,CAAC"}
1
+ {"version":3,"file":"DeploymentSelectorField.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentSelectorField/DeploymentSelectorField.tsx"],"names":[],"mappings":"AAaA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,EAAE,EAEP,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAEf,iGAAiG;AACjG,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC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AI,CAAC;IACvC,oEAAoE;IACpE,aAAa,CAAC,EAAE,CACd,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,MAAM,IAAI,KAChB,SAAS,CAAC;CAChB;AAED,wEAAwE;AACxE,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAqLpE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { DeploymentSelectorPanelProps } from '../../models/deployment-selector-panel';
3
+ /** Searchable model/agent picker panel with a selected row, favourites with star toggles, and a catalog footer button. */
4
+ export declare const DeploymentSelectorPanel: FC<DeploymentSelectorPanelProps>;
5
+ //# sourceMappingURL=DeploymentSelectorPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeploymentSelectorPanel.d.ts","sourceRoot":"","sources":["../../../src/components/DeploymentSelectorPanel/DeploymentSelectorPanel.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAML,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AA2B3F,0HAA0H;AAC1H,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA0cpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ApiDetails.d.ts","sourceRoot":"","sources":["../../../src/components/Details/ApiDetails.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAgC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EACV,qBAAqB,EAEtB,MAAM,gCAAgC,CAAC;AAkBxC,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,iCAAiC;IACjC,GAAG,EAAE,qBAAqB,CAAC;IAC3B,yDAAyD;IACzD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,yFAAyF;IACzF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,6FAA6F;IAC7F,mBAAmB,CAAC,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AAC;IACvB,iEAAiE;IACjE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iEAAiE;IACjE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2GAA2G;IAC3G,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qEAAqE;IACrE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8LAA8L;IAC9L,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AA0FD,sJAAsJ;AACtJ,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA0L1C,CAAC"}
@@ -16,7 +16,7 @@ interface CredentialsIdentityIconProps {
16
16
  isActive?: boolean;
17
17
  /** Surface the chip is drawn on. Defaults to {@link CredentialsIconSurface.Sunken}. */
18
18
  surface?: CredentialsIconSurface;
19
- /** Screen-reader-only text describing the state the checkmark conveys visually. Omit where surrounding copy already states it. */
19
+ /** Screen-reader-only status describing the state the checkmark conveys visually. Pass it in every state, so the region stays mounted; omit it where surrounding copy already states it. */
20
20
  statusLabel?: string;
21
21
  }
22
22
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CredentialsIdentityIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtC;;;;GAIG;AACH,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAOD,iDAAiD;AACjD,UAAU,4BAA4B;IACpC,yEAAyE;IACzE,IAAI,EAAE,SAAS,CAAC;IAChB,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uFAAuF;IACvF,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,kIAAkI;IAClI,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA4BpE,CAAC"}
1
+ {"version":3,"file":"CredentialsIdentityIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtC;;;;GAIG;AACH,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAOD,iDAAiD;AACjD,UAAU,4BAA4B;IACpC,yEAAyE;IACzE,IAAI,EAAE,SAAS,CAAC;IAChB,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uFAAuF;IACvF,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,4LAA4L;IAC5L,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAiCpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CredentialsInfoCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsInfoCard/CredentialsInfoCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtC,6CAA6C;AAC7C,UAAU,wBAAwB;IAChC,oBAAoB;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,mMAAmM;AACnM,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA+C5D,CAAC"}
1
+ {"version":3,"file":"CredentialsInfoCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsInfoCard/CredentialsInfoCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtC,6CAA6C;AAC7C,UAAU,wBAAwB;IAChC,oBAAoB;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,mMAAmM;AACnM,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA6C5D,CAAC"}
@@ -22,7 +22,7 @@ export interface CredentialsManagementPanelProps {
22
22
  * applied as CSS custom properties on the `DetailsPanel` root and cascade in.
23
23
  */
24
24
  detailsStyles?: ItemDetailsStyles;
25
- /** CSS class applied to the "Delete" action on a configured API key. Defaults to `'text-error'`. */
25
+ /** CSS class merged onto the "Delete" action on a configured API key; its color comes from `detailsStyles.colors.credentialsDeleteActionText`. */
26
26
  deleteActionClassName?: string;
27
27
  }
28
28
  /** Admin sub-screen listing an item's personal and organization-wide credentials slots, each independently manageable. Reached via the details header's "Manage credentials"/"Manage API keys" action. */
@@ -1 +1 @@
1
- {"version":3,"file":"CredentialsManagementPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAGjB,MAAM,gCAAgC,CAAC;AAIxC,oDAAoD;AACpD,MAAM,WAAW,+BAA+B;IAC9C,oEAAoE;IACpE,IAAI,EAAE,WAAW,CAAC;IAClB,gMAAgM;IAChM,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,+IAA+I;IAC/I,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACpD,6IAA6I;IAC7I,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC1D,sBAAsB;IACtB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,oGAAoG;IACpG,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AASD,0MAA0M;AAC1M,eAAO,MAAM,0BAA0B,EAAE,EAAE,CACzC,+BAA+B,CAyIhC,CAAC"}
1
+ {"version":3,"file":"CredentialsManagementPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAGjB,MAAM,gCAAgC,CAAC;AAIxC,oDAAoD;AACpD,MAAM,WAAW,+BAA+B;IAC9C,oEAAoE;IACpE,IAAI,EAAE,WAAW,CAAC;IAClB,gMAAgM;IAChM,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,+IAA+I;IAC/I,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACpD,6IAA6I;IAC7I,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC1D,sBAAsB;IACtB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,kJAAkJ;IAClJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AASD,0MAA0M;AAC1M,eAAO,MAAM,0BAA0B,EAAE,EAAE,CACzC,+BAA+B,CA6IhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CredentialsRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsRow/CredentialsRow.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAC1B,MAAM,gCAAgC,CAAC;AAKxC,wCAAwC;AACxC,UAAU,mBAAmB;IAC3B,g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AAED,yEAAyE;AACzE,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA4OlD,CAAC"}
1
+ {"version":3,"file":"CredentialsRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsRow/CredentialsRow.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAC1B,MAAM,gCAAgC,CAAC;AAKxC,wCAAwC;AACxC,UAAU,mBAAmB;IAC3B,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qDAAqD;IACrD,IAAI,EAAE,SAAS,CAAC;IAChB,6CAA6C;IAC7C,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACrC;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB,qDAAqD;IACrD,kBAAkB,EAAE,yBAAyB,CAAC;IAC9C,uGAAuG;IACvG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6IAA6I;IAC7I,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iMAAiM;IACjM,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,GAAG,IAAI,GAAG,OAAO,CAAC;IACxE,0IAA0I;IAC1I,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,wIAAwI;IACxI,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,sBAAsB;IACtB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,0CAA0C;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,gDAAgD;IAChD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,iEAAiE;IACjE,cAAc,EAAE,MAAM,CAAC;IACvB,4DAA4D;IAC5D,qBAAqB,EAAE,MAAM,CAAC;IAC9B,kEAAkE;IAClE,2BAA2B,EAAE,MAAM,CAAC;IACpC,wEAAwE;IACxE,qBAAqB,EAAE,MAAM,CAAC;IAC9B,yFAAyF;IACzF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qEAAqE;IACrE,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,SAAS,CAAC;IACtD,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,yEAAyE;AACzE,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAsPlD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DetailsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Details/DetailsPanel.tsx"],"names":[],"mappings":"AAwBA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAgIzE,4EAA4E;AAC5E,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAwtC9C,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,14 +1,14 @@
1
1
  import { FC } from 'react';
2
2
  import { CatalogItem } from '../../../../models/catalog-item';
3
- import { ItemDetailsColors, ItemDetailsTexts } from '../../../../models/item-details-props';
3
+ import { ItemDetailsColors, ItemDetailsTexts, ItemDetailsTypography } from '../../../../models/item-details-props';
4
4
  import { CredentialsLevel, CredentialStatus } from '../../../../types/toolset-auth';
5
5
  /** Props for {@link CredentialsApiKeyOverlay}. */
6
6
  export interface CredentialsApiKeyOverlayProps {
7
7
  /** Item the popover manages the API key for. */
8
8
  item: CatalogItem;
9
- /** Credentials slot this popover manages. Always `User` — this is the personal, non-admin API-key popover. */
9
+ /** Credentials slot this popover manages: `User` for a public toolset, `Global` (the owner's own key) for a private one. */
10
10
  level: CredentialsLevel;
11
- /** Current sign-in status of the personal API key. */
11
+ /** Current sign-in status of the API key at `level`. */
12
12
  status: CredentialStatus | undefined;
13
13
  /** Already-formatted relative time since the key was added (e.g. `'3 weeks ago'`), shown as support text once signed in. */
14
14
  apiKeyAddedWhen?: string;
@@ -32,7 +32,9 @@ export interface CredentialsApiKeyOverlayProps {
32
32
  * panel, so it sets the vars it reads on its own root.
33
33
  */
34
34
  colors?: ItemDetailsColors;
35
- /** CSS class applied to the "Delete" action. Defaults to `'text-error'`. */
35
+ /** Typography class overrides; reads `credentialsOverlayTitleClassName`, `credentialsHintClassName` and `credentialsErrorClassName`. */
36
+ typography?: ItemDetailsTypography;
37
+ /** CSS class merged onto the "Delete" action; its color comes from `colors.credentialsDeleteActionText`. */
36
38
  deleteActionClassName?: string;
37
39
  }
38
40
  /** Popover content for the header's "API key"/"Change API key" trigger: add a personal key, or confirm and remove the one already on file. */