@datatechsolutions/ui 3.11.2 → 3.12.1
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-TZA5T4MJ.mjs → chunk-4D23CQZM.mjs} +80 -16
- package/dist/chunk-4D23CQZM.mjs.map +1 -0
- package/dist/{chunk-5Y67PZWC.js → chunk-5OZTI7TR.js} +4 -4
- package/dist/{chunk-5Y67PZWC.js.map → chunk-5OZTI7TR.js.map} +1 -1
- package/dist/{chunk-5TJR3VJ6.mjs → chunk-5TLKFOEL.mjs} +4 -4
- package/dist/{chunk-5TJR3VJ6.mjs.map → chunk-5TLKFOEL.mjs.map} +1 -1
- package/dist/{chunk-N7T4X6A7.mjs → chunk-BPMYNE7S.mjs} +3 -3
- package/dist/{chunk-N7T4X6A7.mjs.map → chunk-BPMYNE7S.mjs.map} +1 -1
- package/dist/{chunk-JBXNEOFB.mjs → chunk-EDI46QA7.mjs} +3 -3
- package/dist/{chunk-JBXNEOFB.mjs.map → chunk-EDI46QA7.mjs.map} +1 -1
- package/dist/{chunk-3BFQ3SVG.js → chunk-FKRIQYRG.js} +68 -68
- package/dist/{chunk-3BFQ3SVG.js.map → chunk-FKRIQYRG.js.map} +1 -1
- package/dist/{chunk-HLIMHIRH.js → chunk-HTODLUKG.js} +9 -9
- package/dist/{chunk-HLIMHIRH.js.map → chunk-HTODLUKG.js.map} +1 -1
- package/dist/{chunk-BGLYJ7GR.js → chunk-ID55ABBB.js} +35 -35
- package/dist/{chunk-BGLYJ7GR.js.map → chunk-ID55ABBB.js.map} +1 -1
- package/dist/{chunk-MCHTZ63Q.js → chunk-LRNVB7MO.js} +4 -4
- package/dist/{chunk-MCHTZ63Q.js.map → chunk-LRNVB7MO.js.map} +1 -1
- package/dist/{chunk-Y4YIGEX6.js → chunk-MFF37C24.js} +135 -135
- package/dist/{chunk-Y4YIGEX6.js.map → chunk-MFF37C24.js.map} +1 -1
- package/dist/{chunk-TXI3QDYE.js → chunk-MYHBXIO2.js} +34 -34
- package/dist/{chunk-TXI3QDYE.js.map → chunk-MYHBXIO2.js.map} +1 -1
- package/dist/{chunk-OZEOBZOW.mjs → chunk-N5GQIT7A.mjs} +7 -7
- package/dist/{chunk-OZEOBZOW.mjs.map → chunk-N5GQIT7A.mjs.map} +1 -1
- package/dist/{chunk-AVLOGVVA.mjs → chunk-NK4H3JWN.mjs} +3 -3
- package/dist/{chunk-AVLOGVVA.mjs.map → chunk-NK4H3JWN.mjs.map} +1 -1
- package/dist/{chunk-RUWUH7DW.mjs → chunk-NQGLSM46.mjs} +3 -3
- package/dist/{chunk-RUWUH7DW.mjs.map → chunk-NQGLSM46.mjs.map} +1 -1
- package/dist/{chunk-KGC5CRS7.mjs → chunk-OM5NNUD2.mjs} +3 -3
- package/dist/{chunk-KGC5CRS7.mjs.map → chunk-OM5NNUD2.mjs.map} +1 -1
- package/dist/{chunk-D5FL3ZHC.mjs → chunk-OW5LSEHU.mjs} +86 -43
- package/dist/chunk-OW5LSEHU.mjs.map +1 -0
- package/dist/{chunk-WSXP645I.mjs → chunk-PIIY2Z2O.mjs} +3 -3
- package/dist/{chunk-WSXP645I.mjs.map → chunk-PIIY2Z2O.mjs.map} +1 -1
- package/dist/{chunk-5JS3UFBF.js → chunk-PLEWG2L7.js} +13 -13
- package/dist/{chunk-5JS3UFBF.js.map → chunk-PLEWG2L7.js.map} +1 -1
- package/dist/{chunk-5NKGJV72.js → chunk-QSCWV47U.js} +25 -25
- package/dist/{chunk-5NKGJV72.js.map → chunk-QSCWV47U.js.map} +1 -1
- package/dist/{chunk-4PUVECVF.mjs → chunk-RBH723MG.mjs} +3 -3
- package/dist/{chunk-4PUVECVF.mjs.map → chunk-RBH723MG.mjs.map} +1 -1
- package/dist/{chunk-NDGYIHJ3.mjs → chunk-RT264BD4.mjs} +3 -3
- package/dist/{chunk-NDGYIHJ3.mjs.map → chunk-RT264BD4.mjs.map} +1 -1
- package/dist/{chunk-3J4E2THD.js → chunk-TDNBO3V7.js} +45 -45
- package/dist/{chunk-3J4E2THD.js.map → chunk-TDNBO3V7.js.map} +1 -1
- package/dist/{chunk-6R5Z2IQ5.js → chunk-ULKZGM2T.js} +86 -43
- package/dist/chunk-ULKZGM2T.js.map +1 -0
- package/dist/{chunk-JXROBMRU.mjs → chunk-UVFWKDRO.mjs} +3 -3
- package/dist/{chunk-JXROBMRU.mjs.map → chunk-UVFWKDRO.mjs.map} +1 -1
- package/dist/{chunk-GDVB7QDZ.js → chunk-V3UZCOZI.js} +102 -38
- package/dist/chunk-V3UZCOZI.js.map +1 -0
- package/dist/{chunk-V32NUE5U.js → chunk-VYU2FYDE.js} +55 -55
- package/dist/{chunk-V32NUE5U.js.map → chunk-VYU2FYDE.js.map} +1 -1
- package/dist/{chunk-M64U336M.mjs → chunk-WLNY3GVM.mjs} +6 -6
- package/dist/{chunk-M64U336M.mjs.map → chunk-WLNY3GVM.mjs.map} +1 -1
- package/dist/{chunk-LW2LFJZ7.js → chunk-XGAPZT4J.js} +36 -36
- package/dist/{chunk-LW2LFJZ7.js.map → chunk-XGAPZT4J.js.map} +1 -1
- package/dist/{chunk-LBCUQ4FY.mjs → chunk-YYNGXKUE.mjs} +3 -3
- package/dist/{chunk-LBCUQ4FY.mjs.map → chunk-YYNGXKUE.mjs.map} +1 -1
- package/dist/{chunk-N5FWIT7N.js → chunk-Z75CEP4V.js} +10 -10
- package/dist/{chunk-N5FWIT7N.js.map → chunk-Z75CEP4V.js.map} +1 -1
- package/dist/index.d.mts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +663 -663
- package/dist/index.mjs +2 -2
- 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.d.mts +1 -1
- package/dist/platform/index.d.ts +1 -1
- package/dist/platform/index.js +86 -86
- 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 +1 -1
- package/dist/chunk-6R5Z2IQ5.js.map +0 -1
- package/dist/chunk-D5FL3ZHC.mjs.map +0 -1
- package/dist/chunk-GDVB7QDZ.js.map +0 -1
- package/dist/chunk-TZA5T4MJ.mjs.map +0 -1
package/dist/platform/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var chunkBGLYJ7GR_js = require('../chunk-BGLYJ7GR.js');
|
|
6
|
-
var chunkV32NUE5U_js = require('../chunk-V32NUE5U.js');
|
|
4
|
+
var chunkID55ABBB_js = require('../chunk-ID55ABBB.js');
|
|
7
5
|
var chunkP4RVGMZL_js = require('../chunk-P4RVGMZL.js');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
6
|
+
var chunkVYU2FYDE_js = require('../chunk-VYU2FYDE.js');
|
|
7
|
+
var chunkLRNVB7MO_js = require('../chunk-LRNVB7MO.js');
|
|
8
|
+
var chunkPLEWG2L7_js = require('../chunk-PLEWG2L7.js');
|
|
9
|
+
var chunkQSCWV47U_js = require('../chunk-QSCWV47U.js');
|
|
10
|
+
var chunkZ75CEP4V_js = require('../chunk-Z75CEP4V.js');
|
|
11
|
+
var chunkTDNBO3V7_js = require('../chunk-TDNBO3V7.js');
|
|
13
12
|
var chunkQGLGQXJE_js = require('../chunk-QGLGQXJE.js');
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
require('../chunk-
|
|
17
|
-
var
|
|
13
|
+
var chunkV3UZCOZI_js = require('../chunk-V3UZCOZI.js');
|
|
14
|
+
var chunkXGAPZT4J_js = require('../chunk-XGAPZT4J.js');
|
|
15
|
+
require('../chunk-MYHBXIO2.js');
|
|
16
|
+
var chunkHTODLUKG_js = require('../chunk-HTODLUKG.js');
|
|
18
17
|
var chunkVY52Y5GC_js = require('../chunk-VY52Y5GC.js');
|
|
19
18
|
var chunk6PBTB5ZX_js = require('../chunk-6PBTB5ZX.js');
|
|
20
|
-
require('../chunk-
|
|
19
|
+
var chunk5OZTI7TR_js = require('../chunk-5OZTI7TR.js');
|
|
20
|
+
require('../chunk-MFF37C24.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
25
|
-
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
23
|
+
require('../chunk-FKRIQYRG.js');
|
|
24
|
+
var chunkULKZGM2T_js = require('../chunk-ULKZGM2T.js');
|
|
26
25
|
var chunk22XPYFHJ_js = require('../chunk-22XPYFHJ.js');
|
|
27
26
|
require('../chunk-2OZZH2IO.js');
|
|
27
|
+
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
28
28
|
require('../chunk-EZQ2D47U.js');
|
|
29
29
|
var chunkBHOT22QL_js = require('../chunk-BHOT22QL.js');
|
|
30
30
|
require('../chunk-UZ3CMNUJ.js');
|
|
@@ -47,7 +47,7 @@ function SessionSwitcher({
|
|
|
47
47
|
const tCommon = chunkYXN2K77G_js.useTranslations("common");
|
|
48
48
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "session-switcher", children: [
|
|
49
49
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
50
|
-
|
|
50
|
+
chunkULKZGM2T_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
|
+
chunkULKZGM2T_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 } =
|
|
84
|
+
const { logout } = chunkULKZGM2T_js.useAuth();
|
|
85
85
|
const tCommon = chunkYXN2K77G_js.useTranslations("common");
|
|
86
86
|
const {
|
|
87
87
|
dockPosition,
|
|
88
88
|
dockAutoHide,
|
|
89
89
|
dockEnabled
|
|
90
|
-
} =
|
|
90
|
+
} = chunkULKZGM2T_js.usePlatformPreferences();
|
|
91
91
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
92
92
|
const filteredItems = react.useMemo(
|
|
93
|
-
() =>
|
|
93
|
+
() => chunkULKZGM2T_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
|
+
chunkULKZGM2T_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
|
+
chunkULKZGM2T_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 = chunkYXN2K77G_js.useLocale();
|
|
134
|
-
const { client } =
|
|
134
|
+
const { client } = chunkULKZGM2T_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 } = chunkULKZGM2T_js.usePlatformPreferences();
|
|
156
156
|
const toggleTheme = () => setTheme(theme === "dark" ? "light" : "dark");
|
|
157
157
|
const t = chunkYXN2K77G_js.useTranslations("platform.preferences");
|
|
158
158
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "preferences-controls", children: [
|
|
159
159
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
160
|
-
|
|
160
|
+
chunkULKZGM2T_js.Select,
|
|
161
161
|
{
|
|
162
162
|
value: locale,
|
|
163
163
|
options: LOCALE_OPTIONS,
|
|
@@ -211,8 +211,8 @@ function mapRoleToOrgRole(role) {
|
|
|
211
211
|
}
|
|
212
212
|
function UsersSettingsSection({ normalizeRole }) {
|
|
213
213
|
const t = chunkYXN2K77G_js.useTranslations("platform.users");
|
|
214
|
-
const { currentOrganizationId } =
|
|
215
|
-
const { error: notifyError, success: notifySuccess } =
|
|
214
|
+
const { currentOrganizationId } = chunkHTODLUKG_js.usePlatformState();
|
|
215
|
+
const { error: notifyError, success: notifySuccess } = chunkULKZGM2T_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
|
+
chunkV3UZCOZI_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 = chunkYXN2K77G_js.useTranslations("platform.roles");
|
|
268
|
-
const { currentOrganizationId } =
|
|
269
|
-
const { error: notifyError, success: notifySuccess } =
|
|
268
|
+
const { currentOrganizationId } = chunkHTODLUKG_js.usePlatformState();
|
|
269
|
+
const { error: notifyError, success: notifySuccess } = chunkULKZGM2T_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
|
+
chunkV3UZCOZI_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 } = chunkULKZGM2T_js.useNotifications();
|
|
312
312
|
const t = chunkYXN2K77G_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
|
+
chunkULKZGM2T_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
|
+
chunkULKZGM2T_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 = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
416
416
|
const tCommon = chunkYXN2K77G_js.useTranslations("common");
|
|
417
|
-
const { error: notifyError, success: notifySuccess } =
|
|
417
|
+
const { error: notifyError, success: notifySuccess } = chunkULKZGM2T_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
|
+
chunkULKZGM2T_js.GlassModal,
|
|
483
483
|
{
|
|
484
484
|
open,
|
|
485
485
|
onClose,
|
|
@@ -550,121 +550,117 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
550
550
|
);
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
554
|
-
enumerable: true,
|
|
555
|
-
get: function () { return chunk5Y67PZWC_js.WorkflowCanvasShell; }
|
|
556
|
-
});
|
|
557
553
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
558
554
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkID55ABBB_js.AdminOrganizationForm; }
|
|
560
556
|
});
|
|
561
557
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
562
558
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkID55ABBB_js.AdminOrganizationList; }
|
|
564
560
|
});
|
|
565
561
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
566
562
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkID55ABBB_js.AdminPermissionList; }
|
|
568
564
|
});
|
|
569
565
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
570
566
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkID55ABBB_js.AdminUserForm; }
|
|
572
568
|
});
|
|
573
569
|
Object.defineProperty(exports, "AdminUserList", {
|
|
574
570
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkID55ABBB_js.AdminUserList; }
|
|
572
|
+
});
|
|
573
|
+
Object.defineProperty(exports, "UpgradePrompt", {
|
|
574
|
+
enumerable: true,
|
|
575
|
+
get: function () { return chunkP4RVGMZL_js.UpgradePrompt; }
|
|
576
576
|
});
|
|
577
577
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
578
578
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunkVYU2FYDE_js.ConsentScreen; }
|
|
580
580
|
});
|
|
581
581
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
582
582
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkVYU2FYDE_js.ForgotPassword; }
|
|
584
584
|
});
|
|
585
585
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
586
586
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkVYU2FYDE_js.MfaChallenge; }
|
|
588
588
|
});
|
|
589
589
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
590
590
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunkVYU2FYDE_js.PasswordlessSignIn; }
|
|
592
592
|
});
|
|
593
593
|
Object.defineProperty(exports, "ResetPassword", {
|
|
594
594
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunkVYU2FYDE_js.ResetPassword; }
|
|
596
596
|
});
|
|
597
597
|
Object.defineProperty(exports, "SignIn", {
|
|
598
598
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunkVYU2FYDE_js.SignIn; }
|
|
600
600
|
});
|
|
601
601
|
Object.defineProperty(exports, "SignUp", {
|
|
602
602
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunkVYU2FYDE_js.SignUp; }
|
|
604
604
|
});
|
|
605
605
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
606
606
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunkVYU2FYDE_js.SsoConnectorList; }
|
|
608
608
|
});
|
|
609
609
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
610
610
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunkVYU2FYDE_js.SsoEmailForm; }
|
|
612
612
|
});
|
|
613
613
|
Object.defineProperty(exports, "UserButton", {
|
|
614
614
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunkVYU2FYDE_js.UserButton; }
|
|
616
616
|
});
|
|
617
617
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
618
618
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
620
|
-
});
|
|
621
|
-
Object.defineProperty(exports, "UpgradePrompt", {
|
|
622
|
-
enumerable: true,
|
|
623
|
-
get: function () { return chunkP4RVGMZL_js.UpgradePrompt; }
|
|
619
|
+
get: function () { return chunkVYU2FYDE_js.VerifyEmail; }
|
|
624
620
|
});
|
|
625
621
|
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
626
622
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
628
|
-
});
|
|
629
|
-
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
630
|
-
enumerable: true,
|
|
631
|
-
get: function () { return chunkGDVB7QDZ_js.WorkflowWorkspace; }
|
|
623
|
+
get: function () { return chunkLRNVB7MO_js.ImpersonationBanner; }
|
|
632
624
|
});
|
|
633
625
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
634
626
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkPLEWG2L7_js.PlatformSettings; }
|
|
636
628
|
});
|
|
637
629
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
638
630
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunkQSCWV47U_js.AdminOrganizationDetail; }
|
|
632
|
+
});
|
|
633
|
+
Object.defineProperty(exports, "BillingPanel", {
|
|
634
|
+
enumerable: true,
|
|
635
|
+
get: function () { return chunkZ75CEP4V_js.BillingPanel; }
|
|
640
636
|
});
|
|
641
637
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
642
638
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkTDNBO3V7_js.LinkedAccountsTabContent; }
|
|
644
640
|
});
|
|
645
641
|
Object.defineProperty(exports, "MfaManage", {
|
|
646
642
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunkTDNBO3V7_js.MfaManage; }
|
|
648
644
|
});
|
|
649
645
|
Object.defineProperty(exports, "MfaSetup", {
|
|
650
646
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkTDNBO3V7_js.MfaSetup; }
|
|
652
648
|
});
|
|
653
649
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
654
650
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkTDNBO3V7_js.ProfileTabContent; }
|
|
656
652
|
});
|
|
657
653
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
658
654
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkTDNBO3V7_js.SecurityTabContent; }
|
|
660
656
|
});
|
|
661
657
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
662
658
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkTDNBO3V7_js.SessionsTabContent; }
|
|
664
660
|
});
|
|
665
661
|
Object.defineProperty(exports, "UserProfile", {
|
|
666
662
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkTDNBO3V7_js.UserProfile; }
|
|
668
664
|
});
|
|
669
665
|
Object.defineProperty(exports, "AuthLayout", {
|
|
670
666
|
enumerable: true,
|
|
@@ -686,45 +682,45 @@ Object.defineProperty(exports, "SocialLoginButtons", {
|
|
|
686
682
|
enumerable: true,
|
|
687
683
|
get: function () { return chunkQGLGQXJE_js.SocialLoginButtons; }
|
|
688
684
|
});
|
|
689
|
-
Object.defineProperty(exports, "
|
|
685
|
+
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
690
686
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunkV3UZCOZI_js.WorkflowWorkspace; }
|
|
692
688
|
});
|
|
693
689
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
694
690
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
691
|
+
get: function () { return chunkXGAPZT4J_js.AgentsWorkspace; }
|
|
696
692
|
});
|
|
697
693
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
698
694
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunkXGAPZT4J_js.applyWorkflowExecutionEventToStore; }
|
|
700
696
|
});
|
|
701
697
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
702
698
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
699
|
+
get: function () { return chunkXGAPZT4J_js.resetWorkflowRunPresentation; }
|
|
704
700
|
});
|
|
705
701
|
Object.defineProperty(exports, "useRunEvents", {
|
|
706
702
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
703
|
+
get: function () { return chunkXGAPZT4J_js.useRunEvents; }
|
|
708
704
|
});
|
|
709
705
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
710
706
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
707
|
+
get: function () { return chunkXGAPZT4J_js.useWorkflowExecution; }
|
|
712
708
|
});
|
|
713
709
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
714
710
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
711
|
+
get: function () { return chunkXGAPZT4J_js.useWorkflowRunPresentation; }
|
|
716
712
|
});
|
|
717
713
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
718
714
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
715
|
+
get: function () { return chunkHTODLUKG_js.PlatformAppShell; }
|
|
720
716
|
});
|
|
721
717
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
722
718
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
719
|
+
get: function () { return chunkHTODLUKG_js.PlatformStateProvider; }
|
|
724
720
|
});
|
|
725
721
|
Object.defineProperty(exports, "usePlatformState", {
|
|
726
722
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
723
|
+
get: function () { return chunkHTODLUKG_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 chunk5OZTI7TR_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,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export {
|
|
3
|
-
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-4PUVECVF.mjs';
|
|
4
|
-
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-AVLOGVVA.mjs';
|
|
2
|
+
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-RBH723MG.mjs';
|
|
5
3
|
export { UpgradePrompt } from '../chunk-DJ33CSGJ.mjs';
|
|
6
|
-
export {
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-
|
|
4
|
+
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-NK4H3JWN.mjs';
|
|
5
|
+
export { ImpersonationBanner } from '../chunk-PIIY2Z2O.mjs';
|
|
6
|
+
export { PlatformSettings } from '../chunk-WLNY3GVM.mjs';
|
|
7
|
+
export { AdminOrganizationDetail } from '../chunk-UVFWKDRO.mjs';
|
|
8
|
+
export { BillingPanel } from '../chunk-YYNGXKUE.mjs';
|
|
9
|
+
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-BPMYNE7S.mjs';
|
|
12
10
|
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../chunk-3VYD7QL2.mjs';
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
import
|
|
17
|
-
|
|
11
|
+
import { UsersPageView, RolesPageView } from '../chunk-4D23CQZM.mjs';
|
|
12
|
+
export { WorkflowWorkspace } from '../chunk-4D23CQZM.mjs';
|
|
13
|
+
export { AgentsWorkspace, applyWorkflowExecutionEventToStore, resetWorkflowRunPresentation, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation } from '../chunk-N5GQIT7A.mjs';
|
|
14
|
+
import '../chunk-OM5NNUD2.mjs';
|
|
15
|
+
import { usePlatformState } from '../chunk-RT264BD4.mjs';
|
|
16
|
+
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-RT264BD4.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-NQGLSM46.mjs';
|
|
21
|
+
import '../chunk-5TLKFOEL.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-7VJ7CMMT.mjs';
|
|
24
|
+
import '../chunk-EDI46QA7.mjs';
|
|
25
|
+
import { Select, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, useNotifications, Textarea } from '../chunk-OW5LSEHU.mjs';
|
|
27
26
|
import { listModelProviderConnections, listWorkflowTemplates, createWorkflowFromTemplate, aiGenerateWorkflow, createWorkflow, saveWorkflowDraft } from '../chunk-NBW6WJQT.mjs';
|
|
28
27
|
import '../chunk-3AY5HIQ6.mjs';
|
|
28
|
+
import { useTranslations, useLocale } from '../chunk-7VJ7CMMT.mjs';
|
|
29
29
|
import '../chunk-PLTLRL2V.mjs';
|
|
30
30
|
import { Button, IconButton, Badge } from '../chunk-WR55H7DH.mjs';
|
|
31
31
|
import '../chunk-D2JF6C3E.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;
|