@datatechsolutions/ui 3.5.0 → 3.5.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/contracts.d.mts +517 -0
- package/dist/astrlabe/contracts.d.ts +517 -0
- package/dist/astrlabe/graph-node.d.mts +28 -0
- package/dist/astrlabe/graph-node.d.ts +28 -0
- package/dist/astrlabe/index.d.mts +743 -0
- package/dist/astrlabe/index.d.ts +743 -0
- package/dist/astrlabe/index.js +108 -108
- package/dist/astrlabe/index.mjs +4 -4
- package/dist/astrlabe/utils.d.mts +60 -0
- package/dist/astrlabe/utils.d.ts +60 -0
- package/dist/astrlabe/workflow-canvas.d.mts +6 -0
- package/dist/astrlabe/workflow-canvas.d.ts +6 -0
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/astrlabe/workflow-preview-canvas.d.mts +10 -0
- package/dist/astrlabe/workflow-preview-canvas.d.ts +10 -0
- package/dist/billing-panel-DsHhhJqG.d.mts +18 -0
- package/dist/billing-panel-DsHhhJqG.d.ts +18 -0
- package/dist/brand/index.d.mts +71 -0
- package/dist/brand/index.d.ts +71 -0
- package/dist/{chunk-UHMAKUON.mjs → chunk-2TBNOQ7M.mjs} +3 -3
- package/dist/{chunk-UHMAKUON.mjs.map → chunk-2TBNOQ7M.mjs.map} +1 -1
- package/dist/{chunk-CY2MBKVG.js → chunk-2UMDWOUY.js} +4 -4
- package/dist/{chunk-CY2MBKVG.js.map → chunk-2UMDWOUY.js.map} +1 -1
- package/dist/{chunk-6V3DUBOZ.mjs → chunk-37ZLBCJF.mjs} +7 -7
- package/dist/{chunk-6V3DUBOZ.mjs.map → chunk-37ZLBCJF.mjs.map} +1 -1
- package/dist/{chunk-NCDBNGIB.js → chunk-5AVO5DJO.js} +62 -62
- package/dist/{chunk-NCDBNGIB.js.map → chunk-5AVO5DJO.js.map} +1 -1
- package/dist/{chunk-QPSHM2JQ.mjs → chunk-7OZ4MVEF.mjs} +4 -4
- package/dist/{chunk-QPSHM2JQ.mjs.map → chunk-7OZ4MVEF.mjs.map} +1 -1
- package/dist/{chunk-3OLYSMI5.mjs → chunk-CDYNTHUE.mjs} +4 -4
- package/dist/{chunk-3OLYSMI5.mjs.map → chunk-CDYNTHUE.mjs.map} +1 -1
- package/dist/{chunk-IOEQ2GET.mjs → chunk-CJGNEALB.mjs} +4 -4
- package/dist/{chunk-IOEQ2GET.mjs.map → chunk-CJGNEALB.mjs.map} +1 -1
- package/dist/{chunk-NJ5RVWLA.mjs → chunk-CP5QXRXA.mjs} +4 -4
- package/dist/{chunk-NJ5RVWLA.mjs.map → chunk-CP5QXRXA.mjs.map} +1 -1
- package/dist/{chunk-2MJAHST4.mjs → chunk-EGXB3WXT.mjs} +4 -4
- package/dist/{chunk-2MJAHST4.mjs.map → chunk-EGXB3WXT.mjs.map} +1 -1
- package/dist/{chunk-NKXQYFS7.js → chunk-EI6FIA45.js} +16 -16
- package/dist/{chunk-NKXQYFS7.js.map → chunk-EI6FIA45.js.map} +1 -1
- package/dist/{chunk-NOHHZ6FM.mjs → chunk-EUXHJMGC.mjs} +3 -3
- package/dist/{chunk-NOHHZ6FM.mjs.map → chunk-EUXHJMGC.mjs.map} +1 -1
- package/dist/{chunk-QSMPKL27.js → chunk-F5UDX6JA.js} +74 -74
- package/dist/{chunk-QSMPKL27.js.map → chunk-F5UDX6JA.js.map} +1 -1
- package/dist/{chunk-P43PX75J.js → chunk-HVDDCBQ2.js} +33 -33
- package/dist/{chunk-P43PX75J.js.map → chunk-HVDDCBQ2.js.map} +1 -1
- package/dist/{chunk-AWDH6WNA.js → chunk-K4M4B6ME.js} +3 -3
- package/dist/{chunk-AWDH6WNA.js.map → chunk-K4M4B6ME.js.map} +1 -1
- package/dist/{chunk-VMGNQFRO.js → chunk-KIBOX3UQ.js} +53 -53
- package/dist/{chunk-VMGNQFRO.js.map → chunk-KIBOX3UQ.js.map} +1 -1
- package/dist/{chunk-5I7F7KZ6.js → chunk-KRPSTXN5.js} +10 -10
- package/dist/{chunk-5I7F7KZ6.js.map → chunk-KRPSTXN5.js.map} +1 -1
- package/dist/{chunk-ZM2Q2SMC.mjs → chunk-L5O4NWQO.mjs} +3 -3
- package/dist/{chunk-ZM2Q2SMC.mjs.map → chunk-L5O4NWQO.mjs.map} +1 -1
- package/dist/{chunk-BVXATTTA.js → chunk-MT4FJRMD.js} +4 -4
- package/dist/{chunk-BVXATTTA.js.map → chunk-MT4FJRMD.js.map} +1 -1
- package/dist/{chunk-C4NRF2G2.js → chunk-OWJIKCR2.js} +13 -13
- package/dist/{chunk-C4NRF2G2.js.map → chunk-OWJIKCR2.js.map} +1 -1
- package/dist/{chunk-5BEVTOZV.mjs → chunk-PFHXKWFT.mjs} +4 -4
- package/dist/{chunk-5BEVTOZV.mjs.map → chunk-PFHXKWFT.mjs.map} +1 -1
- package/dist/{chunk-QLFSJ6HK.mjs → chunk-PI2C3S6A.mjs} +3 -3
- package/dist/{chunk-QLFSJ6HK.mjs.map → chunk-PI2C3S6A.mjs.map} +1 -1
- package/dist/{chunk-74MHWEDC.js → chunk-PYQLY2RH.js} +161 -161
- package/dist/{chunk-74MHWEDC.js.map → chunk-PYQLY2RH.js.map} +1 -1
- package/dist/{chunk-Z7VY5M4T.js → chunk-QIUVK4BI.js} +77 -77
- package/dist/{chunk-Z7VY5M4T.js.map → chunk-QIUVK4BI.js.map} +1 -1
- package/dist/{chunk-4PFU6A2B.mjs → chunk-R3Q5RXXO.mjs} +3 -3
- package/dist/{chunk-4PFU6A2B.mjs.map → chunk-R3Q5RXXO.mjs.map} +1 -1
- package/dist/{chunk-7UHV6A4C.mjs → chunk-R6O57NTJ.mjs} +6 -6
- package/dist/{chunk-7UHV6A4C.mjs.map → chunk-R6O57NTJ.mjs.map} +1 -1
- package/dist/{chunk-A7FI4K7Z.js → chunk-RQBTLFYH.js} +5 -5
- package/dist/{chunk-A7FI4K7Z.js.map → chunk-RQBTLFYH.js.map} +1 -1
- package/dist/{chunk-V5VBYOF5.js → chunk-SFFSXC5E.js} +36 -36
- package/dist/{chunk-V5VBYOF5.js.map → chunk-SFFSXC5E.js.map} +1 -1
- package/dist/{chunk-AVM53A3Y.js → chunk-U6XA2OYE.js} +28 -28
- package/dist/{chunk-AVM53A3Y.js.map → chunk-U6XA2OYE.js.map} +1 -1
- package/dist/{chunk-7CEZB3ZD.mjs → chunk-ULEPJXTN.mjs} +3 -3
- package/dist/{chunk-7CEZB3ZD.mjs.map → chunk-ULEPJXTN.mjs.map} +1 -1
- package/dist/{chunk-FK3WDELF.js → chunk-VMIAMBCP.js} +40 -40
- package/dist/{chunk-FK3WDELF.js.map → chunk-VMIAMBCP.js.map} +1 -1
- package/dist/{chunk-OASC7NYV.mjs → chunk-WKCR4KVQ.mjs} +3 -3
- package/dist/{chunk-OASC7NYV.mjs.map → chunk-WKCR4KVQ.mjs.map} +1 -1
- package/dist/{chunk-6W7VTZG6.mjs → chunk-YV2SE5LS.mjs} +3 -3
- package/dist/{chunk-6W7VTZG6.mjs.map → chunk-YV2SE5LS.mjs.map} +1 -1
- package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +17 -0
- package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +17 -0
- package/dist/index-BNRGVAS5.d.mts +222 -0
- package/dist/index-BoebbJ44.d.mts +49 -0
- package/dist/index-BoebbJ44.d.ts +49 -0
- package/dist/index-CnCY-b5V.d.ts +222 -0
- package/dist/index.d.mts +5310 -0
- package/dist/index.d.ts +5310 -0
- package/dist/index.js +721 -721
- package/dist/index.mjs +2 -2
- package/dist/layout-engine-YZcVr20M.d.mts +19 -0
- package/dist/layout-engine-YZcVr20M.d.ts +19 -0
- package/dist/lib/i18n-context.d.mts +36 -0
- package/dist/lib/i18n-context.d.ts +36 -0
- package/dist/lib/router-context.d.mts +35 -0
- package/dist/lib/router-context.d.ts +35 -0
- package/dist/navigation-BiWVffAN.d.mts +49 -0
- package/dist/navigation-BiWVffAN.d.ts +49 -0
- package/dist/platform/admin/index.d.mts +17 -0
- package/dist/platform/admin/index.d.ts +17 -0
- package/dist/platform/admin/index.js +11 -11
- package/dist/platform/admin/index.mjs +5 -5
- package/dist/platform/agents-workspace.d.mts +19 -0
- package/dist/platform/agents-workspace.d.ts +19 -0
- package/dist/platform/agents-workspace.js +7 -7
- package/dist/platform/agents-workspace.mjs +6 -6
- package/dist/platform/app-shell.d.mts +58 -0
- package/dist/platform/app-shell.d.ts +58 -0
- package/dist/platform/app-shell.js +4 -4
- package/dist/platform/app-shell.mjs +3 -3
- package/dist/platform/auth/index.d.mts +73 -0
- package/dist/platform/auth/index.d.ts +73 -0
- package/dist/platform/auth/index.js +28 -28
- package/dist/platform/auth/index.mjs +5 -5
- package/dist/platform/billing/index.d.mts +29 -0
- package/dist/platform/billing/index.d.ts +29 -0
- package/dist/platform/billing/index.js +4 -4
- package/dist/platform/billing/index.mjs +3 -3
- package/dist/platform/impersonation/index.d.mts +19 -0
- package/dist/platform/impersonation/index.d.ts +19 -0
- package/dist/platform/impersonation/index.js +4 -4
- package/dist/platform/impersonation/index.mjs +3 -3
- package/dist/platform/index.d.mts +188 -0
- package/dist/platform/index.d.ts +188 -0
- package/dist/platform/index.js +89 -89
- package/dist/platform/index.mjs +19 -19
- package/dist/platform/pages/index.d.mts +440 -0
- package/dist/platform/pages/index.d.ts +440 -0
- package/dist/platform/pages/index.js +206 -206
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +9 -9
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/rbac.d.mts +42 -0
- package/dist/platform/rbac.d.ts +42 -0
- package/dist/platform/settings/index.d.mts +31 -0
- package/dist/platform/settings/index.d.ts +31 -0
- package/dist/platform/settings/index.js +8 -8
- package/dist/platform/settings/index.mjs +7 -7
- package/dist/platform/telemetry/index.d.mts +51 -0
- package/dist/platform/telemetry/index.d.ts +51 -0
- package/dist/platform/utils/index.d.mts +32 -0
- package/dist/platform/utils/index.d.ts +32 -0
- package/dist/platform/windsock-admin-client.d.mts +57 -0
- package/dist/platform/windsock-admin-client.d.ts +57 -0
- package/dist/platform/workflow-api-client.d.mts +6 -0
- package/dist/platform/workflow-api-client.d.ts +6 -0
- package/dist/platform/workflow-canvas-shell.d.mts +18 -0
- package/dist/platform/workflow-canvas-shell.d.ts +18 -0
- package/dist/platform/workflow-canvas-shell.js +5 -5
- package/dist/platform/workflow-canvas-shell.mjs +4 -4
- package/dist/rule-form-BYJzyork.d.mts +128 -0
- package/dist/rule-form-BYJzyork.d.ts +128 -0
- package/dist/workflow-api-client-CpFl3WcG.d.mts +468 -0
- package/dist/workflow-api-client-uLICOanv.d.ts +468 -0
- package/dist/workflow-canvas--qaYKuMm.d.ts +113 -0
- package/dist/workflow-canvas-B80fmD_n.d.mts +113 -0
- package/dist/workflow-store-o17I6L6A.d.ts +79 -0
- package/dist/workflow-store-ppVHdMZi.d.mts +79 -0
- package/package.json +1 -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
|
|
4
|
+
var chunkMT4FJRMD_js = require('../chunk-MT4FJRMD.js');
|
|
5
|
+
var chunkKIBOX3UQ_js = require('../chunk-KIBOX3UQ.js');
|
|
6
|
+
var chunkQIUVK4BI_js = require('../chunk-QIUVK4BI.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
|
-
require('../chunk-
|
|
16
|
-
|
|
8
|
+
var chunkRQBTLFYH_js = require('../chunk-RQBTLFYH.js');
|
|
9
|
+
var chunkU6XA2OYE_js = require('../chunk-U6XA2OYE.js');
|
|
10
|
+
var chunkOWJIKCR2_js = require('../chunk-OWJIKCR2.js');
|
|
11
|
+
var chunkHVDDCBQ2_js = require('../chunk-HVDDCBQ2.js');
|
|
12
|
+
var chunk5AVO5DJO_js = require('../chunk-5AVO5DJO.js');
|
|
13
|
+
var chunk2UMDWOUY_js = require('../chunk-2UMDWOUY.js');
|
|
14
|
+
var chunkEI6FIA45_js = require('../chunk-EI6FIA45.js');
|
|
15
|
+
var chunkVMIAMBCP_js = require('../chunk-VMIAMBCP.js');
|
|
16
|
+
require('../chunk-SFFSXC5E.js');
|
|
17
|
+
var chunkKRPSTXN5_js = require('../chunk-KRPSTXN5.js');
|
|
17
18
|
var chunkVY52Y5GC_js = require('../chunk-VY52Y5GC.js');
|
|
18
19
|
var chunk6PBTB5ZX_js = require('../chunk-6PBTB5ZX.js');
|
|
19
|
-
|
|
20
|
-
require('../chunk-74MHWEDC.js');
|
|
20
|
+
require('../chunk-PYQLY2RH.js');
|
|
21
21
|
require('../chunk-55H6WZQP.js');
|
|
22
22
|
require('../chunk-DJDZIRM6.js');
|
|
23
|
-
require('../chunk-
|
|
24
|
-
var
|
|
23
|
+
require('../chunk-F5UDX6JA.js');
|
|
24
|
+
var chunkK4M4B6ME_js = require('../chunk-K4M4B6ME.js');
|
|
25
25
|
require('../chunk-UZ3CMNUJ.js');
|
|
26
|
+
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
26
27
|
var chunkS7KHTUHA_js = require('../chunk-S7KHTUHA.js');
|
|
27
28
|
var chunkSY4MUT5V_js = require('../chunk-SY4MUT5V.js');
|
|
28
29
|
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
|
+
chunkK4M4B6ME_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
|
+
chunkK4M4B6ME_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(chunkK4M4B6ME_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 } = chunkK4M4B6ME_js.useAuth();
|
|
84
84
|
const tCommon = chunkYXN2K77G_js.useTranslations("common");
|
|
85
85
|
const {
|
|
86
86
|
dockPosition,
|
|
87
87
|
dockAutoHide,
|
|
88
88
|
dockEnabled
|
|
89
|
-
} =
|
|
89
|
+
} = chunkK4M4B6ME_js.usePlatformPreferences();
|
|
90
90
|
const [profileOpen, setProfileOpen] = react.useState(false);
|
|
91
91
|
const filteredItems = react.useMemo(
|
|
92
|
-
() =>
|
|
92
|
+
() => chunkK4M4B6ME_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
|
+
chunkK4M4B6ME_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
|
+
chunkK4M4B6ME_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 } = chunkK4M4B6ME_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 } = chunkK4M4B6ME_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
|
+
chunkK4M4B6ME_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
|
+
chunkK4M4B6ME_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 } = chunkKRPSTXN5_js.usePlatformState();
|
|
214
|
+
const { error: notifyError, success: notifySuccess } = chunkK4M4B6ME_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
|
+
chunkU6XA2OYE_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 } = chunkKRPSTXN5_js.usePlatformState();
|
|
268
|
+
const { error: notifyError, success: notifySuccess } = chunkK4M4B6ME_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
|
+
chunkU6XA2OYE_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 } = chunkK4M4B6ME_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
|
+
chunkK4M4B6ME_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
|
+
chunkK4M4B6ME_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 } = chunkK4M4B6ME_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
|
+
chunkK4M4B6ME_js.GlassModal,
|
|
482
482
|
{
|
|
483
483
|
open,
|
|
484
484
|
onClose,
|
|
@@ -556,177 +556,181 @@ function WorkflowTemplateModal({ open, onClose, onCreated }) {
|
|
|
556
556
|
);
|
|
557
557
|
}
|
|
558
558
|
|
|
559
|
+
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
560
|
+
enumerable: true,
|
|
561
|
+
get: function () { return chunkMT4FJRMD_js.WorkflowCanvasShell; }
|
|
562
|
+
});
|
|
559
563
|
Object.defineProperty(exports, "AdminOrganizationForm", {
|
|
560
564
|
enumerable: true,
|
|
561
|
-
get: function () { return
|
|
565
|
+
get: function () { return chunkKIBOX3UQ_js.AdminOrganizationForm; }
|
|
562
566
|
});
|
|
563
567
|
Object.defineProperty(exports, "AdminOrganizationList", {
|
|
564
568
|
enumerable: true,
|
|
565
|
-
get: function () { return
|
|
569
|
+
get: function () { return chunkKIBOX3UQ_js.AdminOrganizationList; }
|
|
566
570
|
});
|
|
567
571
|
Object.defineProperty(exports, "AdminPermissionList", {
|
|
568
572
|
enumerable: true,
|
|
569
|
-
get: function () { return
|
|
573
|
+
get: function () { return chunkKIBOX3UQ_js.AdminPermissionList; }
|
|
570
574
|
});
|
|
571
575
|
Object.defineProperty(exports, "AdminUserForm", {
|
|
572
576
|
enumerable: true,
|
|
573
|
-
get: function () { return
|
|
577
|
+
get: function () { return chunkKIBOX3UQ_js.AdminUserForm; }
|
|
574
578
|
});
|
|
575
579
|
Object.defineProperty(exports, "AdminUserList", {
|
|
576
580
|
enumerable: true,
|
|
577
|
-
get: function () { return
|
|
581
|
+
get: function () { return chunkKIBOX3UQ_js.AdminUserList; }
|
|
578
582
|
});
|
|
579
583
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
580
584
|
enumerable: true,
|
|
581
|
-
get: function () { return
|
|
585
|
+
get: function () { return chunkQIUVK4BI_js.ConsentScreen; }
|
|
582
586
|
});
|
|
583
587
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
584
588
|
enumerable: true,
|
|
585
|
-
get: function () { return
|
|
589
|
+
get: function () { return chunkQIUVK4BI_js.ForgotPassword; }
|
|
586
590
|
});
|
|
587
591
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
588
592
|
enumerable: true,
|
|
589
|
-
get: function () { return
|
|
593
|
+
get: function () { return chunkQIUVK4BI_js.MfaChallenge; }
|
|
590
594
|
});
|
|
591
595
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
592
596
|
enumerable: true,
|
|
593
|
-
get: function () { return
|
|
597
|
+
get: function () { return chunkQIUVK4BI_js.PasswordlessSignIn; }
|
|
594
598
|
});
|
|
595
599
|
Object.defineProperty(exports, "ResetPassword", {
|
|
596
600
|
enumerable: true,
|
|
597
|
-
get: function () { return
|
|
601
|
+
get: function () { return chunkQIUVK4BI_js.ResetPassword; }
|
|
598
602
|
});
|
|
599
603
|
Object.defineProperty(exports, "SignIn", {
|
|
600
604
|
enumerable: true,
|
|
601
|
-
get: function () { return
|
|
605
|
+
get: function () { return chunkQIUVK4BI_js.SignIn; }
|
|
602
606
|
});
|
|
603
607
|
Object.defineProperty(exports, "SignUp", {
|
|
604
608
|
enumerable: true,
|
|
605
|
-
get: function () { return
|
|
609
|
+
get: function () { return chunkQIUVK4BI_js.SignUp; }
|
|
606
610
|
});
|
|
607
611
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
608
612
|
enumerable: true,
|
|
609
|
-
get: function () { return
|
|
613
|
+
get: function () { return chunkQIUVK4BI_js.SsoConnectorList; }
|
|
610
614
|
});
|
|
611
615
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
612
616
|
enumerable: true,
|
|
613
|
-
get: function () { return
|
|
617
|
+
get: function () { return chunkQIUVK4BI_js.SsoEmailForm; }
|
|
614
618
|
});
|
|
615
619
|
Object.defineProperty(exports, "UserButton", {
|
|
616
620
|
enumerable: true,
|
|
617
|
-
get: function () { return
|
|
621
|
+
get: function () { return chunkQIUVK4BI_js.UserButton; }
|
|
618
622
|
});
|
|
619
623
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
620
624
|
enumerable: true,
|
|
621
|
-
get: function () { return
|
|
622
|
-
});
|
|
623
|
-
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
624
|
-
enumerable: true,
|
|
625
|
-
get: function () { return chunkA7FI4K7Z_js.ImpersonationBanner; }
|
|
625
|
+
get: function () { return chunkQIUVK4BI_js.VerifyEmail; }
|
|
626
626
|
});
|
|
627
627
|
Object.defineProperty(exports, "UpgradePrompt", {
|
|
628
628
|
enumerable: true,
|
|
629
629
|
get: function () { return chunkP4RVGMZL_js.UpgradePrompt; }
|
|
630
630
|
});
|
|
631
|
+
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
632
|
+
enumerable: true,
|
|
633
|
+
get: function () { return chunkRQBTLFYH_js.ImpersonationBanner; }
|
|
634
|
+
});
|
|
631
635
|
Object.defineProperty(exports, "WorkflowWorkspace", {
|
|
632
636
|
enumerable: true,
|
|
633
|
-
get: function () { return
|
|
637
|
+
get: function () { return chunkU6XA2OYE_js.WorkflowWorkspace; }
|
|
634
638
|
});
|
|
635
639
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
636
640
|
enumerable: true,
|
|
637
|
-
get: function () { return
|
|
641
|
+
get: function () { return chunkOWJIKCR2_js.PlatformSettings; }
|
|
638
642
|
});
|
|
639
643
|
Object.defineProperty(exports, "AdminOrganizationDetail", {
|
|
640
644
|
enumerable: true,
|
|
641
|
-
get: function () { return
|
|
645
|
+
get: function () { return chunkHVDDCBQ2_js.AdminOrganizationDetail; }
|
|
642
646
|
});
|
|
643
647
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
644
648
|
enumerable: true,
|
|
645
|
-
get: function () { return
|
|
649
|
+
get: function () { return chunk5AVO5DJO_js.LinkedAccountsTabContent; }
|
|
646
650
|
});
|
|
647
651
|
Object.defineProperty(exports, "MfaManage", {
|
|
648
652
|
enumerable: true,
|
|
649
|
-
get: function () { return
|
|
653
|
+
get: function () { return chunk5AVO5DJO_js.MfaManage; }
|
|
650
654
|
});
|
|
651
655
|
Object.defineProperty(exports, "MfaSetup", {
|
|
652
656
|
enumerable: true,
|
|
653
|
-
get: function () { return
|
|
657
|
+
get: function () { return chunk5AVO5DJO_js.MfaSetup; }
|
|
654
658
|
});
|
|
655
659
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
656
660
|
enumerable: true,
|
|
657
|
-
get: function () { return
|
|
661
|
+
get: function () { return chunk5AVO5DJO_js.ProfileTabContent; }
|
|
658
662
|
});
|
|
659
663
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
660
664
|
enumerable: true,
|
|
661
|
-
get: function () { return
|
|
665
|
+
get: function () { return chunk5AVO5DJO_js.SecurityTabContent; }
|
|
662
666
|
});
|
|
663
667
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
664
668
|
enumerable: true,
|
|
665
|
-
get: function () { return
|
|
669
|
+
get: function () { return chunk5AVO5DJO_js.SessionsTabContent; }
|
|
666
670
|
});
|
|
667
671
|
Object.defineProperty(exports, "UserProfile", {
|
|
668
672
|
enumerable: true,
|
|
669
|
-
get: function () { return
|
|
673
|
+
get: function () { return chunk5AVO5DJO_js.UserProfile; }
|
|
670
674
|
});
|
|
671
675
|
Object.defineProperty(exports, "AuthLayout", {
|
|
672
676
|
enumerable: true,
|
|
673
|
-
get: function () { return
|
|
677
|
+
get: function () { return chunk2UMDWOUY_js.AuthLayout; }
|
|
674
678
|
});
|
|
675
679
|
Object.defineProperty(exports, "BackupCodeGrid", {
|
|
676
680
|
enumerable: true,
|
|
677
|
-
get: function () { return
|
|
681
|
+
get: function () { return chunk2UMDWOUY_js.BackupCodeGrid; }
|
|
678
682
|
});
|
|
679
683
|
Object.defineProperty(exports, "OtpInput", {
|
|
680
684
|
enumerable: true,
|
|
681
|
-
get: function () { return
|
|
685
|
+
get: function () { return chunk2UMDWOUY_js.OtpInput; }
|
|
682
686
|
});
|
|
683
687
|
Object.defineProperty(exports, "PasswordStrengthMeter", {
|
|
684
688
|
enumerable: true,
|
|
685
|
-
get: function () { return
|
|
689
|
+
get: function () { return chunk2UMDWOUY_js.PasswordStrengthMeter; }
|
|
686
690
|
});
|
|
687
691
|
Object.defineProperty(exports, "SocialLoginButtons", {
|
|
688
692
|
enumerable: true,
|
|
689
|
-
get: function () { return
|
|
693
|
+
get: function () { return chunk2UMDWOUY_js.SocialLoginButtons; }
|
|
690
694
|
});
|
|
691
695
|
Object.defineProperty(exports, "BillingPanel", {
|
|
692
696
|
enumerable: true,
|
|
693
|
-
get: function () { return
|
|
697
|
+
get: function () { return chunkEI6FIA45_js.BillingPanel; }
|
|
694
698
|
});
|
|
695
699
|
Object.defineProperty(exports, "AgentsWorkspace", {
|
|
696
700
|
enumerable: true,
|
|
697
|
-
get: function () { return
|
|
701
|
+
get: function () { return chunkVMIAMBCP_js.AgentsWorkspace; }
|
|
698
702
|
});
|
|
699
703
|
Object.defineProperty(exports, "applyWorkflowExecutionEventToStore", {
|
|
700
704
|
enumerable: true,
|
|
701
|
-
get: function () { return
|
|
705
|
+
get: function () { return chunkVMIAMBCP_js.applyWorkflowExecutionEventToStore; }
|
|
702
706
|
});
|
|
703
707
|
Object.defineProperty(exports, "resetWorkflowRunPresentation", {
|
|
704
708
|
enumerable: true,
|
|
705
|
-
get: function () { return
|
|
709
|
+
get: function () { return chunkVMIAMBCP_js.resetWorkflowRunPresentation; }
|
|
706
710
|
});
|
|
707
711
|
Object.defineProperty(exports, "useRunEvents", {
|
|
708
712
|
enumerable: true,
|
|
709
|
-
get: function () { return
|
|
713
|
+
get: function () { return chunkVMIAMBCP_js.useRunEvents; }
|
|
710
714
|
});
|
|
711
715
|
Object.defineProperty(exports, "useWorkflowExecution", {
|
|
712
716
|
enumerable: true,
|
|
713
|
-
get: function () { return
|
|
717
|
+
get: function () { return chunkVMIAMBCP_js.useWorkflowExecution; }
|
|
714
718
|
});
|
|
715
719
|
Object.defineProperty(exports, "useWorkflowRunPresentation", {
|
|
716
720
|
enumerable: true,
|
|
717
|
-
get: function () { return
|
|
721
|
+
get: function () { return chunkVMIAMBCP_js.useWorkflowRunPresentation; }
|
|
718
722
|
});
|
|
719
723
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
720
724
|
enumerable: true,
|
|
721
|
-
get: function () { return
|
|
725
|
+
get: function () { return chunkKRPSTXN5_js.PlatformAppShell; }
|
|
722
726
|
});
|
|
723
727
|
Object.defineProperty(exports, "PlatformStateProvider", {
|
|
724
728
|
enumerable: true,
|
|
725
|
-
get: function () { return
|
|
729
|
+
get: function () { return chunkKRPSTXN5_js.PlatformStateProvider; }
|
|
726
730
|
});
|
|
727
731
|
Object.defineProperty(exports, "usePlatformState", {
|
|
728
732
|
enumerable: true,
|
|
729
|
-
get: function () { return
|
|
733
|
+
get: function () { return chunkKRPSTXN5_js.usePlatformState; }
|
|
730
734
|
});
|
|
731
735
|
Object.defineProperty(exports, "createPlatformRbac", {
|
|
732
736
|
enumerable: true,
|
|
@@ -848,10 +852,6 @@ Object.defineProperty(exports, "verifyOrganizationDomain", {
|
|
|
848
852
|
enumerable: true,
|
|
849
853
|
get: function () { return chunk6PBTB5ZX_js.verifyOrganizationDomain; }
|
|
850
854
|
});
|
|
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 { WorkflowCanvasShell } from '../chunk-R3Q5RXXO.mjs';
|
|
3
|
+
export { AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from '../chunk-CP5QXRXA.mjs';
|
|
4
|
+
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../chunk-CJGNEALB.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
|
|
16
|
-
|
|
6
|
+
export { ImpersonationBanner } from '../chunk-PI2C3S6A.mjs';
|
|
7
|
+
import { UsersPageView, RolesPageView } from '../chunk-CDYNTHUE.mjs';
|
|
8
|
+
export { WorkflowWorkspace } from '../chunk-CDYNTHUE.mjs';
|
|
9
|
+
export { PlatformSettings } from '../chunk-R6O57NTJ.mjs';
|
|
10
|
+
export { AdminOrganizationDetail } from '../chunk-ULEPJXTN.mjs';
|
|
11
|
+
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../chunk-7OZ4MVEF.mjs';
|
|
12
|
+
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../chunk-YV2SE5LS.mjs';
|
|
13
|
+
export { BillingPanel } from '../chunk-L5O4NWQO.mjs';
|
|
14
|
+
export { AgentsWorkspace, applyWorkflowExecutionEventToStore, resetWorkflowRunPresentation, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation } from '../chunk-37ZLBCJF.mjs';
|
|
15
|
+
import '../chunk-2TBNOQ7M.mjs';
|
|
16
|
+
import { usePlatformState } from '../chunk-PFHXKWFT.mjs';
|
|
17
|
+
export { PlatformAppShell, PlatformStateProvider, usePlatformState } from '../chunk-PFHXKWFT.mjs';
|
|
17
18
|
export { createPlatformRbac } from '../chunk-BUDZNAKL.mjs';
|
|
18
19
|
import { createUser, listUsers, addOrganizationMember } from '../chunk-UHHPBREK.mjs';
|
|
19
20
|
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';
|
|
20
|
-
|
|
21
|
-
import '../chunk-2MJAHST4.mjs';
|
|
21
|
+
import '../chunk-EGXB3WXT.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-WKCR4KVQ.mjs';
|
|
25
|
+
import { Select, Button, useAuth, usePlatformPreferences, filterByPermission, AppNavigation, GlassModal, IconButton, useNotifications, Textarea } from '../chunk-EUXHJMGC.mjs';
|
|
26
26
|
import '../chunk-D2JF6C3E.mjs';
|
|
27
|
+
import { useTranslations, useLocale } from '../chunk-7VJ7CMMT.mjs';
|
|
27
28
|
import { usePathname, useRouter } from '../chunk-QWG2FMUN.mjs';
|
|
28
29
|
import { listModelProviderConnections, listWorkflowTemplates, createWorkflowFromTemplate, aiGenerateWorkflow, createWorkflow, saveWorkflowDraft } from '../chunk-RHRJXK5R.mjs';
|
|
29
30
|
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';
|