@iblai/web-containers 1.47.0 → 1.49.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 (91) hide show
  1. package/dist/cjs/components/canvas/canvas-export-handlers.js +3 -1
  2. package/dist/cjs/components/canvas/canvas-export-handlers.js.map +1 -1
  3. package/dist/cjs/components/chat/ai-message-bubble.js +1 -1
  4. package/dist/cjs/components/chat/ai-message-bubble.js.map +1 -1
  5. package/dist/cjs/components/chat/ai-message-download.js +4 -40
  6. package/dist/cjs/components/chat/ai-message-download.js.map +1 -1
  7. package/dist/cjs/components/chat/chat-download-dialog.js +146 -0
  8. package/dist/cjs/components/chat/chat-download-dialog.js.map +1 -0
  9. package/dist/cjs/components/chat/chat-export.js +63 -0
  10. package/dist/cjs/components/chat/chat-export.js.map +1 -0
  11. package/dist/cjs/components/chat/chat-host-context.js.map +1 -1
  12. package/dist/cjs/components/chat/chat-transcript.js +14 -9
  13. package/dist/cjs/components/chat/chat-transcript.js.map +1 -1
  14. package/dist/cjs/components/chat/code-permission-card.js +38 -1
  15. package/dist/cjs/components/chat/code-permission-card.js.map +1 -1
  16. package/dist/cjs/components/chat/use-whole-chat.js +67 -0
  17. package/dist/cjs/components/chat/use-whole-chat.js.map +1 -0
  18. package/dist/cjs/components/chat-input-form/approvals-mode-button.js +182 -0
  19. package/dist/cjs/components/chat-input-form/approvals-mode-button.js.map +1 -0
  20. package/dist/cjs/components/chat-input-form/composer-canvas-pill.js +32 -0
  21. package/dist/cjs/components/chat-input-form/composer-canvas-pill.js.map +1 -0
  22. package/dist/cjs/components/chat-input-form/composer-model-chip.js +25 -0
  23. package/dist/cjs/components/chat-input-form/composer-model-chip.js.map +1 -0
  24. package/dist/cjs/components/chat-input-form/composer-plus-menu.js +3 -3
  25. package/dist/cjs/components/chat-input-form/composer-plus-menu.js.map +1 -1
  26. package/dist/cjs/components/chat-input-form/composer-tool-row.js +95 -0
  27. package/dist/cjs/components/chat-input-form/composer-tool-row.js.map +1 -0
  28. package/dist/cjs/components/chat-input-form/cowork-control.js +7 -4
  29. package/dist/cjs/components/chat-input-form/cowork-control.js.map +1 -1
  30. package/dist/cjs/components/chat-input-form.js +8 -30
  31. package/dist/cjs/components/chat-input-form.js.map +1 -1
  32. package/dist/cjs/components/profile/admin/tabs/applications/applications-tab.js +4 -1
  33. package/dist/cjs/components/profile/admin/tabs/applications/applications-tab.js.map +1 -1
  34. package/dist/cjs/i18n/messages/en.json.js +31 -2
  35. package/dist/cjs/i18n/messages/en.json.js.map +1 -1
  36. package/dist/cjs/i18n/messages/es.json.js +31 -2
  37. package/dist/cjs/i18n/messages/es.json.js.map +1 -1
  38. package/dist/cjs/i18n/messages/fr.json.js +31 -2
  39. package/dist/cjs/i18n/messages/fr.json.js.map +1 -1
  40. package/dist/cjs/i18n/messages/zh.json.js +31 -2
  41. package/dist/cjs/i18n/messages/zh.json.js.map +1 -1
  42. package/dist/cjs/next/index.js +13 -0
  43. package/dist/cjs/next/index.js.map +1 -1
  44. package/dist/cjs/web-containers/tsconfig.tsbuildinfo +1 -1
  45. package/dist/esm/components/canvas/canvas-export-handlers.js +3 -1
  46. package/dist/esm/components/canvas/canvas-export-handlers.js.map +1 -1
  47. package/dist/esm/components/chat/ai-message-bubble.js +1 -1
  48. package/dist/esm/components/chat/ai-message-bubble.js.map +1 -1
  49. package/dist/esm/components/chat/ai-message-download.js +3 -39
  50. package/dist/esm/components/chat/ai-message-download.js.map +1 -1
  51. package/dist/esm/components/chat/chat-download-dialog.js +144 -0
  52. package/dist/esm/components/chat/chat-download-dialog.js.map +1 -0
  53. package/dist/esm/components/chat/chat-export.js +57 -0
  54. package/dist/esm/components/chat/chat-export.js.map +1 -0
  55. package/dist/esm/components/chat/chat-host-context.js.map +1 -1
  56. package/dist/esm/components/chat/chat-transcript.js +13 -9
  57. package/dist/esm/components/chat/chat-transcript.js.map +1 -1
  58. package/dist/esm/components/chat/code-permission-card.js +39 -2
  59. package/dist/esm/components/chat/code-permission-card.js.map +1 -1
  60. package/dist/esm/components/chat/use-whole-chat.js +63 -0
  61. package/dist/esm/components/chat/use-whole-chat.js.map +1 -0
  62. package/dist/esm/components/chat-input-form/approvals-mode-button.js +177 -0
  63. package/dist/esm/components/chat-input-form/approvals-mode-button.js.map +1 -0
  64. package/dist/esm/components/chat-input-form/composer-canvas-pill.js +30 -0
  65. package/dist/esm/components/chat-input-form/composer-canvas-pill.js.map +1 -0
  66. package/dist/esm/components/chat-input-form/composer-model-chip.js +23 -0
  67. package/dist/esm/components/chat-input-form/composer-model-chip.js.map +1 -0
  68. package/dist/esm/components/chat-input-form/composer-plus-menu.js +3 -3
  69. package/dist/esm/components/chat-input-form/composer-plus-menu.js.map +1 -1
  70. package/dist/esm/components/chat-input-form/composer-tool-row.js +91 -0
  71. package/dist/esm/components/chat-input-form/composer-tool-row.js.map +1 -0
  72. package/dist/esm/components/chat-input-form/cowork-control.js +7 -4
  73. package/dist/esm/components/chat-input-form/cowork-control.js.map +1 -1
  74. package/dist/esm/components/chat-input-form.js +8 -30
  75. package/dist/esm/components/chat-input-form.js.map +1 -1
  76. package/dist/esm/components/profile/admin/tabs/applications/applications-tab.js +5 -2
  77. package/dist/esm/components/profile/admin/tabs/applications/applications-tab.js.map +1 -1
  78. package/dist/esm/i18n/messages/en.json.js +31 -2
  79. package/dist/esm/i18n/messages/en.json.js.map +1 -1
  80. package/dist/esm/i18n/messages/es.json.js +31 -2
  81. package/dist/esm/i18n/messages/es.json.js.map +1 -1
  82. package/dist/esm/i18n/messages/fr.json.js +31 -2
  83. package/dist/esm/i18n/messages/fr.json.js.map +1 -1
  84. package/dist/esm/i18n/messages/zh.json.js +31 -2
  85. package/dist/esm/i18n/messages/zh.json.js.map +1 -1
  86. package/dist/esm/next/index.js +4 -0
  87. package/dist/esm/next/index.js.map +1 -1
  88. package/dist/esm/web-containers/tsconfig.tsbuildinfo +1 -1
  89. package/dist/next/index.d.ts +136 -3
  90. package/dist/package.json +2 -1
  91. package/package.json +4 -3
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import React__default, { ComponentType, ReactNode, PointerEvent, MouseEvent, DragEvent, KeyboardEvent } from 'react';
4
- import { Tenant, ChatMode } from '@iblai/web-utils';
4
+ import { Tenant, ChatMode, Message } from '@iblai/web-utils';
5
5
  import { UserApp, Assertion, PathwayEnrollmentPlus, PathwayCompletionResponse, ProgramCompletionResponse, MentorSettings, PromptVisibilityEnum, MentorFacet } from '@iblai/iblai-api';
