@arbidocs/blocks 0.4.110 → 0.4.112

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 (123) hide show
  1. package/dist/{NativeDocxEditor-WODZAURG.cjs → NativeDocxEditor-AQZSUGET.cjs} +8 -8
  2. package/dist/{NativeDocxEditor-WODZAURG.cjs.map → NativeDocxEditor-AQZSUGET.cjs.map} +1 -1
  3. package/dist/{NativeDocxEditor-4PY4YZYC.js → NativeDocxEditor-MBCBXYDZ.js} +4 -4
  4. package/dist/{NativeDocxEditor-4PY4YZYC.js.map → NativeDocxEditor-MBCBXYDZ.js.map} +1 -1
  5. package/dist/agents/index.cjs +208 -208
  6. package/dist/agents/index.js +3 -3
  7. package/dist/calendar/EventEditor.d.ts +1 -1
  8. package/dist/calendar/draft.d.ts +7 -1
  9. package/dist/calendar/index.cjs +58 -10
  10. package/dist/calendar/index.cjs.map +1 -1
  11. package/dist/calendar/index.d.ts +1 -1
  12. package/dist/calendar/index.js +56 -11
  13. package/dist/calendar/index.js.map +1 -1
  14. package/dist/calendar/types.d.ts +20 -0
  15. package/dist/calls/CallSidePanel.d.ts +16 -1
  16. package/dist/calls/ControlBar.d.ts +25 -3
  17. package/dist/calls/PreJoin.d.ts +6 -2
  18. package/dist/calls/cards.d.ts +6 -2
  19. package/dist/calls/index.cjs +1078 -47
  20. package/dist/calls/index.cjs.map +1 -1
  21. package/dist/calls/index.d.ts +4 -3
  22. package/dist/calls/index.js +1067 -51
  23. package/dist/calls/index.js.map +1 -1
  24. package/dist/calls/panels.d.ts +11 -0
  25. package/dist/calls/webinar/ChatPermissionSetting.d.ts +18 -0
  26. package/dist/calls/webinar/OnStageCheck.d.ts +23 -0
  27. package/dist/calls/webinar/QAPanel.d.ts +56 -0
  28. package/dist/calls/webinar/RaiseHandButton.d.ts +14 -0
  29. package/dist/calls/webinar/WebinarAudiencePanel.d.ts +23 -0
  30. package/dist/calls/webinar/WebinarViewer.d.ts +39 -0
  31. package/dist/calls/webinar/WebinarWaiting.d.ts +19 -0
  32. package/dist/calls/webinar/hooks.d.ts +13 -0
  33. package/dist/calls/webinar/index.d.ts +14 -0
  34. package/dist/calls/webinar/live.d.ts +43 -0
  35. package/dist/calls/webinar/types.d.ts +49 -0
  36. package/dist/{chunk-GKDWQLVU.js → chunk-3OT37I24.js} +165 -381
  37. package/dist/chunk-3OT37I24.js.map +1 -0
  38. package/dist/{chunk-2NIL2ASF.cjs → chunk-ETBB5KMN.cjs} +196 -400
  39. package/dist/chunk-ETBB5KMN.cjs.map +1 -0
  40. package/dist/{chunk-SQNAJPNR.js → chunk-GFYGYME3.js} +3 -3
  41. package/dist/{chunk-SQNAJPNR.js.map → chunk-GFYGYME3.js.map} +1 -1
  42. package/dist/{chunk-PEHLUB52.js → chunk-GIBRZ54P.js} +3 -3
  43. package/dist/{chunk-PEHLUB52.js.map → chunk-GIBRZ54P.js.map} +1 -1
  44. package/dist/chunk-GICUGQNN.cjs +76 -0
  45. package/dist/chunk-GICUGQNN.cjs.map +1 -0
  46. package/dist/{chunk-54WBIVHV.cjs → chunk-HF4PAYBM.cjs} +5 -5
  47. package/dist/{chunk-54WBIVHV.cjs.map → chunk-HF4PAYBM.cjs.map} +1 -1
  48. package/dist/chunk-I2QSDQQV.cjs +126 -0
  49. package/dist/chunk-I2QSDQQV.cjs.map +1 -0
  50. package/dist/chunk-JJLMCV3T.js +73 -0
  51. package/dist/chunk-JJLMCV3T.js.map +1 -0
  52. package/dist/{chunk-W7ZDBPJ3.cjs → chunk-OR4CO743.cjs} +3 -3
  53. package/dist/{chunk-W7ZDBPJ3.cjs.map → chunk-OR4CO743.cjs.map} +1 -1
  54. package/dist/chunk-QXMR5YHC.js +80 -0
  55. package/dist/chunk-QXMR5YHC.js.map +1 -0
  56. package/dist/{chunk-ELDUWTRR.cjs → chunk-RUFNJRLW.cjs} +4 -4
  57. package/dist/{chunk-ELDUWTRR.cjs.map → chunk-RUFNJRLW.cjs.map} +1 -1
  58. package/dist/{chunk-JB32KYAH.js → chunk-TKJSCHSX.js} +3 -3
  59. package/dist/{chunk-JB32KYAH.js.map → chunk-TKJSCHSX.js.map} +1 -1
  60. package/dist/{chunk-WPVIOGDG.cjs → chunk-US5ASM4G.cjs} +22 -22
  61. package/dist/{chunk-WPVIOGDG.cjs.map → chunk-US5ASM4G.cjs.map} +1 -1
  62. package/dist/{chunk-CECWAIHL.js → chunk-XFZ7HNPG.js} +3 -3
  63. package/dist/{chunk-CECWAIHL.js.map → chunk-XFZ7HNPG.js.map} +1 -1
  64. package/dist/{chunk-VZKBI2KJ.cjs → chunk-Z2NSU7D5.cjs} +4 -4
  65. package/dist/{chunk-VZKBI2KJ.cjs.map → chunk-Z2NSU7D5.cjs.map} +1 -1
  66. package/dist/{chunk-A35KT2II.js → chunk-ZP4IFW2E.js} +4 -4
  67. package/dist/{chunk-A35KT2II.js.map → chunk-ZP4IFW2E.js.map} +1 -1
  68. package/dist/collaboration/index.cjs +1 -1
  69. package/dist/collaboration/index.js +1 -1
  70. package/dist/connect/docx.cjs +7 -7
  71. package/dist/connect/docx.js +5 -5
  72. package/dist/connect/index.cjs +38 -38
  73. package/dist/connect/index.js +8 -8
  74. package/dist/docx/AgentUndo.d.ts +4 -0
  75. package/dist/docx/definitions/commands.d.ts +3 -52
  76. package/dist/docx/definitions/fragment.d.ts +5 -31
  77. package/dist/docx/definitions/port.d.ts +2 -22
  78. package/dist/docx/index.cjs +47 -47
  79. package/dist/docx/index.js +4 -4
  80. package/dist/docx/references/commands.d.ts +3 -89
  81. package/dist/docx/references/port.d.ts +2 -11
  82. package/dist/facts/index.cjs +1 -1
  83. package/dist/facts/index.js +1 -1
  84. package/dist/files/index.cjs +1 -1
  85. package/dist/files/index.js +1 -1
  86. package/dist/index.cjs +278 -278
  87. package/dist/index.js +8 -8
  88. package/dist/settings/index.cjs +47 -101
  89. package/dist/settings/index.cjs.map +1 -1
  90. package/dist/settings/index.js +9 -69
  91. package/dist/settings/index.js.map +1 -1
  92. package/dist/shell/index.cjs +9 -9
  93. package/dist/shell/index.js +1 -1
  94. package/dist/tags/definitions.d.ts +4 -25
  95. package/dist/tags/ooxml.d.ts +1 -19
  96. package/dist/workflow-canvas/index.cjs +10 -10
  97. package/dist/workflow-canvas/index.js +3 -3
  98. package/node_modules/@arbidocs/coedit/dist/commands.cjs +866 -9
  99. package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -1
  100. package/node_modules/@arbidocs/coedit/dist/commands.d.cts +342 -156
  101. package/node_modules/@arbidocs/coedit/dist/commands.d.ts +342 -156
  102. package/node_modules/@arbidocs/coedit/dist/commands.js +817 -11
  103. package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -1
  104. package/node_modules/@arbidocs/coedit/dist/port-ip7WByvH.d.cts +188 -0
  105. package/node_modules/@arbidocs/coedit/dist/port-ip7WByvH.d.ts +188 -0
  106. package/node_modules/@arbidocs/coedit/dist/server.cjs +731 -65
  107. package/node_modules/@arbidocs/coedit/dist/server.cjs.map +1 -1
  108. package/node_modules/@arbidocs/coedit/dist/server.d.cts +40 -1
  109. package/node_modules/@arbidocs/coedit/dist/server.d.ts +40 -1
  110. package/node_modules/@arbidocs/coedit/dist/server.js +730 -66
  111. package/node_modules/@arbidocs/coedit/dist/server.js.map +1 -1
  112. package/node_modules/@arbidocs/coedit/dist/template.d.cts +3 -17
  113. package/node_modules/@arbidocs/coedit/dist/template.d.ts +3 -17
  114. package/node_modules/@arbidocs/coedit/dist/track-eYC94jTp.d.cts +17 -0
  115. package/node_modules/@arbidocs/coedit/dist/track-eYC94jTp.d.ts +17 -0
  116. package/node_modules/@arbidocs/coedit/package.json +1 -1
  117. package/package.json +4 -4
  118. package/dist/chunk-2A4MDHJR.cjs +0 -198
  119. package/dist/chunk-2A4MDHJR.cjs.map +0 -1
  120. package/dist/chunk-2NIL2ASF.cjs.map +0 -1
  121. package/dist/chunk-EPHGD4YV.js +0 -174
  122. package/dist/chunk-EPHGD4YV.js.map +0 -1
  123. package/dist/chunk-GKDWQLVU.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk54WBIVHV_cjs = require('../chunk-54WBIVHV.cjs');
