@datatechsolutions/ui 3.3.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.
Files changed (212) hide show
  1. package/dist/astrlabe/index.js +113 -113
  2. package/dist/astrlabe/index.mjs +6 -6
  3. package/dist/astrlabe/workflow-canvas.js +6 -6
  4. package/dist/astrlabe/workflow-canvas.mjs +5 -5
  5. package/dist/brand/index.js +0 -14
  6. package/dist/brand/index.js.map +1 -1
  7. package/dist/brand/index.mjs +0 -14
  8. package/dist/brand/index.mjs.map +1 -1
  9. package/dist/{chunk-2WXRRQM3.mjs → chunk-2MJAHST4.mjs} +554 -516
  10. package/dist/chunk-2MJAHST4.mjs.map +1 -0
  11. package/dist/{chunk-FAGDZEKM.js → chunk-2OZZH2IO.js} +2 -2
  12. package/dist/chunk-2OZZH2IO.js.map +1 -0
  13. package/dist/{chunk-SYNVNTLJ.mjs → chunk-3AY5HIQ6.mjs} +2 -2
  14. package/dist/chunk-3AY5HIQ6.mjs.map +1 -0
  15. package/dist/{chunk-O6M3KDGT.mjs → chunk-3OLYSMI5.mjs} +41 -7
  16. package/dist/chunk-3OLYSMI5.mjs.map +1 -0
  17. package/dist/{chunk-GIQXB3BG.mjs → chunk-4PFU6A2B.mjs} +3 -3
  18. package/dist/{chunk-GIQXB3BG.mjs.map → chunk-4PFU6A2B.mjs.map} +1 -1
  19. package/dist/{chunk-3ZUMJTDT.mjs → chunk-5BEVTOZV.mjs} +4 -5
  20. package/dist/{chunk-3JJWPOK6.js.map → chunk-5BEVTOZV.mjs.map} +1 -1
  21. package/dist/{chunk-3JJWPOK6.js → chunk-5I7F7KZ6.js} +10 -11
  22. package/dist/chunk-5I7F7KZ6.js.map +1 -0
  23. package/dist/{chunk-BR2GAZKG.mjs → chunk-6V3DUBOZ.mjs} +7 -7
  24. package/dist/{chunk-BR2GAZKG.mjs.map → chunk-6V3DUBOZ.mjs.map} +1 -1
  25. package/dist/{chunk-5GDKCFM5.mjs → chunk-6W7VTZG6.mjs} +3 -3
  26. package/dist/{chunk-5GDKCFM5.mjs.map → chunk-6W7VTZG6.mjs.map} +1 -1
  27. package/dist/{chunk-IJAKZHXX.js → chunk-74MHWEDC.js} +684 -645
  28. package/dist/chunk-74MHWEDC.js.map +1 -0
  29. package/dist/{chunk-IRPS5UCS.mjs → chunk-7CEZB3ZD.mjs} +3 -3
  30. package/dist/{chunk-IRPS5UCS.mjs.map → chunk-7CEZB3ZD.mjs.map} +1 -1
  31. package/dist/{chunk-UDDZTTLO.mjs → chunk-7UHV6A4C.mjs} +6 -7
  32. package/dist/chunk-7UHV6A4C.mjs.map +1 -0
  33. package/dist/{chunk-ZM5MVWIT.js → chunk-A7FI4K7Z.js} +5 -6
  34. package/dist/chunk-A7FI4K7Z.js.map +1 -0
  35. package/dist/{chunk-MWPTSBAI.js → chunk-AVM53A3Y.js} +63 -29
  36. package/dist/chunk-AVM53A3Y.js.map +1 -0
  37. package/dist/{chunk-I2NZGVBG.js → chunk-AWDH6WNA.js} +1214 -5396
  38. package/dist/chunk-AWDH6WNA.js.map +1 -0
  39. package/dist/{chunk-ZJPNP2YW.mjs → chunk-BUDZNAKL.mjs} +2 -2
  40. package/dist/chunk-BUDZNAKL.mjs.map +1 -0
  41. package/dist/{chunk-OCELRSLO.js → chunk-BVXATTTA.js} +4 -4
  42. package/dist/{chunk-OCELRSLO.js.map → chunk-BVXATTTA.js.map} +1 -1
  43. package/dist/{chunk-W5OEBO6E.js → chunk-C4NRF2G2.js} +13 -14
  44. package/dist/chunk-C4NRF2G2.js.map +1 -0
  45. package/dist/{chunk-JSNRCYSO.js → chunk-CY2MBKVG.js} +4 -4
  46. package/dist/{chunk-JSNRCYSO.js.map → chunk-CY2MBKVG.js.map} +1 -1
  47. package/dist/{chunk-ZL6C2ZAF.js → chunk-FK3WDELF.js} +67 -67
  48. package/dist/{chunk-ZL6C2ZAF.js.map → chunk-FK3WDELF.js.map} +1 -1
  49. package/dist/{chunk-MVBIAXVN.mjs → chunk-IOEQ2GET.mjs} +14 -11
  50. package/dist/chunk-IOEQ2GET.mjs.map +1 -0
  51. package/dist/{chunk-AOUUZ52N.js → chunk-NCDBNGIB.js} +85 -86
  52. package/dist/chunk-NCDBNGIB.js.map +1 -0
  53. package/dist/{chunk-B67DP7MI.mjs → chunk-NJ5RVWLA.mjs} +4 -4
  54. package/dist/{chunk-B67DP7MI.mjs.map → chunk-NJ5RVWLA.mjs.map} +1 -1
  55. package/dist/{chunk-HDCUWUNH.js → chunk-NKXQYFS7.js} +28 -27
  56. package/dist/chunk-NKXQYFS7.js.map +1 -0
  57. package/dist/{chunk-JN6IL6OH.mjs → chunk-NOHHZ6FM.mjs} +1171 -5316
  58. package/dist/chunk-NOHHZ6FM.mjs.map +1 -0
  59. package/dist/{chunk-PCYL4MII.mjs → chunk-OASC7NYV.mjs} +156 -314
  60. package/dist/chunk-OASC7NYV.mjs.map +1 -0
  61. package/dist/{chunk-RXZNACMI.js → chunk-P43PX75J.js} +33 -33
  62. package/dist/{chunk-RXZNACMI.js.map → chunk-P43PX75J.js.map} +1 -1
  63. package/dist/{chunk-OL73LBX5.mjs → chunk-QLFSJ6HK.mjs} +3 -4
  64. package/dist/chunk-QLFSJ6HK.mjs.map +1 -0
  65. package/dist/{chunk-LEKZUS6N.mjs → chunk-QPSHM2JQ.mjs} +4 -5
  66. package/dist/chunk-QPSHM2JQ.mjs.map +1 -0
  67. package/dist/{chunk-NJFRJ6YD.js → chunk-QSMPKL27.js} +225 -384
  68. package/dist/chunk-QSMPKL27.js.map +1 -0
  69. package/dist/{chunk-ZV5EZXXO.mjs → chunk-RHRJXK5R.mjs} +3 -3
  70. package/dist/{chunk-ZV5EZXXO.mjs.map → chunk-RHRJXK5R.mjs.map} +1 -1
  71. package/dist/{chunk-F54Q2YJY.js → chunk-SY4MUT5V.js} +7 -7
  72. package/dist/{chunk-F54Q2YJY.js.map → chunk-SY4MUT5V.js.map} +1 -1
  73. package/dist/{chunk-5RM6NGZ6.mjs → chunk-UHMAKUON.mjs} +3 -3
  74. package/dist/{chunk-5RM6NGZ6.mjs.map → chunk-UHMAKUON.mjs.map} +1 -1
  75. package/dist/{chunk-TIJJHW2Z.js → chunk-V5VBYOF5.js} +36 -36
  76. package/dist/{chunk-TIJJHW2Z.js.map → chunk-V5VBYOF5.js.map} +1 -1
  77. package/dist/{chunk-KR2X2WHJ.js → chunk-VMGNQFRO.js} +53 -53
  78. package/dist/{chunk-KR2X2WHJ.js.map → chunk-VMGNQFRO.js.map} +1 -1
  79. package/dist/{chunk-HZ4LOVHM.js → chunk-VY52Y5GC.js} +2 -2
  80. package/dist/chunk-VY52Y5GC.js.map +1 -0
  81. package/dist/{chunk-TVMLV675.js → chunk-Z7VY5M4T.js} +98 -95
  82. package/dist/chunk-Z7VY5M4T.js.map +1 -0
  83. package/dist/{chunk-R4TQWXNG.mjs → chunk-ZM2Q2SMC.mjs} +6 -5
  84. package/dist/chunk-ZM2Q2SMC.mjs.map +1 -0
  85. package/dist/index.js +744 -904
  86. package/dist/index.mjs +4 -4
  87. package/dist/platform/admin/index.js +13 -13
  88. package/dist/platform/admin/index.mjs +7 -7
  89. package/dist/platform/agents-workspace.js +9 -9
  90. package/dist/platform/agents-workspace.mjs +8 -8
  91. package/dist/platform/app-shell.js +6 -6
  92. package/dist/platform/app-shell.mjs +5 -5
  93. package/dist/platform/auth/index.js +30 -30
  94. package/dist/platform/auth/index.mjs +7 -7
  95. package/dist/platform/billing/index.js +6 -6
  96. package/dist/platform/billing/index.mjs +5 -5
  97. package/dist/platform/impersonation/index.js +6 -6
  98. package/dist/platform/impersonation/index.mjs +5 -5
  99. package/dist/platform/index.js +102 -4812
  100. package/dist/platform/index.js.map +1 -1
  101. package/dist/platform/index.mjs +24 -4729
  102. package/dist/platform/index.mjs.map +1 -1
  103. package/dist/platform/pages/index.js +320 -204
  104. package/dist/platform/pages/index.js.map +1 -1
  105. package/dist/platform/pages/index.mjs +146 -30
  106. package/dist/platform/pages/index.mjs.map +1 -1
  107. package/dist/platform/rbac.js +2 -2
  108. package/dist/platform/rbac.mjs +1 -1
  109. package/dist/platform/settings/index.js +10 -10
  110. package/dist/platform/settings/index.mjs +9 -9
  111. package/dist/platform/utils/index.js +3 -3
  112. package/dist/platform/utils/index.js.map +1 -1
  113. package/dist/platform/utils/index.mjs +1 -1
  114. package/dist/platform/utils/index.mjs.map +1 -1
  115. package/dist/platform/workflow-api-client.js +62 -62
  116. package/dist/platform/workflow-api-client.mjs +2 -2
  117. package/dist/platform/workflow-canvas-shell.js +7 -7
  118. package/dist/platform/workflow-canvas-shell.mjs +6 -6
  119. package/package.json +15 -5
  120. package/src/styles/liquid-glass.css +283 -2
  121. package/dist/astrlabe/contracts.d.mts +0 -517
  122. package/dist/astrlabe/contracts.d.ts +0 -517
  123. package/dist/astrlabe/graph-node.d.mts +0 -28
  124. package/dist/astrlabe/graph-node.d.ts +0 -28
  125. package/dist/astrlabe/index.d.mts +0 -751
  126. package/dist/astrlabe/index.d.ts +0 -751
  127. package/dist/astrlabe/utils.d.mts +0 -60
  128. package/dist/astrlabe/utils.d.ts +0 -60
  129. package/dist/astrlabe/workflow-canvas.d.mts +0 -69
  130. package/dist/astrlabe/workflow-canvas.d.ts +0 -69
  131. package/dist/astrlabe/workflow-preview-canvas.d.mts +0 -10
  132. package/dist/astrlabe/workflow-preview-canvas.d.ts +0 -10
  133. package/dist/billing-panel-DsHhhJqG.d.mts +0 -18
  134. package/dist/billing-panel-DsHhhJqG.d.ts +0 -18
  135. package/dist/brand/index.d.mts +0 -85
  136. package/dist/brand/index.d.ts +0 -85
  137. package/dist/chunk-2WXRRQM3.mjs.map +0 -1
  138. package/dist/chunk-3ZUMJTDT.mjs.map +0 -1
  139. package/dist/chunk-AOUUZ52N.js.map +0 -1
  140. package/dist/chunk-FAGDZEKM.js.map +0 -1
  141. package/dist/chunk-HDCUWUNH.js.map +0 -1
  142. package/dist/chunk-HZ4LOVHM.js.map +0 -1
  143. package/dist/chunk-I2NZGVBG.js.map +0 -1
  144. package/dist/chunk-IJAKZHXX.js.map +0 -1
  145. package/dist/chunk-JN6IL6OH.mjs.map +0 -1
  146. package/dist/chunk-LEKZUS6N.mjs.map +0 -1
  147. package/dist/chunk-MVBIAXVN.mjs.map +0 -1
  148. package/dist/chunk-MWPTSBAI.js.map +0 -1
  149. package/dist/chunk-NJFRJ6YD.js.map +0 -1
  150. package/dist/chunk-O6M3KDGT.mjs.map +0 -1
  151. package/dist/chunk-OL73LBX5.mjs.map +0 -1
  152. package/dist/chunk-PCYL4MII.mjs.map +0 -1
  153. package/dist/chunk-R4TQWXNG.mjs.map +0 -1
  154. package/dist/chunk-SYNVNTLJ.mjs.map +0 -1
  155. package/dist/chunk-TVMLV675.js.map +0 -1
  156. package/dist/chunk-UDDZTTLO.mjs.map +0 -1
  157. package/dist/chunk-W5OEBO6E.js.map +0 -1
  158. package/dist/chunk-ZJPNP2YW.mjs.map +0 -1
  159. package/dist/chunk-ZM5MVWIT.js.map +0 -1
  160. package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +0 -17
  161. package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +0 -17
  162. package/dist/index-CoB18TbG.d.ts +0 -215
  163. package/dist/index-VI9gyJXl.d.mts +0 -215
  164. package/dist/index.d.mts +0 -5412
  165. package/dist/index.d.ts +0 -5412
  166. package/dist/layout-engine-YZcVr20M.d.mts +0 -19
  167. package/dist/layout-engine-YZcVr20M.d.ts +0 -19
  168. package/dist/lib/i18n-context.d.mts +0 -36
  169. package/dist/lib/i18n-context.d.ts +0 -36
  170. package/dist/lib/router-context.d.mts +0 -35
  171. package/dist/lib/router-context.d.ts +0 -35
  172. package/dist/navigation-BiWVffAN.d.mts +0 -49
  173. package/dist/navigation-BiWVffAN.d.ts +0 -49
  174. package/dist/platform/admin/index.d.mts +0 -17
  175. package/dist/platform/admin/index.d.ts +0 -17
  176. package/dist/platform/agents-workspace.d.mts +0 -19
  177. package/dist/platform/agents-workspace.d.ts +0 -19
  178. package/dist/platform/app-shell.d.mts +0 -58
  179. package/dist/platform/app-shell.d.ts +0 -58
  180. package/dist/platform/auth/index.d.mts +0 -73
  181. package/dist/platform/auth/index.d.ts +0 -73
  182. package/dist/platform/billing/index.d.mts +0 -29
  183. package/dist/platform/billing/index.d.ts +0 -29
  184. package/dist/platform/impersonation/index.d.mts +0 -19
  185. package/dist/platform/impersonation/index.d.ts +0 -19
  186. package/dist/platform/index.d.mts +0 -224
  187. package/dist/platform/index.d.ts +0 -224
  188. package/dist/platform/pages/index.d.mts +0 -432
  189. package/dist/platform/pages/index.d.ts +0 -432
  190. package/dist/platform/rbac.d.mts +0 -41
  191. package/dist/platform/rbac.d.ts +0 -41
  192. package/dist/platform/settings/index.d.mts +0 -31
  193. package/dist/platform/settings/index.d.ts +0 -31
  194. package/dist/platform/telemetry/index.d.mts +0 -51
  195. package/dist/platform/telemetry/index.d.ts +0 -51
  196. package/dist/platform/utils/index.d.mts +0 -32
  197. package/dist/platform/utils/index.d.ts +0 -32
  198. package/dist/platform/windsock-admin-client.d.mts +0 -57
  199. package/dist/platform/windsock-admin-client.d.ts +0 -57
  200. package/dist/platform/workflow-api-client.d.mts +0 -6
  201. package/dist/platform/workflow-api-client.d.ts +0 -6
  202. package/dist/platform/workflow-canvas-shell.d.mts +0 -18
  203. package/dist/platform/workflow-canvas-shell.d.ts +0 -18
  204. package/dist/rule-form-BYJzyork.d.mts +0 -128
  205. package/dist/rule-form-BYJzyork.d.ts +0 -128
  206. package/dist/workflow-api-client-BKD8OfP_.d.ts +0 -468
  207. package/dist/workflow-api-client-DoYj7nHz.d.mts +0 -468
  208. package/dist/workflow-store-o17I6L6A.d.ts +0 -79
  209. package/dist/workflow-store-ppVHdMZi.d.mts +0 -79
  210. package/src/brand/logos/kori-icon.svg +0 -45
  211. package/src/brand/logos/kori-logo-dark.svg +0 -40
  212. package/src/brand/logos/kori-logo.svg +0 -43
