@datatechsolutions/ui 3.13.1 → 3.15.0
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/dist/astrlabe/graph-node.js +6 -6
- package/dist/astrlabe/graph-node.mjs +2 -2
- package/dist/astrlabe/index.js +113 -113
- package/dist/astrlabe/index.mjs +5 -5
- package/dist/astrlabe/workflow-canvas.js +5 -5
- package/dist/astrlabe/workflow-canvas.mjs +4 -4
- package/dist/{chunk-Q7QPHZOV.js → chunk-2JPS5OND.js} +67 -67
- package/dist/{chunk-Q7QPHZOV.js.map → chunk-2JPS5OND.js.map} +1 -1
- package/dist/{chunk-RPNMDGRA.js → chunk-2QZFKQP6.js} +37 -40
- package/dist/chunk-2QZFKQP6.js.map +1 -0
- package/dist/{chunk-O4RZCDP2.mjs → chunk-2SBVFLPZ.mjs} +19 -2
- package/dist/chunk-2SBVFLPZ.mjs.map +1 -0
- package/dist/{chunk-4VEQJAXJ.mjs → chunk-3FOLXKVP.mjs} +5 -5
- package/dist/{chunk-4VEQJAXJ.mjs.map → chunk-3FOLXKVP.mjs.map} +1 -1
- package/dist/{chunk-PM7A5I3X.js → chunk-435TRHC2.js} +118 -118
- package/dist/{chunk-PM7A5I3X.js.map → chunk-435TRHC2.js.map} +1 -1
- package/dist/{chunk-M4KRQXOT.mjs → chunk-5QRU3KKV.mjs} +3 -3
- package/dist/{chunk-M4KRQXOT.mjs.map → chunk-5QRU3KKV.mjs.map} +1 -1
- package/dist/{chunk-DTFU3ZTD.js → chunk-6NBQTIXX.js} +9 -9
- package/dist/{chunk-DTFU3ZTD.js.map → chunk-6NBQTIXX.js.map} +1 -1
- package/dist/{chunk-CVEI4RQP.js → chunk-6NEESZVO.js} +4 -4
- package/dist/{chunk-CVEI4RQP.js.map → chunk-6NEESZVO.js.map} +1 -1
- package/dist/{chunk-CKY2QIRR.js → chunk-6UUFPSAR.js} +4 -4
- package/dist/{chunk-CKY2QIRR.js.map → chunk-6UUFPSAR.js.map} +1 -1
- package/dist/{chunk-DJHNSBIR.mjs → chunk-7LIJTAIF.mjs} +31 -31
- package/dist/{chunk-DJHNSBIR.mjs.map → chunk-7LIJTAIF.mjs.map} +1 -1
- package/dist/{chunk-4MNKVDTJ.mjs → chunk-A5M7SPPG.mjs} +4 -4
- package/dist/{chunk-4MNKVDTJ.mjs.map → chunk-A5M7SPPG.mjs.map} +1 -1
- package/dist/{chunk-FV42SSLP.js → chunk-A5OMGPMR.js} +4 -4
- package/dist/{chunk-FV42SSLP.js.map → chunk-A5OMGPMR.js.map} +1 -1
- package/dist/{chunk-VWZ53TE2.js → chunk-BN4BKFE2.js} +9 -9
- package/dist/{chunk-VWZ53TE2.js.map → chunk-BN4BKFE2.js.map} +1 -1
- package/dist/{chunk-4Z5NZINA.js → chunk-C4UYEHPY.js} +136 -136
- package/dist/chunk-C4UYEHPY.js.map +1 -0
- package/dist/{chunk-54T5F65C.js → chunk-CPTHSYM2.js} +17 -17
- package/dist/{chunk-54T5F65C.js.map → chunk-CPTHSYM2.js.map} +1 -1
- package/dist/{chunk-3VCSMSJB.mjs → chunk-EZVBRLQH.mjs} +9 -9
- package/dist/{chunk-3VCSMSJB.mjs.map → chunk-EZVBRLQH.mjs.map} +1 -1
- package/dist/{chunk-4QCO4CBC.mjs → chunk-F3PQ5EFQ.mjs} +4 -4
- package/dist/{chunk-4QCO4CBC.mjs.map → chunk-F3PQ5EFQ.mjs.map} +1 -1
- package/dist/{chunk-RUZPOHJW.js → chunk-GD3YV46U.js} +41 -41
- package/dist/{chunk-RUZPOHJW.js.map → chunk-GD3YV46U.js.map} +1 -1
- package/dist/{chunk-Y65X2NHF.mjs → chunk-I6ULYJR4.mjs} +3 -3
- package/dist/{chunk-Y65X2NHF.mjs.map → chunk-I6ULYJR4.mjs.map} +1 -1
- package/dist/{chunk-YHD6SJIN.mjs → chunk-JJUWZNJY.mjs} +4 -4
- package/dist/{chunk-YHD6SJIN.mjs.map → chunk-JJUWZNJY.mjs.map} +1 -1
- package/dist/{chunk-VPRAESA7.mjs → chunk-KDDXDQR2.mjs} +3 -3
- package/dist/{chunk-VPRAESA7.mjs.map → chunk-KDDXDQR2.mjs.map} +1 -1
- package/dist/{chunk-UPWJRCAD.js → chunk-KRS2CLPR.js} +223 -229
- package/dist/chunk-KRS2CLPR.js.map +1 -0
- package/dist/{chunk-RWZ2PLMQ.js → chunk-KZDABEML.js} +211 -154
- package/dist/chunk-KZDABEML.js.map +1 -0
- package/dist/{chunk-TRNDFSM6.mjs → chunk-MSXJFWKD.mjs} +28 -28
- package/dist/chunk-MSXJFWKD.mjs.map +1 -0
- package/dist/{chunk-EBARYRSA.js → chunk-MXQ2EYG2.js} +19 -2
- package/dist/chunk-MXQ2EYG2.js.map +1 -0
- package/dist/{chunk-RMPXGEFL.mjs → chunk-NNR44MM5.mjs} +7 -7
- package/dist/{chunk-RMPXGEFL.mjs.map → chunk-NNR44MM5.mjs.map} +1 -1
- package/dist/{chunk-AC54BNSK.js → chunk-NQCFGIWC.js} +13 -13
- package/dist/{chunk-AC54BNSK.js.map → chunk-NQCFGIWC.js.map} +1 -1
- package/dist/{chunk-7IAWXG43.js → chunk-OQM252SM.js} +33 -33
- package/dist/{chunk-7IAWXG43.js.map → chunk-OQM252SM.js.map} +1 -1
- package/dist/{chunk-VCL5LDS5.js → chunk-PADXORD2.js} +38 -38
- package/dist/{chunk-VCL5LDS5.js.map → chunk-PADXORD2.js.map} +1 -1
- package/dist/{chunk-SCGICCQM.mjs → chunk-PSS3E463.mjs} +7 -10
- package/dist/chunk-PSS3E463.mjs.map +1 -0
- package/dist/{chunk-QEACOJXX.mjs → chunk-QCGSE24W.mjs} +139 -83
- package/dist/chunk-QCGSE24W.mjs.map +1 -0
- package/dist/{chunk-ZPV7X4ZE.mjs → chunk-RH6Z425K.mjs} +6 -6
- package/dist/{chunk-ZPV7X4ZE.mjs.map → chunk-RH6Z425K.mjs.map} +1 -1
- package/dist/{chunk-RSCRIDMW.mjs → chunk-SMUBE3RO.mjs} +46 -52
- package/dist/chunk-SMUBE3RO.mjs.map +1 -0
- package/dist/{chunk-WX44DAQD.mjs → chunk-TQADF23S.mjs} +3 -3
- package/dist/{chunk-WX44DAQD.mjs.map → chunk-TQADF23S.mjs.map} +1 -1
- package/dist/{chunk-B3TA74C4.js → chunk-WG26KW6D.js} +57 -60
- package/dist/chunk-WG26KW6D.js.map +1 -0
- package/dist/{chunk-UUTTS3VV.mjs → chunk-WGS65S7S.mjs} +8 -11
- package/dist/chunk-WGS65S7S.mjs.map +1 -0
- package/dist/{chunk-ULSG4JLR.js → chunk-XJJZ6DHE.js} +6 -6
- package/dist/{chunk-ULSG4JLR.js.map → chunk-XJJZ6DHE.js.map} +1 -1
- package/dist/{chunk-XYMHIZ3K.mjs → chunk-ZBX7UCAP.mjs} +7 -7
- package/dist/{chunk-XYMHIZ3K.mjs.map → chunk-ZBX7UCAP.mjs.map} +1 -1
- package/dist/index.d.mts +77 -7
- package/dist/index.d.ts +77 -7
- package/dist/index.js +707 -703
- package/dist/index.mjs +2 -2
- package/dist/platform/admin/index.js +11 -11
- package/dist/platform/admin/index.mjs +5 -5
- package/dist/platform/agents-workspace.js +8 -8
- package/dist/platform/agents-workspace.mjs +7 -7
- package/dist/platform/app-shell.js +4 -4
- package/dist/platform/app-shell.mjs +3 -3
- package/dist/platform/auth/index.js +28 -28
- package/dist/platform/auth/index.mjs +5 -5
- package/dist/platform/billing/index.js +6 -6
- package/dist/platform/billing/index.mjs +4 -4
- package/dist/platform/impersonation/index.js +4 -4
- package/dist/platform/impersonation/index.mjs +3 -3
- package/dist/platform/index.js +93 -93
- package/dist/platform/index.mjs +21 -21
- package/dist/platform/pages/index.d.mts +103 -1
- package/dist/platform/pages/index.d.ts +103 -1
- package/dist/platform/pages/index.js +1756 -1429
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +1458 -1137
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +8 -8
- package/dist/platform/settings/index.mjs +7 -7
- package/dist/platform/workflow-canvas-shell.js +6 -6
- package/dist/platform/workflow-canvas-shell.mjs +5 -5
- package/package.json +1 -1
- package/dist/chunk-4Z5NZINA.js.map +0 -1
- package/dist/chunk-B3TA74C4.js.map +0 -1
- package/dist/chunk-EBARYRSA.js.map +0 -1
- package/dist/chunk-O4RZCDP2.mjs.map +0 -1
- package/dist/chunk-QEACOJXX.mjs.map +0 -1
- package/dist/chunk-RPNMDGRA.js.map +0 -1
- package/dist/chunk-RSCRIDMW.mjs.map +0 -1
- package/dist/chunk-RWZ2PLMQ.js.map +0 -1
- package/dist/chunk-SCGICCQM.mjs.map +0 -1
- package/dist/chunk-TRNDFSM6.mjs.map +0 -1
- package/dist/chunk-UPWJRCAD.js.map +0 -1
- package/dist/chunk-UUTTS3VV.mjs.map +0 -1
package/dist/platform/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
require('../chunk-
|
|
17
|
-
var
|
|
4
|
+
var chunk6UUFPSAR_js = require('../chunk-6UUFPSAR.js');
|
|
5
|
+
var chunkWG26KW6D_js = require('../chunk-WG26KW6D.js');
|
|
6
|
+
var chunk435TRHC2_js = require('../chunk-435TRHC2.js');
|
|
7
|
+
var chunk6NBQTIXX_js = require('../chunk-6NBQTIXX.js');
|
|
8
|
+
var chunkXJJZ6DHE_js = require('../chunk-XJJZ6DHE.js');
|
|
9
|
+
var chunkOQM252SM_js = require('../chunk-OQM252SM.js');
|
|
10
|
+
var chunkNQCFGIWC_js = require('../chunk-NQCFGIWC.js');
|
|
11
|
+
var chunk2QZFKQP6_js = require('../chunk-2QZFKQP6.js');
|
|
12
|
+
var chunk2JPS5OND_js = require('../chunk-2JPS5OND.js');
|
|
13
|
+
var chunkA5OMGPMR_js = require('../chunk-A5OMGPMR.js');
|
|
14
|
+
var chunkCPTHSYM2_js = require('../chunk-CPTHSYM2.js');
|
|
15
|
+
var chunkGD3YV46U_js = require('../chunk-GD3YV46U.js');
|
|
16
|
+
require('../chunk-PADXORD2.js');
|
|
17
|
+
var chunkBN4BKFE2_js = require('../chunk-BN4BKFE2.js');
|
|
18
18
|
var chunkVY52Y5GC_js = require('../chunk-VY52Y5GC.js');
|
|
19
19
|
var chunk6PBTB5ZX_js = require('../chunk-6PBTB5ZX.js');
|
|
20
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-KRS2CLPR.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
23
|
+
require('../chunk-C4UYEHPY.js');
|
|
24
|
+
var chunkKZDABEML_js = require('../chunk-KZDABEML.js');
|
|
25
25
|
var chunkY5VN4SPH_js = require('../chunk-Y5VN4SPH.js');
|
|
26
26
|
var chunk22XPYFHJ_js = require('../chunk-22XPYFHJ.js');
|
|
27
27
|
require('../chunk-2OZZH2IO.js');
|
|
28
|
-
require('../chunk-
|
|
29
|
-
var
|
|
28
|
+
require('../chunk-6NEESZVO.js');
|
|
29
|
+
var chunkMXQ2EYG2_js = require('../chunk-MXQ2EYG2.js');
|
|
30
30
|
require('../chunk-UZ3CMNUJ.js');
|
|
31
31
|
var chunkS7KHTUHA_js = require('../chunk-S7KHTUHA.js');
|
|
32
32
|
require('../chunk-72SWXOD5.js');
|
|
@@ -47,7 +47,7 @@ function SessionSwitcher({
|
|
|
47
47
|
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
48
48
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "session-switcher", children: [
|
|
49
49
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
50
|
-
|
|
50
|
+
chunkKZDABEML_js.Select,
|
|
51
51
|
{
|
|
52
52
|
value: organizationId,
|
|
53
53
|
"aria-label": tSession("organization"),
|
|
@@ -59,7 +59,7 @@ function SessionSwitcher({
|
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
61
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
62
|
-
|
|
62
|
+
chunkKZDABEML_js.Select,
|
|
63
63
|
{
|
|
64
64
|
value: userEmail,
|
|
65
65
|
"aria-label": tSession("user"),
|
|
@@ -70,7 +70,7 @@ function SessionSwitcher({
|
|
|
70
70
|
placeholder: tSession("user")
|
|
71
71
|
}
|
|
72
72
|
),
|
|
73
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
73
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { outline: true, onClick: () => globalThis.location.reload(), children: tCommon("refresh") })
|
|
74
74
|
] });
|
|
75
75
|
}
|
|
76
76
|
function PlatformDockContainer({
|
|
@@ -81,16 +81,16 @@ function PlatformDockContainer({
|
|
|
81
81
|
}) {
|
|
82
82
|
const pathname = chunkS7KHTUHA_js.usePathname();
|
|
83
83
|
const router = chunkS7KHTUHA_js.useRouter();
|
|
84
|
-
const { logout } =
|
|
84
|
+
const { logout } = chunkKZDABEML_js.useAuth();
|
|
85
85
|
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
86
86
|
const {
|
|
87
87
|
dockPosition,
|
|
88
88
|
dockAutoHide,
|
|
89
89
|
dockEnabled
|
|
90
|
-
} =
|
|
90
|
+
} = chunkKZDABEML_js.usePlatformPreferences();
|
|
91
91
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
92
92
|
const filteredItems = react.useMemo(
|
|
93
|
-
() =>
|
|
93
|
+
() => chunkKZDABEML_js.filterByPermission(navigationItems, actor?.permissions ?? []),
|
|
94
94
|
[navigationItems, actor]
|
|
95
95
|
);
|
|
96
96
|
const handleNavigate = react.useCallback((href) => router.push(href), [router]);
|
|
@@ -100,7 +100,7 @@ function PlatformDockContainer({
|
|
|
100
100
|
if (pathname === dashboardPath) return null;
|
|
101
101
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
102
102
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
103
|
-
|
|
103
|
+
chunkKZDABEML_js.AppNavigation,
|
|
104
104
|
{
|
|
105
105
|
items: filteredItems,
|
|
106
106
|
pathname,
|
|
@@ -119,7 +119,7 @@ function PlatformDockContainer({
|
|
|
119
119
|
}
|
|
120
120
|
),
|
|
121
121
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
122
|
-
|
|
122
|
+
chunkKZDABEML_js.GlassModal,
|
|
123
123
|
{
|
|
124
124
|
open: profileOpen,
|
|
125
125
|
onClose: () => setProfileOpen(false),
|
|
@@ -131,7 +131,7 @@ function PlatformDockContainer({
|
|
|
131
131
|
}
|
|
132
132
|
function useLocaleSwitcher() {
|
|
133
133
|
const locale = chunkY5VN4SPH_js.useLocale();
|
|
134
|
-
const { client } =
|
|
134
|
+
const { client } = chunkKZDABEML_js.useAuth();
|
|
135
135
|
const setLocale = react.useCallback(
|
|
136
136
|
(newLocale) => {
|
|
137
137
|
const resolved = i18n.applyClientLocale(newLocale);
|
|
@@ -152,12 +152,12 @@ var LOCALE_OPTIONS = i18n.SUPPORTED_LOCALES.map((code) => ({
|
|
|
152
152
|
}));
|
|
153
153
|
function PreferencesControls() {
|
|
154
154
|
const { locale, setLocale } = useLocaleSwitcher();
|
|
155
|
-
const { theme, setTheme } =
|
|
155
|
+
const { theme, setTheme } = chunkKZDABEML_js.usePlatformPreferences();
|
|
156
156
|
const toggleTheme = () => setTheme(theme === "dark" ? "light" : "dark");
|
|
157
157
|
const t = chunkY5VN4SPH_js.useTranslations("platform.preferences");
|
|
158
158
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "preferences-controls", children: [
|
|
159
159
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
160
|
-
|
|
160
|
+
chunkKZDABEML_js.Select,
|
|
161
161
|
{
|
|
162
162
|
value: locale,
|
|
163
163
|
options: LOCALE_OPTIONS,
|
|
@@ -165,7 +165,7 @@ function PreferencesControls() {
|
|
|
165
165
|
}
|
|
166
166
|
),
|
|
167
167
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
168
|
-
|
|
168
|
+
chunkMXQ2EYG2_js.IconButton,
|
|
169
169
|
{
|
|
170
170
|
label: t("theme"),
|
|
171
171
|
icon: theme === "dark" ? /* @__PURE__ */ jsxRuntime.jsx(outline.SunIcon, {}) : /* @__PURE__ */ jsxRuntime.jsx(outline.MoonIcon, {}),
|
|
@@ -211,8 +211,8 @@ function mapRoleToOrgRole(role) {
|
|
|
211
211
|
}
|
|
212
212
|
function UsersSettingsSection({ normalizeRole }) {
|
|
213
213
|
const t = chunkY5VN4SPH_js.useTranslations("platform.users");
|
|
214
|
-
const { currentOrganizationId } =
|
|
215
|
-
const { error: notifyError, success: notifySuccess } =
|
|
214
|
+
const { currentOrganizationId } = chunkBN4BKFE2_js.usePlatformState();
|
|
215
|
+
const { error: notifyError, success: notifySuccess } = chunkKZDABEML_js.useNotifications();
|
|
216
216
|
const [users, setUsers] = react.useState([]);
|
|
217
217
|
const [loading, setLoading] = react.useState(true);
|
|
218
218
|
const reload = async () => {
|
|
@@ -229,7 +229,7 @@ function UsersSettingsSection({ normalizeRole }) {
|
|
|
229
229
|
void reload();
|
|
230
230
|
}, [currentOrganizationId]);
|
|
231
231
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
232
|
-
|
|
232
|
+
chunkOQM252SM_js.UsersPageView,
|
|
233
233
|
{
|
|
234
234
|
labels: {
|
|
235
235
|
title: t("title"),
|
|
@@ -265,14 +265,14 @@ function UsersSettingsSection({ normalizeRole }) {
|
|
|
265
265
|
}
|
|
266
266
|
function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }) {
|
|
267
267
|
const t = chunkY5VN4SPH_js.useTranslations("platform.roles");
|
|
268
|
-
const { currentOrganizationId } =
|
|
269
|
-
const { error: notifyError, success: notifySuccess } =
|
|
268
|
+
const { currentOrganizationId } = chunkBN4BKFE2_js.usePlatformState();
|
|
269
|
+
const { error: notifyError, success: notifySuccess } = chunkKZDABEML_js.useNotifications();
|
|
270
270
|
const [users, setUsers] = react.useState([]);
|
|
271
271
|
react.useEffect(() => {
|
|
272
272
|
chunk6PBTB5ZX_js.listUsers({ organizationId: currentOrganizationId }).then((result) => setUsers(result.items.map((row) => mapAdminUser(row, normalizeRole)))).catch((error) => notifyError(error.message));
|
|
273
273
|
}, [currentOrganizationId, notifyError, normalizeRole]);
|
|
274
274
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
275
|
-
|
|
275
|
+
chunkOQM252SM_js.RolesPageView,
|
|
276
276
|
{
|
|
277
277
|
roleDefinitions,
|
|
278
278
|
roleOptions,
|
|
@@ -308,7 +308,7 @@ function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }) {
|
|
|
308
308
|
);
|
|
309
309
|
}
|
|
310
310
|
function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
311
|
-
const { error: notifyError, success: notifySuccess } =
|
|
311
|
+
const { error: notifyError, success: notifySuccess } = chunkKZDABEML_js.useNotifications();
|
|
312
312
|
const t = chunkY5VN4SPH_js.useTranslations("agents.workflow");
|
|
313
313
|
const [connections, setConnections] = react.useState([]);
|
|
314
314
|
const [connectionId, setConnectionId] = react.useState("");
|
|
@@ -354,7 +354,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
357
|
-
|
|
357
|
+
chunkKZDABEML_js.GlassModal,
|
|
358
358
|
{
|
|
359
359
|
open,
|
|
360
360
|
onClose,
|
|
@@ -390,7 +390,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
390
390
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-200", children: [
|
|
391
391
|
t("aiPromptLabel"),
|
|
392
392
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
393
|
-
|
|
393
|
+
chunkKZDABEML_js.Textarea,
|
|
394
394
|
{
|
|
395
395
|
rows: 6,
|
|
396
396
|
className: "mt-1 w-full",
|
|
@@ -414,7 +414,7 @@ function deriveWorkflowName(prompt) {
|
|
|
414
414
|
function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
415
415
|
const tWorkflow = chunkY5VN4SPH_js.useTranslations("agents.workflow");
|
|
416
416
|
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
417
|
-
const { error: notifyError, success: notifySuccess } =
|
|
417
|
+
const { error: notifyError, success: notifySuccess } = chunkKZDABEML_js.useNotifications();
|
|
418
418
|
const [templates, setTemplates] = react.useState([]);
|
|
419
419
|
const [connections, setConnections] = react.useState([]);
|
|
420
420
|
const [templateId, setTemplateId] = react.useState("");
|
|
@@ -479,7 +479,7 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
479
479
|
}
|
|
480
480
|
}, [canSubmit, templateId, connectionId, name, onCreated, onClose, notifySuccess, notifyError, tWorkflow]);
|
|
481
481
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
482
|
-
|
|
482
|
+
chunkKZDABEML_js.GlassModal,
|
|
483
483
|
{
|
|
484
484
|
open,
|
|
485
485
|
onClose,
|
|
@@ -544,7 +544,7 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
544
544
|
}
|
|
545
545
|
)
|
|
546
546
|
] }),
|
|
547
|
-
selectedTemplate && selectedTemplate.tags.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: selectedTemplate.tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
547
|
+
selectedTemplate && selectedTemplate.tags.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: selectedTemplate.tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "indigo", size: "xs", children: tag }, tag)) }) : null
|
|
548
548
|
] }) })
|
|
549
549
|
}
|
|
550
550
|
);
|
|
@@ -552,179 +552,179 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
552
552
|
|
|
553
553
|
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
554
554
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunk6UUFPSAR_js.WorkflowCanvasShell; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkWG26KW6D_js.AdminOrganizationForm; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkWG26KW6D_js.AdminOrganizationList; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkWG26KW6D_js.AdminPermissionList; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkWG26KW6D_js.AdminUserForm; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "AdminUserList", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
576
|
-
});
|
|
577
|
-
Object.defineProperty(exports, "UpgradePrompt", {
|
|
578
|
-
enumerable: true,
|
|
579
|
-
get: function () { return chunkDTFU3ZTD_js.UpgradePrompt; }
|
|
575
|
+
get: function () { return chunkWG26KW6D_js.AdminUserList; }
|
|
580
576
|
});
|
|
581
577
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
582
578
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunk435TRHC2_js.ConsentScreen; }
|
|
584
580
|
});
|
|
585
581
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
586
582
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunk435TRHC2_js.ForgotPassword; }
|
|
588
584
|
});
|
|
589
585
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
590
586
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunk435TRHC2_js.MfaChallenge; }
|
|
592
588
|
});
|
|
593
589
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
594
590
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunk435TRHC2_js.PasswordlessSignIn; }
|
|
596
592
|
});
|
|
597
593
|
Object.defineProperty(exports, "ResetPassword", {
|
|
598
594
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunk435TRHC2_js.ResetPassword; }
|
|
600
596
|
});
|
|
601
597
|
Object.defineProperty(exports, "SignIn", {
|
|
602
598
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunk435TRHC2_js.SignIn; }
|
|
604
600
|
});
|
|
605
601
|
Object.defineProperty(exports, "SignUp", {
|
|
606
602
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunk435TRHC2_js.SignUp; }
|
|
608
604
|
});
|
|
609
605
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
610
606
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunk435TRHC2_js.SsoConnectorList; }
|
|
612
608
|
});
|
|
613
609
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
614
610
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunk435TRHC2_js.SsoEmailForm; }
|
|
616
612
|
});
|
|
617
613
|
Object.defineProperty(exports, "UserButton", {
|
|
618
614
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunk435TRHC2_js.UserButton; }
|
|
620
616
|
});
|
|
621
617
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
622
618
|
enumerable: true,
|
|
623
|
-
get: function () { return
|
|
619
|
+
get: function () { return chunk435TRHC2_js.VerifyEmail; }
|
|
620
|
+
});
|
|
621
|
+
Object.defineProperty(exports, "UpgradePrompt", {
|
|
622
|
+
enumerable: true,
|
|
623
|
+
get: function () { return chunk6NBQTIXX_js.UpgradePrompt; }
|
|
624
624
|
});
|
|
625
625
|
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
626
626
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkXJJZ6DHE_js.ImpersonationBanner; }
|
|
628
628
|
});
|
|
629
629
|
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
630
630
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunkOQM252SM_js.WorkflowWorkspace; }
|
|
632
632
|
});
|
|
633
633
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
634
634
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
635
|
+
get: function () { return chunkNQCFGIWC_js.PlatformSettings; }
|
|
636
636
|
});
|
|
637
637
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
638
638
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
640
|
-
});
|
|
641
|
-
Object.defineProperty(exports, "BillingPanel", {
|
|
642
|
-
enumerable: true,
|
|
643
|
-
get: function () { return chunk54T5F65C_js.BillingPanel; }
|
|
639
|
+
get: function () { return chunk2QZFKQP6_js.AdminOrganizationDetail; }
|
|
644
640
|
});
|
|
645
641
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
646
642
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunk2JPS5OND_js.LinkedAccountsTabContent; }
|
|
648
644
|
});
|
|
649
645
|
Object.defineProperty(exports, "MfaManage", {
|
|
650
646
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunk2JPS5OND_js.MfaManage; }
|
|
652
648
|
});
|
|
653
649
|
Object.defineProperty(exports, "MfaSetup", {
|
|
654
650
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunk2JPS5OND_js.MfaSetup; }
|
|
656
652
|
});
|
|
657
653
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
658
654
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunk2JPS5OND_js.ProfileTabContent; }
|
|
660
656
|
});
|
|
661
657
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
662
658
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunk2JPS5OND_js.SecurityTabContent; }
|
|
664
660
|
});
|
|
665
661
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
666
662
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunk2JPS5OND_js.SessionsTabContent; }
|
|
668
664
|
});
|
|
669
665
|
Object.defineProperty(exports, "UserProfile", {
|
|
670
666
|
enumerable: true,
|
|
671
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunk2JPS5OND_js.UserProfile; }
|
|
672
668
|
});
|
|
673
669
|
Object.defineProperty(exports, "AuthLayout", {
|
|
674
670
|
enumerable: true,
|
|
675
|
-
get: function () { return
|
|
671
|
+
get: function () { return chunkA5OMGPMR_js.AuthLayout; }
|
|
676
672
|
});
|
|
677
673
|
Object.defineProperty(exports, "BackupCodeGrid", {
|
|
678
674
|
enumerable: true,
|
|
679
|
-
get: function () { return
|
|
675
|
+
get: function () { return chunkA5OMGPMR_js.BackupCodeGrid; }
|
|
680
676
|
});
|
|
681
677
|
Object.defineProperty(exports, "OtpInput", {
|
|
682
678
|
enumerable: true,
|
|
683
|
-
get: function () { return
|
|
679
|
+
get: function () { return chunkA5OMGPMR_js.OtpInput; }
|
|
684
680
|
});
|
|
685
681
|
Object.defineProperty(exports, "PasswordStrengthMeter", {
|
|
686
682
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
683
|
+
get: function () { return chunkA5OMGPMR_js.PasswordStrengthMeter; }
|
|
688
684
|
});
|
|
689
685
|
Object.defineProperty(exports, "SocialLoginButtons", {
|
|
690
686
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunkA5OMGPMR_js.SocialLoginButtons; }
|
|
688
|
+
});
|
|
689
|
+
Object.defineProperty(exports, "BillingPanel", {
|
|
690
|
+
enumerable: true,
|
|
691
|
+
get: function () { return chunkCPTHSYM2_js.BillingPanel; }
|
|
692
692
|
});
|
|
693
693
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
694
694
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunkGD3YV46U_js.AgentsWorkspace; }
|
|
696
696
|
});
|
|
697
697
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
698
698
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
699
|
+
get: function () { return chunkGD3YV46U_js.applyWorkflowExecutionEventToStore; }
|
|
700
700
|
});
|
|
701
701
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
702
702
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
703
|
+
get: function () { return chunkGD3YV46U_js.resetWorkflowRunPresentation; }
|
|
704
704
|
});
|
|
705
705
|
Object.defineProperty(exports, "useRunEvents", {
|
|
706
706
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
707
|
+
get: function () { return chunkGD3YV46U_js.useRunEvents; }
|
|
708
708
|
});
|
|
709
709
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
710
710
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
711
|
+
get: function () { return chunkGD3YV46U_js.useWorkflowExecution; }
|
|
712
712
|
});
|
|
713
713
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
714
714
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
715
|
+
get: function () { return chunkGD3YV46U_js.useWorkflowRunPresentation; }
|
|
716
716
|
});
|
|
717
717
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
718
718
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
719
|
+
get: function () { return chunkBN4BKFE2_js.PlatformAppShell; }
|
|
720
720
|
});
|
|
721
721
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
722
722
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
723
|
+
get: function () { return chunkBN4BKFE2_js.PlatformStateProvider; }
|
|
724
724
|
});
|
|
725
725
|
Object.defineProperty(exports, "usePlatformState", {
|
|
726
726
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
727
|
+
get: function () { return chunkBN4BKFE2_js.usePlatformState; }
|
|
728
728
|
});
|
|
729
729
|
Object.defineProperty(exports, "createPlatformRbac", {
|
|
730
730
|
enumerable: true,
|
package/dist/platform/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { WorkflowCanvasShell } from '../chunk-
|
|
3
|
-
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export { ImpersonationBanner } from '../chunk-
|
|
7
|
-
import { UsersPageView, RolesPageView } from '../chunk-
|
|
8
|
-
export { WorkflowWorkspace } from '../chunk-
|
|
9
|
-
export { PlatformSettings } from '../chunk-
|
|
10
|
-
export { AdminOrganizationDetail } from '../chunk-
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export { AgentsWorkspace, applyWorkflowExecutionEventToStore, resetWorkflowRunPresentation, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation } from '../chunk-
|
|
15
|
-
import '../chunk-
|
|
16
|
-
import { usePlatformState } from '../chunk-
|
|
17
|
-
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-
|
|
2
|
+
export { WorkflowCanvasShell } from '../chunk-I6ULYJR4.mjs';
|
|
3
|
+
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-WGS65S7S.mjs';
|
|
4
|
+
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-7LIJTAIF.mjs';
|
|
5
|
+
export { UpgradePrompt } from '../chunk-ZBX7UCAP.mjs';
|
|
6
|
+
export { ImpersonationBanner } from '../chunk-F3PQ5EFQ.mjs';
|
|
7
|
+
import { UsersPageView, RolesPageView } from '../chunk-3FOLXKVP.mjs';
|
|
8
|
+
export { WorkflowWorkspace } from '../chunk-3FOLXKVP.mjs';
|
|
9
|
+
export { PlatformSettings } from '../chunk-RH6Z425K.mjs';
|
|
10
|
+
export { AdminOrganizationDetail } from '../chunk-PSS3E463.mjs';
|
|
11
|
+
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-EZVBRLQH.mjs';
|
|
12
|
+
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../chunk-TQADF23S.mjs';
|
|
13
|
+
export { BillingPanel } from '../chunk-JJUWZNJY.mjs';
|
|
14
|
+
export { AgentsWorkspace, applyWorkflowExecutionEventToStore, resetWorkflowRunPresentation, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation } from '../chunk-NNR44MM5.mjs';
|
|
15
|
+
import '../chunk-A5M7SPPG.mjs';
|
|
16
|
+
import { usePlatformState } from '../chunk-5QRU3KKV.mjs';
|
|
17
|
+
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-5QRU3KKV.mjs';
|
|
18
18
|
export { createPlatformRbac } from '../chunk-BUDZNAKL.mjs';
|
|
19
19
|
import { createUser, listUsers, addOrganizationMember } from '../chunk-UHHPBREK.mjs';
|
|
20
20
|
export { addOrganizationDomain, addOrganizationMember, createOrganization, createOrganizationInvitation, createPermission, createSecret, createUser, deleteOrganization, deletePermission, deleteUser, disableSecret, getSecret, getUserPermissions, listOrganizationDomains, listOrganizationInvitations, listOrganizationMembers, listOrganizations, listPermissions, listSecrets, listUsers, removeOrganizationMember, resetUserPassword, rotateSecret, setUserPermissions, setWindsockAdminClient, updateOrganization, updatePermission, updateUser, verifyOrganizationDomain } from '../chunk-UHHPBREK.mjs';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-SMUBE3RO.mjs';
|
|
22
22
|
import '../chunk-JB6RNAD2.mjs';
|
|
23
23
|
import '../chunk-LEXBTVGM.mjs';
|
|
24
|
-
import '../chunk-
|
|
25
|
-
import { Select, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, useNotifications, Textarea } from '../chunk-
|
|
24
|
+
import '../chunk-MSXJFWKD.mjs';
|
|
25
|
+
import { Select, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, useNotifications, Textarea } from '../chunk-QCGSE24W.mjs';
|
|
26
26
|
import { useTranslations, useLocale } from '../chunk-ZEFNBGYI.mjs';
|
|
27
27
|
import { listModelProviderConnections, listWorkflowTemplates, createWorkflowFromTemplate, aiGenerateWorkflow, createWorkflow, saveWorkflowDraft } from '../chunk-NBW6WJQT.mjs';
|
|
28
28
|
import '../chunk-3AY5HIQ6.mjs';
|
|
29
|
-
import '../chunk-
|
|
30
|
-
import { Button, IconButton, Badge } from '../chunk-
|
|
29
|
+
import '../chunk-KDDXDQR2.mjs';
|
|
30
|
+
import { Button, IconButton, Badge } from '../chunk-2SBVFLPZ.mjs';
|
|
31
31
|
import '../chunk-D2JF6C3E.mjs';
|
|
32
32
|
import { usePathname, useRouter } from '../chunk-QWG2FMUN.mjs';
|
|
33
33
|
import '../chunk-G7JQ4OCE.mjs';
|
|
@@ -961,4 +961,106 @@ type RuleNewWizardPageViewProps = {
|
|
|
961
961
|
};
|
|
962
962
|
declare function RuleNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, }: RuleNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
|
|
963
963
|
|
|
964
|
-
|
|
964
|
+
type AgentNewModalProps = {
|
|
965
|
+
open: boolean;
|
|
966
|
+
onClose: () => void;
|
|
967
|
+
} & AgentNewWizardPageViewProps;
|
|
968
|
+
declare function AgentNewModal({ open, onClose, ...wizardProps }: AgentNewModalProps): react_jsx_runtime.JSX.Element;
|
|
969
|
+
|
|
970
|
+
type DatasourceNewModalProps = {
|
|
971
|
+
open: boolean;
|
|
972
|
+
onClose: () => void;
|
|
973
|
+
} & DatasourceNewWizardPageViewProps;
|
|
974
|
+
declare function DatasourceNewModal({ open, onClose, ...wizardProps }: DatasourceNewModalProps): react_jsx_runtime.JSX.Element;
|
|
975
|
+
|
|
976
|
+
type RuleNewModalProps = {
|
|
977
|
+
open: boolean;
|
|
978
|
+
onClose: () => void;
|
|
979
|
+
} & RuleNewWizardPageViewProps;
|
|
980
|
+
declare function RuleNewModal({ open, onClose, ...wizardProps }: RuleNewModalProps): react_jsx_runtime.JSX.Element;
|
|
981
|
+
|
|
982
|
+
type ModelNewWizardLabels = {
|
|
983
|
+
pageTitle: string;
|
|
984
|
+
pageSubtitle: string;
|
|
985
|
+
wizardStepCounter: string;
|
|
986
|
+
wizardBack: string;
|
|
987
|
+
wizardNext: string;
|
|
988
|
+
wizardCancel: string;
|
|
989
|
+
wizardCreate: string;
|
|
990
|
+
wizardCancelConfirm: string;
|
|
991
|
+
step1Title: string;
|
|
992
|
+
step1Subtitle: string;
|
|
993
|
+
step2Title: string;
|
|
994
|
+
step2Subtitle: string;
|
|
995
|
+
step3Title: string;
|
|
996
|
+
step3Subtitle: string;
|
|
997
|
+
step4Title: string;
|
|
998
|
+
step4Subtitle: string;
|
|
999
|
+
providerLabel: string;
|
|
1000
|
+
nameLabel: string;
|
|
1001
|
+
namePlaceholder: string;
|
|
1002
|
+
regionLabel: string;
|
|
1003
|
+
regionPlaceholder: string;
|
|
1004
|
+
endpointLabel: string;
|
|
1005
|
+
endpointPlaceholder: string;
|
|
1006
|
+
apiKeyLabel: string;
|
|
1007
|
+
apiKeyPlaceholder: string;
|
|
1008
|
+
modelFilterLabel: string;
|
|
1009
|
+
modelFilterPlaceholder: string;
|
|
1010
|
+
testConnection: string;
|
|
1011
|
+
testing: string;
|
|
1012
|
+
connectionSuccess: string;
|
|
1013
|
+
connectionFailed: string;
|
|
1014
|
+
reviewProviderLabel: string;
|
|
1015
|
+
reviewNameLabel: string;
|
|
1016
|
+
reviewRegionLabel: string;
|
|
1017
|
+
reviewEndpointLabel: string;
|
|
1018
|
+
reviewApiKeyLabel: string;
|
|
1019
|
+
reviewApiKeyRedacted: string;
|
|
1020
|
+
reviewModelsLabel: string;
|
|
1021
|
+
reviewNoneValue: string;
|
|
1022
|
+
wizardReviewEdit: string;
|
|
1023
|
+
};
|
|
1024
|
+
type ProviderPreset = {
|
|
1025
|
+
value: string;
|
|
1026
|
+
label: string;
|
|
1027
|
+
category: 'cloud' | 'managed' | 'hosted' | 'local' | 'custom';
|
|
1028
|
+
needsRegion?: boolean;
|
|
1029
|
+
needsEndpoint?: boolean;
|
|
1030
|
+
defaultRegion?: string;
|
|
1031
|
+
/** Optional region whitelist for FormSelect — when omitted, the user gets a free-text input. */
|
|
1032
|
+
regions?: ReadonlyArray<{
|
|
1033
|
+
value: string;
|
|
1034
|
+
label: string;
|
|
1035
|
+
}>;
|
|
1036
|
+
};
|
|
1037
|
+
declare const MODEL_PROVIDERS: readonly ProviderPreset[];
|
|
1038
|
+
type ModelNewFormInput = {
|
|
1039
|
+
providerSlug: string;
|
|
1040
|
+
name: string;
|
|
1041
|
+
region?: string;
|
|
1042
|
+
endpoint?: string;
|
|
1043
|
+
apiKey?: string;
|
|
1044
|
+
modelFilters?: string[];
|
|
1045
|
+
};
|
|
1046
|
+
type ModelNewWizardPageViewProps = {
|
|
1047
|
+
labels: ModelNewWizardLabels;
|
|
1048
|
+
/** Reads `?step=N` so refresh restores the active step; defaults to 1. */
|
|
1049
|
+
initialStep?: number;
|
|
1050
|
+
/** Fires when the user navigates between steps so the host can update the URL. */
|
|
1051
|
+
onStepChange?: (step: number) => void;
|
|
1052
|
+
onSubmit: (input: ModelNewFormInput) => Promise<void>;
|
|
1053
|
+
onCancel: () => void;
|
|
1054
|
+
/** Optional async hook — when wired, lets the user verify credentials. */
|
|
1055
|
+
onTestConnection?: (input: ModelNewFormInput) => Promise<boolean>;
|
|
1056
|
+
/** Existing connections so step 2 can offer "reuse the credentials of …". */
|
|
1057
|
+
existingConnectionNames?: ReadonlyArray<string>;
|
|
1058
|
+
};
|
|
1059
|
+
declare function ModelNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, onTestConnection, }: ModelNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
|
|
1060
|
+
type ModelNewModalProps = {
|
|
1061
|
+
open: boolean;
|
|
1062
|
+
onClose: () => void;
|
|
1063
|
+
} & ModelNewWizardPageViewProps;
|
|
1064
|
+
declare function ModelNewModal({ open, onClose, ...wizardProps }: ModelNewModalProps): react_jsx_runtime.JSX.Element;
|
|
1065
|
+
|
|
1066
|
+
export { type AgentConfigFormInput, AgentNewModal, type AgentNewModalProps, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, DatasourceNewModal, type DatasourceNewModalProps, type DatasourceNewWizardLabels, DatasourceNewWizardPageView, type DatasourceNewWizardPageViewProps, DatasourcesPageView, type DatasourcesPageViewProps, MODEL_PROVIDERS, type ModelNewFormInput, ModelNewModal, type ModelNewModalProps, type ModelNewWizardLabels, ModelNewWizardPageView, type ModelNewWizardPageViewProps, type PromptFormInput, type ProviderPreset, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, RuleNewModal, type RuleNewModalProps, type RuleNewWizardLabels, RuleNewWizardPageView, type RuleNewWizardPageViewProps, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };
|