@datatechsolutions/ui 3.13.1 → 3.14.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 +114 -114
- package/dist/astrlabe/index.mjs +6 -6
- package/dist/astrlabe/workflow-canvas.js +6 -6
- package/dist/astrlabe/workflow-canvas.mjs +5 -5
- package/dist/{chunk-VCL5LDS5.js → chunk-2II2NLAZ.js} +38 -38
- package/dist/{chunk-VCL5LDS5.js.map → chunk-2II2NLAZ.js.map} +1 -1
- package/dist/{chunk-O4RZCDP2.mjs → chunk-2SBVFLPZ.mjs} +19 -2
- package/dist/chunk-2SBVFLPZ.mjs.map +1 -0
- package/dist/{chunk-TRNDFSM6.mjs → chunk-33ZWFDVG.mjs} +14 -14
- package/dist/chunk-33ZWFDVG.mjs.map +1 -0
- package/dist/{chunk-VWZ53TE2.js → chunk-4HZ55YKZ.js} +9 -9
- package/dist/{chunk-VWZ53TE2.js.map → chunk-4HZ55YKZ.js.map} +1 -1
- package/dist/{chunk-ULSG4JLR.js → chunk-4P72IJOM.js} +6 -6
- package/dist/{chunk-ULSG4JLR.js.map → chunk-4P72IJOM.js.map} +1 -1
- package/dist/{chunk-4Z5NZINA.js → chunk-5SCZB5UI.js} +122 -122
- package/dist/chunk-5SCZB5UI.js.map +1 -0
- package/dist/{chunk-Y65X2NHF.mjs → chunk-5YCH7FHT.mjs} +3 -3
- package/dist/{chunk-Y65X2NHF.mjs.map → chunk-5YCH7FHT.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-AC54BNSK.js → chunk-72XZ7DSF.js} +13 -13
- package/dist/{chunk-AC54BNSK.js.map → chunk-72XZ7DSF.js.map} +1 -1
- package/dist/{chunk-ZPV7X4ZE.mjs → chunk-7NHJSD4A.mjs} +6 -6
- package/dist/{chunk-ZPV7X4ZE.mjs.map → chunk-7NHJSD4A.mjs.map} +1 -1
- package/dist/{chunk-CKY2QIRR.js → chunk-7SDB2VC2.js} +4 -4
- package/dist/{chunk-CKY2QIRR.js.map → chunk-7SDB2VC2.js.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-54T5F65C.js → chunk-AUCS2KF4.js} +17 -17
- package/dist/{chunk-54T5F65C.js.map → chunk-AUCS2KF4.js.map} +1 -1
- package/dist/{chunk-QEACOJXX.mjs → chunk-F4KHAKTP.mjs} +102 -46
- package/dist/chunk-F4KHAKTP.mjs.map +1 -0
- package/dist/{chunk-Q7QPHZOV.js → chunk-FHGWXWVZ.js} +67 -67
- package/dist/{chunk-Q7QPHZOV.js.map → chunk-FHGWXWVZ.js.map} +1 -1
- package/dist/{chunk-RWZ2PLMQ.js → chunk-FZUV7GNB.js} +175 -118
- package/dist/chunk-FZUV7GNB.js.map +1 -0
- package/dist/{chunk-RMPXGEFL.mjs → chunk-HQNIETHV.mjs} +8 -8
- package/dist/{chunk-RMPXGEFL.mjs.map → chunk-HQNIETHV.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-PM7A5I3X.js → chunk-LJGPMMKB.js} +113 -113
- package/dist/{chunk-PM7A5I3X.js.map → chunk-LJGPMMKB.js.map} +1 -1
- package/dist/{chunk-EBARYRSA.js → chunk-MXQ2EYG2.js} +19 -2
- package/dist/chunk-MXQ2EYG2.js.map +1 -0
- package/dist/{chunk-SCGICCQM.mjs → chunk-N6SGVUTR.mjs} +7 -10
- package/dist/chunk-N6SGVUTR.mjs.map +1 -0
- package/dist/{chunk-7IAWXG43.js → chunk-NIZSQJRW.js} +33 -33
- package/dist/{chunk-7IAWXG43.js.map → chunk-NIZSQJRW.js.map} +1 -1
- package/dist/{chunk-UUTTS3VV.mjs → chunk-NXWIT4YQ.mjs} +8 -11
- package/dist/chunk-NXWIT4YQ.mjs.map +1 -0
- package/dist/{chunk-DJHNSBIR.mjs → chunk-OTQXU4WG.mjs} +26 -26
- package/dist/{chunk-DJHNSBIR.mjs.map → chunk-OTQXU4WG.mjs.map} +1 -1
- package/dist/{chunk-3VCSMSJB.mjs → chunk-PO66V2PN.mjs} +9 -9
- package/dist/{chunk-3VCSMSJB.mjs.map → chunk-PO66V2PN.mjs.map} +1 -1
- package/dist/{chunk-B3TA74C4.js → chunk-PXGESUKI.js} +57 -60
- package/dist/chunk-PXGESUKI.js.map +1 -0
- package/dist/{chunk-YHD6SJIN.mjs → chunk-Q2FUNDCP.mjs} +4 -4
- package/dist/{chunk-YHD6SJIN.mjs.map → chunk-Q2FUNDCP.mjs.map} +1 -1
- package/dist/{chunk-4MNKVDTJ.mjs → chunk-Q5TZTA6H.mjs} +4 -4
- package/dist/{chunk-4MNKVDTJ.mjs.map → chunk-Q5TZTA6H.mjs.map} +1 -1
- package/dist/{chunk-4QCO4CBC.mjs → chunk-T7DROKWJ.mjs} +4 -4
- package/dist/{chunk-4QCO4CBC.mjs.map → chunk-T7DROKWJ.mjs.map} +1 -1
- 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-4VEQJAXJ.mjs → chunk-U7VMFQFN.mjs} +5 -5
- package/dist/{chunk-4VEQJAXJ.mjs.map → chunk-U7VMFQFN.mjs.map} +1 -1
- package/dist/{chunk-M4KRQXOT.mjs → chunk-WE35EV7J.mjs} +3 -3
- package/dist/{chunk-M4KRQXOT.mjs.map → chunk-WE35EV7J.mjs.map} +1 -1
- package/dist/{chunk-RSCRIDMW.mjs → chunk-WTSMTLSP.mjs} +39 -45
- package/dist/chunk-WTSMTLSP.mjs.map +1 -0
- package/dist/{chunk-RPNMDGRA.js → chunk-YFMMZHL5.js} +37 -40
- package/dist/chunk-YFMMZHL5.js.map +1 -0
- package/dist/{chunk-XYMHIZ3K.mjs → chunk-ZBX7UCAP.mjs} +7 -7
- package/dist/{chunk-XYMHIZ3K.mjs.map → chunk-ZBX7UCAP.mjs.map} +1 -1
- package/dist/{chunk-RUZPOHJW.js → chunk-ZE6U4N4Q.js} +42 -42
- package/dist/{chunk-RUZPOHJW.js.map → chunk-ZE6U4N4Q.js.map} +1 -1
- package/dist/{chunk-UPWJRCAD.js → chunk-ZIRD3X6G.js} +220 -226
- package/dist/chunk-ZIRD3X6G.js.map +1 -0
- package/dist/index.d.mts +77 -7
- package/dist/index.d.ts +77 -7
- package/dist/index.js +708 -704
- package/dist/index.mjs +3 -3
- package/dist/platform/admin/index.js +12 -12
- package/dist/platform/admin/index.mjs +6 -6
- package/dist/platform/agents-workspace.js +9 -9
- package/dist/platform/agents-workspace.mjs +8 -8
- package/dist/platform/app-shell.js +5 -5
- package/dist/platform/app-shell.mjs +4 -4
- package/dist/platform/auth/index.js +29 -29
- package/dist/platform/auth/index.mjs +6 -6
- package/dist/platform/billing/index.js +7 -7
- package/dist/platform/billing/index.mjs +5 -5
- package/dist/platform/impersonation/index.js +5 -5
- package/dist/platform/impersonation/index.mjs +4 -4
- package/dist/platform/index.js +97 -97
- package/dist/platform/index.mjs +22 -22
- package/dist/platform/pages/index.d.mts +103 -1
- package/dist/platform/pages/index.d.ts +103 -1
- package/dist/platform/pages/index.js +934 -488
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +530 -90
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +9 -9
- package/dist/platform/settings/index.mjs +8 -8
- package/dist/platform/workflow-canvas-shell.js +7 -7
- package/dist/platform/workflow-canvas-shell.mjs +6 -6
- 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
|
-
|
|
16
|
-
require('../chunk-
|
|
17
|
-
var chunkVWZ53TE2_js = require('../chunk-VWZ53TE2.js');
|
|
4
|
+
var chunkPXGESUKI_js = require('../chunk-PXGESUKI.js');
|
|
5
|
+
var chunkLJGPMMKB_js = require('../chunk-LJGPMMKB.js');
|
|
6
|
+
var chunk6NBQTIXX_js = require('../chunk-6NBQTIXX.js');
|
|
7
|
+
var chunk4P72IJOM_js = require('../chunk-4P72IJOM.js');
|
|
8
|
+
var chunkNIZSQJRW_js = require('../chunk-NIZSQJRW.js');
|
|
9
|
+
var chunk72XZ7DSF_js = require('../chunk-72XZ7DSF.js');
|
|
10
|
+
var chunkYFMMZHL5_js = require('../chunk-YFMMZHL5.js');
|
|
11
|
+
var chunkFHGWXWVZ_js = require('../chunk-FHGWXWVZ.js');
|
|
12
|
+
var chunkA5OMGPMR_js = require('../chunk-A5OMGPMR.js');
|
|
13
|
+
var chunkAUCS2KF4_js = require('../chunk-AUCS2KF4.js');
|
|
14
|
+
var chunkZE6U4N4Q_js = require('../chunk-ZE6U4N4Q.js');
|
|
15
|
+
require('../chunk-2II2NLAZ.js');
|
|
16
|
+
var chunk4HZ55YKZ_js = require('../chunk-4HZ55YKZ.js');
|
|
18
17
|
var chunkVY52Y5GC_js = require('../chunk-VY52Y5GC.js');
|
|
19
18
|
var chunk6PBTB5ZX_js = require('../chunk-6PBTB5ZX.js');
|
|
20
|
-
require('../chunk-
|
|
19
|
+
var chunk7SDB2VC2_js = require('../chunk-7SDB2VC2.js');
|
|
20
|
+
require('../chunk-ZIRD3X6G.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
25
|
-
var chunkY5VN4SPH_js = require('../chunk-Y5VN4SPH.js');
|
|
23
|
+
require('../chunk-5SCZB5UI.js');
|
|
24
|
+
var chunkFZUV7GNB_js = require('../chunk-FZUV7GNB.js');
|
|
26
25
|
var chunk22XPYFHJ_js = require('../chunk-22XPYFHJ.js');
|
|
27
26
|
require('../chunk-2OZZH2IO.js');
|
|
28
|
-
require('../chunk-
|
|
29
|
-
|
|
27
|
+
var chunkY5VN4SPH_js = require('../chunk-Y5VN4SPH.js');
|
|
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
|
+
chunkFZUV7GNB_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
|
+
chunkFZUV7GNB_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 } = chunkFZUV7GNB_js.useAuth();
|
|
85
85
|
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
86
86
|
const {
|
|
87
87
|
dockPosition,
|
|
88
88
|
dockAutoHide,
|
|
89
89
|
dockEnabled
|
|
90
|
-
} =
|
|
90
|
+
} = chunkFZUV7GNB_js.usePlatformPreferences();
|
|
91
91
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
92
92
|
const filteredItems = react.useMemo(
|
|
93
|
-
() =>
|
|
93
|
+
() => chunkFZUV7GNB_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
|
+
chunkFZUV7GNB_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
|
+
chunkFZUV7GNB_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 } = chunkFZUV7GNB_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 } = chunkFZUV7GNB_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
|
+
chunkFZUV7GNB_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 } = chunk4HZ55YKZ_js.usePlatformState();
|
|
215
|
+
const { error: notifyError, success: notifySuccess } = chunkFZUV7GNB_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
|
+
chunkNIZSQJRW_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 } = chunk4HZ55YKZ_js.usePlatformState();
|
|
269
|
+
const { error: notifyError, success: notifySuccess } = chunkFZUV7GNB_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
|
+
chunkNIZSQJRW_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 } = chunkFZUV7GNB_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
|
+
chunkFZUV7GNB_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
|
+
chunkFZUV7GNB_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 } = chunkFZUV7GNB_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
|
+
chunkFZUV7GNB_js.GlassModal,
|
|
483
483
|
{
|
|
484
484
|
open,
|
|
485
485
|
onClose,
|
|
@@ -544,187 +544,183 @@ 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
|
);
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
554
|
-
enumerable: true,
|
|
555
|
-
get: function () { return chunkCKY2QIRR_js.WorkflowCanvasShell; }
|
|
556
|
-
});
|
|
557
553
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
558
554
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkPXGESUKI_js.AdminOrganizationForm; }
|
|
560
556
|
});
|
|
561
557
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
562
558
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkPXGESUKI_js.AdminOrganizationList; }
|
|
564
560
|
});
|
|
565
561
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
566
562
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkPXGESUKI_js.AdminPermissionList; }
|
|
568
564
|
});
|
|
569
565
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
570
566
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkPXGESUKI_js.AdminUserForm; }
|
|
572
568
|
});
|
|
573
569
|
Object.defineProperty(exports, "AdminUserList", {
|
|
574
570
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
576
|
-
});
|
|
577
|
-
Object.defineProperty(exports, "UpgradePrompt", {
|
|
578
|
-
enumerable: true,
|
|
579
|
-
get: function () { return chunkDTFU3ZTD_js.UpgradePrompt; }
|
|
571
|
+
get: function () { return chunkPXGESUKI_js.AdminUserList; }
|
|
580
572
|
});
|
|
581
573
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
582
574
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkLJGPMMKB_js.ConsentScreen; }
|
|
584
576
|
});
|
|
585
577
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
586
578
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunkLJGPMMKB_js.ForgotPassword; }
|
|
588
580
|
});
|
|
589
581
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
590
582
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkLJGPMMKB_js.MfaChallenge; }
|
|
592
584
|
});
|
|
593
585
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
594
586
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkLJGPMMKB_js.PasswordlessSignIn; }
|
|
596
588
|
});
|
|
597
589
|
Object.defineProperty(exports, "ResetPassword", {
|
|
598
590
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunkLJGPMMKB_js.ResetPassword; }
|
|
600
592
|
});
|
|
601
593
|
Object.defineProperty(exports, "SignIn", {
|
|
602
594
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunkLJGPMMKB_js.SignIn; }
|
|
604
596
|
});
|
|
605
597
|
Object.defineProperty(exports, "SignUp", {
|
|
606
598
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunkLJGPMMKB_js.SignUp; }
|
|
608
600
|
});
|
|
609
601
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
610
602
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunkLJGPMMKB_js.SsoConnectorList; }
|
|
612
604
|
});
|
|
613
605
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
614
606
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunkLJGPMMKB_js.SsoEmailForm; }
|
|
616
608
|
});
|
|
617
609
|
Object.defineProperty(exports, "UserButton", {
|
|
618
610
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunkLJGPMMKB_js.UserButton; }
|
|
620
612
|
});
|
|
621
613
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
622
614
|
enumerable: true,
|
|
623
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunkLJGPMMKB_js.VerifyEmail; }
|
|
616
|
+
});
|
|
617
|
+
Object.defineProperty(exports, "UpgradePrompt", {
|
|
618
|
+
enumerable: true,
|
|
619
|
+
get: function () { return chunk6NBQTIXX_js.UpgradePrompt; }
|
|
624
620
|
});
|
|
625
621
|
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
626
622
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
623
|
+
get: function () { return chunk4P72IJOM_js.ImpersonationBanner; }
|
|
628
624
|
});
|
|
629
625
|
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
630
626
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkNIZSQJRW_js.WorkflowWorkspace; }
|
|
632
628
|
});
|
|
633
629
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
634
630
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunk72XZ7DSF_js.PlatformSettings; }
|
|
636
632
|
});
|
|
637
633
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
638
634
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
640
|
-
});
|
|
641
|
-
Object.defineProperty(exports, "BillingPanel", {
|
|
642
|
-
enumerable: true,
|
|
643
|
-
get: function () { return chunk54T5F65C_js.BillingPanel; }
|
|
635
|
+
get: function () { return chunkYFMMZHL5_js.AdminOrganizationDetail; }
|
|
644
636
|
});
|
|
645
637
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
646
638
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkFHGWXWVZ_js.LinkedAccountsTabContent; }
|
|
648
640
|
});
|
|
649
641
|
Object.defineProperty(exports, "MfaManage", {
|
|
650
642
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunkFHGWXWVZ_js.MfaManage; }
|
|
652
644
|
});
|
|
653
645
|
Object.defineProperty(exports, "MfaSetup", {
|
|
654
646
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkFHGWXWVZ_js.MfaSetup; }
|
|
656
648
|
});
|
|
657
649
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
658
650
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkFHGWXWVZ_js.ProfileTabContent; }
|
|
660
652
|
});
|
|
661
653
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
662
654
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkFHGWXWVZ_js.SecurityTabContent; }
|
|
664
656
|
});
|
|
665
657
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
666
658
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkFHGWXWVZ_js.SessionsTabContent; }
|
|
668
660
|
});
|
|
669
661
|
Object.defineProperty(exports, "UserProfile", {
|
|
670
662
|
enumerable: true,
|
|
671
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkFHGWXWVZ_js.UserProfile; }
|
|
672
664
|
});
|
|
673
665
|
Object.defineProperty(exports, "AuthLayout", {
|
|
674
666
|
enumerable: true,
|
|
675
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunkA5OMGPMR_js.AuthLayout; }
|
|
676
668
|
});
|
|
677
669
|
Object.defineProperty(exports, "BackupCodeGrid", {
|
|
678
670
|
enumerable: true,
|
|
679
|
-
get: function () { return
|
|
671
|
+
get: function () { return chunkA5OMGPMR_js.BackupCodeGrid; }
|
|
680
672
|
});
|
|
681
673
|
Object.defineProperty(exports, "OtpInput", {
|
|
682
674
|
enumerable: true,
|
|
683
|
-
get: function () { return
|
|
675
|
+
get: function () { return chunkA5OMGPMR_js.OtpInput; }
|
|
684
676
|
});
|
|
685
677
|
Object.defineProperty(exports, "PasswordStrengthMeter", {
|
|
686
678
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
679
|
+
get: function () { return chunkA5OMGPMR_js.PasswordStrengthMeter; }
|
|
688
680
|
});
|
|
689
681
|
Object.defineProperty(exports, "SocialLoginButtons", {
|
|
690
682
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
683
|
+
get: function () { return chunkA5OMGPMR_js.SocialLoginButtons; }
|
|
684
|
+
});
|
|
685
|
+
Object.defineProperty(exports, "BillingPanel", {
|
|
686
|
+
enumerable: true,
|
|
687
|
+
get: function () { return chunkAUCS2KF4_js.BillingPanel; }
|
|
692
688
|
});
|
|
693
689
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
694
690
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
691
|
+
get: function () { return chunkZE6U4N4Q_js.AgentsWorkspace; }
|
|
696
692
|
});
|
|
697
693
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
698
694
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunkZE6U4N4Q_js.applyWorkflowExecutionEventToStore; }
|
|
700
696
|
});
|
|
701
697
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
702
698
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
699
|
+
get: function () { return chunkZE6U4N4Q_js.resetWorkflowRunPresentation; }
|
|
704
700
|
});
|
|
705
701
|
Object.defineProperty(exports, "useRunEvents", {
|
|
706
702
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
703
|
+
get: function () { return chunkZE6U4N4Q_js.useRunEvents; }
|
|
708
704
|
});
|
|
709
705
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
710
706
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
707
|
+
get: function () { return chunkZE6U4N4Q_js.useWorkflowExecution; }
|
|
712
708
|
});
|
|
713
709
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
714
710
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
711
|
+
get: function () { return chunkZE6U4N4Q_js.useWorkflowRunPresentation; }
|
|
716
712
|
});
|
|
717
713
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
718
714
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
715
|
+
get: function () { return chunk4HZ55YKZ_js.PlatformAppShell; }
|
|
720
716
|
});
|
|
721
717
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
722
718
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
719
|
+
get: function () { return chunk4HZ55YKZ_js.PlatformStateProvider; }
|
|
724
720
|
});
|
|
725
721
|
Object.defineProperty(exports, "usePlatformState", {
|
|
726
722
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
723
|
+
get: function () { return chunk4HZ55YKZ_js.usePlatformState; }
|
|
728
724
|
});
|
|
729
725
|
Object.defineProperty(exports, "createPlatformRbac", {
|
|
730
726
|
enumerable: true,
|
|
@@ -846,6 +842,10 @@ Object.defineProperty(exports, "verifyOrganizationDomain", {
|
|
|
846
842
|
enumerable: true,
|
|
847
843
|
get: function () { return chunk6PBTB5ZX_js.verifyOrganizationDomain; }
|
|
848
844
|
});
|
|
845
|
+
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
846
|
+
enumerable: true,
|
|
847
|
+
get: function () { return chunk7SDB2VC2_js.WorkflowCanvasShell; }
|
|
848
|
+
});
|
|
849
849
|
exports.AiWorkflowGenerateModal = AiWorkflowGenerateModal;
|
|
850
850
|
exports.ORG_ROLE_MAP = ORG_ROLE_MAP;
|
|
851
851
|
exports.PlatformDockContainer = PlatformDockContainer;
|
package/dist/platform/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export { UpgradePrompt } from '../chunk-
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
import '../chunk-
|
|
16
|
-
|
|
17
|
-
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-M4KRQXOT.mjs';
|
|
2
|
+
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-NXWIT4YQ.mjs';
|
|
3
|
+
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-OTQXU4WG.mjs';
|
|
4
|
+
export { UpgradePrompt } from '../chunk-ZBX7UCAP.mjs';
|
|
5
|
+
export { ImpersonationBanner } from '../chunk-T7DROKWJ.mjs';
|
|
6
|
+
import { UsersPageView, RolesPageView } from '../chunk-U7VMFQFN.mjs';
|
|
7
|
+
export { WorkflowWorkspace } from '../chunk-U7VMFQFN.mjs';
|
|
8
|
+
export { PlatformSettings } from '../chunk-7NHJSD4A.mjs';
|
|
9
|
+
export { AdminOrganizationDetail } from '../chunk-N6SGVUTR.mjs';
|
|
10
|
+
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-PO66V2PN.mjs';
|
|
11
|
+
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../chunk-TQADF23S.mjs';
|
|
12
|
+
export { BillingPanel } from '../chunk-Q2FUNDCP.mjs';
|
|
13
|
+
export { AgentsWorkspace, applyWorkflowExecutionEventToStore, resetWorkflowRunPresentation, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation } from '../chunk-HQNIETHV.mjs';
|
|
14
|
+
import '../chunk-Q5TZTA6H.mjs';
|
|
15
|
+
import { usePlatformState } from '../chunk-WE35EV7J.mjs';
|
|
16
|
+
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-WE35EV7J.mjs';
|
|
18
17
|
export { createPlatformRbac } from '../chunk-BUDZNAKL.mjs';
|
|
19
18
|
import { createUser, listUsers, addOrganizationMember } from '../chunk-UHHPBREK.mjs';
|
|
20
19
|
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
|
-
|
|
20
|
+
export { WorkflowCanvasShell } from '../chunk-5YCH7FHT.mjs';
|
|
21
|
+
import '../chunk-WTSMTLSP.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-
|
|
26
|
-
import { useTranslations, useLocale } from '../chunk-ZEFNBGYI.mjs';
|
|
24
|
+
import '../chunk-33ZWFDVG.mjs';
|
|
25
|
+
import { Select, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, useNotifications, Textarea } from '../chunk-F4KHAKTP.mjs';
|
|
27
26
|
import { listModelProviderConnections, listWorkflowTemplates, createWorkflowFromTemplate, aiGenerateWorkflow, createWorkflow, saveWorkflowDraft } from '../chunk-NBW6WJQT.mjs';
|
|
28
27
|
import '../chunk-3AY5HIQ6.mjs';
|
|
29
|
-
import '../chunk-
|
|
30
|
-
import
|
|
28
|
+
import { useTranslations, useLocale } from '../chunk-ZEFNBGYI.mjs';
|
|
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 };
|