@arbidocs/blocks 0.4.27 → 0.4.29

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 (107) hide show
  1. package/README.md +17 -0
  2. package/dist/agents/index.cjs +224 -212
  3. package/dist/agents/index.js +6 -6
  4. package/dist/agents/tasks/TaskRowMenu.d.ts +4 -1
  5. package/dist/agents/tasks/TaskRunsDialog.d.ts +3 -1
  6. package/dist/agents/tasks/taskRows.d.ts +2 -0
  7. package/dist/agents/workflows/WorkflowDocumentsField.d.ts +12 -0
  8. package/dist/agents/workflows/index.d.ts +2 -0
  9. package/dist/agents/workflows/workspaceScope.d.ts +18 -0
  10. package/dist/chat/ChatPage.d.ts +1 -1
  11. package/dist/chat/chat-page-types.d.ts +12 -1
  12. package/dist/chat/index.cjs +129 -129
  13. package/dist/chat/index.js +2 -2
  14. package/dist/chunk-4XJZ6AAY.js +407 -0
  15. package/dist/chunk-4XJZ6AAY.js.map +1 -0
  16. package/dist/{chunk-UOLMFC5K.js → chunk-6YVI74BC.js} +498 -108
  17. package/dist/chunk-6YVI74BC.js.map +1 -0
  18. package/dist/{chunk-CQ6CYPV4.js → chunk-7FF473XB.js} +7 -119
  19. package/dist/chunk-7FF473XB.js.map +1 -0
  20. package/dist/{chunk-ZEIOREJY.js → chunk-EHXSBH6U.js} +37 -6
  21. package/dist/chunk-EHXSBH6U.js.map +1 -0
  22. package/dist/chunk-EYPPB5CY.cjs +85 -0
  23. package/dist/chunk-EYPPB5CY.cjs.map +1 -0
  24. package/dist/{chunk-ENY6XXKR.js → chunk-I7FJS7WG.js} +155 -39
  25. package/dist/chunk-I7FJS7WG.js.map +1 -0
  26. package/dist/{chunk-557EU3G4.js → chunk-JLOYWXRB.js} +3 -3
  27. package/dist/{chunk-557EU3G4.js.map → chunk-JLOYWXRB.js.map} +1 -1
  28. package/dist/chunk-KF4EC5XU.js +68 -0
  29. package/dist/chunk-KF4EC5XU.js.map +1 -0
  30. package/dist/{chunk-3ZXXHROK.cjs → chunk-L6YRTT5M.cjs} +158 -39
  31. package/dist/chunk-L6YRTT5M.cjs.map +1 -0
  32. package/dist/chunk-S5HZBXZA.cjs +430 -0
  33. package/dist/chunk-S5HZBXZA.cjs.map +1 -0
  34. package/dist/{chunk-JCVZKCXC.cjs → chunk-TLQQV7WW.cjs} +37 -6
  35. package/dist/chunk-TLQQV7WW.cjs.map +1 -0
  36. package/dist/{chunk-NNH7N62N.cjs → chunk-VMCOH3AY.cjs} +497 -105
  37. package/dist/chunk-VMCOH3AY.cjs.map +1 -0
  38. package/dist/{chunk-JLPYOPCX.js → chunk-WSJVHSGN.js} +225 -36
  39. package/dist/chunk-WSJVHSGN.js.map +1 -0
  40. package/dist/{chunk-DCEI37AX.cjs → chunk-YVIOCITQ.cjs} +3 -3
  41. package/dist/{chunk-DCEI37AX.cjs.map → chunk-YVIOCITQ.cjs.map} +1 -1
  42. package/dist/{chunk-J22DXUJY.cjs → chunk-ZHLMDJCO.cjs} +226 -34
  43. package/dist/chunk-ZHLMDJCO.cjs.map +1 -0
  44. package/dist/{chunk-TL2DHSC5.cjs → chunk-ZXGBUHES.cjs} +5 -120
  45. package/dist/chunk-ZXGBUHES.cjs.map +1 -0
  46. package/dist/connect/docx.cjs +26 -8
  47. package/dist/connect/docx.cjs.map +1 -1
  48. package/dist/connect/docx.d.ts +1 -0
  49. package/dist/connect/docx.js +24 -7
  50. package/dist/connect/docx.js.map +1 -1
  51. package/dist/connect/index.cjs +303 -61
  52. package/dist/connect/index.cjs.map +1 -1
  53. package/dist/connect/index.d.ts +4 -0
  54. package/dist/connect/index.js +263 -25
  55. package/dist/connect/index.js.map +1 -1
  56. package/dist/connection/ConnectedAgentChatPanel.d.ts +7 -0
  57. package/dist/connection/ConnectedNativeDocxEditor.d.ts +2 -1
  58. package/dist/connection/ConnectedSkillUpload.d.ts +2 -0
  59. package/dist/connection/ConnectedStreamedWordArtifact.d.ts +4 -0
  60. package/dist/connection/ConnectedTaskAccessRequest.d.ts +4 -0
  61. package/dist/connection/ai.d.ts +4 -1
  62. package/dist/connection/useConnectedWorkNotifications.d.ts +21 -0
  63. package/dist/docx/DocxMentions.d.ts +9 -2
  64. package/dist/docx/NativeDocxEditor.d.ts +11 -3
  65. package/dist/docx/StreamedWordArtifact.d.ts +15 -0
  66. package/dist/docx/index.cjs +16 -8
  67. package/dist/docx/index.d.ts +3 -2
  68. package/dist/docx/index.js +2 -2
  69. package/dist/docx/streamWordDocument.d.ts +12 -0
  70. package/dist/facts/index.cjs +1 -1
  71. package/dist/facts/index.js +1 -1
  72. package/dist/files/index.cjs +3 -3
  73. package/dist/files/index.js +3 -3
  74. package/dist/index.cjs +778 -766
  75. package/dist/index.js +15 -15
  76. package/dist/settings/index.cjs +42 -232
  77. package/dist/settings/index.cjs.map +1 -1
  78. package/dist/settings/index.js +7 -203
  79. package/dist/settings/index.js.map +1 -1
  80. package/dist/site/index.cjs +5 -5
  81. package/dist/site/index.js +1 -1
  82. package/dist/studio/index.cjs +7 -6
  83. package/dist/studio/index.cjs.map +1 -1
  84. package/dist/studio/index.js +5 -4
  85. package/dist/studio/index.js.map +1 -1
  86. package/dist/workspaces/index.cjs +2 -2
  87. package/dist/workspaces/index.js +2 -2
  88. package/package.json +3 -3
  89. package/src/docx/styles.css +13 -0
  90. package/dist/chunk-3ZXXHROK.cjs.map +0 -1
  91. package/dist/chunk-5TRALRWN.js +0 -42
  92. package/dist/chunk-5TRALRWN.js.map +0 -1
  93. package/dist/chunk-CQ6CYPV4.js.map +0 -1
  94. package/dist/chunk-CQCC7LE7.js +0 -210
  95. package/dist/chunk-CQCC7LE7.js.map +0 -1
  96. package/dist/chunk-ENY6XXKR.js.map +0 -1
  97. package/dist/chunk-EUOGPUMJ.cjs +0 -59
  98. package/dist/chunk-EUOGPUMJ.cjs.map +0 -1
  99. package/dist/chunk-J22DXUJY.cjs.map +0 -1
  100. package/dist/chunk-JCVZKCXC.cjs.map +0 -1
  101. package/dist/chunk-JLPYOPCX.js.map +0 -1
  102. package/dist/chunk-NNH7N62N.cjs.map +0 -1
  103. package/dist/chunk-RFIBUWLF.cjs +0 -232
  104. package/dist/chunk-RFIBUWLF.cjs.map +0 -1
  105. package/dist/chunk-TL2DHSC5.cjs.map +0 -1
  106. package/dist/chunk-UOLMFC5K.js.map +0 -1
  107. package/dist/chunk-ZEIOREJY.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,39 +1,39 @@
