@arbidocs/blocks 0.4.125 → 0.4.127

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 (120) hide show
  1. package/dist/{NativeDocxEditor-2JTZNFKD.cjs → NativeDocxEditor-BE2OEOTJ.cjs} +7 -7
  2. package/dist/{NativeDocxEditor-2JTZNFKD.cjs.map → NativeDocxEditor-BE2OEOTJ.cjs.map} +1 -1
  3. package/dist/{NativeDocxEditor-QIWYQDIO.js → NativeDocxEditor-KOPFMRYW.js} +3 -3
  4. package/dist/{NativeDocxEditor-QIWYQDIO.js.map → NativeDocxEditor-KOPFMRYW.js.map} +1 -1
  5. package/dist/{StreamedArtifactEditor-DNBDUNP2.cjs → StreamedArtifactEditor-EEYAXJ4H.cjs} +5 -5
  6. package/dist/{StreamedArtifactEditor-DNBDUNP2.cjs.map → StreamedArtifactEditor-EEYAXJ4H.cjs.map} +1 -1
  7. package/dist/{StreamedArtifactEditor-WDHPTWX7.js → StreamedArtifactEditor-TDATDYD2.js} +3 -3
  8. package/dist/{StreamedArtifactEditor-WDHPTWX7.js.map → StreamedArtifactEditor-TDATDYD2.js.map} +1 -1
  9. package/dist/agents/index.cjs +302 -302
  10. package/dist/agents/index.js +10 -10
  11. package/dist/agents/workflows/StepParts.d.ts +3 -3
  12. package/dist/artifacts/VersionTimeline.d.ts +19 -1
  13. package/dist/artifacts/index.cjs +21 -21
  14. package/dist/artifacts/index.d.ts +1 -1
  15. package/dist/artifacts/index.js +1 -1
  16. package/dist/calls/index.cjs +3 -3
  17. package/dist/calls/index.js +2 -2
  18. package/dist/chat/index.cjs +135 -135
  19. package/dist/chat/index.js +4 -4
  20. package/dist/{chunk-7HAM7Y5U.js → chunk-2DFDFOM7.js} +3 -3
  21. package/dist/{chunk-7HAM7Y5U.js.map → chunk-2DFDFOM7.js.map} +1 -1
  22. package/dist/{chunk-BDSKKIFZ.js → chunk-2FL7QJKJ.js} +3 -3
  23. package/dist/{chunk-BDSKKIFZ.js.map → chunk-2FL7QJKJ.js.map} +1 -1
  24. package/dist/{chunk-ERNMU6RV.js → chunk-2PNNCEPH.js} +5 -5
  25. package/dist/chunk-2PNNCEPH.js.map +1 -0
  26. package/dist/{chunk-KUW4ATIC.cjs → chunk-4TR5QCCX.cjs} +5 -5
  27. package/dist/{chunk-KUW4ATIC.cjs.map → chunk-4TR5QCCX.cjs.map} +1 -1
  28. package/dist/{chunk-P5ST47VY.js → chunk-5Y7JRY7Y.js} +3 -3
  29. package/dist/{chunk-P5ST47VY.js.map → chunk-5Y7JRY7Y.js.map} +1 -1
  30. package/dist/{chunk-HM23LXUP.cjs → chunk-6AALMYPS.cjs} +3 -3
  31. package/dist/{chunk-HM23LXUP.cjs.map → chunk-6AALMYPS.cjs.map} +1 -1
  32. package/dist/{chunk-IXTQYFIF.js → chunk-6HCJ3ZEU.js} +34 -6
  33. package/dist/chunk-6HCJ3ZEU.js.map +1 -0
  34. package/dist/{chunk-SHASZLGD.js → chunk-6Z72CXZR.js} +3 -3
  35. package/dist/{chunk-SHASZLGD.js.map → chunk-6Z72CXZR.js.map} +1 -1
  36. package/dist/{chunk-N7ARMX3O.cjs → chunk-DZI7WOUD.cjs} +4 -4
  37. package/dist/{chunk-N7ARMX3O.cjs.map → chunk-DZI7WOUD.cjs.map} +1 -1
  38. package/dist/{chunk-JJLMCV3T.js → chunk-ECERC6TI.js} +32 -28
  39. package/dist/chunk-ECERC6TI.js.map +1 -0
  40. package/dist/{chunk-ETN5EZI4.js → chunk-ENDP7JER.js} +3 -3
  41. package/dist/{chunk-ETN5EZI4.js.map → chunk-ENDP7JER.js.map} +1 -1
  42. package/dist/{chunk-W4GXDARU.cjs → chunk-INW76PEL.cjs} +163 -110
  43. package/dist/chunk-INW76PEL.cjs.map +1 -0
  44. package/dist/{chunk-OTDGTBAS.js → chunk-KELGOCJA.js} +164 -111
  45. package/dist/chunk-KELGOCJA.js.map +1 -0
  46. package/dist/{chunk-WEUCLOBB.cjs → chunk-KYDRUFWT.cjs} +5 -5
  47. package/dist/{chunk-WEUCLOBB.cjs.map → chunk-KYDRUFWT.cjs.map} +1 -1
  48. package/dist/{chunk-D72GGCXN.js → chunk-MCKOZACC.js} +3 -3
  49. package/dist/{chunk-D72GGCXN.js.map → chunk-MCKOZACC.js.map} +1 -1
  50. package/dist/{chunk-SA7TN3AW.cjs → chunk-MCPRNDOJ.cjs} +78 -78
  51. package/dist/{chunk-SA7TN3AW.cjs.map → chunk-MCPRNDOJ.cjs.map} +1 -1
  52. package/dist/{chunk-ZV3BKLFY.cjs → chunk-NYHGG2IA.cjs} +3 -3
  53. package/dist/{chunk-ZV3BKLFY.cjs.map → chunk-NYHGG2IA.cjs.map} +1 -1
  54. package/dist/{chunk-U6MPHCEB.cjs → chunk-O6IEZDRC.cjs} +33 -5
  55. package/dist/chunk-O6IEZDRC.cjs.map +1 -0
  56. package/dist/{chunk-WV4IDVDQ.cjs → chunk-PJJY6CYL.cjs} +11 -11
  57. package/dist/{chunk-WV4IDVDQ.cjs.map → chunk-PJJY6CYL.cjs.map} +1 -1
  58. package/dist/{chunk-CXLVI3SB.js → chunk-PUCY3UXN.js} +3 -3
  59. package/dist/{chunk-CXLVI3SB.js.map → chunk-PUCY3UXN.js.map} +1 -1
  60. package/dist/{chunk-MRURIBBB.cjs → chunk-SARREDFP.cjs} +47 -47
  61. package/dist/chunk-SARREDFP.cjs.map +1 -0
  62. package/dist/{chunk-565NYAM2.js → chunk-T2CVFK2I.js} +10 -10
  63. package/dist/{chunk-565NYAM2.js.map → chunk-T2CVFK2I.js.map} +1 -1
  64. package/dist/{chunk-HQH35JWC.js → chunk-T6I6ZCBE.js} +3 -3
  65. package/dist/{chunk-HQH35JWC.js.map → chunk-T6I6ZCBE.js.map} +1 -1
  66. package/dist/{chunk-Y4X3RBFI.js → chunk-UUXKB3WQ.js} +3 -3
  67. package/dist/{chunk-Y4X3RBFI.js.map → chunk-UUXKB3WQ.js.map} +1 -1
  68. package/dist/{chunk-JSH43QMZ.cjs → chunk-V5OAXIBN.cjs} +3 -3
  69. package/dist/{chunk-JSH43QMZ.cjs.map → chunk-V5OAXIBN.cjs.map} +1 -1
  70. package/dist/{chunk-VMZXFYHK.cjs → chunk-XFKF3WRN.cjs} +5 -5
  71. package/dist/{chunk-VMZXFYHK.cjs.map → chunk-XFKF3WRN.cjs.map} +1 -1
  72. package/dist/{chunk-GICUGQNN.cjs → chunk-ZAVEMQ37.cjs} +31 -27
  73. package/dist/chunk-ZAVEMQ37.cjs.map +1 -0
  74. package/dist/{chunk-4VCKYR4D.cjs → chunk-ZLRQ5K77.cjs} +4 -4
  75. package/dist/{chunk-4VCKYR4D.cjs.map → chunk-ZLRQ5K77.cjs.map} +1 -1
  76. package/dist/collaboration/index.cjs +23 -23
  77. package/dist/collaboration/index.js +1 -1
  78. package/dist/collaboration/mail/MailMessageView.d.ts +5 -1
  79. package/dist/connect/docx.cjs +6 -6
  80. package/dist/connect/docx.js +4 -4
  81. package/dist/connect/index.cjs +121 -66
  82. package/dist/connect/index.cjs.map +1 -1
  83. package/dist/connect/index.js +70 -15
  84. package/dist/connect/index.js.map +1 -1
  85. package/dist/connection/ConnectedWorkflowBuilder.d.ts +3 -0
  86. package/dist/document-tools/index.cjs +1 -1
  87. package/dist/document-tools/index.js +1 -1
  88. package/dist/docx/index.cjs +46 -46
  89. package/dist/docx/index.js +3 -3
  90. package/dist/facts/index.cjs +1 -1
  91. package/dist/facts/index.js +1 -1
  92. package/dist/files/HtmlViewerParts.d.ts +0 -28
  93. package/dist/files/index.cjs +19 -102
  94. package/dist/files/index.cjs.map +1 -1
  95. package/dist/files/index.d.ts +1 -1
  96. package/dist/files/index.js +6 -87
  97. package/dist/files/index.js.map +1 -1
  98. package/dist/home/index.cjs +17 -17
  99. package/dist/home/index.js +3 -3
  100. package/dist/index.cjs +641 -641
  101. package/dist/index.js +20 -20
  102. package/dist/settings/ConfirmDialog.d.ts +4 -1
  103. package/dist/settings/index.cjs +14 -14
  104. package/dist/settings/index.js +4 -4
  105. package/dist/studio/index.cjs +5 -5
  106. package/dist/studio/index.js +4 -4
  107. package/dist/workflow-canvas/index.cjs +64 -62
  108. package/dist/workflow-canvas/index.cjs.map +1 -1
  109. package/dist/workflow-canvas/index.js +13 -11
  110. package/dist/workflow-canvas/index.js.map +1 -1
  111. package/node_modules/@arbidocs/coedit/package.json +1 -1
  112. package/package.json +4 -4
  113. package/dist/chunk-ERNMU6RV.js.map +0 -1
  114. package/dist/chunk-GICUGQNN.cjs.map +0 -1
  115. package/dist/chunk-IXTQYFIF.js.map +0 -1
  116. package/dist/chunk-JJLMCV3T.js.map +0 -1
  117. package/dist/chunk-MRURIBBB.cjs.map +0 -1
  118. package/dist/chunk-OTDGTBAS.js.map +0 -1
  119. package/dist/chunk-U6MPHCEB.cjs.map +0 -1
  120. package/dist/chunk-W4GXDARU.cjs.map +0 -1
