@arbidocs/blocks 0.4.92 → 0.4.94

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 (85) hide show
  1. package/dist/agents/index.cjs +209 -209
  2. package/dist/agents/index.js +4 -4
  3. package/dist/{chunk-6XS5IJ5R.cjs → chunk-3OXWJ3CZ.cjs} +5 -5
  4. package/dist/{chunk-6XS5IJ5R.cjs.map → chunk-3OXWJ3CZ.cjs.map} +1 -1
  5. package/dist/chunk-AF6RDAJF.js +14 -0
  6. package/dist/chunk-AF6RDAJF.js.map +1 -0
  7. package/dist/chunk-AOFATOT3.cjs +196 -0
  8. package/dist/chunk-AOFATOT3.cjs.map +1 -0
  9. package/dist/chunk-D3QPYKZG.js +173 -0
  10. package/dist/chunk-D3QPYKZG.js.map +1 -0
  11. package/dist/{chunk-2ZDFVRGV.cjs → chunk-E2AAIMXO.cjs} +975 -61
  12. package/dist/chunk-E2AAIMXO.cjs.map +1 -0
  13. package/dist/{chunk-DDYXFALG.cjs → chunk-KKU7MUWE.cjs} +5 -5
  14. package/dist/{chunk-DDYXFALG.cjs.map → chunk-KKU7MUWE.cjs.map} +1 -1
  15. package/dist/{chunk-EHF63UYP.cjs → chunk-LENXDIMY.cjs} +33 -65
  16. package/dist/chunk-LENXDIMY.cjs.map +1 -0
  17. package/dist/chunk-RC25WMVB.cjs +16 -0
  18. package/dist/chunk-RC25WMVB.cjs.map +1 -0
  19. package/dist/{chunk-5YXG342J.cjs → chunk-RPCQBET5.cjs} +3 -3
  20. package/dist/{chunk-5YXG342J.cjs.map → chunk-RPCQBET5.cjs.map} +1 -1
  21. package/dist/{chunk-YFPIJUV3.cjs → chunk-RZGVMV6B.cjs} +5 -5
  22. package/dist/{chunk-YFPIJUV3.cjs.map → chunk-RZGVMV6B.cjs.map} +1 -1
  23. package/dist/{chunk-W2R7YVFM.js → chunk-WXLKMEMB.js} +970 -65
  24. package/dist/chunk-WXLKMEMB.js.map +1 -0
  25. package/dist/{chunk-BX62HJZU.js → chunk-YPKSLTL5.js} +3 -3
  26. package/dist/{chunk-BX62HJZU.js.map → chunk-YPKSLTL5.js.map} +1 -1
  27. package/dist/{chunk-5RQOVALO.js → chunk-Z3G65XHZ.js} +21 -52
  28. package/dist/chunk-Z3G65XHZ.js.map +1 -0
  29. package/dist/{chunk-W7NZRZ54.js → chunk-Z7OMEYDG.js} +3 -3
  30. package/dist/{chunk-W7NZRZ54.js.map → chunk-Z7OMEYDG.js.map} +1 -1
  31. package/dist/{chunk-UDLMLU6T.js → chunk-ZNDAXSDP.js} +3 -3
  32. package/dist/{chunk-UDLMLU6T.js.map → chunk-ZNDAXSDP.js.map} +1 -1
  33. package/dist/{chunk-5NQIBJPP.js → chunk-ZNGDEQBN.js} +5 -5
  34. package/dist/{chunk-5NQIBJPP.js.map → chunk-ZNGDEQBN.js.map} +1 -1
  35. package/dist/connect/docx.cjs +8 -6
  36. package/dist/connect/docx.cjs.map +1 -1
  37. package/dist/connect/docx.js +6 -4
  38. package/dist/connect/docx.js.map +1 -1
  39. package/dist/connect/index.cjs +44 -44
  40. package/dist/connect/index.cjs.map +1 -1
  41. package/dist/connect/index.js +14 -14
  42. package/dist/connect/index.js.map +1 -1
  43. package/dist/docx/NativeDocxEditor.d.ts +6 -0
  44. package/dist/docx/definitions/DefinedTerms.d.ts +50 -0
  45. package/dist/docx/definitions/commands.d.ts +78 -0
  46. package/dist/docx/definitions/fragment.d.ts +29 -0
  47. package/dist/docx/definitions/port.d.ts +76 -0
  48. package/dist/docx/index.cjs +53 -15
  49. package/dist/docx/index.cjs.map +1 -1
  50. package/dist/docx/index.d.ts +3 -0
  51. package/dist/docx/index.js +5 -3
  52. package/dist/docx/index.js.map +1 -1
  53. package/dist/facts/index.cjs +9 -14
  54. package/dist/facts/index.cjs.map +1 -1
  55. package/dist/facts/index.js +5 -12
  56. package/dist/facts/index.js.map +1 -1
  57. package/dist/files/index.cjs +2 -2
  58. package/dist/files/index.js +2 -2
  59. package/dist/home/index.cjs +1 -1
  60. package/dist/home/index.js +1 -1
  61. package/dist/index.cjs +845 -705
  62. package/dist/index.cjs.map +1 -1
  63. package/dist/index.js +100 -13
  64. package/dist/index.js.map +1 -1
  65. package/dist/settings/index.cjs +35 -35
  66. package/dist/settings/index.js +3 -3
  67. package/dist/shell/index.cjs +1 -1
  68. package/dist/shell/index.js +1 -1
  69. package/dist/studio/index.cjs +1 -1
  70. package/dist/studio/index.js +1 -1
  71. package/dist/tags/definitions.d.ts +92 -0
  72. package/dist/tags/glossary.d.ts +44 -0
  73. package/dist/tags/index.d.ts +2 -0
  74. package/dist/tags/ooxml.d.ts +46 -0
  75. package/dist/tags/tagTableDocx.d.ts +1 -1
  76. package/dist/workflow-canvas/index.cjs +11 -11
  77. package/dist/workflow-canvas/index.js +4 -4
  78. package/dist/workspaces/index.cjs +1 -1
  79. package/dist/workspaces/index.js +1 -1
  80. package/package.json +4 -4
  81. package/src/docx/README.md +11 -0
  82. package/dist/chunk-2ZDFVRGV.cjs.map +0 -1
  83. package/dist/chunk-5RQOVALO.js.map +0 -1
  84. package/dist/chunk-EHF63UYP.cjs.map +0 -1
  85. package/dist/chunk-W2R7YVFM.js.map +0 -1
