@epam/ai-dial-toolset-editor 1.3.0-dev.241 → 1.3.0-dev.244

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.
@@ -1 +1 @@
1
- {"version":3,"file":"AuthSection.d.ts","sourceRoot":"","sources":["../../../src/components/AuthSection/AuthSection.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAEV,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AA+BzC,uIAAuI;AACvI,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAmd5C,CAAC"}
1
+ {"version":3,"file":"AuthSection.d.ts","sourceRoot":"","sources":["../../../src/components/AuthSection/AuthSection.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAEV,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AA+BzC,uIAAuI;AACvI,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAid5C,CAAC"}
package/index.css CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.static{position:static}.block{display:block}.flex{display:flex}.inline{display:inline}.max-w-\[1060px\]{max-width:1060px}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-tertiary{border-color:var(--stroke-tertiary,#e0e6f0)}.px-2{padding-inline:.5rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-start{text-align:start}.text-primary{color:var(--text-primary,#161b2d)}.text-secondary{color:var(--text-secondary,#57647a)}@media (min-width:1280px){.desktop\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.block{display:block}.flex{display:flex}.inline{display:inline}.max-w-\[1060px\]{max-width:1060px}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-tertiary{border-color:var(--stroke-tertiary,#e0e6f0)}.px-2{padding-inline:.5rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-start{text-align:start}.text-primary{color:var(--text-primary,#161b2d)}.text-secondary{color:var(--text-secondary,#57647a)}@media (min-width:1280px){.desktop\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
package/index.js CHANGED
@@ -3,15 +3,15 @@ import { ToolsetAuthTypes as s, ToolsetCredentialsLevel as c, WithLogin as l, ge
3
3
  import { CopyButton as d, ENTITY_DESCRIPTION_MAX_LENGTH as f, ENTITY_NAME_MAX_LENGTH as p, TAG_INPUT_TAG_CLASS_NAME as m, TextRefinementField as h, mergeClasses as g, useCodeCopy as _, useTextRefinement as v } from "@epam/ai-dial-chat-shared";
4
4
  import { memo as y, useCallback as b, useEffect as x, useMemo as S, useRef as C, useState as w } from "react";
5
5
  import { IconBrandOauth as T, IconKey as E, IconLockOff as D, IconLogin as ee, IconLogout as te } from "@tabler/icons-react";
6
- import { ConfirmationPopup as ne, ConfirmationPopupVariant as O, DIAL_ICON_SIZE as k, DIAL_KIT_ICON_STROKE as A, Input as j, NeutralButton as M, PasswordInput as N, Radio as P, RadioGroup as F, SegmentedControl as I, Select as L, TagInput as re } from "@epam/ai-dial-ui-kit";
7
- import { jsx as R, jsxs as z } from "react/jsx-runtime";
6
+ import { CaptionText as ne, ConfirmationPopup as O, ConfirmationPopupVariant as re, DIAL_ICON_SIZE as k, DIAL_KIT_ICON_STROKE as A, Input as j, NeutralButton as M, PasswordInput as ie, Radio as N, RadioGroup as P, SegmentedControl as F, Select as ae, TagInput as I } from "@epam/ai-dial-ui-kit";
7
+ import { jsx as L, jsxs as R } from "react/jsx-runtime";
8
8
  //#region src/constants/public-class-names.ts
9
- var ie = {
9
+ var z = {
10
10
  metadataSection: "dial-toolset-editor-metadata-section",
11
11
  setupSection: "dial-toolset-editor-setup-section"
12
12
  }, B = /* @__PURE__ */ function(e) {
13
13
  return e.Http = "HTTP", e.Sse = "SSE", e;
14
- }({}), ae = e, oe = {
14
+ }({}), V = e, oe = {
15
15
  name: {
16
16
  label: "Name",
17
17
  placeholder: "Enter name"
@@ -50,17 +50,17 @@ var ie = {
50
50
  saveLabel: "Save"
51
51
  },
52
52
  ariaLabel: "General"
53
- }, V = {
53
+ }, H = {
54
54
  [s.OAuth]: T,
55
55
  [s.ApiKey]: E,
56
56
  [s.None]: D
57
- }, se = () => ({
57
+ }, U = () => ({
58
58
  authenticationType: s.None,
59
59
  withLogin: l.WithoutLogin,
60
60
  isLoggedIn: !1
61
- }), H = () => ({
61
+ }), W = () => ({
62
62
  name: "",
63
- version: ae,
63
+ version: V,
64
64
  iconUrl: "",
65
65
  description: "",
66
66
  topics: [],
@@ -68,80 +68,80 @@ var ie = {
68
68
  endpoint: "",
69
69
  protocol: B.Http,
70
70
  allowedTools: [],
71
- auth: se()
72
- }), U = (e) => {
71
+ auth: U()
72
+ }), G = (e) => {
73
73
  if (!/^https?:\/\//.test(e) || e.endsWith(".") || e.endsWith("//")) return !1;
74
74
  try {
75
75
  return !!new URL(e);
76
76
  } catch {
77
77
  return !1;
78
78
  }
79
- }, W = (e) => U(e.trim()), ce = (e) => e.replace(/^(https?):\/([^/])/, "$1://$2"), le = (e) => {
79
+ }, K = (e) => G(e.trim()), se = (e) => e.replace(/^(https?):\/([^/])/, "$1://$2"), q = (e) => {
80
80
  let t = e?.trim() ?? "";
81
- if (!t || U(t)) return t;
81
+ if (!t || G(t)) return t;
82
82
  let n = [t];
83
83
  try {
84
84
  let e = decodeURIComponent(t);
85
85
  e !== t && n.push(e);
86
86
  } catch {}
87
87
  for (let e of n) {
88
- let t = ce(e);
89
- if (U(t)) return t;
88
+ let t = se(e);
89
+ if (G(t)) return t;
90
90
  }
91
91
  return t;
92
- }, G = (e, t = !1) => e.isLoggedIn ? !0 : e.authenticationType === s.ApiKey ? e.keyHeader?.trim() ? e.withLogin === l.WithoutLogin || !!(e.keyHeader?.trim() && e.apiKey?.trim()) : !1 : e.authenticationType === s.OAuth && e.withLogin === l.WithConfig ? !!e.clientId?.trim() && (t || !!e.clientSecret?.trim()) && W(e.authorizationEndpoint ?? "") && W(e.tokenEndpoint ?? "") : !0, ue = (e, t = !1) => Object.keys(o(e, { validateVersionPattern: !0 })).length === 0 && W(e.endpoint) && G(e.auth, t), K = /* @__PURE__ */ new Set([
92
+ }, J = (e, t = !1) => e.isLoggedIn ? !0 : e.authenticationType === s.ApiKey ? e.keyHeader?.trim() ? e.withLogin === l.WithoutLogin || !!(e.keyHeader?.trim() && e.apiKey?.trim()) : !1 : e.authenticationType === s.OAuth && e.withLogin === l.WithConfig ? !!e.clientId?.trim() && (t || !!e.clientSecret?.trim()) && K(e.authorizationEndpoint ?? "") && K(e.tokenEndpoint ?? "") : !0, ce = (e, t = !1) => Object.keys(o(e, { validateVersionPattern: !0 })).length === 0 && K(e.endpoint) && J(e.auth, t), le = /* @__PURE__ */ new Set([
93
93
  "name",
94
94
  "description",
95
95
  "iconUrl",
96
96
  "version",
97
97
  "topics",
98
98
  "otherLocales"
99
- ]), de = (e) => ({
99
+ ]), ue = (e) => ({
100
100
  name: e.name,
101
101
  description: e.description,
102
102
  iconUrl: e.iconUrl,
103
103
  version: e.version,
104
104
  topics: e.topics,
105
105
  otherLocales: e.otherLocales
106
- }), fe = (e) => {
106
+ }), de = (e) => {
107
107
  let t = {}, n = {};
108
- for (let [r, i] of Object.entries(e)) (K.has(r) ? t : n)[r] = i;
108
+ for (let [r, i] of Object.entries(e)) (le.has(r) ? t : n)[r] = i;
109
109
  return {
110
110
  metadata: t,
111
111
  setup: n
112
112
  };
113
- }, q = /* @__PURE__ */ function(e) {
113
+ }, Y = /* @__PURE__ */ function(e) {
114
114
  return e.Success = "success", e.Cancelled = "cancelled", e.PopupBlocked = "popup-blocked", e.InvalidConfig = "invalid-config", e.Failed = "failed", e;
115
- }({}), J = "toolset-client-secret-keep-caption", Y = (e) => `******${e}`, pe = (e) => e === s.None ? l.WithoutLogin : l.WithLogin, X = (e, t) => e === s.None ? t?.typeNone ?? "Open access" : e === s.OAuth ? t?.typeOAuth ?? "OAuth" : t?.typeApiKey ?? "API Key", me = ({ auth: e, errors: t, isSaving: n, toolsetId: r, isEditMode: i, endpoint: a, authActions: o, onOAuthLogin: d, onNotifySuccess: f, onNotifyError: p, onAuthChange: h, onEnsureSaved: g, labels: _ }) => {
116
- let [v, y] = w(!1), [b, x] = w(!1), S = e.isLoggedIn || n || v, C = i && e.clientSecretHint && !e.clientSecret ? e.clientSecretHint : void 0, T = W(a) && G(e, i) && !S, E = (t) => {
115
+ }({}), X = "toolset-client-secret-keep-caption", fe = (e) => `******${e}`, Z = (e) => e === s.None ? l.WithoutLogin : l.WithLogin, pe = (e, t) => e === s.None ? t?.typeNone ?? "Open access" : e === s.OAuth ? t?.typeOAuth ?? "OAuth" : t?.typeApiKey ?? "API Key", Q = ({ auth: e, errors: t, isSaving: n, toolsetId: r, isEditMode: i, endpoint: a, authActions: o, onOAuthLogin: d, onNotifySuccess: f, onNotifyError: p, onAuthChange: h, onEnsureSaved: g, labels: _ }) => {
116
+ let [v, y] = w(!1), [b, x] = w(!1), S = e.isLoggedIn || n || v, C = i && e.clientSecretHint && !e.clientSecret ? e.clientSecretHint : void 0, T = K(a) && J(e, i) && !S, E = (t) => {
117
117
  S || t === e.authenticationType || h({
118
118
  authenticationType: t,
119
- withLogin: pe(t)
119
+ withLogin: Z(t)
120
120
  });
121
121
  }, D = (e) => {
122
122
  h({ withLogin: e });
123
- }, F = (e) => {
123
+ }, P = (e) => {
124
124
  switch (e.auth != null && h(e.auth), e.status) {
125
- case q.Success:
125
+ case Y.Success:
126
126
  h({ isLoggedIn: !0 }), f(_?.loginSuccessMessage ?? "Successfully logged in.");
127
127
  return;
128
- case q.PopupBlocked:
128
+ case Y.PopupBlocked:
129
129
  p(_?.errorPopupBlocked ?? "The login popup was blocked by your browser. Please allow popups for this site and try again.");
130
130
  return;
131
- case q.InvalidConfig:
131
+ case Y.InvalidConfig:
132
132
  p(_?.errorOAuthConfigMissing ?? "The OAuth provider did not return a valid client configuration. Please check the endpoint or contact your administrator.");
133
133
  return;
134
- case q.Failed:
134
+ case Y.Failed:
135
135
  p(_?.errorLoginFailed ?? "Failed to log in. Please check your credentials and try again.", e.traceId);
136
136
  return;
137
- case q.Cancelled: return;
137
+ case Y.Cancelled: return;
138
138
  }
139
- }, L = async () => {
139
+ }, ae = async () => {
140
140
  if (!T) return;
141
141
  if (e.authenticationType === s.OAuth) {
142
142
  y(!0);
143
143
  try {
144
- F(await d({
144
+ P(await d({
145
145
  auth: e,
146
146
  ensureSaved: g
147
147
  }));
@@ -168,7 +168,7 @@ var ie = {
168
168
  y(!1);
169
169
  }
170
170
  }
171
- }, ie = async () => {
171
+ }, z = async () => {
172
172
  y(!0);
173
173
  try {
174
174
  let t = {
@@ -183,37 +183,37 @@ var ie = {
183
183
  } finally {
184
184
  y(!1);
185
185
  }
186
- }, B = () => e.isLoggedIn ? /* @__PURE__ */ R("div", {
186
+ }, B = () => e.isLoggedIn ? /* @__PURE__ */ L("div", {
187
187
  className: "flex",
188
- children: /* @__PURE__ */ R(M, {
188
+ children: /* @__PURE__ */ L(M, {
189
189
  label: _?.logOutLabel ?? "Log out",
190
- iconBefore: /* @__PURE__ */ R(te, {
190
+ iconBefore: /* @__PURE__ */ L(te, {
191
191
  size: k.MD,
192
192
  stroke: A
193
193
  }),
194
194
  onClick: () => x(!0),
195
195
  disabled: n || v
196
196
  })
197
- }) : /* @__PURE__ */ R("div", {
197
+ }) : /* @__PURE__ */ L("div", {
198
198
  className: "flex",
199
- children: /* @__PURE__ */ R(M, {
199
+ children: /* @__PURE__ */ L(M, {
200
200
  label: _?.logInLabel ?? "Log in",
201
- iconBefore: /* @__PURE__ */ R(ee, {
201
+ iconBefore: /* @__PURE__ */ L(ee, {
202
202
  size: k.MD,
203
203
  stroke: A
204
204
  }),
205
- onClick: L,
205
+ onClick: ae,
206
206
  disabled: !T
207
207
  })
208
208
  });
209
- return /* @__PURE__ */ z("section", {
209
+ return /* @__PURE__ */ R("section", {
210
210
  className: "flex flex-col gap-2",
211
211
  children: [
212
- /* @__PURE__ */ R("h3", {
212
+ /* @__PURE__ */ L("h3", {
213
213
  className: "dial-h3-text",
214
214
  children: _?.sectionTitle ?? "Authentication"
215
215
  }),
216
- /* @__PURE__ */ R(I, {
216
+ /* @__PURE__ */ L(F, {
217
217
  "aria-label": _?.sectionTitle ?? "Authentication",
218
218
  value: e.authenticationType,
219
219
  onChange: (e) => E(e),
@@ -223,35 +223,35 @@ var ie = {
223
223
  s.OAuth,
224
224
  s.ApiKey
225
225
  ].map((t) => {
226
- let n = V[t];
226
+ let n = H[t];
227
227
  return {
228
228
  value: t,
229
- label: /* @__PURE__ */ z("div", {
229
+ label: /* @__PURE__ */ R("div", {
230
230
  className: "flex items-center gap-2",
231
- children: [/* @__PURE__ */ R(n, {
231
+ children: [/* @__PURE__ */ L(n, {
232
232
  className: "shrink-0",
233
233
  size: k.SM,
234
234
  stroke: A,
235
235
  "aria-hidden": !0
236
- }), /* @__PURE__ */ R("span", {
236
+ }), /* @__PURE__ */ L("span", {
237
237
  className: "sr-only desktop:not-sr-only",
238
- children: X(t, _)
238
+ children: pe(t, _)
239
239
  })]
240
240
  }),
241
241
  disabled: S && e.authenticationType !== t
242
242
  };
243
243
  })
244
244
  }),
245
- e.authenticationType === s.None && /* @__PURE__ */ R("p", {
245
+ e.authenticationType === s.None && /* @__PURE__ */ L("p", {
246
246
  className: "dial-small-text pt-2 text-secondary",
247
247
  children: _?.openAccessDescription ?? "Open endpoint, no credentials"
248
248
  }),
249
- e.authenticationType === s.OAuth && /* @__PURE__ */ z("div", {
249
+ e.authenticationType === s.OAuth && /* @__PURE__ */ R("div", {
250
250
  className: "flex flex-col gap-3 pt-2",
251
251
  children: [
252
- /* @__PURE__ */ z("div", {
252
+ /* @__PURE__ */ R("div", {
253
253
  className: "flex flex-col gap-2",
254
- children: [/* @__PURE__ */ R(P, {
254
+ children: [/* @__PURE__ */ L(N, {
255
255
  name: "oauth-login-mode",
256
256
  id: "oauth-with-login",
257
257
  value: l.WithLogin,
@@ -259,7 +259,7 @@ var ie = {
259
259
  isSelected: e.withLogin === l.WithLogin,
260
260
  disabled: S,
261
261
  onChange: D
262
- }), /* @__PURE__ */ R(P, {
262
+ }), /* @__PURE__ */ L(N, {
263
263
  name: "oauth-login-mode",
264
264
  id: "oauth-with-config",
265
265
  value: l.WithConfig,
@@ -269,10 +269,10 @@ var ie = {
269
269
  onChange: D
270
270
  })]
271
271
  }),
272
- e.withLogin === l.WithConfig && /* @__PURE__ */ z("div", {
272
+ e.withLogin === l.WithConfig && /* @__PURE__ */ R("div", {
273
273
  className: "flex flex-col gap-3",
274
274
  children: [
275
- /* @__PURE__ */ R(j, {
275
+ /* @__PURE__ */ L(j, {
276
276
  id: "toolset-client-id",
277
277
  value: e.clientId ?? "",
278
278
  onChange: (e) => h({ clientId: e ?? "" }),
@@ -285,9 +285,9 @@ var ie = {
285
285
  invalid: !!t.clientId,
286
286
  disabled: S
287
287
  }),
288
- /* @__PURE__ */ z("div", {
288
+ /* @__PURE__ */ R("div", {
289
289
  className: "flex flex-col gap-1",
290
- children: [/* @__PURE__ */ R(N, {
290
+ children: [/* @__PURE__ */ L(ie, {
291
291
  id: "toolset-client-secret",
292
292
  value: e.clientSecret ?? "",
293
293
  onChange: (e) => h({ clientSecret: e ?? "" }),
@@ -295,20 +295,19 @@ var ie = {
295
295
  label: _?.clientSecretLabel ?? "Client secret",
296
296
  required: !i
297
297
  },
298
- placeholder: C == null ? _?.clientSecretPlaceholder ?? "Enter client secret" : (_?.clientSecretHintPlaceholder ?? Y)(C),
299
- "aria-describedby": C == null ? void 0 : J,
298
+ placeholder: C == null ? _?.clientSecretPlaceholder ?? "Enter client secret" : (_?.clientSecretHintPlaceholder ?? fe)(C),
299
+ "aria-describedby": C == null ? void 0 : X,
300
300
  showPasswordLabel: _?.showClientSecretLabel ?? "Show client secret",
301
301
  hidePasswordLabel: _?.hideClientSecretLabel ?? "Hide client secret",
302
302
  error: t.clientSecret || void 0,
303
303
  invalid: !!t.clientSecret,
304
304
  disabled: S
305
- }), C != null && /* @__PURE__ */ R("p", {
306
- id: J,
307
- className: "dial-tiny-text text-secondary",
308
- children: _?.clientSecretKeepCaption ?? "Leave empty to keep the saved secret."
305
+ }), C != null && /* @__PURE__ */ L(ne, {
306
+ id: X,
307
+ text: _?.clientSecretKeepCaption ?? "Leave empty to keep the saved secret."
309
308
  })]
310
309
  }),
311
- /* @__PURE__ */ R(j, {
310
+ /* @__PURE__ */ L(j, {
312
311
  id: "toolset-authorization-endpoint",
313
312
  value: e.authorizationEndpoint ?? "",
314
313
  onChange: (e) => h({ authorizationEndpoint: e ?? "" }),
@@ -321,7 +320,7 @@ var ie = {
321
320
  invalid: !!t.authorizationEndpoint,
322
321
  disabled: S
323
322
  }),
324
- /* @__PURE__ */ R(j, {
323
+ /* @__PURE__ */ L(j, {
325
324
  id: "toolset-token-endpoint",
326
325
  value: e.tokenEndpoint ?? "",
327
326
  onChange: (e) => h({ tokenEndpoint: e ?? "" }),
@@ -334,7 +333,7 @@ var ie = {
334
333
  invalid: !!t.tokenEndpoint,
335
334
  disabled: S
336
335
  }),
337
- /* @__PURE__ */ R(re, {
336
+ /* @__PURE__ */ L(I, {
338
337
  id: "toolset-scopes",
339
338
  labelProps: { label: _?.scopesLabel ?? "Scopes" },
340
339
  placeholder: _?.scopesPlaceholder ?? "Enter scopes",
@@ -348,12 +347,12 @@ var ie = {
348
347
  B()
349
348
  ]
350
349
  }),
351
- e.authenticationType === s.ApiKey && /* @__PURE__ */ z("div", {
350
+ e.authenticationType === s.ApiKey && /* @__PURE__ */ R("div", {
352
351
  className: "flex flex-col gap-3 pt-2",
353
352
  children: [
354
- /* @__PURE__ */ z("div", {
353
+ /* @__PURE__ */ R("div", {
355
354
  className: "flex flex-col gap-2",
356
- children: [/* @__PURE__ */ R(P, {
355
+ children: [/* @__PURE__ */ L(N, {
357
356
  name: "apikey-login-mode",
358
357
  id: "apikey-with-login",
359
358
  value: l.WithLogin,
@@ -361,7 +360,7 @@ var ie = {
361
360
  isSelected: e.withLogin === l.WithLogin,
362
361
  disabled: S,
363
362
  onChange: D
364
- }), /* @__PURE__ */ R(P, {
363
+ }), /* @__PURE__ */ L(N, {
365
364
  name: "apikey-login-mode",
366
365
  id: "apikey-without-login",
367
366
  value: l.WithoutLogin,
@@ -371,9 +370,9 @@ var ie = {
371
370
  onChange: D
372
371
  })]
373
372
  }),
374
- /* @__PURE__ */ z("div", {
373
+ /* @__PURE__ */ R("div", {
375
374
  className: "flex flex-col gap-3",
376
- children: [/* @__PURE__ */ R(j, {
375
+ children: [/* @__PURE__ */ L(j, {
377
376
  id: "toolset-key-header",
378
377
  value: e.keyHeader ?? "",
379
378
  onChange: (e) => h({ keyHeader: e ?? "" }),
@@ -385,7 +384,7 @@ var ie = {
385
384
  error: t.keyHeader || void 0,
386
385
  invalid: !!t.keyHeader,
387
386
  disabled: S
388
- }), e.withLogin === l.WithLogin && /* @__PURE__ */ R(N, {
387
+ }), e.withLogin === l.WithLogin && /* @__PURE__ */ L(ie, {
389
388
  id: "toolset-api-key",
390
389
  value: e.apiKey ?? "",
391
390
  onChange: (e) => h({ apiKey: e ?? "" }),
@@ -404,43 +403,43 @@ var ie = {
404
403
  e.withLogin !== l.WithoutLogin && B()
405
404
  ]
406
405
  }),
407
- b && /* @__PURE__ */ R(ne, {
406
+ b && /* @__PURE__ */ L(O, {
408
407
  open: b,
409
408
  header: _?.logoutConfirmTitle ?? "Log out?",
410
409
  description: _?.logoutConfirmDescription ?? "Are you sure you want to log out? You will need to re-enter your credentials to use this toolset again.",
411
410
  confirmLabel: _?.logOutLabel ?? "Log out",
412
411
  cancelLabel: _?.cancelLabel ?? "Cancel",
413
- variant: O.Danger,
412
+ variant: re.Danger,
414
413
  isLoading: v,
415
414
  disableConfirmButton: v,
416
- onConfirm: ie,
415
+ onConfirm: z,
417
416
  onCancel: () => x(!1),
418
417
  onClose: () => x(!1)
419
418
  })
420
419
  ]
421
420
  });
422
- }, Z = y(({ url: e, className: t, labels: n }) => {
421
+ }, $ = y(({ url: e, className: t, labels: n }) => {
423
422
  let { isCopied: r, copy: i } = _(e), a = n?.copiedLabel ?? "Copied!";
424
- return /* @__PURE__ */ z("div", {
423
+ return /* @__PURE__ */ R("div", {
425
424
  className: g("flex flex-col gap-3", t),
426
425
  children: [
427
- /* @__PURE__ */ z("div", {
426
+ /* @__PURE__ */ R("div", {
428
427
  className: "flex flex-col gap-1",
429
- children: [/* @__PURE__ */ R("p", {
428
+ children: [/* @__PURE__ */ L("p", {
430
429
  className: "dial-body-semi-text text-start text-primary",
431
430
  children: n?.title ?? "Connect toolset"
432
- }), /* @__PURE__ */ R("p", {
431
+ }), /* @__PURE__ */ L("p", {
433
432
  className: "dial-small-text text-start text-secondary",
434
433
  children: n?.description ?? "Copy endpoint URL to easily integrate toolset into your workflows"
435
434
  })]
436
435
  }),
437
- /* @__PURE__ */ R("div", { children: /* @__PURE__ */ R(d, {
436
+ /* @__PURE__ */ L("div", { children: /* @__PURE__ */ L(d, {
438
437
  copiedLabel: a,
439
438
  copyLabel: n?.copyLabel ?? "Copy URL",
440
439
  isCopied: r,
441
440
  onClick: i
442
441
  }) }),
443
- /* @__PURE__ */ R("span", {
442
+ /* @__PURE__ */ L("span", {
444
443
  role: "status",
445
444
  "aria-live": "polite",
446
445
  className: "sr-only",
@@ -448,7 +447,7 @@ var ie = {
448
447
  })
449
448
  ]
450
449
  });
451
- }), he = ({ form: e, errors: t, isSaving: n, toolsetId: r, isEditMode: i, connectUrl: a, listToolNames: o, authActions: s, onOAuthLogin: c, onNotifySuccess: l, onNotifyError: u, onChange: d, onAuthChange: f, onEnsureSaved: p, labels: h }) => {
450
+ }), me = ({ form: e, errors: t, isSaving: n, toolsetId: r, isEditMode: i, connectUrl: a, listToolNames: o, authActions: s, onOAuthLogin: c, onNotifySuccess: l, onNotifyError: u, onChange: d, onAuthChange: f, onEnsureSaved: p, labels: h }) => {
452
451
  let [g, _] = w(null), v = !!a && !!r, y = S(() => [{
453
452
  value: B.Http,
454
453
  label: "HTTP"
@@ -457,7 +456,7 @@ var ie = {
457
456
  label: "SSE"
458
457
  }], []);
459
458
  return x(() => {
460
- if (!r || !o || !G(e.auth, i)) {
459
+ if (!r || !o || !J(e.auth, i)) {
461
460
  _(null);
462
461
  return;
463
462
  }
@@ -478,10 +477,10 @@ var ie = {
478
477
  e.auth,
479
478
  e.endpoint,
480
479
  o
481
- ]), /* @__PURE__ */ z("div", {
480
+ ]), /* @__PURE__ */ R("div", {
482
481
  className: "flex max-w-[1060px] flex-col gap-4",
483
482
  children: [
484
- /* @__PURE__ */ R(j, {
483
+ /* @__PURE__ */ L(j, {
485
484
  id: "toolset-endpoint",
486
485
  value: e.endpoint,
487
486
  onChange: (e) => d({ endpoint: e ?? "" }),
@@ -494,7 +493,7 @@ var ie = {
494
493
  error: t.endpoint || void 0,
495
494
  invalid: !!t.endpoint
496
495
  }),
497
- /* @__PURE__ */ R(F, {
496
+ /* @__PURE__ */ L(P, {
498
497
  labelProps: {
499
498
  label: h?.protocolLabel ?? "Protocol",
500
499
  required: !0
@@ -506,7 +505,7 @@ var ie = {
506
505
  d({ protocol: e });
507
506
  }
508
507
  }),
509
- g ? /* @__PURE__ */ R(L, {
508
+ g ? /* @__PURE__ */ L(ae, {
510
509
  id: "toolset-allowed-tools",
511
510
  multiple: !0,
512
511
  searchable: !0,
@@ -519,7 +518,7 @@ var ie = {
519
518
  })),
520
519
  value: e.allowedTools,
521
520
  onChange: (e) => d({ allowedTools: e })
522
- }) : /* @__PURE__ */ R(re, {
521
+ }) : /* @__PURE__ */ L(I, {
523
522
  id: "toolset-allowed-tools",
524
523
  labelProps: { label: h?.allowedToolsLabel ?? "Allowed tools" },
525
524
  placeholder: h?.allowedToolsPlaceholder ?? "Add tools, comma separated",
@@ -527,7 +526,7 @@ var ie = {
527
526
  onChange: (e) => d({ allowedTools: e }),
528
527
  tagClassName: m
529
528
  }),
530
- /* @__PURE__ */ R(me, {
529
+ /* @__PURE__ */ L(Q, {
531
530
  auth: e.auth,
532
531
  errors: t,
533
532
  isSaving: n,
@@ -542,205 +541,205 @@ var ie = {
542
541
  onEnsureSaved: p,
543
542
  labels: h?.auth
544
543
  }),
545
- v && /* @__PURE__ */ R(Z, {
544
+ v && /* @__PURE__ */ L($, {
546
545
  url: a ?? "",
547
546
  labels: h?.connect,
548
547
  className: "border-t border-tertiary pt-4"
549
548
  })
550
549
  ]
551
550
  });
552
- }, ge = [
551
+ }, he = [
553
552
  "keyHeader",
554
553
  "apiKey",
555
554
  "clientId",
556
555
  "clientSecret",
557
556
  "authorizationEndpoint",
558
557
  "tokenEndpoint"
559
- ], _e = ["endpoint", ...ge], Q = new Set(_e), ve = { validateVersionPattern: !0 }, ye = (e) => {
558
+ ], ge = ["endpoint", ...he], _e = new Set(ge), ve = { validateVersionPattern: !0 }, ye = (e) => {
560
559
  let t = {};
561
- for (let n of Object.keys(e)) Q.has(n) && (t[n] = !0);
560
+ for (let n of Object.keys(e)) _e.has(n) && (t[n] = !0);
562
561
  return t;
563
- }, be = ({ initialForm: e, toolsetId: o, onPersist: c, onPostSaveLogin: d, onToolsetsChanged: m, onSaveSuccess: g, onSaveComplete: _, onBack: y, onDirtyChange: T, buildMcpUrl: E, listToolNames: D, authActions: ee, onOAuthLogin: te, onNotifySuccess: ne, onNotifyError: O, avatarPicker: k, availableLocaleOptions: A, onRefineDescription: j, labels: M }) => {
564
- let N = !!o, [P, F] = w(""), I = o || P, [L, re] = w({
562
+ }, be = ({ initialForm: e, toolsetId: o, onPersist: c, onPostSaveLogin: d, onToolsetsChanged: m, onSaveSuccess: g, onSaveComplete: _, onBack: y, onDirtyChange: T, buildMcpUrl: E, listToolNames: D, authActions: ee, onOAuthLogin: te, onNotifySuccess: ne, onNotifyError: O, avatarPicker: re, availableLocaleOptions: k, onRefineDescription: A, labels: j }) => {
563
+ let M = !!o, [ie, N] = w(""), P = o || ie, [F, ae] = w({
565
564
  initialForm: e,
566
565
  key: 0
567
- }), [z, B] = w(e);
568
- L.initialForm !== e && (re({
566
+ }), [I, R] = w(e);
567
+ F.initialForm !== e && (ae({
569
568
  initialForm: e,
570
- key: L.key + 1
571
- }), B(e));
572
- let ae = S(() => de(e), [e]), { values: V, setValues: se, markTouched: H, visibleErrorCodes: U, attemptSubmit: ce } = a({
573
- initialValues: ae,
569
+ key: F.key + 1
570
+ }), R(e));
571
+ let B = S(() => ue(e), [e]), { values: V, setValues: H, markTouched: U, visibleErrorCodes: W, attemptSubmit: G } = a({
572
+ initialValues: B,
574
573
  validationOptions: ve,
575
- reseedKey: L.key
576
- }), [le, G] = w(e), K = S(() => ({
577
- ...le,
574
+ reseedKey: F.key
575
+ }), [se, q] = w(e), J = S(() => ({
576
+ ...se,
578
577
  ...V
579
- }), [le, V]), q = S(() => JSON.stringify(K) !== JSON.stringify(z), [K, z]);
578
+ }), [se, V]), le = S(() => JSON.stringify(J) !== JSON.stringify(I), [J, I]);
580
579
  x(() => {
581
- T?.(q);
582
- }, [q, T]);
583
- let [J, Y] = w(!1), [pe, X] = w({}), [me, Z] = w({}), Q = C(null);
580
+ T?.(le);
581
+ }, [le, T]);
582
+ let [Y, X] = w(!1), [fe, Z] = w({}), [pe, Q] = w({}), $ = C(null);
584
583
  x(() => {
585
- G(e), Q.current = e, X({}), Z({}), F("");
584
+ q(e), $.current = e, Z({}), Q({}), N("");
586
585
  }, [e]);
587
- let be = b((e) => {
588
- let { metadata: t, setup: n } = fe(e);
589
- Object.keys(t).length > 0 && (se(t), "name" in t && H(r.Name), "version" in t && H(r.Version)), Object.keys(n).length !== 0 && (G((e) => ({
586
+ let _e = b((e) => {
587
+ let { metadata: t, setup: n } = de(e);
588
+ Object.keys(t).length > 0 && (H(t), "name" in t && U(r.Name), "version" in t && U(r.Version)), Object.keys(n).length !== 0 && (q((e) => ({
590
589
  ...e,
591
590
  ...n
592
- })), Z((e) => ({
591
+ })), Q((e) => ({
593
592
  ...e,
594
593
  ...ye(n)
595
- })), X((e) => {
594
+ })), Z((e) => {
596
595
  let t = { ...e };
597
596
  for (let e of Object.keys(n)) delete t[e];
598
597
  return t;
599
598
  }));
600
- }, [se, H]), xe = b((e) => {
601
- G((t) => ({
599
+ }, [H, U]), be = b((e) => {
600
+ q((t) => ({
602
601
  ...t,
603
602
  auth: {
604
603
  ...t.auth,
605
604
  ...e
606
605
  }
607
- })), Z((t) => ({
606
+ })), Q((t) => ({
608
607
  ...t,
609
608
  ...ye(e)
610
- })), X((t) => {
609
+ })), Z((t) => {
611
610
  let n = { ...t };
612
- if ("authenticationType" in e || "withLogin" in e || "isLoggedIn" in e) for (let e of ge) delete n[e];
611
+ if ("authenticationType" in e || "withLogin" in e || "isLoggedIn" in e) for (let e of he) delete n[e];
613
612
  else for (let t of Object.keys(e)) delete n[t];
614
613
  return n;
615
614
  }), "isLoggedIn" in e && m();
616
- }, [m]), Se = b(async () => {
617
- if (I && Q.current != null && JSON.stringify(Q.current) === JSON.stringify(K)) return I;
618
- Y(!0);
615
+ }, [m]), xe = b(async () => {
616
+ if (P && $.current != null && JSON.stringify($.current) === JSON.stringify(J)) return P;
617
+ X(!0);
619
618
  try {
620
- let e = await c(K, I);
621
- return e ? (I || F(e), Q.current = K, B(K), T?.(!1), await m(), e) : null;
619
+ let e = await c(J, P);
620
+ return e ? (P || N(e), $.current = J, R(J), T?.(!1), await m(), e) : null;
622
621
  } catch {
623
622
  return null;
624
623
  } finally {
625
- Y(!1);
624
+ X(!1);
626
625
  }
627
626
  }, [
628
- K,
629
- I,
627
+ J,
628
+ P,
630
629
  c,
631
630
  m,
632
631
  T
633
- ]), Ce = b(async () => await Se() ?? !1, [Se]), $ = b((e) => {
634
- let t = M?.validation, n = {};
635
- return e.endpoint.trim() ? W(e.endpoint) || (n.endpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.endpoint = t?.endpointRequired ?? "Endpoint is required", e.auth.isLoggedIn || (e.auth.authenticationType === s.ApiKey && (e.auth.keyHeader?.trim() || (n.keyHeader = t?.keyHeaderRequired ?? "Key name is required"), e.auth.withLogin === l.WithLogin && !e.auth.apiKey?.trim() && (n.apiKey = t?.apiKeyRequired ?? "API key is required")), e.auth.authenticationType === s.OAuth && e.auth.withLogin === l.WithConfig && (e.auth.clientId?.trim() || (n.clientId = t?.clientIdRequired ?? "Client ID is required"), !N && !e.auth.clientSecret?.trim() && (n.clientSecret = t?.clientSecretRequired ?? "Client secret is required"), e.auth.authorizationEndpoint?.trim() ? W(e.auth.authorizationEndpoint) || (n.authorizationEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.authorizationEndpoint = t?.authorizationEndpointRequired ?? "Authorization endpoint is required", e.auth.tokenEndpoint?.trim() ? W(e.auth.tokenEndpoint) || (n.tokenEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.tokenEndpoint = t?.tokenEndpointRequired ?? "Token endpoint is required")), n;
636
- }, [M, N]), we = b(async () => {
637
- let e = ce(), t = $(K);
638
- if (!e || Object.keys(t).length > 0) X(t);
632
+ ]), Se = b(async () => await xe() ?? !1, [xe]), Ce = b((e) => {
633
+ let t = j?.validation, n = {};
634
+ return e.endpoint.trim() ? K(e.endpoint) || (n.endpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.endpoint = t?.endpointRequired ?? "Endpoint is required", e.auth.isLoggedIn || (e.auth.authenticationType === s.ApiKey && (e.auth.keyHeader?.trim() || (n.keyHeader = t?.keyHeaderRequired ?? "Key name is required"), e.auth.withLogin === l.WithLogin && !e.auth.apiKey?.trim() && (n.apiKey = t?.apiKeyRequired ?? "API key is required")), e.auth.authenticationType === s.OAuth && e.auth.withLogin === l.WithConfig && (e.auth.clientId?.trim() || (n.clientId = t?.clientIdRequired ?? "Client ID is required"), !M && !e.auth.clientSecret?.trim() && (n.clientSecret = t?.clientSecretRequired ?? "Client secret is required"), e.auth.authorizationEndpoint?.trim() ? K(e.auth.authorizationEndpoint) || (n.authorizationEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.authorizationEndpoint = t?.authorizationEndpointRequired ?? "Authorization endpoint is required", e.auth.tokenEndpoint?.trim() ? K(e.auth.tokenEndpoint) || (n.tokenEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.tokenEndpoint = t?.tokenEndpointRequired ?? "Token endpoint is required")), n;
635
+ }, [j, M]), we = b(async () => {
636
+ let e = G(), t = Ce(J);
637
+ if (!e || Object.keys(t).length > 0) Z(t);
639
638
  else {
640
- X({}), Y(!0);
639
+ Z({}), X(!0);
641
640
  try {
642
- let e = await c(K, I);
641
+ let e = await c(J, P);
643
642
  if (!e) return;
644
- B(K), await m(), g(K);
643
+ R(J), await m(), g(J);
645
644
  try {
646
- await d(e, K.auth), _();
645
+ await d(e, J.auth), _();
647
646
  } catch (e) {
648
647
  let { traceId: t } = await u(e);
649
- O(M?.settings?.auth?.errorLoginFailed ?? "Failed to log in. Please check your credentials and try again.", t);
648
+ O(j?.settings?.auth?.errorLoginFailed ?? "Failed to log in. Please check your credentials and try again.", t);
650
649
  }
651
650
  } catch {} finally {
652
- Y(!1);
651
+ X(!1);
653
652
  }
654
653
  }
655
654
  }, [
656
- ce,
657
- K,
658
- $,
659
- I,
655
+ G,
656
+ J,
657
+ Ce,
658
+ P,
660
659
  c,
661
660
  m,
662
661
  g,
663
662
  _,
664
663
  d,
665
664
  O,
666
- M
665
+ j
667
666
  ]), Te = v({
668
667
  value: V.description,
669
- onChange: (e) => be({ description: e }),
670
- onRefine: j,
671
- disabled: J,
672
- resetKey: L.key
673
- }), Ee = j ? (e, t) => /* @__PURE__ */ R(h, {
668
+ onChange: (e) => _e({ description: e }),
669
+ onRefine: A,
670
+ disabled: Y,
671
+ resetKey: F.key
672
+ }), Ee = A ? (e, t) => /* @__PURE__ */ L(h, {
674
673
  isEnabled: !0,
675
674
  fieldId: t,
676
- label: M?.general?.form?.description.label ?? "Description",
677
- labels: M?.refinement,
675
+ label: j?.general?.form?.description.label ?? "Description",
676
+ labels: j?.refinement,
678
677
  refinement: Te,
679
- disabled: Te.isPending || J,
678
+ disabled: Te.isPending || Y,
680
679
  children: e
681
680
  }) : void 0, De = S(() => ({
682
- form: M?.general?.form ?? oe,
683
- avatarPicker: M?.general?.avatarPicker
684
- }), [M?.general?.form, M?.general?.avatarPicker]), Oe = S(() => !ue(K, N), [K, N]), ke = S(() => {
685
- let e = M?.validation, n = $(K), r = { ...pe };
686
- for (let e of _e) {
687
- if (!me[e]) continue;
681
+ form: j?.general?.form ?? oe,
682
+ avatarPicker: j?.general?.avatarPicker
683
+ }), [j?.general?.form, j?.general?.avatarPicker]), Oe = S(() => !ce(J, M), [J, M]), ke = S(() => {
684
+ let e = j?.validation, n = Ce(J), r = { ...fe };
685
+ for (let e of ge) {
686
+ if (!pe[e]) continue;
688
687
  let t = n[e];
689
688
  t ? r[e] = t : delete r[e];
690
689
  }
691
- return U.name === t.Required ? r.name = e?.nameRequired ?? "Name is required" : U.name === t.TooLong ? r.name = e?.nameTooLong ?? `Use ${p} characters or fewer.` : U.name === t.ControlCharacters && (r.name = e?.nameControlCharacters ?? "Remove line breaks, tabs and other control characters."), U.description === t.TooLong && (r.description = e?.descriptionTooLong ?? `Use ${f} characters or fewer.`), U.version === t.InvalidFormat && (r.version = e?.versionInvalid ?? "Version may only contain letters, digits, dots, underscores, and dashes"), r;
690
+ return W.name === t.Required ? r.name = e?.nameRequired ?? "Name is required" : W.name === t.TooLong ? r.name = e?.nameTooLong ?? `Use ${p} characters or fewer.` : W.name === t.ControlCharacters && (r.name = e?.nameControlCharacters ?? "Remove line breaks, tabs and other control characters."), W.description === t.TooLong && (r.description = e?.descriptionTooLong ?? `Use ${f} characters or fewer.`), W.version === t.InvalidFormat && (r.version = e?.versionInvalid ?? "Version may only contain letters, digits, dots, underscores, and dashes"), r;
692
691
  }, [
693
- me,
694
692
  pe,
695
- K,
696
- M,
697
- U,
698
- $
699
- ]), Ae = E && I ? E(I) : void 0;
700
- return /* @__PURE__ */ R(n, {
701
- title: N ? M?.layout?.editTitle ?? "Edit toolset" : M?.layout?.createTitle ?? "Create toolset",
693
+ fe,
694
+ J,
695
+ j,
696
+ W,
697
+ Ce
698
+ ]), Ae = E && P ? E(P) : void 0;
699
+ return /* @__PURE__ */ L(n, {
700
+ title: M ? j?.layout?.editTitle ?? "Edit toolset" : j?.layout?.createTitle ?? "Create toolset",
702
701
  onBack: y,
703
702
  onCancel: y,
704
703
  onSubmit: we,
705
- submitLabel: N ? M?.layout?.saveLabel ?? "Save" : M?.layout?.createLabel ?? "Create",
706
- isSubmitting: J,
704
+ submitLabel: M ? j?.layout?.saveLabel ?? "Save" : j?.layout?.createLabel ?? "Create",
705
+ isSubmitting: Y,
707
706
  isSubmitDisabled: Oe || Te.isPending,
708
- metadataSectionClassName: ie.metadataSection,
709
- setupSectionClassName: ie.setupSection,
707
+ metadataSectionClassName: z.metadataSection,
708
+ setupSectionClassName: z.setupSection,
710
709
  labels: {
711
- backAriaLabel: M?.layout?.backAriaLabel ?? "Back to catalog",
712
- savingStatusLabel: M?.layout?.savingStatusLabel ?? "Saving",
713
- metadataTitle: M?.layout?.metadataSectionTitle ?? "Metadata",
714
- setupTitle: M?.layout?.setupSectionTitle ?? "Setup",
715
- cancelLabel: M?.layout?.cancelLabel ?? "Cancel"
710
+ backAriaLabel: j?.layout?.backAriaLabel ?? "Back to catalog",
711
+ savingStatusLabel: j?.layout?.savingStatusLabel ?? "Saving",
712
+ metadataTitle: j?.layout?.metadataSectionTitle ?? "Metadata",
713
+ setupTitle: j?.layout?.setupSectionTitle ?? "Setup",
714
+ cancelLabel: j?.layout?.cancelLabel ?? "Cancel"
716
715
  },
717
- metadata: /* @__PURE__ */ R(i, {
718
- values: K,
716
+ metadata: /* @__PURE__ */ L(i, {
717
+ values: J,
719
718
  errors: ke,
720
- onChange: be,
721
- avatarPicker: k,
722
- availableLocaleOptions: A,
719
+ onChange: _e,
720
+ avatarPicker: re,
721
+ availableLocaleOptions: k,
723
722
  renderDescription: Ee,
724
723
  labels: De
725
724
  }),
726
- setup: /* @__PURE__ */ R(he, {
727
- form: K,
725
+ setup: /* @__PURE__ */ L(me, {
726
+ form: J,
728
727
  errors: ke,
729
- isSaving: J,
730
- toolsetId: I,
731
- isEditMode: N,
728
+ isSaving: Y,
729
+ toolsetId: P,
730
+ isEditMode: M,
732
731
  connectUrl: Ae,
733
732
  listToolNames: D,
734
733
  authActions: ee,
735
734
  onOAuthLogin: te,
736
735
  onNotifySuccess: ne,
737
736
  onNotifyError: O,
738
- onChange: be,
739
- onAuthChange: xe,
740
- onEnsureSaved: Ce,
741
- labels: M?.settings
737
+ onChange: _e,
738
+ onAuthChange: be,
739
+ onEnsureSaved: Se,
740
+ labels: j?.settings
742
741
  })
743
742
  });
744
743
  };
745
744
  //#endregion
746
- export { V as AUTH_TYPE_ICONS, ae as DEFAULT_TOOLSET_VERSION, ie as TOOLSET_EDITOR_CLASS, be as ToolsetEditor, q as ToolsetOAuthLoginStatus, B as ToolsetTransportType, H as getDefaultToolsetForm, G as isToolsetAuthValid, ue as isToolsetFormValid, W as isValidEndpointUrl, le as normalizeReturnedEndpointUrl };
745
+ export { H as AUTH_TYPE_ICONS, V as DEFAULT_TOOLSET_VERSION, z as TOOLSET_EDITOR_CLASS, be as ToolsetEditor, Y as ToolsetOAuthLoginStatus, B as ToolsetTransportType, W as getDefaultToolsetForm, J as isToolsetAuthValid, ce as isToolsetFormValid, K as isValidEndpointUrl, q as normalizeReturnedEndpointUrl };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-toolset-editor",
3
3
  "description": "Host-agnostic form for authoring and editing a DIAL MCP toolset",
4
- "version": "1.3.0-dev.241",
4
+ "version": "1.3.0-dev.244",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tabler/icons-react": "^3.44.0",
21
- "@epam/ai-dial-builder-form": "1.3.0-dev.241"
21
+ "@epam/ai-dial-builder-form": "1.3.0-dev.244"
22
22
  },
23
23
  "peerDependencies": {
24
- "@epam/ai-dial-chat-hooks": "1.3.0-dev.241",
25
- "@epam/ai-dial-chat-shared": "1.3.0-dev.241",
24
+ "@epam/ai-dial-chat-hooks": "1.3.0-dev.244",
25
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.244",
26
26
  "@epam/ai-dial-ui-kit": "^0.16.0-dev.45",
27
27
  "react": "^19.2.8"
28
28
  },