@epam/ai-dial-catalog 1.2.0-dev.3 → 1.2.0-dev.303
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.map +1 -1
- package/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.d.ts +10 -0
- package/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.d.ts.map +1 -0
- package/components/ApplicationCredentials/ApplicationCredentials.d.ts +5 -0
- package/components/ApplicationCredentials/ApplicationCredentials.d.ts.map +1 -0
- 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.map +1 -1
- package/components/Catalog/Catalog.d.ts.map +1 -1
- package/components/Catalog/CreateButton.d.ts +10 -1
- package/components/Catalog/CreateButton.d.ts.map +1 -1
- package/components/DeploymentSelectorField/DeploymentSelectorField.d.ts +50 -0
- package/components/DeploymentSelectorField/DeploymentSelectorField.d.ts.map +1 -0
- package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts.map +1 -1
- package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts.map +1 -1
- package/components/Details/Credentials/CredentialsRow/CredentialsRow.d.ts +59 -0
- package/components/Details/Credentials/CredentialsRow/CredentialsRow.d.ts.map +1 -0
- package/components/Details/DetailsPanel.d.ts.map +1 -1
- package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts +8 -1
- package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts.map +1 -1
- package/components/Details/Header/Header.d.ts +4 -2
- package/components/Details/Header/Header.d.ts.map +1 -1
- package/components/Details/TabsContent/About.d.ts +3 -1
- package/components/Details/TabsContent/About.d.ts.map +1 -1
- package/components/Details/TabsContent/Content.d.ts +6 -2
- package/components/Details/TabsContent/Content.d.ts.map +1 -1
- package/components/Details/TabsContent/Limits/LimitGroupSection.d.ts +2 -0
- package/components/Details/TabsContent/Limits/LimitGroupSection.d.ts.map +1 -1
- package/components/Details/TabsContent/Limits/LimitRow.d.ts +3 -1
- package/components/Details/TabsContent/Limits/LimitRow.d.ts.map +1 -1
- package/components/Details/TabsContent/Limits/Limits.d.ts.map +1 -1
- package/components/Favorites/FavoriteCard.d.ts.map +1 -1
- package/components/Favorites/Favorites.d.ts.map +1 -1
- package/components/Filter/Filter.d.ts.map +1 -1
- package/components/ListView/ListView.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 +4 -1
- package/components/StarToggleButton/StarToggleButton.d.ts.map +1 -1
- package/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/constants/create-menu.d.ts +7 -0
- package/constants/create-menu.d.ts.map +1 -0
- package/constants/public-class-names.d.ts +21 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/index.css +2 -2
- package/index.d.ts +11 -5
- package/index.d.ts.map +1 -1
- package/index.js +2389 -2015
- package/{mapping-FVCFAmAc.js → mapping-BHlCxGmC.js} +4 -4
- package/mapping.js +2 -2
- package/models/application-credentials.d.ts +69 -0
- package/models/application-credentials.d.ts.map +1 -0
- package/models/card-props.d.ts +3 -0
- package/models/card-props.d.ts.map +1 -1
- package/models/card-row-data.d.ts +3 -0
- package/models/card-row-data.d.ts.map +1 -1
- package/models/catalog-props.d.ts +54 -4
- package/models/catalog-props.d.ts.map +1 -1
- package/models/grid-props.d.ts +3 -0
- package/models/grid-props.d.ts.map +1 -1
- package/models/item-details-data.d.ts +29 -0
- package/models/item-details-data.d.ts.map +1 -1
- package/models/item-details-props.d.ts +50 -6
- package/models/item-details-props.d.ts.map +1 -1
- package/models/limits-props.d.ts +6 -2
- package/models/limits-props.d.ts.map +1 -1
- package/package.json +4 -4
- package/types/details-confirmation.d.ts +0 -7
- package/types/details-confirmation.d.ts.map +1 -1
- package/types/limit-row-layout.d.ts +8 -0
- package/types/limit-row-layout.d.ts.map +1 -0
- package/utils/create-menu.d.ts +4 -0
- package/utils/create-menu.d.ts.map +1 -0
- package/utils/item-details-texts.d.ts +4 -0
- package/utils/item-details-texts.d.ts.map +1 -0
- package/utils/scroll-window.d.ts.map +1 -1
- package/utils/toolset-credentials.d.ts +14 -0
- package/utils/toolset-credentials.d.ts.map +1 -1
- package/utils/use-scroll-virtualizer.d.ts.map +1 -1
- package/components/Details/ConfirmationView/ConfirmationFooter.d.ts +0 -29
- package/components/Details/ConfirmationView/ConfirmationFooter.d.ts.map +0 -1
- package/components/Details/ConfirmationView/ConfirmationView.d.ts +0 -28
- package/components/Details/ConfirmationView/ConfirmationView.d.ts.map +0 -1
- package/components/InfoCard/InfoCard.d.ts +0 -15
- package/components/InfoCard/InfoCard.d.ts.map +0 -1
|
@@ -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;AAGlE,gFAAgF;AAChF,MAAM,WAAW,gBAAgB;IAC/B,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,6FAA6F;IAC7F,IAAI,EAAE,iBAAiB,CAAC;IACxB,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8FAA8F;IAC9F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EAAyE;IACzE,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,8FAA8F;IAC9F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oGAAoG;IACpG,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,oFAAoF;AACpF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAkG5C,CAAC"}
|
package/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ApplicationCredential, ApplicationCredentialsProps } from '../../../models/application-credentials';
|
|
3
|
+
interface ApplicationCredentialRowProps extends Pick<ApplicationCredentialsProps, 'texts' | 'onLogin' | 'onLogout'> {
|
|
4
|
+
/** Host-resolved presentation of this service. */
|
|
5
|
+
service: ApplicationCredential;
|
|
6
|
+
}
|
|
7
|
+
/** Per-service consent and removal confirmation around the shared credentials row. */
|
|
8
|
+
export declare const ApplicationCredentialRow: FC<ApplicationCredentialRowProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ApplicationCredentialRow.d.ts.map
|
package/components/ApplicationCredentials/ApplicationCredentialRow/ApplicationCredentialRow.d.ts.map
ADDED
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ApplicationCredentialsProps } from '../../models/application-credentials';
|
|
3
|
+
/** Application credentials forms using the same row and status components as toolsets. */
|
|
4
|
+
export declare const ApplicationCredentials: FC<ApplicationCredentialsProps>;
|
|
5
|
+
//# sourceMappingURL=ApplicationCredentials.d.ts.map
|
|
@@ -0,0 +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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/Card.tsx"],"names":[],"mappings":"AAeA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/Card.tsx"],"names":[],"mappings":"AAeA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAezD,6FAA6F;AAC7F,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAwN9B,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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardRowRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardRowRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,EAAE,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTag.d.ts","sourceRoot":"","sources":["../../../src/components/CardTag/CardTag.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardTag.d.ts","sourceRoot":"","sources":["../../../src/components/CardTag/CardTag.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,uEAAuE;AACvE,UAAU,aAAa;IACrB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,2BAA2B;AAC3B,MAAM,WAAW,YAAY;IAC3B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wDAAwD;IACxD,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,+EAA+E;AAC/E,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAgBpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Catalog.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
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;AA2C/D,mHAAmH;AACnH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA0vBpC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
+
import { CatalogCreateSearch } from '../../models/catalog-props';
|
|
3
4
|
/** Props for the catalog Create button. */
|
|
4
5
|
export interface CreateButtonProps {
|
|
5
6
|
/** Button label. */
|
|
@@ -11,7 +12,15 @@ export interface CreateButtonProps {
|
|
|
11
12
|
options?: DropdownItem[];
|
|
12
13
|
/** Called when the button is clicked and no `options` are present. */
|
|
13
14
|
onClick?: () => void;
|
|
15
|
+
/** When provided, the dropdown shows a search field above `options`; the host filters `options` by its value. */
|
|
16
|
+
search?: CatalogCreateSearch;
|
|
17
|
+
/** Placeholder and accessible name of the search field. Defaults to `'Search'`. */
|
|
18
|
+
searchPlaceholder?: string;
|
|
19
|
+
/** Accessible name of the search field's clear button. Defaults to `'Clear search'`. */
|
|
20
|
+
searchClearLabel?: string;
|
|
21
|
+
/** Text shown when a search leaves no options. Defaults to `'No results found'`. */
|
|
22
|
+
noResultsLabel?: string;
|
|
14
23
|
}
|
|
15
|
-
/** Renders
|
|
24
|
+
/** Renders a plain primary button, a split-chevron dropdown, or a searchable dropdown. */
|
|
16
25
|
export declare const CreateButton: FC<CreateButtonProps>;
|
|
17
26
|
//# sourceMappingURL=CreateButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateButton.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/CreateButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateButton.d.ts","sourceRoot":"","sources":["../../../src/components/Catalog/CreateButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,YAAY,EAKb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAoB,MAAM,OAAO,CAAC;AAK7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGtE,2CAA2C;AAC3C,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,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;CACzB;AAED,0FAA0F;AAC1F,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8F9C,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AriaAttributes, FC, ReactNode } from 'react';
|
|
2
|
+
/** Host-resolved picker record. No generated DTO or application URL leaks into this contract. */
|
|
3
|
+
export interface DeploymentSelectorDisplayRecord {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
description?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DeploymentSelectorExtraOption {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}
|
|
13
|
+
export interface DeploymentSelectorFieldLabels {
|
|
14
|
+
searchPlaceholder: string;
|
|
15
|
+
searchAriaLabel: string;
|
|
16
|
+
emptyLabel: string;
|
|
17
|
+
errorLabel: string;
|
|
18
|
+
browseLabel?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface DeploymentSelectorFieldProps {
|
|
21
|
+
selectedId: string | null;
|
|
22
|
+
records: DeploymentSelectorDisplayRecord[];
|
|
23
|
+
selectedLabel?: string | null;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
labels: DeploymentSelectorFieldLabels;
|
|
26
|
+
onSelect: (id: string) => void;
|
|
27
|
+
onBrowse?: () => void;
|
|
28
|
+
extraOptions?: DeploymentSelectorExtraOption[];
|
|
29
|
+
isLoading?: boolean;
|
|
30
|
+
error?: Error | null;
|
|
31
|
+
isDisabled?: boolean;
|
|
32
|
+
isInvalid?: boolean;
|
|
33
|
+
labelledById?: string;
|
|
34
|
+
/** Accessible popup role. Use `dialog` for a host-rendered sheet. Defaults to `listbox`. */
|
|
35
|
+
ariaHasPopup?: AriaAttributes['aria-haspopup'];
|
|
36
|
+
className?: string;
|
|
37
|
+
panelClassName?: string;
|
|
38
|
+
/** Optional host-resolved trailing affordance, such as a loading spinner. */
|
|
39
|
+
iconAfter?: ReactNode;
|
|
40
|
+
/** Optional host panel for integrations that retain richer host-only actions. */
|
|
41
|
+
renderPanel?: (onClose: () => void) => ReactNode;
|
|
42
|
+
/** Controlled open state. Omit with `onOpenChange` to use local state. */
|
|
43
|
+
open?: boolean;
|
|
44
|
+
onOpenChange?: (open: boolean) => void;
|
|
45
|
+
/** Composes the popup or mobile sheet around the reusable panel. */
|
|
46
|
+
renderOverlay?: (panel: ReactNode, isOpen: boolean, onClose: () => void) => ReactNode;
|
|
47
|
+
}
|
|
48
|
+
/** Controlled, provider-free model/agent field and searchable panel. */
|
|
49
|
+
export declare const DeploymentSelectorField: FC<DeploymentSelectorFieldProps>;
|
|
50
|
+
//# sourceMappingURL=DeploymentSelectorField.d.ts.map
|
|
@@ -0,0 +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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"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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialsManagementPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.tsx"],"names":[],"mappings":"
|
|
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,UAAU,+BAA+B;IACvC,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"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { ItemDetailsTexts } from '../../../../models/item-details-props';
|
|
3
|
+
import { CredentialStatus, ToolsetAuthenticationType } from '../../../../types/toolset-auth';
|
|
4
|
+
/** Props for {@link CredentialsRow}. */
|
|
5
|
+
interface CredentialsRowProps {
|
|
6
|
+
/** Row title, e.g. `'Personal credentials'`. */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Row description shown under the title. */
|
|
9
|
+
description?: string;
|
|
10
|
+
/** Leading icon shown in the row's identity chip. */
|
|
11
|
+
icon: ReactNode;
|
|
12
|
+
/** Current sign-in status for this level. */
|
|
13
|
+
status: CredentialStatus | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Whether this level is the one actually in effect. Personal credentials
|
|
16
|
+
* take precedence over organization-wide ones, so the organization row is
|
|
17
|
+
* never `isActive` while the personal row is also signed in — only the
|
|
18
|
+
* active level's checkmark is shown.
|
|
19
|
+
*/
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
/** Authentication mechanism required by the item. */
|
|
22
|
+
authenticationType: ToolsetAuthenticationType;
|
|
23
|
+
/** Already-formatted relative time since the API key was added, shown when signed in via `API_KEY`. */
|
|
24
|
+
apiKeyAddedWhen?: string;
|
|
25
|
+
/** Name of the configured API key header (e.g. `X-Api-Key`). When set, a hint naming it is shown under, and describes, the API key input. */
|
|
26
|
+
apiKeyHeader?: string;
|
|
27
|
+
/** Called with the entered key (or no key, for OAuth) when the row's login action is submitted. May return a promise; the row shows a spinner in place of the action label until it resolves. */
|
|
28
|
+
onLogin?: (apiKey?: string) => Promise<void | boolean> | void | boolean;
|
|
29
|
+
/** Called when "Log out" is clicked on a signed-in OAuth row, so the host can show a full logout-confirmation sub-view for this level. */
|
|
30
|
+
onRequestLogout?: () => void;
|
|
31
|
+
/** Called when "Delete" is clicked on a configured API key, so the host can show a full delete-confirmation sub-view for this level. */
|
|
32
|
+
onRequestDeleteApiKey?: () => void;
|
|
33
|
+
/** Text overrides. */
|
|
34
|
+
texts?: ItemDetailsTexts;
|
|
35
|
+
/** CSS class applied to the row title. */
|
|
36
|
+
labelClassName: string;
|
|
37
|
+
/** CSS class applied to the row description. */
|
|
38
|
+
descriptionClassName: string;
|
|
39
|
+
/** CSS class applied to the empty-API-key validation message. */
|
|
40
|
+
errorClassName: string;
|
|
41
|
+
/** CSS class applied to the configured-key card's title. */
|
|
42
|
+
keyCardTitleClassName: string;
|
|
43
|
+
/** CSS class applied to the configured-key card's description. */
|
|
44
|
+
keyCardDescriptionClassName: string;
|
|
45
|
+
/** CSS class applied to the "Delete" action on a configured API key. */
|
|
46
|
+
deleteActionClassName: string;
|
|
47
|
+
/** Disables actions while an enclosing confirmation is submitting. Defaults to false. */
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
/** Whether an enclosing removal is running. Defaults to false. */
|
|
50
|
+
isPending?: boolean;
|
|
51
|
+
/** Additional login options, receiving the current pending state. */
|
|
52
|
+
renderLoginOptions?: (disabled: boolean) => ReactNode;
|
|
53
|
+
/** Supplemental content below the credentials controls. */
|
|
54
|
+
children?: ReactNode;
|
|
55
|
+
}
|
|
56
|
+
/** Shared credentials row for toolset slots and application services. */
|
|
57
|
+
export declare const CredentialsRow: FC<CredentialsRowProps>;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=CredentialsRow.d.ts.map
|
|
@@ -0,0 +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,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,WA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mB,CA4OlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Details/DetailsPanel.tsx"],"names":[],"mappings":"
|
|
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;AAmJzE,4EAA4E;AAC5E,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8uC9C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { CatalogItem } from '../../../../models/catalog-item';
|
|
3
|
-
import { ItemDetailsTexts } from '../../../../models/item-details-props';
|
|
3
|
+
import { ItemDetailsColors, ItemDetailsTexts } from '../../../../models/item-details-props';
|
|
4
4
|
import { CredentialsLevel, CredentialStatus } from '../../../../types/toolset-auth';
|
|
5
5
|
/** Props for {@link CredentialsApiKeyOverlay}. */
|
|
6
6
|
interface CredentialsApiKeyOverlayProps {
|
|
@@ -12,6 +12,8 @@ interface CredentialsApiKeyOverlayProps {
|
|
|
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;
|
|
15
|
+
/** Name of the configured API key header (e.g. `X-Api-Key`). When set, a hint naming it is shown under, and describes, the API key input. */
|
|
16
|
+
apiKeyHeader?: string;
|
|
15
17
|
/** Called with the entered key when "Add" is submitted. May return a promise; the popover stays open with a spinner until it resolves. */
|
|
16
18
|
onLogin?: (item: CatalogItem, params: {
|
|
17
19
|
level: CredentialsLevel;
|
|
@@ -25,6 +27,11 @@ interface CredentialsApiKeyOverlayProps {
|
|
|
25
27
|
onClose: () => void;
|
|
26
28
|
/** Text overrides. */
|
|
27
29
|
texts?: ItemDetailsTexts;
|
|
30
|
+
/**
|
|
31
|
+
* Color overrides. The popover renders in a portal, outside the details
|
|
32
|
+
* panel, so it sets the vars it reads on its own root.
|
|
33
|
+
*/
|
|
34
|
+
colors?: ItemDetailsColors;
|
|
28
35
|
/** CSS class applied to the "Delete" action. Defaults to `'text-error'`. */
|
|
29
36
|
deleteActionClassName?: string;
|
|
30
37
|
}
|
package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialsApiKeyOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"CredentialsApiKeyOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AAMxC,kDAAkD;AAClD,UAAU,6BAA6B;IACrC,gDAAgD;IAChD,IAAI,EAAE,WAAW,CAAC;IAClB,8GAA8G;IAC9G,KAAK,EAAE,gBAAgB,CAAC;IACxB,sDAAsD;IACtD,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACrC,4HAA4H;IAC5H,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6IAA6I;IAC7I,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0IAA0I;IAC1I,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,gJAAgJ;IAChJ,QAAQ,CAAC,EAAE,CACT,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAA;KAAE,KAChC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1B,oGAAoG;IACpG,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,sBAAsB;IACtB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,4EAA4E;IAC5E,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,8IAA8I;AAC9I,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CAwKtE,CAAC"}
|
|
@@ -98,7 +98,9 @@ interface HeaderProps {
|
|
|
98
98
|
* `onOpenUnpublish`. Defaults to `true` when absent. When the entry ends up
|
|
99
99
|
* shown, it replaces "Publish" rather than joining it. Supplying it also
|
|
100
100
|
* keeps the Manage trigger rendered for an item it returns `true` for while
|
|
101
|
-
* `isPublishHistoryResolved` is still `false
|
|
101
|
+
* `isPublishHistoryResolved` is still `false`, and lets a lone "Unpublish"
|
|
102
|
+
* render as its own button once history resolves — so the host should
|
|
103
|
+
* resolve history for such an item without waiting for hover.
|
|
102
104
|
*/
|
|
103
105
|
isUnpublishVisible?: (item: CatalogItem) => boolean;
|
|
104
106
|
/**
|
|
@@ -134,7 +136,7 @@ interface HeaderProps {
|
|
|
134
136
|
*/
|
|
135
137
|
isReadonly?: boolean;
|
|
136
138
|
}
|
|
137
|
-
/** Details panel header bar: entity identity (icon + name + version), action buttons (primary action, Share, a "Manage" menu for Edit, Publish or Unpublish, and Delete), and inline credentials section. For Toolsets, the credentials action (Log in / Log out / manage) renders first and styled as the primary action, since Toolsets have no "Use in chat" action. Shows a "Running low"/"Limit reached" badge from `item.details?.limits?.status`, disabling "Use in chat" once a limit is reached. */
|
|
139
|
+
/** Details panel header bar: entity identity (icon + name + version), action buttons (primary action, Share, a "Manage" menu for Edit, Publish or Unpublish, and Delete — or that action as a button of its own where filtering leaves only one), and inline credentials section. For Toolsets, the credentials action (Log in / Log out / manage) renders first and styled as the primary action, since Toolsets have no "Use in chat" action. Shows a "Running low"/"Limit reached" badge from `item.details?.limits?.status`, disabling "Use in chat" once a limit is reached. */
|
|
138
140
|
export declare const Header: FC<HeaderProps>;
|
|
139
141
|
export {};
|
|
140
142
|
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/Header.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/Header/Header.tsx"],"names":[],"mappings":"AAkCA,OAAO,EACL,EAAE,EAMF,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,gBAAgB,EAGjB,MAAM,6BAA6B,CAAC;AAqDrC,UAAU,WAAW;IACnB,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IACxD,OAAO,CAAC,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'react';
|
|
2
|
-
import { ItemDetailsStyles } from '../../../models/item-details-props';
|
|
2
|
+
import { CatalogMarkdownLabels, ItemDetailsStyles } from '../../../models/item-details-props';
|
|
3
3
|
interface AboutTabProps {
|
|
4
4
|
topics?: string[];
|
|
5
5
|
/** Markdown text to render, typically `item.description`. */
|
|
6
6
|
content: string;
|
|
7
7
|
detailsStyles?: ItemDetailsStyles;
|
|
8
|
+
/** Code-block, table and formula labels forwarded to the markdown renderer. Defaults to the renderer's English labels. */
|
|
9
|
+
markdownLabels?: CatalogMarkdownLabels;
|
|
8
10
|
}
|
|
9
11
|
/** Renders a catalog item's description as markdown, followed by its topic tags. */
|
|
10
12
|
export declare const AboutTab: FC<AboutTabProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"About.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/About.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"About.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/About.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAG5C,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,6DAA6D;IAC7D,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,0HAA0H;IAC1H,cAAc,CAAC,EAAE,qBAAqB,CAAC;CACxC;AAED,oFAAoF;AACpF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAwCtC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { CatalogContentFilePreview, CatalogContentTreeNode } from '../../../models/item-details-data';
|
|
3
|
-
import { ItemDetailsStyles } from '../../../models/item-details-props';
|
|
2
|
+
import { CatalogContentFilePreview, CatalogContentFileTreeRenderProps, CatalogContentTreeNode } from '../../../models/item-details-data';
|
|
3
|
+
import { CatalogMarkdownLabels, ItemDetailsStyles } from '../../../models/item-details-props';
|
|
4
4
|
/** Props for ContentTab. */
|
|
5
5
|
export interface ContentTabProps {
|
|
6
6
|
/** The item's full text body, rendered read-only as markdown. */
|
|
@@ -40,8 +40,12 @@ export interface ContentTabProps {
|
|
|
40
40
|
filePreview?: CatalogContentFilePreview | null;
|
|
41
41
|
/** Host-rendered picked-file preview. Takes precedence over `filePreview`. */
|
|
42
42
|
filePreviewContent?: ReactNode;
|
|
43
|
+
/** Renders the selector's tree in place of the built-in one. Omitted, the built-in tree renders. */
|
|
44
|
+
renderFileTree?: (props: CatalogContentFileTreeRenderProps) => ReactNode;
|
|
43
45
|
/** Color and typography overrides for the body text, headings, and placeholder highlights. */
|
|
44
46
|
detailsStyles?: ItemDetailsStyles;
|
|
47
|
+
/** Code-block, table and formula labels forwarded to the markdown body and the plain-text code preview. Defaults to the renderer's English labels. */
|
|
48
|
+
markdownLabels?: CatalogMarkdownLabels;
|
|
45
49
|
}
|
|
46
50
|
/**
|
|
47
51
|
* Renders a catalog item's summary and its long-form body as read-only
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/Content.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,EAAE,EAAE,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/Content.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,EAAE,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EACV,yBAAyB,EACzB,iCAAiC,EACjC,sBAAsB,EACvB,MAAM,mCAAmC,CAAC;AAC3C,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BAAiB,CAAC;IAClC,sJAAsJ;IACtJ,cAAc,CAAC,EAAE,qBAAqB,CAAC;CACxC;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA6K1C,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { UsageLimitGroup } from '../../../../models/item-details-data';
|
|
3
3
|
import { LimitRowClassNames } from '../../../../models/limits-props';
|
|
4
|
+
import { LimitRowLayout } from '../../../../types/limit-row-layout';
|
|
4
5
|
interface LimitGroupSectionProps extends LimitRowClassNames {
|
|
5
6
|
group: UsageLimitGroup;
|
|
6
7
|
sectionClassName: string;
|
|
8
|
+
layout: LimitRowLayout;
|
|
7
9
|
}
|
|
8
10
|
/** One named limits group (e.g. token limits, cost limits) rendered as a heading over its rows. */
|
|
9
11
|
export declare const LimitGroupSection: FC<LimitGroupSectionProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LimitGroupSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/LimitGroupSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"LimitGroupSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/LimitGroupSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAIzE,UAAU,sBAAuB,SAAQ,kBAAkB;IACzD,KAAK,EAAE,eAAe,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,cAAc,CAAC;CACxB;AAED,mGAAmG;AACnG,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAmCxD,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { UsageLimitProgressRow } from '../../../../models/item-details-data';
|
|
3
3
|
import { LimitRowClassNames } from '../../../../models/limits-props';
|
|
4
|
+
import { LimitRowLayout } from '../../../../types/limit-row-layout';
|
|
4
5
|
interface LimitRowProps extends LimitRowClassNames {
|
|
5
6
|
row: UsageLimitProgressRow;
|
|
7
|
+
layout: LimitRowLayout;
|
|
6
8
|
}
|
|
7
|
-
/** A single usage-limit line
|
|
9
|
+
/** A single usage-limit line, arranged per `layout`: either a label column beside a fixed-width value/progress column, or a label/value line above a full-width bar. */
|
|
8
10
|
export declare const LimitRow: FC<LimitRowProps>;
|
|
9
11
|
export {};
|
|
10
12
|
//# sourceMappingURL=LimitRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LimitRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/LimitRow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"LimitRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/LimitRow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAWpE,UAAU,aAAc,SAAQ,kBAAkB;IAChD,GAAG,EAAE,qBAAqB,CAAC;IAC3B,MAAM,EAAE,cAAc,CAAC;CACxB;AAED,wKAAwK;AACxK,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA0JtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Limits.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/Limits.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"Limits.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/Limits.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAKtE,4IAA4I;AAC5I,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA6DxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteCard.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/FavoriteCard.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,EAAE,EAAoD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FavoriteCard.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/FavoriteCard.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,EAAE,EAAoD,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAOxD,8BAA8B;AAC9B,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,gJAAgJ;IAChJ,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IACnD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wGAAwG;IACxG,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iHAAiH;IACjH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,6IAA6I;IAC7I,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mKAAmK;IACnK,8BAA8B,CAAC,EAAE,MAAM,CAAC;CACzC;AAED,2FAA2F;AAC3F,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAoH9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Favorites.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/Favorites.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Favorites.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/Favorites.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAoCxD;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA8axC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../src/components/Filter/Filter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../src/components/Filter/Filter.tsx"],"names":[],"mappings":"AAgBA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,wBAAwB;AACxB,sEAAsE;AACtE,MAAM,WAAW,YAAY;IAC3B,mEAAmE;IACnE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mGAAmG;IACnG,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0FAA0F;IAC1F,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iGAAiG;IACjG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,sFAAsF;IACtF,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,+CAA+C;IAC/C,QAAQ,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACzC,uDAAuD;IACvD,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,wDAAwD;IACxD,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AA0BD,+GAA+G;AAC/G,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAkTlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/ListView.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/ListView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,EAAE,EAKH,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAUxD,yEAAyE;AACzE,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAetC,CAAC"}
|
|
@@ -10,7 +10,8 @@ export type ListViewColumnKey = 'folder' | 'tags' | 'favorite';
|
|
|
10
10
|
*/
|
|
11
11
|
export type ListViewColumnVisibility = Partial<Record<ListViewColumnKey, (type: CatalogEntityType) => boolean>>;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Builds column definitions for the catalog list. The caller memoizes them
|
|
14
|
+
* by type and visibility so scrolling does not reconfigure the grid.
|
|
14
15
|
*
|
|
15
16
|
* Name, Folder and Tags all flex, so spare width is shared instead of going to
|
|
16
17
|
* Name alone: entity names are short, and letting Name absorb every free pixel
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAQxD,sGAAsG;AACtG,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,MAAM,CAAC,iBAAiB,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC,CAChE,CAAC;AAiCF
|
|
1
|
+
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAQxD,sGAAsG;AACtG,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,MAAM,CAAC,iBAAiB,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC,CAChE,CAAC;AAiCF;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,GAC1B,MAAM,iBAAiB,EACvB,oBAAkB,EAClB,mBAAmB,wBAAwB,KAC1C,MAAM,CAAC,WAAW,CAAC,EAyDrB,CAAC"}
|
|
@@ -15,6 +15,9 @@ export interface StarToggleButtonProps {
|
|
|
15
15
|
/** Color of the filled (starred) icon. Fallback: `--text-warning-icon`. */
|
|
16
16
|
starFilledColor?: string;
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Ghost icon button that toggles between a filled and outline star.
|
|
20
|
+
* The starred state is exposed to assistive technology via `aria-pressed`.
|
|
21
|
+
*/
|
|
19
22
|
export declare const StarToggleButton: FC<StarToggleButtonProps>;
|
|
20
23
|
//# sourceMappingURL=StarToggleButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StarToggleButton.d.ts","sourceRoot":"","sources":["../../../src/components/StarToggleButton/StarToggleButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvC,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,6CAA6C;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC9C,qEAAqE;IACrE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED
|
|
1
|
+
{"version":3,"file":"StarToggleButton.d.ts","sourceRoot":"","sources":["../../../src/components/StarToggleButton/StarToggleButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvC,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,6CAA6C;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC9C,qEAAqE;IACrE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA8BtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,EAAE,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,gFAAgF;AAChF,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA2DpC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Number of option rows the searchable Create menu shows before it scrolls. */
|
|
2
|
+
export declare const CREATE_MENU_VISIBLE_ROWS = 7;
|
|
3
|
+
/** Maximum height of the searchable Create menu: the search row plus `CREATE_MENU_VISIBLE_ROWS` option rows. */
|
|
4
|
+
export declare const CREATE_MENU_MAX_HEIGHT_PX: number;
|
|
5
|
+
/** Fixed width of the searchable Create menu panel, so filtering never resizes it. */
|
|
6
|
+
export declare const CREATE_MENU_LIST_CLASS_NAME = "w-[320px]";
|
|
7
|
+
//# sourceMappingURL=create-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-menu.d.ts","sourceRoot":"","sources":["../../src/constants/create-menu.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAa1C,gHAAgH;AAChH,eAAO,MAAM,yBAAyB,QAIY,CAAC;AAEnD,sFAAsF;AACtF,eAAO,MAAM,2BAA2B,cAAc,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const CATALOG_CLASS: {
|
|
2
|
+
/** The catalog's `section` root, which carries the themed CSS variables. */
|
|
3
|
+
readonly root: "dial-catalog-root";
|
|
4
|
+
/** The toolbar above the results: title row, search, sort, and view toggle. */
|
|
5
|
+
readonly toolbar: "dial-catalog-toolbar";
|
|
6
|
+
/**
|
|
7
|
+
* One grid card, additive to the `dial-kit-card-shell` that
|
|
8
|
+
* `@epam/ai-dial-ui-kit` draws. Present on a featured and on a selected card
|
|
9
|
+
* too — neither state replaces it.
|
|
10
|
+
*/
|
|
11
|
+
readonly card: "dial-catalog-card";
|
|
12
|
+
/** One favorites card, likewise additive to `dial-kit-card-shell`. */
|
|
13
|
+
readonly favoriteCard: "dial-catalog-favorite-card";
|
|
14
|
+
/**
|
|
15
|
+
* The list view's root: the bordered box around its rows, or the centred box
|
|
16
|
+
* holding the empty state when there are none. A host sizing or framing the
|
|
17
|
+
* region gets the same selector either way.
|
|
18
|
+
*/
|
|
19
|
+
readonly listView: "dial-catalog-list-view";
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=public-class-names.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,aAAa;IACxB,4EAA4E;;IAE5E,+EAA+E;;IAE/E;;;;OAIG;;IAEH,sEAAsE;;IAEtE;;;;OAIG;;CAEK,CAAC"}
|