@arbidocs/blocks 0.5.78 → 0.5.79
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/{ConnectedDocumentViewer-5FRA7TJX.js → ConnectedDocumentViewer-7QUKFBVM.js} +3 -3
- package/dist/{ConnectedDocumentViewer-5FRA7TJX.js.map → ConnectedDocumentViewer-7QUKFBVM.js.map} +1 -1
- package/dist/{ConnectedDocumentViewer-TRUMXO25.cjs → ConnectedDocumentViewer-QW62ULRN.cjs} +4 -4
- package/dist/{ConnectedDocumentViewer-TRUMXO25.cjs.map → ConnectedDocumentViewer-QW62ULRN.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-MYAESYPI.js → ConnectedNativeDocxComparison-3YDCXF4V.js} +5 -5
- package/dist/{ConnectedNativeDocxComparison-MYAESYPI.js.map → ConnectedNativeDocxComparison-3YDCXF4V.js.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-RTPXOMXW.cjs → ConnectedNativeDocxComparison-DFCBPV76.cjs} +6 -6
- package/dist/{ConnectedNativeDocxComparison-RTPXOMXW.cjs.map → ConnectedNativeDocxComparison-DFCBPV76.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-XTJEFZKZ.js → ConnectedNativeDocxEditor-JTB5GZ24.js} +4 -4
- package/dist/{ConnectedNativeDocxEditor-XTJEFZKZ.js.map → ConnectedNativeDocxEditor-JTB5GZ24.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-IID7KYP7.cjs → ConnectedNativeDocxEditor-Z2YVPZ3F.cjs} +6 -6
- package/dist/{ConnectedNativeDocxEditor-IID7KYP7.cjs.map → ConnectedNativeDocxEditor-Z2YVPZ3F.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-7QAWJG5Q.cjs → ConnectedStreamedWordArtifact-3Q54FIJO.cjs} +6 -6
- package/dist/ConnectedStreamedWordArtifact-3Q54FIJO.cjs.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-FGC5BD3H.js → ConnectedStreamedWordArtifact-4KQLOEP2.js} +5 -5
- package/dist/ConnectedStreamedWordArtifact-4KQLOEP2.js.map +1 -0
- package/dist/{chunk-BWG67YTG.js → chunk-24JOY5V2.js} +3 -3
- package/dist/{chunk-BWG67YTG.js.map → chunk-24JOY5V2.js.map} +1 -1
- package/dist/{chunk-Z3JJH6QT.cjs → chunk-6CJNGKZQ.cjs} +7 -7
- package/dist/{chunk-Z3JJH6QT.cjs.map → chunk-6CJNGKZQ.cjs.map} +1 -1
- package/dist/{chunk-P36SXI5N.js → chunk-BNXZDIBF.js} +3 -3
- package/dist/{chunk-P36SXI5N.js.map → chunk-BNXZDIBF.js.map} +1 -1
- package/dist/{chunk-3VBNPYXE.js → chunk-FNAM7AII.js} +3 -3
- package/dist/{chunk-3VBNPYXE.js.map → chunk-FNAM7AII.js.map} +1 -1
- package/dist/{chunk-EPLBT4GK.cjs → chunk-FWEDJBBV.cjs} +4 -4
- package/dist/{chunk-EPLBT4GK.cjs.map → chunk-FWEDJBBV.cjs.map} +1 -1
- package/dist/{chunk-3G4R4ZHB.cjs → chunk-GX455LF3.cjs} +4 -4
- package/dist/{chunk-3G4R4ZHB.cjs.map → chunk-GX455LF3.cjs.map} +1 -1
- package/dist/{chunk-PQKCBVHS.js → chunk-JCYGQHS7.js} +3 -3
- package/dist/{chunk-PQKCBVHS.js.map → chunk-JCYGQHS7.js.map} +1 -1
- package/dist/{chunk-KDNNZ4SU.cjs → chunk-P7FHVWM7.cjs} +3 -3
- package/dist/{chunk-KDNNZ4SU.cjs.map → chunk-P7FHVWM7.cjs.map} +1 -1
- package/dist/{chunk-N7PMVZTV.cjs → chunk-R33SPSXO.cjs} +5 -5
- package/dist/{chunk-N7PMVZTV.cjs.map → chunk-R33SPSXO.cjs.map} +1 -1
- package/dist/{chunk-SF6FAQ54.js → chunk-VUBYQKIR.js} +5 -5
- package/dist/{chunk-SF6FAQ54.js.map → chunk-VUBYQKIR.js.map} +1 -1
- package/dist/connect/docx.cjs +8 -8
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +105 -91
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +53 -39
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +2 -2
- package/dist/connect/viewer.js +1 -1
- package/dist/workflow-canvas/index.cjs +9 -9
- package/dist/workflow-canvas/index.js +3 -3
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-7QAWJG5Q.cjs.map +0 -1
- package/dist/ConnectedStreamedWordArtifact-FGC5BD3H.js.map +0 -1
package/dist/connect/index.js
CHANGED
|
@@ -4,8 +4,8 @@ export { CAP_REACHED_MESSAGE, ZERO_BUDGET_MESSAGE, aiUsageResetTimestamp, format
|
|
|
4
4
|
import { ConnectedTagEntity, useMemberLookup } from '../chunk-LCMHUW3K.js';
|
|
5
5
|
export { ConnectedTagEntity, documentFieldContent, useMemberLookup } from '../chunk-LCMHUW3K.js';
|
|
6
6
|
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-64GEEHKH.js';
|
|
7
|
-
import { ConnectedTaskComposer, useProjectSummaries, useProjectSummary, primaryProjectWorkspace, useWorkflowTasks, useWorkflowDefinitions, ConnectedThreadTaskBar, useTaskPeople, ConnectedTaskActivityDialog } from '../chunk-
|
|
8
|
-
export { ConnectedTaskActivityDialog, ConnectedTaskComposer, ConnectedThreadTaskBar, ConnectedWorkflowHistory, ConnectedWorkflowRunPage, ConnectedWorkflowRunner, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_RUN_PAGE_LABELS, WorkflowRunThread, WorkflowRunWorkspaceChangedError, buildProjectSummaries, primaryProjectWorkspace, useEnsureRequiredLabels, useProjectSummaries, useProjectSummary, useRenderTaskPerson, useRequiredLabels, useSkillsEnabled, useTaskPeople, useWorkflowDefinitions, useWorkflowTasks, useWorkflowsPageState, workflowRunView } from '../chunk-
|
|
7
|
+
import { ConnectedTaskComposer, useProjectSummaries, useProjectSummary, primaryProjectWorkspace, useWorkflowTasks, useWorkflowDefinitions, ConnectedThreadTaskBar, useTaskPeople, ConnectedTaskActivityDialog } from '../chunk-BNXZDIBF.js';
|
|
8
|
+
export { ConnectedTaskActivityDialog, ConnectedTaskComposer, ConnectedThreadTaskBar, ConnectedWorkflowHistory, ConnectedWorkflowRunPage, ConnectedWorkflowRunner, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_RUN_PAGE_LABELS, WorkflowRunThread, WorkflowRunWorkspaceChangedError, buildProjectSummaries, primaryProjectWorkspace, useEnsureRequiredLabels, useProjectSummaries, useProjectSummary, useRenderTaskPerson, useRequiredLabels, useSkillsEnabled, useTaskPeople, useWorkflowDefinitions, useWorkflowTasks, useWorkflowsPageState, workflowRunView } from '../chunk-BNXZDIBF.js';
|
|
9
9
|
import { usePendingFolders, useFilesStore, useFilesPrefs, useAiReviewStore, useFilesGridStates, filesViewMode, FILES_PREFS_KEY, useFilesDialogs } from '../chunk-JDGJV7VW.js';
|
|
10
10
|
export { FILES_PREFS_KEY, filesViewMode, useAiReviewStore, useFilesDialogs, useFilesGridStates, useFilesPrefs, useFilesStore, usePendingFolders } from '../chunk-JDGJV7VW.js';
|
|
11
11
|
import { getRoleBadgeClass, formatRole, getRoleDescription, WorkspaceTypeBadge, PageLoading, WorkspacePageFrame, WorkspaceIdentityPanel, WorkspaceProjectSlot, WorkspaceAudienceLine, CommonWorkspaceToggle, ExpandableSection, LeaveFooter, WorkspaceList, WorkspaceGroup, WorkspaceCard } from '../chunk-LEQKLAAK.js';
|
|
@@ -25,12 +25,12 @@ import { ProjectBandTitle, PlainBandTitle } from '../chunk-RQKWYKZY.js';
|
|
|
25
25
|
import '../chunk-5TDGVOR5.js';
|
|
26
26
|
import '../chunk-XRL4R2TT.js';
|
|
27
27
|
import { DraggableHeader, PremiumModelsFrame, ConnectionsLoading, ConnectionsError, ConnectionsEmpty, UsageToggle, SettingsPage, UsageSummary, AppearanceSettings, SettingsSwitchRow, SettingsSwitchGroup, callsSwitchState, UsageLineChart, formatSessionTtl, EmailWorkspaceDialogView, PlanStack, PlanNotice, PlanPickerCard, PlanPickerHeader, PricingToggle, PromoCodeInput, PlanActionButton, SyncDialogBody, SyncField, SyncSelect, SyncSmallNote, SyncLoading, SyncReconnectNotice, SyncNote, SyncTreeFrame, SyncLinkRow, SyncLinkButton, SyncOptions, SyncOptionToggle, SyncDialogFooter, InvoicesDialog, PlanDialogFrame, ProjectList, RenameDialog, SharedProjectsSection, SharedProjectRow, MoreInfo, MoreInfoList, UsagePanel, UsageQuotaHint, UsageSection, UsageLegend, UsageProportionBar, UsageActionButton, ProjectDetailHeader, PlanBadge, ProjectDetailSection, QuotaExceededDialogView, InviteContactsDialog, WelcomeDialog, applyTriStateFilters, PanelFrame, PanelAddButton, PanelFrameBody, PanelScroll, PanelActionsRow, applyInvertedIndexFilter, ConfigSwitcherBar, PanelNote, ConversationTitleSection, ModelSelectionSection, FloatingPanel, ProjectRow, QuotaMeter, FilterChip, buildInvertedIndex, serverConnectionView, ServerConnectionButton, ModelProviderLabel, PlanInfoPopover, PlanCardGrid, ReferralRewardSummary, CheckoutDialogFrame, SyncFolderRow, SyncFolderStatus, PlanTierOption, PlanActionRow, SubscriptionStatusView, DailyCapField, ConnectionCard, ReferralRewardNote } from '../chunk-YYGYO6KB.js';
|
|
28
|
-
import { useConnectedWorkspaceRole, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, toWorkflowFieldDocument } from '../chunk-
|
|
29
|
-
export { ConnectedWorkflowDocumentsField, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, toWorkflowFieldDocument, useConnectedAgentOptions, useConnectedWorkflowScopeSource, useConnectedWorkspaceRole, useDocxCommentTarget, useNativeDocxSupport } from '../chunk-
|
|
30
|
-
import { groupCandidates } from '../chunk-MTSKK3BN.js';
|
|
31
|
-
import { BUILTIN_TEMPLATE_NAME, builtinHouseTemplate } from '../chunk-R4SUGJVR.js';
|
|
28
|
+
import { useConnectedWorkspaceRole, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, toWorkflowFieldDocument } from '../chunk-FNAM7AII.js';
|
|
29
|
+
export { ConnectedWorkflowDocumentsField, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, toWorkflowFieldDocument, useConnectedAgentOptions, useConnectedWorkflowScopeSource, useConnectedWorkspaceRole, useDocxCommentTarget, useNativeDocxSupport } from '../chunk-FNAM7AII.js';
|
|
32
30
|
import { useOpenWorkflow } from '../chunk-3SLTOFCM.js';
|
|
33
31
|
export { useOpenWorkflow } from '../chunk-3SLTOFCM.js';
|
|
32
|
+
import { groupCandidates } from '../chunk-MTSKK3BN.js';
|
|
33
|
+
import { BUILTIN_TEMPLATE_NAME, builtinHouseTemplate } from '../chunk-R4SUGJVR.js';
|
|
34
34
|
import { FactSourcesPanel, FactPassageItem } from '../chunk-TROXWCQQ.js';
|
|
35
35
|
import { DEFAULT_DOCUMENT_VIEWER_TABS } from '../chunk-2PHINFB2.js';
|
|
36
36
|
export { ConnectedDocumentToolsProvider, DEFAULT_ASK_SUGGESTIONS, DEFAULT_DOCUMENT_VIEWER_LABELS, DEFAULT_DOCUMENT_VIEWER_TABS, useDocumentViewerSupport, useViewerDraftDocument, useViewerIsDetached, useViewerPassageCitation, useViewerStreamingDocument } from '../chunk-2PHINFB2.js';
|
|
@@ -27831,7 +27831,7 @@ var DocumentReviewCard = lazy(
|
|
|
27831
27831
|
() => import('../DocumentReviewCard-ODEJE27S.js').then((module) => ({ default: module.DocumentReviewCard }))
|
|
27832
27832
|
);
|
|
27833
27833
|
var ConnectedDocumentViewer = lazy(
|
|
27834
|
-
() => import('../ConnectedDocumentViewer-
|
|
27834
|
+
() => import('../ConnectedDocumentViewer-7QUKFBVM.js').then((module) => ({
|
|
27835
27835
|
default: module.ConnectedDocumentViewer
|
|
27836
27836
|
}))
|
|
27837
27837
|
);
|
|
@@ -33607,6 +33607,7 @@ function ReportProblemDialog({
|
|
|
33607
33607
|
const [cropArea, setCropArea] = useState(null);
|
|
33608
33608
|
const [busy, setBusy] = useState(false);
|
|
33609
33609
|
const [failure, setFailure] = useState(null);
|
|
33610
|
+
const [ticketId, setTicketId] = useState(null);
|
|
33610
33611
|
const [submissionId] = useState(() => crypto.randomUUID());
|
|
33611
33612
|
const imgRef = useRef(null);
|
|
33612
33613
|
const dragStart = useRef(null);
|
|
@@ -33668,8 +33669,7 @@ function ReportProblemDialog({
|
|
|
33668
33669
|
image: rendered ?? void 0,
|
|
33669
33670
|
idempotencyKey: submissionId
|
|
33670
33671
|
});
|
|
33671
|
-
|
|
33672
|
-
onClose();
|
|
33672
|
+
setTicketId(receipt.ticket_id);
|
|
33673
33673
|
} catch (error) {
|
|
33674
33674
|
setFailure(
|
|
33675
33675
|
error instanceof Error ? error.message : "Could not send your request. Please try again."
|
|
@@ -33693,10 +33693,17 @@ function ReportProblemDialog({
|
|
|
33693
33693
|
"data-testid": "report-problem-dialog",
|
|
33694
33694
|
children: [
|
|
33695
33695
|
/* @__PURE__ */ jsxs("div", { className: "pr-8", children: [
|
|
33696
|
-
/* @__PURE__ */ jsx(DialogTitle, { children: "Contact support" }),
|
|
33697
|
-
/* @__PURE__ */ jsx(DialogDescription, { children: cropping ? "Crop the screenshot to the part that shows the problem. Only the cropped part is kept." : image ? "Black out anything confidential before sending. Blacked-out areas are removed from the image." : "Tell us what you need help with. You can choose to add a screenshot." })
|
|
33696
|
+
/* @__PURE__ */ jsx(DialogTitle, { children: ticketId === null ? "Contact support" : "Support request sent" }),
|
|
33697
|
+
/* @__PURE__ */ jsx(DialogDescription, { children: ticketId !== null ? `Your ticket number is #${ticketId}. Keep it for follow-up.` : cropping ? "Crop the screenshot to the part that shows the problem. Only the cropped part is kept." : image ? "Black out anything confidential before sending. Blacked-out areas are removed from the image." : "Tell us what you need help with. You can choose to add a screenshot." })
|
|
33698
|
+
] }),
|
|
33699
|
+
ticketId !== null && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4 rounded-md border border-border bg-muted p-4", children: [
|
|
33700
|
+
/* @__PURE__ */ jsxs("p", { className: "font-medium", "data-testid": "report-ticket-receipt", children: [
|
|
33701
|
+
"Ticket number: #",
|
|
33702
|
+
ticketId
|
|
33703
|
+
] }),
|
|
33704
|
+
/* @__PURE__ */ jsx(Button, { onClick: onClose, "data-testid": "report-receipt-close", children: "Close" })
|
|
33698
33705
|
] }),
|
|
33699
|
-
cropping ? /* @__PURE__ */ jsxs("div", { className: "grid gap-2", children: [
|
|
33706
|
+
cropping ? /* @__PURE__ */ jsxs("div", { className: "grid gap-2", hidden: ticketId !== null, children: [
|
|
33700
33707
|
/* @__PURE__ */ jsx(
|
|
33701
33708
|
ImageCropper,
|
|
33702
33709
|
{
|
|
@@ -33738,7 +33745,7 @@ function ReportProblemDialog({
|
|
|
33738
33745
|
}
|
|
33739
33746
|
)
|
|
33740
33747
|
] })
|
|
33741
|
-
] }) : imageUrl ? /* @__PURE__ */ jsxs("div", { className: "grid gap-2", children: [
|
|
33748
|
+
] }) : imageUrl ? /* @__PURE__ */ jsxs("div", { className: "grid gap-2", hidden: ticketId !== null, children: [
|
|
33742
33749
|
/* @__PURE__ */ jsx("div", { className: "flex min-h-0 justify-center overflow-hidden rounded-md bg-muted p-2", children: /* @__PURE__ */ jsxs("div", { className: "relative max-w-full", children: [
|
|
33743
33750
|
/* @__PURE__ */ jsx(
|
|
33744
33751
|
"img",
|
|
@@ -33829,30 +33836,37 @@ function ReportProblemDialog({
|
|
|
33829
33836
|
" Retake"
|
|
33830
33837
|
] })
|
|
33831
33838
|
] })
|
|
33832
|
-
] }) : /* @__PURE__ */ jsxs(
|
|
33833
|
-
|
|
33834
|
-
|
|
33835
|
-
|
|
33836
|
-
|
|
33837
|
-
|
|
33838
|
-
|
|
33839
|
-
|
|
33840
|
-
|
|
33841
|
-
|
|
33842
|
-
{
|
|
33843
|
-
|
|
33844
|
-
|
|
33845
|
-
|
|
33846
|
-
|
|
33847
|
-
|
|
33848
|
-
|
|
33849
|
-
|
|
33850
|
-
|
|
33851
|
-
|
|
33852
|
-
|
|
33853
|
-
|
|
33854
|
-
|
|
33855
|
-
|
|
33839
|
+
] }) : /* @__PURE__ */ jsxs(
|
|
33840
|
+
"div",
|
|
33841
|
+
{
|
|
33842
|
+
className: "flex flex-wrap items-center gap-3 rounded-md border border-dashed border-border p-3 text-sm",
|
|
33843
|
+
hidden: ticketId !== null,
|
|
33844
|
+
children: [
|
|
33845
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "No screenshot attached." }),
|
|
33846
|
+
canCaptureScreen() ? /* @__PURE__ */ jsxs(Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
33847
|
+
/* @__PURE__ */ jsx(Camera, { className: "mr-1 size-4" }),
|
|
33848
|
+
" Take a screenshot"
|
|
33849
|
+
] }) : /* @__PURE__ */ jsxs("label", { className: "inline-flex cursor-pointer items-center gap-1 font-medium text-primary", children: [
|
|
33850
|
+
/* @__PURE__ */ jsx(ImageUp, { className: "size-4" }),
|
|
33851
|
+
" Choose a screenshot",
|
|
33852
|
+
/* @__PURE__ */ jsx(
|
|
33853
|
+
"input",
|
|
33854
|
+
{
|
|
33855
|
+
type: "file",
|
|
33856
|
+
accept: "image/*",
|
|
33857
|
+
className: "sr-only",
|
|
33858
|
+
onChange: (event) => {
|
|
33859
|
+
const file = event.target.files?.[0];
|
|
33860
|
+
if (file) onImageChange(file);
|
|
33861
|
+
},
|
|
33862
|
+
"data-testid": "report-choose-image"
|
|
33863
|
+
}
|
|
33864
|
+
)
|
|
33865
|
+
] })
|
|
33866
|
+
]
|
|
33867
|
+
}
|
|
33868
|
+
),
|
|
33869
|
+
/* @__PURE__ */ jsxs("label", { className: "grid gap-1 text-sm", hidden: ticketId !== null, children: [
|
|
33856
33870
|
/* @__PURE__ */ jsx("span", { className: "font-medium", children: "What went wrong?" }),
|
|
33857
33871
|
/* @__PURE__ */ jsx(
|
|
33858
33872
|
Textarea,
|
|
@@ -33865,8 +33879,8 @@ function ReportProblemDialog({
|
|
|
33865
33879
|
}
|
|
33866
33880
|
)
|
|
33867
33881
|
] }),
|
|
33868
|
-
failure && /* @__PURE__ */ jsx("p", { role: "alert", className: "text-sm text-destructive", children: failure }),
|
|
33869
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-end gap-2", children: [
|
|
33882
|
+
failure && /* @__PURE__ */ jsx("p", { role: "alert", className: "text-sm text-destructive", hidden: ticketId !== null, children: failure }),
|
|
33883
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-end gap-2", hidden: ticketId !== null, children: [
|
|
33870
33884
|
/* @__PURE__ */ jsx("span", { className: "mr-auto text-xs text-muted-foreground", children: footnote }),
|
|
33871
33885
|
/* @__PURE__ */ jsx(Button, { variant: "ghost", onClick: onClose, disabled: busy, children: "Cancel" }),
|
|
33872
33886
|
/* @__PURE__ */ jsx(
|