@arbidocs/blocks 0.4.127 → 0.4.129

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 (115) hide show
  1. package/README.md +21 -7
  2. package/dist/{StreamedArtifactEditor-EEYAXJ4H.cjs → StreamedArtifactEditor-TQAND4H5.cjs} +6 -5
  3. package/dist/StreamedArtifactEditor-TQAND4H5.cjs.map +1 -0
  4. package/dist/{StreamedArtifactEditor-TDATDYD2.js → StreamedArtifactEditor-XQNANTWM.js} +4 -3
  5. package/dist/StreamedArtifactEditor-XQNANTWM.js.map +1 -0
  6. package/dist/agents/index.cjs +213 -213
  7. package/dist/agents/index.js +2 -2
  8. package/dist/artifacts/ArtifactCodeView.d.ts +6 -0
  9. package/dist/artifacts/ArtifactPreview.d.ts +22 -0
  10. package/dist/artifacts/index.cjs +50 -21
  11. package/dist/artifacts/index.d.ts +3 -0
  12. package/dist/artifacts/index.js +2 -1
  13. package/dist/artifacts/sandbox-policy.d.ts +34 -0
  14. package/dist/artifacts/sandboxDocument.d.ts +7 -0
  15. package/dist/calendar/index.cjs +156 -243
  16. package/dist/calendar/index.cjs.map +1 -1
  17. package/dist/calendar/index.js +8 -151
  18. package/dist/calendar/index.js.map +1 -1
  19. package/dist/chat/index.cjs +90 -73
  20. package/dist/chat/index.d.ts +1 -0
  21. package/dist/chat/index.js +3 -2
  22. package/dist/chat/open-document.d.ts +66 -0
  23. package/dist/{chunk-INW76PEL.cjs → chunk-2YV7FBLO.cjs} +175 -2
  24. package/dist/chunk-2YV7FBLO.cjs.map +1 -0
  25. package/dist/{chunk-DZI7WOUD.cjs → chunk-3BJLNKOB.cjs} +6 -2
  26. package/dist/chunk-3BJLNKOB.cjs.map +1 -0
  27. package/dist/{chunk-KELGOCJA.js → chunk-65S53MZK.js} +174 -5
  28. package/dist/chunk-65S53MZK.js.map +1 -0
  29. package/dist/{chunk-T6I6ZCBE.js → chunk-6BTCDKCK.js} +6 -3
  30. package/dist/chunk-6BTCDKCK.js.map +1 -0
  31. package/dist/{chunk-ZLRQ5K77.cjs → chunk-7423V6RM.cjs} +6 -3
  32. package/dist/chunk-7423V6RM.cjs.map +1 -0
  33. package/dist/{chunk-6Z72CXZR.js → chunk-CJBN5HIS.js} +6 -2
  34. package/dist/chunk-CJBN5HIS.js.map +1 -0
  35. package/dist/{chunk-XFKF3WRN.cjs → chunk-DZYAAL4H.cjs} +2 -2
  36. package/dist/{chunk-XFKF3WRN.cjs.map → chunk-DZYAAL4H.cjs.map} +1 -1
  37. package/dist/chunk-GYCQ3FNL.js +60 -0
  38. package/dist/chunk-GYCQ3FNL.js.map +1 -0
  39. package/dist/{chunk-UUXKB3WQ.js → chunk-H2KQ6OSU.js} +2 -2
  40. package/dist/{chunk-UUXKB3WQ.js.map → chunk-H2KQ6OSU.js.map} +1 -1
  41. package/dist/{chunk-T2CVFK2I.js → chunk-HSFLEVZY.js} +3 -3
  42. package/dist/{chunk-T2CVFK2I.js.map → chunk-HSFLEVZY.js.map} +1 -1
  43. package/dist/{chunk-MCPRNDOJ.cjs → chunk-JLTXVW25.cjs} +3 -3
  44. package/dist/{chunk-MCPRNDOJ.cjs.map → chunk-JLTXVW25.cjs.map} +1 -1
  45. package/dist/chunk-NS4JD2VR.js +22 -0
  46. package/dist/chunk-NS4JD2VR.js.map +1 -0
  47. package/dist/chunk-SWQX6CTT.cjs +65 -0
  48. package/dist/chunk-SWQX6CTT.cjs.map +1 -0
  49. package/dist/chunk-TGJNPKST.js +153 -0
  50. package/dist/chunk-TGJNPKST.js.map +1 -0
  51. package/dist/chunk-TGWTLNXW.cjs +177 -0
  52. package/dist/chunk-TGWTLNXW.cjs.map +1 -0
  53. package/dist/chunk-VG24E4JJ.cjs +26 -0
  54. package/dist/chunk-VG24E4JJ.cjs.map +1 -0
  55. package/dist/components/DroppableContainer.d.ts +6 -0
  56. package/dist/components/GridRowNavigator.d.ts +29 -0
  57. package/dist/components/LoadingIndicator.d.ts +21 -0
  58. package/dist/components/RowNavigatorControls.d.ts +29 -0
  59. package/dist/components/SharedCell.d.ts +27 -0
  60. package/dist/connect/docx.cjs +4 -3
  61. package/dist/connect/docx.cjs.map +1 -1
  62. package/dist/connect/docx.js +3 -2
  63. package/dist/connect/docx.js.map +1 -1
  64. package/dist/connect/index.cjs +22 -20
  65. package/dist/connect/index.cjs.map +1 -1
  66. package/dist/connect/index.js +12 -10
  67. package/dist/connect/index.js.map +1 -1
  68. package/dist/connection/mail/types.d.ts +2 -6
  69. package/dist/facts/index.cjs +5 -23
  70. package/dist/facts/index.cjs.map +1 -1
  71. package/dist/facts/index.d.ts +0 -1
  72. package/dist/facts/index.js +6 -22
  73. package/dist/facts/index.js.map +1 -1
  74. package/dist/index.cjs +616 -417
  75. package/dist/index.cjs.map +1 -1
  76. package/dist/index.d.ts +5 -0
  77. package/dist/index.js +189 -11
  78. package/dist/index.js.map +1 -1
  79. package/dist/sandboxDocument-JLEETIWW.js +71 -0
  80. package/dist/sandboxDocument-JLEETIWW.js.map +1 -0
  81. package/dist/sandboxDocument-WQUNODSC.cjs +76 -0
  82. package/dist/sandboxDocument-WQUNODSC.cjs.map +1 -0
  83. package/dist/settings/DraggableHeader.d.ts +10 -0
  84. package/dist/settings/FilterChip.d.ts +15 -0
  85. package/dist/settings/MessageJsonTree.d.ts +7 -0
  86. package/dist/settings/index.cjs +248 -5
  87. package/dist/settings/index.cjs.map +1 -1
  88. package/dist/settings/index.d.ts +3 -0
  89. package/dist/settings/index.js +247 -7
  90. package/dist/settings/index.js.map +1 -1
  91. package/dist/settings/message-schema-hints.d.ts +19 -0
  92. package/dist/studio/index.cjs +3 -2
  93. package/dist/studio/index.cjs.map +1 -1
  94. package/dist/studio/index.js +2 -1
  95. package/dist/studio/index.js.map +1 -1
  96. package/dist/workflow-canvas/index.cjs +9 -9
  97. package/dist/workflow-canvas/index.js +2 -2
  98. package/dist/workspaces/index.cjs +39 -0
  99. package/dist/workspaces/index.cjs.map +1 -1
  100. package/dist/workspaces/index.d.ts +1 -0
  101. package/dist/workspaces/index.js +36 -1
  102. package/dist/workspaces/index.js.map +1 -1
  103. package/dist/workspaces/workspace-type.d.ts +29 -0
  104. package/node_modules/@arbidocs/coedit/package.json +1 -1
  105. package/package.json +6 -5
  106. package/src/docx/README.md +7 -3
  107. package/dist/StreamedArtifactEditor-EEYAXJ4H.cjs.map +0 -1
  108. package/dist/StreamedArtifactEditor-TDATDYD2.js.map +0 -1
  109. package/dist/chunk-6Z72CXZR.js.map +0 -1
  110. package/dist/chunk-DZI7WOUD.cjs.map +0 -1
  111. package/dist/chunk-INW76PEL.cjs.map +0 -1
  112. package/dist/chunk-KELGOCJA.js.map +0 -1
  113. package/dist/chunk-T6I6ZCBE.js.map +0 -1
  114. package/dist/chunk-ZLRQ5K77.cjs.map +0 -1
  115. package/dist/facts/timezone.d.ts +0 -4
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  export { MemberAvatarStack } from './chunk-XNOASBGW.js';
3
3
  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-2MJWWPHY.js';