1
1
  "use client";
2
- export { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from './chunk-IAKUTBPX.js';
2
+ export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from './chunk-ZJ6RIPFS.js';
3
3
  export { DataTable, DataTableBlock, MetricCard, PageHeader, StatGroup } from './chunk-YMHGF6R5.js';
4
- export { Accordion, AvatarBlock, Banner, BlockImage, BlockLink, CTABanner, Columns, ContactForm, Container, FAQ, FONT_PAIRINGS, FeatureGrid, Footer, Gallery, Hero, ListBlock, LogoCloud, MediaText, Navbar, PricingTable, ProfileCard, RichTextBlock, SectionHeading, Spacer, Steps, THEME_STYLE_ID, Tabs, TeamGrid, Testimonial, TestimonialGrid, ThemeEditor, VideoEmbed, applyFontVars, applyStoredTheme, applyThemeVars, clearFontVars, clearThemeVars, createThemeStore, fontPackages, getFontPairing, matchFontPairing, tid, toEmbedUrl, toHslTriplet } from './chunk-KXMDOTGW.js';
5
- export { Timeline } from './chunk-OVEQERPO.js';
6
4
  export { MemberAvatarStack } from './chunk-XNOASBGW.js';
7
- export { TIMELINE_ZOOM, TimelineCalendar, TimelineGantt, TimelineZoomControl, dayKey, formatSpan, monthLabel, parseIso, utcDay } from './chunk-4EZVCGRL.js';
8
- export { Callout } from './chunk-UJE32SST.js';
9
5
  export { ApplyLabelButton, ApplyLabelDialog, DEFAULT_APPLY_LABEL_DIALOG_LABELS, DEFAULT_RELEVANCE_STEPS, DEFAULT_SEARCH_BAR_LABELS, DEFAULT_SEARCH_EMPTY_STATE_LABELS, DEFAULT_SEARCH_GROUP_HEADER_LABELS, DEFAULT_SEARCH_NO_RESULTS_LABELS, DEFAULT_SEARCH_PAGINATION_LABELS, DEFAULT_SEARCH_TOTALS_LABELS, DOCUMENT_SEARCH_NOUNS, Highlight, RelevanceThreshold, SearchBar, SearchControlsBar, SearchEmptyState, SearchErrorBanner, SearchGroupCard, SearchGroupHeader, SearchNoResults, SearchPageBody, SearchPageFrame, SearchPageHeader, SearchPagination, SearchPillToggle, SearchResultList, SearchResultsInner, SearchResultsMain, SearchToolbarRow, SearchTotalsHeadline, getPageNumbers, highlightTerms, searchNouns, splitByTerms, stripMarkdownLinks } from './chunk-HER7MTRR.js';
10
6
  export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from './chunk-A2YAC22G.js';
11
7
  export { UsageMeter } from './chunk-U2E3WT3J.js';
12
- export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from './chunk-ZJ6RIPFS.js';
13
- export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_REVIEW_ACTIONS_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskReviewActions, TaskRunsDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost } from './chunk-ENY6XXKR.js';
8
+ export { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from './chunk-IAKUTBPX.js';
9
+ export { Accordion, AvatarBlock, Banner, BlockImage, BlockLink, CTABanner, Columns, ContactForm, Container, FAQ, FONT_PAIRINGS, FeatureGrid, Footer, Gallery, Hero, ListBlock, LogoCloud, MediaText, Navbar, PricingTable, ProfileCard, RichTextBlock, SectionHeading, Spacer, Steps, THEME_STYLE_ID, Tabs, TeamGrid, Testimonial, TestimonialGrid, ThemeEditor, VideoEmbed, applyFontVars, applyStoredTheme, applyThemeVars, clearFontVars, clearThemeVars, createThemeStore, fontPackages, getFontPairing, matchFontPairing, tid, toEmbedUrl, toHslTriplet } from './chunk-KXMDOTGW.js';
10
+ export { Timeline } from './chunk-OVEQERPO.js';
11
+ export { Callout } from './chunk-UJE32SST.js';
12
+ export { TIMELINE_ZOOM, TimelineCalendar, TimelineGantt, TimelineZoomControl, dayKey, formatSpan, monthLabel, parseIso, utcDay } from './chunk-4EZVCGRL.js';
13
+ export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_REVIEW_ACTIONS_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskReviewActions, TaskRunsDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost } from './chunk-I7FJS7WG.js';
14
14
  export { EmptyState } from './chunk-P6GHJSLR.js';
