@datatechsolutions/ui 3.4.0 → 3.5.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/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-SEYUYGER.mjs → chunk-2MJAHST4.mjs} +12 -11
- package/dist/chunk-2MJAHST4.mjs.map +1 -0
- package/dist/{chunk-SQ4KGLBZ.mjs → chunk-3OLYSMI5.mjs} +41 -7
- package/dist/chunk-3OLYSMI5.mjs.map +1 -0
- package/dist/{chunk-RLVOG5OQ.mjs → chunk-4PFU6A2B.mjs} +3 -3
- package/dist/{chunk-RLVOG5OQ.mjs.map → chunk-4PFU6A2B.mjs.map} +1 -1
- package/dist/{chunk-RFRXS4PC.mjs → chunk-5BEVTOZV.mjs} +4 -4
- package/dist/{chunk-RFRXS4PC.mjs.map → chunk-5BEVTOZV.mjs.map} +1 -1
- package/dist/{chunk-NCLZKVJK.js → chunk-5I7F7KZ6.js} +10 -10
- package/dist/{chunk-NCLZKVJK.js.map → chunk-5I7F7KZ6.js.map} +1 -1
- package/dist/{chunk-NAFWHJCM.mjs → chunk-6V3DUBOZ.mjs} +7 -7
- package/dist/{chunk-NAFWHJCM.mjs.map → chunk-6V3DUBOZ.mjs.map} +1 -1
- package/dist/{chunk-AL73YAV4.mjs → chunk-6W7VTZG6.mjs} +3 -3
- package/dist/{chunk-AL73YAV4.mjs.map → chunk-6W7VTZG6.mjs.map} +1 -1
- package/dist/{chunk-ERCDMBRT.js → chunk-74MHWEDC.js} +168 -167
- package/dist/chunk-74MHWEDC.js.map +1 -0
- package/dist/{chunk-CUWPLPVY.mjs → chunk-7CEZB3ZD.mjs} +3 -3
- package/dist/{chunk-CUWPLPVY.mjs.map → chunk-7CEZB3ZD.mjs.map} +1 -1
- package/dist/{chunk-QBFE7ABE.mjs → chunk-7UHV6A4C.mjs} +6 -6
- package/dist/{chunk-QBFE7ABE.mjs.map → chunk-7UHV6A4C.mjs.map} +1 -1
- package/dist/{chunk-TUQLZ4QD.js → chunk-A7FI4K7Z.js} +5 -5
- package/dist/{chunk-TUQLZ4QD.js.map → chunk-A7FI4K7Z.js.map} +1 -1
- package/dist/{chunk-RLLP7VQJ.js → chunk-AVM53A3Y.js} +63 -29
- package/dist/chunk-AVM53A3Y.js.map +1 -0
- package/dist/{chunk-FSBR4RCK.js → chunk-AWDH6WNA.js} +139 -109
- package/dist/chunk-AWDH6WNA.js.map +1 -0
- package/dist/{chunk-Y2AYFG4E.js → chunk-BVXATTTA.js} +4 -4
- package/dist/{chunk-Y2AYFG4E.js.map → chunk-BVXATTTA.js.map} +1 -1
- package/dist/{chunk-CF7GOUBQ.js → chunk-C4NRF2G2.js} +13 -13
- package/dist/{chunk-CF7GOUBQ.js.map → chunk-C4NRF2G2.js.map} +1 -1
- package/dist/{chunk-45QAUEYT.js → chunk-CY2MBKVG.js} +4 -4
- package/dist/{chunk-45QAUEYT.js.map → chunk-CY2MBKVG.js.map} +1 -1
- package/dist/{chunk-PGVZKMOA.js → chunk-FK3WDELF.js} +40 -40
- package/dist/{chunk-PGVZKMOA.js.map → chunk-FK3WDELF.js.map} +1 -1
- package/dist/{chunk-ZKSDDFHG.mjs → chunk-IOEQ2GET.mjs} +4 -4
- package/dist/{chunk-ZKSDDFHG.mjs.map → chunk-IOEQ2GET.mjs.map} +1 -1
- package/dist/{chunk-MO5FBVV3.js → chunk-NCDBNGIB.js} +62 -62
- package/dist/{chunk-MO5FBVV3.js.map → chunk-NCDBNGIB.js.map} +1 -1
- package/dist/{chunk-4GDWGWHY.mjs → chunk-NJ5RVWLA.mjs} +4 -4
- package/dist/{chunk-4GDWGWHY.mjs.map → chunk-NJ5RVWLA.mjs.map} +1 -1
- package/dist/{chunk-UJVDI66K.js → chunk-NKXQYFS7.js} +16 -16
- package/dist/{chunk-UJVDI66K.js.map → chunk-NKXQYFS7.js.map} +1 -1
- package/dist/{chunk-AGGOHPMZ.mjs → chunk-NOHHZ6FM.mjs} +139 -109
- package/dist/chunk-NOHHZ6FM.mjs.map +1 -0
- package/dist/{chunk-VV6SYMPM.mjs → chunk-OASC7NYV.mjs} +3 -3
- package/dist/{chunk-VV6SYMPM.mjs.map → chunk-OASC7NYV.mjs.map} +1 -1
- package/dist/{chunk-6MBWKOPF.js → chunk-P43PX75J.js} +33 -33
- package/dist/{chunk-6MBWKOPF.js.map → chunk-P43PX75J.js.map} +1 -1
- package/dist/{chunk-BW67WFHT.mjs → chunk-QLFSJ6HK.mjs} +3 -3
- package/dist/{chunk-BW67WFHT.mjs.map → chunk-QLFSJ6HK.mjs.map} +1 -1
- package/dist/{chunk-X3GW7UPN.mjs → chunk-QPSHM2JQ.mjs} +4 -4
- package/dist/{chunk-X3GW7UPN.mjs.map → chunk-QPSHM2JQ.mjs.map} +1 -1
- package/dist/{chunk-M7KSEUZR.js → chunk-QSMPKL27.js} +74 -74
- package/dist/{chunk-M7KSEUZR.js.map → chunk-QSMPKL27.js.map} +1 -1
- package/dist/{chunk-IDEM3DYF.mjs → chunk-UHMAKUON.mjs} +3 -3
- package/dist/{chunk-IDEM3DYF.mjs.map → chunk-UHMAKUON.mjs.map} +1 -1
- package/dist/{chunk-YV7F7IXG.js → chunk-V5VBYOF5.js} +36 -36
- package/dist/{chunk-YV7F7IXG.js.map → chunk-V5VBYOF5.js.map} +1 -1
- package/dist/{chunk-4ICEQJH4.js → chunk-VMGNQFRO.js} +53 -53
- package/dist/{chunk-4ICEQJH4.js.map → chunk-VMGNQFRO.js.map} +1 -1
- package/dist/{chunk-UE2RDQIK.js → chunk-Z7VY5M4T.js} +77 -77
- package/dist/{chunk-UE2RDQIK.js.map → chunk-Z7VY5M4T.js.map} +1 -1
- package/dist/{chunk-NVQWHJQH.mjs → chunk-ZM2Q2SMC.mjs} +3 -3
- package/dist/{chunk-NVQWHJQH.mjs.map → chunk-ZM2Q2SMC.mjs.map} +1 -1
- package/dist/index.js +721 -721
- 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 +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 +28 -28
- package/dist/platform/auth/index.mjs +5 -5
- 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 +89 -89
- package/dist/platform/index.mjs +19 -19
- package/dist/platform/pages/index.js +318 -202
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +144 -28
- 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 +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/chunk-AGGOHPMZ.mjs.map +0 -1
- package/dist/chunk-ERCDMBRT.js.map +0 -1
- package/dist/chunk-FSBR4RCK.js.map +0 -1
- package/dist/chunk-RLLP7VQJ.js.map +0 -1
- package/dist/chunk-SEYUYGER.mjs.map +0 -1
- package/dist/chunk-SQ4KGLBZ.mjs.map +0 -1
- 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 -5263
- package/dist/index.d.ts +0 -5263
- 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 -58
- package/dist/platform/app-shell.d.ts +0 -58
- 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 -432
- package/dist/platform/pages/index.d.ts +0 -432
- 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,32 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
4
|
+
var chunkVMGNQFRO_js = require('../chunk-VMGNQFRO.js');
|
|
5
|
+
var chunkZ7VY5M4T_js = require('../chunk-Z7VY5M4T.js');
|
|
6
|
+
var chunkA7FI4K7Z_js = require('../chunk-A7FI4K7Z.js');
|
|
7
7
|
var chunkP4RVGMZL_js = require('../chunk-P4RVGMZL.js');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
require('../chunk-
|
|
17
|
-
var chunkNCLZKVJK_js = require('../chunk-NCLZKVJK.js');
|
|
8
|
+
var chunkAVM53A3Y_js = require('../chunk-AVM53A3Y.js');
|
|
9
|
+
var chunkC4NRF2G2_js = require('../chunk-C4NRF2G2.js');
|
|
10
|
+
var chunkP43PX75J_js = require('../chunk-P43PX75J.js');
|
|
11
|
+
var chunkNCDBNGIB_js = require('../chunk-NCDBNGIB.js');
|
|
12
|
+
var chunkCY2MBKVG_js = require('../chunk-CY2MBKVG.js');
|
|
13
|
+
var chunkNKXQYFS7_js = require('../chunk-NKXQYFS7.js');
|
|
14
|
+
var chunkFK3WDELF_js = require('../chunk-FK3WDELF.js');
|
|
15
|
+
require('../chunk-V5VBYOF5.js');
|
|
16
|
+
var chunk5I7F7KZ6_js = require('../chunk-5I7F7KZ6.js');
|
|
18
17
|
var chunkVY52Y5GC_js = require('../chunk-VY52Y5GC.js');
|
|
19
18
|
var chunk6PBTB5ZX_js = require('../chunk-6PBTB5ZX.js');
|
|
20
|
-
require('../chunk-
|
|
19
|
+
var chunkBVXATTTA_js = require('../chunk-BVXATTTA.js');
|
|
20
|
+
require('../chunk-74MHWEDC.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
23
|
+
require('../chunk-QSMPKL27.js');
|
|
24
|
+
var chunkAWDH6WNA_js = require('../chunk-AWDH6WNA.js');
|
|
25
25
|
require('../chunk-UZ3CMNUJ.js');
|
|
26
|
-
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
27
26
|
var chunkS7KHTUHA_js = require('../chunk-S7KHTUHA.js');
|
|
28
27
|
var chunkSY4MUT5V_js = require('../chunk-SY4MUT5V.js');
|
|
29
28
|
require('../chunk-2OZZH2IO.js');
|
|
29
|
+
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
30
30
|
require('../chunk-P4YYEM4B.js');
|
|
31
31
|
require('../chunk-72SWXOD5.js');
|
|
32
32
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -46,7 +46,7 @@ function SessionSwitcher({
|
|
|
46
46
|
const tCommon = chunkYXN2K77G_js.useTranslations("common");
|
|
47
47
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "session-switcher", children: [
|
|
48
48
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49
|
-
|
|
49
|
+
chunkAWDH6WNA_js.Select,
|
|
50
50
|
{
|
|
51
51
|
value: organizationId,
|
|
52
52
|
"aria-label": tSession("organization"),
|
|
@@ -58,7 +58,7 @@ function SessionSwitcher({
|
|
|
58
58
|
}
|
|
59
59
|
),
|
|
60
60
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
61
|
-
|
|
61
|
+
chunkAWDH6WNA_js.Select,
|
|
62
62
|
{
|
|
63
63
|
value: userEmail,
|
|
64
64
|
"aria-label": tSession("user"),
|
|
@@ -69,7 +69,7 @@ function SessionSwitcher({
|
|
|
69
69
|
placeholder: tSession("user")
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
72
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAWDH6WNA_js.Button, { outline: true, onClick: () => globalThis.location.reload(), children: tCommon("refresh") })
|
|
73
73
|
] });
|
|
74
74
|
}
|
|
75
75
|
function PlatformDockContainer({
|
|
@@ -80,16 +80,16 @@ function PlatformDockContainer({
|
|
|
80
80
|
}) {
|
|
81
81
|
const pathname = chunkS7KHTUHA_js.usePathname();
|
|
82
82
|
const router = chunkS7KHTUHA_js.useRouter();
|
|
83
|
-
const { logout } =
|
|
83
|
+
const { logout } = chunkAWDH6WNA_js.useAuth();
|
|
84
84
|
const tCommon = chunkYXN2K77G_js.useTranslations("common");
|
|
85
85
|
const {
|
|
86
86
|
dockPosition,
|
|
87
87
|
dockAutoHide,
|
|
88
88
|
dockEnabled
|
|
89
|
-
} =
|
|
89
|
+
} = chunkAWDH6WNA_js.usePlatformPreferences();
|
|
90
90
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
91
91
|
const filteredItems = react.useMemo(
|
|
92
|
-
() =>
|
|
92
|
+
() => chunkAWDH6WNA_js.filterByPermission(navigationItems, actor?.permissions ?? []),
|
|
93
93
|
[navigationItems, actor]
|
|
94
94
|
);
|
|
95
95
|
const handleNavigate = react.useCallback((href) => router.push(href), [router]);
|
|
@@ -99,7 +99,7 @@ function PlatformDockContainer({
|
|
|
99
99
|
if (pathname === dashboardPath) return null;
|
|
100
100
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
101
101
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
102
|
-
|
|
102
|
+
chunkAWDH6WNA_js.AppNavigation,
|
|
103
103
|
{
|
|
104
104
|
items: filteredItems,
|
|
105
105
|
pathname,
|
|
@@ -118,7 +118,7 @@ function PlatformDockContainer({
|
|
|
118
118
|
}
|
|
119
119
|
),
|
|
120
120
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
121
|
-
|
|
121
|
+
chunkAWDH6WNA_js.GlassModal,
|
|
122
122
|
{
|
|
123
123
|
open: profileOpen,
|
|
124
124
|
onClose: () => setProfileOpen(false),
|
|
@@ -130,7 +130,7 @@ function PlatformDockContainer({
|
|
|
130
130
|
}
|
|
131
131
|
function useLocaleSwitcher() {
|
|
132
132
|
const locale = chunkYXN2K77G_js.useLocale();
|
|
133
|
-
const { client } =
|
|
133
|
+
const { client } = chunkAWDH6WNA_js.useAuth();
|
|
134
134
|
const setLocale = react.useCallback(
|
|
135
135
|
(newLocale) => {
|
|
136
136
|
const resolved = i18n.applyClientLocale(newLocale);
|
|
@@ -151,12 +151,12 @@ var LOCALE_OPTIONS = i18n.SUPPORTED_LOCALES.map((code) => ({
|
|
|
151
151
|
}));
|
|
152
152
|
function PreferencesControls() {
|
|
153
153
|
const { locale, setLocale } = useLocaleSwitcher();
|
|
154
|
-
const { theme, setTheme } =
|
|
154
|
+
const { theme, setTheme } = chunkAWDH6WNA_js.usePlatformPreferences();
|
|
155
155
|
const toggleTheme = () => setTheme(theme === "dark" ? "light" : "dark");
|
|
156
156
|
const t = chunkYXN2K77G_js.useTranslations("platform.preferences");
|
|
157
157
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "preferences-controls", children: [
|
|
158
158
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
159
|
-
|
|
159
|
+
chunkAWDH6WNA_js.Select,
|
|
160
160
|
{
|
|
161
161
|
value: locale,
|
|
162
162
|
options: LOCALE_OPTIONS,
|
|
@@ -164,7 +164,7 @@ function PreferencesControls() {
|
|
|
164
164
|
}
|
|
165
165
|
),
|
|
166
166
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
167
|
-
|
|
167
|
+
chunkAWDH6WNA_js.IconButton,
|
|
168
168
|
{
|
|
169
169
|
label: t("theme"),
|
|
170
170
|
icon: theme === "dark" ? /* @__PURE__ */ jsxRuntime.jsx(outline.SunIcon, {}) : /* @__PURE__ */ jsxRuntime.jsx(outline.MoonIcon, {}),
|
|
@@ -210,8 +210,8 @@ function mapRoleToOrgRole(role) {
|
|
|
210
210
|
}
|
|
211
211
|
function UsersSettingsSection({ normalizeRole }) {
|
|
212
212
|
const t = chunkYXN2K77G_js.useTranslations("platform.users");
|
|
213
|
-
const { currentOrganizationId } =
|
|
214
|
-
const { error: notifyError, success: notifySuccess } =
|
|
213
|
+
const { currentOrganizationId } = chunk5I7F7KZ6_js.usePlatformState();
|
|
214
|
+
const { error: notifyError, success: notifySuccess } = chunkAWDH6WNA_js.useNotifications();
|
|
215
215
|
const [users, setUsers] = react.useState([]);
|
|
216
216
|
const [loading, setLoading] = react.useState(true);
|
|
217
217
|
const reload = async () => {
|
|
@@ -228,7 +228,7 @@ function UsersSettingsSection({ normalizeRole }) {
|
|
|
228
228
|
void reload();
|
|
229
229
|
}, [currentOrganizationId]);
|
|
230
230
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
231
|
-
|
|
231
|
+
chunkAVM53A3Y_js.UsersPageView,
|
|
232
232
|
{
|
|
233
233
|
labels: {
|
|
234
234
|
title: t("title"),
|
|
@@ -264,14 +264,14 @@ function UsersSettingsSection({ normalizeRole }) {
|
|
|
264
264
|
}
|
|
265
265
|
function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }) {
|
|
266
266
|
const t = chunkYXN2K77G_js.useTranslations("platform.roles");
|
|
267
|
-
const { currentOrganizationId } =
|
|
268
|
-
const { error: notifyError, success: notifySuccess } =
|
|
267
|
+
const { currentOrganizationId } = chunk5I7F7KZ6_js.usePlatformState();
|
|
268
|
+
const { error: notifyError, success: notifySuccess } = chunkAWDH6WNA_js.useNotifications();
|
|
269
269
|
const [users, setUsers] = react.useState([]);
|
|
270
270
|
react.useEffect(() => {
|
|
271
271
|
chunk6PBTB5ZX_js.listUsers({ organizationId: currentOrganizationId }).then((result) => setUsers(result.items.map((row) => mapAdminUser(row, normalizeRole)))).catch((error) => notifyError(error.message));
|
|
272
272
|
}, [currentOrganizationId, notifyError, normalizeRole]);
|
|
273
273
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
274
|
-
|
|
274
|
+
chunkAVM53A3Y_js.RolesPageView,
|
|
275
275
|
{
|
|
276
276
|
roleDefinitions,
|
|
277
277
|
roleOptions,
|
|
@@ -307,7 +307,7 @@ function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }) {
|
|
|
307
307
|
);
|
|
308
308
|
}
|
|
309
309
|
function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
310
|
-
const { error: notifyError, success: notifySuccess } =
|
|
310
|
+
const { error: notifyError, success: notifySuccess } = chunkAWDH6WNA_js.useNotifications();
|
|
311
311
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
312
312
|
const [connections, setConnections] = react.useState([]);
|
|
313
313
|
const [connectionId, setConnectionId] = react.useState("");
|
|
@@ -353,7 +353,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
356
|
-
|
|
356
|
+
chunkAWDH6WNA_js.GlassModal,
|
|
357
357
|
{
|
|
358
358
|
open,
|
|
359
359
|
onClose,
|
|
@@ -389,7 +389,7 @@ function AiWorkflowGenerateModal({ open, onClose, onGenerated }) {
|
|
|
389
389
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "block text-sm font-medium text-slate-700 dark:text-slate-200", children: [
|
|
390
390
|
t("aiPromptLabel"),
|
|
391
391
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
392
|
-
|
|
392
|
+
chunkAWDH6WNA_js.Textarea,
|
|
393
393
|
{
|
|
394
394
|
rows: 6,
|
|
395
395
|
className: "mt-1 w-full",
|
|
@@ -413,7 +413,7 @@ function deriveWorkflowName(prompt) {
|
|
|
413
413
|
function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
414
414
|
const tWorkflow = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
415
415
|
const tCommon = chunkYXN2K77G_js.useTranslations("common");
|
|
416
|
-
const { error: notifyError, success: notifySuccess } =
|
|
416
|
+
const { error: notifyError, success: notifySuccess } = chunkAWDH6WNA_js.useNotifications();
|
|
417
417
|
const [templates, setTemplates] = react.useState([]);
|
|
418
418
|
const [connections, setConnections] = react.useState([]);
|
|
419
419
|
const [templateId, setTemplateId] = react.useState("");
|
|
@@ -478,7 +478,7 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
478
478
|
}
|
|
479
479
|
}, [canSubmit, templateId, connectionId, name, onCreated, onClose, notifySuccess, notifyError, tWorkflow]);
|
|
480
480
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
481
|
-
|
|
481
|
+
chunkAWDH6WNA_js.GlassModal,
|
|
482
482
|
{
|
|
483
483
|
open,
|
|
484
484
|
onClose,
|
|
@@ -556,181 +556,177 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
556
556
|
);
|
|
557
557
|
}
|
|
558
558
|
|
|
559
|
-
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
560
|
-
enumerable: true,
|
|
561
|
-
get: function () { return chunkY2AYFG4E_js.WorkflowCanvasShell; }
|
|
562
|
-
});
|
|
563
559
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
564
560
|
enumerable: true,
|
|
565
|
-
get: function () { return
|
|
561
|
+
get: function () { return chunkVMGNQFRO_js.AdminOrganizationForm; }
|
|
566
562
|
});
|
|
567
563
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
568
564
|
enumerable: true,
|
|
569
|
-
get: function () { return
|
|
565
|
+
get: function () { return chunkVMGNQFRO_js.AdminOrganizationList; }
|
|
570
566
|
});
|
|
571
567
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
572
568
|
enumerable: true,
|
|
573
|
-
get: function () { return
|
|
569
|
+
get: function () { return chunkVMGNQFRO_js.AdminPermissionList; }
|
|
574
570
|
});
|
|
575
571
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
576
572
|
enumerable: true,
|
|
577
|
-
get: function () { return
|
|
573
|
+
get: function () { return chunkVMGNQFRO_js.AdminUserForm; }
|
|
578
574
|
});
|
|
579
575
|
Object.defineProperty(exports, "AdminUserList", {
|
|
580
576
|
enumerable: true,
|
|
581
|
-
get: function () { return
|
|
577
|
+
get: function () { return chunkVMGNQFRO_js.AdminUserList; }
|
|
582
578
|
});
|
|
583
579
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
584
580
|
enumerable: true,
|
|
585
|
-
get: function () { return
|
|
581
|
+
get: function () { return chunkZ7VY5M4T_js.ConsentScreen; }
|
|
586
582
|
});
|
|
587
583
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
588
584
|
enumerable: true,
|
|
589
|
-
get: function () { return
|
|
585
|
+
get: function () { return chunkZ7VY5M4T_js.ForgotPassword; }
|
|
590
586
|
});
|
|
591
587
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
592
588
|
enumerable: true,
|
|
593
|
-
get: function () { return
|
|
589
|
+
get: function () { return chunkZ7VY5M4T_js.MfaChallenge; }
|
|
594
590
|
});
|
|
595
591
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
596
592
|
enumerable: true,
|
|
597
|
-
get: function () { return
|
|
593
|
+
get: function () { return chunkZ7VY5M4T_js.PasswordlessSignIn; }
|
|
598
594
|
});
|
|
599
595
|
Object.defineProperty(exports, "ResetPassword", {
|
|
600
596
|
enumerable: true,
|
|
601
|
-
get: function () { return
|
|
597
|
+
get: function () { return chunkZ7VY5M4T_js.ResetPassword; }
|
|
602
598
|
});
|
|
603
599
|
Object.defineProperty(exports, "SignIn", {
|
|
604
600
|
enumerable: true,
|
|
605
|
-
get: function () { return
|
|
601
|
+
get: function () { return chunkZ7VY5M4T_js.SignIn; }
|
|
606
602
|
});
|
|
607
603
|
Object.defineProperty(exports, "SignUp", {
|
|
608
604
|
enumerable: true,
|
|
609
|
-
get: function () { return
|
|
605
|
+
get: function () { return chunkZ7VY5M4T_js.SignUp; }
|
|
610
606
|
});
|
|
611
607
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
612
608
|
enumerable: true,
|
|
613
|
-
get: function () { return
|
|
609
|
+
get: function () { return chunkZ7VY5M4T_js.SsoConnectorList; }
|
|
614
610
|
});
|
|
615
611
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
616
612
|
enumerable: true,
|
|
617
|
-
get: function () { return
|
|
613
|
+
get: function () { return chunkZ7VY5M4T_js.SsoEmailForm; }
|
|
618
614
|
});
|
|
619
615
|
Object.defineProperty(exports, "UserButton", {
|
|
620
616
|
enumerable: true,
|
|
621
|
-
get: function () { return
|
|
617
|
+
get: function () { return chunkZ7VY5M4T_js.UserButton; }
|
|
622
618
|
});
|
|
623
619
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
624
620
|
enumerable: true,
|
|
625
|
-
get: function () { return
|
|
621
|
+
get: function () { return chunkZ7VY5M4T_js.VerifyEmail; }
|
|
626
622
|
});
|
|
627
|
-
Object.defineProperty(exports, "
|
|
623
|
+
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
628
624
|
enumerable: true,
|
|
629
|
-
get: function () { return
|
|
625
|
+
get: function () { return chunkA7FI4K7Z_js.ImpersonationBanner; }
|
|
630
626
|
});
|
|
631
|
-
Object.defineProperty(exports, "
|
|
627
|
+
Object.defineProperty(exports, "UpgradePrompt", {
|
|
632
628
|
enumerable: true,
|
|
633
|
-
get: function () { return
|
|
629
|
+
get: function () { return chunkP4RVGMZL_js.UpgradePrompt; }
|
|
634
630
|
});
|
|
635
631
|
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
636
632
|
enumerable: true,
|
|
637
|
-
get: function () { return
|
|
633
|
+
get: function () { return chunkAVM53A3Y_js.WorkflowWorkspace; }
|
|
638
634
|
});
|
|
639
635
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
640
636
|
enumerable: true,
|
|
641
|
-
get: function () { return
|
|
637
|
+
get: function () { return chunkC4NRF2G2_js.PlatformSettings; }
|
|
642
638
|
});
|
|
643
639
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
644
640
|
enumerable: true,
|
|
645
|
-
get: function () { return
|
|
641
|
+
get: function () { return chunkP43PX75J_js.AdminOrganizationDetail; }
|
|
646
642
|
});
|
|
647
643
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
648
644
|
enumerable: true,
|
|
649
|
-
get: function () { return
|
|
645
|
+
get: function () { return chunkNCDBNGIB_js.LinkedAccountsTabContent; }
|
|
650
646
|
});
|
|
651
647
|
Object.defineProperty(exports, "MfaManage", {
|
|
652
648
|
enumerable: true,
|
|
653
|
-
get: function () { return
|
|
649
|
+
get: function () { return chunkNCDBNGIB_js.MfaManage; }
|
|
654
650
|
});
|
|
655
651
|
Object.defineProperty(exports, "MfaSetup", {
|
|
656
652
|
enumerable: true,
|
|
657
|
-
get: function () { return
|
|
653
|
+
get: function () { return chunkNCDBNGIB_js.MfaSetup; }
|
|
658
654
|
});
|
|
659
655
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
660
656
|
enumerable: true,
|
|
661
|
-
get: function () { return
|
|
657
|
+
get: function () { return chunkNCDBNGIB_js.ProfileTabContent; }
|
|
662
658
|
});
|
|
663
659
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
664
660
|
enumerable: true,
|
|
665
|
-
get: function () { return
|
|
661
|
+
get: function () { return chunkNCDBNGIB_js.SecurityTabContent; }
|
|
666
662
|
});
|
|
667
663
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
668
664
|
enumerable: true,
|
|
669
|
-
get: function () { return
|
|
665
|
+
get: function () { return chunkNCDBNGIB_js.SessionsTabContent; }
|
|
670
666
|
});
|
|
671
667
|
Object.defineProperty(exports, "UserProfile", {
|
|
672
668
|
enumerable: true,
|
|
673
|
-
get: function () { return
|
|
669
|
+
get: function () { return chunkNCDBNGIB_js.UserProfile; }
|
|
674
670
|
});
|
|
675
671
|
Object.defineProperty(exports, "AuthLayout", {
|
|
676
672
|
enumerable: true,
|
|
677
|
-
get: function () { return
|
|
673
|
+
get: function () { return chunkCY2MBKVG_js.AuthLayout; }
|
|
678
674
|
});
|
|
679
675
|
Object.defineProperty(exports, "BackupCodeGrid", {
|
|
680
676
|
enumerable: true,
|
|
681
|
-
get: function () { return
|
|
677
|
+
get: function () { return chunkCY2MBKVG_js.BackupCodeGrid; }
|
|
682
678
|
});
|
|
683
679
|
Object.defineProperty(exports, "OtpInput", {
|
|
684
680
|
enumerable: true,
|
|
685
|
-
get: function () { return
|
|
681
|
+
get: function () { return chunkCY2MBKVG_js.OtpInput; }
|
|
686
682
|
});
|
|
687
683
|
Object.defineProperty(exports, "PasswordStrengthMeter", {
|
|
688
684
|
enumerable: true,
|
|
689
|
-
get: function () { return
|
|
685
|
+
get: function () { return chunkCY2MBKVG_js.PasswordStrengthMeter; }
|
|
690
686
|
});
|
|
691
687
|
Object.defineProperty(exports, "SocialLoginButtons", {
|
|
692
688
|
enumerable: true,
|
|
693
|
-
get: function () { return
|
|
689
|
+
get: function () { return chunkCY2MBKVG_js.SocialLoginButtons; }
|
|
694
690
|
});
|
|
695
691
|
Object.defineProperty(exports, "BillingPanel", {
|
|
696
692
|
enumerable: true,
|
|
697
|
-
get: function () { return
|
|
693
|
+
get: function () { return chunkNKXQYFS7_js.BillingPanel; }
|
|
698
694
|
});
|
|
699
695
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
700
696
|
enumerable: true,
|
|
701
|
-
get: function () { return
|
|
697
|
+
get: function () { return chunkFK3WDELF_js.AgentsWorkspace; }
|
|
702
698
|
});
|
|
703
699
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
704
700
|
enumerable: true,
|
|
705
|
-
get: function () { return
|
|
701
|
+
get: function () { return chunkFK3WDELF_js.applyWorkflowExecutionEventToStore; }
|
|
706
702
|
});
|
|
707
703
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
708
704
|
enumerable: true,
|
|
709
|
-
get: function () { return
|
|
705
|
+
get: function () { return chunkFK3WDELF_js.resetWorkflowRunPresentation; }
|
|
710
706
|
});
|
|
711
707
|
Object.defineProperty(exports, "useRunEvents", {
|
|
712
708
|
enumerable: true,
|
|
713
|
-
get: function () { return
|
|
709
|
+
get: function () { return chunkFK3WDELF_js.useRunEvents; }
|
|
714
710
|
});
|
|
715
711
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
716
712
|
enumerable: true,
|
|
717
|
-
get: function () { return
|
|
713
|
+
get: function () { return chunkFK3WDELF_js.useWorkflowExecution; }
|
|
718
714
|
});
|
|
719
715
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
720
716
|
enumerable: true,
|
|
721
|
-
get: function () { return
|
|
717
|
+
get: function () { return chunkFK3WDELF_js.useWorkflowRunPresentation; }
|
|
722
718
|
});
|
|
723
719
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
724
720
|
enumerable: true,
|
|
725
|
-
get: function () { return
|
|
721
|
+
get: function () { return chunk5I7F7KZ6_js.PlatformAppShell; }
|
|
726
722
|
});
|
|
727
723
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
728
724
|
enumerable: true,
|
|
729
|
-
get: function () { return
|
|
725
|
+
get: function () { return chunk5I7F7KZ6_js.PlatformStateProvider; }
|
|
730
726
|
});
|
|
731
727
|
Object.defineProperty(exports, "usePlatformState", {
|
|
732
728
|
enumerable: true,
|
|
733
|
-
get: function () { return
|
|
729
|
+
get: function () { return chunk5I7F7KZ6_js.usePlatformState; }
|
|
734
730
|
});
|
|
735
731
|
Object.defineProperty(exports, "createPlatformRbac", {
|
|
736
732
|
enumerable: true,
|
|
@@ -852,6 +848,10 @@ Object.defineProperty(exports, "verifyOrganizationDomain", {
|
|
|
852
848
|
enumerable: true,
|
|
853
849
|
get: function () { return chunk6PBTB5ZX_js.verifyOrganizationDomain; }
|
|
854
850
|
});
|
|
851
|
+
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
852
|
+
enumerable: true,
|
|
853
|
+
get: function () { return chunkBVXATTTA_js.WorkflowCanvasShell; }
|
|
854
|
+
});
|
|
855
855
|
exports.AiWorkflowGenerateModal = AiWorkflowGenerateModal;
|
|
856
856
|
exports.ORG_ROLE_MAP = ORG_ROLE_MAP;
|
|
857
857
|
exports.PlatformDockContainer = PlatformDockContainer;
|
package/dist/platform/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
2
|
+
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-NJ5RVWLA.mjs';
|
|
3
|
+
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-IOEQ2GET.mjs';
|
|
4
|
+
export { ImpersonationBanner } from '../chunk-QLFSJ6HK.mjs';
|
|
5
5
|
export { UpgradePrompt } from '../chunk-DJ33CSGJ.mjs';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
import '../chunk-
|
|
16
|
-
|
|
17
|
-
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-RFRXS4PC.mjs';
|
|
6
|
+
import { UsersPageView, RolesPageView } from '../chunk-3OLYSMI5.mjs';
|
|
7
|
+
export { WorkflowWorkspace } from '../chunk-3OLYSMI5.mjs';
|
|
8
|
+
export { PlatformSettings } from '../chunk-7UHV6A4C.mjs';
|
|
9
|
+
export { AdminOrganizationDetail } from '../chunk-7CEZB3ZD.mjs';
|
|
10
|
+
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-QPSHM2JQ.mjs';
|
|
11
|
+
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../chunk-6W7VTZG6.mjs';
|
|
12
|
+
export { BillingPanel } from '../chunk-ZM2Q2SMC.mjs';
|
|
13
|
+
export { AgentsWorkspace, applyWorkflowExecutionEventToStore, resetWorkflowRunPresentation, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation } from '../chunk-6V3DUBOZ.mjs';
|
|
14
|
+
import '../chunk-UHMAKUON.mjs';
|
|
15
|
+
import { usePlatformState } from '../chunk-5BEVTOZV.mjs';
|
|
16
|
+
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-5BEVTOZV.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-4PFU6A2B.mjs';
|
|
21
|
+
import '../chunk-2MJAHST4.mjs';
|
|
22
22
|
import '../chunk-JB6RNAD2.mjs';
|
|
23
23
|
import '../chunk-LEXBTVGM.mjs';
|
|
24
|
-
import '../chunk-
|
|
25
|
-
import { Select, Button, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, IconButton, useNotifications, Textarea } from '../chunk-
|
|
24
|
+
import '../chunk-OASC7NYV.mjs';
|
|
25
|
+
import { Select, Button, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, IconButton, useNotifications, Textarea } from '../chunk-NOHHZ6FM.mjs';
|
|
26
26
|
import '../chunk-D2JF6C3E.mjs';
|
|
27
|
-
import { useTranslations, useLocale } from '../chunk-7VJ7CMMT.mjs';
|
|
28
27
|
import { usePathname, useRouter } from '../chunk-QWG2FMUN.mjs';
|
|
29
28
|
import { listModelProviderConnections, listWorkflowTemplates, createWorkflowFromTemplate, aiGenerateWorkflow, createWorkflow, saveWorkflowDraft } from '../chunk-RHRJXK5R.mjs';
|
|
30
29
|
import '../chunk-3AY5HIQ6.mjs';
|
|
30
|
+
import { useTranslations, useLocale } from '../chunk-7VJ7CMMT.mjs';
|
|
31
31
|
import '../chunk-OZNTQROP.mjs';
|
|
32
32
|
import '../chunk-G7JQ4OCE.mjs';
|
|
33
33
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|