@datatechsolutions/ui 3.13.0 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrlabe/graph-node.js +6 -6
- package/dist/astrlabe/graph-node.mjs +2 -2
- package/dist/astrlabe/index.js +114 -114
- package/dist/astrlabe/index.mjs +6 -6
- package/dist/astrlabe/workflow-canvas.js +6 -6
- package/dist/astrlabe/workflow-canvas.mjs +5 -5
- package/dist/{chunk-AMCFAGK3.js → chunk-2II2NLAZ.js} +42 -41
- package/dist/chunk-2II2NLAZ.js.map +1 -0
- package/dist/{chunk-WR55H7DH.mjs → chunk-2SBVFLPZ.mjs} +19 -2
- package/dist/chunk-2SBVFLPZ.mjs.map +1 -0
- package/dist/{chunk-UXHJS2SH.mjs → chunk-33ZWFDVG.mjs} +282 -331
- package/dist/chunk-33ZWFDVG.mjs.map +1 -0
- package/dist/{chunk-2ECLDHAT.js → chunk-4HZ55YKZ.js} +9 -9
- package/dist/{chunk-2ECLDHAT.js.map → chunk-4HZ55YKZ.js.map} +1 -1
- package/dist/{chunk-VI4IUTMX.js → chunk-4P72IJOM.js} +6 -6
- package/dist/{chunk-VI4IUTMX.js.map → chunk-4P72IJOM.js.map} +1 -1
- package/dist/{chunk-D5OTZGA2.js → chunk-5SCZB5UI.js} +382 -431
- package/dist/chunk-5SCZB5UI.js.map +1 -0
- package/dist/{chunk-4VHFGW7I.mjs → chunk-5YCH7FHT.mjs} +3 -3
- package/dist/{chunk-4VHFGW7I.mjs.map → chunk-5YCH7FHT.mjs.map} +1 -1
- package/dist/{chunk-P4RVGMZL.js → chunk-6NBQTIXX.js} +9 -37
- package/dist/chunk-6NBQTIXX.js.map +1 -0
- package/dist/{chunk-EZQ2D47U.js → chunk-6NEESZVO.js} +4 -4
- package/dist/{chunk-EZQ2D47U.js.map → chunk-6NEESZVO.js.map} +1 -1
- package/dist/{chunk-N4YT3QA5.js → chunk-72XZ7DSF.js} +13 -13
- package/dist/{chunk-N4YT3QA5.js.map → chunk-72XZ7DSF.js.map} +1 -1
- package/dist/{chunk-QGRTV35L.mjs → chunk-7NHJSD4A.mjs} +6 -6
- package/dist/{chunk-QGRTV35L.mjs.map → chunk-7NHJSD4A.mjs.map} +1 -1
- package/dist/{chunk-PPIUMCUZ.js → chunk-7SDB2VC2.js} +4 -4
- package/dist/{chunk-PPIUMCUZ.js.map → chunk-7SDB2VC2.js.map} +1 -1
- package/dist/{chunk-QGLGQXJE.js → chunk-A5OMGPMR.js} +10 -10
- package/dist/chunk-A5OMGPMR.js.map +1 -0
- package/dist/{chunk-K5567JM5.js → chunk-AUCS2KF4.js} +26 -26
- package/dist/{chunk-K5567JM5.js.map → chunk-AUCS2KF4.js.map} +1 -1
- package/dist/{chunk-MSKKNPRE.mjs → chunk-F4KHAKTP.mjs} +172 -116
- package/dist/chunk-F4KHAKTP.mjs.map +1 -0
- package/dist/{chunk-SDYKXLCU.js → chunk-FHGWXWVZ.js} +67 -67
- package/dist/{chunk-SDYKXLCU.js.map → chunk-FHGWXWVZ.js.map} +1 -1
- package/dist/{chunk-5ETT54QS.js → chunk-FZUV7GNB.js} +241 -184
- package/dist/chunk-FZUV7GNB.js.map +1 -0
- package/dist/{chunk-6KDTVSZT.mjs → chunk-HQNIETHV.mjs} +11 -10
- package/dist/chunk-HQNIETHV.mjs.map +1 -0
- package/dist/{chunk-PLTLRL2V.mjs → chunk-KDDXDQR2.mjs} +3 -3
- package/dist/{chunk-PLTLRL2V.mjs.map → chunk-KDDXDQR2.mjs.map} +1 -1
- package/dist/{chunk-6YTYD4P5.js → chunk-LJGPMMKB.js} +156 -193
- package/dist/chunk-LJGPMMKB.js.map +1 -0
- package/dist/{chunk-BHOT22QL.js → chunk-MXQ2EYG2.js} +19 -2
- package/dist/chunk-MXQ2EYG2.js.map +1 -0
- package/dist/{chunk-ANFSQJNI.mjs → chunk-N6SGVUTR.mjs} +17 -20
- package/dist/chunk-N6SGVUTR.mjs.map +1 -0
- package/dist/{chunk-IIRS5XZY.js → chunk-NIZSQJRW.js} +33 -33
- package/dist/{chunk-IIRS5XZY.js.map → chunk-NIZSQJRW.js.map} +1 -1
- package/dist/{chunk-AKWCT53S.mjs → chunk-NXWIT4YQ.mjs} +47 -50
- package/dist/chunk-NXWIT4YQ.mjs.map +1 -0
- package/dist/{chunk-OC4AOYU5.mjs → chunk-OTQXU4WG.mjs} +83 -120
- package/dist/chunk-OTQXU4WG.mjs.map +1 -0
- package/dist/{chunk-CSOMZ5UM.mjs → chunk-PO66V2PN.mjs} +9 -9
- package/dist/{chunk-CSOMZ5UM.mjs.map → chunk-PO66V2PN.mjs.map} +1 -1
- package/dist/{chunk-OY5HUZSD.js → chunk-PXGESUKI.js} +94 -97
- package/dist/chunk-PXGESUKI.js.map +1 -0
- package/dist/{chunk-7TYNV6SY.mjs → chunk-Q2FUNDCP.mjs} +14 -14
- package/dist/{chunk-7TYNV6SY.mjs.map → chunk-Q2FUNDCP.mjs.map} +1 -1
- package/dist/{chunk-KWH7JIRP.mjs → chunk-Q5TZTA6H.mjs} +9 -8
- package/dist/chunk-Q5TZTA6H.mjs.map +1 -0
- package/dist/{chunk-ZRCXDKBE.mjs → chunk-T7DROKWJ.mjs} +4 -4
- package/dist/{chunk-ZRCXDKBE.mjs.map → chunk-T7DROKWJ.mjs.map} +1 -1
- package/dist/{chunk-3VYD7QL2.mjs → chunk-TQADF23S.mjs} +9 -9
- package/dist/chunk-TQADF23S.mjs.map +1 -0
- package/dist/{chunk-VIB42VMZ.mjs → chunk-U7VMFQFN.mjs} +5 -5
- package/dist/{chunk-VIB42VMZ.mjs.map → chunk-U7VMFQFN.mjs.map} +1 -1
- package/dist/{chunk-AHNH2PMI.mjs → chunk-WE35EV7J.mjs} +3 -3
- package/dist/{chunk-AHNH2PMI.mjs.map → chunk-WE35EV7J.mjs.map} +1 -1
- package/dist/{chunk-UPYACFZJ.mjs → chunk-WTSMTLSP.mjs} +303 -347
- package/dist/chunk-WTSMTLSP.mjs.map +1 -0
- package/dist/{chunk-WOTKBKS6.js → chunk-YFMMZHL5.js} +47 -50
- package/dist/chunk-YFMMZHL5.js.map +1 -0
- package/dist/{chunk-DJ33CSGJ.mjs → chunk-ZBX7UCAP.mjs} +9 -37
- package/dist/chunk-ZBX7UCAP.mjs.map +1 -0
- package/dist/{chunk-NF5DDM5V.js → chunk-ZE6U4N4Q.js} +44 -43
- package/dist/chunk-ZE6U4N4Q.js.map +1 -0
- package/dist/{chunk-MQDCUBVW.js → chunk-ZIRD3X6G.js} +459 -503
- package/dist/chunk-ZIRD3X6G.js.map +1 -0
- package/dist/index.d.mts +77 -7
- package/dist/index.d.ts +77 -7
- package/dist/index.js +708 -704
- package/dist/index.mjs +3 -3
- package/dist/platform/admin/index.js +12 -12
- package/dist/platform/admin/index.mjs +6 -6
- package/dist/platform/agents-workspace.js +9 -9
- package/dist/platform/agents-workspace.mjs +8 -8
- package/dist/platform/app-shell.js +5 -5
- package/dist/platform/app-shell.mjs +4 -4
- package/dist/platform/auth/index.js +29 -29
- package/dist/platform/auth/index.mjs +6 -6
- package/dist/platform/billing/index.js +7 -7
- package/dist/platform/billing/index.mjs +5 -5
- package/dist/platform/impersonation/index.js +5 -5
- package/dist/platform/impersonation/index.mjs +4 -4
- package/dist/platform/index.js +99 -99
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/index.mjs +30 -30
- package/dist/platform/index.mjs.map +1 -1
- package/dist/platform/pages/index.d.mts +115 -3
- package/dist/platform/pages/index.d.ts +115 -3
- package/dist/platform/pages/index.js +966 -519
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +562 -121
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +9 -9
- package/dist/platform/settings/index.mjs +8 -8
- package/dist/platform/workflow-canvas-shell.js +7 -7
- package/dist/platform/workflow-canvas-shell.mjs +6 -6
- package/package.json +1 -1
- package/dist/chunk-3VYD7QL2.mjs.map +0 -1
- package/dist/chunk-5ETT54QS.js.map +0 -1
- package/dist/chunk-6KDTVSZT.mjs.map +0 -1
- package/dist/chunk-6YTYD4P5.js.map +0 -1
- package/dist/chunk-AKWCT53S.mjs.map +0 -1
- package/dist/chunk-AMCFAGK3.js.map +0 -1
- package/dist/chunk-ANFSQJNI.mjs.map +0 -1
- package/dist/chunk-BHOT22QL.js.map +0 -1
- package/dist/chunk-D5OTZGA2.js.map +0 -1
- package/dist/chunk-DJ33CSGJ.mjs.map +0 -1
- package/dist/chunk-KWH7JIRP.mjs.map +0 -1
- package/dist/chunk-MQDCUBVW.js.map +0 -1
- package/dist/chunk-MSKKNPRE.mjs.map +0 -1
- package/dist/chunk-NF5DDM5V.js.map +0 -1
- package/dist/chunk-OC4AOYU5.mjs.map +0 -1
- package/dist/chunk-OY5HUZSD.js.map +0 -1
- package/dist/chunk-P4RVGMZL.js.map +0 -1
- package/dist/chunk-QGLGQXJE.js.map +0 -1
- package/dist/chunk-UPYACFZJ.mjs.map +0 -1
- package/dist/chunk-UXHJS2SH.mjs.map +0 -1
- package/dist/chunk-WOTKBKS6.js.map +0 -1
- package/dist/chunk-WR55H7DH.mjs.map +0 -1
package/dist/platform/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
require('../chunk-
|
|
17
|
-
var chunk2ECLDHAT_js = require('../chunk-2ECLDHAT.js');
|
|
4
|
+
var chunkPXGESUKI_js = require('../chunk-PXGESUKI.js');
|
|
5
|
+
var chunkLJGPMMKB_js = require('../chunk-LJGPMMKB.js');
|
|
6
|
+
var chunk6NBQTIXX_js = require('../chunk-6NBQTIXX.js');
|
|
7
|
+
var chunk4P72IJOM_js = require('../chunk-4P72IJOM.js');
|
|
8
|
+
var chunkNIZSQJRW_js = require('../chunk-NIZSQJRW.js');
|
|
9
|
+
var chunk72XZ7DSF_js = require('../chunk-72XZ7DSF.js');
|
|
10
|
+
var chunkYFMMZHL5_js = require('../chunk-YFMMZHL5.js');
|
|
11
|
+
var chunkFHGWXWVZ_js = require('../chunk-FHGWXWVZ.js');
|
|
12
|
+
var chunkA5OMGPMR_js = require('../chunk-A5OMGPMR.js');
|
|
13
|
+
var chunkAUCS2KF4_js = require('../chunk-AUCS2KF4.js');
|
|
14
|
+
var chunkZE6U4N4Q_js = require('../chunk-ZE6U4N4Q.js');
|
|
15
|
+
require('../chunk-2II2NLAZ.js');
|
|
16
|
+
var chunk4HZ55YKZ_js = require('../chunk-4HZ55YKZ.js');
|
|
18
17
|
var chunkVY52Y5GC_js = require('../chunk-VY52Y5GC.js');
|
|
19
18
|
var chunk6PBTB5ZX_js = require('../chunk-6PBTB5ZX.js');
|
|
20
|
-
require('../chunk-
|
|
19
|
+
var chunk7SDB2VC2_js = require('../chunk-7SDB2VC2.js');
|
|
20
|
+
require('../chunk-ZIRD3X6G.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
25
|
-
var chunkY5VN4SPH_js = require('../chunk-Y5VN4SPH.js');
|
|
23
|
+
require('../chunk-5SCZB5UI.js');
|
|
24
|
+
var chunkFZUV7GNB_js = require('../chunk-FZUV7GNB.js');
|
|
26
25
|
var chunk22XPYFHJ_js = require('../chunk-22XPYFHJ.js');
|
|
27
26
|
require('../chunk-2OZZH2IO.js');
|
|
28
|
-
require('../chunk-
|
|
29
|
-
|
|
27
|
+
var chunkY5VN4SPH_js = require('../chunk-Y5VN4SPH.js');
|
|
28
|
+
require('../chunk-6NEESZVO.js');
|
|
29
|
+
var chunkMXQ2EYG2_js = require('../chunk-MXQ2EYG2.js');
|
|
30
30
|
require('../chunk-UZ3CMNUJ.js');
|
|
31
31
|
var chunkS7KHTUHA_js = require('../chunk-S7KHTUHA.js');
|
|
32
32
|
require('../chunk-72SWXOD5.js');
|
|
@@ -47,7 +47,7 @@ function SessionSwitcher({
|
|
|
47
47
|
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
48
48
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "session-switcher", children: [
|
|
49
49
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
50
|
-
|
|
50
|
+
chunkFZUV7GNB_js.Select,
|
|
51
51
|
{
|
|
52
52
|
value: organizationId,
|
|
53
53
|
"aria-label": tSession("organization"),
|
|
@@ -59,7 +59,7 @@ function SessionSwitcher({
|
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
61
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
62
|
-
|
|
62
|
+
chunkFZUV7GNB_js.Select,
|
|
63
63
|
{
|
|
64
64
|
value: userEmail,
|
|
65
65
|
"aria-label": tSession("user"),
|
|
@@ -70,7 +70,7 @@ function SessionSwitcher({
|
|
|
70
70
|
placeholder: tSession("user")
|
|
71
71
|
}
|
|
72
72
|
),
|
|
73
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
73
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Button, { outline: true, onClick: () => globalThis.location.reload(), children: tCommon("refresh") })
|
|
74
74
|
] });
|
|
75
75
|
}
|
|
76
76
|
function PlatformDockContainer({
|
|
@@ -81,16 +81,16 @@ function PlatformDockContainer({
|
|
|
81
81
|
}) {
|
|
82
82
|
const pathname = chunkS7KHTUHA_js.usePathname();
|
|
83
83
|
const router = chunkS7KHTUHA_js.useRouter();
|
|
84
|
-
const { logout } =
|
|
84
|
+
const { logout } = chunkFZUV7GNB_js.useAuth();
|
|
85
85
|
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
86
86
|
const {
|
|
87
87
|
dockPosition,
|
|
88
88
|
dockAutoHide,
|
|
89
89
|
dockEnabled
|
|
90
|
-
} =
|
|
90
|
+
} = chunkFZUV7GNB_js.usePlatformPreferences();
|
|
91
91
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
92
92
|
const filteredItems = react.useMemo(
|
|
93
|
-
() =>
|
|
93
|
+
() => chunkFZUV7GNB_js.filterByPermission(navigationItems, actor?.permissions ?? []),
|
|
94
94
|
[navigationItems, actor]
|
|
95
95
|
);
|
|
96
96
|
const handleNavigate = react.useCallback((href) => router.push(href), [router]);
|
|
@@ -100,7 +100,7 @@ function PlatformDockContainer({
|
|
|
100
100
|
if (pathname === dashboardPath) return null;
|
|
101
101
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
102
102
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
103
|
-
|
|
103
|
+
chunkFZUV7GNB_js.AppNavigation,
|
|
104
104
|
{
|
|
105
105
|
items: filteredItems,
|
|
106
106
|
pathname,
|
|
@@ -119,7 +119,7 @@ function PlatformDockContainer({
|
|
|
119
119
|
}
|
|
120
120
|
),
|
|
121
121
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
122
|
-
|
|
122
|
+
chunkFZUV7GNB_js.GlassModal,
|
|
123
123
|
{
|
|
124
124
|
open: profileOpen,
|
|
125
125
|
onClose: () => setProfileOpen(false),
|
|
@@ -131,7 +131,7 @@ function PlatformDockContainer({
|
|
|
131
131
|
}
|
|
132
132
|
function useLocaleSwitcher() {
|
|
133
133
|
const locale = chunkY5VN4SPH_js.useLocale();
|
|
134
|
-
const { client } =
|
|
134
|
+
const { client } = chunkFZUV7GNB_js.useAuth();
|
|
135
135
|
const setLocale = react.useCallback(
|
|
136
136
|
(newLocale) => {
|
|
137
137
|
const resolved = i18n.applyClientLocale(newLocale);
|
|
@@ -152,12 +152,12 @@ var LOCALE_OPTIONS = i18n.SUPPORTED_LOCALES.map((code) => ({
|
|
|
152
152
|
}));
|
|
153
153
|
function PreferencesControls() {
|
|
154
154
|
const { locale, setLocale } = useLocaleSwitcher();
|
|
155
|
-
const { theme, setTheme } =
|
|
155
|
+
const { theme, setTheme } = chunkFZUV7GNB_js.usePlatformPreferences();
|
|
156
156
|
const toggleTheme = () => setTheme(theme === "dark" ? "light" : "dark");
|
|
157
157
|
const t = chunkY5VN4SPH_js.useTranslations("platform.preferences");
|
|
158
158
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "preferences-controls", children: [
|
|
159
159
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
160
|
-
|
|
160
|
+
chunkFZUV7GNB_js.Select,
|
|
161
161
|
{
|
|
162
162
|
value: locale,
|
|
163
163
|
options: LOCALE_OPTIONS,
|
|
@@ -165,7 +165,7 @@ function PreferencesControls() {
|
|
|
165
165
|
}
|
|
166
166
|
),
|
|
167
167
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
168
|
-
|
|
168
|
+
chunkMXQ2EYG2_js.IconButton,
|
|
169
169
|
{
|
|
170
170
|
label: t("theme"),
|
|
171
171
|
icon: theme === "dark" ? /* @__PURE__ */ jsxRuntime.jsx(outline.SunIcon, {}) : /* @__PURE__ */ jsxRuntime.jsx(outline.MoonIcon, {}),
|
|
@@ -211,8 +211,8 @@ function mapRoleToOrgRole(role) {
|
|
|
211
211
|
}
|
|
212
212
|
function UsersSettingsSection({ normalizeRole }) {
|
|
213
213
|
const t = chunkY5VN4SPH_js.useTranslations("platform.users");
|
|
214
|
-
const { currentOrganizationId } =
|
|
215
|
-
const { error: notifyError, success: notifySuccess } =
|
|
214
|
+
const { currentOrganizationId } = chunk4HZ55YKZ_js.usePlatformState();
|
|
215
|
+
const { error: notifyError, success: notifySuccess } = chunkFZUV7GNB_js.useNotifications();
|
|
216
216
|
const [users, setUsers] = react.useState([]);
|
|
217
217
|
const [loading, setLoading] = react.useState(true);
|
|
218
218
|
const reload = async () => {
|
|
@@ -229,7 +229,7 @@ function UsersSettingsSection({ normalizeRole }) {
|
|
|
229
229
|
void reload();
|
|
230
230
|
}, [currentOrganizationId]);
|
|
231
231
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
232
|
-
|
|
232
|
+
chunkNIZSQJRW_js.UsersPageView,
|
|
233
233
|
{
|
|
234
234
|
labels: {
|
|
235
235
|
title: t("title"),
|
|
@@ -265,14 +265,14 @@ function UsersSettingsSection({ normalizeRole }) {
|
|
|
265
265
|
}
|
|
266
266
|
function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }) {
|
|
267
267
|
const t = chunkY5VN4SPH_js.useTranslations("platform.roles");
|
|
268
|
-
const { currentOrganizationId } =
|
|
269
|
-
const { error: notifyError, success: notifySuccess } =
|
|
268
|
+
const { currentOrganizationId } = chunk4HZ55YKZ_js.usePlatformState();
|
|
269
|
+
const { error: notifyError, success: notifySuccess } = chunkFZUV7GNB_js.useNotifications();
|
|
270
270
|
const [users, setUsers] = react.useState([]);
|
|
271
271
|
react.useEffect(() => {
|
|
272
272
|
chunk6PBTB5ZX_js.listUsers({ organizationId: currentOrganizationId }).then((result) => setUsers(result.items.map((row) => mapAdminUser(row, normalizeRole)))).catch((error) => notifyError(error.message));
|
|
273
273
|
}, [currentOrganizationId, notifyError, normalizeRole]);
|
|
274
274
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
275
|
-
|
|
275
|
+
chunkNIZSQJRW_js.RolesPageView,
|
|
276
276
|
{
|
|
277
277
|
roleDefinitions,
|
|
278
278
|
roleOptions,
|
|
@@ -308,7 +308,7 @@ function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }) {
|
|
|
308
308
|
);
|
|
309
309
|
}
|
|
310
310
|
function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
311
|
-
const { error: notifyError, success: notifySuccess } =
|
|
311
|
+
const { error: notifyError, success: notifySuccess } = chunkFZUV7GNB_js.useNotifications();
|
|
312
312
|
const t = chunkY5VN4SPH_js.useTranslations("agents.workflow");
|
|
313
313
|
const [connections, setConnections] = react.useState([]);
|
|
314
314
|
const [connectionId, setConnectionId] = react.useState("");
|
|
@@ -354,7 +354,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
357
|
-
|
|
357
|
+
chunkFZUV7GNB_js.GlassModal,
|
|
358
358
|
{
|
|
359
359
|
open,
|
|
360
360
|
onClose,
|
|
@@ -390,7 +390,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
390
390
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-200", children: [
|
|
391
391
|
t("aiPromptLabel"),
|
|
392
392
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
393
|
-
|
|
393
|
+
chunkFZUV7GNB_js.Textarea,
|
|
394
394
|
{
|
|
395
395
|
rows: 6,
|
|
396
396
|
className: "mt-1 w-full",
|
|
@@ -414,7 +414,7 @@ function deriveWorkflowName(prompt) {
|
|
|
414
414
|
function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
415
415
|
const tWorkflow = chunkY5VN4SPH_js.useTranslations("agents.workflow");
|
|
416
416
|
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
417
|
-
const { error: notifyError, success: notifySuccess } =
|
|
417
|
+
const { error: notifyError, success: notifySuccess } = chunkFZUV7GNB_js.useNotifications();
|
|
418
418
|
const [templates, setTemplates] = react.useState([]);
|
|
419
419
|
const [connections, setConnections] = react.useState([]);
|
|
420
420
|
const [templateId, setTemplateId] = react.useState("");
|
|
@@ -479,7 +479,7 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
479
479
|
}
|
|
480
480
|
}, [canSubmit, templateId, connectionId, name, onCreated, onClose, notifySuccess, notifyError, tWorkflow]);
|
|
481
481
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
482
|
-
|
|
482
|
+
chunkFZUV7GNB_js.GlassModal,
|
|
483
483
|
{
|
|
484
484
|
open,
|
|
485
485
|
onClose,
|
|
@@ -496,13 +496,13 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
496
496
|
submitLabel: tCommon("create"),
|
|
497
497
|
cancelLabel: tCommon("cancel"),
|
|
498
498
|
maxWidth: "lg",
|
|
499
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "shimmer h-32 w-full rounded-xl" }) : templates.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-
|
|
499
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "shimmer h-32 w-full rounded-xl" }) : templates.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-slate-500 dark:text-slate-400", children: tWorkflow("noTemplatesAvailable") }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
500
500
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "block", children: [
|
|
501
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-1 block text-xs font-medium text-
|
|
501
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-1 block text-xs font-medium text-slate-700 dark:text-slate-300", children: tWorkflow("template") }),
|
|
502
502
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
503
503
|
"select",
|
|
504
504
|
{
|
|
505
|
-
className: "w-full rounded-lg border border-white/20 bg-white/70 px-3 py-2 text-sm text-
|
|
505
|
+
className: "w-full rounded-lg border border-white/20 bg-white/70 px-3 py-2 text-sm text-slate-900 shadow-sm backdrop-blur dark:bg-slate-800/70 dark:text-slate-100",
|
|
506
506
|
value: templateId,
|
|
507
507
|
onChange: (event) => setTemplateId(event.target.value),
|
|
508
508
|
children: templates.map((template) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: template.id, children: template.name }, template.id))
|
|
@@ -510,11 +510,11 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
510
510
|
)
|
|
511
511
|
] }),
|
|
512
512
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "block", children: [
|
|
513
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-1 block text-xs font-medium text-
|
|
513
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-1 block text-xs font-medium text-slate-700 dark:text-slate-300", children: tWorkflow("llmConnection") }),
|
|
514
514
|
connections.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "rounded-lg border border-amber-200 bg-amber-50 px-3 py-2 text-xs text-amber-800 dark:border-amber-500/30 dark:bg-amber-500/10 dark:text-amber-200", children: tWorkflow("noConnectionsHint") }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
515
515
|
"select",
|
|
516
516
|
{
|
|
517
|
-
className: "w-full rounded-lg border border-white/20 bg-white/70 px-3 py-2 text-sm text-
|
|
517
|
+
className: "w-full rounded-lg border border-white/20 bg-white/70 px-3 py-2 text-sm text-slate-900 shadow-sm backdrop-blur dark:bg-slate-800/70 dark:text-slate-100",
|
|
518
518
|
value: connectionId,
|
|
519
519
|
onChange: (event) => setConnectionId(event.target.value),
|
|
520
520
|
children: connections.map((connection) => /* @__PURE__ */ jsxRuntime.jsxs("option", { value: connection.id, children: [
|
|
@@ -525,9 +525,9 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
525
525
|
)
|
|
526
526
|
] }),
|
|
527
527
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "block", children: [
|
|
528
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mb-1 block text-xs font-medium text-
|
|
528
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mb-1 block text-xs font-medium text-slate-700 dark:text-slate-300", children: [
|
|
529
529
|
tWorkflow("workflowName"),
|
|
530
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-1 text-[10px] text-
|
|
530
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-1 text-[10px] text-slate-400", children: [
|
|
531
531
|
"(",
|
|
532
532
|
tCommon("optional"),
|
|
533
533
|
")"
|
|
@@ -540,191 +540,187 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
540
540
|
value: name,
|
|
541
541
|
placeholder: selectedTemplate?.name ?? "",
|
|
542
542
|
onChange: (event) => setName(event.target.value),
|
|
543
|
-
className: "w-full rounded-lg border border-white/20 bg-white/70 px-3 py-2 text-sm text-
|
|
543
|
+
className: "w-full rounded-lg border border-white/20 bg-white/70 px-3 py-2 text-sm text-slate-900 shadow-sm backdrop-blur dark:bg-slate-800/70 dark:text-slate-100"
|
|
544
544
|
}
|
|
545
545
|
)
|
|
546
546
|
] }),
|
|
547
|
-
selectedTemplate && selectedTemplate.tags.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: selectedTemplate.tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
547
|
+
selectedTemplate && selectedTemplate.tags.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: selectedTemplate.tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(chunkMXQ2EYG2_js.Badge, { color: "indigo", size: "xs", children: tag }, tag)) }) : null
|
|
548
548
|
] }) })
|
|
549
549
|
}
|
|
550
550
|
);
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
554
|
-
enumerable: true,
|
|
555
|
-
get: function () { return chunkPPIUMCUZ_js.WorkflowCanvasShell; }
|
|
556
|
-
});
|
|
557
553
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
558
554
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkPXGESUKI_js.AdminOrganizationForm; }
|
|
560
556
|
});
|
|
561
557
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
562
558
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkPXGESUKI_js.AdminOrganizationList; }
|
|
564
560
|
});
|
|
565
561
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
566
562
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkPXGESUKI_js.AdminPermissionList; }
|
|
568
564
|
});
|
|
569
565
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
570
566
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkPXGESUKI_js.AdminUserForm; }
|
|
572
568
|
});
|
|
573
569
|
Object.defineProperty(exports, "AdminUserList", {
|
|
574
570
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkPXGESUKI_js.AdminUserList; }
|
|
576
572
|
});
|
|
577
573
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
578
574
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkLJGPMMKB_js.ConsentScreen; }
|
|
580
576
|
});
|
|
581
577
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
582
578
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunkLJGPMMKB_js.ForgotPassword; }
|
|
584
580
|
});
|
|
585
581
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
586
582
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkLJGPMMKB_js.MfaChallenge; }
|
|
588
584
|
});
|
|
589
585
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
590
586
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkLJGPMMKB_js.PasswordlessSignIn; }
|
|
592
588
|
});
|
|
593
589
|
Object.defineProperty(exports, "ResetPassword", {
|
|
594
590
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunkLJGPMMKB_js.ResetPassword; }
|
|
596
592
|
});
|
|
597
593
|
Object.defineProperty(exports, "SignIn", {
|
|
598
594
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunkLJGPMMKB_js.SignIn; }
|
|
600
596
|
});
|
|
601
597
|
Object.defineProperty(exports, "SignUp", {
|
|
602
598
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunkLJGPMMKB_js.SignUp; }
|
|
604
600
|
});
|
|
605
601
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
606
602
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunkLJGPMMKB_js.SsoConnectorList; }
|
|
608
604
|
});
|
|
609
605
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
610
606
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunkLJGPMMKB_js.SsoEmailForm; }
|
|
612
608
|
});
|
|
613
609
|
Object.defineProperty(exports, "UserButton", {
|
|
614
610
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunkLJGPMMKB_js.UserButton; }
|
|
616
612
|
});
|
|
617
613
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
618
614
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunkLJGPMMKB_js.VerifyEmail; }
|
|
620
616
|
});
|
|
621
617
|
Object.defineProperty(exports, "UpgradePrompt", {
|
|
622
618
|
enumerable: true,
|
|
623
|
-
get: function () { return
|
|
619
|
+
get: function () { return chunk6NBQTIXX_js.UpgradePrompt; }
|
|
624
620
|
});
|
|
625
621
|
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
626
622
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
623
|
+
get: function () { return chunk4P72IJOM_js.ImpersonationBanner; }
|
|
628
624
|
});
|
|
629
625
|
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
630
626
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkNIZSQJRW_js.WorkflowWorkspace; }
|
|
632
628
|
});
|
|
633
629
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
634
630
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunk72XZ7DSF_js.PlatformSettings; }
|
|
636
632
|
});
|
|
637
633
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
638
634
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
635
|
+
get: function () { return chunkYFMMZHL5_js.AdminOrganizationDetail; }
|
|
640
636
|
});
|
|
641
637
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
642
638
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkFHGWXWVZ_js.LinkedAccountsTabContent; }
|
|
644
640
|
});
|
|
645
641
|
Object.defineProperty(exports, "MfaManage", {
|
|
646
642
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunkFHGWXWVZ_js.MfaManage; }
|
|
648
644
|
});
|
|
649
645
|
Object.defineProperty(exports, "MfaSetup", {
|
|
650
646
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkFHGWXWVZ_js.MfaSetup; }
|
|
652
648
|
});
|
|
653
649
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
654
650
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkFHGWXWVZ_js.ProfileTabContent; }
|
|
656
652
|
});
|
|
657
653
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
658
654
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkFHGWXWVZ_js.SecurityTabContent; }
|
|
660
656
|
});
|
|
661
657
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
662
658
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkFHGWXWVZ_js.SessionsTabContent; }
|
|
664
660
|
});
|
|
665
661
|
Object.defineProperty(exports, "UserProfile", {
|
|
666
662
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkFHGWXWVZ_js.UserProfile; }
|
|
668
664
|
});
|
|
669
665
|
Object.defineProperty(exports, "AuthLayout", {
|
|
670
666
|
enumerable: true,
|
|
671
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunkA5OMGPMR_js.AuthLayout; }
|
|
672
668
|
});
|
|
673
669
|
Object.defineProperty(exports, "BackupCodeGrid", {
|
|
674
670
|
enumerable: true,
|
|
675
|
-
get: function () { return
|
|
671
|
+
get: function () { return chunkA5OMGPMR_js.BackupCodeGrid; }
|
|
676
672
|
});
|
|
677
673
|
Object.defineProperty(exports, "OtpInput", {
|
|
678
674
|
enumerable: true,
|
|
679
|
-
get: function () { return
|
|
675
|
+
get: function () { return chunkA5OMGPMR_js.OtpInput; }
|
|
680
676
|
});
|
|
681
677
|
Object.defineProperty(exports, "PasswordStrengthMeter", {
|
|
682
678
|
enumerable: true,
|
|
683
|
-
get: function () { return
|
|
679
|
+
get: function () { return chunkA5OMGPMR_js.PasswordStrengthMeter; }
|
|
684
680
|
});
|
|
685
681
|
Object.defineProperty(exports, "SocialLoginButtons", {
|
|
686
682
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
683
|
+
get: function () { return chunkA5OMGPMR_js.SocialLoginButtons; }
|
|
688
684
|
});
|
|
689
685
|
Object.defineProperty(exports, "BillingPanel", {
|
|
690
686
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunkAUCS2KF4_js.BillingPanel; }
|
|
692
688
|
});
|
|
693
689
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
694
690
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
691
|
+
get: function () { return chunkZE6U4N4Q_js.AgentsWorkspace; }
|
|
696
692
|
});
|
|
697
693
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
698
694
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunkZE6U4N4Q_js.applyWorkflowExecutionEventToStore; }
|
|
700
696
|
});
|
|
701
697
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
702
698
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
699
|
+
get: function () { return chunkZE6U4N4Q_js.resetWorkflowRunPresentation; }
|
|
704
700
|
});
|
|
705
701
|
Object.defineProperty(exports, "useRunEvents", {
|
|
706
702
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
703
|
+
get: function () { return chunkZE6U4N4Q_js.useRunEvents; }
|
|
708
704
|
});
|
|
709
705
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
710
706
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
707
|
+
get: function () { return chunkZE6U4N4Q_js.useWorkflowExecution; }
|
|
712
708
|
});
|
|
713
709
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
714
710
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
711
|
+
get: function () { return chunkZE6U4N4Q_js.useWorkflowRunPresentation; }
|
|
716
712
|
});
|
|
717
713
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
718
714
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
715
|
+
get: function () { return chunk4HZ55YKZ_js.PlatformAppShell; }
|
|
720
716
|
});
|
|
721
717
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
722
718
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
719
|
+
get: function () { return chunk4HZ55YKZ_js.PlatformStateProvider; }
|
|
724
720
|
});
|
|
725
721
|
Object.defineProperty(exports, "usePlatformState", {
|
|
726
722
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
723
|
+
get: function () { return chunk4HZ55YKZ_js.usePlatformState; }
|
|
728
724
|
});
|
|
729
725
|
Object.defineProperty(exports, "createPlatformRbac", {
|
|
730
726
|
enumerable: true,
|
|
@@ -846,6 +842,10 @@ Object.defineProperty(exports, "verifyOrganizationDomain", {
|
|
|
846
842
|
enumerable: true,
|
|
847
843
|
get: function () { return chunk6PBTB5ZX_js.verifyOrganizationDomain; }
|
|
848
844
|
});
|
|
845
|
+
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
846
|
+
enumerable: true,
|
|
847
|
+
get: function () { return chunk7SDB2VC2_js.WorkflowCanvasShell; }
|
|
848
|
+
});
|
|
849
849
|
exports.AiWorkflowGenerateModal = AiWorkflowGenerateModal;
|
|
850
850
|
exports.ORG_ROLE_MAP = ORG_ROLE_MAP;
|
|
851
851
|
exports.PlatformDockContainer = PlatformDockContainer;
|