@datatechsolutions/ui 3.11.2 → 3.13.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/index.js +108 -108
- package/dist/astrlabe/index.mjs +4 -4
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/{chunk-HLIMHIRH.js → chunk-2ECLDHAT.js} +12 -12
- package/dist/{chunk-HLIMHIRH.js.map → chunk-2ECLDHAT.js.map} +1 -1
- package/dist/{chunk-RUWUH7DW.mjs → chunk-4VHFGW7I.mjs} +4 -4
- package/dist/{chunk-RUWUH7DW.mjs.map → chunk-4VHFGW7I.mjs.map} +1 -1
- package/dist/{chunk-6R5Z2IQ5.js → chunk-5ETT54QS.js} +120 -77
- package/dist/chunk-5ETT54QS.js.map +1 -0
- package/dist/{chunk-OZEOBZOW.mjs → chunk-6KDTVSZT.mjs} +7 -7
- package/dist/{chunk-OZEOBZOW.mjs.map → chunk-6KDTVSZT.mjs.map} +1 -1
- package/dist/{chunk-V32NUE5U.js → chunk-6YTYD4P5.js} +66 -66
- package/dist/{chunk-V32NUE5U.js.map → chunk-6YTYD4P5.js.map} +1 -1
- package/dist/{chunk-LBCUQ4FY.mjs → chunk-7TYNV6SY.mjs} +4 -4
- package/dist/{chunk-LBCUQ4FY.mjs.map → chunk-7TYNV6SY.mjs.map} +1 -1
- package/dist/{chunk-NDGYIHJ3.mjs → chunk-AHNH2PMI.mjs} +4 -4
- package/dist/{chunk-NDGYIHJ3.mjs.map → chunk-AHNH2PMI.mjs.map} +1 -1
- package/dist/{chunk-4PUVECVF.mjs → chunk-AKWCT53S.mjs} +4 -4
- package/dist/{chunk-4PUVECVF.mjs.map → chunk-AKWCT53S.mjs.map} +1 -1
- package/dist/{chunk-TXI3QDYE.js → chunk-AMCFAGK3.js} +34 -34
- package/dist/{chunk-TXI3QDYE.js.map → chunk-AMCFAGK3.js.map} +1 -1
- package/dist/{chunk-JXROBMRU.mjs → chunk-ANFSQJNI.mjs} +4 -4
- package/dist/{chunk-JXROBMRU.mjs.map → chunk-ANFSQJNI.mjs.map} +1 -1
- package/dist/{chunk-N7T4X6A7.mjs → chunk-CSOMZ5UM.mjs} +4 -4
- package/dist/{chunk-N7T4X6A7.mjs.map → chunk-CSOMZ5UM.mjs.map} +1 -1
- package/dist/{chunk-3BFQ3SVG.js → chunk-D5OTZGA2.js} +126 -127
- package/dist/chunk-D5OTZGA2.js.map +1 -0
- package/dist/{chunk-GDVB7QDZ.js → chunk-IIRS5XZY.js} +104 -40
- package/dist/chunk-IIRS5XZY.js.map +1 -0
- package/dist/{chunk-N5FWIT7N.js → chunk-K5567JM5.js} +13 -13
- package/dist/{chunk-N5FWIT7N.js.map → chunk-K5567JM5.js.map} +1 -1
- package/dist/{chunk-KGC5CRS7.mjs → chunk-KWH7JIRP.mjs} +3 -3
- package/dist/{chunk-KGC5CRS7.mjs.map → chunk-KWH7JIRP.mjs.map} +1 -1
- package/dist/{chunk-Y4YIGEX6.js → chunk-MQDCUBVW.js} +150 -150
- package/dist/{chunk-Y4YIGEX6.js.map → chunk-MQDCUBVW.js.map} +1 -1
- package/dist/{chunk-D5FL3ZHC.mjs → chunk-MSKKNPRE.mjs} +86 -43
- package/dist/chunk-MSKKNPRE.mjs.map +1 -0
- package/dist/{chunk-5JS3UFBF.js → chunk-N4YT3QA5.js} +15 -15
- package/dist/{chunk-5JS3UFBF.js.map → chunk-N4YT3QA5.js.map} +1 -1
- package/dist/{chunk-LW2LFJZ7.js → chunk-NF5DDM5V.js} +40 -40
- package/dist/{chunk-LW2LFJZ7.js.map → chunk-NF5DDM5V.js.map} +1 -1
- package/dist/{chunk-AVLOGVVA.mjs → chunk-OC4AOYU5.mjs} +4 -4
- package/dist/{chunk-AVLOGVVA.mjs.map → chunk-OC4AOYU5.mjs.map} +1 -1
- package/dist/{chunk-BGLYJ7GR.js → chunk-OY5HUZSD.js} +44 -44
- package/dist/{chunk-BGLYJ7GR.js.map → chunk-OY5HUZSD.js.map} +1 -1
- package/dist/{chunk-5Y67PZWC.js → chunk-PPIUMCUZ.js} +6 -6
- package/dist/{chunk-5Y67PZWC.js.map → chunk-PPIUMCUZ.js.map} +1 -1
- package/dist/{chunk-M64U336M.mjs → chunk-QGRTV35L.mjs} +7 -7
- package/dist/{chunk-M64U336M.mjs.map → chunk-QGRTV35L.mjs.map} +1 -1
- package/dist/{chunk-3J4E2THD.js → chunk-SDYKXLCU.js} +56 -56
- package/dist/{chunk-3J4E2THD.js.map → chunk-SDYKXLCU.js.map} +1 -1
- package/dist/{chunk-5TJR3VJ6.mjs → chunk-UPYACFZJ.mjs} +5 -5
- package/dist/{chunk-5TJR3VJ6.mjs.map → chunk-UPYACFZJ.mjs.map} +1 -1
- package/dist/{chunk-JBXNEOFB.mjs → chunk-UXHJS2SH.mjs} +4 -5
- package/dist/chunk-UXHJS2SH.mjs.map +1 -0
- package/dist/{chunk-MCHTZ63Q.js → chunk-VI4IUTMX.js} +4 -4
- package/dist/{chunk-MCHTZ63Q.js.map → chunk-VI4IUTMX.js.map} +1 -1
- package/dist/{chunk-TZA5T4MJ.mjs → chunk-VIB42VMZ.mjs} +81 -17
- package/dist/chunk-VIB42VMZ.mjs.map +1 -0
- package/dist/{chunk-5NKGJV72.js → chunk-WOTKBKS6.js} +31 -31
- package/dist/{chunk-5NKGJV72.js.map → chunk-WOTKBKS6.js.map} +1 -1
- package/dist/{chunk-YXN2K77G.js → chunk-Y5VN4SPH.js} +26 -3
- package/dist/chunk-Y5VN4SPH.js.map +1 -0
- package/dist/{chunk-7VJ7CMMT.mjs → chunk-ZEFNBGYI.mjs} +26 -3
- package/dist/chunk-ZEFNBGYI.mjs.map +1 -0
- package/dist/{chunk-WSXP645I.mjs → chunk-ZRCXDKBE.mjs} +3 -3
- package/dist/{chunk-WSXP645I.mjs.map → chunk-ZRCXDKBE.mjs.map} +1 -1
- package/dist/index.d.mts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +668 -668
- package/dist/index.mjs +2 -2
- package/dist/lib/i18n-context.d.mts +12 -4
- package/dist/lib/i18n-context.d.ts +12 -4
- package/dist/lib/i18n-context.js +6 -6
- package/dist/lib/i18n-context.mjs +1 -1
- package/dist/platform/admin/index.js +10 -10
- package/dist/platform/admin/index.mjs +4 -4
- package/dist/platform/agents-workspace.js +7 -7
- package/dist/platform/agents-workspace.mjs +6 -6
- package/dist/platform/app-shell.js +4 -4
- package/dist/platform/app-shell.mjs +3 -3
- package/dist/platform/auth/index.js +22 -22
- package/dist/platform/auth/index.mjs +4 -4
- package/dist/platform/billing/index.js +4 -4
- package/dist/platform/billing/index.mjs +3 -3
- package/dist/platform/impersonation/index.js +4 -4
- package/dist/platform/impersonation/index.mjs +3 -3
- package/dist/platform/index.js +85 -85
- package/dist/platform/index.mjs +18 -18
- package/dist/platform/pages/index.d.mts +75 -16
- package/dist/platform/pages/index.d.ts +75 -16
- package/dist/platform/pages/index.js +1089 -505
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +789 -205
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +7 -7
- package/dist/platform/settings/index.mjs +6 -6
- package/dist/platform/workflow-canvas-shell.js +5 -5
- package/dist/platform/workflow-canvas-shell.mjs +4 -4
- package/package.json +2 -1
- package/dist/chunk-3BFQ3SVG.js.map +0 -1
- package/dist/chunk-6R5Z2IQ5.js.map +0 -1
- package/dist/chunk-7VJ7CMMT.mjs.map +0 -1
- package/dist/chunk-D5FL3ZHC.mjs.map +0 -1
- package/dist/chunk-GDVB7QDZ.js.map +0 -1
- package/dist/chunk-JBXNEOFB.mjs.map +0 -1
- package/dist/chunk-TZA5T4MJ.mjs.map +0 -1
- package/dist/chunk-YXN2K77G.js.map +0 -1
package/dist/platform/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
4
|
+
var chunkPPIUMCUZ_js = require('../chunk-PPIUMCUZ.js');
|
|
5
|
+
var chunkOY5HUZSD_js = require('../chunk-OY5HUZSD.js');
|
|
6
|
+
var chunk6YTYD4P5_js = require('../chunk-6YTYD4P5.js');
|
|
7
7
|
var chunkP4RVGMZL_js = require('../chunk-P4RVGMZL.js');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
8
|
+
var chunkVI4IUTMX_js = require('../chunk-VI4IUTMX.js');
|
|
9
|
+
var chunkIIRS5XZY_js = require('../chunk-IIRS5XZY.js');
|
|
10
|
+
var chunkN4YT3QA5_js = require('../chunk-N4YT3QA5.js');
|
|
11
|
+
var chunkWOTKBKS6_js = require('../chunk-WOTKBKS6.js');
|
|
12
|
+
var chunkSDYKXLCU_js = require('../chunk-SDYKXLCU.js');
|
|
13
13
|
var chunkQGLGQXJE_js = require('../chunk-QGLGQXJE.js');
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
require('../chunk-
|
|
17
|
-
var
|
|
14
|
+
var chunkK5567JM5_js = require('../chunk-K5567JM5.js');
|
|
15
|
+
var chunkNF5DDM5V_js = require('../chunk-NF5DDM5V.js');
|
|
16
|
+
require('../chunk-AMCFAGK3.js');
|
|
17
|
+
var chunk2ECLDHAT_js = require('../chunk-2ECLDHAT.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-MQDCUBVW.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
25
|
-
var
|
|
23
|
+
require('../chunk-D5OTZGA2.js');
|
|
24
|
+
var chunk5ETT54QS_js = require('../chunk-5ETT54QS.js');
|
|
25
|
+
var chunkY5VN4SPH_js = require('../chunk-Y5VN4SPH.js');
|
|
26
26
|
var chunk22XPYFHJ_js = require('../chunk-22XPYFHJ.js');
|
|
27
27
|
require('../chunk-2OZZH2IO.js');
|
|
28
28
|
require('../chunk-EZQ2D47U.js');
|
|
@@ -43,11 +43,11 @@ function SessionSwitcher({
|
|
|
43
43
|
onOrganizationChange,
|
|
44
44
|
onUserChange
|
|
45
45
|
}) {
|
|
46
|
-
const tSession =
|
|
47
|
-
const tCommon =
|
|
46
|
+
const tSession = chunkY5VN4SPH_js.useTranslations("platform.session");
|
|
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
|
+
chunk5ETT54QS_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
|
+
chunk5ETT54QS_js.Select,
|
|
63
63
|
{
|
|
64
64
|
value: userEmail,
|
|
65
65
|
"aria-label": tSession("user"),
|
|
@@ -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 } =
|
|
85
|
-
const tCommon =
|
|
84
|
+
const { logout } = chunk5ETT54QS_js.useAuth();
|
|
85
|
+
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
86
86
|
const {
|
|
87
87
|
dockPosition,
|
|
88
88
|
dockAutoHide,
|
|
89
89
|
dockEnabled
|
|
90
|
-
} =
|
|
90
|
+
} = chunk5ETT54QS_js.usePlatformPreferences();
|
|
91
91
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
92
92
|
const filteredItems = react.useMemo(
|
|
93
|
-
() =>
|
|
93
|
+
() => chunk5ETT54QS_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
|
+
chunk5ETT54QS_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
|
+
chunk5ETT54QS_js.GlassModal,
|
|
123
123
|
{
|
|
124
124
|
open: profileOpen,
|
|
125
125
|
onClose: () => setProfileOpen(false),
|
|
@@ -130,8 +130,8 @@ function PlatformDockContainer({
|
|
|
130
130
|
] });
|
|
131
131
|
}
|
|
132
132
|
function useLocaleSwitcher() {
|
|
133
|
-
const locale =
|
|
134
|
-
const { client } =
|
|
133
|
+
const locale = chunkY5VN4SPH_js.useLocale();
|
|
134
|
+
const { client } = chunk5ETT54QS_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 } = chunk5ETT54QS_js.usePlatformPreferences();
|
|
156
156
|
const toggleTheme = () => setTheme(theme === "dark" ? "light" : "dark");
|
|
157
|
-
const t =
|
|
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
|
+
chunk5ETT54QS_js.Select,
|
|
161
161
|
{
|
|
162
162
|
value: locale,
|
|
163
163
|
options: LOCALE_OPTIONS,
|
|
@@ -210,9 +210,9 @@ function mapRoleToOrgRole(role) {
|
|
|
210
210
|
return ORG_ROLE_MAP[role] ?? "member";
|
|
211
211
|
}
|
|
212
212
|
function UsersSettingsSection({ normalizeRole }) {
|
|
213
|
-
const t =
|
|
214
|
-
const { currentOrganizationId } =
|
|
215
|
-
const { error: notifyError, success: notifySuccess } =
|
|
213
|
+
const t = chunkY5VN4SPH_js.useTranslations("platform.users");
|
|
214
|
+
const { currentOrganizationId } = chunk2ECLDHAT_js.usePlatformState();
|
|
215
|
+
const { error: notifyError, success: notifySuccess } = chunk5ETT54QS_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
|
+
chunkIIRS5XZY_js.UsersPageView,
|
|
233
233
|
{
|
|
234
234
|
labels: {
|
|
235
235
|
title: t("title"),
|
|
@@ -264,15 +264,15 @@ function UsersSettingsSection({ normalizeRole }) {
|
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }) {
|
|
267
|
-
const t =
|
|
268
|
-
const { currentOrganizationId } =
|
|
269
|
-
const { error: notifyError, success: notifySuccess } =
|
|
267
|
+
const t = chunkY5VN4SPH_js.useTranslations("platform.roles");
|
|
268
|
+
const { currentOrganizationId } = chunk2ECLDHAT_js.usePlatformState();
|
|
269
|
+
const { error: notifyError, success: notifySuccess } = chunk5ETT54QS_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
|
+
chunkIIRS5XZY_js.RolesPageView,
|
|
276
276
|
{
|
|
277
277
|
roleDefinitions,
|
|
278
278
|
roleOptions,
|
|
@@ -308,8 +308,8 @@ function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }) {
|
|
|
308
308
|
);
|
|
309
309
|
}
|
|
310
310
|
function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
311
|
-
const { error: notifyError, success: notifySuccess } =
|
|
312
|
-
const t =
|
|
311
|
+
const { error: notifyError, success: notifySuccess } = chunk5ETT54QS_js.useNotifications();
|
|
312
|
+
const t = chunkY5VN4SPH_js.useTranslations("agents.workflow");
|
|
313
313
|
const [connections, setConnections] = react.useState([]);
|
|
314
314
|
const [connectionId, setConnectionId] = react.useState("");
|
|
315
315
|
const [prompt, setPrompt] = react.useState("");
|
|
@@ -354,7 +354,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
357
|
-
|
|
357
|
+
chunk5ETT54QS_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
|
+
chunk5ETT54QS_js.Textarea,
|
|
394
394
|
{
|
|
395
395
|
rows: 6,
|
|
396
396
|
className: "mt-1 w-full",
|
|
@@ -412,9 +412,9 @@ function deriveWorkflowName(prompt) {
|
|
|
412
412
|
return `${trimmed.slice(0, 57)}\u2026`;
|
|
413
413
|
}
|
|
414
414
|
function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
415
|
-
const tWorkflow =
|
|
416
|
-
const tCommon =
|
|
417
|
-
const { error: notifyError, success: notifySuccess } =
|
|
415
|
+
const tWorkflow = chunkY5VN4SPH_js.useTranslations("agents.workflow");
|
|
416
|
+
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
417
|
+
const { error: notifyError, success: notifySuccess } = chunk5ETT54QS_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
|
+
chunk5ETT54QS_js.GlassModal,
|
|
483
483
|
{
|
|
484
484
|
open,
|
|
485
485
|
onClose,
|
|
@@ -552,71 +552,71 @@ 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 chunkPPIUMCUZ_js.WorkflowCanvasShell; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkOY5HUZSD_js.AdminOrganizationForm; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkOY5HUZSD_js.AdminOrganizationList; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkOY5HUZSD_js.AdminPermissionList; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkOY5HUZSD_js.AdminUserForm; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "AdminUserList", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkOY5HUZSD_js.AdminUserList; }
|
|
576
576
|
});
|
|
577
577
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
578
578
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunk6YTYD4P5_js.ConsentScreen; }
|
|
580
580
|
});
|
|
581
581
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
582
582
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunk6YTYD4P5_js.ForgotPassword; }
|
|
584
584
|
});
|
|
585
585
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
586
586
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunk6YTYD4P5_js.MfaChallenge; }
|
|
588
588
|
});
|
|
589
589
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
590
590
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunk6YTYD4P5_js.PasswordlessSignIn; }
|
|
592
592
|
});
|
|
593
593
|
Object.defineProperty(exports, "ResetPassword", {
|
|
594
594
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunk6YTYD4P5_js.ResetPassword; }
|
|
596
596
|
});
|
|
597
597
|
Object.defineProperty(exports, "SignIn", {
|
|
598
598
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunk6YTYD4P5_js.SignIn; }
|
|
600
600
|
});
|
|
601
601
|
Object.defineProperty(exports, "SignUp", {
|
|
602
602
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunk6YTYD4P5_js.SignUp; }
|
|
604
604
|
});
|
|
605
605
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
606
606
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunk6YTYD4P5_js.SsoConnectorList; }
|
|
608
608
|
});
|
|
609
609
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
610
610
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunk6YTYD4P5_js.SsoEmailForm; }
|
|
612
612
|
});
|
|
613
613
|
Object.defineProperty(exports, "UserButton", {
|
|
614
614
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunk6YTYD4P5_js.UserButton; }
|
|
616
616
|
});
|
|
617
617
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
618
618
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
619
|
+
get: function () { return chunk6YTYD4P5_js.VerifyEmail; }
|
|
620
620
|
});
|
|
621
621
|
Object.defineProperty(exports, "UpgradePrompt", {
|
|
622
622
|
enumerable: true,
|
|
@@ -624,47 +624,47 @@ Object.defineProperty(exports, "UpgradePrompt", {
|
|
|
624
624
|
});
|
|
625
625
|
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
626
626
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkVI4IUTMX_js.ImpersonationBanner; }
|
|
628
628
|
});
|
|
629
629
|
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
630
630
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunkIIRS5XZY_js.WorkflowWorkspace; }
|
|
632
632
|
});
|
|
633
633
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
634
634
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
635
|
+
get: function () { return chunkN4YT3QA5_js.PlatformSettings; }
|
|
636
636
|
});
|
|
637
637
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
638
638
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkWOTKBKS6_js.AdminOrganizationDetail; }
|
|
640
640
|
});
|
|
641
641
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
642
642
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunkSDYKXLCU_js.LinkedAccountsTabContent; }
|
|
644
644
|
});
|
|
645
645
|
Object.defineProperty(exports, "MfaManage", {
|
|
646
646
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkSDYKXLCU_js.MfaManage; }
|
|
648
648
|
});
|
|
649
649
|
Object.defineProperty(exports, "MfaSetup", {
|
|
650
650
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkSDYKXLCU_js.MfaSetup; }
|
|
652
652
|
});
|
|
653
653
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
654
654
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkSDYKXLCU_js.ProfileTabContent; }
|
|
656
656
|
});
|
|
657
657
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
658
658
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkSDYKXLCU_js.SecurityTabContent; }
|
|
660
660
|
});
|
|
661
661
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
662
662
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkSDYKXLCU_js.SessionsTabContent; }
|
|
664
664
|
});
|
|
665
665
|
Object.defineProperty(exports, "UserProfile", {
|
|
666
666
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunkSDYKXLCU_js.UserProfile; }
|
|
668
668
|
});
|
|
669
669
|
Object.defineProperty(exports, "AuthLayout", {
|
|
670
670
|
enumerable: true,
|
|
@@ -688,43 +688,43 @@ Object.defineProperty(exports, "SocialLoginButtons", {
|
|
|
688
688
|
});
|
|
689
689
|
Object.defineProperty(exports, "BillingPanel", {
|
|
690
690
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
691
|
+
get: function () { return chunkK5567JM5_js.BillingPanel; }
|
|
692
692
|
});
|
|
693
693
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
694
694
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunkNF5DDM5V_js.AgentsWorkspace; }
|
|
696
696
|
});
|
|
697
697
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
698
698
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
699
|
+
get: function () { return chunkNF5DDM5V_js.applyWorkflowExecutionEventToStore; }
|
|
700
700
|
});
|
|
701
701
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
702
702
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
703
|
+
get: function () { return chunkNF5DDM5V_js.resetWorkflowRunPresentation; }
|
|
704
704
|
});
|
|
705
705
|
Object.defineProperty(exports, "useRunEvents", {
|
|
706
706
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
707
|
+
get: function () { return chunkNF5DDM5V_js.useRunEvents; }
|
|
708
708
|
});
|
|
709
709
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
710
710
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
711
|
+
get: function () { return chunkNF5DDM5V_js.useWorkflowExecution; }
|
|
712
712
|
});
|
|
713
713
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
714
714
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
715
|
+
get: function () { return chunkNF5DDM5V_js.useWorkflowRunPresentation; }
|
|
716
716
|
});
|
|
717
717
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
718
718
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
719
|
+
get: function () { return chunk2ECLDHAT_js.PlatformAppShell; }
|
|
720
720
|
});
|
|
721
721
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
722
722
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
723
|
+
get: function () { return chunk2ECLDHAT_js.PlatformStateProvider; }
|
|
724
724
|
});
|
|
725
725
|
Object.defineProperty(exports, "usePlatformState", {
|
|
726
726
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
727
|
+
get: function () { return chunk2ECLDHAT_js.usePlatformState; }
|
|
728
728
|
});
|
|
729
729
|
Object.defineProperty(exports, "createPlatformRbac", {
|
|
730
730
|
enumerable: true,
|
package/dist/platform/index.mjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { WorkflowCanvasShell } from '../chunk-
|
|
3
|
-
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-
|
|
4
|
-
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-
|
|
2
|
+
export { WorkflowCanvasShell } from '../chunk-4VHFGW7I.mjs';
|
|
3
|
+
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-AKWCT53S.mjs';
|
|
4
|
+
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-OC4AOYU5.mjs';
|
|
5
5
|
export { UpgradePrompt } from '../chunk-DJ33CSGJ.mjs';
|
|
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 { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-
|
|
6
|
+
export { ImpersonationBanner } from '../chunk-ZRCXDKBE.mjs';
|
|
7
|
+
import { UsersPageView, RolesPageView } from '../chunk-VIB42VMZ.mjs';
|
|
8
|
+
export { WorkflowWorkspace } from '../chunk-VIB42VMZ.mjs';
|
|
9
|
+
export { PlatformSettings } from '../chunk-QGRTV35L.mjs';
|
|
10
|
+
export { AdminOrganizationDetail } from '../chunk-ANFSQJNI.mjs';
|
|
11
|
+
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-CSOMZ5UM.mjs';
|
|
12
12
|
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../chunk-3VYD7QL2.mjs';
|
|
13
|
-
export { BillingPanel } from '../chunk-
|
|
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-
|
|
13
|
+
export { BillingPanel } from '../chunk-7TYNV6SY.mjs';
|
|
14
|
+
export { AgentsWorkspace, applyWorkflowExecutionEventToStore, resetWorkflowRunPresentation, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation } from '../chunk-6KDTVSZT.mjs';
|
|
15
|
+
import '../chunk-KWH7JIRP.mjs';
|
|
16
|
+
import { usePlatformState } from '../chunk-AHNH2PMI.mjs';
|
|
17
|
+
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-AHNH2PMI.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-UPYACFZJ.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-
|
|
24
|
+
import '../chunk-UXHJS2SH.mjs';
|
|
25
|
+
import { Select, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, useNotifications, Textarea } from '../chunk-MSKKNPRE.mjs';
|
|
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
29
|
import '../chunk-PLTLRL2V.mjs';
|
|
@@ -22,6 +22,15 @@ type AgentsModelsLabels = {
|
|
|
22
22
|
disabled: string;
|
|
23
23
|
empty: string;
|
|
24
24
|
searchPlaceholder?: string;
|
|
25
|
+
filtersTitle?: string;
|
|
26
|
+
filterByProvider?: string;
|
|
27
|
+
filterByStatus?: string;
|
|
28
|
+
statusAll?: string;
|
|
29
|
+
statusEnabled?: string;
|
|
30
|
+
statusDisabled?: string;
|
|
31
|
+
selected?: string;
|
|
32
|
+
selectAll?: string;
|
|
33
|
+
clear?: string;
|
|
25
34
|
};
|
|
26
35
|
type Props$9 = {
|
|
27
36
|
labels: AgentsModelsLabels;
|
|
@@ -33,21 +42,23 @@ declare function AgentsModelsPageView({ labels, models, loading }: Props$9): rea
|
|
|
33
42
|
type AgentConfigFormInput = {
|
|
34
43
|
agentId?: string;
|
|
35
44
|
name: string;
|
|
45
|
+
modelId: string;
|
|
46
|
+
systemPrompt: string;
|
|
47
|
+
maxTokens: number;
|
|
48
|
+
temperature: number;
|
|
49
|
+
outputSchema?: string;
|
|
50
|
+
/** Optional fields consumed by `agent-new-wizard-page-view` so the
|
|
51
|
+
* wizard can submit the same payload as the inline modal. */
|
|
36
52
|
role?: string;
|
|
37
53
|
description?: string;
|
|
38
54
|
avatar?: string;
|
|
39
|
-
modelId: string;
|
|
40
55
|
connectionId?: string;
|
|
41
56
|
framework?: string;
|
|
42
|
-
systemPrompt: string;
|
|
43
57
|
userPrompt?: string;
|
|
44
|
-
maxTokens: number;
|
|
45
|
-
temperature: number;
|
|
46
58
|
topP?: number;
|
|
47
59
|
topK?: number;
|
|
48
60
|
difficulty?: string;
|
|
49
61
|
tags?: string[];
|
|
50
|
-
outputSchema?: string;
|
|
51
62
|
};
|
|
52
63
|
type AgentsConfigLabels = {
|
|
53
64
|
title: string;
|
|
@@ -69,6 +80,15 @@ type AgentsConfigLabels = {
|
|
|
69
80
|
activeVersion: string;
|
|
70
81
|
empty: string;
|
|
71
82
|
searchPlaceholder?: string;
|
|
83
|
+
filtersTitle?: string;
|
|
84
|
+
filterByModel?: string;
|
|
85
|
+
filterByActiveVersion?: string;
|
|
86
|
+
versionAll?: string;
|
|
87
|
+
versionWith?: string;
|
|
88
|
+
versionWithout?: string;
|
|
89
|
+
selected?: string;
|
|
90
|
+
selectAll?: string;
|
|
91
|
+
clear?: string;
|
|
72
92
|
};
|
|
73
93
|
type Props$8 = {
|
|
74
94
|
labels: AgentsConfigLabels;
|
|
@@ -110,6 +130,16 @@ type AgentsPromptsLabels = {
|
|
|
110
130
|
deleteConfirm: string;
|
|
111
131
|
empty: string;
|
|
112
132
|
searchPlaceholder?: string;
|
|
133
|
+
filtersTitle?: string;
|
|
134
|
+
filterByAgent?: string;
|
|
135
|
+
filterByLocale?: string;
|
|
136
|
+
filterByActive?: string;
|
|
137
|
+
activeAll?: string;
|
|
138
|
+
activeYes?: string;
|
|
139
|
+
activeNo?: string;
|
|
140
|
+
selected?: string;
|
|
141
|
+
selectAll?: string;
|
|
142
|
+
clear?: string;
|
|
113
143
|
};
|
|
114
144
|
type Props$7 = {
|
|
115
145
|
labels: AgentsPromptsLabels;
|
|
@@ -164,6 +194,11 @@ type AgentsToolDefinitionsLabels = {
|
|
|
164
194
|
deleteConfirm: string;
|
|
165
195
|
empty: string;
|
|
166
196
|
searchPlaceholder?: string;
|
|
197
|
+
filtersTitle?: string;
|
|
198
|
+
filterByToolType?: string;
|
|
199
|
+
selected?: string;
|
|
200
|
+
selectAll?: string;
|
|
201
|
+
clear?: string;
|
|
167
202
|
};
|
|
168
203
|
type Props$6 = {
|
|
169
204
|
labels: AgentsToolDefinitionsLabels;
|
|
@@ -201,6 +236,18 @@ type RulesLabels = {
|
|
|
201
236
|
disabled: string;
|
|
202
237
|
order: string;
|
|
203
238
|
searchPlaceholder?: string;
|
|
239
|
+
filtersTitle?: string;
|
|
240
|
+
filterByStatus?: string;
|
|
241
|
+
filterByExpiry?: string;
|
|
242
|
+
statusAll?: string;
|
|
243
|
+
statusEnabled?: string;
|
|
244
|
+
statusDisabled?: string;
|
|
245
|
+
expiryAll?: string;
|
|
246
|
+
expiryExpiring?: string;
|
|
247
|
+
expiryNoExpiry?: string;
|
|
248
|
+
selected?: string;
|
|
249
|
+
selectAll?: string;
|
|
250
|
+
clear?: string;
|
|
204
251
|
};
|
|
205
252
|
type Props$5 = {
|
|
206
253
|
labels: RulesLabels;
|
|
@@ -209,12 +256,8 @@ type Props$5 = {
|
|
|
209
256
|
onCreate: (input: RuleFormValue) => void;
|
|
210
257
|
onUpdate: (ruleId: string, input: RuleFormValue) => void;
|
|
211
258
|
onDelete: (rule: AgentRule) => void;
|
|
212
|
-
/** When provided, the "Add Rule" CTA fires this callback instead of
|
|
213
|
-
* opening the in-page modal. Used by the SPA to navigate to the
|
|
214
|
-
* dedicated `/rules/new` wizard. */
|
|
215
|
-
onAddClick?: () => void;
|
|
216
259
|
};
|
|
217
|
-
declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete
|
|
260
|
+
declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete }: Props$5): react_jsx_runtime.JSX.Element;
|
|
218
261
|
|
|
219
262
|
type Labels = Record<string, string>;
|
|
220
263
|
type DatasourcesPageViewProps = {
|
|
@@ -222,12 +265,8 @@ type DatasourcesPageViewProps = {
|
|
|
222
265
|
datasources?: DataSource[];
|
|
223
266
|
useSampleData?: boolean;
|
|
224
267
|
onCreate?: (data: DatasourceFormData) => void;
|
|
225
|
-
/** When provided, the "Add Data Source" CTA fires this callback
|
|
226
|
-
* instead of opening the in-page modal. Used by the SPA to navigate
|
|
227
|
-
* to the dedicated `/datasources/new` wizard. */
|
|
228
|
-
onAddClick?: () => void;
|
|
229
268
|
};
|
|
230
|
-
declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate,
|
|
269
|
+
declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
|
|
231
270
|
|
|
232
271
|
type DashboardLabels = {
|
|
233
272
|
title: string;
|
|
@@ -390,6 +429,12 @@ type ConnectionsLabels = {
|
|
|
390
429
|
deleteConfirm: string;
|
|
391
430
|
empty: string;
|
|
392
431
|
searchPlaceholder?: string;
|
|
432
|
+
filtersTitle?: string;
|
|
433
|
+
filterByProvider?: string;
|
|
434
|
+
filterByRegion?: string;
|
|
435
|
+
selected?: string;
|
|
436
|
+
selectAll?: string;
|
|
437
|
+
clear?: string;
|
|
393
438
|
};
|
|
394
439
|
type CreateSecret = (name: string, value: string) => Promise<{
|
|
395
440
|
id: string;
|
|
@@ -411,8 +456,13 @@ type Props$1 = {
|
|
|
411
456
|
* sensible namespace.
|
|
412
457
|
*/
|
|
413
458
|
secretNamePrefix?: string;
|
|
459
|
+
/** When provided, the "Add Connection" CTA fires this callback
|
|
460
|
+
* instead of opening the in-page modal. Used by the SPA to navigate
|
|
461
|
+
* to a dedicated `/models/new` wizard page — same UX pattern as
|
|
462
|
+
* `/agents/new`, `/datasources/new`, `/rules/new`. */
|
|
463
|
+
onAddClick?: () => void;
|
|
414
464
|
};
|
|
415
|
-
declare function ConnectionsPageView({ labels, connections, loading, onCreate, onUpdate, onDelete, onCreateSecret, secretNamePrefix, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
465
|
+
declare function ConnectionsPageView({ labels, connections, loading, onCreate, onUpdate, onDelete, onCreateSecret, secretNamePrefix, onAddClick, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
416
466
|
|
|
417
467
|
type CredentialFormInput = {
|
|
418
468
|
name: string;
|
|
@@ -445,6 +495,15 @@ type CredentialsPageViewLabels = {
|
|
|
445
495
|
neverExpires: string;
|
|
446
496
|
empty: string;
|
|
447
497
|
searchPlaceholder?: string;
|
|
498
|
+
filtersTitle?: string;
|
|
499
|
+
filterByType?: string;
|
|
500
|
+
filterByStatus?: string;
|
|
501
|
+
statusAll?: string;
|
|
502
|
+
statusActive?: string;
|
|
503
|
+
statusDisabled?: string;
|
|
504
|
+
selected?: string;
|
|
505
|
+
selectAll?: string;
|
|
506
|
+
clear?: string;
|
|
448
507
|
};
|
|
449
508
|
type Props = {
|
|
450
509
|
labels: CredentialsPageViewLabels;
|