@@ -1,15 +1,16 @@
1
1
  "use client";
2
- import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-W7NZRZ54.js';
2
+ import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-Z7OMEYDG.js';
3
3
  import { useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
4
4
  export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
5
- import { ConnectedNativeDocxEditor } from '../chunk-UDLMLU6T.js';
5
+ import { ConnectedNativeDocxEditor } from '../chunk-ZNDAXSDP.js';
6
6
  import { ConnectionProvider, useConnection } from '../chunk-OYMWV45N.js';
7
7
  export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-OYMWV45N.js';
8
8
  import { SignDocumentDialog } from '../chunk-2YOVK524.js';
9
- import '../chunk-W2R7YVFM.js';
9
+ import '../chunk-WXLKMEMB.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 { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
11
+ import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-Z3G65XHZ.js';
12
+ import { DOCX_MIME_TYPE } from '../chunk-D3QPYKZG.js';
13
+ import '../chunk-AF6RDAJF.js';
13
14
  import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-PGDL26TQ.js';
14
15
  import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
15
16
  import { TabHeader } from '../chunk-4WWM3GQ5.js';
@@ -17,16 +18,17 @@ import '../chunk-EVUEIBNU.js';
17
18
  import '../chunk-AUS3KBHJ.js';
18
19
  import { FilterInput } from '../chunk-YU2KUMGE.js';
19
20
  import '../chunk-XD2M6LIG.js';
21
+ import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
20
22
  import '../chunk-VILAPTCB.js';
23
+ import { PlainMailBodyEditor, draftMailCompose, emptyMailCompose, MailGrid, MailMessageView, replyMailCompose, MailDocumentPicker, parseMailRecipients } from '../chunk-LGX6UFYG.js';
24
+ import { ModalScaffold } from '../chunk-TX2ZICS7.js';
25
+ import '../chunk-ZPLG7QYF.js';
21
26
  import { ChatPage } from '../chunk-EWSEQEPL.js';
22
27
  import '../chunk-KZJAG7T3.js';
23
28
  import '../chunk-HOXKR26S.js';
24
29
  import '../chunk-AA3PT6KR.js';
25
30
  import '../chunk-NPLYHR2E.js';
26
31
  import { initials } from '../chunk-OXF2IFXG.js';
27
- import { PlainMailBodyEditor, draftMailCompose, emptyMailCompose, MailGrid, MailMessageView, replyMailCompose, MailDocumentPicker, parseMailRecipients } from '../chunk-LGX6UFYG.js';
28
- import { ModalScaffold } from '../chunk-TX2ZICS7.js';
29
- import '../chunk-ZPLG7QYF.js';
30
32
  import '../chunk-SLSBJRWW.js';
31
33
  import '../chunk-7F6CBP3Z.js';
32
34
  import '../chunk-VUNV25KB.js';
@@ -675,10 +677,8 @@ function WorkflowReviewGridDialog({
675
677
  const { workspaceId } = useConnection();
676
678
  const allTags = useTags(workspaceId ?? void 0);
677
679
  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
- };
680
+ const isLoading = allTags.isLoading || all.isLoading || all.isFetching && !all.isFetchedAfterMount;
681
+ const docs = (all.data ?? []).filter((d) => documents.includes(d.external_id));
682
682
  const columns = useMemo(
683
683
  () => tags.map((id) => ({
684
684
  id,
@@ -696,7 +696,7 @@ function WorkflowReviewGridDialog({
696
696
  showDescription: true,
697
697
  size: "xl",
698
698
  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: [
699
+ 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
700
  /* @__PURE__ */ jsx(Loader2, { className: "size-4 animate-spin" }),
701
701
  " ",
702
702
  labels.loadingDocument
@@ -712,7 +712,7 @@ function WorkflowReviewGridDialog({
712
712
  c.id
713
713
  ))
714
714
  ] }) }),
715
- /* @__PURE__ */ jsx("tbody", { children: (docs.data ?? []).map((d) => /* @__PURE__ */ jsxs("tr", { "data-testid": `workflow-review-grid-row-${d.external_id}`, children: [
715
+ /* @__PURE__ */ jsx("tbody", { children: docs.map((d) => /* @__PURE__ */ jsxs("tr", { "data-testid": `workflow-review-grid-row-${d.external_id}`, children: [
716
716
  /* @__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
717
  columns.map((c) => {
718
718
  const note = d.doctags?.find((t) => t.tag_ext_id === c.id)?.note;