@epam/ai-dial-catalog 1.1.0-dev.18 → 1.1.0-dev.183
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/AppIdentity/AppIdentity.d.ts +7 -14
- package/components/AppIdentity/AppIdentity.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/CardTag/CardTag.d.ts +24 -0
- package/components/CardTag/CardTag.d.ts.map +1 -0
- package/components/Catalog/Catalog.d.ts +1 -5
- package/components/Catalog/Catalog.d.ts.map +1 -1
- package/components/Catalog/CreateButton.d.ts +2 -2
- package/components/Catalog/CreateButton.d.ts.map +1 -1
- package/components/CredentialsBadge/CredentialsBadge.d.ts +10 -1
- package/components/CredentialsBadge/CredentialsBadge.d.ts.map +1 -1
- package/components/Details/ApiDetails.d.ts +4 -2
- package/components/Details/ApiDetails.d.ts.map +1 -1
- package/components/Details/ConfirmationView/ConfirmationFooter.d.ts +22 -0
- package/components/Details/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
- package/components/Details/ConfirmationView/ConfirmationView.d.ts +19 -0
- package/components/Details/ConfirmationView/ConfirmationView.d.ts.map +1 -0
- package/components/Details/Credentials/CredentialsSection.d.ts +1 -1
- package/components/Details/Credentials/CredentialsSection.d.ts.map +1 -1
- package/components/Details/DetailsPanel.d.ts.map +1 -1
- package/components/Details/Header/Header.d.ts +20 -9
- package/components/Details/Header/Header.d.ts.map +1 -1
- package/components/Details/Header/ShareButton/ShareButton.d.ts +6 -0
- package/components/Details/Header/ShareButton/ShareButton.d.ts.map +1 -1
- package/components/Details/TabsContent/About.d.ts +2 -1
- package/components/Details/TabsContent/About.d.ts.map +1 -1
- package/components/Details/TabsContent/Content.d.ts +17 -0
- package/components/Details/TabsContent/Content.d.ts.map +1 -0
- package/components/Details/TabsContent/DataGrid/DataGrid.d.ts +1 -1
- package/components/Details/TabsContent/DataGrid/DataGrid.d.ts.map +1 -1
- package/components/Details/TabsContent/Limits.d.ts.map +1 -1
- package/components/Favorites/FavoriteCard.d.ts +6 -3
- package/components/Favorites/FavoriteCard.d.ts.map +1 -1
- package/components/Favorites/Favorites.d.ts.map +1 -1
- package/components/Filter/Filter.d.ts +34 -6
- package/components/Filter/Filter.d.ts.map +1 -1
- package/components/InfoCard/InfoCard.d.ts +15 -0
- package/components/InfoCard/InfoCard.d.ts.map +1 -0
- package/components/ListView/ListView.d.ts +1 -5
- package/components/ListView/ListView.d.ts.map +1 -1
- package/components/ListView/Renders/EntityTypeCellRenderer.d.ts +1 -0
- package/components/ListView/Renders/EntityTypeCellRenderer.d.ts.map +1 -1
- package/components/ListView/Renders/FolderCellRenderer.d.ts +1 -0
- package/components/ListView/Renders/FolderCellRenderer.d.ts.map +1 -1
- package/components/ListView/Renders/NameCellRenderer.d.ts +1 -0
- package/components/ListView/Renders/NameCellRenderer.d.ts.map +1 -1
- package/components/ListView/Renders/StarCellRenderer.d.ts +1 -0
- package/components/ListView/Renders/StarCellRenderer.d.ts.map +1 -1
- package/components/ListView/Renders/TagsCellRenderer.d.ts +1 -0
- package/components/ListView/Renders/TagsCellRenderer.d.ts.map +1 -1
- package/components/ListView/columns.d.ts +2 -1
- package/components/ListView/columns.d.ts.map +1 -1
- package/components/StarToggleButton/StarToggleButton.d.ts +2 -0
- package/components/StarToggleButton/StarToggleButton.d.ts.map +1 -1
- package/components/TableView/TableView.d.ts +19 -0
- package/components/TableView/TableView.d.ts.map +1 -1
- package/components/Toolbar/Rows/TitleRow.d.ts +3 -3
- package/components/Toolbar/Rows/TitleRow.d.ts.map +1 -1
- package/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/components/TopicTag/TopicTag.d.ts +12 -7
- package/components/TopicTag/TopicTag.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +20 -33
- package/index.d.ts.map +1 -1
- package/index.js +58331 -22478
- package/models/app-identity-styles.d.ts +28 -0
- package/models/app-identity-styles.d.ts.map +1 -0
- package/models/card-props.d.ts +13 -13
- package/models/card-props.d.ts.map +1 -1
- package/models/catalog-item.d.ts +3 -6
- package/models/catalog-item.d.ts.map +1 -1
- package/models/catalog-props.d.ts +71 -33
- package/models/catalog-props.d.ts.map +1 -1
- package/models/catalog-styles.d.ts +3 -40
- package/models/catalog-styles.d.ts.map +1 -1
- package/models/favorites.d.ts +13 -7
- package/models/favorites.d.ts.map +1 -1
- package/models/grid-props.d.ts +4 -0
- package/models/grid-props.d.ts.map +1 -1
- package/models/item-details-data.d.ts +7 -0
- package/models/item-details-data.d.ts.map +1 -1
- package/models/item-details-props.d.ts +209 -34
- package/models/item-details-props.d.ts.map +1 -1
- package/models/item-overview.d.ts +1 -7
- package/models/item-overview.d.ts.map +1 -1
- package/models/list-props.d.ts +22 -3
- package/models/list-props.d.ts.map +1 -1
- package/models/toolbar-props.d.ts +17 -21
- package/models/toolbar-props.d.ts.map +1 -1
- package/package.json +5 -6
- package/types/deployment-icon-size.d.ts +5 -0
- package/types/deployment-icon-size.d.ts.map +1 -0
- package/types/detail-tab.d.ts +4 -1
- package/types/detail-tab.d.ts.map +1 -1
- package/types/details-confirmation.d.ts +19 -0
- package/types/details-confirmation.d.ts.map +1 -0
- package/types/recipients-count.d.ts +12 -0
- package/types/recipients-count.d.ts.map +1 -0
- package/utils/catalog-filter.d.ts +1 -0
- package/utils/catalog-filter.d.ts.map +1 -1
- package/utils/catalog-sort.d.ts +1 -8
- package/utils/catalog-sort.d.ts.map +1 -1
- package/utils/catalog-tabs.d.ts +2 -2
- package/utils/catalog-tabs.d.ts.map +1 -1
- package/utils/parse-about-content.d.ts +2 -12
- package/utils/parse-about-content.d.ts.map +1 -1
- package/utils/styles.d.ts +1 -3
- package/utils/styles.d.ts.map +1 -1
- package/utils/toolset-credentials.d.ts +3 -18
- package/utils/toolset-credentials.d.ts.map +1 -1
- package/utils/use-fav-columns.d.ts +1 -4
- package/utils/use-fav-columns.d.ts.map +1 -1
- package/utils/use-scroll-virtualizer.d.ts +1 -9
- package/utils/use-scroll-virtualizer.d.ts.map +1 -1
- package/components/Details/Header/ConnectButton/ConnectButton.d.ts +0 -25
- package/components/Details/Header/ConnectButton/ConnectButton.d.ts.map +0 -1
- package/components/Details/Header/DeleteButton/DeleteButton.d.ts +0 -25
- package/components/Details/Header/DeleteButton/DeleteButton.d.ts.map +0 -1
- package/components/Details/Summary/Limits.d.ts +0 -18
- package/components/Details/Summary/Limits.d.ts.map +0 -1
- package/components/Details/Summary/Summary.d.ts +0 -12
- package/components/Details/Summary/Summary.d.ts.map +0 -1
- package/components/EntityHeader/EntityHeader.d.ts +0 -32
- package/components/EntityHeader/EntityHeader.d.ts.map +0 -1
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts +0 -16
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +0 -1
- package/components/FeaturedChip/FeaturedChip.d.ts +0 -11
- package/components/FeaturedChip/FeaturedChip.d.ts.map +0 -1
- package/components/FolderPath/FolderPath.d.ts +0 -25
- package/components/FolderPath/FolderPath.d.ts.map +0 -1
- package/components/ItemHeader/ItemHeader.d.ts +0 -14
- package/components/ItemHeader/ItemHeader.d.ts.map +0 -1
- package/components/PublishFoldersTree/PublishFoldersTree.d.ts +0 -72
- package/components/PublishFoldersTree/PublishFoldersTree.d.ts.map +0 -1
- package/components/PublishHistoryList/PublishHistoryList.d.ts +0 -44
- package/components/PublishHistoryList/PublishHistoryList.d.ts.map +0 -1
- package/components/PublishPanel/PublishFooter.d.ts +0 -37
- package/components/PublishPanel/PublishFooter.d.ts.map +0 -1
- package/components/PublishPanel/PublishPanel.d.ts +0 -109
- package/components/PublishPanel/PublishPanel.d.ts.map +0 -1
- package/components/PublishPanel/StandalonePublishPanel.d.ts +0 -90
- package/components/PublishPanel/StandalonePublishPanel.d.ts.map +0 -1
- package/components/SearchBar/SearchBar.d.ts +0 -29
- package/components/SearchBar/SearchBar.d.ts.map +0 -1
- package/constants/catalog-defaults.d.ts +0 -4
- package/constants/catalog-defaults.d.ts.map +0 -1
- package/constants/entity-colors.d.ts +0 -6
- package/constants/entity-colors.d.ts.map +0 -1
- package/models/entity-summary.d.ts +0 -23
- package/models/entity-summary.d.ts.map +0 -1
- package/models/publish.d.ts +0 -89
- package/models/publish.d.ts.map +0 -1
- package/models/sort.d.ts +0 -8
- package/models/sort.d.ts.map +0 -1
- package/types/entity-tag.d.ts +0 -9
- package/types/entity-tag.d.ts.map +0 -1
- package/types/entity-type.d.ts +0 -11
- package/types/entity-type.d.ts.map +0 -1
- package/utils/format-published-date.d.ts +0 -8
- package/utils/format-published-date.d.ts.map +0 -1
- package/utils/publish-folder-tree.d.ts +0 -45
- package/utils/publish-folder-tree.d.ts.map +0 -1
- package/utils/publish-state.d.ts +0 -9
- package/utils/publish-state.d.ts.map +0 -1
- package/utils/use-publish-flow.d.ts +0 -77
- package/utils/use-publish-flow.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipients-count.d.ts","sourceRoot":"","sources":["../../src/types/recipients-count.ts"],"names":[],"mappings":"AAAA,uHAAuH;AACvH,oBAAY,qBAAqB;IAC/B,8EAA8E;IAC9E,IAAI,SAAS;IACb,6BAA6B;IAC7B,OAAO,YAAY;IACnB,8CAA8C;IAC9C,QAAQ,aAAa;IACrB,mFAAmF;IACnF,OAAO,YAAY;CACpB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CatalogItem } from '../models/catalog-item';
|
|
2
|
+
/** Returns the filter label for the From dropdown: the default label when nothing (or everything) is selected, or a compact summary otherwise. */
|
|
2
3
|
export declare const getFromLabel: (checked: Set<string>, allIds: Set<string> | undefined, defaultLabel?: string) => string;
|
|
3
4
|
/** Returns items that have at least one topic in the selected set. No-ops when `topics` is empty. */
|
|
4
5
|
export declare const filterByTopics: (items: CatalogItem[], topics: Set<string>) => CatalogItem[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-filter.d.ts","sourceRoot":"","sources":["../../src/utils/catalog-filter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,eAAO,MAAM,YAAY,GACvB,SAAS,GAAG,CAAC,MAAM,CAAC,EACpB,QAAQ,GAAG,CAAC,MAAM,CAAC,GAAG,SAAS,EAC/B,qBAAqB,KACpB,MAUF,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,cAAc,GACzB,OAAO,WAAW,EAAE,EACpB,QAAQ,GAAG,CAAC,MAAM,CAAC,KAClB,WAAW,EAGb,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,aAAa,GAAI,OAAO,WAAW,EAAE,KAAG,WAAW,EACjB,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,OAAO,WAAW,EAAE,EACpB,OAAO,MAAM,KACZ,WAAW,EAeb,CAAC"}
|
|
1
|
+
{"version":3,"file":"catalog-filter.d.ts","sourceRoot":"","sources":["../../src/utils/catalog-filter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,kJAAkJ;AAClJ,eAAO,MAAM,YAAY,GACvB,SAAS,GAAG,CAAC,MAAM,CAAC,EACpB,QAAQ,GAAG,CAAC,MAAM,CAAC,GAAG,SAAS,EAC/B,qBAAqB,KACpB,MAUF,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,cAAc,GACzB,OAAO,WAAW,EAAE,EACpB,QAAQ,GAAG,CAAC,MAAM,CAAC,KAClB,WAAW,EAGb,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,aAAa,GAAI,OAAO,WAAW,EAAE,KAAG,WAAW,EACjB,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,OAAO,WAAW,EAAE,EACpB,OAAO,MAAM,KACZ,WAAW,EAeb,CAAC"}
|
package/utils/catalog-sort.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { CatalogItem } from '../models/catalog-item';
|
|
2
|
-
/**
|
|
3
|
-
* Returns a sorted copy of the items array.
|
|
4
|
-
* Featured items always appear first in every sort mode.
|
|
5
|
-
* Within each group the chosen key is applied:
|
|
6
|
-
* 'recently-updated': no further ordering (original/API order).
|
|
7
|
-
* 'newest': descending by updatedAt; items without a timestamp sort last.
|
|
8
|
-
* 'name-az': alphabetical by name.
|
|
9
|
-
*/
|
|
2
|
+
/** Returns a sorted copy of items; featured items always sort first, then by the given `sortKey`. */
|
|
10
3
|
export declare const sortCatalogItems: (items: CatalogItem[], sortKey: string) => CatalogItem[];
|
|
11
4
|
//# sourceMappingURL=catalog-sort.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-sort.d.ts","sourceRoot":"","sources":["../../src/utils/catalog-sort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D
|
|
1
|
+
{"version":3,"file":"catalog-sort.d.ts","sourceRoot":"","sources":["../../src/utils/catalog-sort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D,qGAAqG;AACrG,eAAO,MAAM,gBAAgB,GAC3B,OAAO,WAAW,EAAE,EACpB,SAAS,MAAM,KACd,WAAW,EA8Bb,CAAC"}
|
package/utils/catalog-tabs.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { CatalogEntityType } from '@epam/ai-dial-chat-shared';
|
|
1
2
|
import { TabModel } from '@epam/ai-dial-ui-kit';
|
|
2
3
|
import { CatalogItem } from '../models/catalog-item';
|
|
3
|
-
import { CatalogTitles } from '../models/catalog-props';
|
|
4
4
|
/** Derives entity-type tabs from items present in the catalog, sorted by canonical order. */
|
|
5
|
-
export declare const buildCatalogTabs: (items: CatalogItem[], tabLabels?:
|
|
5
|
+
export declare const buildCatalogTabs: (items: CatalogItem[], tabLabels?: Partial<Record<CatalogEntityType, string>>) => TabModel[];
|
|
6
6
|
//# sourceMappingURL=catalog-tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-tabs.d.ts","sourceRoot":"","sources":["../../src/utils/catalog-tabs.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"catalog-tabs.d.ts","sourceRoot":"","sources":["../../src/utils/catalog-tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAuB1D,6FAA6F;AAC7F,eAAO,MAAM,gBAAgB,GAC3B,OAAO,WAAW,EAAE,EACpB,YAAY,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC,KACrD,QAAQ,EAOV,CAAC"}
|
|
@@ -10,23 +10,13 @@ export interface AboutTextRun {
|
|
|
10
10
|
}
|
|
11
11
|
/** A single content run — either a list of bullets or a paragraph of text. */
|
|
12
12
|
export type AboutRun = AboutBulletRun | AboutTextRun;
|
|
13
|
-
/**
|
|
14
|
-
* A parsed section of about content.
|
|
15
|
-
* Sections with a `heading` start with a short non-bullet label line.
|
|
16
|
-
*/
|
|
13
|
+
/** A parsed section of an item's about-page content. */
|
|
17
14
|
export interface AboutBlock {
|
|
18
15
|
/** Optional section heading (e.g. "Capabilities", "Pricing"). */
|
|
19
16
|
heading?: string;
|
|
20
17
|
/** Ordered list of content runs inside this block. */
|
|
21
18
|
runs: AboutRun[];
|
|
22
19
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Parses a plain-text about description into structured blocks for rendering.
|
|
25
|
-
*
|
|
26
|
-
* Splits on blank lines. Within each chunk the first line becomes a section
|
|
27
|
-
* heading when it is ≤ 60 chars, does not start with `•`, and is followed by
|
|
28
|
-
* more lines. Content lines starting with `•` are grouped into bullet runs;
|
|
29
|
-
* other lines become text paragraph runs.
|
|
30
|
-
*/
|
|
20
|
+
/** Parses a plain-text about description into structured `AboutBlock[]` for rendering. */
|
|
31
21
|
export declare const parseAboutContent: (content: string) => AboutBlock[];
|
|
32
22
|
//# sourceMappingURL=parse-about-content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-about-content.d.ts","sourceRoot":"","sources":["../../src/utils/parse-about-content.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,4DAA4D;AAC5D,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,8EAA8E;AAC9E,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,YAAY,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"parse-about-content.d.ts","sourceRoot":"","sources":["../../src/utils/parse-about-content.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,4DAA4D;AAC5D,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,8EAA8E;AAC9E,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,YAAY,CAAC;AAErD,wDAAwD;AACxD,MAAM,WAAW,UAAU;IACzB,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,IAAI,EAAE,QAAQ,EAAE,CAAC;CAClB;AAED,0FAA0F;AAC1F,eAAO,MAAM,iBAAiB,GAAI,SAAS,MAAM,KAAG,UAAU,EAgCxD,CAAC"}
|
package/utils/styles.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { CatalogItem } from '../models/catalog-item';
|
|
3
2
|
import { CatalogStyles } from '../models/catalog-styles';
|
|
4
|
-
/**
|
|
5
|
-
export declare const getFeaturedEntityStyle: (item: CatalogItem) => CSSProperties | undefined;
|
|
3
|
+
/** Builds CSS custom properties for the `Catalog` component from `CatalogStyles`. */
|
|
6
4
|
export declare const getStyles: (catalogStyles?: CatalogStyles) => CSSProperties;
|
|
7
5
|
//# sourceMappingURL=styles.d.ts.map
|
package/utils/styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/utils/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/utils/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,qFAAqF;AACrF,eAAO,MAAM,SAAS,GAAI,gBAAgB,aAAa,KAAG,aAOzD,CAAC"}
|
|
@@ -1,24 +1,9 @@
|
|
|
1
1
|
import { CatalogItemCredentials } from '../models/catalog-item-credentials';
|
|
2
2
|
import { CredentialsBadgeState, CredentialsLevel, CredentialsUiState } from '../types/toolset-auth';
|
|
3
|
-
/**
|
|
4
|
-
* Resolves which credentials action/section the Details Panel should show,
|
|
5
|
-
* mirroring the legacy Marketplace `getToolsetAuthAction` decision:
|
|
6
|
-
* admin managing a public item always gets the two-level accordion; a
|
|
7
|
-
* non-admin viewing a public item that they are not personally signed into
|
|
8
|
-
* gets "Login with my creds"; otherwise it's a plain Log in / Log out.
|
|
9
|
-
*/
|
|
3
|
+
/** Resolves which credentials action/section the Details Panel should show for the given item credentials. */
|
|
10
4
|
export declare const getCredentialsUiState: (credentials: CatalogItemCredentials) => CredentialsUiState;
|
|
11
|
-
/**
|
|
12
|
-
* Resolves the card-grid credentials badge state: LOGGED OUT when signed out
|
|
13
|
-
* at every applicable level. Returns `undefined` (no badge) when the item
|
|
14
|
-
* requires no authentication, or when it is signed in at any level.
|
|
15
|
-
*/
|
|
5
|
+
/** Returns `CredentialsBadgeState.LoggedOut` when signed out at every applicable level, or `undefined` when no authentication is required or signed in at any level. */
|
|
16
6
|
export declare const getCredentialsBadgeState: (credentials: CatalogItemCredentials) => CredentialsBadgeState | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Resolves which level a direct (non-accordion) "Log out" action applies to:
|
|
19
|
-
* prefers `USER` when signed in there, else falls back to `GLOBAL`. Only
|
|
20
|
-
* meaningful when `getCredentialsUiState` returned `LogOut` (i.e. at least
|
|
21
|
-
* one level is signed in).
|
|
22
|
-
*/
|
|
7
|
+
/** Resolves which level a direct (non-accordion) "Log out" action applies to. */
|
|
23
8
|
export declare const getSignedInLevel: (credentials: CatalogItemCredentials) => CredentialsLevel;
|
|
24
9
|
//# sourceMappingURL=toolset-credentials.d.ts.map
|
|
@@ -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,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AAK/B
|
|
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,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AAK/B,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,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,GAC3B,aAAa,sBAAsB,KAClC,gBAG0B,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns the column count for the Favorites grid.
|
|
3
|
-
* Responsive: ≥1024 px → 4, ≥640 px → 2, else 1.
|
|
4
|
-
*/
|
|
1
|
+
/** Returns the column count for the Favorites grid: ≥1024 px → 4, ≥640 px → 2, else 1. */
|
|
5
2
|
export declare const useFavColumns: () => number;
|
|
6
3
|
//# sourceMappingURL=use-fav-columns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-fav-columns.d.ts","sourceRoot":"","sources":["../../src/utils/use-fav-columns.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"use-fav-columns.d.ts","sourceRoot":"","sources":["../../src/utils/use-fav-columns.ts"],"names":[],"mappings":"AAEA,0FAA0F;AAC1F,eAAO,MAAM,aAAa,QAAO,MAYhC,CAAC"}
|
|
@@ -14,14 +14,6 @@ export interface ScrollVirtualizerResult {
|
|
|
14
14
|
/** Total pixel height of the full (un-windowed) content area. */
|
|
15
15
|
totalHeight: number;
|
|
16
16
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Virtualizes a card grid whose scroll is driven by the nearest scrollable
|
|
19
|
-
* ancestor rather than an internal scroll container.
|
|
20
|
-
*
|
|
21
|
-
* Attach `containerRef` to a `position: relative` wrapper that has
|
|
22
|
-
* `height: totalHeight` so the page scroll height stays correct.
|
|
23
|
-
* Only rows between `startRow` (inclusive) and `endRow` (exclusive)
|
|
24
|
-
* need to be rendered.
|
|
25
|
-
*/
|
|
17
|
+
/** Virtualizes a card grid driven by the nearest scrollable ancestor; returns row window, column count, and total height. */
|
|
26
18
|
export declare const useScrollVirtualizer: (itemCount: number, overscan?: number) => ScrollVirtualizerResult;
|
|
27
19
|
//# sourceMappingURL=use-scroll-virtualizer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-scroll-virtualizer.d.ts","sourceRoot":"","sources":["../../src/utils/use-scroll-virtualizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAyBpE,8CAA8C;AAC9C,MAAM,WAAW,uBAAuB;IACtC,2DAA2D;IAC3D,YAAY,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC/C,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,WAAW,EAAE,MAAM,CAAC;CACrB;AAED
|
|
1
|
+
{"version":3,"file":"use-scroll-virtualizer.d.ts","sourceRoot":"","sources":["../../src/utils/use-scroll-virtualizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAyBpE,8CAA8C;AAC9C,MAAM,WAAW,uBAAuB;IACtC,2DAA2D;IAC3D,YAAY,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC/C,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,6HAA6H;AAC7H,eAAO,MAAM,oBAAoB,GAC/B,WAAW,MAAM,EACjB,iBAAY,KACX,uBAkEF,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { CatalogItem } from '../../../../models/catalog-item';
|
|
3
|
-
/** Props for {@link ConnectButton}. */
|
|
4
|
-
interface ConnectButtonProps {
|
|
5
|
-
/** The catalog item to connect. */
|
|
6
|
-
item: CatalogItem;
|
|
7
|
-
/**
|
|
8
|
-
* Renders the Connect popover content anchored to the button. When
|
|
9
|
-
* absent, the Connect button is never shown.
|
|
10
|
-
*/
|
|
11
|
-
connectOverlay?: (item: CatalogItem, onClose: () => void) => ReactNode;
|
|
12
|
-
/** Controls whether the button is shown for the item. When absent or `false`, nothing renders. */
|
|
13
|
-
isConnectVisible?: (item: CatalogItem) => boolean;
|
|
14
|
-
/** Connect button label. Defaults to `'Connect'`. */
|
|
15
|
-
label?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Connect action button for the details header. Renders nothing unless
|
|
19
|
-
* both `isConnectVisible(item)` returns `true` and `connectOverlay` is
|
|
20
|
-
* supplied — there is no non-overlay fallback action. Clicking the button
|
|
21
|
-
* opens `connectOverlay` in an anchored dropdown.
|
|
22
|
-
*/
|
|
23
|
-
export declare const ConnectButton: FC<ConnectButtonProps>;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=ConnectButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/ConnectButton/ConnectButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,uCAAuC;AACvC,UAAU,kBAAkB;IAC1B,mCAAmC;IACnC,IAAI,EAAE,WAAW,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;IACvE,kGAAkG;IAClG,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IAClD,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAuChD,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CatalogItem } from '../../../../models/catalog-item';
|
|
3
|
-
import { ItemDetailsTexts } from '../../../../models/item-details-props';
|
|
4
|
-
/** Props for {@link DeleteButton}. */
|
|
5
|
-
interface DeleteButtonProps {
|
|
6
|
-
/** The catalog item to delete. */
|
|
7
|
-
item: CatalogItem;
|
|
8
|
-
/**
|
|
9
|
-
* Called when the Delete button is clicked. May return a promise; the
|
|
10
|
-
* button shows a disabled state while pending.
|
|
11
|
-
*/
|
|
12
|
-
onDelete?: (item: CatalogItem) => Promise<void> | void;
|
|
13
|
-
/** Called after `onDelete` resolves successfully, e.g. to close the whole details panel. */
|
|
14
|
-
onDeleted?: () => void;
|
|
15
|
-
/** Text overrides for the button label. */
|
|
16
|
-
texts?: ItemDetailsTexts;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Delete action button for the details header. Renders nothing for items the
|
|
20
|
-
* current user doesn't own or that aren't deletable. Clicking it calls
|
|
21
|
-
* `onDelete` immediately, with no confirmation step.
|
|
22
|
-
*/
|
|
23
|
-
export declare const DeleteButton: FC<DeleteButtonProps>;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=DeleteButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/DeleteButton/DeleteButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAG9E,sCAAsC;AACtC,UAAU,iBAAiB;IACzB,kCAAkC;IAClC,IAAI,EAAE,WAAW,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACvD,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAYD;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8C9C,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CatalogItemSummary } from '../../../models/entity-summary';
|
|
3
|
-
/** Props for `Limits`. */
|
|
4
|
-
export interface LimitsProps {
|
|
5
|
-
/** Summary data to render. */
|
|
6
|
-
summary: CatalogItemSummary;
|
|
7
|
-
/** Label shown above the daily-limit progress bar. Default: `'Daily limit'`. */
|
|
8
|
-
dailyLimitLabel?: string;
|
|
9
|
-
/** CSS class applied to the tag chip text. Defaults to `'dial-tiny-text'`. */
|
|
10
|
-
tagClassName?: string;
|
|
11
|
-
/** CSS class applied to the progress bar label. Defaults to `'dial-caption-text'`. */
|
|
12
|
-
limitLabelClassName?: string;
|
|
13
|
-
/** CSS class applied to the reset cadence string. Defaults to `'dial-tiny-text'`. */
|
|
14
|
-
limitResetClassName?: string;
|
|
15
|
-
}
|
|
16
|
-
/** Renders the header summary block: entity tag, badge image, and daily-limit progress bar. */
|
|
17
|
-
export declare const Limits: FC<LimitsProps>;
|
|
18
|
-
//# sourceMappingURL=Limits.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Limits.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Summary/Limits.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAYzE,0BAA0B;AAC1B,MAAM,WAAW,WAAW;IAC1B,8BAA8B;IAC9B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,gFAAgF;IAChF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sFAAsF;IACtF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qFAAqF;IACrF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,+FAA+F;AAC/F,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CA4DlC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CatalogItem } from '../../../models/catalog-item';
|
|
3
|
-
import { ItemDetailsStyles, ItemDetailsTexts } from '../../../models/item-details-props';
|
|
4
|
-
interface SummaryProp {
|
|
5
|
-
item: CatalogItem;
|
|
6
|
-
texts?: ItemDetailsTexts;
|
|
7
|
-
detailsStyles?: ItemDetailsStyles;
|
|
8
|
-
}
|
|
9
|
-
/** Right-side slide-in panel summary: intro/description, topics, and usage limits. */
|
|
10
|
-
export declare const Summary: FC<SummaryProp>;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=Summary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Summary.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Summary/Summary.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,oCAAoC,CAAC;AAM5C,UAAU,WAAW;IACnB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,sFAAsF;AACtF,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,WAAW,CAgCnC,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { CatalogItem } from '../../models/catalog-item';
|
|
3
|
-
/** Props for EntityHeader. */
|
|
4
|
-
export interface EntityHeaderProps {
|
|
5
|
-
/** The favorite item to display. */
|
|
6
|
-
item: CatalogItem;
|
|
7
|
-
/** CSS class for the item name. Default: 'dial-h3-text text-primary'. */
|
|
8
|
-
nameClassName?: string;
|
|
9
|
-
/** CSS class for the entity type label. Default: 'dial-caption-semi-text'. */
|
|
10
|
-
typeClassName?: string;
|
|
11
|
-
/** CSS class applied to the icon badge, e.g. to set border-radius. Default: 'rounded-[14px]'. */
|
|
12
|
-
iconBadgeClassName?: string;
|
|
13
|
-
/** CSS class for the version text. Default: 'dial-tiny-text text-secondary'. */
|
|
14
|
-
versionClassName?: string;
|
|
15
|
-
/** Whether to show `item.version` next to the title. Default: true. */
|
|
16
|
-
showVersion?: boolean;
|
|
17
|
-
/** Label for the featured tag shown when item.isFeatured is true. Default: 'Featured'. */
|
|
18
|
-
featuredLabel?: string;
|
|
19
|
-
/** Whether to render the featured tag. Default: true. */
|
|
20
|
-
hasFeaturedTag?: boolean;
|
|
21
|
-
/** Size of the deployment icon. Default: 48. */
|
|
22
|
-
iconSize?: number;
|
|
23
|
-
/** Search query string; when provided, matching text in the title is highlighted. */
|
|
24
|
-
query?: string;
|
|
25
|
-
/** Content pinned to the bottom of the text column via `mt-auto`, aligning its baseline with the avatar bottom. When provided, `gap-1` between type and name is removed so the column fills the icon height exactly. */
|
|
26
|
-
footer?: ReactNode;
|
|
27
|
-
/** CSS class for the featured chip. */
|
|
28
|
-
featuredChipClassName?: string;
|
|
29
|
-
}
|
|
30
|
-
/** Compact card for the Favorites strip with hover lift and star toggle. */
|
|
31
|
-
export declare const EntityHeader: FC<EntityHeaderProps>;
|
|
32
|
-
//# sourceMappingURL=EntityHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EntityHeader.d.ts","sourceRoot":"","sources":["../../../src/components/EntityHeader/EntityHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAKxD,8BAA8B;AAC9B,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iGAAiG;IACjG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0FAA0F;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wNAAwN;IACxN,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,uCAAuC;IACvC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,4EAA4E;AAC5E,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA6D9C,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CatalogEntityType } from '../../types/entity-type';
|
|
3
|
-
/** Props for EntityTypeLabel. */
|
|
4
|
-
export interface EntityTypeLabelProps {
|
|
5
|
-
/** Entity category — resolves the label's color via ENTITY_TYPE_COLOR. */
|
|
6
|
-
type: CatalogEntityType;
|
|
7
|
-
/** CSS class for the label text. Default: 'dial-caption-semi-text'. */
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Entity type label rendered as plain uppercase text — no pill, no background.
|
|
12
|
-
* Shared by the card grid (via AppIdentity) and the list view, so both
|
|
13
|
-
* densities of the catalog use the same type treatment.
|
|
14
|
-
*/
|
|
15
|
-
export declare const EntityTypeLabel: FC<EntityTypeLabelProps>;
|
|
16
|
-
//# sourceMappingURL=EntityTypeLabel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EntityTypeLabel.d.ts","sourceRoot":"","sources":["../../../src/components/EntityTypeLabel/EntityTypeLabel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,iCAAiC;AACjC,MAAM,WAAW,oBAAoB;IACnC,0EAA0E;IAC1E,IAAI,EAAE,iBAAiB,CAAC;IACxB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAUpD,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
/** Props for `FeaturedChip`. */
|
|
3
|
-
export interface FeaturedChipProps {
|
|
4
|
-
/** Label text shown inside the chip. */
|
|
5
|
-
label: string;
|
|
6
|
-
/** Additional CSS class for typography overrides. */
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
/** Featured badge rendered on a catalog card when `item.isFeatured` is true. */
|
|
10
|
-
export declare const FeaturedChip: FC<FeaturedChipProps>;
|
|
11
|
-
//# sourceMappingURL=FeaturedChip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturedChip.d.ts","sourceRoot":"","sources":["../../../src/components/FeaturedChip/FeaturedChip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,gCAAgC;AAChC,MAAM,WAAW,iBAAiB;IAChC,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,gFAAgF;AAChF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAS9C,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
/** Props for FolderPath. */
|
|
3
|
-
export interface FolderPathProps {
|
|
4
|
-
/** Folder breadcrumb segments, outermost first. */
|
|
5
|
-
segments: string[];
|
|
6
|
-
/** CSS class applied to each breadcrumb label. Default: 'dial-small-text text-secondary'. */
|
|
7
|
-
labelClassName?: string;
|
|
8
|
-
/** CSS class for the last (leaf) segment. Default: 'dial-small-semi-text'. */
|
|
9
|
-
leafClassName?: string;
|
|
10
|
-
/**
|
|
11
|
-
* CSS class for the breadcrumb's `<nav>` container. `DialBreadcrumb`
|
|
12
|
-
* scrolls horizontally on overflow, so its `<nav>` must keep a definite,
|
|
13
|
-
* non-shrunk width (its default full width, or a parent-resolved size) —
|
|
14
|
-
* do not size it to content (e.g. via `w-auto`), since a scroll container
|
|
15
|
-
* reports a collapsed intrinsic size to auto-sizing algorithms and will
|
|
16
|
-
* truncate.
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Renders folder segments as a read-only (non-clickable) DialBreadcrumb.
|
|
22
|
-
* DialBreadcrumb scrolls horizontally on overflow rather than truncating.
|
|
23
|
-
*/
|
|
24
|
-
export declare const FolderPath: FC<FolderPathProps>;
|
|
25
|
-
//# sourceMappingURL=FolderPath.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FolderPath.d.ts","sourceRoot":"","sources":["../../../src/components/FolderPath/FolderPath.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,4BAA4B;AAC5B,MAAM,WAAW,eAAe;IAC9B,mDAAmD;IACnD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,6FAA6F;IAC7F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwC1C,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
interface ItemHeaderProps {
|
|
3
|
-
title: string;
|
|
4
|
-
postfix?: number | string;
|
|
5
|
-
titleClassName?: string;
|
|
6
|
-
postfixClassName?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
query?: string;
|
|
9
|
-
/** Optional content rendered at the trailing end of the header row. */
|
|
10
|
-
trailing?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export declare const ItemHeader: FC<ItemHeaderProps>;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=ItemHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ItemHeader/ItemHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtC,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA2B1C,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { PublishFolderNode } from '../../models/publish';
|
|
3
|
-
/** Props for {@link PublishFoldersTree}. */
|
|
4
|
-
export interface PublishFoldersTreeProps {
|
|
5
|
-
/** Root-level folder nodes. */
|
|
6
|
-
items: PublishFolderNode[];
|
|
7
|
-
/**
|
|
8
|
-
* Currently selected destination folder path, outermost first.
|
|
9
|
-
* `undefined` means nothing is selected; `[]` means the bucket root
|
|
10
|
-
* itself is selected (a distinct, valid destination).
|
|
11
|
-
*/
|
|
12
|
-
selectedPath?: string[];
|
|
13
|
-
/** Called when the user selects a folder or the root; `undefined` when deselected. */
|
|
14
|
-
onSelectedPathChange: (path: string[] | undefined) => void;
|
|
15
|
-
/**
|
|
16
|
-
* Called when the user confirms a new folder name. The caller owns
|
|
17
|
-
* persisting the new node into `items`; the tree only reports intent.
|
|
18
|
-
*/
|
|
19
|
-
onCreateFolder: (parentPath: string[], name: string) => Promise<void>;
|
|
20
|
-
/**
|
|
21
|
-
* Search query used to filter the tree; owned by the host so it can render
|
|
22
|
-
* the search input in its own layout (e.g. above other controls).
|
|
23
|
-
*/
|
|
24
|
-
searchQuery: string;
|
|
25
|
-
/** Whether the whole tree is disabled, e.g. while a publish request is in flight. Default: `false`. */
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/** Label for the trailing "create new folder" trigger. Default: `'Create new folder'`. */
|
|
28
|
-
createFolderLabel?: string;
|
|
29
|
-
/** Label for the per-row context menu action that creates a folder alongside the clicked folder. Default: `'Add sibling'`. */
|
|
30
|
-
addSiblingFolderLabel?: string;
|
|
31
|
-
/** Label for the per-row context menu action that creates a folder inside the clicked folder. Default: `'Add child'`. */
|
|
32
|
-
addChildFolderLabel?: string;
|
|
33
|
-
/** Default name pre-filled for a new folder before the user edits it. Default: `'New folder'`. */
|
|
34
|
-
newFolderDefaultName?: string;
|
|
35
|
-
/** Message shown when a search query matches no folders; `{query}` is replaced. Default: `'No folders match "{query}".'`. */
|
|
36
|
-
noResultsText?: string;
|
|
37
|
-
/** Inline error shown while creating a folder with an empty name. Default: `'Folder name cannot be empty.'`. */
|
|
38
|
-
emptyFolderNameError?: string;
|
|
39
|
-
/** Inline error shown while creating a folder whose name contains `..` or a forbidden character. Default: `'Folder name contains invalid characters.'`. */
|
|
40
|
-
invalidFolderNameError?: string;
|
|
41
|
-
/** Inline error shown while creating a folder whose name duplicates a sibling. Default: `'A folder with this name already exists.'`. */
|
|
42
|
-
duplicateFolderNameError?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Label for the tree node representing the bucket root itself as a
|
|
45
|
-
* selectable publish destination (`selectedPath: []`); rendered as the
|
|
46
|
-
* top-level, always-expanded node that wraps `items`. Default: `'Organization'`.
|
|
47
|
-
*/
|
|
48
|
-
rootLabel?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Externally-controlled set of expanded folder path keys (`path.join('/')`).
|
|
51
|
-
* Pass this together with `onExpandedPathsChange` when the host needs to
|
|
52
|
-
* know which folders were expanded (e.g. to lazily fetch their children).
|
|
53
|
-
* When omitted, the tree manages expand state internally.
|
|
54
|
-
*/
|
|
55
|
-
expandedPaths?: Set<string>;
|
|
56
|
-
/** Called when the set of expanded folders changes; required to control `expandedPaths`. */
|
|
57
|
-
onExpandedPathsChange?: (paths: Set<string>) => void;
|
|
58
|
-
/** Folder path keys currently being fetched by the host; shows a loading affordance on those rows. */
|
|
59
|
-
loadingPaths?: Set<string>;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Destination folder tree for the Publish flow, built on ui-kit's
|
|
63
|
-
* `DialFoldersTree` (`showFiles={false}`). Search filters `items` before
|
|
64
|
-
* conversion to `DialFile[]` since `DialFoldersTree` has no built-in search.
|
|
65
|
-
* Folder creation can be triggered either by the trailing "Create new
|
|
66
|
-
* folder" button (creates under the currently selected folder) or by each
|
|
67
|
-
* row's "Add sibling"/"Add child" context menu actions. Both pass the target
|
|
68
|
-
* parent path to `DialFoldersTree`, which owns the temporary inline row; only
|
|
69
|
-
* the confirmed name is reported via `onCreateFolder`.
|
|
70
|
-
*/
|
|
71
|
-
export declare const PublishFoldersTree: FC<PublishFoldersTreeProps>;
|
|
72
|
-
//# sourceMappingURL=PublishFoldersTree.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PublishFoldersTree.d.ts","sourceRoot":"","sources":["../../../src/components/PublishFoldersTree/PublishFoldersTree.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAYzD,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,+BAA+B;IAC/B,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,sFAAsF;IACtF,oBAAoB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3D;;;OAGG;IACH,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,uGAAuG;IACvG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0FAA0F;IAC1F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,8HAA8H;IAC9H,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,yHAAyH;IACzH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kGAAkG;IAClG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,6HAA6H;IAC7H,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gHAAgH;IAChH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2JAA2J;IAC3J,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,wIAAwI;IACxI,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,4FAA4F;IAC5F,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACrD,sGAAsG;IACtG,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAmN1D,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { PublishHistoryEntry } from '../../models/publish';
|
|
3
|
-
/** Props for {@link PublishHistoryList}. */
|
|
4
|
-
export interface PublishHistoryListProps {
|
|
5
|
-
/** Previously published versions for the selected destination folder, most recent first. Filtered by the host to just that folder. */
|
|
6
|
-
entries: PublishHistoryEntry[];
|
|
7
|
-
/**
|
|
8
|
-
* The entity's current version. The matching entry, if any, gets a
|
|
9
|
-
* "Current" badge instead of the row being highlighted.
|
|
10
|
-
*/
|
|
11
|
-
currentVersion?: string;
|
|
12
|
-
/** When `true`, shows a loading message instead of `entries`/empty state. Default: `false`. */
|
|
13
|
-
isLoading?: boolean;
|
|
14
|
-
/** When `true` (and not `isLoading`), shows an error message instead of `entries`/empty state. Default: `false`. */
|
|
15
|
-
hasError?: boolean;
|
|
16
|
-
/** Prefix before each entry's version number. Default: `'Version'`. */
|
|
17
|
-
versionPrefix?: string;
|
|
18
|
-
/** Label for the badge on the entry matching `currentVersion`. Default: `'Current'`. */
|
|
19
|
-
currentBadgeLabel?: string;
|
|
20
|
-
/** Message shown when `entries` is empty. Default: see implementation. */
|
|
21
|
-
emptyStateText?: string;
|
|
22
|
-
/** Message shown while history is loading. Default: `'Loading history…'`. */
|
|
23
|
-
loadingText?: string;
|
|
24
|
-
/** Message shown when history failed to load. Default: `'Failed to load publish history.'`. */
|
|
25
|
-
errorText?: string;
|
|
26
|
-
/** Typography class for each entry's version line. Default: `'dial-small-text text-primary'`. */
|
|
27
|
-
versionClassName?: string;
|
|
28
|
-
/** Typography class for each entry's publish date. Default: `'dial-small-text text-secondary'`. */
|
|
29
|
-
dateClassName?: string;
|
|
30
|
-
/** Typography class for the empty-state message. Default: `'dial-small-text text-secondary'`. */
|
|
31
|
-
emptyStateClassName?: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Read-only list of previously published versions for a catalog entity within
|
|
35
|
-
* the currently selected destination folder. Renders an empty-state message
|
|
36
|
-
* instead of a list when there is no history yet. Each row shows the version
|
|
37
|
-
* and publish date; the destination folder is not repeated here since this
|
|
38
|
-
* list is already scoped to the selected folder. The row matching
|
|
39
|
-
* `currentVersion` gets a small "Current" badge rather than a filled/
|
|
40
|
-
* selected-looking row, since blue selection styling is reserved for the
|
|
41
|
-
* destination folder picker.
|
|
42
|
-
*/
|
|
43
|
-
export declare const PublishHistoryList: FC<PublishHistoryListProps>;
|
|
44
|
-
//# sourceMappingURL=PublishHistoryList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PublishHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/PublishHistoryList/PublishHistoryList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAG3D,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,sIAAsI;IACtI,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+FAA+F;IAC/F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oHAAoH;IACpH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uEAAuE;IACvE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+FAA+F;IAC/F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mGAAmG;IACnG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iGAAiG;IACjG,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA0D1D,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
/** Text overrides for all user-visible strings in {@link PublishFooter}. */
|
|
3
|
-
export interface PublishFooterTexts {
|
|
4
|
-
/** Cancel button label. Default: `'Cancel'`. */
|
|
5
|
-
cancelLabel?: string;
|
|
6
|
-
/** Submit button label when publishing a new version. Default: `'Publish'`. */
|
|
7
|
-
publishDefaultLabel?: string;
|
|
8
|
-
/** Submit button label when replacing an existing version; `{version}` is replaced. */
|
|
9
|
-
updateLabel?: string;
|
|
10
|
-
/** Submit button label while the request is in flight. Default: `'Publishing…'`. */
|
|
11
|
-
publishingInProgressLabel?: string;
|
|
12
|
-
}
|
|
13
|
-
/** Props for {@link PublishFooter}. */
|
|
14
|
-
export interface PublishFooterProps {
|
|
15
|
-
/** The version being published, substituted into the submit label. `undefined` for unversioned resources (e.g. a conversation) — the submit label then always reads `publishDefaultLabel`. */
|
|
16
|
-
version?: string;
|
|
17
|
-
/** Whether this publication already exists at the selected destination folder. */
|
|
18
|
-
hasExistingPublicationInFolder: boolean;
|
|
19
|
-
/** Whether the submit button should be disabled. */
|
|
20
|
-
isSubmitDisabled: boolean;
|
|
21
|
-
/** Whether the submit button should show its loading/spinner state. */
|
|
22
|
-
isSubmitLoading: boolean;
|
|
23
|
-
/** Called when the user cancels the publish flow. */
|
|
24
|
-
onCancel: () => void;
|
|
25
|
-
/** Called when the user confirms the publish/update action. */
|
|
26
|
-
onSubmit: () => void;
|
|
27
|
-
/** Text overrides for all user-visible strings. */
|
|
28
|
-
texts?: PublishFooterTexts;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Action row for the Publish flow: Cancel and Publish/Update buttons.
|
|
32
|
-
* Rendered outside the scrollable body so it stays pinned to the bottom.
|
|
33
|
-
* Both Publish and Cancel use secondary/neutral styling — neither is an
|
|
34
|
-
* accented primary action.
|
|
35
|
-
*/
|
|
36
|
-
export declare const PublishFooter: FC<PublishFooterProps>;
|
|
37
|
-
//# sourceMappingURL=PublishFooter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PublishFooter.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/PublishFooter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,4EAA4E;AAC5E,MAAM,WAAW,kBAAkB;IACjC,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uFAAuF;IACvF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IACjC,8LAA8L;IAC9L,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kFAAkF;IAClF,8BAA8B,EAAE,OAAO,CAAC;IACxC,oDAAoD;IACpD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,uEAAuE;IACvE,eAAe,EAAE,OAAO,CAAC;IACzB,qDAAqD;IACrD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mDAAmD;IACnD,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC5B;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA4ChD,CAAC"}
|