@@ -42,6 +42,9 @@ export declare const DEFAULT_WORKFLOW_EVENT_KINDS: ({
42
42
  } | {
43
43
  value: "workflow_signal";
44
44
  label: string;
45
+ } | {
46
+ value: "document_processed";
47
+ label: string;
45
48
  })[];
46
49
  export interface ConnectedWorkflowBuilderProps extends Pick<StepComposeOptions, 'compose'>, Pick<WorkflowBuilderProps, 'renderIcon' | 'labels' | 'canvasLabels' | 'inspectorLabels' | 'triggerLabels' | 'testId' | 'className'> {
47
50
  /** A saved workflow to edit (`wfl-…`). */
@@ -2,8 +2,8 @@
2
2
  'use strict';
3
3
 
4
4
  var chunk6MG62I5B_cjs = require('../chunk-6MG62I5B.cjs');
5
- var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
6
5
  var chunkUWIILWDI_cjs = require('../chunk-UWIILWDI.cjs');
6
+ var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
7
7
  require('../chunk-ULWRNGGE.cjs');
8
8
  require('../chunk-DES3K4SD.cjs');
9
9
  var lucideReact = require('lucide-react');
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  export { AdoptSignatureDialog, TYPED_SIGNATURE_STYLE } from '../chunk-EQB3WELX.js';
3
- export { SignDocumentDialog } from '../chunk-2YOVK524.js';
4
3
  import { ViewerStatusNote } from '../chunk-6HKLTYNN.js';
4
+ export { SignDocumentDialog } from '../chunk-2YOVK524.js';
5
5
  import '../chunk-TX2ZICS7.js';
6
6
  import '../chunk-VUNV25KB.js';
7
7
  import { PencilLine, FileText, PenLine, Users, Send, FilePenLine, Download } from 'lucide-react';
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkKUW4ATIC_cjs = require('../chunk-KUW4ATIC.cjs');
4
+ var chunk4TR5QCCX_cjs = require('../chunk-4TR5QCCX.cjs');
5
5
  var chunkS24XEVPS_cjs = require('../chunk-S24XEVPS.cjs');
6
- var chunkJSH43QMZ_cjs = require('../chunk-JSH43QMZ.cjs');
6
+ var chunkV5OAXIBN_cjs = require('../chunk-V5OAXIBN.cjs');
7
7
  require('../chunk-5FYU7ZIU.cjs');
8
8
  require('../chunk-I2QSDQQV.cjs');
9
9
  require('../chunk-RC25WMVB.cjs');
@@ -62,7 +62,7 @@ function NativeDocxComparison({
62
62
  if (!documentId)
63
63
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "native-docx-error", role: "status", children: "Comparing Word documents\u2026" });
64
64
  return /* @__PURE__ */ jsxRuntime.jsx(
65
- chunkJSH43QMZ_cjs.NativeDocxEditor,
65
+ chunkV5OAXIBN_cjs.NativeDocxEditor,
66
66
  {
67
67
  adapter,
68
68
  documentId,
@@ -74,7 +74,7 @@ function NativeDocxComparison({
74
74
 
75
75
  Object.defineProperty(exports, "StreamedWordArtifact", {
76
76
  enumerable: true,
77
- get: function () { return chunkKUW4ATIC_cjs.StreamedWordArtifact; }
77
+ get: function () { return chunk4TR5QCCX_cjs.StreamedWordArtifact; }
78
78
  });
79
79
  Object.defineProperty(exports, "loadDocxFonts", {
80
80
  enumerable: true,
@@ -82,171 +82,171 @@ Object.defineProperty(exports, "loadDocxFonts", {
82
82
  });
83
83
  Object.defineProperty(exports, "BUILTIN_TEMPLATE_NAME", {
84
84
  enumerable: true,
85
- get: function () { return chunkJSH43QMZ_cjs.BUILTIN_TEMPLATE_NAME; }
85
+ get: function () { return chunkV5OAXIBN_cjs.BUILTIN_TEMPLATE_NAME; }
86
86
  });
87
87
  Object.defineProperty(exports, "CrossReferenceDialog", {
88
88
  enumerable: true,
89
- get: function () { return chunkJSH43QMZ_cjs.CrossReferenceDialog; }
89
+ get: function () { return chunkV5OAXIBN_cjs.CrossReferenceDialog; }
90
90
  });
91
91
  Object.defineProperty(exports, "CrossReferencesProvider", {
92
92
  enumerable: true,
93
- get: function () { return chunkJSH43QMZ_cjs.CrossReferencesProvider; }
93
+ get: function () { return chunkV5OAXIBN_cjs.CrossReferencesProvider; }
94
94
  });
95
95
  Object.defineProperty(exports, "DEFAULT_CROSS_REFERENCES_LABELS", {
96
96
  enumerable: true,
97
- get: function () { return chunkJSH43QMZ_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
97
+ get: function () { return chunkV5OAXIBN_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
98
98
  });
99
99
  Object.defineProperty(exports, "DEFAULT_DEFINED_TERMS_LABELS", {
100
100
  enumerable: true,
101
- get: function () { return chunkJSH43QMZ_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
101
+ get: function () { return chunkV5OAXIBN_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
102
102
  });
103
103
  Object.defineProperty(exports, "DEFINED_TERM_TRIGGER", {
104
104
  enumerable: true,
105
- get: function () { return chunkJSH43QMZ_cjs.DEFINED_TERM_TRIGGER; }
105
+ get: function () { return chunkV5OAXIBN_cjs.DEFINED_TERM_TRIGGER; }
106
106
  });
107
107
  Object.defineProperty(exports, "DefinedTermsProvider", {
108
108
  enumerable: true,
109
- get: function () { return chunkJSH43QMZ_cjs.DefinedTermsProvider; }
109
+ get: function () { return chunkV5OAXIBN_cjs.DefinedTermsProvider; }
110
110
  });
111
111
  Object.defineProperty(exports, "DocxAuthorContext", {
112
112
  enumerable: true,
113
- get: function () { return chunkJSH43QMZ_cjs.DocxAuthorContext; }
113
+ get: function () { return chunkV5OAXIBN_cjs.DocxAuthorContext; }
114
114
  });
115
115
  Object.defineProperty(exports, "DocxCommentActivity", {
116
116
  enumerable: true,
117
- get: function () { return chunkJSH43QMZ_cjs.DocxCommentActivity; }
117
+ get: function () { return chunkV5OAXIBN_cjs.DocxCommentActivity; }
118
118
  });
119
119
  Object.defineProperty(exports, "DocxEditorReview", {
120
120
  enumerable: true,
121
- get: function () { return chunkJSH43QMZ_cjs.DocxEditorReview; }
121
+ get: function () { return chunkV5OAXIBN_cjs.DocxEditorReview; }
122
122
  });
123
123
  Object.defineProperty(exports, "DocxMentions", {
124
124
  enumerable: true,
125
- get: function () { return chunkJSH43QMZ_cjs.DocxMentions; }
125
+ get: function () { return chunkV5OAXIBN_cjs.DocxMentions; }
126
126
  });
127
127
  Object.defineProperty(exports, "DocxParticipants", {
128
128
  enumerable: true,
129
- get: function () { return chunkJSH43QMZ_cjs.DocxParticipants; }
129
+ get: function () { return chunkV5OAXIBN_cjs.DocxParticipants; }
130
130
  });
131
131
  Object.defineProperty(exports, "DocxRibbon", {
132
132
  enumerable: true,
133
- get: function () { return chunkJSH43QMZ_cjs.DocxRibbon; }
133
+ get: function () { return chunkV5OAXIBN_cjs.DocxRibbon; }
134
134
  });
135
135
  Object.defineProperty(exports, "GenerateImageButton", {
136
136
  enumerable: true,
137
- get: function () { return chunkJSH43QMZ_cjs.GenerateImageButton; }
137
+ get: function () { return chunkV5OAXIBN_cjs.GenerateImageButton; }
138
138
  });
139
139
  Object.defineProperty(exports, "HouseTemplateProvider", {
140
140
  enumerable: true,
141
- get: function () { return chunkJSH43QMZ_cjs.HouseTemplateProvider; }
141
+ get: function () { return chunkV5OAXIBN_cjs.HouseTemplateProvider; }
142
142
  });
143
143
  Object.defineProperty(exports, "LinkHoverCard", {
144
144
  enumerable: true,
145
- get: function () { return chunkJSH43QMZ_cjs.LinkHoverCard; }
145
+ get: function () { return chunkV5OAXIBN_cjs.LinkHoverCard; }
146
146
  });
147
147
  Object.defineProperty(exports, "NativeDocxEditor", {
148
148
  enumerable: true,
149
- get: function () { return chunkJSH43QMZ_cjs.NativeDocxEditor; }
149
+ get: function () { return chunkV5OAXIBN_cjs.NativeDocxEditor; }
150
150
  });
151
151
  Object.defineProperty(exports, "builtinHouseTemplate", {
152
152
  enumerable: true,
153
- get: function () { return chunkJSH43QMZ_cjs.builtinHouseTemplate; }
153
+ get: function () { return chunkV5OAXIBN_cjs.builtinHouseTemplate; }
154
154
  });
155
155
  Object.defineProperty(exports, "contentPath", {
156
156
  enumerable: true,
157
- get: function () { return chunkJSH43QMZ_cjs.contentPath; }
157
+ get: function () { return chunkV5OAXIBN_cjs.contentPath; }
158
158
  });
159
159
  Object.defineProperty(exports, "editorPort", {
160
160
  enumerable: true,
161
- get: function () { return chunkJSH43QMZ_cjs.editorPort; }
161
+ get: function () { return chunkV5OAXIBN_cjs.editorPort; }
162
162
  });
163
163
  Object.defineProperty(exports, "findDefinitionsSection", {
164
164
  enumerable: true,
165
- get: function () { return chunkJSH43QMZ_cjs.findDefinitionsSection; }
165
+ get: function () { return chunkV5OAXIBN_cjs.findDefinitionsSection; }
166
166
  });
167
167
  Object.defineProperty(exports, "insertCrossReference", {
168
168
  enumerable: true,
169
- get: function () { return chunkJSH43QMZ_cjs.insertCrossReference; }
169
+ get: function () { return chunkV5OAXIBN_cjs.insertCrossReference; }
170
170
  });
171
171
  Object.defineProperty(exports, "insertDefinedTerm", {
172
172
  enumerable: true,
173
- get: function () { return chunkJSH43QMZ_cjs.insertDefinedTerm; }
173
+ get: function () { return chunkV5OAXIBN_cjs.insertDefinedTerm; }
174
174
  });
175
175
  Object.defineProperty(exports, "insertDocumentReference", {
176
176
  enumerable: true,
177
- get: function () { return chunkJSH43QMZ_cjs.insertDocumentReference; }
177
+ get: function () { return chunkV5OAXIBN_cjs.insertDocumentReference; }
178
178
  });
179
179
  Object.defineProperty(exports, "listTargets", {
180
180
  enumerable: true,
181
- get: function () { return chunkJSH43QMZ_cjs.listTargets; }
181
+ get: function () { return chunkV5OAXIBN_cjs.listTargets; }
182
182
  });
183
183
  Object.defineProperty(exports, "normalizeDocxExport", {
184
184
  enumerable: true,
185
- get: function () { return chunkJSH43QMZ_cjs.normalizeDocxExport; }
185
+ get: function () { return chunkV5OAXIBN_cjs.normalizeDocxExport; }
186
186
  });
187
187
  Object.defineProperty(exports, "paragraphNumber", {
188
188
  enumerable: true,
189
- get: function () { return chunkJSH43QMZ_cjs.paragraphNumber; }
189
+ get: function () { return chunkV5OAXIBN_cjs.paragraphNumber; }
190
190
  });
191
191
  Object.defineProperty(exports, "referenceText", {
192
192
  enumerable: true,
193
- get: function () { return chunkJSH43QMZ_cjs.referenceText; }
193
+ get: function () { return chunkV5OAXIBN_cjs.referenceText; }
194
194
  });
195
195
  Object.defineProperty(exports, "referencesPort", {
196
196
  enumerable: true,
197
- get: function () { return chunkJSH43QMZ_cjs.referencesPort; }
197
+ get: function () { return chunkV5OAXIBN_cjs.referencesPort; }
198
198
  });
199
199
  Object.defineProperty(exports, "resolveHouseTemplate", {
200
200
  enumerable: true,
201
- get: function () { return chunkJSH43QMZ_cjs.resolveHouseTemplate; }
201
+ get: function () { return chunkV5OAXIBN_cjs.resolveHouseTemplate; }
202
202
  });
203
203
  Object.defineProperty(exports, "reviewModule", {
204
204
  enumerable: true,
205
- get: function () { return chunkJSH43QMZ_cjs.reviewModule; }
205
+ get: function () { return chunkV5OAXIBN_cjs.reviewModule; }
206
206
  });
207
207
  Object.defineProperty(exports, "shortTitle", {
208
208
  enumerable: true,
209
- get: function () { return chunkJSH43QMZ_cjs.shortTitle; }
209
+ get: function () { return chunkV5OAXIBN_cjs.shortTitle; }
210
210
  });
211
211
  Object.defineProperty(exports, "structuralPort", {
212
212
  enumerable: true,
213
- get: function () { return chunkJSH43QMZ_cjs.structuralPort; }
213
+ get: function () { return chunkV5OAXIBN_cjs.structuralPort; }
214
214
  });
215
215
  Object.defineProperty(exports, "templateFileName", {
216
216
  enumerable: true,
217
- get: function () { return chunkJSH43QMZ_cjs.templateFileName; }
217
+ get: function () { return chunkV5OAXIBN_cjs.templateFileName; }
218
218
  });
219
219
  Object.defineProperty(exports, "trackedOrNoted", {
220
220
  enumerable: true,
221
- get: function () { return chunkJSH43QMZ_cjs.trackedOrNoted; }
221
+ get: function () { return chunkV5OAXIBN_cjs.trackedOrNoted; }
222
222
  });
223
223
  Object.defineProperty(exports, "useCrossReferences", {
224
224
  enumerable: true,
225
- get: function () { return chunkJSH43QMZ_cjs.useCrossReferences; }
225
+ get: function () { return chunkV5OAXIBN_cjs.useCrossReferences; }
226
226
  });
227
227
  Object.defineProperty(exports, "useDefinedTerms", {
228
228
  enumerable: true,
229
- get: function () { return chunkJSH43QMZ_cjs.useDefinedTerms; }
229
+ get: function () { return chunkV5OAXIBN_cjs.useDefinedTerms; }
230
230
  });
231
231
  Object.defineProperty(exports, "useHouseTemplate", {
232
232
  enumerable: true,
233
- get: function () { return chunkJSH43QMZ_cjs.useHouseTemplate; }
233
+ get: function () { return chunkV5OAXIBN_cjs.useHouseTemplate; }
234
234
  });
235
235
  Object.defineProperty(exports, "useReview", {
236
236
  enumerable: true,
237
- get: function () { return chunkJSH43QMZ_cjs.useReview; }
237
+ get: function () { return chunkV5OAXIBN_cjs.useReview; }
238
238
  });
239
239
  Object.defineProperty(exports, "useReviewItem", {
240
240
  enumerable: true,
241
- get: function () { return chunkJSH43QMZ_cjs.useReviewItem; }
241
+ get: function () { return chunkV5OAXIBN_cjs.useReviewItem; }
242
242
  });
243
243
  Object.defineProperty(exports, "useTrackedOrNoted", {
244
244
  enumerable: true,
245
- get: function () { return chunkJSH43QMZ_cjs.useTrackedOrNoted; }
245
+ get: function () { return chunkV5OAXIBN_cjs.useTrackedOrNoted; }
246
246
  });
247
247
  Object.defineProperty(exports, "withDirectEditing", {
248
248
  enumerable: true,
249
- get: function () { return chunkJSH43QMZ_cjs.withDirectEditing; }
249
+ get: function () { return chunkV5OAXIBN_cjs.withDirectEditing; }
250
250
  });
251
251
  Object.defineProperty(exports, "DocxEditor", {
252
252
  enumerable: true,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- export { StreamedWordArtifact } from '../chunk-D72GGCXN.js';
2
+ export { StreamedWordArtifact } from '../chunk-MCKOZACC.js';
3
3
  export { loadDocxFonts } from '../chunk-GYAUJ4KT.js';
4
- import { NativeDocxEditor } from '../chunk-BDSKKIFZ.js';
5
- export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-BDSKKIFZ.js';
4
+ import { NativeDocxEditor } from '../chunk-2FL7QJKJ.js';
5
+ export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-2FL7QJKJ.js';
6
6
  import '../chunk-HFZ45FD3.js';
7
7
  import '../chunk-QXMR5YHC.js';
8
8
  import '../chunk-AF6RDAJF.js';
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
5
4
  var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
5
+ var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
6
6
  var chunkOUW6G4O2_cjs = require('../chunk-OUW6G4O2.cjs');
7
7
  var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
8
8
  var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
3
2
  import { ViewToggle } from '../chunk-JJA6GQKH.js';
3
+ export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
4
4
  import { SearchHit } from '../chunk-A2YAC22G.js';
5
5
  import { formatSpan, TimelineCalendar, TimelineGantt } from '../chunk-4EZVCGRL.js';
6
6
  import { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
@@ -16,14 +16,6 @@ export interface HtmlViewerLabels {
16
16
  privateToYou: string;
17
17
  shared: string;
18
18
  private: string;
19
- instantTranslation: string;
20
- backToDocument: string;
21
- compareOriginal: string;
22
- copyComparison: string;
23
- copyTranslation: string;
24
- passage: string;
25
- original: string;
26
- translation: string;
27
19
  }
28
20
  export declare const DEFAULT_HTML_VIEWER_LABELS: HtmlViewerLabels;
29
21
  export interface HtmlViewerRootProps {
@@ -161,23 +153,3 @@ export interface DocTagBarTestIds {
161
153
  * Draws nothing when it has nothing to say.
162
154
  */
163
155
  export declare function DocTagBar({ chips, visibility, step, activeId, onSelect, labels, testIds, }: DocTagBarProps): import("react").JSX.Element | null;
164
- export interface TranslationBadgeProps {
165
- isComparing: boolean;
166
- onToggleCompare: () => void;
167
- onCopy: () => Promise<void>;
168
- labels?: Partial<HtmlViewerLabels>;
169
- }
170
- /** "Instant Translation" chip with compare toggle and copy. */
171
- export declare function TranslationBadge({ isComparing, onToggleCompare, onCopy, labels, }: TranslationBadgeProps): import("react").JSX.Element;
172
- export interface TranslationRowView {
173
- key: string;
174
- /** The passage reference pill (host renders its entity). */
175
- passage: ReactNode;
176
- original: string;
177
- translated: string;
178
- }
179
- /** Passage / Original / Translation table. */
180
- export declare function TranslationCompareTable({ rows, labels, }: {
181
- rows: TranslationRowView[];
182
- labels?: Partial<HtmlViewerLabels>;
183
- }): import("react").JSX.Element;
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
5
4
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
6
5
  var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
7
6
  var chunkUWIILWDI_cjs = require('../chunk-UWIILWDI.cjs');
7
+ var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
8
8
  var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
9
9
  var chunk3AFWGEDJ_cjs = require('../chunk-3AFWGEDJ.cjs');
10
- var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
11
10
  var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
12
11
  var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
12
+ var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
13
13
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
14
14
  var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
15
15
  var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
@@ -2191,15 +2191,7 @@ var DEFAULT_HTML_VIEWER_LABELS = {
2191
2191
  sharedWithMembers: "Shared with workspace members",
2192
2192
  privateToYou: "Private to you",
2193
2193
  shared: "Shared",
2194
- private: "Private",
2195
- instantTranslation: "Instant Translation",
2196
- backToDocument: "Back to document",
2197
- compareOriginal: "Compare original vs translation",
2198
- copyComparison: "Copy comparison",
2199
- copyTranslation: "Copy full translation",
2200
- passage: "Passage",
2201
- original: "Original",
2202
- translation: "Translation"
2194
+ private: "Private"
2203
2195
  };
2204
2196
  function HtmlViewerRoot({ children, className }) {
2205
2197
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: ui.cn("relative h-full w-full", className), "data-slot": "html-viewer", children });
@@ -2482,79 +2474,6 @@ function DocTagBar({
2482
2474
  }
2483
2475
  );
2484
2476
  }
2485
- function TranslationBadge({
2486
- isComparing,
2487
- onToggleCompare,
2488
- onCopy,
2489
- labels
2490
- }) {
2491
- const l = { ...DEFAULT_HTML_VIEWER_LABELS, ...labels };
2492
- const [copied, setCopied] = react.useState(false);
2493
- const handleCopy = async () => {
2494
- await onCopy();
2495
- setCopied(true);
2496
- setTimeout(() => setCopied(false), 2e3);
2497
- };
2498
- const iconButton = "flex items-center transition-colors hover:text-blue-text-strong pointer-coarse:min-h-11 pointer-coarse:min-w-11 pointer-coarse:justify-center";
2499
- return /* @__PURE__ */ jsxRuntime.jsxs(
2500
- "span",
2501
- {
2502
- className: "inline-flex items-center gap-1 rounded-md border border-blue-border bg-blue-bg py-0.5 pl-2 pr-1 text-sm font-medium text-blue-text",
2503
- "data-slot": "translation-badge",
2504
- children: [
2505
- l.instantTranslation,
2506
- /* @__PURE__ */ jsxRuntime.jsx(
2507
- "button",
2508
- {
2509
- type: "button",
2510
- onClick: onToggleCompare,
2511
- className: iconButton,
2512
- title: isComparing ? l.backToDocument : l.compareOriginal,
2513
- "aria-label": isComparing ? l.backToDocument : l.compareOriginal,
2514
- children: isComparing ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-3" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Columns2, { className: "size-3" })
2515
- }
2516
- ),
2517
- /* @__PURE__ */ jsxRuntime.jsx(
2518
- "button",
2519
- {
2520
- type: "button",
2521
- onClick: handleCopy,
2522
- className: iconButton,
2523
- title: isComparing ? l.copyComparison : l.copyTranslation,
2524
- "aria-label": isComparing ? l.copyComparison : l.copyTranslation,
2525
- children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "size-3" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "size-3" })
2526
- }
2527
- )
2528
- ]
2529
- }
2530
- );
2531
- }
2532
- function TranslationCompareTable({
2533
- rows,
2534
- labels
2535
- }) {
2536
- const l = { ...DEFAULT_HTML_VIEWER_LABELS, ...labels };
2537
- const th = "border border-border px-4 py-2 text-left text-sm font-medium text-muted-foreground";
2538
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full w-full overflow-y-auto bg-muted p-4", "data-slot": "translation-compare", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto max-w-6xl", children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: "w-full border-collapse overflow-hidden rounded-md border border-border bg-background", children: [
2539
- /* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "bg-muted", children: [
2540
- /* @__PURE__ */ jsxRuntime.jsx("th", { className: ui.cn(th, "w-40 px-3"), translate: "no", children: l.passage }),
2541
- /* @__PURE__ */ jsxRuntime.jsx("th", { className: ui.cn(th, "w-1/2"), translate: "no", children: l.original }),
2542
- /* @__PURE__ */ jsxRuntime.jsx("th", { className: ui.cn(th, "w-1/2 text-blue-text"), translate: "no", children: l.translation })
2543
- ] }) }),
2544
- /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: rows.map((row) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: "align-top", children: [
2545
- /* @__PURE__ */ jsxRuntime.jsx("td", { className: "border border-border px-3 py-2", translate: "no", children: row.passage }),
2546
- /* @__PURE__ */ jsxRuntime.jsx(
2547
- "td",
2548
- {
2549
- className: "whitespace-pre-wrap border border-border px-4 py-2 text-sm text-foreground",
2550
- translate: "no",
2551
- children: row.original
2552
- }
2553
- ),
2554
- /* @__PURE__ */ jsxRuntime.jsx("td", { className: "whitespace-pre-wrap border border-border px-4 py-2 text-sm text-foreground", children: row.translated })
2555
- ] }, row.key)) })
2556
- ] }) }) });
2557
- }
2558
2477
  var DEFAULT_TAG_PASSAGE_PANEL_LABELS = {
2559
2478
  title: "Tag Passage",
2560
2479
  page: (n) => `Page ${n}`,
@@ -7004,18 +6923,6 @@ function ExplorerDragPreview({ icon, title, count }) {
7004
6923
  ] });
