@epam/ai-dial-catalog 1.4.0-dev.101 → 1.4.0-dev.106
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/SigninInterruptDialog/SigninInterruptDialog.d.ts +1 -1
- package/components/SigninInterruptDialog/SigninInterruptDialog.d.ts.map +1 -1
- package/components/SigninInterruptDialog/SigninInterruptRow/SigninInterruptRow.d.ts +2 -2
- package/components/SigninInterruptDialog/SigninInterruptRow/SigninInterruptRow.d.ts.map +1 -1
- package/index.css +2 -2
- package/index.js +651 -648
- package/models/signin-interrupt-dialog.d.ts +13 -11
- package/models/signin-interrupt-dialog.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -4,11 +4,11 @@ export interface SigninInterruptDialogRow {
|
|
|
4
4
|
id: string;
|
|
5
5
|
/** Resource display name. */
|
|
6
6
|
displayName: string;
|
|
7
|
-
/** Resource version rendered in
|
|
7
|
+
/** Resource version rendered in secondary text after the name, when present. */
|
|
8
8
|
displayVersion?: string;
|
|
9
9
|
/** Current value of the row's API key field. */
|
|
10
10
|
apiKey: string;
|
|
11
|
-
/** Whether a login or decline is in flight; disables the row's controls and shows a spinner on
|
|
11
|
+
/** Whether a login or decline is in flight; disables the row's controls and shows a spinner on its login action. */
|
|
12
12
|
isProcessing: boolean;
|
|
13
13
|
/** Whether `Log in` is enabled while the row is idle. */
|
|
14
14
|
canSubmitLogin: boolean;
|
|
@@ -18,7 +18,7 @@ export interface SigninInterruptDialogRow {
|
|
|
18
18
|
requiresNoCredentials: boolean;
|
|
19
19
|
/** Whether to render the DIAL-native offline-access hint. */
|
|
20
20
|
showDialNativeHint: boolean;
|
|
21
|
-
/** Translated recoverable error, rendered
|
|
21
|
+
/** Translated recoverable error, rendered under the name while the row's login action reads Retry; omitted when the row has none. */
|
|
22
22
|
errorMessage?: string;
|
|
23
23
|
}
|
|
24
24
|
/** Localizable copy of `SigninInterruptDialog`; omitted values use English defaults. */
|
|
@@ -29,11 +29,13 @@ export interface SigninInterruptDialogLabels {
|
|
|
29
29
|
description?: string;
|
|
30
30
|
/** Footer action declining every row. Defaults to `'Decline all'`. */
|
|
31
31
|
declineAll?: string;
|
|
32
|
-
/**
|
|
32
|
+
/** Footer action logging in to the next actionable row, given its name. Defaults to `` (name) => `Log in to ${name}` ``. */
|
|
33
|
+
logInTo?: (name: string) => string;
|
|
34
|
+
/** Accessible name of the per-row icon-only decline action. Defaults to `'Decline'`. */
|
|
33
35
|
decline?: string;
|
|
34
36
|
/** Per-row login action and its spinner's accessible name. Defaults to `'Log in'`. */
|
|
35
37
|
logIn?: string;
|
|
36
|
-
/**
|
|
38
|
+
/** Per-row login action while the row shows an error. Defaults to `'Retry'`. */
|
|
37
39
|
retry?: string;
|
|
38
40
|
/** API key field label. Defaults to `'API key'`. */
|
|
39
41
|
apiKeyLabel?: string;
|
|
@@ -50,13 +52,13 @@ export interface SigninInterruptDialogLabels {
|
|
|
50
52
|
}
|
|
51
53
|
/** Color overrides of `SigninInterruptDialog`, applied as `--cat-signin-*` custom properties. */
|
|
52
54
|
export interface SigninInterruptDialogColors {
|
|
53
|
-
/**
|
|
54
|
-
|
|
55
|
+
/** Row background on hover and while a row control has focus. Defaults to `--bg-control-neutral-hover-muted`. */
|
|
56
|
+
rowHoverBackground?: string;
|
|
55
57
|
/** Row name text. Defaults to `--text-primary`. */
|
|
56
58
|
nameText?: string;
|
|
57
59
|
/** Row error text and icon. Defaults to `--text-error`. */
|
|
58
60
|
errorText?: string;
|
|
59
|
-
/** DIAL-native hint and no-credentials label. Defaults to `--text-secondary`. */
|
|
61
|
+
/** Row version, DIAL-native hint and no-credentials label. Defaults to `--text-secondary`. */
|
|
60
62
|
hintText?: string;
|
|
61
63
|
/** Text under the heading. Defaults to `--text-secondary`. */
|
|
62
64
|
descriptionText?: string;
|
|
@@ -75,11 +77,11 @@ export interface SigninInterruptDialogProps {
|
|
|
75
77
|
onOfflineUsageConsentChange: (value: boolean) => void;
|
|
76
78
|
/** Called with a row id and its new API key. */
|
|
77
79
|
onApiKeyChange: (rowId: string, value: string) => void;
|
|
78
|
-
/** Called with a row id on `Log in`
|
|
80
|
+
/** Called with a row id on its `Log in` / Retry action, or with the first idle, submittable row needing credentials on the footer's `Log in to …`; must open any OAuth popup synchronously. */
|
|
79
81
|
onLogin: (rowId: string) => void;
|
|
80
82
|
/** Called with a row id on `Decline`. */
|
|
81
83
|
onDecline: (rowId: string) => void;
|
|
82
|
-
/** Called on `Decline all
|
|
84
|
+
/** Called on `Decline all`; the footer with `Decline all` and `Log in to …` renders only while more than one row is listed. */
|
|
83
85
|
onDeclineAll: () => void;
|
|
84
86
|
/** Copy overrides. */
|
|
85
87
|
labels?: SigninInterruptDialogLabels;
|
|
@@ -91,7 +93,7 @@ export interface SigninInterruptDialogProps {
|
|
|
91
93
|
nameClassName?: string;
|
|
92
94
|
/** Typography class of each row error. Defaults to `'dial-small-text'`. */
|
|
93
95
|
errorClassName?: string;
|
|
94
|
-
/** Typography class of the DIAL-native hint and the no-credentials label. Defaults to `'dial-small-text'`. */
|
|
96
|
+
/** Typography class of the row version, the DIAL-native hint and the no-credentials label. Defaults to `'dial-small-text'`. */
|
|
95
97
|
hintClassName?: string;
|
|
96
98
|
}
|
|
97
99
|
//# sourceMappingURL=signin-interrupt-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signin-interrupt-dialog.d.ts","sourceRoot":"","sources":["../../src/models/signin-interrupt-dialog.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,WAAW,wBAAwB;IACvC,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,
|
|
1
|
+
{"version":3,"file":"signin-interrupt-dialog.d.ts","sourceRoot":"","sources":["../../src/models/signin-interrupt-dialog.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,WAAW,wBAAwB;IACvC,0DAA0D;IA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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-catalog",
|
|
3
3
|
"description": "Marketplace catalog component for browsing models, tools, and assistants with search, filter, and sort",
|
|
4
|
-
"version": "1.4.0-dev.
|
|
4
|
+
"version": "1.4.0-dev.106",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@tabler/icons-react": "^3.50.0",
|
|
30
30
|
"ag-grid-community": "^35.3.0",
|
|
31
|
-
"@epam/ai-dial-publish-panel": "1.4.0-dev.
|
|
31
|
+
"@epam/ai-dial-publish-panel": "1.4.0-dev.106"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "^19.2.8",
|
|
35
|
-
"@epam/ai-dial-chat-shared": "1.4.0-dev.
|
|
35
|
+
"@epam/ai-dial-chat-shared": "1.4.0-dev.106",
|
|
36
36
|
"@epam/ai-dial-ui-kit": "^0.16.0"
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|