@arbidocs/blocks 0.4.145 → 0.4.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/index.cjs +266 -266
- package/dist/agents/index.js +9 -9
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/{chunk-ULPFRK3J.cjs → chunk-AINU3EJ6.cjs} +8 -8
- package/dist/{chunk-ULPFRK3J.cjs.map → chunk-AINU3EJ6.cjs.map} +1 -1
- package/dist/{chunk-KPO67GBR.cjs → chunk-AO7SK6WP.cjs} +32 -32
- package/dist/{chunk-KPO67GBR.cjs.map → chunk-AO7SK6WP.cjs.map} +1 -1
- package/dist/{chunk-NGDXDHLG.js → chunk-DAHCRVPM.js} +3 -3
- package/dist/{chunk-NGDXDHLG.js.map → chunk-DAHCRVPM.js.map} +1 -1
- package/dist/{chunk-FUTMU4FR.js → chunk-DGV7HQA7.js} +6 -179
- package/dist/chunk-DGV7HQA7.js.map +1 -0
- package/dist/chunk-EV7W64B6.js +134 -0
- package/dist/chunk-EV7W64B6.js.map +1 -0
- package/dist/{chunk-O6IEZDRC.cjs → chunk-GRGS5M6O.cjs} +181 -3
- package/dist/chunk-GRGS5M6O.cjs.map +1 -0
- package/dist/{chunk-J4M37SXY.js → chunk-H74HEPKT.js} +190 -7
- package/dist/chunk-H74HEPKT.js.map +1 -0
- package/dist/{chunk-NSNHRZBH.cjs → chunk-IL3WB3YX.cjs} +3 -3
- package/dist/{chunk-NSNHRZBH.cjs.map → chunk-IL3WB3YX.cjs.map} +1 -1
- package/dist/{chunk-34GDGE77.cjs → chunk-LTU35TQN.cjs} +192 -6
- package/dist/chunk-LTU35TQN.cjs.map +1 -0
- package/dist/{chunk-VVZ34A2P.js → chunk-LZRMXJIE.js} +3 -3
- package/dist/{chunk-VVZ34A2P.js.map → chunk-LZRMXJIE.js.map} +1 -1
- package/dist/{chunk-OPTBQSCV.cjs → chunk-MFY2ZNP6.cjs} +2 -181
- package/dist/{chunk-FUTMU4FR.js.map → chunk-MFY2ZNP6.cjs.map} +1 -1
- package/dist/{chunk-6HCJ3ZEU.js → chunk-R6VCPDPF.js} +178 -6
- package/dist/chunk-R6VCPDPF.js.map +1 -0
- package/dist/chunk-RXK3XP62.cjs +144 -0
- package/dist/chunk-RXK3XP62.cjs.map +1 -0
- package/dist/{chunk-KTSF4HFC.js → chunk-SUUPR735.js} +6 -6
- package/dist/{chunk-KTSF4HFC.js.map → chunk-SUUPR735.js.map} +1 -1
- package/dist/{chunk-WO7QAVTL.cjs → chunk-T5I4NRFP.cjs} +9 -9
- package/dist/{chunk-WO7QAVTL.cjs.map → chunk-T5I4NRFP.cjs.map} +1 -1
- package/dist/chunk-U37AYUPI.cjs +5371 -0
- package/dist/chunk-U37AYUPI.cjs.map +1 -0
- package/dist/{chunk-QOL3M4FJ.js → chunk-VUR63NMQ.js} +8 -8
- package/dist/{chunk-QOL3M4FJ.js.map → chunk-VUR63NMQ.js.map} +1 -1
- package/dist/chunk-WIZ7Z7FN.js +5179 -0
- package/dist/chunk-WIZ7Z7FN.js.map +1 -0
- package/dist/collaboration/index.cjs +81 -81
- package/dist/collaboration/index.js +3 -3
- package/dist/connect/docx.cjs +9 -9
- package/dist/connect/docx.js +6 -6
- package/dist/connect/index.cjs +1395 -132
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -0
- package/dist/connect/index.js +1278 -24
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedNotificationRelevance.d.ts +4 -1
- package/dist/connection/connectors/ConnectedAppsSettings.d.ts +24 -0
- package/dist/connection/connectors/ConnectedDriveSyncDialog.d.ts +12 -0
- package/dist/connection/connectors/ConnectedMailboxSyncDialog.d.ts +12 -0
- package/dist/connection/connectors/index.d.ts +4 -0
- package/dist/connection/connectors/sync-labels.d.ts +21 -0
- package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +4 -0
- package/dist/connection/settings-page/index.d.ts +1 -1
- package/dist/connection/workspace-settings/ConnectedWorkspaceSettings.d.ts +53 -0
- package/dist/connection/workspace-settings/index.d.ts +2 -0
- package/dist/connection/workspace-settings/useConnectedWorkspaceSettings.d.ts +85 -0
- package/dist/document-tools/index.cjs +1 -1
- package/dist/document-tools/index.js +1 -1
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.js +3 -3
- package/dist/index.cjs +445 -618
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -205
- package/dist/index.js.map +1 -1
- package/dist/settings/PlanBadge.d.ts +1 -1
- package/dist/settings/index.cjs +551 -3716
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +8 -3525
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/site/index.cjs +10 -10
- package/dist/site/index.js +2 -2
- package/dist/studio/index.cjs +3 -3
- package/dist/studio/index.js +3 -3
- package/dist/workflow-canvas/index.cjs +22 -22
- package/dist/workflow-canvas/index.js +9 -9
- package/dist/workspaces/CommonWorkspaceToggle.d.ts +15 -0
- package/dist/workspaces/index.cjs +38 -107
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.d.ts +1 -0
- package/dist/workspaces/index.js +5 -102
- package/dist/workspaces/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-34GDGE77.cjs.map +0 -1
- package/dist/chunk-5YHEHEJT.js +0 -1667
- package/dist/chunk-5YHEHEJT.js.map +0 -1
- package/dist/chunk-6HCJ3ZEU.js.map +0 -1
- package/dist/chunk-J4M37SXY.js.map +0 -1
- package/dist/chunk-O6IEZDRC.cjs.map +0 -1
- package/dist/chunk-OPTBQSCV.cjs.map +0 -1
- package/dist/chunk-U73KPFYH.cjs +0 -1717
- package/dist/chunk-U73KPFYH.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
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';
|
|
3
|
-
export { UsageMeter, usageMeterState } from './chunk-66TA5IBN.js';
|
|
4
3
|
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, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, ShellSidebar, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useCloseOnEscape, useInstallPrompt, useSidebarContext, useSidebarController, useSidebarSettle } from './chunk-H4D7WKDY.js';
|
|
5
4
|
export { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from './chunk-SZOFGU7W.js';
|
|
6
5
|
export { DataTable, DataTableBlock, MetricCard, PageHeader, StatGroup } from './chunk-OVR3XMYL.js';
|
|
7
6
|
export { Accordion, AvatarBlock, Banner, BlockImage, BlockLink, CTABanner, Columns, ContactForm, Container, FAQ, 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, tid, toEmbedUrl, toHslTriplet } from './chunk-VTTZZ4FN.js';
|
|
8
|
-
export {
|
|
7
|
+
export { Callout } from './chunk-UJE32SST.js';
|
|
9
8
|
export { Timeline } from './chunk-OVEQERPO.js';
|
|
10
|
-
export {
|
|
11
|
-
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-FUTMU4FR.js';
|
|
12
|
-
export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from './chunk-K4BGOPGG.js';
|
|
9
|
+
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_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmInviteChip, DmNewTabIcon, DmThreadFrame, DmThreadHeader, MAX_INVITE_EMAILS, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, RecipientPicker, RoleSelect, WorkspaceDeleteButton, contactToVCard, downloadVCard, parseEmails, toAddContactsRow, toAddContactsRows, vCardFilename } from './chunk-DGV7HQA7.js';
|
|
13
10
|
import './chunk-NBV56SGU.js';
|
|
14
|
-
import { DEFAULT_TAG_TABLE_LABELS, rowLinks, TagTableCell } from './chunk-
|
|
15
|
-
export { DEFAULT_TAG_COLUMNS_EDITOR_LABELS, DEFAULT_TAG_TABLE_DOCX_LABELS, DEFAULT_TAG_TABLE_LABELS, DEFAULT_THREAD_FOLLOW_LABELS, DEFAULT_WORKSPACE_ACTIVITY_LABELS, DEFAULT_WORKSPACE_NOTIFICATION_MENU_LABELS, TAG_TABLE_DOCX_LANDSCAPE_AFTER, TagColumnsEditor, TagTable, TagTableCell, ThreadFollowButton, ThreadFollowMenuItem, WorkspaceActivityList, WorkspaceNotificationMenu, cellText, cellValue, fieldWrites, isGap, parseCell, rowLinks, tagTableDocumentXml, tagTableDocx, tagTableMarkdown, workspaceActivityHeadline, workspaceActivityTarget } from './chunk-
|
|
11
|
+
import { DEFAULT_TAG_TABLE_LABELS, rowLinks, TagTableCell } from './chunk-H74HEPKT.js';
|
|
12
|
+
export { DEFAULT_TAG_COLUMNS_EDITOR_LABELS, DEFAULT_TAG_TABLE_DOCX_LABELS, DEFAULT_TAG_TABLE_LABELS, DEFAULT_THREAD_FOLLOW_LABELS, DEFAULT_WORKSPACE_ACTIVITY_LABELS, DEFAULT_WORKSPACE_NOTIFICATION_MENU_LABELS, EntityIdentityBar, IDENTITY_NAME_MAX_LENGTH, LoadingIndicator, TAG_TABLE_DOCX_LANDSCAPE_AFTER, TagColumnsEditor, TagTable, TagTableCell, ThreadFollowButton, ThreadFollowMenuItem, WorkspaceActivityList, WorkspaceNotificationMenu, cellText, cellValue, fieldWrites, isGap, parseCell, rowLinks, tagTableDocumentXml, tagTableDocx, tagTableMarkdown, workspaceActivityHeadline, workspaceActivityTarget } from './chunk-H74HEPKT.js';
|
|
13
|
+
export { MemberAvatarStack } from './chunk-XNOASBGW.js';
|
|
14
|
+
export { UsageMeter, usageMeterState } from './chunk-66TA5IBN.js';
|
|
16
15
|
export { DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, WorkspaceIdentity, WorkspaceSwitcher, workspaceKindColor, workspaceKindMeta } from './chunk-A3XPS2EU.js';
|
|
17
|
-
export {
|
|
16
|
+
export { FONT_PAIRINGS, fontPackages, getFontPairing, matchFontPairing } from './chunk-NHZK64TQ.js';
|
|
17
|
+
export { DEFAULT_MAIL_FOLDER_TREE_LABELS, MailDeliveryBadge, MailDeliveryList, MailDocumentPicker, MailFolderTree, MailGrid, MailMessagePreview, MailMessageView, NEEDS_CONNECTION, PlainMailBodyEditor, buildMailFolderTree, descendantFolderIds, draftMailCompose, emptyMailCompose, hasCalendarPart, isInboxFolder, mailAddressLabel, parseMailRecipients, replyMailCompose, toggleMailFolder } from './chunk-R6VCPDPF.js';
|
|
18
18
|
export { buildDeepLinkPath, buildDeepLinkUrl, parseDeepLinkPath } from './chunk-SV65E4QW.js';
|
|
19
19
|
import { DetailLoading, DetailBody, DetailSection, DetailFields, DetailField, DetailLinkList, DetailLinkItem, DetailEmpty } from './chunk-ZCOVDK2E.js';
|
|
20
20
|
export { DEFAULT_DETAIL_PANEL_LABELS, DetailBody, DetailEmpty, DetailField, DetailFields, DetailLinkItem, DetailLinkList, DetailLoading, DetailPanel, DetailSection } from './chunk-ZCOVDK2E.js';
|
|
@@ -23,22 +23,22 @@ export { DEFINITIONS_LABEL, DEFINITION_BOOKMARK_PREFIX, compareDefinitions, comp
|
|
|
23
23
|
export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from './chunk-EF4ZLKRM.js';
|
|
24
24
|
export { TIMELINE_ZOOM, TimelineCalendar, TimelineGantt, TimelineZoomControl, dayKey, formatSpan, monthLabel, parseIso, utcDay } from './chunk-4EZVCGRL.js';
|
|
25
25
|
import './chunk-AF6RDAJF.js';
|
|
26
|
-
export {
|
|
27
|
-
export { AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentEditView, AgentGallery, AgentMainView, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_STEPS_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_ROW_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_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_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_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillCard, SkillRow, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsToolbar, asTaskStatus, authModeFor, buildRRule, buildTaskRows, compactThreadActivity, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isoToLocalInput, linkedRunsFromActivity, localInputToIso, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowTaskFields, workflowToComposerValues, workflowWhen } from './chunk-
|
|
28
|
-
|
|
29
|
-
export { Dot, ToneBadge } from './chunk-5LXQPP2K.js';
|
|
30
|
-
export { ActionStepBody, AgentAvatarField, AgentConnectInstructions, AgentCreator, AgentTypeSelector, ApprovalEvidence, AssigneeLine, CapabilityGrid, CapabilityTile, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_CAPABILITIES, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_TEMPLATES, DEFAULT_AGENT_TYPES, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, SKILL_FIELD_TYPE_LABELS, SKILL_MAIN_FILENAME, SKILL_SOURCE_LABELS, SKILL_TYPES, SKILL_TYPE_LABELS, SendBackControl, SkillActionButton, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillLibraryDetail, SkillTile, SkillTypeBadge, SkillViewToggle, TaskActivityDialog, TaskActivityTimeline, TaskRunsDialog, WorkflowRunner, activeStepId, agentConfigSectionToValues, agentCreatorToConfigSection, buildLibrarySkills, buildZipSkillImport, composePersona, deriveAgentName, filterLibrarySkills, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, importMarkdownSkill, importSkillFile, importSkillFromUrl, isIncompleteSignal, isMainSkillFile, isValidAgentName, layoutFromPlanSteps, parseSkillFrontmatter, readSkillArchive, serializeSkill, skillSlug, stepWindow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView, workflowFromSkillMarkdown, workflowToSkillMarkdown } from './chunk-KTSF4HFC.js';
|
|
31
|
-
import './chunk-EVUEIBNU.js';
|
|
26
|
+
export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from './chunk-K4BGOPGG.js';
|
|
27
|
+
export { AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentEditView, AgentGallery, AgentMainView, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_STEPS_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_ROW_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_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_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_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillCard, SkillRow, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsToolbar, asTaskStatus, authModeFor, buildRRule, buildTaskRows, compactThreadActivity, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isoToLocalInput, linkedRunsFromActivity, localInputToIso, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowTaskFields, workflowToComposerValues, workflowWhen } from './chunk-VUR63NMQ.js';
|
|
28
|
+
export { ActionStepBody, AgentAvatarField, AgentConnectInstructions, AgentCreator, AgentTypeSelector, ApprovalEvidence, AssigneeLine, CapabilityGrid, CapabilityTile, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_CAPABILITIES, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_TEMPLATES, DEFAULT_AGENT_TYPES, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, SKILL_FIELD_TYPE_LABELS, SKILL_MAIN_FILENAME, SKILL_SOURCE_LABELS, SKILL_TYPES, SKILL_TYPE_LABELS, SendBackControl, SkillActionButton, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillLibraryDetail, SkillTile, SkillTypeBadge, SkillViewToggle, TaskActivityDialog, TaskActivityTimeline, TaskRunsDialog, WorkflowRunner, activeStepId, agentConfigSectionToValues, agentCreatorToConfigSection, buildLibrarySkills, buildZipSkillImport, composePersona, deriveAgentName, filterLibrarySkills, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, importMarkdownSkill, importSkillFile, importSkillFromUrl, isIncompleteSignal, isMainSkillFile, isValidAgentName, layoutFromPlanSteps, parseSkillFrontmatter, readSkillArchive, serializeSkill, skillSlug, stepWindow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView, workflowFromSkillMarkdown, workflowToSkillMarkdown } from './chunk-SUUPR735.js';
|
|
32
29
|
import './chunk-CQCC7LE7.js';
|
|
33
|
-
export { AgentSelect, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_DOCUMENTS_FIELD_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, PersonPill, SchemaForm, TaskTriggerChip, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, buildWorkflowScopeSource, createWorkflowColumns, documentScopeLabels, hasTrigger, isSkillRow, matchWorkflowScope, workflowStatus, workflowTriggerType } from './chunk-
|
|
30
|
+
export { AgentSelect, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_DOCUMENTS_FIELD_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, PersonPill, SchemaForm, TaskTriggerChip, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, buildWorkflowScopeSource, createWorkflowColumns, documentScopeLabels, hasTrigger, isSkillRow, matchWorkflowScope, workflowStatus, workflowTriggerType } from './chunk-LZRMXJIE.js';
|
|
31
|
+
import './chunk-IXWJGOM2.js';
|
|
34
32
|
import './chunk-KSHKTOY2.js';
|
|
35
33
|
import './chunk-RLWIUUQ5.js';
|
|
36
34
|
export { EmptyState } from './chunk-P6GHJSLR.js';
|
|
35
|
+
import './chunk-RFXJYIDV.js';
|
|
36
|
+
import './chunk-EVUEIBNU.js';
|
|
37
|
+
export { Dot, ToneBadge } from './chunk-5LXQPP2K.js';
|
|
38
|
+
export { ActionLink } from './chunk-YKQ2DPIP.js';
|
|
37
39
|
import './chunk-NUNKSZKU.js';
|
|
38
40
|
export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from './chunk-YU2KUMGE.js';
|
|
39
41
|
import './chunk-N5YEF3LC.js';
|
|
40
|
-
import './chunk-IXWJGOM2.js';
|
|
41
|
-
export { ActionLink } from './chunk-YKQ2DPIP.js';
|
|
42
42
|
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-SFXVNFES.js';
|
|
43
43
|
export { DEFAULT_PASSWORD_STRENGTH_INPUT_LABELS, PasswordStrengthInput } from './chunk-VILAPTCB.js';
|
|
44
44
|
export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-4WWM3GQ5.js';
|
|
@@ -49,8 +49,8 @@ export { BlocksTooltipProvider, DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_
|
|
|
49
49
|
export { savedDocumentIdFor, takeOpenDocumentForTurn, useOpenDocumentId, useRegisterOpenDocument } from './chunk-YBLIKTJK.js';
|
|
50
50
|
export { DEFAULT_ASSIGNEE_WORDING, DEFAULT_STEP_DOCUMENT_LABELS, DEFAULT_STEP_KIND_LABELS, DEFAULT_STEP_RECORD_LABELS, STEP_KIND_ICONS, StepDocumentButton, StepDocumentCards, StepRecord, WORKFLOW_STEP_KINDS, assigneeName, canAssign, composeStepPrompt, dependsOn, fillRunText, fillStepInputs, initialRunInputs, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, nextAction, orderSteps, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, splitDocRef, stepConfigProblems, stepDependencies, stepDocuments, stepFields, stepKindOf, stepLevels, stepPhase, stepStatesFromActivity, upstreamSteps, useMentionAutocomplete, validateStep, validateWorkflowGraph, workflowSteps } from './chunk-PDKM27DF.js';
|
|
51
51
|
export { EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, buildLaunch, composeWorkflowPrompt, defaultInputs, fieldToFrontmatter, inputsFromContext, isEmptyWorkflowScope, isWorkflowScope, mergeSkillWorkflows, promptFieldName, skillTitle, skillToWorkflow, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowsAccepting, workflowsForHost } from './chunk-TZGBRLPK.js';
|
|
52
|
-
export { TONES, isTone } from './chunk-AUS3KBHJ.js';
|
|
53
52
|
export { DEFAULT_MENTION_LABELS, MENTION_HREF_PREFIX, MentionChip, MentionMenu, extractMentions, filterMentionCandidates, findMentionQuery, insertMention, linkMentions, mentionFromHref, toMessageMentions, useListKeyNav } from './chunk-AA3PT6KR.js';
|
|
53
|
+
export { TONES, isTone } from './chunk-AUS3KBHJ.js';
|
|
54
54
|
export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from './chunk-SLSBJRWW.js';
|
|
55
55
|
import './chunk-Z3AZ7Q5X.js';
|
|
56
56
|
import './chunk-NPLYHR2E.js';
|
|
@@ -61,43 +61,13 @@ export { BlocksProvider, requestSettingsSection, useBlocksEnvironment, useReques
|
|
|
61
61
|
import './chunk-TX2ZICS7.js';
|
|
62
62
|
export { daysUntil, displayName, fmtDate, fmtDateTime, formatCount, formatCurrency, formatPageRefs, fromNow, hrs, initials, pct, pluralize } from './chunk-OXF2IFXG.js';
|
|
63
63
|
import './chunk-VUNV25KB.js';
|
|
64
|
-
import { VisibilityToggle, cn, Input, Textarea, Button } from '@arbidocs/react/ui';
|
|
65
|
-
export { DocumentCard, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@arbidocs/react/ui';
|
|
66
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
67
64
|
import { useDroppable } from '@dnd-kit/core';
|
|
68
|
-
import {
|
|
65
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
66
|
+
import { ChevronLeft, ChevronRight, Search, Sparkles, FileText, Lightbulb, MessagesSquare, X, Plus } from 'lucide-react';
|
|
69
67
|
import { memo, useState, useCallback, useEffect, useRef } from 'react';
|
|
68
|
+
import { VisibilityToggle, Input, cn, Button } from '@arbidocs/react/ui';
|
|
69
|
+
export { DocumentCard, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@arbidocs/react/ui';
|
|
70
70
|
|
|
71
|
-
function LoadingIndicator({
|
|
72
|
-
message,
|
|
73
|
-
size = "medium",
|
|
74
|
-
centered = true,
|
|
75
|
-
fullScreen = false,
|
|
76
|
-
className,
|
|
77
|
-
testId = "loading-indicator"
|
|
78
|
-
}) {
|
|
79
|
-
const sizeClasses = {
|
|
80
|
-
small: "h-4 w-4 border",
|
|
81
|
-
medium: "h-8 w-8 border-2",
|
|
82
|
-
large: "h-12 w-12 border-2"
|
|
83
|
-
};
|
|
84
|
-
const containerClasses = cn(
|
|
85
|
-
"flex flex-col items-center justify-center gap-3",
|
|
86
|
-
{
|
|
87
|
-
"h-64": centered && !fullScreen,
|
|
88
|
-
"fixed inset-0 bg-background/75 z-50": fullScreen
|
|
89
|
-
},
|
|
90
|
-
className
|
|
91
|
-
);
|
|
92
|
-
const spinnerClasses = cn(
|
|
93
|
-
"animate-spin rounded-full border-border border-t-primary",
|
|
94
|
-
sizeClasses[size]
|
|
95
|
-
);
|
|
96
|
-
return /* @__PURE__ */ jsxs("div", { className: containerClasses, "data-testid": testId, children: [
|
|
97
|
-
/* @__PURE__ */ jsx("div", { className: spinnerClasses }),
|
|
98
|
-
message && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: message })
|
|
99
|
-
] });
|
|
100
|
-
}
|
|
101
71
|
function DroppableContainer({ id, children, className = "" }) {
|
|
102
72
|
const { setNodeRef } = useDroppable({ id });
|
|
103
73
|
return /* @__PURE__ */ jsx("div", { ref: setNodeRef, className, children });
|
|
@@ -283,158 +253,6 @@ function Toolbar({
|
|
|
283
253
|
}
|
|
284
254
|
);
|
|
285
255
|
}
|
|
286
|
-
var IDENTITY_NAME_MAX_LENGTH = 50;
|
|
287
|
-
var COUNTER_THRESHOLD = 10;
|
|
288
|
-
function EntityIdentityBar({
|
|
289
|
-
fields,
|
|
290
|
-
extraRows = [],
|
|
291
|
-
canEdit = false,
|
|
292
|
-
actions,
|
|
293
|
-
footer,
|
|
294
|
-
className,
|
|
295
|
-
testId
|
|
296
|
-
}) {
|
|
297
|
-
return /* @__PURE__ */ jsxs(
|
|
298
|
-
"div",
|
|
299
|
-
{
|
|
300
|
-
className: cn("flex flex-wrap items-start justify-between gap-x-6 gap-y-3", className),
|
|
301
|
-
"data-testid": testId,
|
|
302
|
-
children: [
|
|
303
|
-
/* @__PURE__ */ jsxs("dl", { className: "min-w-0 flex-1 space-y-1.5", children: [
|
|
304
|
-
fields.map((field) => /* @__PURE__ */ jsx(IdentityFieldRow, { field, canEdit }, field.label)),
|
|
305
|
-
extraRows.map((row) => /* @__PURE__ */ jsxs(
|
|
306
|
-
"div",
|
|
307
|
-
{
|
|
308
|
-
className: "flex min-h-7 min-w-0 items-center gap-2",
|
|
309
|
-
"data-testid": row.testId,
|
|
310
|
-
children: [
|
|
311
|
-
/* @__PURE__ */ jsxs("dt", { className: "w-24 shrink-0 text-sm font-medium text-muted-foreground", children: [
|
|
312
|
-
row.label,
|
|
313
|
-
":"
|
|
314
|
-
] }),
|
|
315
|
-
/* @__PURE__ */ jsxs("dd", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
316
|
-
row.content,
|
|
317
|
-
row.trailing ? /* @__PURE__ */ jsx("div", { className: "min-w-0 shrink-0 sm:ml-auto", children: row.trailing }) : null
|
|
318
|
-
] })
|
|
319
|
-
]
|
|
320
|
-
},
|
|
321
|
-
row.label
|
|
322
|
-
)),
|
|
323
|
-
footer ? /* @__PURE__ */ jsx("div", { className: "flex items-center pt-0.5", children: footer }) : null
|
|
324
|
-
] }),
|
|
325
|
-
actions ? /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center gap-2", children: actions }) : null
|
|
326
|
-
]
|
|
327
|
-
}
|
|
328
|
-
);
|
|
329
|
-
}
|
|
330
|
-
function IdentityFieldRow({ field, canEdit }) {
|
|
331
|
-
const {
|
|
332
|
-
label,
|
|
333
|
-
value,
|
|
334
|
-
placeholder,
|
|
335
|
-
onSave,
|
|
336
|
-
multiline = false,
|
|
337
|
-
maxLength,
|
|
338
|
-
valueClassName,
|
|
339
|
-
leading,
|
|
340
|
-
hideLabel,
|
|
341
|
-
trailing,
|
|
342
|
-
testId
|
|
343
|
-
} = field;
|
|
344
|
-
const [isEditing, setIsEditing] = useState(false);
|
|
345
|
-
const [draft, setDraft] = useState(value);
|
|
346
|
-
useEffect(() => {
|
|
347
|
-
if (!isEditing) setDraft(value);
|
|
348
|
-
}, [value, isEditing]);
|
|
349
|
-
const commit = () => {
|
|
350
|
-
setIsEditing(false);
|
|
351
|
-
const next = draft.trim();
|
|
352
|
-
if (next !== value) onSave(next);
|
|
353
|
-
};
|
|
354
|
-
const cancel = () => {
|
|
355
|
-
setDraft(value);
|
|
356
|
-
setIsEditing(false);
|
|
357
|
-
};
|
|
358
|
-
const charsLeft = maxLength === void 0 ? null : maxLength - draft.length;
|
|
359
|
-
const fieldClass = "h-auto rounded border-0 bg-muted px-1.5 py-0.5 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0";
|
|
360
|
-
const shared = {
|
|
361
|
-
autoFocus: true,
|
|
362
|
-
value: draft,
|
|
363
|
-
placeholder,
|
|
364
|
-
maxLength,
|
|
365
|
-
"aria-label": label,
|
|
366
|
-
"data-testid": testId && `${testId}-input`,
|
|
367
|
-
onBlur: commit,
|
|
368
|
-
onChange: (e) => setDraft(e.target.value),
|
|
369
|
-
onKeyDown: (e) => {
|
|
370
|
-
if (e.key === "Escape") {
|
|
371
|
-
e.preventDefault();
|
|
372
|
-
cancel();
|
|
373
|
-
} else if (e.key === "Enter" && !multiline) {
|
|
374
|
-
e.preventDefault();
|
|
375
|
-
commit();
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
};
|
|
379
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("flex min-h-7 min-w-0 gap-2", multiline ? "items-start" : "items-center"), children: [
|
|
380
|
-
/* @__PURE__ */ jsxs(
|
|
381
|
-
"dt",
|
|
382
|
-
{
|
|
383
|
-
className: cn(
|
|
384
|
-
hideLabel ? "sr-only" : cn("w-24 shrink-0 text-sm font-medium text-muted-foreground", multiline && "pt-1")
|
|
385
|
-
),
|
|
386
|
-
children: [
|
|
387
|
-
label,
|
|
388
|
-
":"
|
|
389
|
-
]
|
|
390
|
-
}
|
|
391
|
-
),
|
|
392
|
-
/* @__PURE__ */ jsxs("dd", { className: "flex min-w-0 flex-1 flex-wrap items-center gap-x-2 gap-y-1.5 sm:flex-nowrap", children: [
|
|
393
|
-
leading,
|
|
394
|
-
isEditing ? /* @__PURE__ */ jsxs("div", { className: "relative min-w-0 flex-1 max-sm:basis-[calc(100%-2.5rem)]", children: [
|
|
395
|
-
multiline ? /* @__PURE__ */ jsx(
|
|
396
|
-
Textarea,
|
|
397
|
-
{
|
|
398
|
-
...shared,
|
|
399
|
-
rows: 2,
|
|
400
|
-
className: cn(fieldClass, "min-h-0 resize-none leading-snug", valueClassName)
|
|
401
|
-
}
|
|
402
|
-
) : /* @__PURE__ */ jsx(Input, { ...shared, className: cn(fieldClass, "pr-20", valueClassName) }),
|
|
403
|
-
charsLeft !== null && charsLeft <= COUNTER_THRESHOLD && /* @__PURE__ */ jsx(
|
|
404
|
-
"span",
|
|
405
|
-
{
|
|
406
|
-
className: cn(
|
|
407
|
-
"pointer-events-none absolute right-3 top-1/2 hidden -translate-y-1/2 text-sm lg:block",
|
|
408
|
-
charsLeft < 0 ? "text-destructive" : "text-muted-foreground"
|
|
409
|
-
),
|
|
410
|
-
"data-testid": testId && `${testId}-counter`,
|
|
411
|
-
children: charsLeft < 0 ? `${-charsLeft} over` : `${charsLeft} left`
|
|
412
|
-
}
|
|
413
|
-
)
|
|
414
|
-
] }) : (
|
|
415
|
-
// `identity-field` (not the generic `group`) scopes the pencil's hover
|
|
416
|
-
// to THIS field only — an ancestor card also carries `group`, so a
|
|
417
|
-
// `.group:hover` rule would reveal every field's pencil at once.
|
|
418
|
-
/* @__PURE__ */ jsxs("span", { className: "identity-field flex min-w-0 flex-1 items-center gap-1.5 sm:flex-none", children: [
|
|
419
|
-
/* @__PURE__ */ jsx("span", { className: cn("px-1.5 py-0.5", valueClassName), "data-testid": testId, children: value || /* @__PURE__ */ jsx("span", { className: "italic text-muted-foreground", children: placeholder }) }),
|
|
420
|
-
canEdit && /* @__PURE__ */ jsx(
|
|
421
|
-
"button",
|
|
422
|
-
{
|
|
423
|
-
type: "button",
|
|
424
|
-
onClick: () => setIsEditing(true),
|
|
425
|
-
"aria-label": `Edit ${label.toLowerCase()}`,
|
|
426
|
-
title: `Edit ${label.toLowerCase()}`,
|
|
427
|
-
className: "shrink-0 cursor-pointer rounded p-1 text-muted-foreground opacity-60 transition-[color,background-color,opacity] hover:bg-accent hover:text-foreground focus-visible:opacity-100 pointer-coarse:p-[15px] [.identity-field:hover_&]:opacity-100",
|
|
428
|
-
"data-testid": testId && `${testId}-edit`,
|
|
429
|
-
children: /* @__PURE__ */ jsx(Pencil, { className: "size-3.5" })
|
|
430
|
-
}
|
|
431
|
-
)
|
|
432
|
-
] })
|
|
433
|
-
),
|
|
434
|
-
trailing ? /* @__PURE__ */ jsx("div", { className: "min-w-0 shrink-0 max-sm:w-full sm:ml-auto", children: trailing }) : null
|
|
435
|
-
] })
|
|
436
|
-
] });
|
|
437
|
-
}
|
|
438
256
|
function EntityTooltip({
|
|
439
257
|
className,
|
|
440
258
|
children
|
|
@@ -1013,6 +831,6 @@ function glossaryFileName(title, extension) {
|
|
|
1013
831
|
return `${title.replace(/[\\/:*?"<>|]+/g, " ").trim() || "Glossary"}.${extension}`;
|
|
1014
832
|
}
|
|
1015
833
|
|
|
1016
|
-
export { AskBar, DEFAULT_GLOSSARY_LABELS, DEFAULT_TAGS_NAV_LABELS, DEFAULT_TAG_DETAIL_LABELS, DroppableContainer,
|
|
834
|
+
export { AskBar, DEFAULT_GLOSSARY_LABELS, DEFAULT_TAGS_NAV_LABELS, DEFAULT_TAG_DETAIL_LABELS, DroppableContainer, EntityTooltip, EntityTooltipHeader, EntityTooltipHint, EntityTooltipSection, EntityTooltipStats, GridRowNavigator, RowNavigatorControls, SharedCell, TagDetail, TagsNav, Toolbar, findTagsNavItem, glossaryDocumentXml, glossaryDocx, glossaryEntries, glossaryFileName, glossaryMarkdown };
|
|
1017
835
|
//# sourceMappingURL=index.js.map
|
|
1018
836
|
//# sourceMappingURL=index.js.map
|