@arbidocs/blocks 0.4.45 → 0.4.47
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/agents/index.cjs +221 -221
- package/dist/agents/index.js +2 -2
- package/dist/agents/tasks/WorkflowsTable.d.ts +2 -0
- package/dist/agents/tasks/workflowRows.d.ts +6 -0
- package/dist/chat/index.cjs +122 -122
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-7L3KPYD2.js → chunk-2CJB5AY3.js} +3 -3
- package/dist/{chunk-7L3KPYD2.js.map → chunk-2CJB5AY3.js.map} +1 -1
- package/dist/{chunk-LR54PQ7N.cjs → chunk-3IYSC4HL.cjs} +4 -4
- package/dist/{chunk-LR54PQ7N.cjs.map → chunk-3IYSC4HL.cjs.map} +1 -1
- package/dist/{chunk-7RZML5UY.js → chunk-C3656J3H.js} +3 -3
- package/dist/chunk-C3656J3H.js.map +1 -0
- package/dist/{chunk-QFUF4A4J.cjs → chunk-CXWESDIZ.cjs} +38 -3
- package/dist/chunk-CXWESDIZ.cjs.map +1 -0
- package/dist/{chunk-E3U5GYAP.js → chunk-DCTMZNCU.js} +4 -3
- package/dist/chunk-DCTMZNCU.js.map +1 -0
- package/dist/{chunk-DU4XPNJR.js → chunk-F7VCKH35.js} +15 -6
- package/dist/chunk-F7VCKH35.js.map +1 -0
- package/dist/{chunk-OZJ5PXA6.js → chunk-ILGHS6ZV.js} +38 -4
- package/dist/chunk-ILGHS6ZV.js.map +1 -0
- package/dist/{chunk-ZAGRDGYB.cjs → chunk-LH4GHGQJ.cjs} +3 -3
- package/dist/chunk-LH4GHGQJ.cjs.map +1 -0
- package/dist/{chunk-72RVWFCX.cjs → chunk-PF3ZLM3E.cjs} +3 -3
- package/dist/{chunk-72RVWFCX.cjs.map → chunk-PF3ZLM3E.cjs.map} +1 -1
- package/dist/{chunk-NT3WEHL5.cjs → chunk-SLAZJNUK.cjs} +5 -5
- package/dist/{chunk-NT3WEHL5.cjs.map → chunk-SLAZJNUK.cjs.map} +1 -1
- package/dist/{chunk-CA7JD6IX.js → chunk-TDRDME6C.js} +3 -3
- package/dist/{chunk-CA7JD6IX.js.map → chunk-TDRDME6C.js.map} +1 -1
- package/dist/{chunk-JIIYEDJ4.js → chunk-WI3YE5GG.js} +3 -3
- package/dist/{chunk-JIIYEDJ4.js.map → chunk-WI3YE5GG.js.map} +1 -1
- package/dist/{chunk-QTMEJFRM.cjs → chunk-WYEOK3EF.cjs} +15 -6
- package/dist/chunk-WYEOK3EF.cjs.map +1 -0
- package/dist/{chunk-UW3IHMYA.cjs → chunk-Y6NEQYA4.cjs} +4 -3
- package/dist/chunk-Y6NEQYA4.cjs.map +1 -0
- package/dist/collaboration/index.cjs +46 -42
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration/mail/MailMessagePreview.d.ts +9 -1
- package/dist/collaboration/mail/index.d.ts +1 -1
- package/dist/connect/docx.cjs +4 -4
- package/dist/connect/docx.js +1 -1
- package/dist/connect/index.cjs +11 -11
- package/dist/connect/index.js +2 -2
- package/dist/docx/index.cjs +14 -14
- package/dist/docx/index.js +2 -2
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/AiReviewDialog.d.ts +5 -0
- package/dist/files/index.cjs +26 -5
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +26 -5
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +1 -1
- package/dist/home/index.js +1 -1
- package/dist/index.cjs +926 -922
- package/dist/index.js +11 -11
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +1 -1
- package/dist/shell/index.cjs +68 -68
- package/dist/shell/index.js +4 -4
- package/dist/studio/index.cjs +5 -5
- package/dist/studio/index.js +4 -4
- package/package.json +4 -4
- package/dist/chunk-7RZML5UY.js.map +0 -1
- package/dist/chunk-DU4XPNJR.js.map +0 -1
- package/dist/chunk-E3U5GYAP.js.map +0 -1
- package/dist/chunk-OZJ5PXA6.js.map +0 -1
- package/dist/chunk-QFUF4A4J.cjs.map +0 -1
- package/dist/chunk-QTMEJFRM.cjs.map +0 -1
- package/dist/chunk-UW3IHMYA.cjs.map +0 -1
- package/dist/chunk-ZAGRDGYB.cjs.map +0 -1
package/dist/files/index.js
CHANGED
|
@@ -8,9 +8,9 @@ export { DEFAULT_SELECTION_BAR_LABELS, GridView, SelectionBar, SelectionBarActio
|
|
|
8
8
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
9
9
|
import { ActionLink } from '../chunk-S7PSMMRG.js';
|
|
10
10
|
import { TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
|
|
11
|
+
import '../chunk-76JDDMSP.js';
|
|
11
12
|
import '../chunk-SLSBJRWW.js';
|
|
12
13
|
import '../chunk-NPLYHR2E.js';
|
|
13
|
-
import '../chunk-76JDDMSP.js';
|
|
14
14
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
15
15
|
import { ShareControl } from '../chunk-K4BGOPGG.js';
|
|
16
16
|
import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-CPMNAJLF.js';
|
|
@@ -6352,9 +6352,29 @@ var DEFAULT_AI_REVIEW_DIALOG_LABELS = {
|
|
|
6352
6352
|
instructionPlaceholder: "Write what you want to know \u2014 e.g. What language is this document written in?",
|
|
6353
6353
|
documentColumn: "Document",
|
|
6354
6354
|
viewInTable: "View in table",
|
|
6355
|
-
done: "Done"
|
|
6355
|
+
done: "Done",
|
|
6356
|
+
noValue: "No value",
|
|
6357
|
+
noValueHint: "ARBI finished this document without an answer for this field. The document may not say, or the request failed. Run it again to retry."
|
|
6356
6358
|
};
|
|
6357
6359
|
var hasNote = (note) => note != null && note !== "";
|
|
6360
|
+
function PendingAiValue({ isFinished, l }) {
|
|
6361
|
+
return isFinished ? /* @__PURE__ */ jsx(
|
|
6362
|
+
"span",
|
|
6363
|
+
{
|
|
6364
|
+
className: "text-muted-foreground italic",
|
|
6365
|
+
title: l.noValueHint,
|
|
6366
|
+
"data-testid": "ai-review-no-value",
|
|
6367
|
+
children: l.noValue
|
|
6368
|
+
}
|
|
6369
|
+
) : /* @__PURE__ */ jsx(
|
|
6370
|
+
Loader2,
|
|
6371
|
+
{
|
|
6372
|
+
className: "size-3.5 animate-spin text-muted-foreground",
|
|
6373
|
+
"aria-label": "Working",
|
|
6374
|
+
"data-testid": "ai-review-pending"
|
|
6375
|
+
}
|
|
6376
|
+
);
|
|
6377
|
+
}
|
|
6358
6378
|
function FieldPicker({ ask, l }) {
|
|
6359
6379
|
const [open, setOpen] = useState(false);
|
|
6360
6380
|
const [search, setSearch] = useState("");
|
|
@@ -6502,7 +6522,8 @@ function ResultsPhase({ r, l }) {
|
|
|
6502
6522
|
className: "max-h-[50dvh] space-y-1 overflow-y-auto pr-1",
|
|
6503
6523
|
"data-testid": "ai-review-results",
|
|
6504
6524
|
children: r.rows.map((row) => {
|
|
6505
|
-
const
|
|
6525
|
+
const cell = row.cells[0];
|
|
6526
|
+
const note = cell?.note;
|
|
6506
6527
|
return /* @__PURE__ */ jsxs(
|
|
6507
6528
|
"div",
|
|
6508
6529
|
{
|
|
@@ -6512,7 +6533,7 @@ function ResultsPhase({ r, l }) {
|
|
|
6512
6533
|
hasNote(note) ? /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1 font-medium text-foreground", children: [
|
|
6513
6534
|
/* @__PURE__ */ jsx("span", { className: "whitespace-pre-line", children: note }),
|
|
6514
6535
|
/* @__PURE__ */ jsx(Check, { className: "size-3.5 text-green-text" })
|
|
6515
|
-
] }) : /* @__PURE__ */ jsx(
|
|
6536
|
+
] }) : /* @__PURE__ */ jsx(PendingAiValue, { isFinished: cell?.isFinished, l })
|
|
6516
6537
|
]
|
|
6517
6538
|
},
|
|
6518
6539
|
row.id
|
|
@@ -6531,7 +6552,7 @@ function ResultsPhase({ r, l }) {
|
|
|
6531
6552
|
] }) }),
|
|
6532
6553
|
/* @__PURE__ */ jsx("tbody", { children: r.rows.map((row) => /* @__PURE__ */ jsxs("tr", { className: "border-t border-border", children: [
|
|
6533
6554
|
/* @__PURE__ */ jsx("td", { className: "max-w-[360px] truncate px-3 py-2 text-muted-foreground", children: row.title }),
|
|
6534
|
-
row.cells.map((c) => /* @__PURE__ */ jsx("td", { className: "px-3 py-2", children: hasNote(c.note) ? /* @__PURE__ */ jsx("span", { className: "whitespace-pre-line font-medium text-foreground", children: c.note }) : c.isAi ? /* @__PURE__ */ jsx(
|
|
6555
|
+
row.cells.map((c) => /* @__PURE__ */ jsx("td", { className: "px-3 py-2", children: hasNote(c.note) ? /* @__PURE__ */ jsx("span", { className: "whitespace-pre-line font-medium text-foreground", children: c.note }) : c.isAi ? /* @__PURE__ */ jsx(PendingAiValue, { isFinished: c.isFinished, l }) : /* @__PURE__ */ jsx(Check, { className: "size-3.5 text-green-text" }) }, c.fieldId))
|
|
6535
6556
|
] }, row.id)) })
|
|
6536
6557
|
] })
|
|
6537
6558
|
}
|