4
+ var chunkHF4PAYBM_cjs = require('../chunk-HF4PAYBM.cjs');
5
5
  var chunkS24XEVPS_cjs = require('../chunk-S24XEVPS.cjs');
6
- var chunk2NIL2ASF_cjs = require('../chunk-2NIL2ASF.cjs');
6
+ var chunkETBB5KMN_cjs = require('../chunk-ETBB5KMN.cjs');
7
7
  require('../chunk-5FYU7ZIU.cjs');
8
- require('../chunk-2A4MDHJR.cjs');
8
+ require('../chunk-I2QSDQQV.cjs');
9
9
  require('../chunk-RC25WMVB.cjs');
10
10
  require('../chunk-7UTB4PHM.cjs');
11
11
  require('../chunk-MHVNT4J3.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
- chunk2NIL2ASF_cjs.NativeDocxEditor,
65
+ chunkETBB5KMN_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 chunk54WBIVHV_cjs.StreamedWordArtifact; }
77
+ get: function () { return chunkHF4PAYBM_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 chunk2NIL2ASF_cjs.BUILTIN_TEMPLATE_NAME; }
85
+ get: function () { return chunkETBB5KMN_cjs.BUILTIN_TEMPLATE_NAME; }
86
86
  });
87
87
  Object.defineProperty(exports, "CrossReferenceDialog", {
88
88
  enumerable: true,
89
- get: function () { return chunk2NIL2ASF_cjs.CrossReferenceDialog; }
89
+ get: function () { return chunkETBB5KMN_cjs.CrossReferenceDialog; }
90
90
  });
