@datatechsolutions/ui 3.11.1 → 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 +109 -109
- package/dist/astrlabe/index.mjs +5 -5
- package/dist/astrlabe/workflow-canvas.js +5 -5
- package/dist/astrlabe/workflow-canvas.mjs +4 -4
- package/dist/{chunk-ZUU7G3PC.js → chunk-22XPYFHJ.js} +2 -2
- package/dist/chunk-22XPYFHJ.js.map +1 -0
- package/dist/{chunk-7DZ2C5IN.mjs → chunk-4D23CQZM.mjs} +80 -16
- package/dist/chunk-4D23CQZM.mjs.map +1 -0
- package/dist/{chunk-QASAHGLE.js → chunk-5OZTI7TR.js} +4 -4
- package/dist/{chunk-QASAHGLE.js.map → chunk-5OZTI7TR.js.map} +1 -1
- package/dist/{chunk-E3NMVWRL.mjs → chunk-5TLKFOEL.mjs} +85 -73
- package/dist/chunk-5TLKFOEL.mjs.map +1 -0
- package/dist/{chunk-K3LIDGMA.mjs → chunk-BPMYNE7S.mjs} +3 -3
- package/dist/{chunk-K3LIDGMA.mjs.map → chunk-BPMYNE7S.mjs.map} +1 -1
- package/dist/{chunk-IHOCYBHM.mjs → chunk-EDI46QA7.mjs} +3 -3
- package/dist/{chunk-IHOCYBHM.mjs.map → chunk-EDI46QA7.mjs.map} +1 -1
- package/dist/{chunk-OSXBMLZP.js → chunk-FKRIQYRG.js} +68 -68
- package/dist/{chunk-OSXBMLZP.js.map → chunk-FKRIQYRG.js.map} +1 -1
- package/dist/{chunk-DPXCJVJT.js → chunk-HTODLUKG.js} +9 -9
- package/dist/{chunk-DPXCJVJT.js.map → chunk-HTODLUKG.js.map} +1 -1
- package/dist/{chunk-SSKKTSMA.js → chunk-ID55ABBB.js} +35 -35
- package/dist/{chunk-SSKKTSMA.js.map → chunk-ID55ABBB.js.map} +1 -1
- package/dist/{chunk-OO4YMN4P.js → chunk-LRNVB7MO.js} +4 -4
- package/dist/{chunk-OO4YMN4P.js.map → chunk-LRNVB7MO.js.map} +1 -1
- package/dist/{chunk-APONR6ZM.js → chunk-MFF37C24.js} +213 -201
- package/dist/chunk-MFF37C24.js.map +1 -0
- package/dist/{chunk-NW32BM3F.js → chunk-MYHBXIO2.js} +34 -34
- package/dist/{chunk-NW32BM3F.js.map → chunk-MYHBXIO2.js.map} +1 -1
- package/dist/{chunk-S46LUR7O.mjs → chunk-N5GQIT7A.mjs} +10 -8
- package/dist/chunk-N5GQIT7A.mjs.map +1 -0
- package/dist/{chunk-IGOMJHC6.mjs → chunk-NBW6WJQT.mjs} +2 -2
- package/dist/chunk-NBW6WJQT.mjs.map +1 -0
- package/dist/{chunk-Q6MMJYEG.mjs → chunk-NK4H3JWN.mjs} +3 -3
- package/dist/{chunk-Q6MMJYEG.mjs.map → chunk-NK4H3JWN.mjs.map} +1 -1
- package/dist/{chunk-O4DIKNNH.mjs → chunk-NQGLSM46.mjs} +3 -3
- package/dist/{chunk-O4DIKNNH.mjs.map → chunk-NQGLSM46.mjs.map} +1 -1
- package/dist/{chunk-S4LHC5SF.mjs → chunk-OM5NNUD2.mjs} +3 -3
- package/dist/{chunk-S4LHC5SF.mjs.map → chunk-OM5NNUD2.mjs.map} +1 -1
- package/dist/{chunk-OKCEK7GH.mjs → chunk-OW5LSEHU.mjs} +86 -43
- package/dist/chunk-OW5LSEHU.mjs.map +1 -0
- package/dist/{chunk-LHAOIPYP.mjs → chunk-PIIY2Z2O.mjs} +3 -3
- package/dist/{chunk-LHAOIPYP.mjs.map → chunk-PIIY2Z2O.mjs.map} +1 -1
- package/dist/{chunk-CLXEVSGB.js → chunk-PLEWG2L7.js} +13 -13
- package/dist/{chunk-CLXEVSGB.js.map → chunk-PLEWG2L7.js.map} +1 -1
- package/dist/{chunk-OD2AZBEX.js → chunk-QSCWV47U.js} +25 -25
- package/dist/{chunk-OD2AZBEX.js.map → chunk-QSCWV47U.js.map} +1 -1
- package/dist/{chunk-QKWNQOJB.mjs → chunk-RBH723MG.mjs} +3 -3
- package/dist/{chunk-QKWNQOJB.mjs.map → chunk-RBH723MG.mjs.map} +1 -1
- package/dist/{chunk-QDW3IJIL.mjs → chunk-RT264BD4.mjs} +3 -3
- package/dist/{chunk-QDW3IJIL.mjs.map → chunk-RT264BD4.mjs.map} +1 -1
- package/dist/{chunk-MN777KLN.js → chunk-TDNBO3V7.js} +45 -45
- package/dist/{chunk-MN777KLN.js.map → chunk-TDNBO3V7.js.map} +1 -1
- package/dist/{chunk-TIJXCRM4.js → chunk-ULKZGM2T.js} +88 -45
- package/dist/chunk-ULKZGM2T.js.map +1 -0
- package/dist/{chunk-3U3CIARA.mjs → chunk-UVFWKDRO.mjs} +3 -3
- package/dist/{chunk-3U3CIARA.mjs.map → chunk-UVFWKDRO.mjs.map} +1 -1
- package/dist/{chunk-KDVZIDVF.js → chunk-V3UZCOZI.js} +102 -38
- package/dist/chunk-V3UZCOZI.js.map +1 -0
- package/dist/{chunk-LM6BJOKX.js → chunk-VYU2FYDE.js} +55 -55
- package/dist/{chunk-LM6BJOKX.js.map → chunk-VYU2FYDE.js.map} +1 -1
- package/dist/{chunk-I77TTBYO.mjs → chunk-WLNY3GVM.mjs} +6 -6
- package/dist/{chunk-I77TTBYO.mjs.map → chunk-WLNY3GVM.mjs.map} +1 -1
- package/dist/{chunk-BTMHQCDB.js → chunk-XGAPZT4J.js} +66 -64
- package/dist/chunk-XGAPZT4J.js.map +1 -0
- package/dist/{chunk-VHU5FWFB.mjs → chunk-YYNGXKUE.mjs} +3 -3
- package/dist/{chunk-VHU5FWFB.mjs.map → chunk-YYNGXKUE.mjs.map} +1 -1
- package/dist/{chunk-CVCMJJ56.js → chunk-Z75CEP4V.js} +10 -10
- package/dist/{chunk-CVCMJJ56.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 +664 -664
- package/dist/index.mjs +3 -3
- package/dist/platform/admin/index.js +11 -11
- package/dist/platform/admin/index.mjs +5 -5
- package/dist/platform/agents-workspace.js +8 -8
- package/dist/platform/agents-workspace.mjs +7 -7
- package/dist/platform/app-shell.js +5 -5
- package/dist/platform/app-shell.mjs +4 -4
- package/dist/platform/auth/index.js +23 -23
- package/dist/platform/auth/index.mjs +5 -5
- package/dist/platform/billing/index.js +5 -5
- package/dist/platform/billing/index.mjs +4 -4
- package/dist/platform/impersonation/index.js +5 -5
- package/dist/platform/impersonation/index.mjs +4 -4
- package/dist/platform/index.js +94 -94
- package/dist/platform/index.mjs +19 -19
- package/dist/platform/pages/index.d.mts +77 -18
- package/dist/platform/pages/index.d.ts +77 -18
- package/dist/platform/pages/index.js +1090 -506
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +790 -206
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +8 -8
- package/dist/platform/settings/index.mjs +7 -7
- package/dist/platform/workflow-api-client.d.mts +1 -1
- package/dist/platform/workflow-api-client.d.ts +1 -1
- package/dist/platform/workflow-api-client.js +62 -62
- package/dist/platform/workflow-api-client.mjs +1 -1
- package/dist/platform/workflow-canvas-shell.js +6 -6
- package/dist/platform/workflow-canvas-shell.mjs +5 -5
- package/dist/{workflow-api-client-E1QFRgeP.d.ts → workflow-api-client-CThkBj5j.d.ts} +4 -0
- package/dist/{workflow-api-client-D9_0Spdz.d.mts → workflow-api-client-crR8L7fy.d.mts} +4 -0
- package/package.json +1 -1
- package/dist/chunk-7DZ2C5IN.mjs.map +0 -1
- package/dist/chunk-APONR6ZM.js.map +0 -1
- package/dist/chunk-BTMHQCDB.js.map +0 -1
- package/dist/chunk-E3NMVWRL.mjs.map +0 -1
- package/dist/chunk-IGOMJHC6.mjs.map +0 -1
- package/dist/chunk-KDVZIDVF.js.map +0 -1
- package/dist/chunk-OKCEK7GH.mjs.map +0 -1
- package/dist/chunk-S46LUR7O.mjs.map +0 -1
- package/dist/chunk-TIJXCRM4.js.map +0 -1
- package/dist/chunk-ZUU7G3PC.js.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 chunkSSKKTSMA_js = require('../chunk-SSKKTSMA.js');
|
|
6
|
-
var chunkLM6BJOKX_js = require('../chunk-LM6BJOKX.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
|
|
26
|
-
var chunkZUU7G3PC_js = require('../chunk-ZUU7G3PC.js');
|
|
23
|
+
require('../chunk-FKRIQYRG.js');
|
|
24
|
+
var chunkULKZGM2T_js = require('../chunk-ULKZGM2T.js');
|
|
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("");
|
|
@@ -316,7 +316,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
316
316
|
const [busy, setBusy] = react.useState(false);
|
|
317
317
|
react.useEffect(() => {
|
|
318
318
|
if (!open) return;
|
|
319
|
-
|
|
319
|
+
chunk22XPYFHJ_js.listModelProviderConnections().then((items) => {
|
|
320
320
|
setConnections(items);
|
|
321
321
|
const firstEnabled = items.find((item) => item.enabled) ?? items[0];
|
|
322
322
|
setConnectionId(firstEnabled?.id ?? "");
|
|
@@ -333,9 +333,9 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
333
333
|
}
|
|
334
334
|
setBusy(true);
|
|
335
335
|
try {
|
|
336
|
-
const generation = await
|
|
337
|
-
const workflow = await
|
|
338
|
-
const saved = await
|
|
336
|
+
const generation = await chunk22XPYFHJ_js.aiGenerateWorkflow({ prompt: prompt.trim(), connectionId });
|
|
337
|
+
const workflow = await chunk22XPYFHJ_js.createWorkflow({ name: deriveWorkflowName(prompt) });
|
|
338
|
+
const saved = await chunk22XPYFHJ_js.saveWorkflowDraft(workflow.id, generation.graph, { name: workflow.name });
|
|
339
339
|
if (!generation.ok) {
|
|
340
340
|
notifyError(
|
|
341
341
|
t("aiWarnValidation"),
|
|
@@ -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("");
|
|
@@ -432,8 +432,8 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
432
432
|
(async () => {
|
|
433
433
|
try {
|
|
434
434
|
const [tpls, conns] = await Promise.all([
|
|
435
|
-
|
|
436
|
-
|
|
435
|
+
chunk22XPYFHJ_js.listWorkflowTemplates(),
|
|
436
|
+
chunk22XPYFHJ_js.listModelProviderConnections()
|
|
437
437
|
]);
|
|
438
438
|
if (cancelled) return;
|
|
439
439
|
setTemplates(tpls);
|
|
@@ -465,7 +465,7 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
465
465
|
if (!canSubmit) return;
|
|
466
466
|
setIsSubmitting(true);
|
|
467
467
|
try {
|
|
468
|
-
const created = await
|
|
468
|
+
const created = await chunk22XPYFHJ_js.createWorkflowFromTemplate(templateId, {
|
|
469
469
|
connectionId,
|
|
470
470
|
name: name.trim().length > 0 ? name.trim() : void 0
|
|
471
471
|
});
|
|
@@ -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 chunkQASAHGLE_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 chunkKDVZIDVF_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-QKWNQOJB.mjs';
|
|
4
|
-
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-Q6MMJYEG.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 {
|
|
27
|
-
import { listModelProviderConnections, listWorkflowTemplates, createWorkflowFromTemplate, aiGenerateWorkflow, createWorkflow, saveWorkflowDraft } from '../chunk-IGOMJHC6.mjs';
|
|
24
|
+
import '../chunk-EDI46QA7.mjs';
|
|
25
|
+
import { Select, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, useNotifications, Textarea } from '../chunk-OW5LSEHU.mjs';
|
|
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';
|