@arbidocs/blocks 0.4.92 → 0.4.93
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 +280 -280
- package/dist/agents/index.js +4 -4
- package/dist/{chunk-3US5OIDQ.cjs → chunk-3WW32OUU.cjs} +3 -3
- package/dist/{chunk-3US5OIDQ.cjs.map → chunk-3WW32OUU.cjs.map} +1 -1
- package/dist/{chunk-EHF63UYP.cjs → chunk-AMC5PMJ3.cjs} +5 -5
- package/dist/{chunk-EHF63UYP.cjs.map → chunk-AMC5PMJ3.cjs.map} +1 -1
- package/dist/{chunk-DDYXFALG.cjs → chunk-MROSCSPW.cjs} +43 -43
- package/dist/{chunk-DDYXFALG.cjs.map → chunk-MROSCSPW.cjs.map} +1 -1
- package/dist/{chunk-PGDL26TQ.js → chunk-SF4BDUZS.js} +3 -3
- package/dist/{chunk-PGDL26TQ.js.map → chunk-SF4BDUZS.js.map} +1 -1
- package/dist/{chunk-5NQIBJPP.js → chunk-SJVUKXS6.js} +5 -5
- package/dist/{chunk-5NQIBJPP.js.map → chunk-SJVUKXS6.js.map} +1 -1
- package/dist/{chunk-5RQOVALO.js → chunk-UO74FLRK.js} +3 -3
- package/dist/{chunk-5RQOVALO.js.map → chunk-UO74FLRK.js.map} +1 -1
- package/dist/connect/index.cjs +28 -30
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +8 -10
- package/dist/connect/index.js.map +1 -1
- package/dist/index.cjs +315 -315
- package/dist/index.js +7 -7
- package/dist/workflow-canvas/index.cjs +47 -47
- package/dist/workflow-canvas/index.js +4 -4
- package/package.json +4 -4
package/dist/connect/index.js
CHANGED
|
@@ -8,15 +8,15 @@ export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnec
|
|
|
8
8
|
import { SignDocumentDialog } from '../chunk-2YOVK524.js';
|
|
9
9
|
import '../chunk-W2R7YVFM.js';
|
|
10
10
|
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
11
|
-
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx, DOCX_MIME_TYPE } from '../chunk-
|
|
12
|
-
import {
|
|
13
|
-
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-PGDL26TQ.js';
|
|
11
|
+
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx, DOCX_MIME_TYPE } from '../chunk-UO74FLRK.js';
|
|
12
|
+
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-SF4BDUZS.js';
|
|
14
13
|
import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
|
|
15
14
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
15
|
+
import '../chunk-XD2M6LIG.js';
|
|
16
16
|
import '../chunk-EVUEIBNU.js';
|
|
17
17
|
import '../chunk-AUS3KBHJ.js';
|
|
18
18
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
19
|
-
import '../chunk-
|
|
19
|
+
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
20
20
|
import '../chunk-VILAPTCB.js';
|
|
21
21
|
import { ChatPage } from '../chunk-EWSEQEPL.js';
|
|
22
22
|
import '../chunk-KZJAG7T3.js';
|
|
@@ -675,10 +675,8 @@ function WorkflowReviewGridDialog({
|
|
|
675
675
|
const { workspaceId } = useConnection();
|
|
676
676
|
const allTags = useTags(workspaceId ?? void 0);
|
|
677
677
|
const all = useDocuments(workspaceId ?? void 0);
|
|
678
|
-
const
|
|
679
|
-
|
|
680
|
-
data: (all.data ?? []).filter((d) => documents.includes(d.external_id))
|
|
681
|
-
};
|
|
678
|
+
const isLoading = allTags.isLoading || all.isLoading || all.isFetching && !all.isFetchedAfterMount;
|
|
679
|
+
const docs = (all.data ?? []).filter((d) => documents.includes(d.external_id));
|
|
682
680
|
const columns = useMemo(
|
|
683
681
|
() => tags.map((id) => ({
|
|
684
682
|
id,
|
|
@@ -696,7 +694,7 @@ function WorkflowReviewGridDialog({
|
|
|
696
694
|
showDescription: true,
|
|
697
695
|
size: "xl",
|
|
698
696
|
testId: "workflow-review-grid",
|
|
699
|
-
children: /* @__PURE__ */ jsx(ModalScaffold.Body, { className: "overflow-auto", children:
|
|
697
|
+
children: /* @__PURE__ */ jsx(ModalScaffold.Body, { className: "overflow-auto", children: isLoading ? /* @__PURE__ */ jsxs("p", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
700
698
|
/* @__PURE__ */ jsx(Loader2, { className: "size-4 animate-spin" }),
|
|
701
699
|
" ",
|
|
702
700
|
labels.loadingDocument
|
|
@@ -712,7 +710,7 @@ function WorkflowReviewGridDialog({
|
|
|
712
710
|
c.id
|
|
713
711
|
))
|
|
714
712
|
] }) }),
|
|
715
|
-
/* @__PURE__ */ jsx("tbody", { children:
|
|
713
|
+
/* @__PURE__ */ jsx("tbody", { children: docs.map((d) => /* @__PURE__ */ jsxs("tr", { "data-testid": `workflow-review-grid-row-${d.external_id}`, children: [
|
|
716
714
|
/* @__PURE__ */ jsx("td", { className: "sticky left-0 z-10 border-b border-border bg-background p-2 align-top", children: /* @__PURE__ */ jsx(DocumentName, { onClick: onOpenDocument && (() => onOpenDocument(d.external_id)), children: d.file_name ?? d.external_id }) }),
|
|
717
715
|
columns.map((c) => {
|
|
718
716
|
const note = d.doctags?.find((t) => t.tag_ext_id === c.id)?.note;
|