@datatechsolutions/ui 3.7.3 → 3.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrlabe/index.js +108 -108
- package/dist/astrlabe/index.mjs +4 -4
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/{chunk-5W6LMDXV.mjs → chunk-4HP7XS5I.mjs} +4 -4
- package/dist/{chunk-5W6LMDXV.mjs.map → chunk-4HP7XS5I.mjs.map} +1 -1
- package/dist/{chunk-7JZFNKJD.js → chunk-7WIWDSF6.js} +36 -36
- package/dist/{chunk-7JZFNKJD.js.map → chunk-7WIWDSF6.js.map} +1 -1
- package/dist/{chunk-FKUIVS6I.js → chunk-BEUPW5WS.js} +28 -28
- package/dist/{chunk-FKUIVS6I.js.map → chunk-BEUPW5WS.js.map} +1 -1
- package/dist/{chunk-PYNXIDG3.mjs → chunk-CTCO2YI5.mjs} +3 -3
- package/dist/{chunk-PYNXIDG3.mjs.map → chunk-CTCO2YI5.mjs.map} +1 -1
- package/dist/{chunk-A4A3SQTV.mjs → chunk-DCBRGVD3.mjs} +3 -3
- package/dist/{chunk-A4A3SQTV.mjs.map → chunk-DCBRGVD3.mjs.map} +1 -1
- package/dist/{chunk-E57RZXOR.js → chunk-DWIBK7GV.js} +25 -25
- package/dist/{chunk-E57RZXOR.js.map → chunk-DWIBK7GV.js.map} +1 -1
- package/dist/{chunk-5YVOLHSW.mjs → chunk-EIZM2EQA.mjs} +4 -4
- package/dist/{chunk-5YVOLHSW.mjs.map → chunk-EIZM2EQA.mjs.map} +1 -1
- package/dist/{chunk-TCP45Q4B.js → chunk-FIB2CFJK.js} +9 -9
- package/dist/{chunk-TCP45Q4B.js.map → chunk-FIB2CFJK.js.map} +1 -1
- package/dist/{chunk-32DHEVOH.mjs → chunk-GAN7AKZ2.mjs} +3 -3
- package/dist/{chunk-32DHEVOH.mjs.map → chunk-GAN7AKZ2.mjs.map} +1 -1
- package/dist/{chunk-FNA66TT4.js → chunk-GD6FHRHV.js} +3 -3
- package/dist/{chunk-FNA66TT4.js.map → chunk-GD6FHRHV.js.map} +1 -1
- package/dist/{chunk-PCUINUIC.mjs → chunk-IKH5IRDK.mjs} +3 -3
- package/dist/{chunk-PCUINUIC.mjs.map → chunk-IKH5IRDK.mjs.map} +1 -1
- package/dist/{chunk-VS6PTRQ7.mjs → chunk-IKHWYYZC.mjs} +3 -3
- package/dist/{chunk-VS6PTRQ7.mjs.map → chunk-IKHWYYZC.mjs.map} +1 -1
- package/dist/{chunk-3H5CFLVK.js → chunk-IYDGO7RW.js} +135 -135
- package/dist/{chunk-3H5CFLVK.js.map → chunk-IYDGO7RW.js.map} +1 -1
- package/dist/{chunk-CZZOCKEA.mjs → chunk-JUDQX6MP.mjs} +3 -3
- package/dist/{chunk-CZZOCKEA.mjs.map → chunk-JUDQX6MP.mjs.map} +1 -1
- package/dist/{chunk-HBOORO52.js → chunk-KI4UPW4Z.js} +4 -4
- package/dist/{chunk-HBOORO52.js.map → chunk-KI4UPW4Z.js.map} +1 -1
- package/dist/{chunk-Q4QORAMH.js → chunk-MFAVWJWE.js} +10 -10
- package/dist/{chunk-Q4QORAMH.js.map → chunk-MFAVWJWE.js.map} +1 -1
- package/dist/{chunk-KKXI7CPF.mjs → chunk-MGZTZELL.mjs} +3 -3
- package/dist/{chunk-KKXI7CPF.mjs.map → chunk-MGZTZELL.mjs.map} +1 -1
- package/dist/{chunk-ZP37M2QK.mjs → chunk-MRLEINJN.mjs} +7 -7
- package/dist/{chunk-ZP37M2QK.mjs.map → chunk-MRLEINJN.mjs.map} +1 -1
- package/dist/{chunk-57E4TCB2.mjs → chunk-N5365CGD.mjs} +3 -3
- package/dist/{chunk-57E4TCB2.mjs.map → chunk-N5365CGD.mjs.map} +1 -1
- package/dist/{chunk-EWYAM4WJ.mjs → chunk-P7GVXI7Y.mjs} +3 -3
- package/dist/{chunk-EWYAM4WJ.mjs.map → chunk-P7GVXI7Y.mjs.map} +1 -1
- package/dist/{chunk-3X3IYDG6.js → chunk-QL2JYRBN.js} +68 -68
- package/dist/{chunk-3X3IYDG6.js.map → chunk-QL2JYRBN.js.map} +1 -1
- package/dist/{chunk-RCHTRG7R.js → chunk-R2RPRRB4.js} +55 -55
- package/dist/{chunk-RCHTRG7R.js.map → chunk-R2RPRRB4.js.map} +1 -1
- package/dist/{chunk-H37VDL7Y.js → chunk-RBB5YGWH.js} +4 -4
- package/dist/{chunk-H37VDL7Y.js.map → chunk-RBB5YGWH.js.map} +1 -1
- package/dist/{chunk-TJPPZU77.js → chunk-SUU7XPRX.js} +34 -34
- package/dist/{chunk-TJPPZU77.js.map → chunk-SUU7XPRX.js.map} +1 -1
- package/dist/{chunk-F35GFICG.js → chunk-VDO6MDQW.js} +13 -13
- package/dist/{chunk-F35GFICG.js.map → chunk-VDO6MDQW.js.map} +1 -1
- package/dist/{chunk-VPFVW7ZF.js → chunk-XT76DMP5.js} +35 -35
- package/dist/{chunk-VPFVW7ZF.js.map → chunk-XT76DMP5.js.map} +1 -1
- package/dist/{chunk-WDBVIU7W.mjs → chunk-YNHQ36UU.mjs} +3 -3
- package/dist/{chunk-WDBVIU7W.mjs.map → chunk-YNHQ36UU.mjs.map} +1 -1
- package/dist/{chunk-E6C7MFHJ.mjs → chunk-Z3BMHKKH.mjs} +3 -3
- package/dist/{chunk-E6C7MFHJ.mjs.map → chunk-Z3BMHKKH.mjs.map} +1 -1
- package/dist/{chunk-Q7HRCCFT.js → chunk-ZF7RJNPD.js} +45 -45
- package/dist/{chunk-Q7HRCCFT.js.map → chunk-ZF7RJNPD.js.map} +1 -1
- package/dist/{chunk-74BU2EBZ.mjs → chunk-ZWLMKOHZ.mjs} +6 -6
- package/dist/{chunk-74BU2EBZ.mjs.map → chunk-ZWLMKOHZ.mjs.map} +1 -1
- package/dist/index.js +665 -665
- package/dist/index.mjs +2 -2
- package/dist/platform/admin/index.js +10 -10
- package/dist/platform/admin/index.mjs +4 -4
- package/dist/platform/agents-workspace.js +7 -7
- package/dist/platform/agents-workspace.mjs +6 -6
- package/dist/platform/app-shell.js +4 -4
- package/dist/platform/app-shell.mjs +3 -3
- package/dist/platform/auth/index.js +22 -22
- package/dist/platform/auth/index.mjs +4 -4
- package/dist/platform/billing/index.js +4 -4
- package/dist/platform/billing/index.mjs +3 -3
- package/dist/platform/impersonation/index.js +4 -4
- package/dist/platform/impersonation/index.mjs +3 -3
- package/dist/platform/index.js +86 -86
- package/dist/platform/index.mjs +18 -18
- package/dist/platform/pages/index.js +416 -254
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +193 -31
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +7 -7
- package/dist/platform/settings/index.mjs +6 -6
- package/dist/platform/workflow-canvas-shell.js +5 -5
- package/dist/platform/workflow-canvas-shell.mjs +4 -4
- package/package.json +1 -1
- package/dist/astrlabe/contracts.d.mts +0 -517
- package/dist/astrlabe/contracts.d.ts +0 -517
- package/dist/astrlabe/graph-node.d.mts +0 -28
- package/dist/astrlabe/graph-node.d.ts +0 -28
- package/dist/astrlabe/index.d.mts +0 -743
- package/dist/astrlabe/index.d.ts +0 -743
- package/dist/astrlabe/utils.d.mts +0 -60
- package/dist/astrlabe/utils.d.ts +0 -60
- package/dist/astrlabe/workflow-canvas.d.mts +0 -6
- package/dist/astrlabe/workflow-canvas.d.ts +0 -6
- package/dist/astrlabe/workflow-preview-canvas.d.mts +0 -10
- package/dist/astrlabe/workflow-preview-canvas.d.ts +0 -10
- package/dist/billing-panel-DsHhhJqG.d.mts +0 -18
- package/dist/billing-panel-DsHhhJqG.d.ts +0 -18
- package/dist/brand/index.d.mts +0 -71
- package/dist/brand/index.d.ts +0 -71
- package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +0 -17
- package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +0 -17
- package/dist/index-BNRGVAS5.d.mts +0 -222
- package/dist/index-BoebbJ44.d.mts +0 -49
- package/dist/index-BoebbJ44.d.ts +0 -49
- package/dist/index-CnCY-b5V.d.ts +0 -222
- package/dist/index.d.mts +0 -5316
- package/dist/index.d.ts +0 -5316
- package/dist/layout-engine-YZcVr20M.d.mts +0 -19
- package/dist/layout-engine-YZcVr20M.d.ts +0 -19
- package/dist/lib/i18n-context.d.mts +0 -36
- package/dist/lib/i18n-context.d.ts +0 -36
- package/dist/lib/router-context.d.mts +0 -35
- package/dist/lib/router-context.d.ts +0 -35
- package/dist/navigation-BiWVffAN.d.mts +0 -49
- package/dist/navigation-BiWVffAN.d.ts +0 -49
- package/dist/platform/admin/index.d.mts +0 -17
- package/dist/platform/admin/index.d.ts +0 -17
- package/dist/platform/agents-workspace.d.mts +0 -19
- package/dist/platform/agents-workspace.d.ts +0 -19
- package/dist/platform/app-shell.d.mts +0 -64
- package/dist/platform/app-shell.d.ts +0 -64
- package/dist/platform/auth/index.d.mts +0 -73
- package/dist/platform/auth/index.d.ts +0 -73
- package/dist/platform/billing/index.d.mts +0 -29
- package/dist/platform/billing/index.d.ts +0 -29
- package/dist/platform/impersonation/index.d.mts +0 -19
- package/dist/platform/impersonation/index.d.ts +0 -19
- package/dist/platform/index.d.mts +0 -188
- package/dist/platform/index.d.ts +0 -188
- package/dist/platform/pages/index.d.mts +0 -526
- package/dist/platform/pages/index.d.ts +0 -526
- package/dist/platform/rbac.d.mts +0 -42
- package/dist/platform/rbac.d.ts +0 -42
- package/dist/platform/settings/index.d.mts +0 -31
- package/dist/platform/settings/index.d.ts +0 -31
- package/dist/platform/telemetry/index.d.mts +0 -51
- package/dist/platform/telemetry/index.d.ts +0 -51
- package/dist/platform/utils/index.d.mts +0 -32
- package/dist/platform/utils/index.d.ts +0 -32
- package/dist/platform/windsock-admin-client.d.mts +0 -57
- package/dist/platform/windsock-admin-client.d.ts +0 -57
- package/dist/platform/workflow-api-client.d.mts +0 -6
- package/dist/platform/workflow-api-client.d.ts +0 -6
- package/dist/platform/workflow-canvas-shell.d.mts +0 -18
- package/dist/platform/workflow-canvas-shell.d.ts +0 -18
- package/dist/rule-form-BYJzyork.d.mts +0 -128
- package/dist/rule-form-BYJzyork.d.ts +0 -128
- package/dist/workflow-api-client-CpFl3WcG.d.mts +0 -468
- package/dist/workflow-api-client-uLICOanv.d.ts +0 -468
- package/dist/workflow-canvas--qaYKuMm.d.ts +0 -113
- package/dist/workflow-canvas-B80fmD_n.d.mts +0 -113
- package/dist/workflow-store-o17I6L6A.d.ts +0 -79
- package/dist/workflow-store-ppVHdMZi.d.mts +0 -79
package/dist/platform/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var chunkHBOORO52_js = require('../chunk-HBOORO52.js');
|
|
5
|
-
var chunkVPFVW7ZF_js = require('../chunk-VPFVW7ZF.js');
|
|
6
|
-
var chunkRCHTRG7R_js = require('../chunk-RCHTRG7R.js');
|
|
7
4
|
var chunkP4RVGMZL_js = require('../chunk-P4RVGMZL.js');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
5
|
+
var chunkXT76DMP5_js = require('../chunk-XT76DMP5.js');
|
|
6
|
+
var chunkRBB5YGWH_js = require('../chunk-RBB5YGWH.js');
|
|
7
|
+
var chunkR2RPRRB4_js = require('../chunk-R2RPRRB4.js');
|
|
8
|
+
var chunkBEUPW5WS_js = require('../chunk-BEUPW5WS.js');
|
|
9
|
+
var chunkVDO6MDQW_js = require('../chunk-VDO6MDQW.js');
|
|
10
|
+
var chunkMFAVWJWE_js = require('../chunk-MFAVWJWE.js');
|
|
11
|
+
var chunkDWIBK7GV_js = require('../chunk-DWIBK7GV.js');
|
|
12
|
+
var chunkZF7RJNPD_js = require('../chunk-ZF7RJNPD.js');
|
|
13
13
|
var chunkQGLGQXJE_js = require('../chunk-QGLGQXJE.js');
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
require('../chunk-
|
|
17
|
-
var chunkTCP45Q4B_js = require('../chunk-TCP45Q4B.js');
|
|
14
|
+
var chunk7WIWDSF6_js = require('../chunk-7WIWDSF6.js');
|
|
15
|
+
require('../chunk-SUU7XPRX.js');
|
|
16
|
+
var chunkFIB2CFJK_js = require('../chunk-FIB2CFJK.js');
|
|
18
17
|
var chunkVY52Y5GC_js = require('../chunk-VY52Y5GC.js');
|
|
19
18
|
var chunk6PBTB5ZX_js = require('../chunk-6PBTB5ZX.js');
|
|
20
|
-
require('../chunk-
|
|
19
|
+
var chunkKI4UPW4Z_js = require('../chunk-KI4UPW4Z.js');
|
|
20
|
+
require('../chunk-IYDGO7RW.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
25
|
-
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
23
|
+
require('../chunk-QL2JYRBN.js');
|
|
24
|
+
var chunkGD6FHRHV_js = require('../chunk-GD6FHRHV.js');
|
|
26
25
|
var chunkSY4MUT5V_js = require('../chunk-SY4MUT5V.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
|
+
chunkGD6FHRHV_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
|
+
chunkGD6FHRHV_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 } = chunkGD6FHRHV_js.useAuth();
|
|
85
85
|
const tCommon = chunkYXN2K77G_js.useTranslations("common");
|
|
86
86
|
const {
|
|
87
87
|
dockPosition,
|
|
88
88
|
dockAutoHide,
|
|
89
89
|
dockEnabled
|
|
90
|
-
} =
|
|
90
|
+
} = chunkGD6FHRHV_js.usePlatformPreferences();
|
|
91
91
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
92
92
|
const filteredItems = react.useMemo(
|
|
93
|
-
() =>
|
|
93
|
+
() => chunkGD6FHRHV_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
|
+
chunkGD6FHRHV_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
|
+
chunkGD6FHRHV_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 } = chunkGD6FHRHV_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 } = chunkGD6FHRHV_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
|
+
chunkGD6FHRHV_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 } = chunkFIB2CFJK_js.usePlatformState();
|
|
215
|
+
const { error: notifyError, success: notifySuccess } = chunkGD6FHRHV_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
|
+
chunkBEUPW5WS_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 } = chunkFIB2CFJK_js.usePlatformState();
|
|
269
|
+
const { error: notifyError, success: notifySuccess } = chunkGD6FHRHV_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
|
+
chunkBEUPW5WS_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 } = chunkGD6FHRHV_js.useNotifications();
|
|
312
312
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
313
313
|
const [connections, setConnections] = react.useState([]);
|
|
314
314
|
const [connectionId, setConnectionId] = react.useState("");
|
|
@@ -354,7 +354,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
357
|
-
|
|
357
|
+
chunkGD6FHRHV_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
|
+
chunkGD6FHRHV_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 } = chunkGD6FHRHV_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
|
+
chunkGD6FHRHV_js.GlassModal,
|
|
483
483
|
{
|
|
484
484
|
open,
|
|
485
485
|
onClose,
|
|
@@ -550,121 +550,121 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
550
550
|
);
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
Object.defineProperty(exports, "
|
|
553
|
+
Object.defineProperty(exports, "UpgradePrompt", {
|
|
554
554
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkP4RVGMZL_js.UpgradePrompt; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkXT76DMP5_js.AdminOrganizationForm; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkXT76DMP5_js.AdminOrganizationList; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkXT76DMP5_js.AdminPermissionList; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkXT76DMP5_js.AdminUserForm; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "AdminUserList", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkXT76DMP5_js.AdminUserList; }
|
|
576
|
+
});
|
|
577
|
+
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
578
|
+
enumerable: true,
|
|
579
|
+
get: function () { return chunkRBB5YGWH_js.ImpersonationBanner; }
|
|
576
580
|
});
|
|
577
581
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
578
582
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkR2RPRRB4_js.ConsentScreen; }
|
|
580
584
|
});
|
|
581
585
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
582
586
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkR2RPRRB4_js.ForgotPassword; }
|
|
584
588
|
});
|
|
585
589
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
586
590
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunkR2RPRRB4_js.MfaChallenge; }
|
|
588
592
|
});
|
|
589
593
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
590
594
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunkR2RPRRB4_js.PasswordlessSignIn; }
|
|
592
596
|
});
|
|
593
597
|
Object.defineProperty(exports, "ResetPassword", {
|
|
594
598
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunkR2RPRRB4_js.ResetPassword; }
|
|
596
600
|
});
|
|
597
601
|
Object.defineProperty(exports, "SignIn", {
|
|
598
602
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunkR2RPRRB4_js.SignIn; }
|
|
600
604
|
});
|
|
601
605
|
Object.defineProperty(exports, "SignUp", {
|
|
602
606
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunkR2RPRRB4_js.SignUp; }
|
|
604
608
|
});
|
|
605
609
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
606
610
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunkR2RPRRB4_js.SsoConnectorList; }
|
|
608
612
|
});
|
|
609
613
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
610
614
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunkR2RPRRB4_js.SsoEmailForm; }
|
|
612
616
|
});
|
|
613
617
|
Object.defineProperty(exports, "UserButton", {
|
|
614
618
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
619
|
+
get: function () { return chunkR2RPRRB4_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; }
|
|
624
|
-
});
|
|
625
|
-
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
626
|
-
enumerable: true,
|
|
627
|
-
get: function () { return chunkH37VDL7Y_js.ImpersonationBanner; }
|
|
623
|
+
get: function () { return chunkR2RPRRB4_js.VerifyEmail; }
|
|
628
624
|
});
|
|
629
625
|
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
630
626
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkBEUPW5WS_js.WorkflowWorkspace; }
|
|
632
628
|
});
|
|
633
629
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
634
630
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunkVDO6MDQW_js.PlatformSettings; }
|
|
632
|
+
});
|
|
633
|
+
Object.defineProperty(exports, "BillingPanel", {
|
|
634
|
+
enumerable: true,
|
|
635
|
+
get: function () { return chunkMFAVWJWE_js.BillingPanel; }
|
|
636
636
|
});
|
|
637
637
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
638
638
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkDWIBK7GV_js.AdminOrganizationDetail; }
|
|
640
640
|
});
|
|
641
641
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
642
642
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunkZF7RJNPD_js.LinkedAccountsTabContent; }
|
|
644
644
|
});
|
|
645
645
|
Object.defineProperty(exports, "MfaManage", {
|
|
646
646
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkZF7RJNPD_js.MfaManage; }
|
|
648
648
|
});
|
|
649
649
|
Object.defineProperty(exports, "MfaSetup", {
|
|
650
650
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkZF7RJNPD_js.MfaSetup; }
|
|
652
652
|
});
|
|
653
653
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
654
654
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkZF7RJNPD_js.ProfileTabContent; }
|
|
656
656
|
});
|
|
657
657
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
658
658
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkZF7RJNPD_js.SecurityTabContent; }
|
|
660
660
|
});
|
|
661
661
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
662
662
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkZF7RJNPD_js.SessionsTabContent; }
|
|
664
664
|
});
|
|
665
665
|
Object.defineProperty(exports, "UserProfile", {
|
|
666
666
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunkZF7RJNPD_js.UserProfile; }
|
|
668
668
|
});
|
|
669
669
|
Object.defineProperty(exports, "AuthLayout", {
|
|
670
670
|
enumerable: true,
|
|
@@ -686,45 +686,41 @@ Object.defineProperty(exports, "SocialLoginButtons", {
|
|
|
686
686
|
enumerable: true,
|
|
687
687
|
get: function () { return chunkQGLGQXJE_js.SocialLoginButtons; }
|
|
688
688
|
});
|
|
689
|
-
Object.defineProperty(exports, "BillingPanel", {
|
|
690
|
-
enumerable: true,
|
|
691
|
-
get: function () { return chunkQ4QORAMH_js.BillingPanel; }
|
|
692
|
-
});
|
|
693
689
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
694
690
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
691
|
+
get: function () { return chunk7WIWDSF6_js.AgentsWorkspace; }
|
|
696
692
|
});
|
|
697
693
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
698
694
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunk7WIWDSF6_js.applyWorkflowExecutionEventToStore; }
|
|
700
696
|
});
|
|
701
697
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
702
698
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
699
|
+
get: function () { return chunk7WIWDSF6_js.resetWorkflowRunPresentation; }
|
|
704
700
|
});
|
|
705
701
|
Object.defineProperty(exports, "useRunEvents", {
|
|
706
702
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
703
|
+
get: function () { return chunk7WIWDSF6_js.useRunEvents; }
|
|
708
704
|
});
|
|
709
705
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
710
706
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
707
|
+
get: function () { return chunk7WIWDSF6_js.useWorkflowExecution; }
|
|
712
708
|
});
|
|
713
709
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
714
710
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
711
|
+
get: function () { return chunk7WIWDSF6_js.useWorkflowRunPresentation; }
|
|
716
712
|
});
|
|
717
713
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
718
714
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
715
|
+
get: function () { return chunkFIB2CFJK_js.PlatformAppShell; }
|
|
720
716
|
});
|
|
721
717
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
722
718
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
719
|
+
get: function () { return chunkFIB2CFJK_js.PlatformStateProvider; }
|
|
724
720
|
});
|
|
725
721
|
Object.defineProperty(exports, "usePlatformState", {
|
|
726
722
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
723
|
+
get: function () { return chunkFIB2CFJK_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 chunkKI4UPW4Z_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 { WorkflowCanvasShell } from '../chunk-32DHEVOH.mjs';
|
|
3
|
-
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-PCUINUIC.mjs';
|
|
4
|
-
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-EWYAM4WJ.mjs';
|
|
5
2
|
export { UpgradePrompt } from '../chunk-DJ33CSGJ.mjs';
|
|
6
|
-
export {
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
3
|
+
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-IKH5IRDK.mjs';
|
|
4
|
+
export { ImpersonationBanner } from '../chunk-IKHWYYZC.mjs';
|
|
5
|
+
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-P7GVXI7Y.mjs';
|
|
6
|
+
import { UsersPageView, RolesPageView } from '../chunk-4HP7XS5I.mjs';
|
|
7
|
+
export { WorkflowWorkspace } from '../chunk-4HP7XS5I.mjs';
|
|
8
|
+
export { PlatformSettings } from '../chunk-ZWLMKOHZ.mjs';
|
|
9
|
+
export { BillingPanel } from '../chunk-YNHQ36UU.mjs';
|
|
10
|
+
export { AdminOrganizationDetail } from '../chunk-MGZTZELL.mjs';
|
|
11
|
+
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-CTCO2YI5.mjs';
|
|
12
12
|
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../chunk-3VYD7QL2.mjs';
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
import '../chunk-
|
|
16
|
-
|
|
17
|
-
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-CZZOCKEA.mjs';
|
|
13
|
+
export { AgentsWorkspace, applyWorkflowExecutionEventToStore, resetWorkflowRunPresentation, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation } from '../chunk-MRLEINJN.mjs';
|
|
14
|
+
import '../chunk-DCBRGVD3.mjs';
|
|
15
|
+
import { usePlatformState } from '../chunk-JUDQX6MP.mjs';
|
|
16
|
+
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-JUDQX6MP.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-GAN7AKZ2.mjs';
|
|
21
|
+
import '../chunk-EIZM2EQA.mjs';
|
|
22
22
|
import '../chunk-JB6RNAD2.mjs';
|
|
23
23
|
import '../chunk-LEXBTVGM.mjs';
|
|
24
|
-
import '../chunk-
|
|
25
|
-
import { Select, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, useNotifications, Textarea } from '../chunk-
|
|
26
|
-
import { useTranslations, useLocale } from '../chunk-7VJ7CMMT.mjs';
|
|
24
|
+
import '../chunk-N5365CGD.mjs';
|
|
25
|
+
import { Select, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, useNotifications, Textarea } from '../chunk-Z3BMHKKH.mjs';
|
|
27
26
|
import { listModelProviderConnections, listWorkflowTemplates, createWorkflowFromTemplate, aiGenerateWorkflow, createWorkflow, saveWorkflowDraft } from '../chunk-RHRJXK5R.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';
|