7005
6924
  }
7006
6925
 
7007
- Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS", {
7008
- enumerable: true,
7009
- get: function () { return chunk2WLXQGWC_cjs.DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS; }
7010
- });
7011
- Object.defineProperty(exports, "DocumentViewToggle", {
7012
- enumerable: true,
7013
- get: function () { return chunk2WLXQGWC_cjs.DocumentViewToggle; }
7014
- });
7015
- Object.defineProperty(exports, "ViewToggle", {
7016
- enumerable: true,
7017
- get: function () { return chunk2WLXQGWC_cjs.ViewToggle; }
7018
- });
7019
6926
  Object.defineProperty(exports, "DEFAULT_FOLDER_FILTER_LABELS", {
7020
6927
  enumerable: true,
7021
6928
  get: function () { return chunkO4YPVYPO_cjs.DEFAULT_FOLDER_FILTER_LABELS; }
@@ -7076,6 +6983,18 @@ Object.defineProperty(exports, "ViewerStatusNote", {
7076
6983
  enumerable: true,
7077
6984
  get: function () { return chunkUWIILWDI_cjs.ViewerStatusNote; }
7078
6985
  });
6986
+ Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS", {
6987
+ enumerable: true,
6988
+ get: function () { return chunk2WLXQGWC_cjs.DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS; }
6989
+ });
6990
+ Object.defineProperty(exports, "DocumentViewToggle", {
6991
+ enumerable: true,
6992
+ get: function () { return chunk2WLXQGWC_cjs.DocumentViewToggle; }
6993
+ });
6994
+ Object.defineProperty(exports, "ViewToggle", {
6995
+ enumerable: true,
6996
+ get: function () { return chunk2WLXQGWC_cjs.ViewToggle; }
6997
+ });
7079
6998
  Object.defineProperty(exports, "CellHoverIcon", {
7080
6999
  enumerable: true,
7081
7000
  get: function () { return chunk3AFWGEDJ_cjs.CellHoverIcon; }
@@ -7084,6 +7003,10 @@ Object.defineProperty(exports, "HoverIconCell", {
7084
7003
  enumerable: true,
7085
7004
  get: function () { return chunk3AFWGEDJ_cjs.HoverIconCell; }
7086
7005
  });
7006
+ Object.defineProperty(exports, "UploadDropzone", {
7007
+ enumerable: true,
7008
+ get: function () { return chunkDETZZBG2_cjs.UploadDropzone; }
7009
+ });
7087
7010
  Object.defineProperty(exports, "DEFAULT_SELECTION_BAR_LABELS", {
7088
7011
  enumerable: true,
7089
7012
  get: function () { return chunkV4ISCZJ7_cjs.DEFAULT_SELECTION_BAR_LABELS; }
@@ -7096,10 +7019,6 @@ Object.defineProperty(exports, "SelectionBarAction", {
7096
7019
  enumerable: true,
7097
7020
  get: function () { return chunkV4ISCZJ7_cjs.SelectionBarAction; }
7098
7021
  });
7099
- Object.defineProperty(exports, "UploadDropzone", {
7100
- enumerable: true,
7101
- get: function () { return chunkDETZZBG2_cjs.UploadDropzone; }
7102
- });
7103
7022
  Object.defineProperty(exports, "GridView", {
7104
7023
  enumerable: true,
7105
7024
  get: function () { return chunkC2CWWEHO_cjs.GridView; }
@@ -7237,8 +7156,6 @@ exports.TransferProgressView = TransferProgressView;
7237
7156
  exports.TransferReferencesChooser = TransferReferencesChooser;
7238
7157
  exports.TransferResumeBanner = TransferResumeBanner;
7239
7158
  exports.TransferScopeChooser = TransferScopeChooser;
7240
- exports.TranslationBadge = TranslationBadge;
7241
- exports.TranslationCompareTable = TranslationCompareTable;
7242
7159
  exports.UploadBrowseButtons = UploadBrowseButtons;
7243
7160
  exports.UploadContainer = UploadContainer;
7244
7161
  exports.UploadDropArea = UploadDropArea;