15
- import './chunk-NUPVHEJW.js';
16
15
  import './chunk-NJL4LIXX.js';
17
- import './chunk-CQCC7LE7.js';
18
- export { Dot, ToneBadge } from './chunk-DPLRHEJZ.js';
19
16
  export { ActionLink } from './chunk-S7PSMMRG.js';
17
+ import './chunk-NUPVHEJW.js';
18
+ import './chunk-4XJZ6AAY.js';
20
19
  export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-UBNVIIBT.js';
20
+ export { Dot, ToneBadge } from './chunk-DPLRHEJZ.js';
21
21
  export { AccountRecoveryDialog, AuthAlert, AuthConsent, AuthDivider, AuthField, AuthFieldBadge, AuthFooterLinks, AuthHeading, AuthHero, AuthInput, AuthLayout, AuthLink, AuthNote, AuthOfflineBadge, AuthSubmitButton, AuthTabs, DEFAULT_ACCOUNT_RECOVERY_DIALOG_LABELS, DEFAULT_AUTH_CONSENT_LABELS, DEFAULT_AUTH_FOOTER_LINKS_LABELS, DEFAULT_AUTH_OFFLINE_BADGE_LABELS, DEFAULT_RECOVERY_KEY_DIALOG_LABELS, DEFAULT_REVEALABLE_PASSWORD_INPUT_LABELS, DEFAULT_SSO_LOGIN_BUTTON_LABELS, RecoveryKeyDialog, RevealablePasswordInput, SsoLoginButton } from './chunk-QN42OA5J.js';
22
22
  export { DEFAULT_PASSWORD_STRENGTH_INPUT_LABELS, PasswordStrengthInput } from './chunk-VILAPTCB.js';
