@arbidocs/blocks 0.5.5 → 0.5.7
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/{ConnectedCallDock-Q7GSQICC.cjs → ConnectedCallDock-R3SJLBDY.cjs} +3 -3
- package/dist/{ConnectedCallDock-Q7GSQICC.cjs.map → ConnectedCallDock-R3SJLBDY.cjs.map} +1 -1
- package/dist/{ConnectedCallDock-XCTBUJOT.js → ConnectedCallDock-W6MVKME2.js} +3 -3
- package/dist/{ConnectedCallDock-XCTBUJOT.js.map → ConnectedCallDock-W6MVKME2.js.map} +1 -1
- package/dist/{ConnectedCallRoom-W2AHTPYR.js → ConnectedCallRoom-C6PP45LE.js} +3 -3
- package/dist/{ConnectedCallRoom-W2AHTPYR.js.map → ConnectedCallRoom-C6PP45LE.js.map} +1 -1
- package/dist/{ConnectedCallRoom-T6PGW6VC.cjs → ConnectedCallRoom-EKC7RFYF.cjs} +3 -3
- package/dist/{ConnectedCallRoom-T6PGW6VC.cjs.map → ConnectedCallRoom-EKC7RFYF.cjs.map} +1 -1
- package/dist/calls/index.cjs +2 -2
- package/dist/calls/index.js +2 -2
- package/dist/chat/DraftingDocChip.d.ts +7 -2
- package/dist/chat/index.cjs +63 -63
- package/dist/chat/index.js +1 -1
- package/dist/{chunk-PU7CEHTL.cjs → chunk-OBAVNGTL.cjs} +16 -7
- package/dist/chunk-OBAVNGTL.cjs.map +1 -0
- package/dist/{chunk-3FKM4G2T.js → chunk-VDXVTQOF.js} +16 -7
- package/dist/chunk-VDXVTQOF.js.map +1 -0
- package/dist/connect/index.cjs +74 -52
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +32 -10
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +2 -2
- package/dist/connect/viewer.cjs.map +1 -1
- package/dist/connect/viewer.js +2 -2
- package/dist/connect/viewer.js.map +1 -1
- package/dist/connection/config/useDeveloperConfig.d.ts +3 -0
- package/dist/connection/config/useModelPicker.d.ts +12 -0
- package/dist/index.cjs +63 -63
- package/dist/index.js +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/src/docx/README.md +4 -1
- package/dist/chunk-3FKM4G2T.js.map +0 -1
- package/dist/chunk-PU7CEHTL.cjs.map +0 -1
package/dist/chat/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunk4KMYUM7Q_cjs = require('../chunk-4KMYUM7Q.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkOBAVNGTL_cjs = require('../chunk-OBAVNGTL.cjs');
|
|
6
6
|
var chunkLHWKA2XI_cjs = require('../chunk-LHWKA2XI.cjs');
|
|
7
7
|
require('../chunk-5UHAWSEX.cjs');
|
|
8
8
|
var chunkZ2XZ2D4N_cjs = require('../chunk-Z2XZ2D4N.cjs');
|
|
@@ -95,251 +95,251 @@ Object.defineProperty(exports, "useDismissibleCard", {
|
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "BranchControls", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkOBAVNGTL_cjs.BranchControls; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "ComposerAccessories", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkOBAVNGTL_cjs.ComposerAccessories; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "ComposerTools", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkOBAVNGTL_cjs.ComposerTools; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "ContextUsageBar", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkOBAVNGTL_cjs.ContextUsageBar; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "Conversation", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkOBAVNGTL_cjs.Conversation; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "ConversationBody", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkOBAVNGTL_cjs.ConversationBody; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "ConversationHeader", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkOBAVNGTL_cjs.ConversationHeader; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "ConversationHeaderActions", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkOBAVNGTL_cjs.ConversationHeaderActions; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "ConversationHistoryPane", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkOBAVNGTL_cjs.ConversationHistoryPane; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "ConversationLoading", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkOBAVNGTL_cjs.ConversationLoading; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "ConversationMain", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkOBAVNGTL_cjs.ConversationMain; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "ConversationRoot", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkOBAVNGTL_cjs.ConversationRoot; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "ConversationSettingsButton", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkOBAVNGTL_cjs.ConversationSettingsButton; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "DEFAULT_BRANCH_CONTROLS_LABELS", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_BRANCH_CONTROLS_LABELS; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "DEFAULT_CONVERSATION_LAYOUT_LABELS", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_CONVERSATION_LAYOUT_LABELS; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "DEFAULT_CONVERSATION_PARTS_LABELS", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_CONVERSATION_PARTS_LABELS; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "DEFAULT_DRAFTING_DOC_CHIP_LABELS", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_DRAFTING_DOC_CHIP_LABELS; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "DEFAULT_MODEL_PRICING_TIP_LABELS", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_MODEL_PRICING_TIP_LABELS; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "DEFAULT_PENDING_ANSWER_BAR_LABELS", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_PENDING_ANSWER_BAR_LABELS; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "DEFAULT_SLASH_MENU_LABELS", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_SLASH_MENU_LABELS; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "DEFAULT_THREAD_MAP_LABELS", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_THREAD_MAP_LABELS; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "DEFAULT_THREAD_VISUALIZER_LABELS", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkOBAVNGTL_cjs.DEFAULT_THREAD_VISUALIZER_LABELS; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "DraftingDocChip", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkOBAVNGTL_cjs.DraftingDocChip; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "ModelAutoIcon", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelAutoIcon; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "ModelConfigureButton", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelConfigureButton; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "ModelDot", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelDot; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "ModelMenuDivider", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelMenuDivider; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "ModelMenuMessage", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelMenuMessage; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "ModelOption", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelOption; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "ModelOptionLabel", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelOptionLabel; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "ModelPickerPopover", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelPickerPopover; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "ModelPickerTrigger", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelPickerTrigger; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "ModelPricingTip", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelPricingTip; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "ModelTierIcon", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelTierIcon; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "ModelTierOption", {
|
|
233
233
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelTierOption; }
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(exports, "ModelTriggerContent", {
|
|
237
237
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkOBAVNGTL_cjs.ModelTriggerContent; }
|
|
239
239
|
});
|
|
240
240
|
Object.defineProperty(exports, "NewChatButton", {
|
|
241
241
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkOBAVNGTL_cjs.NewChatButton; }
|
|
243
243
|
});
|
|
244
244
|
Object.defineProperty(exports, "NewPaChatButton", {
|
|
245
245
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkOBAVNGTL_cjs.NewPaChatButton; }
|
|
247
247
|
});
|
|
248
248
|
Object.defineProperty(exports, "PaModeBadge", {
|
|
249
249
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkOBAVNGTL_cjs.PaModeBadge; }
|
|
251
251
|
});
|
|
252
252
|
Object.defineProperty(exports, "PendingAnswerBar", {
|
|
253
253
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkOBAVNGTL_cjs.PendingAnswerBar; }
|
|
255
255
|
});
|
|
256
256
|
Object.defineProperty(exports, "SlashMenu", {
|
|
257
257
|
enumerable: true,
|
|
258
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkOBAVNGTL_cjs.SlashMenu; }
|
|
259
259
|
});
|
|
260
260
|
Object.defineProperty(exports, "ThreadMap", {
|
|
261
261
|
enumerable: true,
|
|
262
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkOBAVNGTL_cjs.ThreadMap; }
|
|
263
263
|
});
|
|
264
264
|
Object.defineProperty(exports, "ThreadMapDiagram", {
|
|
265
265
|
enumerable: true,
|
|
266
|
-
get: function () { return
|
|
266
|
+
get: function () { return chunkOBAVNGTL_cjs.ThreadMapDiagram; }
|
|
267
267
|
});
|
|
268
268
|
Object.defineProperty(exports, "ThreadMapError", {
|
|
269
269
|
enumerable: true,
|
|
270
|
-
get: function () { return
|
|
270
|
+
get: function () { return chunkOBAVNGTL_cjs.ThreadMapError; }
|
|
271
271
|
});
|
|
272
272
|
Object.defineProperty(exports, "ThreadMapLoading", {
|
|
273
273
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkOBAVNGTL_cjs.ThreadMapLoading; }
|
|
275
275
|
});
|
|
276
276
|
Object.defineProperty(exports, "ThreadVisualizer", {
|
|
277
277
|
enumerable: true,
|
|
278
|
-
get: function () { return
|
|
278
|
+
get: function () { return chunkOBAVNGTL_cjs.ThreadVisualizer; }
|
|
279
279
|
});
|
|
280
280
|
Object.defineProperty(exports, "buildMessageLink", {
|
|
281
281
|
enumerable: true,
|
|
282
|
-
get: function () { return
|
|
282
|
+
get: function () { return chunkOBAVNGTL_cjs.buildMessageLink; }
|
|
283
283
|
});
|
|
284
284
|
Object.defineProperty(exports, "buildSlashItems", {
|
|
285
285
|
enumerable: true,
|
|
286
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkOBAVNGTL_cjs.buildSlashItems; }
|
|
287
287
|
});
|
|
288
288
|
Object.defineProperty(exports, "buildThreadDiagram", {
|
|
289
289
|
enumerable: true,
|
|
290
|
-
get: function () { return
|
|
290
|
+
get: function () { return chunkOBAVNGTL_cjs.buildThreadDiagram; }
|
|
291
291
|
});
|
|
292
292
|
Object.defineProperty(exports, "copyMessageToClipboard", {
|
|
293
293
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkOBAVNGTL_cjs.copyMessageToClipboard; }
|
|
295
295
|
});
|
|
296
296
|
Object.defineProperty(exports, "downloadTableAsCsv", {
|
|
297
297
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkOBAVNGTL_cjs.downloadTableAsCsv; }
|
|
299
299
|
});
|
|
300
300
|
Object.defineProperty(exports, "filterSlashItems", {
|
|
301
301
|
enumerable: true,
|
|
302
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkOBAVNGTL_cjs.filterSlashItems; }
|
|
303
303
|
});
|
|
304
304
|
Object.defineProperty(exports, "findMessageDocument", {
|
|
305
305
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkOBAVNGTL_cjs.findMessageDocument; }
|
|
307
307
|
});
|
|
308
308
|
Object.defineProperty(exports, "flashMessage", {
|
|
309
309
|
enumerable: true,
|
|
310
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkOBAVNGTL_cjs.flashMessage; }
|
|
311
311
|
});
|
|
312
312
|
Object.defineProperty(exports, "getParticipantTints", {
|
|
313
313
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunkOBAVNGTL_cjs.getParticipantTints; }
|
|
315
315
|
});
|
|
316
316
|
Object.defineProperty(exports, "groupOutputsByConversation", {
|
|
317
317
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkOBAVNGTL_cjs.groupOutputsByConversation; }
|
|
319
319
|
});
|
|
320
320
|
Object.defineProperty(exports, "isLongPastedText", {
|
|
321
321
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunkOBAVNGTL_cjs.isLongPastedText; }
|
|
323
323
|
});
|
|
324
324
|
Object.defineProperty(exports, "latestThreadVersionMessage", {
|
|
325
325
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunkOBAVNGTL_cjs.latestThreadVersionMessage; }
|
|
327
327
|
});
|
|
328
328
|
Object.defineProperty(exports, "parseSlashToken", {
|
|
329
329
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunkOBAVNGTL_cjs.parseSlashTokenInProgress; }
|
|
331
331
|
});
|
|
332
332
|
Object.defineProperty(exports, "threadForNode", {
|
|
333
333
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunkOBAVNGTL_cjs.threadForNode; }
|
|
335
335
|
});
|
|
336
336
|
Object.defineProperty(exports, "useLongPaste", {
|
|
337
337
|
enumerable: true,
|
|
338
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunkOBAVNGTL_cjs.useLongPaste; }
|
|
339
339
|
});
|
|
340
340
|
Object.defineProperty(exports, "useRecipientDraft", {
|
|
341
341
|
enumerable: true,
|
|
342
|
-
get: function () { return
|
|
342
|
+
get: function () { return chunkOBAVNGTL_cjs.useRecipientDraft; }
|
|
343
343
|
});
|
|
344
344
|
Object.defineProperty(exports, "AssistantDock", {
|
|
345
345
|
enumerable: true,
|
package/dist/chat/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { AssistantToaster, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, ConversationSearchView, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, LabelPinRow, PinnedDocChip, useDismissibleCard } from '../chunk-XSA46YJV.js';
|
|
3
|
-
export { BranchControls, ComposerAccessories, ComposerTools, ContextUsageBar, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_DRAFTING_DOC_CHIP_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, DEFAULT_THREAD_VISUALIZER_LABELS, DraftingDocChip, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, ThreadVisualizer, buildMessageLink, buildSlashItems, buildThreadDiagram, copyMessageToClipboard, downloadTableAsCsv, filterSlashItems, findMessageDocument, flashMessage, getParticipantTints, groupOutputsByConversation, isLongPastedText, latestThreadVersionMessage, parseSlashTokenInProgress as parseSlashToken, threadForNode, useLongPaste, useRecipientDraft } from '../chunk-
|
|
3
|
+
export { BranchControls, ComposerAccessories, ComposerTools, ContextUsageBar, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_DRAFTING_DOC_CHIP_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, DEFAULT_THREAD_VISUALIZER_LABELS, DraftingDocChip, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, ThreadVisualizer, buildMessageLink, buildSlashItems, buildThreadDiagram, copyMessageToClipboard, downloadTableAsCsv, filterSlashItems, findMessageDocument, flashMessage, getParticipantTints, groupOutputsByConversation, isLongPastedText, latestThreadVersionMessage, parseSlashTokenInProgress as parseSlashToken, threadForNode, useLongPaste, useRecipientDraft } from '../chunk-VDXVTQOF.js';
|
|
4
4
|
export { AssistantDock, AssistantDockToggle, AssistantModeToggle, ChatDocuments, ChatMessageContent, ChatPage, ChatThreadList, ChatThreadSelect, CitationMark, Composer, ComposerBranchingNotice, ComposerContainer, ComposerDock, ComposerFrame, ComposerInput, ComposerRoot, ComposerSend, ComposerToolbar, ComposerVoiceButton, ContextChip, ConversationEmpty, DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS, DEFAULT_CHAT_PAGE_LABELS, DEFAULT_COMPOSER_LABELS, DEFAULT_CONVERSATION_EMPTY_LABELS, DEFAULT_MESSAGE_ALERT_LABELS, DEFAULT_MESSAGE_LABELS, DEFAULT_MESSAGE_LIST_LABELS, DEFAULT_WORKFLOW_STEP_CHIP_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageAuthor, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, WorkflowStepChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from '../chunk-BKNHCORH.js';
|
|
5
5
|
import '../chunk-OKERRHLH.js';
|
|
6
6
|
export { DOC_ID_IN_HREF, rehypeDocEntityPills, workspaceDocIdFromHref } from '../chunk-DDCMLHXF.js';
|
|
@@ -57,7 +57,9 @@ var DEFAULT_DRAFTING_DOC_CHIP_LABELS = {
|
|
|
57
57
|
hint: "This thread works in the document: ARBI reads what it needs and makes its edits as tracked changes you accept or reject.",
|
|
58
58
|
attach: "Draft in {title}",
|
|
59
59
|
attachHint: "Attach the open document to this thread: its questions then edit the document as tracked changes. Until then, ARBI only answers.",
|
|
60
|
-
detach: "Stop drafting in this document"
|
|
60
|
+
detach: "Stop drafting in this document",
|
|
61
|
+
unavailable: "Drafting in a document you cannot open",
|
|
62
|
+
unavailableHint: "This thread is bound to a document you do not have access to. Your questions here only get answers; unbind it to draft in another document."
|
|
61
63
|
};
|
|
62
64
|
var CHIP = "flex h-7 min-w-0 max-w-[16rem] items-center gap-1.5 rounded-md border bg-card px-2 text-xs text-muted-foreground";
|
|
63
65
|
function DraftingDocChip({
|
|
@@ -91,15 +93,22 @@ function DraftingDocChip({
|
|
|
91
93
|
}
|
|
92
94
|
);
|
|
93
95
|
}
|
|
94
|
-
const
|
|
96
|
+
const unavailable = state === "unavailable";
|
|
97
|
+
const text = unavailable ? l.unavailable : l.drafting.replace("{title}", title);
|
|
95
98
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
96
99
|
"span",
|
|
97
100
|
{
|
|
98
101
|
className: ui.cn(CHIP, "border-border", onDetach && "pr-0.5", className),
|
|
99
|
-
title: `${text}. ${l.hint}`,
|
|
100
|
-
"data-testid": testId,
|
|
102
|
+
title: `${text}. ${unavailable ? l.unavailableHint : l.hint}`,
|
|
103
|
+
"data-testid": unavailable ? `${testId}-unavailable` : testId,
|
|
101
104
|
children: [
|
|
102
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
105
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
106
|
+
lucideReact.PenLine,
|
|
107
|
+
{
|
|
108
|
+
className: ui.cn("size-3.5 shrink-0", unavailable ? "text-muted-foreground" : "text-primary"),
|
|
109
|
+
"aria-hidden": true
|
|
110
|
+
}
|
|
111
|
+
),
|
|
103
112
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: text }),
|
|
104
113
|
onDetach && /* @__PURE__ */ jsxRuntime.jsx(
|
|
105
114
|
"button",
|
|
@@ -1799,5 +1808,5 @@ exports.latestThreadVersionMessage = latestThreadVersionMessage;
|
|
|
1799
1808
|
exports.threadForNode = threadForNode;
|
|
1800
1809
|
exports.useLongPaste = useLongPaste;
|
|
1801
1810
|
exports.useRecipientDraft = useRecipientDraft;
|
|
1802
|
-
//# sourceMappingURL=chunk-
|
|
1803
|
-
//# sourceMappingURL=chunk-
|
|
1811
|
+
//# sourceMappingURL=chunk-OBAVNGTL.cjs.map
|
|
1812
|
+
//# sourceMappingURL=chunk-OBAVNGTL.cjs.map
|