@datatechsolutions/ui 2.11.86 → 2.11.88
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/billing-panel-DsHhhJqG.d.mts +18 -0
- package/dist/billing-panel-DsHhhJqG.d.ts +18 -0
- package/dist/chunk-4667D2ZT.mjs +61 -0
- package/dist/chunk-4667D2ZT.mjs.map +1 -0
- package/dist/chunk-5HXDJBVX.mjs +1330 -0
- package/dist/chunk-5HXDJBVX.mjs.map +1 -0
- package/dist/chunk-DJ33CSGJ.mjs +126 -0
- package/dist/chunk-DJ33CSGJ.mjs.map +1 -0
- package/dist/chunk-F4TOOARV.mjs +503 -0
- package/dist/chunk-F4TOOARV.mjs.map +1 -0
- package/dist/chunk-GEUGFYLO.mjs +237 -0
- package/dist/chunk-GEUGFYLO.mjs.map +1 -0
- package/dist/chunk-LBALE4JX.js +1342 -0
- package/dist/chunk-LBALE4JX.js.map +1 -0
- package/dist/chunk-MXFEU7A6.js +148 -0
- package/dist/chunk-MXFEU7A6.js.map +1 -0
- package/dist/chunk-NBCOVUQP.mjs +142 -0
- package/dist/chunk-NBCOVUQP.mjs.map +1 -0
- package/dist/chunk-P4RVGMZL.js +128 -0
- package/dist/chunk-P4RVGMZL.js.map +1 -0
- package/dist/chunk-Q2MG7S2E.js +239 -0
- package/dist/chunk-Q2MG7S2E.js.map +1 -0
- package/dist/chunk-RV555OEO.mjs +1009 -0
- package/dist/chunk-RV555OEO.mjs.map +1 -0
- package/dist/chunk-SAYVWIMJ.js +63 -0
- package/dist/chunk-SAYVWIMJ.js.map +1 -0
- package/dist/chunk-SUHNSUMH.mjs +1021 -0
- package/dist/chunk-SUHNSUMH.mjs.map +1 -0
- package/dist/chunk-TOEMSC4P.mjs +99 -0
- package/dist/chunk-TOEMSC4P.mjs.map +1 -0
- package/dist/chunk-UUHV5KHF.js +505 -0
- package/dist/chunk-UUHV5KHF.js.map +1 -0
- package/dist/chunk-UVEPTYZC.js +101 -0
- package/dist/chunk-UVEPTYZC.js.map +1 -0
- package/dist/chunk-X2KCCQPL.js +1049 -0
- package/dist/chunk-X2KCCQPL.js.map +1 -0
- package/dist/chunk-ZARCUQA6.js +1015 -0
- package/dist/chunk-ZARCUQA6.js.map +1 -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 +39 -0
- package/dist/platform/admin/index.js.map +1 -0
- package/dist/platform/admin/index.mjs +10 -0
- package/dist/platform/admin/index.mjs.map +1 -0
- package/dist/platform/auth/index.d.mts +73 -0
- package/dist/platform/auth/index.d.ts +73 -0
- package/dist/platform/auth/index.js +107 -0
- package/dist/platform/auth/index.js.map +1 -0
- package/dist/platform/auth/index.mjs +10 -0
- package/dist/platform/auth/index.mjs.map +1 -0
- package/dist/platform/billing/index.d.mts +29 -0
- package/dist/platform/billing/index.d.ts +29 -0
- package/dist/platform/billing/index.js +22 -0
- package/dist/platform/billing/index.js.map +1 -0
- package/dist/platform/billing/index.mjs +9 -0
- package/dist/platform/billing/index.mjs.map +1 -0
- package/dist/platform/impersonation/index.d.mts +19 -0
- package/dist/platform/impersonation/index.d.ts +19 -0
- package/dist/platform/impersonation/index.js +17 -0
- package/dist/platform/impersonation/index.js.map +1 -0
- package/dist/platform/impersonation/index.mjs +8 -0
- package/dist/platform/impersonation/index.mjs.map +1 -0
- package/dist/platform/index.d.mts +45 -2
- package/dist/platform/index.d.ts +45 -2
- package/dist/platform/index.js +4850 -0
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/index.mjs +4716 -3
- package/dist/platform/index.mjs.map +1 -1
- package/dist/platform/settings/index.d.mts +31 -0
- package/dist/platform/settings/index.d.ts +31 -0
- package/dist/platform/settings/index.js +21 -0
- package/dist/platform/settings/index.js.map +1 -0
- package/dist/platform/settings/index.mjs +12 -0
- package/dist/platform/settings/index.mjs.map +1 -0
- package/package.json +26 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { B as BillingPanel, a as BillingPanelProps } from '../../billing-panel-DsHhhJqG.js';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { SubscriptionTier } from '@datatechsolutions/shared-domain';
|
|
5
|
+
|
|
6
|
+
interface UpgradePromptProps {
|
|
7
|
+
/** The user's current subscription tier */
|
|
8
|
+
currentTier: SubscriptionTier;
|
|
9
|
+
/** The minimum tier required for access (shown in the prompt) */
|
|
10
|
+
requiredTier?: SubscriptionTier;
|
|
11
|
+
/** Feature name that triggered the prompt */
|
|
12
|
+
feature?: string;
|
|
13
|
+
/** Called when the user clicks "Upgrade Now" */
|
|
14
|
+
onUpgrade?: () => void;
|
|
15
|
+
/** Called when the user dismisses the prompt */
|
|
16
|
+
onDismiss?: () => void;
|
|
17
|
+
/** Optional custom content to render inside the card */
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A glassmorphism-styled upgrade prompt shown when users hit subscription
|
|
22
|
+
* limits or try to access features above their current tier.
|
|
23
|
+
*
|
|
24
|
+
* Renders a card with the current tier, the required tier (or feature name),
|
|
25
|
+
* and action buttons for upgrading or dismissing.
|
|
26
|
+
*/
|
|
27
|
+
declare function UpgradePrompt({ currentTier, requiredTier, feature, onUpgrade, onDismiss, children, }: UpgradePromptProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
|
|
29
|
+
export { UpgradePrompt, type UpgradePromptProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkP4RVGMZL_js = require('../../chunk-P4RVGMZL.js');
|
|
5
|
+
var chunkQ2MG7S2E_js = require('../../chunk-Q2MG7S2E.js');
|
|
6
|
+
require('../../chunk-KNXAOJAK.js');
|
|
7
|
+
require('../../chunk-UZ3CMNUJ.js');
|
|
8
|
+
require('../../chunk-YXN2K77G.js');
|
|
9
|
+
require('../../chunk-S7KHTUHA.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "UpgradePrompt", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkP4RVGMZL_js.UpgradePrompt; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "BillingPanel", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkQ2MG7S2E_js.BillingPanel; }
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { UpgradePrompt } from '../../chunk-DJ33CSGJ.mjs';
|
|
3
|
+
export { BillingPanel } from '../../chunk-GEUGFYLO.mjs';
|
|
4
|
+
import '../../chunk-ZJQ5RLGK.mjs';
|
|
5
|
+
import '../../chunk-D2JF6C3E.mjs';
|
|
6
|
+
import '../../chunk-7VJ7CMMT.mjs';
|
|
7
|
+
import '../../chunk-QWG2FMUN.mjs';
|
|
8
|
+
//# sourceMappingURL=index.mjs.map
|
|
9
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface ImpersonationBannerProps {
|
|
4
|
+
/**
|
|
5
|
+
* Callback fired after the impersonation session ends (after the admin
|
|
6
|
+
* token is restored). Useful for refreshing the UI or navigating home.
|
|
7
|
+
*/
|
|
8
|
+
onExit?: () => void;
|
|
9
|
+
/** Optional extra classes on the outer bar. */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Persistent banner shown while the current session is an impersonation
|
|
14
|
+
* session. Shows the admin's identity + target, and an Exit button that
|
|
15
|
+
* terminates the session. Invisible when not impersonating.
|
|
16
|
+
*/
|
|
17
|
+
declare function ImpersonationBanner({ onExit, className }: ImpersonationBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
18
|
+
|
|
19
|
+
export { ImpersonationBanner, type ImpersonationBannerProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface ImpersonationBannerProps {
|
|
4
|
+
/**
|
|
5
|
+
* Callback fired after the impersonation session ends (after the admin
|
|
6
|
+
* token is restored). Useful for refreshing the UI or navigating home.
|
|
7
|
+
*/
|
|
8
|
+
onExit?: () => void;
|
|
9
|
+
/** Optional extra classes on the outer bar. */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Persistent banner shown while the current session is an impersonation
|
|
14
|
+
* session. Shows the admin's identity + target, and an Exit button that
|
|
15
|
+
* terminates the session. Invisible when not impersonating.
|
|
16
|
+
*/
|
|
17
|
+
declare function ImpersonationBanner({ onExit, className }: ImpersonationBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
18
|
+
|
|
19
|
+
export { ImpersonationBanner, type ImpersonationBannerProps };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkSAYVWIMJ_js = require('../../chunk-SAYVWIMJ.js');
|
|
5
|
+
require('../../chunk-KNXAOJAK.js');
|
|
6
|
+
require('../../chunk-UZ3CMNUJ.js');
|
|
7
|
+
require('../../chunk-YXN2K77G.js');
|
|
8
|
+
require('../../chunk-S7KHTUHA.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkSAYVWIMJ_js.ImpersonationBanner; }
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { ImpersonationBanner } from '../../chunk-4667D2ZT.mjs';
|
|
3
|
+
import '../../chunk-ZJQ5RLGK.mjs';
|
|
4
|
+
import '../../chunk-D2JF6C3E.mjs';
|
|
5
|
+
import '../../chunk-7VJ7CMMT.mjs';
|
|
6
|
+
import '../../chunk-QWG2FMUN.mjs';
|
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
|
8
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -12,6 +12,13 @@ export { WorkflowCanvasShell } from './workflow-canvas-shell.mjs';
|
|
|
12
12
|
export { AgentsWorkspace, AgentsWorkspaceProps } from './agents-workspace.mjs';
|
|
13
13
|
export { CreateSecretInput, SecretDetail, SecretSummary, UpdateSecretInput, 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 './windsock-admin-client.mjs';
|
|
14
14
|
import { AdminUserSummary, AuthOrganization } from '@datatechsolutions/shared-domain';
|
|
15
|
+
export { AdminClient, AdminCreateInvitationInput, AdminCreateOrganizationInput, AdminCreatePermissionInput, AdminCreateUserInput, AdminListParams, AdminListResult, AdminOrganizationDetailProps, AdminOrganizationDetailTab, AdminOrganizationFormProps, AdminOrganizationListProps, AdminOrganizationMember, AdminPermissionListProps, AdminUpdateOrganizationInput, AdminUpdatePermissionInput, AdminUpdateUserInput, AdminUserFormProps, AdminUserListProps, AdminUserSummary, ConsentScreenProps, ForgotPasswordProps, MfaChallengeProps, MfaManageProps, MfaSetupProps, PasswordlessSignInProps, ResetPasswordProps, SignInProps, SignUpProps, SsoConnector, SsoConnectorListProps, SsoEmailFormProps, UserButtonProps, UserProfileProps, VerifyEmailProps } from '@datatechsolutions/shared-domain';
|
|
16
|
+
export { AuthLayout, AuthLayoutProps, BackupCodeGrid, BackupCodeGridProps, ConsentScreen, ForgotPassword, LinkedAccountsTabContent, MfaChallenge, MfaManage, MfaSetup, OtpInput, OtpInputProps, PasswordStrengthMeter, PasswordStrengthMeterProps, PasswordlessSignIn, ProfileTabContent, ResetPassword, SecurityTabContent, SessionsTabContent, SignIn, SignUp, SocialLoginButtons, SocialLoginButtonsProps, SocialProvider, SsoConnectorList, SsoEmailForm, UserButton, UserProfile, VerifyEmail } from './auth/index.mjs';
|
|
17
|
+
export { B as BillingPanel, a as BillingPanelProps } from '../billing-panel-DsHhhJqG.mjs';
|
|
18
|
+
export { UpgradePrompt, UpgradePromptProps } from './billing/index.mjs';
|
|
19
|
+
export { ImpersonationBanner, ImpersonationBannerProps } from './impersonation/index.mjs';
|
|
20
|
+
export { AdminOrganizationDetail, AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from './admin/index.mjs';
|
|
21
|
+
export { PlatformSettings, PlatformSettingsProps, PlatformSettingsSection } from './settings/index.mjs';
|
|
15
22
|
import 'zustand';
|
|
16
23
|
import '@xyflow/react';
|
|
17
24
|
import '../layout-engine-YZcVr20M.mjs';
|
|
@@ -83,7 +90,7 @@ declare function useWorkflowExecution(workflowId: string): {
|
|
|
83
90
|
execute: (inputVariables?: Record<string, VariableValue>) => Promise<void>;
|
|
84
91
|
stop: () => void;
|
|
85
92
|
runId: string | null;
|
|
86
|
-
runStatus: "error" | "idle" | "
|
|
93
|
+
runStatus: "error" | "idle" | "completed" | "failed" | "streaming";
|
|
87
94
|
};
|
|
88
95
|
|
|
89
96
|
type RunEventStreamState = {
|
|
@@ -178,4 +185,40 @@ declare function mapAdminUser(row: AdminUserSummary, normalizeRole: (input: unkn
|
|
|
178
185
|
declare const ORG_ROLE_MAP: Record<string, 'owner' | 'admin' | 'member' | 'viewer'>;
|
|
179
186
|
declare function mapRoleToOrgRole(role: string): 'owner' | 'admin' | 'member' | 'viewer';
|
|
180
187
|
|
|
181
|
-
|
|
188
|
+
/** All agents combined — lookup by display name. */
|
|
189
|
+
declare const KORI_AGENT_AVATARS: Record<string, string>;
|
|
190
|
+
/**
|
|
191
|
+
* Node-id → avatar mappings per department flow.
|
|
192
|
+
* Keys are the node ids used inside the astrlabe workflow graphs in
|
|
193
|
+
* `@datatechsolutions/ui/components/department-workflow-demo/workflows.ts`.
|
|
194
|
+
*/
|
|
195
|
+
declare const KORI_FLOW_NODE_AVATARS: Record<string, Record<string, string>>;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Kori demo i18n strings, bundled with the component so consumers
|
|
199
|
+
* (kori-erp landing, pitch-deck product slide, anything else) don't have
|
|
200
|
+
* to ship the same `landing.assistant.*` namespace in their own message
|
|
201
|
+
* catalogue.
|
|
202
|
+
*
|
|
203
|
+
* The shape mirrors what the kori-erp messages used to expose under
|
|
204
|
+
* `landing.assistant`: `badge`, `title`, `titleAccent`, `subtitle`,
|
|
205
|
+
* dialogue chrome, plus `departments.{id}.*` and `dashboard.*`.
|
|
206
|
+
*/
|
|
207
|
+
declare const KORI_DEMO_MESSAGES: Record<string, Record<string, unknown>>;
|
|
208
|
+
/** Resolve a localised message bundle, falling back to en when missing. */
|
|
209
|
+
declare function getKoriDemoMessages(locale: string): Record<string, unknown>;
|
|
210
|
+
|
|
211
|
+
interface KoriAssistantDemoProps {
|
|
212
|
+
/** Locale override. Defaults to whatever the surrounding `<I18nProvider>` exposes. */
|
|
213
|
+
locale?: string;
|
|
214
|
+
/** Hide the section header (badge/title/subtitle) — useful in slide contexts. */
|
|
215
|
+
hideHeader?: boolean;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Self-contained Kori department-assistant demo. No external i18n setup
|
|
219
|
+
* required — strings ship with the component. Caller may pass `locale` to
|
|
220
|
+
* force a specific bundle; otherwise we read it via `useLocale()`.
|
|
221
|
+
*/
|
|
222
|
+
declare function KoriAssistantDemo({ locale, hideHeader }?: KoriAssistantDemoProps): react_jsx_runtime.JSX.Element;
|
|
223
|
+
|
|
224
|
+
export { AiWorkflowGenerateModal, KORI_AGENT_AVATARS, KORI_DEMO_MESSAGES, KORI_FLOW_NODE_AVATARS, KoriAssistantDemo, type KoriAssistantDemoProps, ORG_ROLE_MAP, PlatformDockContainer, type PlatformDockContainerProps, PlatformRoleDefinition, PlatformStateProvider, type PlatformStateProviderProps, PreferencesControls, RolesSettingsSection, type RolesSettingsSectionProps, type RunEventStreamState, SessionSwitcher, UsersSettingsSection, type UsersSettingsSectionProps, WorkflowTemplateModal, type WorkflowTemplateModalProps, WorkflowWorkspace, applyWorkflowExecutionEventToStore, getKoriDemoMessages, mapAdminUser, mapAuthOrg, mapRoleToOrgRole, resetWorkflowRunPresentation, useLocaleSwitcher, usePlatformState, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation };
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -12,6 +12,13 @@ export { WorkflowCanvasShell } from './workflow-canvas-shell.js';
|
|
|
12
12
|
export { AgentsWorkspace, AgentsWorkspaceProps } from './agents-workspace.js';
|
|
13
13
|
export { CreateSecretInput, SecretDetail, SecretSummary, UpdateSecretInput, 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 './windsock-admin-client.js';
|
|
14
14
|
import { AdminUserSummary, AuthOrganization } from '@datatechsolutions/shared-domain';
|
|
15
|
+
export { AdminClient, AdminCreateInvitationInput, AdminCreateOrganizationInput, AdminCreatePermissionInput, AdminCreateUserInput, AdminListParams, AdminListResult, AdminOrganizationDetailProps, AdminOrganizationDetailTab, AdminOrganizationFormProps, AdminOrganizationListProps, AdminOrganizationMember, AdminPermissionListProps, AdminUpdateOrganizationInput, AdminUpdatePermissionInput, AdminUpdateUserInput, AdminUserFormProps, AdminUserListProps, AdminUserSummary, ConsentScreenProps, ForgotPasswordProps, MfaChallengeProps, MfaManageProps, MfaSetupProps, PasswordlessSignInProps, ResetPasswordProps, SignInProps, SignUpProps, SsoConnector, SsoConnectorListProps, SsoEmailFormProps, UserButtonProps, UserProfileProps, VerifyEmailProps } from '@datatechsolutions/shared-domain';
|
|
16
|
+
export { AuthLayout, AuthLayoutProps, BackupCodeGrid, BackupCodeGridProps, ConsentScreen, ForgotPassword, LinkedAccountsTabContent, MfaChallenge, MfaManage, MfaSetup, OtpInput, OtpInputProps, PasswordStrengthMeter, PasswordStrengthMeterProps, PasswordlessSignIn, ProfileTabContent, ResetPassword, SecurityTabContent, SessionsTabContent, SignIn, SignUp, SocialLoginButtons, SocialLoginButtonsProps, SocialProvider, SsoConnectorList, SsoEmailForm, UserButton, UserProfile, VerifyEmail } from './auth/index.js';
|
|
17
|
+
export { B as BillingPanel, a as BillingPanelProps } from '../billing-panel-DsHhhJqG.js';
|
|
18
|
+
export { UpgradePrompt, UpgradePromptProps } from './billing/index.js';
|
|
19
|
+
export { ImpersonationBanner, ImpersonationBannerProps } from './impersonation/index.js';
|
|
20
|
+
export { AdminOrganizationDetail, AdminOrganizationForm, AdminOrganizationList, AdminPermissionList, AdminUserForm, AdminUserList } from './admin/index.js';
|
|
21
|
+
export { PlatformSettings, PlatformSettingsProps, PlatformSettingsSection } from './settings/index.js';
|
|
15
22
|
import 'zustand';
|
|
16
23
|
import '@xyflow/react';
|
|
17
24
|
import '../layout-engine-YZcVr20M.js';
|
|
@@ -83,7 +90,7 @@ declare function useWorkflowExecution(workflowId: string): {
|
|
|
83
90
|
execute: (inputVariables?: Record<string, VariableValue>) => Promise<void>;
|
|
84
91
|
stop: () => void;
|
|
85
92
|
runId: string | null;
|
|
86
|
-
runStatus: "error" | "idle" | "
|
|
93
|
+
runStatus: "error" | "idle" | "completed" | "failed" | "streaming";
|
|
87
94
|
};
|
|
88
95
|
|
|
89
96
|
type RunEventStreamState = {
|
|
@@ -178,4 +185,40 @@ declare function mapAdminUser(row: AdminUserSummary, normalizeRole: (input: unkn
|
|
|
178
185
|
declare const ORG_ROLE_MAP: Record<string, 'owner' | 'admin' | 'member' | 'viewer'>;
|
|
179
186
|
declare function mapRoleToOrgRole(role: string): 'owner' | 'admin' | 'member' | 'viewer';
|
|
180
187
|
|
|
181
|
-
|
|
188
|
+
/** All agents combined — lookup by display name. */
|
|
189
|
+
declare const KORI_AGENT_AVATARS: Record<string, string>;
|
|
190
|
+
/**
|
|
191
|
+
* Node-id → avatar mappings per department flow.
|
|
192
|
+
* Keys are the node ids used inside the astrlabe workflow graphs in
|
|
193
|
+
* `@datatechsolutions/ui/components/department-workflow-demo/workflows.ts`.
|
|
194
|
+
*/
|
|
195
|
+
declare const KORI_FLOW_NODE_AVATARS: Record<string, Record<string, string>>;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Kori demo i18n strings, bundled with the component so consumers
|
|
199
|
+
* (kori-erp landing, pitch-deck product slide, anything else) don't have
|
|
200
|
+
* to ship the same `landing.assistant.*` namespace in their own message
|
|
201
|
+
* catalogue.
|
|
202
|
+
*
|
|
203
|
+
* The shape mirrors what the kori-erp messages used to expose under
|
|
204
|
+
* `landing.assistant`: `badge`, `title`, `titleAccent`, `subtitle`,
|
|
205
|
+
* dialogue chrome, plus `departments.{id}.*` and `dashboard.*`.
|
|
206
|
+
*/
|
|
207
|
+
declare const KORI_DEMO_MESSAGES: Record<string, Record<string, unknown>>;
|
|
208
|
+
/** Resolve a localised message bundle, falling back to en when missing. */
|
|
209
|
+
declare function getKoriDemoMessages(locale: string): Record<string, unknown>;
|
|
210
|
+
|
|
211
|
+
interface KoriAssistantDemoProps {
|
|
212
|
+
/** Locale override. Defaults to whatever the surrounding `<I18nProvider>` exposes. */
|
|
213
|
+
locale?: string;
|
|
214
|
+
/** Hide the section header (badge/title/subtitle) — useful in slide contexts. */
|
|
215
|
+
hideHeader?: boolean;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Self-contained Kori department-assistant demo. No external i18n setup
|
|
219
|
+
* required — strings ship with the component. Caller may pass `locale` to
|
|
220
|
+
* force a specific bundle; otherwise we read it via `useLocale()`.
|
|
221
|
+
*/
|
|
222
|
+
declare function KoriAssistantDemo({ locale, hideHeader }?: KoriAssistantDemoProps): react_jsx_runtime.JSX.Element;
|
|
223
|
+
|
|
224
|
+
export { AiWorkflowGenerateModal, KORI_AGENT_AVATARS, KORI_DEMO_MESSAGES, KORI_FLOW_NODE_AVATARS, KoriAssistantDemo, type KoriAssistantDemoProps, ORG_ROLE_MAP, PlatformDockContainer, type PlatformDockContainerProps, PlatformRoleDefinition, PlatformStateProvider, type PlatformStateProviderProps, PreferencesControls, RolesSettingsSection, type RolesSettingsSectionProps, type RunEventStreamState, SessionSwitcher, UsersSettingsSection, type UsersSettingsSectionProps, WorkflowTemplateModal, type WorkflowTemplateModalProps, WorkflowWorkspace, applyWorkflowExecutionEventToStore, getKoriDemoMessages, mapAdminUser, mapAuthOrg, mapRoleToOrgRole, resetWorkflowRunPresentation, useLocaleSwitcher, usePlatformState, useRunEvents, useWorkflowExecution, useWorkflowRunPresentation };
|