23
- export { AssistantModeToggle, AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSearchView, ConversationSettingsButton, DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, isLongPastedText, useDismissibleCard, useLongPaste, useMentionAutocomplete } from './chunk-CQ6CYPV4.js';
24
- export { AssistantDock, AssistantDockToggle, ChatDocuments, ChatMessageContent, ChatPage, ChatThreadList, ChatThreadSelect, CitationMark, Composer, ComposerBranchingNotice, ComposerContainer, ComposerDock, ComposerFrame, ComposerInput, ComposerRoot, ComposerSend, ComposerToolbar, ComposerVoiceButton, ContextChip, ConversationEmpty, DEFAULT_CHAT_PAGE_LABELS, DEFAULT_COMPOSER_LABELS, DEFAULT_CONVERSATION_EMPTY_LABELS, DEFAULT_MESSAGE_ALERT_LABELS, DEFAULT_MESSAGE_LABELS, DEFAULT_MESSAGE_LIST_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from './chunk-JLPYOPCX.js';
23
+ export { AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSearchView, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, isLongPastedText, useDismissibleCard, useLongPaste } from './chunk-7FF473XB.js';
25
24
  export { DEFAULT_DOCK_WIDTH, Toaster } from './chunk-BV7FEMSI.js';
25
+ export { AssistantDock, AssistantDockToggle, AssistantModeToggle, ChatDocuments, ChatMessageContent, ChatPage, ChatThreadList, ChatThreadSelect, CitationMark, Composer, ComposerBranchingNotice, ComposerContainer, ComposerDock, ComposerFrame, ComposerInput, ComposerRoot, ComposerSend, ComposerToolbar, ComposerVoiceButton, ContextChip, ConversationEmpty, DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS, DEFAULT_CHAT_PAGE_LABELS, DEFAULT_COMPOSER_LABELS, DEFAULT_CONVERSATION_EMPTY_LABELS, DEFAULT_MESSAGE_ALERT_LABELS, DEFAULT_MESSAGE_LABELS, DEFAULT_MESSAGE_LIST_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, toSpeakableText, useAssistantDock, useChatSurface, useMentionAutocomplete, useRegisterEmbeddedChat, useStreamAnnouncement } from './chunk-WSJVHSGN.js';
26
26
  export { BlocksTooltipProvider, DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from './chunk-KZJAG7T3.js';
27
27
  export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from './chunk-SLSBJRWW.js';
28
28
  import './chunk-NPLYHR2E.js';
29
+ export { CitationEditor, DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from './chunk-XQKGYGCJ.js';
30
+ export { BlocksProvider, useBlocksEnvironment } from './chunk-76JDDMSP.js';
31
+ export { daysUntil, displayName, fmtDate, fmtDateTime, formatCount, formatCurrency, formatPageRefs, fromNow, hrs, initials, pct, pluralize } from './chunk-OXF2IFXG.js';
29
32
  export { ActionMenu, AddContactsForm, AddContactsResults, ContactCard, DEFAULT_ADD_CONTACTS_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_CONTACT_OUTCOME_LABELS, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_DM_INVITE_CHIP_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_MAIL_FOLDER_TREE_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmInviteChip, DmNewTabIcon, DmThreadFrame, DmThreadHeader, MAX_INVITE_EMAILS, MailFolderTree, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, RecipientPicker, RoleSelect, WorkspaceDeleteButton, buildMailFolderTree, contactToVCard, descendantFolderIds, downloadVCard, isInboxFolder, parseEmails, toAddContactsRow, toAddContactsRows, toggleMailFolder, vCardFilename } from './chunk-OJSWQM4G.js';
30
33
  import './chunk-NBV56SGU.js';
31
34
  export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from './chunk-K4BGOPGG.js';
32
35
  import './chunk-CPMNAJLF.js';
33
36
  import './chunk-TJMKFY5P.js';
34
- export { CitationEditor, DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from './chunk-XQKGYGCJ.js';
35
- export { BlocksProvider, useBlocksEnvironment } from './chunk-76JDDMSP.js';
36
- export { daysUntil, displayName, fmtDate, fmtDateTime, formatCount, formatCurrency, formatPageRefs, fromNow, hrs, initials, pct, pluralize } from './chunk-OXF2IFXG.js';
37
37
  export { DEFAULT_MENTION_LABELS, MENTION_HREF_PREFIX, MentionChip, MentionMenu, extractMentions, filterMentionCandidates, findMentionQuery, insertMention, linkMentions, mentionFromHref, toMessageMentions, useListKeyNav } from './chunk-AA3PT6KR.js';
38
38
  import './chunk-7F6CBP3Z.js';
39
39
  import { Search, Pencil, Sparkles } from 'lucide-react';
@@ -1,24 +1,23 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkDCEI37AX_cjs = require('../chunk-DCEI37AX.cjs');
4
+ var chunkYVIOCITQ_cjs = require('../chunk-YVIOCITQ.cjs');
5
5
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
6
6
  var chunkCRIKTUEU_cjs = require('../chunk-CRIKTUEU.cjs');
7
- var chunkRFIBUWLF_cjs = require('../chunk-RFIBUWLF.cjs');
8
- var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
7
+ var chunkS5HZBXZA_cjs = require('../chunk-S5HZBXZA.cjs');
9
8
  var chunk5B4PXAKI_cjs = require('../chunk-5B4PXAKI.cjs');
9
+ var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
10
10
  require('../chunk-ADOKTJHV.cjs');
11
11
  require('../chunk-PPCATBOY.cjs');
12
+ var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
12
13
  var chunk2ZTONLT5_cjs = require('../chunk-2ZTONLT5.cjs');
13
14
  require('../chunk-DCDVWPMB.cjs');
14
- var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
15
15
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
16
16
  var react = require('react');
17
17
  var lucideReact = require('lucide-react');
18
18
  var ui = require('@arbidocs/react/ui');
19
19
  var jsxRuntime = require('react/jsx-runtime');
20
20
  var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
21
- var cmdk = require('cmdk');
22
21
  var classVarianceAuthority = require('class-variance-authority');
23
22
 
24
23
  function _interopNamespace(e) {
@@ -1361,201 +1360,6 @@ function SyncFolderStatus({
1361
1360
  }
1362
1361
  );
1363
1362
  }
1364
- var TOKEN_WARNING_THRESHOLD = 15e4;
1365
- var TOKEN_DANGER_THRESHOLD = 19e4;
1366
- var DEFAULT_DOCUMENT_PICKER_LABELS = {
1367
- placeholder: "Select a document",
1368
- searchDocuments: "Search documents...",
1369
- noDocuments: "No documents found.",
1370
- selectedAsSource: "Selected as source",
1371
- selectAsSource: "Select as source",
1372
- largeDocument: "Large document \u2014 may take longer to process",
1373
- tooLong: "Document is too long to be read in its entirety",
1374
- pages: (n) => `${n.toLocaleString()} pages`,
1375
- tokens: (n) => `${n.toLocaleString()} tokens`
1376
- };
1377
- function DocumentPicker({
1378
- groups,
1379
- value,
1380
- onValueChange,
1381
- selected,
1382
- selectedIds,
1383
- onOpenDocument,
1384
- viewingId,
1385
- forceClosed = false,
1386
- listClassName,
1387
- labels
1388
- }) {
1389
- const l = react.useMemo(() => ({ ...DEFAULT_DOCUMENT_PICKER_LABELS, ...labels }), [labels]);
1390
- const multi = selectedIds !== void 0;
1391
- const isChosen = (id) => multi ? selectedIds.includes(id) : value === id;
1392
- const [open, setOpen] = react.useState(false);
1393
- react.useEffect(() => {
1394
- if (forceClosed) setOpen(false);
1395
- }, [forceClosed]);
1396
- const anchorRef = react.useRef(null);
1397
- const leadingControl = (id) => onOpenDocument ? (
1398
- // cmdk selects a row on click and prevents its mousedown (to keep input focus), which would
1399
- // swallow a checkbox press. Stopping the events lets the checkbox toggle on its own.
1400
- /* @__PURE__ */ jsxRuntime.jsx(
1401
- "span",
1402
- {
1403
- className: "mr-2 flex items-center",
1404
- onClick: (e) => e.stopPropagation(),
1405
- onMouseDown: (e) => e.stopPropagation(),
1406
- onPointerDown: (e) => e.stopPropagation(),
1407
- children: /* @__PURE__ */ jsxRuntime.jsx(
1408
- ui.Checkbox,
1409
- {
1410
- checked: isChosen(id),
1411
- onCheckedChange: () => onValueChange(id),
1412
- "aria-label": isChosen(id) ? l.selectedAsSource : l.selectAsSource,
1413
- "data-testid": `document-combobox-select-${id}`
1414
- }
1415
- )
1416
- }
1417
- )
1418
- ) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: ui.cn("mr-2 size-4", isChosen(id) ? "opacity-100" : "opacity-0") });
1419
- const itemClass = (id) => ui.cn(
1420
- onOpenDocument && "cursor-pointer",
1421
- onOpenDocument && isChosen(id) && "bg-primary/10 aria-selected:bg-primary/15",
1422
- // Inverted so the open one is unmistakable, over cmdk's own hover tint.
1423
- viewingId === id && "bg-foreground text-background data-[selected=true]:bg-foreground data-[selected=true]:text-background"
1424
- );
1425
- const renderGroups = () => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1426
- /* @__PURE__ */ jsxRuntime.jsx(ui.CommandEmpty, { children: l.noDocuments }),
1427
- groups.map((group) => /* @__PURE__ */ jsxRuntime.jsx(ui.CommandGroup, { heading: group.heading, children: group.docs.map((doc) => /* @__PURE__ */ jsxRuntime.jsxs(
1428
- ui.CommandItem,
1429
- {
1430
- value: doc.id,
1431
- keywords: [doc.title],
1432
- className: itemClass(doc.id),
1433
- onSelect: () => {
1434
- if (onOpenDocument) {
1435
- onOpenDocument(doc.id);
1436
- return;
1437
- }
1438
- onValueChange(doc.id);
1439
- if (!multi) setOpen(false);
1440
- },
1441
- children: [
1442
- leadingControl(doc.id),
1443
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mr-2 flex shrink-0 items-center", children: ui.getDocIcon(doc.fileName ?? void 0) }),
1444
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: ui.cn("truncate", onOpenDocument && "hover:underline"), children: doc.title })
1445
- ]
1446
- },
1447
- doc.id
1448
- )) }, group.id))
1449
- ] });
1450
- const contentClass = "w-[var(--radix-popover-trigger-width)] border-0 bg-muted p-0 shadow-md";
1451
- const tokens = selected?.tokens ?? null;
1452
- const pages = selected?.pages ?? null;
1453
- const isDanger = tokens != null && tokens > TOKEN_DANGER_THRESHOLD;
1454
- const isWarning = tokens != null && tokens > TOKEN_WARNING_THRESHOLD && !isDanger;
1455
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "document-picker", children: [
1456
- multi ? (
1457
- // The input IS the anchor: the list opens beneath the row as soon as it is focused or
1458
- // typed into. cmdk's context reaches the portaled list, so arrows/Enter still drive it.
1459
- /* @__PURE__ */ jsxRuntime.jsx(ui.Command, { children: /* @__PURE__ */ jsxRuntime.jsxs(ui.Popover, { open, onOpenChange: setOpen, children: [
1460
- /* @__PURE__ */ jsxRuntime.jsx(ui.PopoverAnchor, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
1461
- "div",
1462
- {
1463
- ref: anchorRef,
1464
- className: "flex h-9 w-full items-center gap-2 rounded-md border border-input bg-transparent px-3 shadow-sm transition-colors focus-within:ring-1 focus-within:ring-ring pointer-coarse:h-11",
1465
- "data-testid": "document-combobox-trigger",
1466
- children: [
1467
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "size-4 shrink-0 opacity-50" }),
1468
- /* @__PURE__ */ jsxRuntime.jsx(
1469
- cmdk.Command.Input,
1470
- {
1471
- placeholder: l.placeholder,
1472
- "aria-expanded": open,
1473
- className: "h-full w-full bg-transparent text-base outline-none placeholder:text-muted-foreground md:text-sm",
1474
- onFocus: () => setOpen(true),
1475
- onValueChange: () => setOpen(true),
1476
- onKeyDown: (e) => {
1477
- if (e.key === "ArrowDown" || e.key === "ArrowUp") setOpen(true);
1478
- if (e.key === "Escape") setOpen(false);
1479
- },
1480
- "data-testid": "document-combobox-search"
1481
- }
1482
- )
1483
- ]
1484
- }
1485
- ) }),
1486
- /* @__PURE__ */ jsxRuntime.jsx(
1487
- ui.PopoverContent,
1488
- {
1489
- className: contentClass,
1490
- align: "start",
1491
- onOpenAutoFocus: (e) => e.preventDefault(),
1492
- onFocusOutside: (e) => e.preventDefault(),
1493
- onInteractOutside: (e) => {
1494
- const target = e.target;
1495
- if (anchorRef.current?.contains(target) || target?.closest(
1496
- '[data-testid="parsed-viewer"], [role="dialog"], [data-radix-popper-content-wrapper]'
1497
- )) {
1498
- e.preventDefault();
1499
- }
1500
- },
1501
- children: /* @__PURE__ */ jsxRuntime.jsx(ui.CommandList, { className: listClassName, children: renderGroups() })
1502
- }
1503
- )
1504
- ] }) })
1505
- ) : /* @__PURE__ */ jsxRuntime.jsxs(ui.Popover, { open, onOpenChange: setOpen, children: [
1506
- /* @__PURE__ */ jsxRuntime.jsx(ui.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
1507
- "button",
1508
- {
1509
- type: "button",
1510
- role: "combobox",
1511
- "aria-expanded": open,
1512
- className: ui.cn(
1513
- "flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring md:text-sm pointer-coarse:h-11",
1514
- !value && "text-muted-foreground"
1515
- ),
1516
- "data-testid": "document-combobox-trigger",
1517
- children: [
1518
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: selected?.title || l.placeholder }),
1519
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronsUpDown, { className: "ml-2 size-4 shrink-0 opacity-50" })
1520
- ]
1521
- }
1522
- ) }),
1523
- /* @__PURE__ */ jsxRuntime.jsx(ui.PopoverContent, { className: contentClass, align: "start", children: /* @__PURE__ */ jsxRuntime.jsxs(ui.Command, { children: [
1524
- /* @__PURE__ */ jsxRuntime.jsx(ui.CommandInput, { placeholder: l.searchDocuments }),
1525
- /* @__PURE__ */ jsxRuntime.jsx(ui.CommandList, { className: listClassName, children: renderGroups() })
1526
- ] }) })
1527
- ] }),
1528
- selected && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 space-y-1", "data-testid": "document-combobox-info", children: [
1529
- /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm text-muted-foreground", children: [
1530
- pages != null && /* @__PURE__ */ jsxRuntime.jsx("span", { children: l.pages(pages) }),
1531
- pages != null && tokens != null && /* @__PURE__ */ jsxRuntime.jsx("span", { children: " \xB7 " }),
1532
- tokens != null && /* @__PURE__ */ jsxRuntime.jsx("span", { children: l.tokens(tokens) })
1533
- ] }),
1534
- isWarning && /* @__PURE__ */ jsxRuntime.jsxs(
1535
- "p",
1536
- {
1537
- className: "flex items-center gap-1.5 text-sm text-yellow-text",
1538
- "data-testid": "document-combobox-warning",
1539
- children: [
1540
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlert, { className: "size-3.5 shrink-0" }),
1541
- l.largeDocument
1542
- ]
1543
- }
1544
- ),
1545
- isDanger && /* @__PURE__ */ jsxRuntime.jsxs(
1546
- "p",
1547
- {
1548
- className: "flex items-center gap-1.5 text-sm text-red-text",
1549
- "data-testid": "document-combobox-danger",
1550
- children: [
1551
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlert, { className: "size-3.5 shrink-0" }),
1552
- l.tooLong
1553
- ]
1554
- }
1555
- )
1556
- ] })
1557
- ] });
1558
- }
1559
1363
  var DEFAULT_TRI_STATE_FILTER_MENU_LABELS = { clear: "Clear" };
