@datatechsolutions/ui 3.13.0 → 3.13.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/graph-node.js +6 -6
- package/dist/astrlabe/graph-node.mjs +2 -2
- package/dist/astrlabe/index.js +113 -113
- 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-CSOMZ5UM.mjs → chunk-3VCSMSJB.mjs} +5 -5
- package/dist/{chunk-CSOMZ5UM.mjs.map → chunk-3VCSMSJB.mjs.map} +1 -1
- package/dist/{chunk-KWH7JIRP.mjs → chunk-4MNKVDTJ.mjs} +9 -8
- package/dist/chunk-4MNKVDTJ.mjs.map +1 -0
- package/dist/{chunk-ZRCXDKBE.mjs → chunk-4QCO4CBC.mjs} +4 -4
- package/dist/{chunk-ZRCXDKBE.mjs.map → chunk-4QCO4CBC.mjs.map} +1 -1
- package/dist/{chunk-VIB42VMZ.mjs → chunk-4VEQJAXJ.mjs} +5 -5
- package/dist/{chunk-VIB42VMZ.mjs.map → chunk-4VEQJAXJ.mjs.map} +1 -1
- package/dist/{chunk-D5OTZGA2.js → chunk-4Z5NZINA.js} +373 -422
- package/dist/chunk-4Z5NZINA.js.map +1 -0
- package/dist/{chunk-K5567JM5.js → chunk-54T5F65C.js} +26 -26
- package/dist/{chunk-K5567JM5.js.map → chunk-54T5F65C.js.map} +1 -1
- package/dist/{chunk-IIRS5XZY.js → chunk-7IAWXG43.js} +33 -33
- package/dist/{chunk-IIRS5XZY.js.map → chunk-7IAWXG43.js.map} +1 -1
- package/dist/{chunk-N4YT3QA5.js → chunk-AC54BNSK.js} +13 -13
- package/dist/{chunk-N4YT3QA5.js.map → chunk-AC54BNSK.js.map} +1 -1
- package/dist/{chunk-OY5HUZSD.js → chunk-B3TA74C4.js} +91 -91
- package/dist/chunk-B3TA74C4.js.map +1 -0
- package/dist/{chunk-PPIUMCUZ.js → chunk-CKY2QIRR.js} +4 -4
- package/dist/{chunk-PPIUMCUZ.js.map → chunk-CKY2QIRR.js.map} +1 -1
- package/dist/{chunk-EZQ2D47U.js → chunk-CVEI4RQP.js} +4 -4
- package/dist/{chunk-EZQ2D47U.js.map → chunk-CVEI4RQP.js.map} +1 -1
- package/dist/{chunk-OC4AOYU5.mjs → chunk-DJHNSBIR.mjs} +62 -99
- package/dist/chunk-DJHNSBIR.mjs.map +1 -0
- package/dist/{chunk-P4RVGMZL.js → chunk-DTFU3ZTD.js} +5 -33
- package/dist/chunk-DTFU3ZTD.js.map +1 -0
- package/dist/{chunk-BHOT22QL.js → chunk-EBARYRSA.js} +2 -2
- package/dist/{chunk-BHOT22QL.js.map → chunk-EBARYRSA.js.map} +1 -1
- package/dist/{chunk-QGLGQXJE.js → chunk-FV42SSLP.js} +10 -10
- package/dist/chunk-FV42SSLP.js.map +1 -0
- package/dist/{chunk-AHNH2PMI.mjs → chunk-M4KRQXOT.mjs} +3 -3
- package/dist/{chunk-AHNH2PMI.mjs.map → chunk-M4KRQXOT.mjs.map} +1 -1
- package/dist/{chunk-WR55H7DH.mjs → chunk-O4RZCDP2.mjs} +2 -2
- package/dist/{chunk-WR55H7DH.mjs.map → chunk-O4RZCDP2.mjs.map} +1 -1
- package/dist/{chunk-6YTYD4P5.js → chunk-PM7A5I3X.js} +135 -172
- package/dist/chunk-PM7A5I3X.js.map +1 -0
- package/dist/{chunk-SDYKXLCU.js → chunk-Q7QPHZOV.js} +63 -63
- package/dist/{chunk-SDYKXLCU.js.map → chunk-Q7QPHZOV.js.map} +1 -1
- package/dist/{chunk-MSKKNPRE.mjs → chunk-QEACOJXX.mjs} +73 -73
- package/dist/chunk-QEACOJXX.mjs.map +1 -0
- package/dist/{chunk-6KDTVSZT.mjs → chunk-RMPXGEFL.mjs} +10 -9
- package/dist/chunk-RMPXGEFL.mjs.map +1 -0
- package/dist/{chunk-WOTKBKS6.js → chunk-RPNMDGRA.js} +44 -44
- package/dist/chunk-RPNMDGRA.js.map +1 -0
- package/dist/{chunk-UPYACFZJ.mjs → chunk-RSCRIDMW.mjs} +274 -312
- package/dist/chunk-RSCRIDMW.mjs.map +1 -0
- package/dist/{chunk-NF5DDM5V.js → chunk-RUZPOHJW.js} +43 -42
- package/dist/chunk-RUZPOHJW.js.map +1 -0
- package/dist/{chunk-5ETT54QS.js → chunk-RWZ2PLMQ.js} +142 -142
- package/dist/chunk-RWZ2PLMQ.js.map +1 -0
- package/dist/{chunk-ANFSQJNI.mjs → chunk-SCGICCQM.mjs} +14 -14
- package/dist/chunk-SCGICCQM.mjs.map +1 -0
- package/dist/{chunk-UXHJS2SH.mjs → chunk-TRNDFSM6.mjs} +273 -322
- package/dist/chunk-TRNDFSM6.mjs.map +1 -0
- package/dist/{chunk-VI4IUTMX.js → chunk-ULSG4JLR.js} +6 -6
- package/dist/{chunk-VI4IUTMX.js.map → chunk-ULSG4JLR.js.map} +1 -1
- package/dist/{chunk-MQDCUBVW.js → chunk-UPWJRCAD.js} +430 -468
- package/dist/chunk-UPWJRCAD.js.map +1 -0
- package/dist/{chunk-AKWCT53S.mjs → chunk-UUTTS3VV.mjs} +44 -44
- package/dist/chunk-UUTTS3VV.mjs.map +1 -0
- package/dist/{chunk-AMCFAGK3.js → chunk-VCL5LDS5.js} +42 -41
- package/dist/chunk-VCL5LDS5.js.map +1 -0
- package/dist/{chunk-PLTLRL2V.mjs → chunk-VPRAESA7.mjs} +3 -3
- package/dist/{chunk-PLTLRL2V.mjs.map → chunk-VPRAESA7.mjs.map} +1 -1
- package/dist/{chunk-2ECLDHAT.js → chunk-VWZ53TE2.js} +9 -9
- package/dist/{chunk-2ECLDHAT.js.map → chunk-VWZ53TE2.js.map} +1 -1
- package/dist/{chunk-3VYD7QL2.mjs → chunk-WX44DAQD.mjs} +9 -9
- package/dist/chunk-WX44DAQD.mjs.map +1 -0
- package/dist/{chunk-DJ33CSGJ.mjs → chunk-XYMHIZ3K.mjs} +5 -33
- package/dist/chunk-XYMHIZ3K.mjs.map +1 -0
- package/dist/{chunk-4VHFGW7I.mjs → chunk-Y65X2NHF.mjs} +3 -3
- package/dist/{chunk-4VHFGW7I.mjs.map → chunk-Y65X2NHF.mjs.map} +1 -1
- package/dist/{chunk-7TYNV6SY.mjs → chunk-YHD6SJIN.mjs} +14 -14
- package/dist/{chunk-7TYNV6SY.mjs.map → chunk-YHD6SJIN.mjs.map} +1 -1
- package/dist/{chunk-QGRTV35L.mjs → chunk-ZPV7X4ZE.mjs} +6 -6
- package/dist/{chunk-QGRTV35L.mjs.map → chunk-ZPV7X4ZE.mjs.map} +1 -1
- package/dist/index.js +703 -703
- package/dist/index.mjs +2 -2
- 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 +4 -4
- package/dist/platform/app-shell.mjs +3 -3
- package/dist/platform/auth/index.js +28 -28
- package/dist/platform/auth/index.mjs +5 -5
- package/dist/platform/billing/index.js +6 -6
- package/dist/platform/billing/index.mjs +4 -4
- package/dist/platform/impersonation/index.js +4 -4
- package/dist/platform/impersonation/index.mjs +3 -3
- package/dist/platform/index.js +101 -101
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/index.mjs +29 -29
- package/dist/platform/index.mjs.map +1 -1
- package/dist/platform/pages/index.d.mts +12 -2
- package/dist/platform/pages/index.d.ts +12 -2
- package/dist/platform/pages/index.js +450 -449
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +50 -49
- 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-canvas-shell.js +6 -6
- package/dist/platform/workflow-canvas-shell.mjs +5 -5
- 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-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/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
|
-
var
|
|
16
|
-
require('../chunk-
|
|
17
|
-
var
|
|
4
|
+
var chunkCKY2QIRR_js = require('../chunk-CKY2QIRR.js');
|
|
5
|
+
var chunkB3TA74C4_js = require('../chunk-B3TA74C4.js');
|
|
6
|
+
var chunkDTFU3ZTD_js = require('../chunk-DTFU3ZTD.js');
|
|
7
|
+
var chunkPM7A5I3X_js = require('../chunk-PM7A5I3X.js');
|
|
8
|
+
var chunkULSG4JLR_js = require('../chunk-ULSG4JLR.js');
|
|
9
|
+
var chunk7IAWXG43_js = require('../chunk-7IAWXG43.js');
|
|
10
|
+
var chunkAC54BNSK_js = require('../chunk-AC54BNSK.js');
|
|
11
|
+
var chunkRPNMDGRA_js = require('../chunk-RPNMDGRA.js');
|
|
12
|
+
var chunk54T5F65C_js = require('../chunk-54T5F65C.js');
|
|
13
|
+
var chunkQ7QPHZOV_js = require('../chunk-Q7QPHZOV.js');
|
|
14
|
+
var chunkFV42SSLP_js = require('../chunk-FV42SSLP.js');
|
|
15
|
+
var chunkRUZPOHJW_js = require('../chunk-RUZPOHJW.js');
|
|
16
|
+
require('../chunk-VCL5LDS5.js');
|
|
17
|
+
var chunkVWZ53TE2_js = require('../chunk-VWZ53TE2.js');
|
|
18
18
|
var chunkVY52Y5GC_js = require('../chunk-VY52Y5GC.js');
|
|
19
19
|
var chunk6PBTB5ZX_js = require('../chunk-6PBTB5ZX.js');
|
|
20
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-UPWJRCAD.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
23
|
+
require('../chunk-4Z5NZINA.js');
|
|
24
|
+
var chunkRWZ2PLMQ_js = require('../chunk-RWZ2PLMQ.js');
|
|
25
25
|
var chunkY5VN4SPH_js = require('../chunk-Y5VN4SPH.js');
|
|
26
26
|
var chunk22XPYFHJ_js = require('../chunk-22XPYFHJ.js');
|
|
27
27
|
require('../chunk-2OZZH2IO.js');
|
|
28
|
-
require('../chunk-
|
|
29
|
-
var
|
|
28
|
+
require('../chunk-CVEI4RQP.js');
|
|
29
|
+
var chunkEBARYRSA_js = require('../chunk-EBARYRSA.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
|
+
chunkRWZ2PLMQ_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
|
+
chunkRWZ2PLMQ_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(chunkEBARYRSA_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 } = chunkRWZ2PLMQ_js.useAuth();
|
|
85
85
|
const tCommon = chunkY5VN4SPH_js.useTranslations("common");
|
|
86
86
|
const {
|
|
87
87
|
dockPosition,
|
|
88
88
|
dockAutoHide,
|
|
89
89
|
dockEnabled
|
|
90
|
-
} =
|
|
90
|
+
} = chunkRWZ2PLMQ_js.usePlatformPreferences();
|
|
91
91
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
92
92
|
const filteredItems = react.useMemo(
|
|
93
|
-
() =>
|
|
93
|
+
() => chunkRWZ2PLMQ_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
|
+
chunkRWZ2PLMQ_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
|
+
chunkRWZ2PLMQ_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 } = chunkRWZ2PLMQ_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 } = chunkRWZ2PLMQ_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
|
+
chunkRWZ2PLMQ_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
|
+
chunkEBARYRSA_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 } = chunkVWZ53TE2_js.usePlatformState();
|
|
215
|
+
const { error: notifyError, success: notifySuccess } = chunkRWZ2PLMQ_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
|
+
chunk7IAWXG43_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 } = chunkVWZ53TE2_js.usePlatformState();
|
|
269
|
+
const { error: notifyError, success: notifySuccess } = chunkRWZ2PLMQ_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
|
+
chunk7IAWXG43_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 } = chunkRWZ2PLMQ_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
|
+
chunkRWZ2PLMQ_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
|
+
chunkRWZ2PLMQ_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 } = chunkRWZ2PLMQ_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
|
+
chunkRWZ2PLMQ_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,11 +540,11 @@ 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(chunkEBARYRSA_js.Badge, { color: "indigo", size: "xs", children: tag }, tag)) }) : null
|
|
548
548
|
] }) })
|
|
549
549
|
}
|
|
550
550
|
);
|
|
@@ -552,179 +552,179 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
552
552
|
|
|
553
553
|
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
554
554
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkCKY2QIRR_js.WorkflowCanvasShell; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkB3TA74C4_js.AdminOrganizationForm; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkB3TA74C4_js.AdminOrganizationList; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkB3TA74C4_js.AdminPermissionList; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkB3TA74C4_js.AdminUserForm; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "AdminUserList", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkB3TA74C4_js.AdminUserList; }
|
|
576
|
+
});
|
|
577
|
+
Object.defineProperty(exports, "UpgradePrompt", {
|
|
578
|
+
enumerable: true,
|
|
579
|
+
get: function () { return chunkDTFU3ZTD_js.UpgradePrompt; }
|
|
576
580
|
});
|
|
577
581
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
578
582
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkPM7A5I3X_js.ConsentScreen; }
|
|
580
584
|
});
|
|
581
585
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
582
586
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkPM7A5I3X_js.ForgotPassword; }
|
|
584
588
|
});
|
|
585
589
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
586
590
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunkPM7A5I3X_js.MfaChallenge; }
|
|
588
592
|
});
|
|
589
593
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
590
594
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunkPM7A5I3X_js.PasswordlessSignIn; }
|
|
592
596
|
});
|
|
593
597
|
Object.defineProperty(exports, "ResetPassword", {
|
|
594
598
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunkPM7A5I3X_js.ResetPassword; }
|
|
596
600
|
});
|
|
597
601
|
Object.defineProperty(exports, "SignIn", {
|
|
598
602
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunkPM7A5I3X_js.SignIn; }
|
|
600
604
|
});
|
|
601
605
|
Object.defineProperty(exports, "SignUp", {
|
|
602
606
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunkPM7A5I3X_js.SignUp; }
|
|
604
608
|
});
|
|
605
609
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
606
610
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunkPM7A5I3X_js.SsoConnectorList; }
|
|
608
612
|
});
|
|
609
613
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
610
614
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunkPM7A5I3X_js.SsoEmailForm; }
|
|
612
616
|
});
|
|
613
617
|
Object.defineProperty(exports, "UserButton", {
|
|
614
618
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
619
|
+
get: function () { return chunkPM7A5I3X_js.UserButton; }
|
|
616
620
|
});
|
|
617
621
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
618
622
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
620
|
-
});
|
|
621
|
-
Object.defineProperty(exports, "UpgradePrompt", {
|
|
622
|
-
enumerable: true,
|
|
623
|
-
get: function () { return chunkP4RVGMZL_js.UpgradePrompt; }
|
|
623
|
+
get: function () { return chunkPM7A5I3X_js.VerifyEmail; }
|
|
624
624
|
});
|
|
625
625
|
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
626
626
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkULSG4JLR_js.ImpersonationBanner; }
|
|
628
628
|
});
|
|
629
629
|
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
630
630
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunk7IAWXG43_js.WorkflowWorkspace; }
|
|
632
632
|
});
|
|
633
633
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
634
634
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
635
|
+
get: function () { return chunkAC54BNSK_js.PlatformSettings; }
|
|
636
636
|
});
|
|
637
637
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
638
638
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkRPNMDGRA_js.AdminOrganizationDetail; }
|
|
640
|
+
});
|
|
641
|
+
Object.defineProperty(exports, "BillingPanel", {
|
|
642
|
+
enumerable: true,
|
|
643
|
+
get: function () { return chunk54T5F65C_js.BillingPanel; }
|
|
640
644
|
});
|
|
641
645
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
642
646
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkQ7QPHZOV_js.LinkedAccountsTabContent; }
|
|
644
648
|
});
|
|
645
649
|
Object.defineProperty(exports, "MfaManage", {
|
|
646
650
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkQ7QPHZOV_js.MfaManage; }
|
|
648
652
|
});
|
|
649
653
|
Object.defineProperty(exports, "MfaSetup", {
|
|
650
654
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkQ7QPHZOV_js.MfaSetup; }
|
|
652
656
|
});
|
|
653
657
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
654
658
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkQ7QPHZOV_js.ProfileTabContent; }
|
|
656
660
|
});
|
|
657
661
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
658
662
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkQ7QPHZOV_js.SecurityTabContent; }
|
|
660
664
|
});
|
|
661
665
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
662
666
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunkQ7QPHZOV_js.SessionsTabContent; }
|
|
664
668
|
});
|
|
665
669
|
Object.defineProperty(exports, "UserProfile", {
|
|
666
670
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
671
|
+
get: function () { return chunkQ7QPHZOV_js.UserProfile; }
|
|
668
672
|
});
|
|
669
673
|
Object.defineProperty(exports, "AuthLayout", {
|
|
670
674
|
enumerable: true,
|
|
671
|
-
get: function () { return
|
|
675
|
+
get: function () { return chunkFV42SSLP_js.AuthLayout; }
|
|
672
676
|
});
|
|
673
677
|
Object.defineProperty(exports, "BackupCodeGrid", {
|
|
674
678
|
enumerable: true,
|
|
675
|
-
get: function () { return
|
|
679
|
+
get: function () { return chunkFV42SSLP_js.BackupCodeGrid; }
|
|
676
680
|
});
|
|
677
681
|
Object.defineProperty(exports, "OtpInput", {
|
|
678
682
|
enumerable: true,
|
|
679
|
-
get: function () { return
|
|
683
|
+
get: function () { return chunkFV42SSLP_js.OtpInput; }
|
|
680
684
|
});
|
|
681
685
|
Object.defineProperty(exports, "PasswordStrengthMeter", {
|
|
682
686
|
enumerable: true,
|
|
683
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunkFV42SSLP_js.PasswordStrengthMeter; }
|
|
684
688
|
});
|
|
685
689
|
Object.defineProperty(exports, "SocialLoginButtons", {
|
|
686
690
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
688
|
-
});
|
|
689
|
-
Object.defineProperty(exports, "BillingPanel", {
|
|
690
|
-
enumerable: true,
|
|
691
|
-
get: function () { return chunkK5567JM5_js.BillingPanel; }
|
|
691
|
+
get: function () { return chunkFV42SSLP_js.SocialLoginButtons; }
|
|
692
692
|
});
|
|
693
693
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
694
694
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunkRUZPOHJW_js.AgentsWorkspace; }
|
|
696
696
|
});
|
|
697
697
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
698
698
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
699
|
+
get: function () { return chunkRUZPOHJW_js.applyWorkflowExecutionEventToStore; }
|
|
700
700
|
});
|
|
701
701
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
702
702
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
703
|
+
get: function () { return chunkRUZPOHJW_js.resetWorkflowRunPresentation; }
|
|
704
704
|
});
|
|
705
705
|
Object.defineProperty(exports, "useRunEvents", {
|
|
706
706
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
707
|
+
get: function () { return chunkRUZPOHJW_js.useRunEvents; }
|
|
708
708
|
});
|
|
709
709
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
710
710
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
711
|
+
get: function () { return chunkRUZPOHJW_js.useWorkflowExecution; }
|
|
712
712
|
});
|
|
713
713
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
714
714
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
715
|
+
get: function () { return chunkRUZPOHJW_js.useWorkflowRunPresentation; }
|
|
716
716
|
});
|
|
717
717
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
718
718
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
719
|
+
get: function () { return chunkVWZ53TE2_js.PlatformAppShell; }
|
|
720
720
|
});
|
|
721
721
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
722
722
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
723
|
+
get: function () { return chunkVWZ53TE2_js.PlatformStateProvider; }
|
|
724
724
|
});
|
|
725
725
|
Object.defineProperty(exports, "usePlatformState", {
|
|
726
726
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
727
|
+
get: function () { return chunkVWZ53TE2_js.usePlatformState; }
|
|
728
728
|
});
|
|
729
729
|
Object.defineProperty(exports, "createPlatformRbac", {
|
|
730
730
|
enumerable: true,
|