@epam/ai-dial-catalog 1.3.0-dev.34 → 1.3.0-dev.342
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/AddOnCatalogModal/AddOnCatalogModal.d.ts +44 -0
- package/components/AddOnCatalogModal/AddOnCatalogModal.d.ts.map +1 -0
- package/components/AddOnListItem/AddOnListItem.d.ts +65 -0
- package/components/AddOnListItem/AddOnListItem.d.ts.map +1 -0
- package/components/AppIdentity/AppIdentity.d.ts +5 -8
- package/components/AppIdentity/AppIdentity.d.ts.map +1 -1
- package/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.d.ts +3 -1
- package/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.d.ts.map +1 -1
- package/components/ApplicationCredentials/ApplicationCredentials.d.ts.map +1 -1
- package/components/CardGrid/Card.d.ts.map +1 -1
- package/components/CardGrid/CardGrid.d.ts.map +1 -1
- package/components/CardGrid/CardRowRenderer.d.ts.map +1 -1
- package/components/Catalog/Catalog.d.ts.map +1 -1
- package/components/Catalog/CreateButton.d.ts +8 -1
- package/components/Catalog/CreateButton.d.ts.map +1 -1
- package/components/Catalog/CreateMenuSheet.d.ts +5 -0
- package/components/Catalog/CreateMenuSheet.d.ts.map +1 -1
- package/components/CatalogPickerModal/CatalogPickerModal.d.ts +110 -0
- package/components/CatalogPickerModal/CatalogPickerModal.d.ts.map +1 -0
- package/components/ClampedName/ClampedName.d.ts.map +1 -1
- package/components/DeploymentSelectorField/DeploymentSelectorField.d.ts +3 -1
- package/components/DeploymentSelectorField/DeploymentSelectorField.d.ts.map +1 -1
- package/components/DeploymentSelectorPanel/DeploymentSelectorPanel.d.ts +5 -0
- package/components/DeploymentSelectorPanel/DeploymentSelectorPanel.d.ts.map +1 -0
- package/components/Details/ApiDetails.d.ts.map +1 -1
- package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts +1 -1
- package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts.map +1 -1
- package/components/Details/Credentials/CredentialsInfoCard/CredentialsInfoCard.d.ts.map +1 -1
- package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts +1 -1
- package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts.map +1 -1
- package/components/Details/Credentials/CredentialsRow/CredentialsRow.d.ts.map +1 -1
- package/components/Details/DetailsPanel.d.ts.map +1 -1
- package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts +6 -4
- package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts.map +1 -1
- package/components/Details/Header/Header.d.ts +4 -3
- package/components/Details/Header/Header.d.ts.map +1 -1
- package/components/Details/Header/ShareButton/ShareButton.d.ts.map +1 -1
- package/components/Details/TabsContent/Content.d.ts.map +1 -1
- package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts +10 -0
- package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts.map +1 -1
- package/components/Details/TabsContent/Limits/LimitRow.d.ts.map +1 -1
- package/components/Details/TabsContent/Tools/Tools.d.ts +2 -0
- package/components/Details/TabsContent/Tools/Tools.d.ts.map +1 -1
- package/components/Favorites/FavoriteCard.d.ts +2 -0
- package/components/Favorites/FavoriteCard.d.ts.map +1 -1
- package/components/Favorites/Favorites.d.ts +2 -2
- package/components/Favorites/Favorites.d.ts.map +1 -1
- package/components/Filter/Filter.d.ts +2 -0
- package/components/Filter/Filter.d.ts.map +1 -1
- package/components/ListView/ListView.d.ts +1 -1
- package/components/ListView/ListView.d.ts.map +1 -1
- package/components/ListView/Renders/EntityTypeCellRenderer.d.ts +2 -1
- package/components/ListView/Renders/EntityTypeCellRenderer.d.ts.map +1 -1
- package/components/ListView/columns.d.ts +3 -5
- package/components/ListView/columns.d.ts.map +1 -1
- package/components/PersonalEmptyState/PersonalEmptyState.d.ts +2 -2
- package/components/PersonalEmptyState/PersonalEmptyState.d.ts.map +1 -1
- package/components/ScrollToTopButton/ScrollToTopButton.d.ts +14 -0
- package/components/ScrollToTopButton/ScrollToTopButton.d.ts.map +1 -0
- package/components/SigninInterruptDialog/SigninInterruptDialog.d.ts +5 -0
- package/components/SigninInterruptDialog/SigninInterruptDialog.d.ts.map +1 -0
- package/components/SigninInterruptDialog/SigninInterruptRow/SigninInterruptRow.d.ts +18 -0
- package/components/SigninInterruptDialog/SigninInterruptRow/SigninInterruptRow.d.ts.map +1 -0
- package/components/Toolbar/Rows/TitleRow.d.ts +2 -1
- package/components/Toolbar/Rows/TitleRow.d.ts.map +1 -1
- package/constants/create-menu.d.ts +0 -2
- package/constants/create-menu.d.ts.map +1 -1
- package/entry-points/mapping.d.ts +5 -3
- package/entry-points/mapping.d.ts.map +1 -1
- package/hooks/useCatalogScrollToTop/useCatalogScrollToTop.d.ts +9 -0
- package/hooks/useCatalogScrollToTop/useCatalogScrollToTop.d.ts.map +1 -0
- package/hooks/useIsVerticallyClamped/useIsVerticallyClamped.d.ts +1 -1
- package/hooks/useIsVerticallyClamped/useIsVerticallyClamped.d.ts.map +1 -1
- package/index.css +3 -2
- package/index.d.ts +16 -3
- package/index.d.ts.map +1 -1
- package/index.js +3504 -2679
- package/{mapping-CA0Z7TOl.js → mapping-Bsy4fyg5.js} +35 -24
- package/mapping.js +1 -2
- package/models/application-credentials.d.ts +17 -0
- package/models/application-credentials.d.ts.map +1 -1
- package/models/card-props.d.ts +11 -0
- package/models/card-props.d.ts.map +1 -1
- package/models/card-row-data.d.ts +5 -0
- package/models/card-row-data.d.ts.map +1 -1
- package/models/catalog-item.d.ts +3 -1
- package/models/catalog-item.d.ts.map +1 -1
- package/models/catalog-props.d.ts +17 -3
- package/models/catalog-props.d.ts.map +1 -1
- package/models/catalog-styles.d.ts +13 -0
- package/models/catalog-styles.d.ts.map +1 -1
- package/models/deployment-selector-panel.d.ts +83 -0
- package/models/deployment-selector-panel.d.ts.map +1 -0
- package/models/favorites.d.ts +2 -0
- package/models/favorites.d.ts.map +1 -1
- package/models/grid-context.d.ts +1 -1
- package/models/grid-context.d.ts.map +1 -1
- package/models/grid-props.d.ts +7 -0
- package/models/grid-props.d.ts.map +1 -1
- package/models/item-details-props.d.ts +26 -0
- package/models/item-details-props.d.ts.map +1 -1
- package/models/list-props.d.ts +23 -26
- package/models/list-props.d.ts.map +1 -1
- package/models/scroll-to-top.d.ts +23 -0
- package/models/scroll-to-top.d.ts.map +1 -0
- package/models/signin-interrupt-dialog.d.ts +97 -0
- package/models/signin-interrupt-dialog.d.ts.map +1 -0
- package/models/toolbar-props.d.ts +3 -1
- package/models/toolbar-props.d.ts.map +1 -1
- package/package.json +5 -5
- package/types/deployment-selector-layout.d.ts +8 -0
- package/types/deployment-selector-layout.d.ts.map +1 -0
- package/types/load-status.d.ts +10 -0
- package/types/load-status.d.ts.map +1 -0
- package/types/toolset-auth.d.ts +1 -1
- package/types/toolset-auth.d.ts.map +1 -1
- package/utils/catalog-filter.d.ts +16 -0
- package/utils/catalog-filter.d.ts.map +1 -1
- package/utils/catalog-tabs.d.ts +9 -1
- package/utils/catalog-tabs.d.ts.map +1 -1
- package/utils/create-menu.d.ts +5 -1
- package/utils/create-menu.d.ts.map +1 -1
- package/utils/favorites-row.d.ts +8 -0
- package/utils/favorites-row.d.ts.map +1 -0
- package/utils/list-selection.d.ts +10 -10
- package/utils/list-selection.d.ts.map +1 -1
- package/utils/scroll-window.d.ts +3 -14
- package/utils/scroll-window.d.ts.map +1 -1
- package/utils/toolset-credentials.d.ts +17 -6
- package/utils/toolset-credentials.d.ts.map +1 -1
- package/utils/use-list-remove-focus.d.ts +4 -0
- package/utils/use-list-remove-focus.d.ts.map +1 -0
- package/components/ListView/Renders/SelectionCellRenderer.d.ts +0 -6
- package/components/ListView/Renders/SelectionCellRenderer.d.ts.map +0 -1
- package/components/ListView/Renders/SelectionHeader.d.ts +0 -4
- package/components/ListView/Renders/SelectionHeader.d.ts.map +0 -1
- package/components/ListView/selection-context.d.ts +0 -24
- package/components/ListView/selection-context.d.ts.map +0 -1
package/utils/scroll-window.d.ts
CHANGED
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
1
|
/** Returns the nearest scrollable ancestor, falling back to `<html>`. */
|
|
3
2
|
export declare const getScrollParent: (el: Element | null) => Element;
|
|
4
|
-
/** Row range `useRowWindow` currently wants rendered. */
|
|
5
|
-
export interface RowWindow {
|
|
6
|
-
/** Attach to the element that spans all rows, spacers included. */
|
|
7
|
-
containerRef: RefObject<HTMLDivElement | null>;
|
|
8
|
-
/** Index of the first row to render (inclusive). */
|
|
9
|
-
startRow: number;
|
|
10
|
-
/** Index of one past the last row to render (exclusive). */
|
|
11
|
-
endRow: number;
|
|
12
|
-
}
|
|
13
3
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* than inside its own box.
|
|
4
|
+
* Scrolls `container` vertically just enough to bring `child` fully into
|
|
5
|
+
* view. Unlike `scrollIntoView`, no other scrollable ancestor moves.
|
|
17
6
|
*/
|
|
18
|
-
export declare const
|
|
7
|
+
export declare const scrollChildIntoContainerView: (container: HTMLElement, child: HTMLElement) => void;
|
|
19
8
|
//# sourceMappingURL=scroll-window.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-window.d.ts","sourceRoot":"","sources":["../../src/utils/scroll-window.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"scroll-window.d.ts","sourceRoot":"","sources":["../../src/utils/scroll-window.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,eAAO,MAAM,eAAe,GAAI,IAAI,OAAO,GAAG,IAAI,KAAG,OAYpD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GACvC,WAAW,WAAW,EACtB,OAAO,WAAW,KACjB,IAWF,CAAC"}
|
|
@@ -9,15 +9,26 @@ export declare const getCredentialsUiState: (credentials: CatalogItemCredentials
|
|
|
9
9
|
/** Returns `CredentialsBadgeState.LoggedOut` when signed out at every applicable level, or `undefined` when no authentication is required or signed in at any level. */
|
|
10
10
|
export declare const getCredentialsBadgeState: (credentials: CatalogItemCredentials) => CredentialsBadgeState | undefined;
|
|
11
11
|
/**
|
|
12
|
-
* Whether the publisher holds a credential for an authenticated
|
|
13
|
-
* may therefore offer to publish it alongside the toolset.
|
|
12
|
+
* Whether the publisher holds a global-level credential for an authenticated
|
|
13
|
+
* toolset and may therefore offer to publish it alongside the toolset.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* does not hold cannot be passed on.
|
|
15
|
+
* Only `globalStatus` qualifies: DIAL Core copies the source item's global
|
|
16
|
+
* credential to the published copy, so a user-level sign-in alone leaves
|
|
17
|
+
* nothing to pass on.
|
|
19
18
|
*/
|
|
20
19
|
export declare const canPublishCredentials: (credentials: CatalogItemCredentials | undefined) => boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Resolves which level the direct (non-admin) "Log in" and API-key actions
|
|
22
|
+
* apply to, per DIAL Core's public/private toolset convention: a public
|
|
23
|
+
* toolset is signed in to at `USER` level, a private one at `GLOBAL` level —
|
|
24
|
+
* the owner's own credential, which is also the one DIAL Core copies onto a
|
|
25
|
+
* copy published with shared credentials.
|
|
26
|
+
*
|
|
27
|
+
* A private toolset already signed in at `USER` level keeps resolving to
|
|
28
|
+
* `USER`, so a key added there before this rule can still be changed or
|
|
29
|
+
* deleted from the same action.
|
|
30
|
+
*/
|
|
31
|
+
export declare const getDirectCredentialsLevel: (credentials: CatalogItemCredentials) => CredentialsLevel;
|
|
21
32
|
/** Resolves which level a direct (non-accordion) "Log out" action applies to. */
|
|
22
33
|
export declare const getSignedInLevel: (credentials: CatalogItemCredentials) => CredentialsLevel;
|
|
23
34
|
/** Resolves which credentials banner, if any, the Details Panel should show below the header. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolset-credentials.d.ts","sourceRoot":"","sources":["../../src/utils/toolset-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AAK/B,uFAAuF;AACvF,eAAO,MAAM,eAAe,GAC1B,aAAa,sBAAsB,GAAG,SAAS,EAC/C,OAAO,gBAAgB,KACtB,OAKA,CAAC;AAEJ,2EAA2E;AAC3E,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,KAAG,OAAO,CAAC,IAAI,CACI,CAAC;AAEpD,8GAA8G;AAC9G,eAAO,MAAM,qBAAqB,GAChC,aAAa,sBAAsB,KAClC,kBAcF,CAAC;AAEF,wKAAwK;AACxK,eAAO,MAAM,wBAAwB,GACnC,aAAa,sBAAsB,KAClC,qBAAqB,GAAG,SAW1B,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"toolset-credentials.d.ts","sourceRoot":"","sources":["../../src/utils/toolset-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AAK/B,uFAAuF;AACvF,eAAO,MAAM,eAAe,GAC1B,aAAa,sBAAsB,GAAG,SAAS,EAC/C,OAAO,gBAAgB,KACtB,OAKA,CAAC;AAEJ,2EAA2E;AAC3E,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,KAAG,OAAO,CAAC,IAAI,CACI,CAAC;AAEpD,8GAA8G;AAC9G,eAAO,MAAM,qBAAqB,GAChC,aAAa,sBAAsB,KAClC,kBAcF,CAAC;AAEF,wKAAwK;AACxK,eAAO,MAAM,wBAAwB,GACnC,aAAa,sBAAsB,KAClC,qBAAqB,GAAG,SAW1B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,GAChC,aAAa,sBAAsB,GAAG,SAAS,KAC9C,OAQF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,GACpC,aAAa,sBAAsB,KAClC,gBAG0B,CAAC;AAE9B,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,GAC3B,aAAa,sBAAsB,KAClC,gBAG0B,CAAC;AAE9B,iGAAiG;AACjG,eAAO,MAAM,yBAAyB,GACpC,aAAa,sBAAsB,KAClC,sBAAsB,GAAG,SAkB3B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
/** Returns a ref for a list's container that, once `count` drops and focus is lost, focuses the list's first button. */
|
|
3
|
+
export declare const useListRemoveFocus: <T extends HTMLElement = HTMLElement>(count: number) => RefObject<T | null>;
|
|
4
|
+
//# sourceMappingURL=use-list-remove-focus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-list-remove-focus.d.ts","sourceRoot":"","sources":["../../src/utils/use-list-remove-focus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAE1D,wHAAwH;AACxH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,WAAW,GAAG,WAAW,EACpE,OAAO,MAAM,KACZ,SAAS,CAAC,CAAC,GAAG,IAAI,CAsBpB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ICellRendererParams } from 'ag-grid-community';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import { CatalogItem } from '../../../models/catalog-item';
|
|
4
|
-
/** ag-grid cell renderer for a row's checkbox in the multi-select column. */
|
|
5
|
-
export declare const SelectionCellRenderer: FC<ICellRendererParams<CatalogItem>>;
|
|
6
|
-
//# sourceMappingURL=SelectionCellRenderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/SelectionCellRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGhE,6EAA6E;AAC7E,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAgBtE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/SelectionHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,mFAAmF;AACnF,eAAO,MAAM,eAAe,EAAE,EAoB7B,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { CatalogItem } from '../../models/catalog-item';
|
|
2
|
-
/** Multi-select state shared by the `ListView` selection column's header and cells. */
|
|
3
|
-
export interface ListSelectionContextValue {
|
|
4
|
-
/** Ids of the selected items, in selection order. */
|
|
5
|
-
selectedIds: ReadonlySet<string>;
|
|
6
|
-
/** Whether every listed item is selected. */
|
|
7
|
-
isAllSelected: boolean;
|
|
8
|
-
/** Whether some, but not all, listed items are selected. */
|
|
9
|
-
isSomeSelected: boolean;
|
|
10
|
-
/** Whether the list has any items to select. */
|
|
11
|
-
hasItems: boolean;
|
|
12
|
-
/** Toggles one item's selection. */
|
|
13
|
-
toggle: (id: string) => void;
|
|
14
|
-
/** Selects every listed item, or clears them all when they are all selected. */
|
|
15
|
-
toggleAll: () => void;
|
|
16
|
-
/** Accessible name of a row's checkbox. */
|
|
17
|
-
getRowAriaLabel: (item: CatalogItem) => string;
|
|
18
|
-
/** Accessible name of the select-all checkbox. */
|
|
19
|
-
selectAllAriaLabel: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const ListSelectionContext: import('react').Context<ListSelectionContextValue | null>;
|
|
22
|
-
/** Reads the `ListView` multi-select state; only valid inside the selection column. */
|
|
23
|
-
export declare const useListSelection: () => ListSelectionContextValue;
|
|
24
|
-
//# sourceMappingURL=selection-context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selection-context.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/selection-context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,uFAAuF;AACvF,MAAM,WAAW,yBAAyB;IACxC,qDAAqD;IACrD,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,6CAA6C;IAC7C,aAAa,EAAE,OAAO,CAAC;IACvB,4DAA4D;IAC5D,cAAc,EAAE,OAAO,CAAC;IACxB,gDAAgD;IAChD,QAAQ,EAAE,OAAO,CAAC;IAClB,oCAAoC;IACpC,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,gFAAgF;IAChF,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,2CAA2C;IAC3C,eAAe,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,MAAM,CAAC;IAC/C,kDAAkD;IAClD,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAOD,eAAO,MAAM,oBAAoB,2DACsB,CAAC;AAExD,uFAAuF;AACvF,eAAO,MAAM,gBAAgB,QAAO,yBAQnC,CAAC"}
|