@arbidocs/blocks 0.4.91 → 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.
Files changed (34) hide show
  1. package/dist/agents/index.cjs +280 -280
  2. package/dist/agents/index.js +4 -4
  3. package/dist/{chunk-ZPERNIMP.cjs → chunk-2WLXQGWC.cjs} +8 -3
  4. package/dist/chunk-2WLXQGWC.cjs.map +1 -0
  5. package/dist/{chunk-3US5OIDQ.cjs → chunk-3WW32OUU.cjs} +3 -3
  6. package/dist/{chunk-3US5OIDQ.cjs.map → chunk-3WW32OUU.cjs.map} +1 -1
  7. package/dist/{chunk-EHF63UYP.cjs → chunk-AMC5PMJ3.cjs} +5 -5
  8. package/dist/{chunk-EHF63UYP.cjs.map → chunk-AMC5PMJ3.cjs.map} +1 -1
  9. package/dist/{chunk-IC2VHFWR.js → chunk-JJA6GQKH.js} +8 -3
  10. package/dist/chunk-JJA6GQKH.js.map +1 -0
  11. package/dist/{chunk-DDYXFALG.cjs → chunk-MROSCSPW.cjs} +43 -43
  12. package/dist/{chunk-DDYXFALG.cjs.map → chunk-MROSCSPW.cjs.map} +1 -1
  13. package/dist/{chunk-PGDL26TQ.js → chunk-SF4BDUZS.js} +3 -3
  14. package/dist/{chunk-PGDL26TQ.js.map → chunk-SF4BDUZS.js.map} +1 -1
  15. package/dist/{chunk-5NQIBJPP.js → chunk-SJVUKXS6.js} +5 -5
  16. package/dist/{chunk-5NQIBJPP.js.map → chunk-SJVUKXS6.js.map} +1 -1
  17. package/dist/{chunk-5RQOVALO.js → chunk-UO74FLRK.js} +3 -3
  18. package/dist/{chunk-5RQOVALO.js.map → chunk-UO74FLRK.js.map} +1 -1
  19. package/dist/connect/index.cjs +27 -29
  20. package/dist/connect/index.cjs.map +1 -1
  21. package/dist/connect/index.js +7 -9
  22. package/dist/connect/index.js.map +1 -1
  23. package/dist/facts/index.cjs +2 -2
  24. package/dist/facts/index.js +1 -1
  25. package/dist/files/ViewToggle.d.ts +6 -1
  26. package/dist/files/index.cjs +4 -4
  27. package/dist/files/index.js +1 -1
  28. package/dist/index.cjs +315 -315
  29. package/dist/index.js +7 -7
  30. package/dist/workflow-canvas/index.cjs +47 -47
  31. package/dist/workflow-canvas/index.js +4 -4
  32. package/package.json +4 -4
  33. package/dist/chunk-IC2VHFWR.js.map +0 -1
  34. package/dist/chunk-ZPERNIMP.cjs.map +0 -1
@@ -8,14 +8,14 @@ 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-5RQOVALO.js';
12
- 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';
13
13
  import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
14
14
  import { TabHeader } from '../chunk-4WWM3GQ5.js';
15
+ import '../chunk-XD2M6LIG.js';
15
16
  import '../chunk-EVUEIBNU.js';
16
17
  import '../chunk-AUS3KBHJ.js';
17
18
  import { FilterInput } from '../chunk-YU2KUMGE.js';
18
- import '../chunk-XD2M6LIG.js';
19
19
  import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
20
20
  import '../chunk-VILAPTCB.js';
21
21
  import { ChatPage } from '../chunk-EWSEQEPL.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 docs = {
679
- isLoading: all.isLoading,
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: docs.isLoading ? /* @__PURE__ */ jsxs("p", { className: "flex items-center gap-2 text-sm text-muted-foreground", 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: (docs.data ?? []).map((d) => /* @__PURE__ */ jsxs("tr", { "data-testid": `workflow-review-grid-row-${d.external_id}`, 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;