4
4
  export { UsageMeter, usageMeterState } from './chunk-IBZJYCYM.js';
5
- export { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from './chunk-LYUO3E6V.js';
6
5
  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, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from './chunk-D3N67Q4D.js';
6
+ export { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from './chunk-LYUO3E6V.js';
7
7
  export { DataTable, DataTableBlock, MetricCard, PageHeader, StatGroup } from './chunk-ZCF2JJFA.js';
8
8
  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-DLBUFHLY.js';
9
9
  export { Timeline } from './chunk-OVEQERPO.js';
@@ -15,13 +15,13 @@ export { DEFAULT_TAG_COLUMNS_EDITOR_LABELS, DEFAULT_TAG_TABLE_DOCX_LABELS, DEFAU
15
15
  export { MailDeliveryBadge, MailDeliveryList, MailDocumentPicker, MailGrid, MailMessagePreview, MailMessageView, NEEDS_CONNECTION, PlainMailBodyEditor, draftMailCompose, emptyMailCompose, hasCalendarPart, mailAddressLabel, parseMailRecipients, replyMailCompose } from './chunk-6HCJ3ZEU.js';
16
16
  import { DetailLoading, DetailBody, DetailSection, DetailFields, DetailField, DetailLinkList, DetailLinkItem, DetailEmpty } from './chunk-ZCOVDK2E.js';
17
17
  export { DEFAULT_DETAIL_PANEL_LABELS, DetailBody, DetailEmpty, DetailField, DetailFields, DetailLinkItem, DetailLinkList, DetailLoading, DetailPanel, DetailSection } from './chunk-ZCOVDK2E.js';
18
- export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from './chunk-A2YAC22G.js';
19
- export { TIMELINE_ZOOM, TimelineCalendar, TimelineGantt, TimelineZoomControl, dayKey, formatSpan, monthLabel, parseIso, utcDay } from './chunk-4EZVCGRL.js';
20
18
  import { groupDefinitions, compareDefinitions, minuteUtc, page, cell, documentXml, paragraph, docxPackage, TABLE_DOCUMENT_STYLES } from './chunk-QXMR5YHC.js';
21
19
  export { DEFINITIONS_LABEL, DEFINITION_BOOKMARK_PREFIX, compareDefinitions, compareTerms, definitionBookmark, definitionIdOfBookmark, definitionLabels, filterTermGroups, groupDefinitions, parseDefinition, termKey, toDefinition } from './chunk-QXMR5YHC.js';
20
+ export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from './chunk-A2YAC22G.js';
21
+ export { TIMELINE_ZOOM, TimelineCalendar, TimelineGantt, TimelineZoomControl, dayKey, formatSpan, monthLabel, parseIso, utcDay } from './chunk-4EZVCGRL.js';
22
22
  import './chunk-AF6RDAJF.js';
23
23
  export { Callout } from './chunk-UJE32SST.js';
24
- 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, ConversationListView, ConversationTurnSpeaker, 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_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_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_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, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, 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, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from './chunk-T2CVFK2I.js';
24
+ 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, ConversationListView, ConversationTurnSpeaker, 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_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_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_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, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, 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, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from './chunk-HSFLEVZY.js';
25
25
  import './chunk-RFXJYIDV.js';
26
26
  import './chunk-4XJZ6AAY.js';
27
27
  export { Dot, ToneBadge } from './chunk-5LXQPP2K.js';
@@ -39,14 +39,15 @@ export { AccountRecoveryDialog, AuthAlert, AuthConsent, AuthDivider, AuthField,
39
39
  export { DEFAULT_PASSWORD_STRENGTH_INPUT_LABELS, PasswordStrengthInput } from './chunk-VILAPTCB.js';
40
40
  import './chunk-TX2ZICS7.js';
41
41
  export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-4WWM3GQ5.js';
42
- export { AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationFilter, 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_DRAFTING_DOC_CHIP_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, DraftingDocChip, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, ProvisionalTranscriptLine, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, TranscriptLine, flashMessage, getParticipantTints, hasMessageBody, isLongPastedText, transcriptRuns, useDismissibleCard, useLongPaste, useRecipientDraft } from './chunk-UUXKB3WQ.js';
42
+ export { AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationFilter, 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_DRAFTING_DOC_CHIP_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, DraftingDocChip, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, ProvisionalTranscriptLine, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, TranscriptLine, flashMessage, getParticipantTints, hasMessageBody, isLongPastedText, transcriptRuns, useDismissibleCard, useLongPaste, useRecipientDraft } from './chunk-H2KQ6OSU.js';
43
43
  export { DEFAULT_DOCK_WIDTH, Toaster } from './chunk-OKERRHLH.js';
44
44
  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, DEFAULT_WORKFLOW_STEP_CHIP_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageAuthor, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, WorkflowStepChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from './chunk-PUCY3UXN.js';
45
45
  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-7XF5SFJ2.js';
46
+ export { savedDocumentIdFor, takeOpenDocumentForTurn, useOpenDocumentId, useRegisterOpenDocument } from './chunk-GYCQ3FNL.js';
46
47
  export { DEFAULT_ASSIGNEE_WORDING, DEFAULT_STEP_DOCUMENT_LABELS, DEFAULT_STEP_KIND_LABELS, DEFAULT_STEP_RECORD_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STEP_KIND_ICONS, StepDocumentButton, StepDocumentCards, StepRecord, WORKFLOW_STEP_KINDS, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepDocuments, stepFields, stepKindOf, stepLevels, stepPhase, stepStatesFromActivity, upstreamSteps, useMentionAutocomplete, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from './chunk-2DFDFOM7.js';
47
48
  export { TONES, isTone } from './chunk-AUS3KBHJ.js';
48
- export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from './chunk-SLSBJRWW.js';
49
49
  export { DEFAULT_MENTION_LABELS, MENTION_HREF_PREFIX, MentionChip, MentionMenu, extractMentions, filterMentionCandidates, findMentionQuery, insertMention, linkMentions, mentionFromHref, toMessageMentions, useListKeyNav } from './chunk-AA3PT6KR.js';
50
+ export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from './chunk-SLSBJRWW.js';
50
51
  import './chunk-Z3AZ7Q5X.js';
51
52
  import './chunk-NPLYHR2E.js';
52
53
  import './chunk-7F6CBP3Z.js';
@@ -54,12 +55,189 @@ export { CitationEditor, DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS,
54
55
  export { BlocksProvider, useBlocksEnvironment } from './chunk-76JDDMSP.js';
55
56
  export { daysUntil, displayName, fmtDate, fmtDateTime, formatCount, formatCurrency, formatPageRefs, fromNow, hrs, initials, pct, pluralize } from './chunk-OXF2IFXG.js';
56
57
  import './chunk-VUNV25KB.js';
57
- import { Search, Pencil, Sparkles, FileText, Lightbulb, MessagesSquare, X, Plus } from 'lucide-react';
58
- import { Input, cn, Textarea, Button } from '@arbidocs/react/ui';
58
+ import { VisibilityToggle, cn, Input, Textarea, Button } from '@arbidocs/react/ui';
59
59
  export { DocumentCard, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@arbidocs/react/ui';
60
- import { jsxs, jsx } from 'react/jsx-runtime';
61
- import { useState, useEffect, useRef } from 'react';
60
+ import { jsx, jsxs } from 'react/jsx-runtime';
61
+ import { useDroppable } from '@dnd-kit/core';
62
+ import { ChevronLeft, ChevronRight, Search, Pencil, Sparkles, FileText, Lightbulb, MessagesSquare, X, Plus } from 'lucide-react';
63
+ import { memo, useState, useCallback, useEffect, useRef } from 'react';
62
64
 
65
+ function LoadingIndicator({
66
+ message,
67
+ size = "medium",
68
+ centered = true,
69
+ fullScreen = false,
70
+ className,
71
+ testId = "loading-indicator"
72
+ }) {
73
+ const sizeClasses = {
74
+ small: "h-4 w-4 border",
75
+ medium: "h-8 w-8 border-2",
76
+ large: "h-12 w-12 border-2"
77
+ };
78
+ const containerClasses = cn(
79
+ "flex flex-col items-center justify-center gap-3",
80
+ {
81
+ "h-64": centered && !fullScreen,
82
+ "fixed inset-0 bg-background/75 z-50": fullScreen
83
+ },
84
+ className
85
+ );
86
+ const spinnerClasses = cn(
87
+ "animate-spin rounded-full border-border border-t-primary",
88
+ sizeClasses[size]
89
+ );
90
+ return /* @__PURE__ */ jsxs("div", { className: containerClasses, "data-testid": testId, children: [
91
+ /* @__PURE__ */ jsx("div", { className: spinnerClasses }),
92
+ message && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: message })
93
+ ] });
94
+ }
95
+ function DroppableContainer({ id, children, className = "" }) {
96
+ const { setNodeRef } = useDroppable({ id });
97
+ return /* @__PURE__ */ jsx("div", { ref: setNodeRef, className, children });
98
+ }
99
+ function RowNavigatorControls({
100
+ total: total2,
101
+ currentIndex,
102
+ onGo,
103
+ testId,
104
+ itemLabel = "row",
105
+ keepWhenEmpty = false
106
+ }) {
107
+ if (total2 === 0 && !keepWhenEmpty) return null;
108
+ return /* @__PURE__ */ jsxs("span", { className: "flex shrink-0 items-center gap-0.5", "data-testid": `${testId}-nav`, children: [
109
+ /* @__PURE__ */ jsx(
110
+ "button",
111
+ {
112
+ type: "button",
113
+ "aria-label": `Previous ${itemLabel}`,
114
+ "data-testid": `${testId}-nav-prev`,
115
+ disabled: total2 === 0 || currentIndex === null || currentIndex <= 0,
116
+ onClick: () => onGo((currentIndex ?? 0) - 1),
117
+ className: "rounded p-0.5 text-muted-foreground enabled:hover:bg-accent enabled:hover:text-foreground disabled:opacity-30 pointer-coarse:size-11! shrink-0",
118
+ children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
119
+ }
120
+ ),
121
+ /* @__PURE__ */ jsxs(
122
+ "span",
123
+ {
124
+ className: "whitespace-nowrap tabular-nums text-sm font-light text-muted-foreground",
125
+ "data-testid": `${testId}-nav-position`,
126
+ children: [
127
+ currentIndex !== null ? currentIndex + 1 : "\u2013",
128
+ " / ",
129
+ total2 > 0 ? total2 : "\u2013"
130
+ ]
131
+ }
132
+ ),
133
+ /* @__PURE__ */ jsx(
134
+ "button",
135
+ {
136
+ type: "button",
137
+ "aria-label": `Next ${itemLabel}`,
138
+ "data-testid": `${testId}-nav-next`,
139
+ disabled: total2 === 0 || currentIndex !== null && currentIndex >= total2 - 1,
140
+ onClick: () => onGo(currentIndex === null ? 0 : currentIndex + 1),
141
+ className: "rounded p-0.5 text-muted-foreground enabled:hover:bg-accent enabled:hover:text-foreground disabled:opacity-30 pointer-coarse:size-11! shrink-0",
142
+ children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })
143
+ }
144
+ )
145
+ ] });
146
+ }
147
+ var ROW_MODEL_EVENTS = ["modelUpdated", "sortChanged", "filterChanged", "rowDataUpdated"];
148
+ function GridRowNavigator({
149
+ gridApi,
150
+ selectedId,
151
+ onSelect,
152
+ testId,
153
+ itemLabel = "row"
154
+ }) {
155
+ const [{ total: total2, currentIndex }, setPosition] = useState({ total: 0, currentIndex: null });
156
+ const readPosition = useCallback(() => {
157
+ if (!gridApi || gridApi.isDestroyed()) {
158
+ setPosition({ total: 0, currentIndex: null });
159
+ return;
160
+ }
161
+ const total3 = gridApi.getDisplayedRowCount();
162
+ const node = selectedId ? gridApi.getRowNode(selectedId) : void 0;
163
+ const index = node?.rowIndex;
164
+ setPosition({ total: total3, currentIndex: typeof index === "number" && index >= 0 ? index : null });
165
+ }, [gridApi, selectedId]);
166
+ useEffect(() => {
167
+ readPosition();
168
+ if (!gridApi || gridApi.isDestroyed()) return;
169
+ for (const ev of ROW_MODEL_EVENTS) gridApi.addEventListener(ev, readPosition);
170
+ return () => {
171
+ if (gridApi.isDestroyed()) return;
172
+ for (const ev of ROW_MODEL_EVENTS) gridApi.removeEventListener(ev, readPosition);
173
+ };
174
+ }, [gridApi, readPosition]);
175
+ const goTo = (index) => {
176
+ if (!gridApi || gridApi.isDestroyed()) return;
177
+ const clamped = Math.max(0, Math.min(total2 - 1, index));
178
+ const node = gridApi.getDisplayedRowAtIndex(clamped);
179
+ if (!node?.data) return;
180
+ gridApi.ensureIndexVisible(clamped, "middle");
181
+ onSelect(node.data);
182
+ };
183
+ return /* @__PURE__ */ jsx(
184
+ RowNavigatorControls,
185
+ {
186
+ total: total2,
187
+ currentIndex,
188
+ onGo: goTo,
189
+ testId,
190
+ itemLabel
191
+ }
192
+ );
193
+ }
194
+ function SharedCellComponent({
195
+ item,
196
+ onToggle,
197
+ disabled = false,
198
+ disabledTooltip,
199
+ disablePrivate = false,
200
+ tooltipActive,
201
+ tooltipInactive,
202
+ workspaceLabel
203
+ }) {
204
+ const isShared = item.shared ?? item.is_shared ?? false;
205
+ return /* @__PURE__ */ jsx(
206
+ "div",
207
+ {
208
+ className: "flex justify-center items-center h-full",
209
+ "data-testid": `shared-cell-${item.external_id}`,
210
+ children: /* @__PURE__ */ jsx(
211
+ VisibilityToggle,
212
+ {
213
+ items: item,
214
+ onToggle,
215
+ disabled,
216
+ disabledTooltip,
217
+ disablePrivate,
218
+ showLabel: false,
219
+ tooltipActive,
220
+ tooltipInactive,
221
+ workspaceLabel,
222
+ "data-testid": `${isShared ? "active-share-button" : "inactive-share-button"}`
223
+ }
224
+ )
225
+ }
226
+ );
227
+ }
228
+ function arePropsEqual(prevProps, nextProps) {
229
+ if (prevProps.item.external_id !== nextProps.item.external_id) return false;
230
+ if (prevProps.item.shared !== nextProps.item.shared) return false;
231
+ if (prevProps.item.is_shared !== nextProps.item.is_shared) return false;
232
+ if (prevProps.disabled !== nextProps.disabled) return false;
233
+ if (prevProps.disabledTooltip !== nextProps.disabledTooltip) return false;
234
+ if (prevProps.disablePrivate !== nextProps.disablePrivate) return false;
235
+ if (prevProps.tooltipActive !== nextProps.tooltipActive) return false;
236
+ if (prevProps.tooltipInactive !== nextProps.tooltipInactive) return false;
237
+ if (prevProps.workspaceLabel !== nextProps.workspaceLabel) return false;
238
+ return true;
239
+ }
240
+ var SharedCell = memo(SharedCellComponent, arePropsEqual);
63
241
  function Toolbar({
64
242
  search,
65
243
  onSearch,
@@ -829,6 +1007,6 @@ function glossaryFileName(title, extension) {
829
1007
  return `${title.replace(/[\\/:*?"<>|]+/g, " ").trim() || "Glossary"}.${extension}`;
830
1008
  }
831
1009
 
832
- export { AskBar, DEFAULT_GLOSSARY_LABELS, DEFAULT_TAGS_NAV_LABELS, DEFAULT_TAG_DETAIL_LABELS, EntityIdentityBar, EntityTooltip, EntityTooltipHeader, EntityTooltipHint, EntityTooltipSection, EntityTooltipStats, IDENTITY_NAME_MAX_LENGTH, TagDetail, TagsNav, Toolbar, findTagsNavItem, glossaryDocumentXml, glossaryDocx, glossaryEntries, glossaryFileName, glossaryMarkdown };
1010
+ export { AskBar, DEFAULT_GLOSSARY_LABELS, DEFAULT_TAGS_NAV_LABELS, DEFAULT_TAG_DETAIL_LABELS, DroppableContainer, EntityIdentityBar, EntityTooltip, EntityTooltipHeader, EntityTooltipHint, EntityTooltipSection, EntityTooltipStats, GridRowNavigator, IDENTITY_NAME_MAX_LENGTH, LoadingIndicator, RowNavigatorControls, SharedCell, TagDetail, TagsNav, Toolbar, findTagsNavItem, glossaryDocumentXml, glossaryDocx, glossaryEntries, glossaryFileName, glossaryMarkdown };
833
1011
  //# sourceMappingURL=index.js.map
834
1012
  //# sourceMappingURL=index.js.map