6
6
  import { TranslateFunction } from '@web-containers/i18n';
7
7
  import { TranslateFunction as TranslateFunction$1, Locale, Messages } from '@iblai/i18n';
@@ -4142,6 +4142,43 @@ declare function AgentSearchFilters({ facets, showCreatedByFilter, onFiltersChan
4142
4142
  */
4143
4143
  declare function formatDateString(dateString: string | null | undefined): string;
4144
4144
 
4145
+ /**
4146
+ * Labels for a rendered transcript. Supplied by the caller from the i18n
4147
+ * catalog so this module stays pure (no React, no next-intl).
4148
+ */
4149
+ type TranscriptLabels = {
4150
+ /** One-line header placed at the top of the file. */
4151
+ header: string;
4152
+ /** Label for messages authored by the user. */
4153
+ roleUser: string;
4154
+ /** Label for messages authored by the assistant (usually the mentor name). */
4155
+ roleAi: string;
4156
+ };
4157
+
4158
+ type ChatExportFormat = 'txt' | 'xlsx';
4159
+ /** Which slice of the conversation is saved. */
4160
+ type ChatExportScope = 'chat' | 'message';
4161
+ type ChatExportLabels = TranscriptLabels & {
4162
+ columnTime: string;
4163
+ columnFrom: string;
4164
+ columnMessage: string;
4165
+ };
4166
+ /**
4167
+ * Saves a finished export. The default is a browser download; hosts whose
4168
+ * webview ignores `<a download>` (the macOS desktop app) pass a native save.
4169
+ * A returned promise rejects when saving failed; resolving covers a cancelled
4170
+ * save too.
4171
+ */
4172
+ type ChatSaveFile = (blob: Blob, filename: string) => void | Promise<void>;
4173
+ /** `<chat|message>-<agent name>-<YYYY-MM-DD>.<txt|xlsx>` */
4174
+ declare const chatExportFilename: (scope: ChatExportScope, mentorName: string, format: ChatExportFormat, date?: Date) => string;
4175
+ declare const buildTextExport: (messages: Message[], labels: TranscriptLabels) => Blob;
4176
+ /**
4177
+ * One sheet, a header row (Time / From / Message), one row per message. The
4178
+ * message cell wraps so its line breaks show inside the cell.
4179
+ */
4180
+ declare const buildExcelExport: (messages: Message[], labels: ChatExportLabels) => Promise<Blob>;
4181
+
4145
4182
  /**
4146
4183
  * Every user-visible string the chat surface renders, keyed exactly like the
4147
4184
  * `chat` namespace of the web-containers catalog (`chat.<component>.<key>`).
@@ -4178,6 +4215,12 @@ type ChatSlots = {
4178
4215
  * inline item by the pill row's overflow fit.
4179
4216
  */
4180
4217
  composerExtraControls?: ReactNode;
4218
+ /**
4219
+ * Host controls rendered first in the composer's action group (the OS
4220
+ * desktop app passes its Code approvals button). Rendered once per composer,
4221
+ * so pass the control itself, not a shared ref or portal target.
4222
+ */
4223
+ composerActionControls?: ReactNode;
4181
4224
  };
4182
4225
  /**
4183
4226
  * Chrome-extension side-panel "Browse" bridge. When `inExtensionPanel` is true
@@ -4251,6 +4294,11 @@ type ChatConfig = {
4251
4294
  * right after a Code-mode 402 already showed its own credit UX).
4252
4295
  */
4253
4296
  suppressChatErrorToast?: () => boolean;
4297
+ /**
4298
+ * Saves Approvals = Automatic through the store the host's ApprovalsModeButton reads;
4299
+ * resolves `false` or rejects if not saved, and the card tells the user (the host doesn't).
4300
+ */
4301
+ onSwitchToAutomatic?: () => unknown;
4254
4302
  /**
4255
4303
  * Host connectivity (e.g. the service-worker status). When omitted the chat
4256
4304
  * reads web-utils' ServiceWorkerProvider if one is mounted, else assumes online.
@@ -4261,6 +4309,11 @@ type ChatConfig = {
4261
4309
  * (`ChatMarkdown`: Streamdown + KaTeX, ported from the ibl.ai OS app).
4262
4310
  */
4263
4311
  markdownComponent?: ChatMarkdownComponent;
4312
+ /**
4313
+ * Saves a chat download (see {@link ChatSaveFile}). Defaults to a browser
4314
+ * download; the desktop app passes its native save dialog.
4315
+ */
4316
+ saveFile?: ChatSaveFile;
4264
4317
  /**
4265
4318
  * Markdown → HTML converter for the canvas editor, its version history and
4266
4319
  * PDF/DOCX export, and the canvas preview snippet. Defaults to the SDK's
@@ -4377,6 +4430,33 @@ type ChatProps = {
4377
4430
  */
4378
4431
  declare function Chat({ mode, isPreviewMode, hasBorder, isInCanvasView, config, redirectToAuthSpa, redirectToAuthSpaJoinTenant, username, userTenants, visitingTenant, axdToken, mentorId, tenantKey, userIsStudent, isPublicRoute, embed, labels, slots, projectId, showConversationStarters, showExploreMentors, slashSkillsEnabled, slashSkills, slashSkillsLoading, }: ChatProps): react_jsx_runtime.JSX.Element;
4379
4432
 
4433
+ type ChatDownloadDialogProps = {
4434
+ open: boolean;
4435
+ onOpenChange: (open: boolean) => void;
4436
+ mentorName: string;
4437
+ /**
4438
+ * The reply the dialog was opened from. When given, the user chooses between
4439
+ * the whole chat and this message; without it the whole chat is saved (the
4440
+ * sidebar's Export).
4441
+ */
4442
+ message?: Message;
4443
+ /** What the chat already holds; used when the saved history is empty or unreadable without an owner. */
4444
+ messages?: Message[];
4445
+ tenantKey?: string;
4446
+ /** Owner of the session. Defaults to the chat host's user. */
4447
+ username?: string | null;
4448
+ sessionId?: string;
4449
+ /** Defaults to the chat host's `config.saveFile`, then a browser download. */
4450
+ saveFile?: ChatSaveFile;
4451
+ };
4452
+ /**
4453
+ * Download / Export dialog for a conversation. The whole chat is read from
4454
+ * the backend as soon as the dialog opens, and an Excel file is built as soon
4455
+ * as its contents are known, so pressing Save hands over a finished file in
4456
+ * the same click: Safari only lets a download start from the click itself.
4457
+ */
4458
+ declare function ChatDownloadDialog(props: ChatDownloadDialogProps): react_jsx_runtime.JSX.Element;
4459
+
4380
4460
  type Props = {
4381
4461
  children?: string;
4382
4462
  className?: string;
@@ -4490,6 +4570,59 @@ declare function useCodePermissionSessions(): Set<string>;
4490
4570
  */
4491
4571
  declare function resetCodePermissionsForTests(): void;
4492
4572
 
4573
+ type PermissionMode = 'manual' | 'auto';
4574
+ declare const PERMISSION_MODES: readonly PermissionMode[];
4575
+ declare const PERMISSION_MODE_ICONS: Record<PermissionMode, LucideIcon>;
4576
+ /**
4577
+ * One approval-mode store per call, so each surface that has its own mode
4578
+ * (Code today, Cowork later) keeps its own.
4579
+ */
4580
+ declare function createApprovalModeStore(): {
4581
+ useApprovalMode: () => PermissionMode;
4582
+ setApprovalMode: (mode: PermissionMode) => void;
4583
+ applyApprovalMode: (mode: PermissionMode, save: (mode: PermissionMode) => Promise<unknown>, onFailure: (error: unknown) => void, reread?: () => Promise<string | null | undefined>) => Promise<boolean>;
4584
+ loadApprovalMode: (read: () => Promise<string | null | undefined>) => Promise<void>;
4585
+ seedApprovalMode: (seed: () => Promise<unknown>) => Promise<void>;
4586
+ useOfferApprovals: (offer: boolean) => void;
4587
+ useApprovalsOffered: () => boolean;
4588
+ resetApprovalModeForTests: () => void;
4589
+ };
4590
+ type ApprovalModeStore = ReturnType<typeof createApprovalModeStore>;
4591
+ /**
4592
+ * The button's text, for a host with its own translations. Anything left out
4593
+ * falls back to the catalog (`chat.chatInputFormApprovalsModeButton`).
4594
+ */
4595
+ type ApprovalsModeButtonLabels = {
4596
+ /** The menu's heading, also its radio group's accessible name. */
4597
+ permissionModeLabel?: string;
4598
+ permissionModeManual?: string;
4599
+ permissionModeAuto?: string;
4600
+ permissionModeManualHint?: string;
4601
+ permissionModeAutoHint?: string;
4602
+ /** The button's accessible name, given the name of the mode in force. */
4603
+ approvalsAria?: (mode: string) => string;
4604
+ };
4605
+ type ApprovalsModeButtonProps = {
4606
+ mode: PermissionMode;
4607
+ onChange: (mode: PermissionMode) => void;
4608
+ labels?: ApprovalsModeButtonLabels;
4609
+ };
4610
+ /**
4611
+ * Code's approval mode: an icon that widens to the mode's name and opens the
4612
+ * choice. It grows over the tool row, not into it, so the row never re-fits its
4613
+ * pills on hover; the delay keeps a passing pointer from widening it.
4614
+ */
4615
+ declare function ApprovalsModeButton({ mode, onChange, labels }: ApprovalsModeButtonProps): react_jsx_runtime.JSX.Element;
4616
+
4617
+ /**
4618
+ * Whether a tool pill in the redesigned composer's row shows its name (always,
4619
+ * outside that row). Every caller counts toward the row's pills that are on,
4620
+ * so a `slots.composerActionControls` control must not call it.
4621
+ */
4622
+ declare function useComposerToolPill(on: boolean): {
4623
+ showName: boolean;
4624
+ };
4625
+
4493
4626
  /**
4494
4627
  * Local object-URL previews for images the user attached, keyed by the
4495
4628
  * backend `file_id`, so a sent message can show the real image before a
@@ -4846,5 +4979,5 @@ declare const CATALOGS: Record<Locale, Messages>;
4846
4979
  */
4847
4980
  declare function getCatalog(locale: Locale): Messages;
4848
4981
 
4849
- export { AGENT_ACCESS_TAB_LABELS, AGENT_ANALYTICS_TAB_LABELS, AGENT_API_TAB_LABELS, AGENT_DATASETS_TAB_LABELS, AGENT_DISCLAIMERS_TAB_LABELS, AGENT_EMBED_TAB_LABELS, AGENT_EVALUATION_TAB_LABELS, AGENT_GRADER_TAB_LABELS, AGENT_HISTORY_TAB_LABELS, AGENT_HUMAN_SUPPORT_TAB_LABELS, AGENT_LLM_TAB_LABELS, AGENT_LTI_TAB_LABELS, AGENT_MEMORY_TAB_LABELS, AGENT_PICKER_LABELS, AGENT_PRIVACY_TAB_LABELS, AGENT_PROMPTS_TAB_LABELS, AGENT_SAFETY_TAB_LABELS, AGENT_SCREENSHARE_TAB_LABELS, AGENT_SEARCH_LABELS, AGENT_SETTINGS_TAB_LABELS, AGENT_SKILLS_TAB_LABELS, AGENT_TASKS_TAB_LABELS, AGENT_TOOLS_TAB_LABELS, AGENT_VOICE_TAB_LABELS, AccessibilityFab, AccessibilityProvider, AccessibilityToolbar, Account, AgentAccessTab, AgentAnalyticsTab, AgentApiTab, AgentCard, AgentDatasetsTab, AgentDisclaimersTab, AgentEmbedTab, AgentEmptyState, AgentEvaluationTab, AgentGraderTab, AgentHistoryTab, AgentHumanSupportTab, AgentLLMTab, AgentLtiTab, AgentMemoryTab, AgentPrivacyTab, AgentPromptsTab, AgentSafetyTab, AgentScreenShareTab, AgentSearch, AgentSearchFilters, AgentSearchInput, AgentSettingsProvider, AgentSettingsTab, AgentSkillsTab, AgentSpendCapsTab, AgentTasksTab, AgentToolsTab, AgentVoiceTab, AppSidebar, CATALOGS, Chat, Markdown as ChatMarkdown, ClientErrorPage, ConversationStarters, CopyButton, CopyMentorModal, CourseBox, CourseContentLayout, CourseContentTabPage, CreatePathwayModal, CredentialDetailModal, CredentialMiniBox, DEFAULT_ANALYTICS_HUB_TABS, DRAGGABLE_SNAP_TRANSITION, DeleteMentorModal, EMPTY_PROGRAM_SETTINGS_FORM, EdxIframe, ErrorPage, FloatingAccessibilityButton, GRADING_TOOL_NAME, GreetingMethod, LLMProviderModal, LocalModelRow, MEMORY_SUB_TABS, McpTab, MediaBox, MentorSelectionGrid, NavBar, OrganizationTab, PLATFORM_SIDEBAR_FLYOUT_ITEM_COLOR, PLATFORM_SIDEBAR_FLYOUT_TITLE_COLOR, PLATFORM_SIDEBAR_NAV_ACTIVE_BG_OPEN, PLATFORM_SIDEBAR_NAV_MUTED, PathwayDetailModal, PlatformAccountSheet, PlatformSidebar, PlatformSidebarCollapsedLabelFlyout, PlatformSidebarCollapsedNavFlyout, PlatformSidebarFooter, PlatformSidebarNavDivider, PlatformSidebarNavSection, PlatformSidebarSubNavItem, ProfileInfoCards, ProfileTabs, ProgramDetailModal, ProjectsSidebarDropdown, SPEND_CAPS_SUB_TABS, SidebarInset, SidebarProvider, SidebarTrigger, SpendCapUsage, SsoLogin, StarButton, UserProfileDropdown, UserProfileModal, WebContainersI18nProvider, addPermissionRequest, clearImagePreviews, dropPermissionRequest, formatDateString, getCatalog, getProviderName, imagePreviewsReducer, initializeLocalStorageWithObject, resetCodePermissionsForTests, resolveAgentPickerLabels, resolveAgentSearchLabels, resolveLLMTabLabels, resolveSettingsTabLabels, selectImagePreviews, setChatMarkdownTelemetry, setImagePreview, useAccessibility, useAgentSearch, useAgentSearchWithPagination, useAgentSettings, useAgentStar, useCodePermissionRequests, useCodePermissionSessions, useDraggablePosition, useGetChatDetails, usePlatformSidebarFooterActions, usePlatformSidebarNavCallback, useSidebar, useT, useTimeTracker, useToggleTools, useWebContainersI18n, useWebContainersLocale };
4850
- export type { AccessTabLabels, AccessibilityContextType, AccessibilityFabProps, AccessibilitySettings, AccessibilityToolbarProps, AcpToolCall, AgentAccessTabProps, AgentAnalyticsTabProps, AgentApiTabProps, AgentCardProps, AgentDatasetsTabProps, AgentDisclaimersTabProps, AgentEmbedTabProps, AgentEmptyStateProps, AgentEvaluationTabProps, AgentGraderTabProps, AgentHistoryTabProps, AgentHumanSupportTabProps, AgentLLMTabProps, AgentLtiTabProps, AgentMemoryTabProps, AgentPickerLabels, AgentPrivacyTabProps, AgentPromptsTabProps, AgentSafetyTabProps, AgentScreenShareTabProps, AgentSearchFiltersLabels, AgentSearchFiltersProps, AgentSearchFiltersState, AgentSearchInputProps, AgentSearchLabels, AgentSearchProps, AgentSearchResult, AgentSearchSection, AgentSettingsContextValue, AgentSettingsTabProps, AgentSkillsTabProps, AgentSpendCapsTabProps, AgentTasksTabProps, AgentToolsTabProps, AgentVoiceTabProps, AnalyticsHubTab, AnalyticsTabLabels, ApiKey, ApiTabLabels, ChatBrowseBridge, ChatConfig, ChatEventBus, ChatFeatures, ChatLabels, ChatMarkdownComponent, ChatMarkdownTelemetry, ChatProps, ChatSlots, CopyMentorTenant, CourseBoxCourse, CourseBoxProps, CourseContentLayoutProps, CourseContentTab, CourseContentTabPageProps, CreatePathwayFormData, CreatePathwayModalCourse, CreatePathwayModalProps, CreatePathwayModalResource, CreatedByFilter, CredentialDetailAssertion, CredentialDetailModalProps, CredentialMiniBoxProps, Dataset, DatasetsTabLabels, DeepPartial, DisclaimersTabLabels, DraggableAnchor, DraggableCorner, DraggablePosition, DraggableSide, EdxIframeProps, EmbedTabLabels, EmbedUrlConfig, EvaluationTabLabels, GraderTabLabels, HistoryTabLabels, HumanSupportTabLabels, LLMModelSelection, LLMProvider, LLMProviderModalProps, Provider as LLMProviderType, LLMTabLabels, LocalModelRowLabels, LocalModelRowProps, LocalRowStatus, LtiTabLabels, McpTabProps, MediaBoxProps, MemoryTabLabels, MentorSelectionGridProps, PathwayDetailCourse, PathwayDetailModalProps, PermissionRequest, PlatformAccountSheetProps, PlatformAccountTab, PlatformSidebarCustomSectionConfig, PlatformSidebarDividerSectionConfig, PlatformSidebarFooterActionId, PlatformSidebarFooterConfig, PlatformSidebarMenu, PlatformSidebarMenuItem, PlatformSidebarMenuSectionConfig, PlatformSidebarNavIcon, PlatformSidebarPrimaryAction, PlatformSidebarProps, PlatformSidebarSectionConfig, PlatformSidebarSectionContext, PrivacyTabLabels, ProfileInfoCardsProps, ProfileInfoSummary, ProfileTabItem, ProfileTabsProps, ProfileTopContent, ProgramDetailCourse, ProgramDetailModalProps, ProgramDetailProgram, ProgramSettingsFormData, ProjectsConfig, ProjectsSidebarDropdownProps, PromptsEditFormValues, PromptsSelectedPrompt, PromptsTabLabels, SafetyEditFormValues, SafetySelectedPrompt, SafetyTabLabels, ScreenShareTabLabels, SettingsTabLabels, SkillsTabLabels, SpendCapUsageProps, SsoProvider, StarButtonProps, SupportTicketsFilter, TaskDisplayStatus, TaskListItem, TaskLog, TasksTabLabels, ToolsTabLabels, UploadedFile, UseAgentSearchConfig, UseAgentSearchResult, UseAgentSearchWithPaginationConfig, UseAgentSearchWithPaginationResult, UseAgentStarConfig, UseAgentStarResult, UseDraggablePositionOptions, UseTimeTrackerConfig, UseTimeTrackerReturn, UserMetadata, UserProfileDropdownProps, VisibilityOption, VoiceTabLabels, WebContainersI18nProviderProps, WebContainersI18nValue };
4982
+ export { AGENT_ACCESS_TAB_LABELS, AGENT_ANALYTICS_TAB_LABELS, AGENT_API_TAB_LABELS, AGENT_DATASETS_TAB_LABELS, AGENT_DISCLAIMERS_TAB_LABELS, AGENT_EMBED_TAB_LABELS, AGENT_EVALUATION_TAB_LABELS, AGENT_GRADER_TAB_LABELS, AGENT_HISTORY_TAB_LABELS, AGENT_HUMAN_SUPPORT_TAB_LABELS, AGENT_LLM_TAB_LABELS, AGENT_LTI_TAB_LABELS, AGENT_MEMORY_TAB_LABELS, AGENT_PICKER_LABELS, AGENT_PRIVACY_TAB_LABELS, AGENT_PROMPTS_TAB_LABELS, AGENT_SAFETY_TAB_LABELS, AGENT_SCREENSHARE_TAB_LABELS, AGENT_SEARCH_LABELS, AGENT_SETTINGS_TAB_LABELS, AGENT_SKILLS_TAB_LABELS, AGENT_TASKS_TAB_LABELS, AGENT_TOOLS_TAB_LABELS, AGENT_VOICE_TAB_LABELS, AccessibilityFab, AccessibilityProvider, AccessibilityToolbar, Account, AgentAccessTab, AgentAnalyticsTab, AgentApiTab, AgentCard, AgentDatasetsTab, AgentDisclaimersTab, AgentEmbedTab, AgentEmptyState, AgentEvaluationTab, AgentGraderTab, AgentHistoryTab, AgentHumanSupportTab, AgentLLMTab, AgentLtiTab, AgentMemoryTab, AgentPrivacyTab, AgentPromptsTab, AgentSafetyTab, AgentScreenShareTab, AgentSearch, AgentSearchFilters, AgentSearchInput, AgentSettingsProvider, AgentSettingsTab, AgentSkillsTab, AgentSpendCapsTab, AgentTasksTab, AgentToolsTab, AgentVoiceTab, AppSidebar, ApprovalsModeButton, CATALOGS, Chat, ChatDownloadDialog, Markdown as ChatMarkdown, ClientErrorPage, ConversationStarters, CopyButton, CopyMentorModal, CourseBox, CourseContentLayout, CourseContentTabPage, CreatePathwayModal, CredentialDetailModal, CredentialMiniBox, DEFAULT_ANALYTICS_HUB_TABS, DRAGGABLE_SNAP_TRANSITION, DeleteMentorModal, EMPTY_PROGRAM_SETTINGS_FORM, EdxIframe, ErrorPage, FloatingAccessibilityButton, GRADING_TOOL_NAME, GreetingMethod, LLMProviderModal, LocalModelRow, MEMORY_SUB_TABS, McpTab, MediaBox, MentorSelectionGrid, NavBar, OrganizationTab, PERMISSION_MODES, PERMISSION_MODE_ICONS, PLATFORM_SIDEBAR_FLYOUT_ITEM_COLOR, PLATFORM_SIDEBAR_FLYOUT_TITLE_COLOR, PLATFORM_SIDEBAR_NAV_ACTIVE_BG_OPEN, PLATFORM_SIDEBAR_NAV_MUTED, PathwayDetailModal, PlatformAccountSheet, PlatformSidebar, PlatformSidebarCollapsedLabelFlyout, PlatformSidebarCollapsedNavFlyout, PlatformSidebarFooter, PlatformSidebarNavDivider, PlatformSidebarNavSection, PlatformSidebarSubNavItem, ProfileInfoCards, ProfileTabs, ProgramDetailModal, ProjectsSidebarDropdown, SPEND_CAPS_SUB_TABS, SidebarInset, SidebarProvider, SidebarTrigger, SpendCapUsage, SsoLogin, StarButton, UserProfileDropdown, UserProfileModal, WebContainersI18nProvider, addPermissionRequest, buildExcelExport, buildTextExport, chatExportFilename, clearImagePreviews, createApprovalModeStore, dropPermissionRequest, formatDateString, getCatalog, getProviderName, imagePreviewsReducer, initializeLocalStorageWithObject, resetCodePermissionsForTests, resolveAgentPickerLabels, resolveAgentSearchLabels, resolveLLMTabLabels, resolveSettingsTabLabels, selectImagePreviews, setChatMarkdownTelemetry, setImagePreview, useAccessibility, useAgentSearch, useAgentSearchWithPagination, useAgentSettings, useAgentStar, useCodePermissionRequests, useCodePermissionSessions, useComposerToolPill, useDraggablePosition, useGetChatDetails, usePlatformSidebarFooterActions, usePlatformSidebarNavCallback, useSidebar, useT, useTimeTracker, useToggleTools, useWebContainersI18n, useWebContainersLocale };
4983
+ export type { AccessTabLabels, AccessibilityContextType, AccessibilityFabProps, AccessibilitySettings, AccessibilityToolbarProps, AcpToolCall, AgentAccessTabProps, AgentAnalyticsTabProps, AgentApiTabProps, AgentCardProps, AgentDatasetsTabProps, AgentDisclaimersTabProps, AgentEmbedTabProps, AgentEmptyStateProps, AgentEvaluationTabProps, AgentGraderTabProps, AgentHistoryTabProps, AgentHumanSupportTabProps, AgentLLMTabProps, AgentLtiTabProps, AgentMemoryTabProps, AgentPickerLabels, AgentPrivacyTabProps, AgentPromptsTabProps, AgentSafetyTabProps, AgentScreenShareTabProps, AgentSearchFiltersLabels, AgentSearchFiltersProps, AgentSearchFiltersState, AgentSearchInputProps, AgentSearchLabels, AgentSearchProps, AgentSearchResult, AgentSearchSection, AgentSettingsContextValue, AgentSettingsTabProps, AgentSkillsTabProps, AgentSpendCapsTabProps, AgentTasksTabProps, AgentToolsTabProps, AgentVoiceTabProps, AnalyticsHubTab, AnalyticsTabLabels, ApiKey, ApiTabLabels, ApprovalModeStore, ApprovalsModeButtonLabels, ApprovalsModeButtonProps, ChatBrowseBridge, ChatConfig, ChatDownloadDialogProps, ChatEventBus, ChatExportFormat, ChatExportLabels, ChatExportScope, ChatFeatures, ChatLabels, ChatMarkdownComponent, ChatMarkdownTelemetry, ChatProps, ChatSaveFile, ChatSlots, CopyMentorTenant, CourseBoxCourse, CourseBoxProps, CourseContentLayoutProps, CourseContentTab, CourseContentTabPageProps, CreatePathwayFormData, CreatePathwayModalCourse, CreatePathwayModalProps, CreatePathwayModalResource, CreatedByFilter, CredentialDetailAssertion, CredentialDetailModalProps, CredentialMiniBoxProps, Dataset, DatasetsTabLabels, DeepPartial, DisclaimersTabLabels, DraggableAnchor, DraggableCorner, DraggablePosition, DraggableSide, EdxIframeProps, EmbedTabLabels, EmbedUrlConfig, EvaluationTabLabels, GraderTabLabels, HistoryTabLabels, HumanSupportTabLabels, LLMModelSelection, LLMProvider, LLMProviderModalProps, Provider as LLMProviderType, LLMTabLabels, LocalModelRowLabels, LocalModelRowProps, LocalRowStatus, LtiTabLabels, McpTabProps, MediaBoxProps, MemoryTabLabels, MentorSelectionGridProps, PathwayDetailCourse, PathwayDetailModalProps, PermissionMode, PermissionRequest, PlatformAccountSheetProps, PlatformAccountTab, PlatformSidebarCustomSectionConfig, PlatformSidebarDividerSectionConfig, PlatformSidebarFooterActionId, PlatformSidebarFooterConfig, PlatformSidebarMenu, PlatformSidebarMenuItem, PlatformSidebarMenuSectionConfig, PlatformSidebarNavIcon, PlatformSidebarPrimaryAction, PlatformSidebarProps, PlatformSidebarSectionConfig, PlatformSidebarSectionContext, PrivacyTabLabels, ProfileInfoCardsProps, ProfileInfoSummary, ProfileTabItem, ProfileTabsProps, ProfileTopContent, ProgramDetailCourse, ProgramDetailModalProps, ProgramDetailProgram, ProgramSettingsFormData, ProjectsConfig, ProjectsSidebarDropdownProps, PromptsEditFormValues, PromptsSelectedPrompt, PromptsTabLabels, SafetyEditFormValues, SafetySelectedPrompt, SafetyTabLabels, ScreenShareTabLabels, SettingsTabLabels, SkillsTabLabels, SpendCapUsageProps, SsoProvider, StarButtonProps, SupportTicketsFilter, TaskDisplayStatus, TaskListItem, TaskLog, TasksTabLabels, ToolsTabLabels, UploadedFile, UseAgentSearchConfig, UseAgentSearchResult, UseAgentSearchWithPaginationConfig, UseAgentSearchWithPaginationResult, UseAgentStarConfig, UseAgentStarResult, UseDraggablePositionOptions, UseTimeTrackerConfig, UseTimeTrackerReturn, UserMetadata, UserProfileDropdownProps, VisibilityOption, VoiceTabLabels, WebContainersI18nProviderProps, WebContainersI18nValue };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-containers",
3
- "version": "1.46.0",
3
+ "version": "1.48.0",
4
4
  "description": "ibl web containers",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -177,6 +177,7 @@
177
177
  "unified": "11.0.5",
178
178
  "unist-util-visit": "5.1.0",
179
179
  "use-debounce": "10.0.4",
180
+ "write-excel-file": "4.0.7",
180
181
  "zod": "3.24.2"
181
182
  },
182
183
  "peerDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-containers",
3
- "version": "1.47.0",
3
+ "version": "1.49.0",
4
4
  "description": "ibl web containers",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -163,6 +163,7 @@
163
163
  "unified": "11.0.5",
164
164
  "unist-util-visit": "5.1.0",
165
165
  "use-debounce": "10.0.4",
166
+ "write-excel-file": "4.0.7",
166
167
  "zod": "3.24.2"
167
168
  },
168
169
  "peerDependencies": {
@@ -179,8 +180,8 @@
179
180
  "react-remove-scroll-bar": "^2.3.8",
180
181
  "sonner": "^2.0.0",
181
182
  "@iblai/agent-ai": "2.13.1",
182
- "@iblai/data-layer": "1.33.0",
183
- "@iblai/web-utils": "2.12.0"
183
+ "@iblai/data-layer": "1.33.1",
184
+ "@iblai/web-utils": "2.12.1"
184
185
  },
185
186
  "peerDependenciesMeta": {
186
187
  "@livekit/components-react": {