@arbidocs/blocks 0.4.124 → 0.4.126
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/{NativeDocxEditor-2JTZNFKD.cjs → NativeDocxEditor-BE2OEOTJ.cjs} +7 -7
- package/dist/{NativeDocxEditor-2JTZNFKD.cjs.map → NativeDocxEditor-BE2OEOTJ.cjs.map} +1 -1
- package/dist/{NativeDocxEditor-QIWYQDIO.js → NativeDocxEditor-KOPFMRYW.js} +3 -3
- package/dist/{NativeDocxEditor-QIWYQDIO.js.map → NativeDocxEditor-KOPFMRYW.js.map} +1 -1
- package/dist/{StreamedArtifactEditor-DNBDUNP2.cjs → StreamedArtifactEditor-EEYAXJ4H.cjs} +5 -5
- package/dist/{StreamedArtifactEditor-DNBDUNP2.cjs.map → StreamedArtifactEditor-EEYAXJ4H.cjs.map} +1 -1
- package/dist/{StreamedArtifactEditor-WDHPTWX7.js → StreamedArtifactEditor-TDATDYD2.js} +3 -3
- package/dist/{StreamedArtifactEditor-WDHPTWX7.js.map → StreamedArtifactEditor-TDATDYD2.js.map} +1 -1
- package/dist/agents/index.cjs +240 -240
- package/dist/agents/index.js +5 -5
- package/dist/agents/workflows/StepParts.d.ts +3 -3
- package/dist/artifacts/VersionTimeline.d.ts +19 -1
- package/dist/artifacts/index.cjs +21 -21
- package/dist/artifacts/index.d.ts +1 -1
- package/dist/artifacts/index.js +1 -1
- package/dist/{chunk-BDSKKIFZ.js → chunk-2FL7QJKJ.js} +3 -3
- package/dist/{chunk-BDSKKIFZ.js.map → chunk-2FL7QJKJ.js.map} +1 -1
- package/dist/{chunk-KUW4ATIC.cjs → chunk-4TR5QCCX.cjs} +5 -5
- package/dist/{chunk-KUW4ATIC.cjs.map → chunk-4TR5QCCX.cjs.map} +1 -1
- package/dist/{chunk-ERNMU6RV.js → chunk-54ANPPMV.js} +5 -5
- package/dist/chunk-54ANPPMV.js.map +1 -0
- package/dist/{chunk-ODWCTAH7.js → chunk-6HKLTYNN.js} +5 -3
- package/dist/chunk-6HKLTYNN.js.map +1 -0
- package/dist/{chunk-3AV7HP6G.js → chunk-6Z72CXZR.js} +4 -4
- package/dist/{chunk-3AV7HP6G.js.map → chunk-6Z72CXZR.js.map} +1 -1
- package/dist/{chunk-WEUCLOBB.cjs → chunk-D4YR56FV.cjs} +5 -5
- package/dist/{chunk-WEUCLOBB.cjs.map → chunk-D4YR56FV.cjs.map} +1 -1
- package/dist/{chunk-D7WCGOD4.cjs → chunk-DZI7WOUD.cjs} +5 -5
- package/dist/{chunk-D7WCGOD4.cjs.map → chunk-DZI7WOUD.cjs.map} +1 -1
- package/dist/{chunk-W4GXDARU.cjs → chunk-INW76PEL.cjs} +163 -110
- package/dist/chunk-INW76PEL.cjs.map +1 -0
- package/dist/{chunk-OTDGTBAS.js → chunk-KELGOCJA.js} +164 -111
- package/dist/chunk-KELGOCJA.js.map +1 -0
- package/dist/{chunk-EJSJ27HV.js → chunk-KLOSOT26.js} +6 -6
- package/dist/{chunk-EJSJ27HV.js.map → chunk-KLOSOT26.js.map} +1 -1
- package/dist/{chunk-MRURIBBB.cjs → chunk-LC2KJSUS.cjs} +5 -5
- package/dist/chunk-LC2KJSUS.cjs.map +1 -0
- package/dist/{chunk-D72GGCXN.js → chunk-MCKOZACC.js} +3 -3
- package/dist/{chunk-D72GGCXN.js.map → chunk-MCKOZACC.js.map} +1 -1
- package/dist/{chunk-4DVEGXZQ.cjs → chunk-UWIILWDI.cjs} +5 -3
- package/dist/chunk-UWIILWDI.cjs.map +1 -0
- package/dist/{chunk-JSH43QMZ.cjs → chunk-V5OAXIBN.cjs} +3 -3
- package/dist/{chunk-JSH43QMZ.cjs.map → chunk-V5OAXIBN.cjs.map} +1 -1
- package/dist/{chunk-ETN5EZI4.js → chunk-VW2C2AZL.js} +3 -3
- package/dist/{chunk-ETN5EZI4.js.map → chunk-VW2C2AZL.js.map} +1 -1
- package/dist/{chunk-FL5TEBTM.cjs → chunk-W27VK32R.cjs} +17 -17
- package/dist/{chunk-FL5TEBTM.cjs.map → chunk-W27VK32R.cjs.map} +1 -1
- package/dist/connect/docx.cjs +7 -7
- package/dist/connect/docx.js +5 -5
- package/dist/connect/index.cjs +19 -19
- package/dist/connect/index.js +8 -8
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +3 -0
- package/dist/document-tools/index.cjs +2 -2
- package/dist/document-tools/index.js +1 -1
- package/dist/docx/index.cjs +46 -46
- package/dist/docx/index.js +3 -3
- package/dist/files/HtmlViewerParts.d.ts +0 -28
- package/dist/files/ViewerLayout.d.ts +5 -0
- package/dist/files/index.cjs +8 -91
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.d.ts +1 -1
- package/dist/files/index.js +5 -86
- package/dist/files/index.js.map +1 -1
- package/dist/index.cjs +329 -329
- package/dist/index.js +11 -11
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/workflow-canvas/index.cjs +21 -19
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +8 -6
- package/dist/workflow-canvas/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-4DVEGXZQ.cjs.map +0 -1
- package/dist/chunk-ERNMU6RV.js.map +0 -1
- package/dist/chunk-MRURIBBB.cjs.map +0 -1
- package/dist/chunk-ODWCTAH7.js.map +0 -1
- package/dist/chunk-OTDGTBAS.js.map +0 -1
- package/dist/chunk-W4GXDARU.cjs.map +0 -1
package/dist/files/index.cjs
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
5
5
|
var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkUWIILWDI_cjs = require('../chunk-UWIILWDI.cjs');
|
|
7
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
10
|
var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
|
|
11
|
+
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
11
12
|
var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
|
|
12
13
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
13
14
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
14
15
|
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
15
|
-
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
16
16
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
17
17
|
var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
|
|
18
18
|
require('../chunk-FX3K6LNZ.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}`,
|
|
@@ -7046,23 +6965,23 @@ Object.defineProperty(exports, "FolderTree", {
|
|
|
7046
6965
|
});
|
|
7047
6966
|
Object.defineProperty(exports, "ViewerHeaderEnd", {
|
|
7048
6967
|
enumerable: true,
|
|
7049
|
-
get: function () { return
|
|
6968
|
+
get: function () { return chunkUWIILWDI_cjs.ViewerHeaderEnd; }
|
|
7050
6969
|
});
|
|
7051
6970
|
Object.defineProperty(exports, "ViewerHeaderStart", {
|
|
7052
6971
|
enumerable: true,
|
|
7053
|
-
get: function () { return
|
|
6972
|
+
get: function () { return chunkUWIILWDI_cjs.ViewerHeaderStart; }
|
|
7054
6973
|
});
|
|
7055
6974
|
Object.defineProperty(exports, "ViewerPane", {
|
|
7056
6975
|
enumerable: true,
|
|
7057
|
-
get: function () { return
|
|
6976
|
+
get: function () { return chunkUWIILWDI_cjs.ViewerPane; }
|
|
7058
6977
|
});
|
|
7059
6978
|
Object.defineProperty(exports, "ViewerRenderedPane", {
|
|
7060
6979
|
enumerable: true,
|
|
7061
|
-
get: function () { return
|
|
6980
|
+
get: function () { return chunkUWIILWDI_cjs.ViewerRenderedPane; }
|
|
7062
6981
|
});
|
|
7063
6982
|
Object.defineProperty(exports, "ViewerStatusNote", {
|
|
7064
6983
|
enumerable: true,
|
|
7065
|
-
get: function () { return
|
|
6984
|
+
get: function () { return chunkUWIILWDI_cjs.ViewerStatusNote; }
|
|
7066
6985
|
});
|
|
7067
6986
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS", {
|
|
7068
6987
|
enumerable: true,
|
|
@@ -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;
|