@datatechsolutions/ui 2.11.87 → 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/platform/index.d.mts +37 -1
- package/dist/platform/index.d.ts +37 -1
- package/dist/platform/index.js +4785 -76
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/index.mjs +4708 -4
- package/dist/platform/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -185,4 +185,40 @@ declare function mapAdminUser(row: AdminUserSummary, normalizeRole: (input: unkn
|
|
|
185
185
|
declare const ORG_ROLE_MAP: Record<string, 'owner' | 'admin' | 'member' | 'viewer'>;
|
|
186
186
|
declare function mapRoleToOrgRole(role: string): 'owner' | 'admin' | 'member' | 'viewer';
|
|
187
187
|
|
|
188
|
-
|
|
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
|
@@ -185,4 +185,40 @@ declare function mapAdminUser(row: AdminUserSummary, normalizeRole: (input: unkn
|
|
|
185
185
|
declare const ORG_ROLE_MAP: Record<string, 'owner' | 'admin' | 'member' | 'viewer'>;
|
|
186
186
|
declare function mapRoleToOrgRole(role: string): 'owner' | 'admin' | 'member' | 'viewer';
|
|
187
187
|
|
|
188
|
-
|
|
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 };
|