@epam/ai-dial-catalog 1.3.0-dev.326 → 1.3.0-dev.331

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.
@@ -0,0 +1,97 @@
1
+ /** Host-resolved presentation of one pending sign-in request. */
2
+ export interface SigninInterruptDialogRow {
3
+ /** Pending event id passed back to every row callback. */
4
+ id: string;
5
+ /** Resource display name. */
6
+ displayName: string;
7
+ /** Resource version rendered in parentheses after the name, when present. */
8
+ displayVersion?: string;
9
+ /** Current value of the row's API key field. */
10
+ apiKey: string;
11
+ /** Whether a login or decline is in flight; disables the row's controls and shows a spinner on `Log in`. */
12
+ isProcessing: boolean;
13
+ /** Whether `Log in` is enabled while the row is idle. */
14
+ canSubmitLogin: boolean;
15
+ /** Whether to render the password-type API key field. */
16
+ requiresApiKey: boolean;
17
+ /** Whether the resource needs no credentials; replaces the actions with the no-credentials label. */
18
+ requiresNoCredentials: boolean;
19
+ /** Whether to render the DIAL-native offline-access hint. */
20
+ showDialNativeHint: boolean;
21
+ /** Translated recoverable error, rendered with a Retry action; omitted when the row has none. */
22
+ errorMessage?: string;
23
+ }
24
+ /** Localizable copy of `SigninInterruptDialog`; omitted values use English defaults. */
25
+ export interface SigninInterruptDialogLabels {
26
+ /** Dialog heading. Defaults to `'Sign-in required'`. */
27
+ title?: string;
28
+ /** Text under the heading. Defaults to `'One or more tools or services need you to sign in before the conversation can continue.'`. */
29
+ description?: string;
30
+ /** Footer action declining every row. Defaults to `'Decline all'`. */
31
+ declineAll?: string;
32
+ /** Per-row decline action. Defaults to `'Decline'`. */
33
+ decline?: string;
34
+ /** Per-row login action and its spinner's accessible name. Defaults to `'Log in'`. */
35
+ logIn?: string;
36
+ /** Retry action next to a row error. Defaults to `'Retry'`. */
37
+ retry?: string;
38
+ /** API key field label. Defaults to `'API key'`. */
39
+ apiKeyLabel?: string;
40
+ /** API key field placeholder. Defaults to `'Enter API key'`. */
41
+ apiKeyPlaceholder?: string;
42
+ /** DIAL-native row hint. Defaults to `'Connect your account for offline access. An administrator must separately approve this application's access.'`. */
43
+ dialNativeHint?: string;
44
+ /** Label of a row that needs no credentials. Defaults to `'No credentials required'`. */
45
+ noCredentialsRequired?: string;
46
+ /** Offline-use consent checkbox label. Defaults to `'Allow offline use'`. */
47
+ offlineUsageConsent?: string;
48
+ /** Offline-use consent checkbox caption. Defaults to `'Required for scheduled and background runs.'`. */
49
+ offlineUsageConsentHint?: string;
50
+ }
51
+ /** Color overrides of `SigninInterruptDialog`, applied as `--cat-signin-*` custom properties. */
52
+ export interface SigninInterruptDialogColors {
53
+ /** Divider between rows. Defaults to `--stroke-primary`. */
54
+ rowBorder?: string;
55
+ /** Row name text. Defaults to `--text-primary`. */
56
+ nameText?: string;
57
+ /** Row error text and icon. Defaults to `--text-error`. */
58
+ errorText?: string;
59
+ /** DIAL-native hint and no-credentials label. Defaults to `--text-secondary`. */
60
+ hintText?: string;
61
+ /** Text under the heading. Defaults to `--text-secondary`. */
62
+ descriptionText?: string;
63
+ }
64
+ /** Props of `SigninInterruptDialog`. */
65
+ export interface SigninInterruptDialogProps {
66
+ /** Pending sign-in requests in display order; an empty list renders nothing. */
67
+ rows: SigninInterruptDialogRow[];
68
+ /** Status announced politely after a row resolves. Defaults to `''`. */
69
+ statusMessage?: string;
70
+ /** Whether to render the offline-use consent checkbox. Defaults to `false`. */
71
+ isOfflineUsageConsentShown?: boolean;
72
+ /** Checked state of the offline-use consent checkbox. */
73
+ offlineUsageConsent: boolean;
74
+ /** Called with the new offline-use consent. */
75
+ onOfflineUsageConsentChange: (value: boolean) => void;
76
+ /** Called with a row id and its new API key. */
77
+ onApiKeyChange: (rowId: string, value: string) => void;
78
+ /** Called with a row id on `Log in` or Retry; must open any OAuth popup synchronously. */
79
+ onLogin: (rowId: string) => void;
80
+ /** Called with a row id on `Decline`. */
81
+ onDecline: (rowId: string) => void;
82
+ /** Called on `Decline all`, which renders only while more than one row is listed. */
83
+ onDeclineAll: () => void;
84
+ /** Copy overrides. */
85
+ labels?: SigninInterruptDialogLabels;
86
+ /** Color overrides. */
87
+ colors?: SigninInterruptDialogColors;
88
+ /** Typography class of the text under the heading. Defaults to `'dial-small-text'`. */
89
+ descriptionClassName?: string;
90
+ /** Typography class of each row name. Defaults to `'dial-body-semi-text'`. */
91
+ nameClassName?: string;
92
+ /** Typography class of each row error. Defaults to `'dial-small-text'`. */
93
+ errorClassName?: string;
94
+ /** Typography class of the DIAL-native hint and the no-credentials label. Defaults to `'dial-small-text'`. */
95
+ hintClassName?: string;
96
+ }
97
+ //# sourceMappingURL=signin-interrupt-dialog.d.ts.map
@@ -0,0 +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,6EAA6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,4GAA4G;IAC5G,YAAY,EAAE,OAAO,CAAC;IACtB,yDAAyD;IACzD,cAAc,EAAE,OAAO,CAAC;IACxB,yDAAyD;IACzD,cAAc,EAAE,OAAO,CAAC;IACxB,qGAAqG;IACrG,qBAAqB,EAAE,OAAO,CAAC;IAC/B,6DAA6D;IAC7D,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iGAAiG;IACjG,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wFAAwF;AACxF,MAAM,WAAW,2BAA2B;IAC1C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uIAAuI;IACvI,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,OAAO,CAA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KAAK,IAAI,CAAC;IACjC,yCAAyC;IACzC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,qFAAqF;IACrF,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,sBAAsB;IACtB,MAAM,CAAC,EAAE,2BAA2B,CAAC;IACrC,uBAAuB;IACvB,MAAM,CAAC,EAAE,2BAA2B,CAAC;IACrC,uFAAuF;IACvF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,8EAA8E;IAC9E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8GAA8G;IAC9G,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
package/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.3.0-dev.326",
4
+ "version": "1.3.0-dev.331",
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.3.0-dev.326"
31
+ "@epam/ai-dial-publish-panel": "1.3.0-dev.331"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^19.2.8",
35
- "@epam/ai-dial-chat-shared": "1.3.0-dev.326",
35
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.331",
36
36
  "@epam/ai-dial-ui-kit": "^0.16.0-dev.72"
37
37
  },
38
38
  "repository": {