@@ -1,29 +0,0 @@
1
- export { B as BillingPanel, a as BillingPanelProps } from '../../billing-panel-DsHhhJqG.mjs';
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 };
@@ -1,29 +0,0 @@
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 };
@@ -1,19 +0,0 @@
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 };
@@ -1,19 +0,0 @@
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 };
@@ -1,224 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SessionSwitcherProps, LocaleCode, WorkflowExecutionEvent, WorkflowWorkspaceProps, ManagedUser, Organization } from '@datatechsolutions/shared-domain/common';
3
- import { ReactNode } from 'react';
4
- import { AuthUser } from '@datatechsolutions/windsock/client';
5
- export { PlatformAppShell, PlatformAppShellProps } from './app-shell.mjs';
6
- import { N as NavigationItem } from '../navigation-BiWVffAN.mjs';
7
- import { VariableValue, Workflow } from '../astrlabe/contracts.mjs';
8
- import { N as NodeRunResult } from '../workflow-store-ppVHdMZi.mjs';
9
- import { PlatformRoleDefinition } from './rbac.mjs';
10
- export { CreatePlatformRbacOptions, PlatformRbac, createPlatformRbac } from './rbac.mjs';
11
- export { WorkflowCanvasShell } from './workflow-canvas-shell.mjs';
12
- export { AgentsWorkspace, AgentsWorkspaceProps } from './agents-workspace.mjs';
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
- 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';
22
- import 'zustand';
23
- import '@xyflow/react';
24
- import '../layout-engine-YZcVr20M.mjs';
25
-
26
- declare function SessionSwitcher({ organizations, users, organizationId, userEmail, onOrganizationChange, onUserChange, }: SessionSwitcherProps): react_jsx_runtime.JSX.Element;
27
-
28
- type PlatformState = {
29
- currentOrganizationId: string;
30
- actor: AuthUser | null;
31
- };
32
- type PlatformStateProviderProps = {
33
- children: ReactNode;
34
- /**
35
- * Function that converts a JWT role claim to the app's canonical role
36
- * union (the same `normalizePlatformRole` produced by
37
- * `createPlatformRbac()` in this app). Lifted out as a prop because
38
- * each consuming app uses its own role enum.
39
- */
40
- normalizeRole: (input: unknown) => string;
41
- };
42
- declare function PlatformStateProvider({ children, normalizeRole }: PlatformStateProviderProps): react_jsx_runtime.JSX.Element;
43
- declare function usePlatformState(): PlatformState;
44
-
45
- type PlatformDockContainerProps = {
46
- /** JWT-derived actor used for permission filtering. */
47
- actor: AuthUser | null;
48
- /** App-specific navigation items (already translated). */
49
- navigationItems: NavigationItem[];
50
- /**
51
- * Pathname where the dock should be hidden (defaults to `/dashboard`).
52
- * The dashboard typically owns its own navigation chrome.
53
- */
54
- dashboardPath?: string;
55
- /** Path to redirect to on sign-out (defaults to `/login`). */
56
- signOutPath?: string;
57
- };
58
- /**
59
- * Floating dock + profile-modal trigger shared by every platform app.
60
- * Reads the active route from ui's router context and uses windsock for
61
- * preferences + sign-out, so the consumer only has to wire up navigation
62
- * items + an optional dashboard/sign-out path.
63
- */
64
- declare function PlatformDockContainer({ actor, navigationItems, dashboardPath, signOutPath, }: PlatformDockContainerProps): react_jsx_runtime.JSX.Element | null;
65
-
66
- /**
67
- * Locale + theme controls used inside the platform preferences drawer.
68
- * Reads the active locale from the i18n context and the theme/dock
69
- * preferences from windsock — both shared providers consuming apps must
70
- * mount above this component.
71
- */
72
- declare function PreferencesControls(): react_jsx_runtime.JSX.Element;
73
-
74
- /**
75
- * Locale switcher hook — reads the current locale from the i18n context and
76
- * pushes the user's choice through windsock so the next session inherits it.
77
- *
78
- * Lifted from astrlabe; consumers (astrlabe, kori-erp) wrap their tree in
79
- * `<I18nProvider>` + windsock's `<AuthProvider>` and import this directly.
80
- */
81
- declare function useLocaleSwitcher(): {
82
- locale: LocaleCode;
83
- shortCode: string;
84
- setLocale: (newLocale: LocaleCode | string) => void;
85
- locales: readonly LocaleCode[];
86
- };
87
-
88
- declare function useWorkflowExecution(workflowId: string): {
89
- isRunning: boolean;
90
- execute: (inputVariables?: Record<string, VariableValue>) => Promise<void>;
91
- stop: () => void;
92
- runId: string | null;
93
- runStatus: "error" | "idle" | "streaming" | "completed" | "failed";
94
- };
95
-
96
- type RunEventStreamState = {
97
- /** All events received so far, in order */
98
- events: WorkflowExecutionEvent[];
99
- /** Whether the stream is currently connected */
100
- isStreaming: boolean;
101
- /** Terminal status once the workflow finishes */
102
- status: 'idle' | 'streaming' | 'completed' | 'failed' | 'error';
103
- /** Error message if stream errored */
104
- error: string | null;
105
- };
106
- /**
107
- * React hook that subscribes to real-time workflow execution events.
108
- *
109
- * Automatically selects transport:
110
- * - WebSocket when VITE_WS_ENDPOINT is set (AWS production)
111
- * - SSE when running locally (Kafka-backed)
112
- *
113
- * The stream auto-closes when the workflow completes or fails.
114
- * Reconnects automatically if the connection drops (up to 3 retries).
115
- */
116
- declare function useRunEvents(workflowId: string | null, runId: string | null): RunEventStreamState;
117
-
118
- type WorkflowRunPresentationActions = {
119
- clearNodeResults: () => void;
120
- setIsRunning: (running: boolean) => void;
121
- setNodeResult: (nodeId: string, result: NodeRunResult) => void;
122
- };
123
- declare function resetWorkflowRunPresentation(actions: WorkflowRunPresentationActions): void;
124
- declare function applyWorkflowExecutionEventToStore(actions: WorkflowRunPresentationActions, event: WorkflowExecutionEvent): void;
125
- declare function useWorkflowRunPresentation(events: WorkflowExecutionEvent[], status: RunEventStreamState['status']): void;
126
-
127
- type UsersSettingsSectionProps = {
128
- /**
129
- * Role normalizer produced by each app's `createPlatformRbac()` call.
130
- * Used to coerce JWT role strings into the app's canonical role enum.
131
- */
132
- normalizeRole: (input: unknown) => string;
133
- };
134
- type RolesSettingsSectionProps = UsersSettingsSectionProps & {
135
- /** App-defined role definitions (from `createPlatformRbac`). */
136
- roleDefinitions: Record<string, PlatformRoleDefinition<string>>;
137
- /** Display options for the role-assignment select. */
138
- roleOptions: Array<{
139
- value: string;
140
- label: string;
141
- }>;
142
- };
143
- declare function UsersSettingsSection({ normalizeRole }: UsersSettingsSectionProps): react_jsx_runtime.JSX.Element;
144
- declare function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }: RolesSettingsSectionProps): react_jsx_runtime.JSX.Element;
145
-
146
- interface Props {
147
- open: boolean;
148
- onClose: () => void;
149
- onGenerated: (workflow: Workflow) => void;
150
- }
151
- /**
152
- * Minimal NL → graph generator surface. Lets the user pick one of the
153
- * org's model provider connections, enter a prompt, and produces a
154
- * Workflow row whose `graph` is the LLM's output. The caller navigates
155
- * the editor to the new workflow once generation succeeds — validation
156
- * issues are surfaced as notifications so the user can iterate.
157
- */
158
- declare function AiWorkflowGenerateModal({ open, onClose, onGenerated }: Props): react_jsx_runtime.JSX.Element;
159
-
160
- interface WorkflowTemplateModalProps {
161
- open: boolean;
162
- onClose: () => void;
163
- onCreated: (workflow: Workflow) => void;
164
- }
165
- declare function WorkflowTemplateModal({ open, onClose, onCreated }: WorkflowTemplateModalProps): react_jsx_runtime.JSX.Element;
166
-
167
- /**
168
- * Thin wrapper that forwards a workflow graph into the visual canvas while
169
- * threading the active locale from the i18n context. The graph type from
170
- * `shared-domain` is structurally identical to ui's contract type — the
171
- * cast keeps callers from having to import both.
172
- */
173
- declare function WorkflowWorkspace({ graph }: WorkflowWorkspaceProps): react_jsx_runtime.JSX.Element;
174
-
175
- /** Maps a windsock AuthOrganization to the app-level Organization shape used by UI pages. */
176
- declare function mapAuthOrg(raw: AuthOrganization): Organization;
177
- /**
178
- * Maps a windsock AdminUserSummary to the app-level ManagedUser shape.
179
- * Takes `normalizeRole` as a parameter so each consuming app can plug in
180
- * the role normalizer produced by its own `createPlatformRbac()` call —
181
- * we deliberately don't hardcode an app-specific role enum here.
182
- */
183
- declare function mapAdminUser(row: AdminUserSummary, normalizeRole: (input: unknown) => string): ManagedUser;
184
- /** Maps an app-level UserRole to a windsock AuthOrganizationRole. */
185
- declare const ORG_ROLE_MAP: Record<string, 'owner' | 'admin' | 'member' | 'viewer'>;
186
- declare function mapRoleToOrgRole(role: string): 'owner' | 'admin' | 'member' | 'viewer';
187
-
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 };
@@ -1,224 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SessionSwitcherProps, LocaleCode, WorkflowExecutionEvent, WorkflowWorkspaceProps, ManagedUser, Organization } from '@datatechsolutions/shared-domain/common';
3
- import { ReactNode } from 'react';
4
- import { AuthUser } from '@datatechsolutions/windsock/client';
5
- export { PlatformAppShell, PlatformAppShellProps } from './app-shell.js';
6
- import { N as NavigationItem } from '../navigation-BiWVffAN.js';
7
- import { VariableValue, Workflow } from '../astrlabe/contracts.js';
8
- import { N as NodeRunResult } from '../workflow-store-o17I6L6A.js';
9
- import { PlatformRoleDefinition } from './rbac.js';
10
- export { CreatePlatformRbacOptions, PlatformRbac, createPlatformRbac } from './rbac.js';
11
- export { WorkflowCanvasShell } from './workflow-canvas-shell.js';
12
- export { AgentsWorkspace, AgentsWorkspaceProps } from './agents-workspace.js';
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
- 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';
22
- import 'zustand';
23
- import '@xyflow/react';
24
- import '../layout-engine-YZcVr20M.js';
25
-
26
- declare function SessionSwitcher({ organizations, users, organizationId, userEmail, onOrganizationChange, onUserChange, }: SessionSwitcherProps): react_jsx_runtime.JSX.Element;
27
-
28
- type PlatformState = {
29
- currentOrganizationId: string;
30
- actor: AuthUser | null;
31
- };
32
- type PlatformStateProviderProps = {
33
- children: ReactNode;
34
- /**
35
- * Function that converts a JWT role claim to the app's canonical role
36
- * union (the same `normalizePlatformRole` produced by
37
- * `createPlatformRbac()` in this app). Lifted out as a prop because
38
- * each consuming app uses its own role enum.
39
- */
40
- normalizeRole: (input: unknown) => string;
41
- };
42
- declare function PlatformStateProvider({ children, normalizeRole }: PlatformStateProviderProps): react_jsx_runtime.JSX.Element;
43
- declare function usePlatformState(): PlatformState;
44
-
45
- type PlatformDockContainerProps = {
46
- /** JWT-derived actor used for permission filtering. */
47
- actor: AuthUser | null;
48
- /** App-specific navigation items (already translated). */
49
- navigationItems: NavigationItem[];
50
- /**
51
- * Pathname where the dock should be hidden (defaults to `/dashboard`).
52
- * The dashboard typically owns its own navigation chrome.
53
- */
54
- dashboardPath?: string;
55
- /** Path to redirect to on sign-out (defaults to `/login`). */
56
- signOutPath?: string;
57
- };
58
- /**
59
- * Floating dock + profile-modal trigger shared by every platform app.
60
- * Reads the active route from ui's router context and uses windsock for
61
- * preferences + sign-out, so the consumer only has to wire up navigation
62
- * items + an optional dashboard/sign-out path.
63
- */
64
- declare function PlatformDockContainer({ actor, navigationItems, dashboardPath, signOutPath, }: PlatformDockContainerProps): react_jsx_runtime.JSX.Element | null;
65
-
66
- /**
67
- * Locale + theme controls used inside the platform preferences drawer.
68
- * Reads the active locale from the i18n context and the theme/dock
69
- * preferences from windsock — both shared providers consuming apps must
70
- * mount above this component.
71
- */
72
- declare function PreferencesControls(): react_jsx_runtime.JSX.Element;
73
-
74
- /**
75
- * Locale switcher hook — reads the current locale from the i18n context and
76
- * pushes the user's choice through windsock so the next session inherits it.
77
- *
78
- * Lifted from astrlabe; consumers (astrlabe, kori-erp) wrap their tree in
79
- * `<I18nProvider>` + windsock's `<AuthProvider>` and import this directly.
80
- */
81
- declare function useLocaleSwitcher(): {
82
- locale: LocaleCode;
83
- shortCode: string;
84
- setLocale: (newLocale: LocaleCode | string) => void;
85
- locales: readonly LocaleCode[];
86
- };
87
-
88
- declare function useWorkflowExecution(workflowId: string): {
89
- isRunning: boolean;
90
- execute: (inputVariables?: Record<string, VariableValue>) => Promise<void>;
91
- stop: () => void;
92
- runId: string | null;
93
- runStatus: "error" | "idle" | "streaming" | "completed" | "failed";
94
- };
95
-
96
- type RunEventStreamState = {
97
- /** All events received so far, in order */
98
- events: WorkflowExecutionEvent[];
99
- /** Whether the stream is currently connected */
100
- isStreaming: boolean;
101
- /** Terminal status once the workflow finishes */
102
- status: 'idle' | 'streaming' | 'completed' | 'failed' | 'error';
103
- /** Error message if stream errored */
104
- error: string | null;
105
- };
106
- /**
107
- * React hook that subscribes to real-time workflow execution events.
108
- *
109
- * Automatically selects transport:
110
- * - WebSocket when VITE_WS_ENDPOINT is set (AWS production)
111
- * - SSE when running locally (Kafka-backed)
112
- *
113
- * The stream auto-closes when the workflow completes or fails.
114
- * Reconnects automatically if the connection drops (up to 3 retries).
115
- */
116
- declare function useRunEvents(workflowId: string | null, runId: string | null): RunEventStreamState;
117
-
118
- type WorkflowRunPresentationActions = {
119
- clearNodeResults: () => void;
120
- setIsRunning: (running: boolean) => void;
121
- setNodeResult: (nodeId: string, result: NodeRunResult) => void;
122
- };
123
- declare function resetWorkflowRunPresentation(actions: WorkflowRunPresentationActions): void;
124
- declare function applyWorkflowExecutionEventToStore(actions: WorkflowRunPresentationActions, event: WorkflowExecutionEvent): void;
125
- declare function useWorkflowRunPresentation(events: WorkflowExecutionEvent[], status: RunEventStreamState['status']): void;
126
-
127
- type UsersSettingsSectionProps = {
128
- /**
129
- * Role normalizer produced by each app's `createPlatformRbac()` call.
130
- * Used to coerce JWT role strings into the app's canonical role enum.
131
- */
132
- normalizeRole: (input: unknown) => string;
133
- };
134
- type RolesSettingsSectionProps = UsersSettingsSectionProps & {
135
- /** App-defined role definitions (from `createPlatformRbac`). */
136
- roleDefinitions: Record<string, PlatformRoleDefinition<string>>;
137
- /** Display options for the role-assignment select. */
138
- roleOptions: Array<{
139
- value: string;
140
- label: string;
141
- }>;
142
- };
143
- declare function UsersSettingsSection({ normalizeRole }: UsersSettingsSectionProps): react_jsx_runtime.JSX.Element;
144
- declare function RolesSettingsSection({ roleDefinitions, roleOptions, normalizeRole }: RolesSettingsSectionProps): react_jsx_runtime.JSX.Element;
145
-
146
- interface Props {
147
- open: boolean;
148
- onClose: () => void;
149
- onGenerated: (workflow: Workflow) => void;
150
- }
151
- /**
152
- * Minimal NL → graph generator surface. Lets the user pick one of the
153
- * org's model provider connections, enter a prompt, and produces a
154
- * Workflow row whose `graph` is the LLM's output. The caller navigates
155
- * the editor to the new workflow once generation succeeds — validation
156
- * issues are surfaced as notifications so the user can iterate.
157
- */
158
- declare function AiWorkflowGenerateModal({ open, onClose, onGenerated }: Props): react_jsx_runtime.JSX.Element;
159
-
160
- interface WorkflowTemplateModalProps {
161
- open: boolean;
162
- onClose: () => void;
163
- onCreated: (workflow: Workflow) => void;
164
- }
165
- declare function WorkflowTemplateModal({ open, onClose, onCreated }: WorkflowTemplateModalProps): react_jsx_runtime.JSX.Element;
166
-
167
- /**
168
- * Thin wrapper that forwards a workflow graph into the visual canvas while
169
- * threading the active locale from the i18n context. The graph type from
170
- * `shared-domain` is structurally identical to ui's contract type — the
171
- * cast keeps callers from having to import both.
172
- */
173
- declare function WorkflowWorkspace({ graph }: WorkflowWorkspaceProps): react_jsx_runtime.JSX.Element;
174
-
175
- /** Maps a windsock AuthOrganization to the app-level Organization shape used by UI pages. */
176
- declare function mapAuthOrg(raw: AuthOrganization): Organization;
177
- /**
178
- * Maps a windsock AdminUserSummary to the app-level ManagedUser shape.
179
- * Takes `normalizeRole` as a parameter so each consuming app can plug in
180
- * the role normalizer produced by its own `createPlatformRbac()` call —
181
- * we deliberately don't hardcode an app-specific role enum here.
182
- */
183
- declare function mapAdminUser(row: AdminUserSummary, normalizeRole: (input: unknown) => string): ManagedUser;
184
- /** Maps an app-level UserRole to a windsock AuthOrganizationRole. */
185
- declare const ORG_ROLE_MAP: Record<string, 'owner' | 'admin' | 'member' | 'viewer'>;
186
- declare function mapRoleToOrgRole(role: string): 'owner' | 'admin' | 'member' | 'viewer';
187
-
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 };