1560
1364
  function TriStateFilterMenu({
1561
1365
  testId,
@@ -3884,119 +3688,119 @@ function ErrorDialogView({
3884
3688
 
3885
3689
  Object.defineProperty(exports, "ActiveSessionsDialog", {
3886
3690
  enumerable: true,
3887
- get: function () { return chunkDCEI37AX_cjs.ActiveSessionsDialog; }
3691
+ get: function () { return chunkYVIOCITQ_cjs.ActiveSessionsDialog; }
3888
3692
  });
3889
3693
  Object.defineProperty(exports, "AvatarPicker", {
3890
3694
  enumerable: true,
3891
- get: function () { return chunkDCEI37AX_cjs.AvatarPicker; }
3695
+ get: function () { return chunkYVIOCITQ_cjs.AvatarPicker; }
3892
3696
  });
3893
3697
  Object.defineProperty(exports, "DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS", {
3894
3698
  enumerable: true,
3895
- get: function () { return chunkDCEI37AX_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
3699
+ get: function () { return chunkYVIOCITQ_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
3896
3700
  });
3897
3701
  Object.defineProperty(exports, "DEFAULT_AVATAR_PICKER_LABELS", {
3898
3702
  enumerable: true,
3899
- get: function () { return chunkDCEI37AX_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
3703
+ get: function () { return chunkYVIOCITQ_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
3900
3704
  });
3901
3705
  Object.defineProperty(exports, "DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS", {
3902
3706
  enumerable: true,
3903
- get: function () { return chunkDCEI37AX_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
3707
+ get: function () { return chunkYVIOCITQ_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
3904
3708
  });
3905
3709
  Object.defineProperty(exports, "DEFAULT_LOGOUT_DIALOG_LABELS", {
3906
3710
  enumerable: true,
3907
- get: function () { return chunkDCEI37AX_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
3711
+ get: function () { return chunkYVIOCITQ_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
3908
3712
  });
3909
3713
  Object.defineProperty(exports, "DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS", {
3910
3714
  enumerable: true,
3911
- get: function () { return chunkDCEI37AX_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
3715
+ get: function () { return chunkYVIOCITQ_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
3912
3716
  });
3913
3717
  Object.defineProperty(exports, "DEFAULT_PROFILE_CARD_LABELS", {
3914
3718
  enumerable: true,
3915
- get: function () { return chunkDCEI37AX_cjs.DEFAULT_PROFILE_CARD_LABELS; }
3719
+ get: function () { return chunkYVIOCITQ_cjs.DEFAULT_PROFILE_CARD_LABELS; }
3916
3720
  });
3917
3721
  Object.defineProperty(exports, "DEFAULT_SETTINGS_DANGER_ZONE_LABELS", {
3918
3722
  enumerable: true,
3919
- get: function () { return chunkDCEI37AX_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
3723
+ get: function () { return chunkYVIOCITQ_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
3920
3724
  });
3921
3725
  Object.defineProperty(exports, "DeleteAccountDialog", {
3922
3726
  enumerable: true,
3923
- get: function () { return chunkDCEI37AX_cjs.DeleteAccountDialog; }
3727
+ get: function () { return chunkYVIOCITQ_cjs.DeleteAccountDialog; }
3924
3728
  });
3925
3729
  Object.defineProperty(exports, "EMAIL_NOTIFICATION_CATEGORIES", {
3926
3730
  enumerable: true,
3927
- get: function () { return chunkDCEI37AX_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
3731
+ get: function () { return chunkYVIOCITQ_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
3928
3732
  });
3929
3733
  Object.defineProperty(exports, "EMAIL_NOTIFICATION_KEYS", {
3930
3734
  enumerable: true,
3931
- get: function () { return chunkDCEI37AX_cjs.EMAIL_NOTIFICATION_KEYS; }
3735
+ get: function () { return chunkYVIOCITQ_cjs.EMAIL_NOTIFICATION_KEYS; }
3932
3736
  });
3933
3737
  Object.defineProperty(exports, "LogoutDialog", {
3934
3738
  enumerable: true,
3935
- get: function () { return chunkDCEI37AX_cjs.LogoutDialog; }
3739
+ get: function () { return chunkYVIOCITQ_cjs.LogoutDialog; }
3936
3740
  });
3937
3741
  Object.defineProperty(exports, "NotificationCategoryList", {
3938
3742
  enumerable: true,
3939
- get: function () { return chunkDCEI37AX_cjs.NotificationCategoryList; }
3743
+ get: function () { return chunkYVIOCITQ_cjs.NotificationCategoryList; }
3940
3744
  });
3941
3745
  Object.defineProperty(exports, "PasswordChangeDialog", {
3942
3746
  enumerable: true,
3943
- get: function () { return chunkDCEI37AX_cjs.PasswordChangeDialog; }
3747
+ get: function () { return chunkYVIOCITQ_cjs.PasswordChangeDialog; }
3944
3748
  });
3945
3749
  Object.defineProperty(exports, "ProfileCard", {
3946
3750
  enumerable: true,
3947
- get: function () { return chunkDCEI37AX_cjs.ProfileCard; }
3751
+ get: function () { return chunkYVIOCITQ_cjs.ProfileCard; }
3948
3752
  });
3949
3753
  Object.defineProperty(exports, "SettingsActionRow", {
3950
3754
  enumerable: true,
3951
- get: function () { return chunkDCEI37AX_cjs.SettingsActionRow; }
3755
+ get: function () { return chunkYVIOCITQ_cjs.SettingsActionRow; }
3952
3756
  });
3953
3757
  Object.defineProperty(exports, "SettingsCard", {
3954
3758
  enumerable: true,
3955
- get: function () { return chunkDCEI37AX_cjs.SettingsCard; }
3759
+ get: function () { return chunkYVIOCITQ_cjs.SettingsCard; }
3956
3760
  });
3957
3761
  Object.defineProperty(exports, "SettingsDangerZone", {
3958
3762
  enumerable: true,
3959
- get: function () { return chunkDCEI37AX_cjs.SettingsDangerZone; }
3763
+ get: function () { return chunkYVIOCITQ_cjs.SettingsDangerZone; }
3960
3764
  });
3961
3765
  Object.defineProperty(exports, "SettingsPanel", {
3962
3766
  enumerable: true,
3963
- get: function () { return chunkDCEI37AX_cjs.SettingsPanel; }
3767
+ get: function () { return chunkYVIOCITQ_cjs.SettingsPanel; }
3964
3768
  });
3965
3769
  Object.defineProperty(exports, "SettingsRow", {
3966
3770
  enumerable: true,
3967
- get: function () { return chunkDCEI37AX_cjs.SettingsRow; }
3771
+ get: function () { return chunkYVIOCITQ_cjs.SettingsRow; }
3968
3772
  });
3969
3773
  Object.defineProperty(exports, "SettingsSection", {
3970
3774
  enumerable: true,
3971
- get: function () { return chunkDCEI37AX_cjs.SettingsSection; }
3775
+ get: function () { return chunkYVIOCITQ_cjs.SettingsSection; }
3972
3776
  });
3973
3777
  Object.defineProperty(exports, "SettingsSwitchGroup", {
3974
3778
  enumerable: true,
3975
- get: function () { return chunkDCEI37AX_cjs.SettingsSwitchGroup; }
3779
+ get: function () { return chunkYVIOCITQ_cjs.SettingsSwitchGroup; }
3976
3780
  });
3977
3781
  Object.defineProperty(exports, "SettingsSwitchRow", {
3978
3782
  enumerable: true,
3979
- get: function () { return chunkDCEI37AX_cjs.SettingsSwitchRow; }
3783
+ get: function () { return chunkYVIOCITQ_cjs.SettingsSwitchRow; }
3980
3784
  });
3981
3785
  Object.defineProperty(exports, "formatSessionTtl", {
3982
3786
  enumerable: true,
3983
- get: function () { return chunkDCEI37AX_cjs.formatSessionTtl; }
3787
+ get: function () { return chunkYVIOCITQ_cjs.formatSessionTtl; }
3984
3788
  });
3985
3789
  Object.defineProperty(exports, "toActiveSessionViews", {
3986
3790
  enumerable: true,
3987
- get: function () { return chunkDCEI37AX_cjs.toActiveSessionViews; }
3791
+ get: function () { return chunkYVIOCITQ_cjs.toActiveSessionViews; }
3988
3792
  });
3989
3793
  Object.defineProperty(exports, "toDeleteBlockerViews", {
3990
3794
  enumerable: true,
3991
- get: function () { return chunkDCEI37AX_cjs.toDeleteBlockerViews; }
3795
+ get: function () { return chunkYVIOCITQ_cjs.toDeleteBlockerViews; }
3992
3796
  });
3993
3797
  Object.defineProperty(exports, "toLogoutSessionViews", {
3994
3798
  enumerable: true,
3995
- get: function () { return chunkDCEI37AX_cjs.toLogoutSessionViews; }
3799
+ get: function () { return chunkYVIOCITQ_cjs.toLogoutSessionViews; }
3996
3800
  });
3997
3801
  Object.defineProperty(exports, "toNotificationCategories", {
3998
3802
  enumerable: true,
3999
- get: function () { return chunkDCEI37AX_cjs.toNotificationCategories; }
3803
+ get: function () { return chunkYVIOCITQ_cjs.toNotificationCategories; }
4000
3804
  });
4001
3805
  Object.defineProperty(exports, "ModalBreadcrumbHeader", {
4002
3806
  enumerable: true,
@@ -4006,9 +3810,17 @@ Object.defineProperty(exports, "ModalCrumbs", {
4006
3810
  enumerable: true,
4007
3811
  get: function () { return chunk223D4727_cjs.ModalCrumbs; }
4008
3812
  });
3813
+ Object.defineProperty(exports, "DEFAULT_DOCUMENT_PICKER_LABELS", {
3814
+ enumerable: true,
3815
+ get: function () { return chunkS5HZBXZA_cjs.DEFAULT_DOCUMENT_PICKER_LABELS; }
3816
+ });
3817
+ Object.defineProperty(exports, "DocumentPicker", {
3818
+ enumerable: true,
3819
+ get: function () { return chunkS5HZBXZA_cjs.DocumentPicker; }
3820
+ });
4009
3821
  Object.defineProperty(exports, "MultiSelect", {
4010
3822
  enumerable: true,
4011
- get: function () { return chunkRFIBUWLF_cjs.MultiSelect; }
3823
+ get: function () { return chunkS5HZBXZA_cjs.MultiSelect; }
4012
3824
  });
4013
3825
  Object.defineProperty(exports, "MODAL_SECTION_TITLE_CLASS", {
4014
3826
  enumerable: true,
@@ -4046,7 +3858,6 @@ exports.DEFAULT_CONFIRM_DIALOG_LABELS = DEFAULT_CONFIRM_DIALOG_LABELS;
4046
3858
  exports.DEFAULT_CONNECTION_CARD_LABELS = DEFAULT_CONNECTION_CARD_LABELS;
4047
3859
  exports.DEFAULT_CONVERSATION_TITLE_SECTION_LABELS = DEFAULT_CONVERSATION_TITLE_SECTION_LABELS;
4048
3860
  exports.DEFAULT_DAILY_CAP_FIELD_LABELS = DEFAULT_DAILY_CAP_FIELD_LABELS;
4049
- exports.DEFAULT_DOCUMENT_PICKER_LABELS = DEFAULT_DOCUMENT_PICKER_LABELS;
4050
3861
  exports.DEFAULT_EMAIL_WORKSPACE_DIALOG_LABELS = DEFAULT_EMAIL_WORKSPACE_DIALOG_LABELS;
4051
3862
  exports.DEFAULT_ERROR_DIALOG_LABELS = DEFAULT_ERROR_DIALOG_LABELS;
4052
3863
  exports.DEFAULT_INLINE_NAME_EDITOR_LABELS = DEFAULT_INLINE_NAME_EDITOR_LABELS;
@@ -4075,7 +3886,6 @@ exports.DEFAULT_USAGE_PROPORTION_BAR_LABELS = DEFAULT_USAGE_PROPORTION_BAR_LABEL
4075
3886
  exports.DEFAULT_WELCOME_DIALOG_LABELS = DEFAULT_WELCOME_DIALOG_LABELS;
4076
3887
  exports.DEFAULT_WORK_OFFLINE_LABELS = DEFAULT_WORK_OFFLINE_LABELS;
4077
3888
  exports.DailyCapField = DailyCapField;
4078
- exports.DocumentPicker = DocumentPicker;
4079
3889
  exports.EmailWorkspaceDialogView = EmailWorkspaceDialogView;
4080
3890
  exports.ErrorDialogView = ErrorDialogView;
4081
3891
  exports.FloatingPanel = FloatingPanel;