91
91
  Object.defineProperty(exports, "CrossReferencesProvider", {
92
92
  enumerable: true,
93
- get: function () { return chunk2NIL2ASF_cjs.CrossReferencesProvider; }
93
+ get: function () { return chunkETBB5KMN_cjs.CrossReferencesProvider; }
94
94
  });
95
95
  Object.defineProperty(exports, "DEFAULT_CROSS_REFERENCES_LABELS", {
96
96
  enumerable: true,
97
- get: function () { return chunk2NIL2ASF_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
97
+ get: function () { return chunkETBB5KMN_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
98
98
  });
99
99
  Object.defineProperty(exports, "DEFAULT_DEFINED_TERMS_LABELS", {
100
100
  enumerable: true,
101
- get: function () { return chunk2NIL2ASF_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
101
+ get: function () { return chunkETBB5KMN_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
102
102
  });
103
103
  Object.defineProperty(exports, "DEFINED_TERM_TRIGGER", {
104
104
  enumerable: true,
105
- get: function () { return chunk2NIL2ASF_cjs.DEFINED_TERM_TRIGGER; }
105
+ get: function () { return chunkETBB5KMN_cjs.DEFINED_TERM_TRIGGER; }
106
106
  });
107
107
  Object.defineProperty(exports, "DefinedTermsProvider", {
108
108
  enumerable: true,
109
- get: function () { return chunk2NIL2ASF_cjs.DefinedTermsProvider; }
109
+ get: function () { return chunkETBB5KMN_cjs.DefinedTermsProvider; }
110
110
  });
111
111
  Object.defineProperty(exports, "DocxAuthorContext", {
112
112
  enumerable: true,
113
- get: function () { return chunk2NIL2ASF_cjs.DocxAuthorContext; }
113
+ get: function () { return chunkETBB5KMN_cjs.DocxAuthorContext; }
114
114
  });
115
115
  Object.defineProperty(exports, "DocxCommentActivity", {
116
116
  enumerable: true,
117
- get: function () { return chunk2NIL2ASF_cjs.DocxCommentActivity; }
117
+ get: function () { return chunkETBB5KMN_cjs.DocxCommentActivity; }
118
118
  });
119
119
  Object.defineProperty(exports, "DocxEditorReview", {
120
120
  enumerable: true,
121
- get: function () { return chunk2NIL2ASF_cjs.DocxEditorReview; }
121
+ get: function () { return chunkETBB5KMN_cjs.DocxEditorReview; }
122
122
  });
123
123
  Object.defineProperty(exports, "DocxMentions", {
124
124
  enumerable: true,
125
- get: function () { return chunk2NIL2ASF_cjs.DocxMentions; }
125
+ get: function () { return chunkETBB5KMN_cjs.DocxMentions; }
126
126
  });
127
127
  Object.defineProperty(exports, "DocxParticipants", {
128
128
  enumerable: true,
129
- get: function () { return chunk2NIL2ASF_cjs.DocxParticipants; }
129
+ get: function () { return chunkETBB5KMN_cjs.DocxParticipants; }
130
130
  });
131
131
  Object.defineProperty(exports, "DocxRibbon", {
132
132
  enumerable: true,
133
- get: function () { return chunk2NIL2ASF_cjs.DocxRibbon; }
133
+ get: function () { return chunkETBB5KMN_cjs.DocxRibbon; }
134
134
  });
135
135
  Object.defineProperty(exports, "GenerateImageButton", {
136
136
  enumerable: true,
137
- get: function () { return chunk2NIL2ASF_cjs.GenerateImageButton; }
137
+ get: function () { return chunkETBB5KMN_cjs.GenerateImageButton; }
138
138
  });
139
139
  Object.defineProperty(exports, "HouseTemplateProvider", {
140
140
  enumerable: true,
141
- get: function () { return chunk2NIL2ASF_cjs.HouseTemplateProvider; }
141
+ get: function () { return chunkETBB5KMN_cjs.HouseTemplateProvider; }
142
142
  });
143
143
  Object.defineProperty(exports, "LinkHoverCard", {
144
144
  enumerable: true,
145
- get: function () { return chunk2NIL2ASF_cjs.LinkHoverCard; }
145
+ get: function () { return chunkETBB5KMN_cjs.LinkHoverCard; }
146
146
  });
147
147
  Object.defineProperty(exports, "NativeDocxEditor", {
148
148
  enumerable: true,
149
- get: function () { return chunk2NIL2ASF_cjs.NativeDocxEditor; }
149
+ get: function () { return chunkETBB5KMN_cjs.NativeDocxEditor; }
150
150
  });
151
151
  Object.defineProperty(exports, "builtinHouseTemplate", {
152
152
  enumerable: true,
153
- get: function () { return chunk2NIL2ASF_cjs.builtinHouseTemplate; }
153
+ get: function () { return chunkETBB5KMN_cjs.builtinHouseTemplate; }
154
154
  });
155
155
  Object.defineProperty(exports, "contentPath", {
156
156
  enumerable: true,
157
- get: function () { return chunk2NIL2ASF_cjs.contentPath; }
157
+ get: function () { return chunkETBB5KMN_cjs.contentPath; }
158
158
  });
159
159
  Object.defineProperty(exports, "editorPort", {
160
160
  enumerable: true,
161
- get: function () { return chunk2NIL2ASF_cjs.editorPort; }
161
+ get: function () { return chunkETBB5KMN_cjs.editorPort; }
162
162
  });
163
163
  Object.defineProperty(exports, "findDefinitionsSection", {
164
164
  enumerable: true,
165
- get: function () { return chunk2NIL2ASF_cjs.findDefinitionsSection; }
165
+ get: function () { return chunkETBB5KMN_cjs.findDefinitionsSection; }
166
166
  });
167
167
  Object.defineProperty(exports, "insertCrossReference", {
168
168
  enumerable: true,
169
- get: function () { return chunk2NIL2ASF_cjs.insertCrossReference; }
169
+ get: function () { return chunkETBB5KMN_cjs.insertCrossReference; }
170
170
  });
171
171
  Object.defineProperty(exports, "insertDefinedTerm", {
172
172
  enumerable: true,
173
- get: function () { return chunk2NIL2ASF_cjs.insertDefinedTerm; }
173
+ get: function () { return chunkETBB5KMN_cjs.insertDefinedTerm; }
174
174
  });
175
175
  Object.defineProperty(exports, "insertDocumentReference", {
176
176
  enumerable: true,
177
- get: function () { return chunk2NIL2ASF_cjs.insertDocumentReference; }
177
+ get: function () { return chunkETBB5KMN_cjs.insertDocumentReference; }
178
178
  });
179
179
  Object.defineProperty(exports, "listTargets", {
180
180
  enumerable: true,
181
- get: function () { return chunk2NIL2ASF_cjs.listTargets; }
181
+ get: function () { return chunkETBB5KMN_cjs.listTargets; }
182
182
  });
183
183
  Object.defineProperty(exports, "normalizeDocxExport", {
184
184
  enumerable: true,
185
- get: function () { return chunk2NIL2ASF_cjs.normalizeDocxExport; }
185
+ get: function () { return chunkETBB5KMN_cjs.normalizeDocxExport; }
186
186
  });
187
187
  Object.defineProperty(exports, "paragraphNumber", {
188
188
  enumerable: true,
189
- get: function () { return chunk2NIL2ASF_cjs.paragraphNumber; }
189
+ get: function () { return chunkETBB5KMN_cjs.paragraphNumber; }
190
190
  });
191
191
  Object.defineProperty(exports, "referenceText", {
192
192
  enumerable: true,
193
- get: function () { return chunk2NIL2ASF_cjs.referenceText; }
193
+ get: function () { return chunkETBB5KMN_cjs.referenceText; }
194
194
  });
195
195
  Object.defineProperty(exports, "referencesPort", {
196
196
  enumerable: true,
197
- get: function () { return chunk2NIL2ASF_cjs.referencesPort; }
197
+ get: function () { return chunkETBB5KMN_cjs.referencesPort; }
198
198
  });
199
199
  Object.defineProperty(exports, "resolveHouseTemplate", {
200
200
  enumerable: true,
201
- get: function () { return chunk2NIL2ASF_cjs.resolveHouseTemplate; }
201
+ get: function () { return chunkETBB5KMN_cjs.resolveHouseTemplate; }
202
202
  });
203
203
  Object.defineProperty(exports, "reviewModule", {
204
204
  enumerable: true,
205
- get: function () { return chunk2NIL2ASF_cjs.reviewModule; }
205
+ get: function () { return chunkETBB5KMN_cjs.reviewModule; }
206
206
  });
207
207
  Object.defineProperty(exports, "shortTitle", {
208
208
  enumerable: true,
209
- get: function () { return chunk2NIL2ASF_cjs.shortTitle; }
209
+ get: function () { return chunkETBB5KMN_cjs.shortTitle; }
210
210
  });
211
211
  Object.defineProperty(exports, "structuralPort", {
212
212
  enumerable: true,
213
- get: function () { return chunk2NIL2ASF_cjs.structuralPort; }
213
+ get: function () { return chunkETBB5KMN_cjs.structuralPort; }
214
214
  });
215
215
  Object.defineProperty(exports, "templateFileName", {
216
216
  enumerable: true,
217
- get: function () { return chunk2NIL2ASF_cjs.templateFileName; }
217
+ get: function () { return chunkETBB5KMN_cjs.templateFileName; }
218
218
  });
219
219
  Object.defineProperty(exports, "trackedOrNoted", {
220
220
  enumerable: true,
221
- get: function () { return chunk2NIL2ASF_cjs.trackedOrNoted; }
221
+ get: function () { return chunkETBB5KMN_cjs.trackedOrNoted; }
222
222
  });
223
223
  Object.defineProperty(exports, "useCrossReferences", {
224
224
  enumerable: true,
225
- get: function () { return chunk2NIL2ASF_cjs.useCrossReferences; }
225
+ get: function () { return chunkETBB5KMN_cjs.useCrossReferences; }
226
226
  });
227
227
  Object.defineProperty(exports, "useDefinedTerms", {
228
228
  enumerable: true,
229
- get: function () { return chunk2NIL2ASF_cjs.useDefinedTerms; }
229
+ get: function () { return chunkETBB5KMN_cjs.useDefinedTerms; }
230
230
  });
231
231
  Object.defineProperty(exports, "useHouseTemplate", {
232
232
  enumerable: true,
233
- get: function () { return chunk2NIL2ASF_cjs.useHouseTemplate; }
233
+ get: function () { return chunkETBB5KMN_cjs.useHouseTemplate; }
234
234
  });
235
235
  Object.defineProperty(exports, "useReview", {
236
236
  enumerable: true,
237
- get: function () { return chunk2NIL2ASF_cjs.useReview; }
237
+ get: function () { return chunkETBB5KMN_cjs.useReview; }
238
238
  });
239
239
  Object.defineProperty(exports, "useReviewItem", {
240
240
  enumerable: true,
241
- get: function () { return chunk2NIL2ASF_cjs.useReviewItem; }
241
+ get: function () { return chunkETBB5KMN_cjs.useReviewItem; }
242
242
  });
243
243
  Object.defineProperty(exports, "useTrackedOrNoted", {
244
244
  enumerable: true,
245
- get: function () { return chunk2NIL2ASF_cjs.useTrackedOrNoted; }
245
+ get: function () { return chunkETBB5KMN_cjs.useTrackedOrNoted; }
246
246
  });
247
247
  Object.defineProperty(exports, "withDirectEditing", {
248
248
  enumerable: true,
249
- get: function () { return chunk2NIL2ASF_cjs.withDirectEditing; }
249
+ get: function () { return chunkETBB5KMN_cjs.withDirectEditing; }
250
250
  });
251
251
  Object.defineProperty(exports, "DocxEditor", {
252
252
  enumerable: true,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- export { StreamedWordArtifact } from '../chunk-JB32KYAH.js';
2
+ export { StreamedWordArtifact } from '../chunk-TKJSCHSX.js';
3
3
  export { loadDocxFonts } from '../chunk-GYAUJ4KT.js';
4
- import { NativeDocxEditor } from '../chunk-GKDWQLVU.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-GKDWQLVU.js';
4
+ import { NativeDocxEditor } from '../chunk-3OT37I24.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-3OT37I24.js';
6
6
  import '../chunk-HFZ45FD3.js';
7
- import '../chunk-EPHGD4YV.js';
7
+ import '../chunk-QXMR5YHC.js';
8
8
  import '../chunk-AF6RDAJF.js';
9
9
  import '../chunk-AA3PT6KR.js';
10
10
  import '../chunk-7F6CBP3Z.js';
@@ -1,91 +1,5 @@
1
1
  /**
2
- * Insert cross-references, the way Word does.
3
- *
4
- * Within the document: a hidden `_Ref…` bookmark on the target paragraph and a `REF` field at the
5
- * caret — `REF _Ref123 \r \h` for a numbered paragraph (Word's Cross-reference › Numbered item ›
6
- * Paragraph number), `REF _Ref123 \h` for a heading's text. The field's cached result is the value
7
- * the editor computes, so it updates live when the clauses are renumbered, and Word updates it
8
- * with the document's other fields.
9
- *
10
- * To another document: a hyperlink with the reference text ("SPA, clause 8.2"), aimed at the app
11
- * address of that document's passage (so it works from Word too), with a screen tip saying so.
2
+ * Insert cross-references, the way Word does: shared with the collaboration service, see
3
+ * `@arbidocs/coedit/commands` (`references.ts`).
12
4
  */
13
- import { type DocPoint } from '../definitions/port';
14
- import { type BrokenReference, type CrossReferenceMode } from '@arbidocs/coedit/commands';
15
- import type { CrossReferenceTarget } from './numbering';
16
- import type { ReferencesPort } from './port';
17
- export { REF_BOOKMARK_PREFIX, brokenCrossReferences, staleCrossReferences, type BrokenReference, type CrossReferenceMode, type StaleReference, } from '@arbidocs/coedit/commands';
18
- /** A new `_Ref` bookmark name: Word's shape (`_Ref` and nine digits), not yet in the document. */
19
- export declare function newRefBookmark(taken: ReadonlySet<string>, random?: () => number): string;
20
- /**
21
- * A complex `REF` field with its cached result, every run in the Cross Reference style (Word gives
22
- * an updated result the formatting of the field's first run).
23
- */
24
- export declare function refFieldXml(instruction: string, cached: string): string;
25
- /** The screen tip of a reference to this document: "Cross-reference to clause 2.2". */
26
- export declare const refTooltip: (value: string, mode: CrossReferenceMode) => string;
27
- /**
28
- * A reference to this document: the `REF` field inside a link to the same bookmark, which carries
29
- * the screen tip Word shows on hover ("Cross-reference to clause 2.2").
30
- */
31
- export declare function crossReferenceXml(bookmark: string, mode: CrossReferenceMode, value: string): string;
32
- /** The field instruction for a target: its paragraph number, or its text. */
33
- export declare const refInstruction: (bookmark: string, mode: CrossReferenceMode) => string;
34
- /** What the reference reads in the text. */
35
- export declare const refResult: (target: CrossReferenceTarget, mode: CrossReferenceMode) => string;
36
- /**
37
- * The `_Ref` bookmark a target carries: an existing one at the paragraph, else a new one. For a
38
- * paragraph number it is an empty bookmark at the paragraph's start (the number is the
39
- * paragraph's); for heading text it wraps the heading's runs (REF shows the bookmarked text).
40
- */
41
- export declare function ensureTargetBookmark(port: ReferencesPort, target: CrossReferenceTarget, mode: CrossReferenceMode): string;
42
- /**
43
- * Mark a cross-reference's target (see {@link ensureTargetBookmark}): what the reference will
44
- * address and read. A paragraph number falls back to the heading text when it has none. Done as a
45
- * direct edit even while suggesting — the bookmark is hidden, and a heading's text is put back as
46
- * it was — so rejecting the reference leaves the target as it was.
47
- */
48
- export declare function markCrossReferenceTarget(port: ReferencesPort, target: CrossReferenceTarget, mode: CrossReferenceMode): {
49
- bookmark: string;
50
- mode: CrossReferenceMode;
51
- value: string;
52
- };
53
- /**
54
- * Insert the `REF` field of a marked target at `caret`; the caret ends after it. With a port
55
- * whose pastes are tracked, the reference is one suggestion.
56
- */
57
- export declare function insertCrossReferenceField(port: ReferencesPort, { bookmark, mode, value }: {
58
- bookmark: string;
59
- mode: CrossReferenceMode;
60
- value: string;
61
- }, caret: DocPoint): {
62
- bookmark: string;
63
- };
64
- /** Insert a cross-reference to a target of this document at `caret`; the caret ends after it. */
65
- export declare function insertCrossReference(port: ReferencesPort, target: CrossReferenceTarget, mode: CrossReferenceMode, caret: DocPoint): {
66
- bookmark: string;
67
- };
68
- /** The screen tip of a reference to another document: "Cross-reference: SPA, clause 8.2 — opens in ARBI". */
69
- export declare const documentReferenceTooltip: (text: string, appName?: string) => string;
70
- /**
71
- * Insert a reference to another document's passage: the reference text in the Cross Reference
72
- * style, linked to the passage's (absolute) app address, at `caret`.
73
- */
74
- export declare function insertDocumentReference(port: ReferencesPort, reference: {
75
- text: string;
76
- url: string;
77
- appName?: string;
78
- }, caret: DocPoint): void;
79
- export interface RefreshResult {
80
- /** References rewritten with their current number or text. */
81
- refreshed: number;
82
- /** References whose target is gone, now (or already) marked broken. */
83
- broken: BrokenReference[];
84
- }
85
- /**
86
- * Bring every cross-reference up to date: a stale one is replaced by the same reference with its
87
- * current value (and screen tip); one whose target was deleted becomes its last text in the Cross
88
- * Reference Broken style — never Word's "Error! Reference source not found." A field directly
89
- * after another field is left alone: a paste there would land inside the previous field.
90
- */
91
- export declare function refreshCrossReferences(port: ReferencesPort): RefreshResult;
5
+ export { REF_BOOKMARK_PREFIX, brokenCrossReferences, crossReferenceXml, documentReferenceTooltip, ensureTargetBookmark, insertCrossReference, insertCrossReferenceField, insertDocumentReference, markCrossReferenceTarget, newRefBookmark, refFieldXml, refInstruction, refResult, refTooltip, refreshCrossReferences, staleCrossReferences, type BrokenReference, type CrossReferenceMode, type RefreshResult, type StaleReference, } from '@arbidocs/coedit/commands';
@@ -5,16 +5,7 @@
5
5
  */
6
6
  import type { DocxEditorInstance } from '@docx-editor.dev/core';
7
7
  import type { Revision } from '@arbidocs/coedit/template';
8
- import { type DefinitionsPort, type OoxmlNodeLike } from '../definitions/port';
9
- import type { LevelOf, ListItemInfo } from './numbering';
10
- export interface ReferencesPort extends DefinitionsPort {
11
- /** Each numbered paragraph's list item, by paragraph id. */
12
- listItems(): ReadonlyMap<string, ListItemInfo>;
13
- levelOf: LevelOf;
14
- /** The paragraph's runs as WordprocessingML, or null when it holds more than plain runs. */
15
- runsXml(paragraphId: string): string | null;
16
- }
17
- /** A paragraph's runs as XML (formatting kept), or null for anything but plain runs. */
18
- export declare function paragraphRunsXml(paragraph: OoxmlNodeLike): string | null;
8
+ import { type ReferencesPort } from '@arbidocs/coedit/commands';
9
+ export { paragraphRunsXml, type ReferencesPort } from '@arbidocs/coedit/commands';
19
10
  /** The port over a live editor; with a `revision`, what it pastes is a tracked insertion by it. */
20
11
  export declare function referencesPort(editor: DocxEditorInstance, revision?: Revision | null): ReferencesPort;
@@ -9,8 +9,8 @@ var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
9
9
  var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
10
10
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
11
11
  var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
12
- var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
13
12
  require('../chunk-FX3K6LNZ.cjs');
13
+ var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
14
14
  var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
15
15
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
16
16
  require('../chunk-C54XEN5T.cjs');
@@ -9,8 +9,8 @@ import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
9
9
  import { FilterInput } from '../chunk-YU2KUMGE.js';
10
10
  export { DEFAULT_FILTER_INPUT_LABELS as DEFAULT_FACTS_FILTER_INPUT_LABELS, DEFAULT_FILTER_FIELDS as FACTS_SEARCH_FIELD_OPTIONS, FilterInput as FactsFilterInput } from '../chunk-YU2KUMGE.js';
11
11
  import { GridView } from '../chunk-N5YEF3LC.js';
12
- import { TabHeader } from '../chunk-4WWM3GQ5.js';
13
12
  import '../chunk-SLSBJRWW.js';
13
+ import { TabHeader } from '../chunk-4WWM3GQ5.js';
14
14
  import { observeResize } from '../chunk-NPLYHR2E.js';
15
15
  import { testIdOr } from '../chunk-7F6CBP3Z.js';
16
16
  import '../chunk-76JDDMSP.js';
@@ -11,11 +11,11 @@ var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
11
11
  var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
12
12
  var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
13
13
  var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
14
- var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
15
14
  var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
16
15
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
17
16
  var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
18
17
  require('../chunk-FX3K6LNZ.cjs');
18
+ var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
19
19
  require('../chunk-PPCATBOY.cjs');
20
20
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
21
21
  require('../chunk-C54XEN5T.cjs');
@@ -10,13 +10,13 @@ import { ToneBadge } from '../chunk-5LXQPP2K.js';
10
10
  import { ActionLink } from '../chunk-S7PSMMRG.js';
11
11
  export { UploadDropzone } from '../chunk-EVUEIBNU.js';
12
12
  import { TONE_SURFACE } from '../chunk-AUS3KBHJ.js';
13
- import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
14
13
  import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
15
14
  export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
16
15
  import { FilterInput } from '../chunk-YU2KUMGE.js';
17
16
  import { GridView } from '../chunk-N5YEF3LC.js';
18
17
  export { GridView } from '../chunk-N5YEF3LC.js';
19
18
  import '../chunk-SLSBJRWW.js';
19
+ import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
20
20
  import '../chunk-NPLYHR2E.js';
21
21
  import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
22
22
  import '../chunk-76JDDMSP.js';