@arbidocs/blocks 0.5.115 → 0.5.116
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/{ConnectedNativeDocxComparison-YXMYJWXY.cjs → ConnectedNativeDocxComparison-546ILGLW.cjs} +8 -8
- package/dist/{ConnectedNativeDocxComparison-YXMYJWXY.cjs.map → ConnectedNativeDocxComparison-546ILGLW.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-2RTCHVPI.cjs → ConnectedStreamedWordArtifact-S2ZFZLZQ.cjs} +8 -8
- package/dist/{ConnectedStreamedWordArtifact-2RTCHVPI.cjs.map → ConnectedStreamedWordArtifact-S2ZFZLZQ.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-I5QIHQZT.cjs → FilesViewerDialog-6UKR5WEF.cjs} +6 -6
- package/dist/{FilesViewerDialog-I5QIHQZT.cjs.map → FilesViewerDialog-6UKR5WEF.cjs.map} +1 -1
- package/dist/{NativeDocxEditor-H6TAEVGY.cjs → NativeDocxEditor-2LQY2CTV.cjs} +6 -6
- package/dist/{NativeDocxEditor-H6TAEVGY.cjs.map → NativeDocxEditor-2LQY2CTV.cjs.map} +1 -1
- package/dist/{chunk-M6IKVKU5.cjs → chunk-2CSLFAGF.cjs} +392 -149
- package/dist/chunk-2CSLFAGF.cjs.map +1 -0
- package/dist/{chunk-24EDG4PC.cjs → chunk-B2HNNG25.cjs} +5 -5
- package/dist/{chunk-24EDG4PC.cjs.map → chunk-B2HNNG25.cjs.map} +1 -1
- package/dist/{chunk-IW7CDJTA.cjs → chunk-COD5ENHK.cjs} +4 -4
- package/dist/{chunk-IW7CDJTA.cjs.map → chunk-COD5ENHK.cjs.map} +1 -1
- package/dist/chunk-HB2O4THB.cjs +18 -0
- package/dist/{chunk-CIHERNDO.cjs.map → chunk-HB2O4THB.cjs.map} +1 -1
- package/dist/{chunk-WR2SF44W.cjs → chunk-NIE3N6OM.cjs} +4 -4
- package/dist/{chunk-WR2SF44W.cjs.map → chunk-NIE3N6OM.cjs.map} +1 -1
- package/dist/{chunk-ZTXQIIFV.cjs → chunk-QHOHDNBU.cjs} +6 -6
- package/dist/{chunk-ZTXQIIFV.cjs.map → chunk-QHOHDNBU.cjs.map} +1 -1
- package/dist/{chunk-A3T3IC3K.cjs → chunk-SB4M3ITT.cjs} +190 -36
- package/dist/chunk-SB4M3ITT.cjs.map +1 -0
- package/dist/{chunk-X5LANJDZ.cjs → chunk-VGCTYTEW.cjs} +14 -6
- package/dist/chunk-VGCTYTEW.cjs.map +1 -0
- package/dist/{chunk-3A7QWUAW.cjs → chunk-VKH3BEZE.cjs} +3 -3
- package/dist/{chunk-3A7QWUAW.cjs.map → chunk-VKH3BEZE.cjs.map} +1 -1
- package/dist/{chunk-42TURFHF.cjs → chunk-YGBHY67W.cjs} +5 -5
- package/dist/{chunk-42TURFHF.cjs.map → chunk-YGBHY67W.cjs.map} +1 -1
- package/dist/connect/docx.cjs +12 -12
- package/dist/connect/index.cjs +78 -78
- package/dist/connect/viewer.cjs +4 -4
- package/dist/connection/docx/ConnectedNativeDocxEditor.js +10 -2
- package/dist/connection/docx/ConnectedNativeDocxEditor.js.map +2 -2
- package/dist/connection/viewer/ConnectedDocumentViewer.js +124 -21
- package/dist/connection/viewer/ConnectedDocumentViewer.js.map +2 -2
- package/dist/connection/viewer/VersionDropdown.d.ts +9 -0
- package/dist/connection/viewer/VersionDropdown.js +39 -0
- package/dist/connection/viewer/VersionDropdown.js.map +7 -0
- package/dist/connection/viewer/ViewerPdfPane.js +4 -1
- package/dist/connection/viewer/ViewerPdfPane.js.map +2 -2
- package/dist/connection/viewer/useViewerBlobs.d.ts +3 -1
- package/dist/connection/viewer/useViewerBlobs.js +14 -8
- package/dist/connection/viewer/useViewerBlobs.js.map +2 -2
- package/dist/connection/viewer/useViewerTabs.js +10 -0
- package/dist/connection/viewer/useViewerTabs.js.map +2 -2
- package/dist/docx/DocxCommandMenu.d.ts +8 -0
- package/dist/docx/DocxCommandMenu.js +202 -0
- package/dist/docx/DocxCommandMenu.js.map +7 -0
- package/dist/docx/NativeDocxEditor.d.ts +4 -2
- package/dist/docx/NativeDocxEditor.js +51 -12
- package/dist/docx/NativeDocxEditor.js.map +2 -2
- package/dist/docx/RibbonMenu.d.ts +3 -1
- package/dist/docx/RibbonMenu.js +10 -3
- package/dist/docx/RibbonMenu.js.map +2 -2
- package/dist/docx/RibbonOverflow.d.ts +3 -0
- package/dist/docx/RibbonOverflow.js +24 -1
- package/dist/docx/RibbonOverflow.js.map +2 -2
- package/dist/docx/index.cjs +38 -38
- package/dist/docx/signatures/SignatureFields.d.ts +3 -1
- package/dist/docx/signatures/SignatureFields.js +17 -8
- package/dist/docx/signatures/SignatureFields.js.map +2 -2
- package/dist/index.cjs +50 -50
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +9 -9
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/src/docx/styles.css +94 -0
- package/dist/chunk-A3T3IC3K.cjs.map +0 -1
- package/dist/chunk-CIHERNDO.cjs +0 -18
- package/dist/chunk-M6IKVKU5.cjs.map +0 -1
- package/dist/chunk-X5LANJDZ.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkB2HNNG25_cjs = require('../chunk-B2HNNG25.cjs');
|
|
5
5
|
require('../chunk-YZ6YOOTF.cjs');
|
|
6
6
|
require('../chunk-KWJW5TMH.cjs');
|
|
7
7
|
require('../chunk-Y24V6HPR.cjs');
|
|
@@ -14,7 +14,7 @@ require('../chunk-NJCK6V6U.cjs');
|
|
|
14
14
|
require('../chunk-NNUK5ZM7.cjs');
|
|
15
15
|
require('../chunk-223D4727.cjs');
|
|
16
16
|
require('../chunk-SNUBQMIS.cjs');
|
|
17
|
-
var
|
|
17
|
+
var chunkVGCTYTEW_cjs = require('../chunk-VGCTYTEW.cjs');
|
|
18
18
|
require('../chunk-4ONPEVTP.cjs');
|
|
19
19
|
require('../chunk-V3KLUWQQ.cjs');
|
|
20
20
|
var chunkP5AQYC4D_cjs = require('../chunk-P5AQYC4D.cjs');
|
|
@@ -28,7 +28,7 @@ require('../chunk-ORELHENJ.cjs');
|
|
|
28
28
|
require('../chunk-NWNVWO6L.cjs');
|
|
29
29
|
require('../chunk-SK6HQ46Q.cjs');
|
|
30
30
|
require('../chunk-VLCY46K6.cjs');
|
|
31
|
-
require('../chunk-
|
|
31
|
+
require('../chunk-VKH3BEZE.cjs');
|
|
32
32
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
33
33
|
require('../chunk-OEJQFPWO.cjs');
|
|
34
34
|
var chunkXKVPSOKP_cjs = require('../chunk-XKVPSOKP.cjs');
|
|
@@ -3044,7 +3044,7 @@ function ConnectedWorkflowsPage({
|
|
|
3044
3044
|
const config = host.workflows;
|
|
3045
3045
|
const { openConversation, openFiles } = chunkTKHCIHE2_cjs.useBlocksEnvironment();
|
|
3046
3046
|
const openWorkflow = chunkP5AQYC4D_cjs.useOpenWorkflow();
|
|
3047
|
-
const renderPerson =
|
|
3047
|
+
const renderPerson = chunkB2HNNG25_cjs.useRenderTaskPerson();
|
|
3048
3048
|
const refreshDocuments = react$2.useRefreshDocuments();
|
|
3049
3049
|
const invalidateTags = react$2.useInvalidateTagData();
|
|
3050
3050
|
const { data: tags = [] } = react$2.useTags();
|
|
@@ -3075,7 +3075,7 @@ function ConnectedWorkflowsPage({
|
|
|
3075
3075
|
openHistory,
|
|
3076
3076
|
closeHistoryTab,
|
|
3077
3077
|
selectHistoryTab
|
|
3078
|
-
} =
|
|
3078
|
+
} = chunkB2HNNG25_cjs.useWorkflowsPageState({
|
|
3079
3079
|
historyWorkflowId: requestedHistoryId ?? historyWorkflowId,
|
|
3080
3080
|
onHistoryWorkflowConsumed: consumeHistory
|
|
3081
3081
|
});
|
|
@@ -3143,7 +3143,7 @@ function ConnectedWorkflowsPage({
|
|
|
3143
3143
|
return (
|
|
3144
3144
|
// The page in the Workflows page's frame: padded, scrolling.
|
|
3145
3145
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 w-full overflow-auto p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3146
|
-
|
|
3146
|
+
chunkB2HNNG25_cjs.ConnectedWorkflowRunPage,
|
|
3147
3147
|
{
|
|
3148
3148
|
workflow: running.workflow,
|
|
3149
3149
|
projectFrom: running.projectFrom,
|
|
@@ -3231,7 +3231,7 @@ function ConnectedWorkflowsPage({
|
|
|
3231
3231
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": testId, children: [
|
|
3232
3232
|
pageHeader && /* @__PURE__ */ jsxRuntime.jsx(chunkNSD37OF5_cjs.PageHeader, { ...pageHeader }),
|
|
3233
3233
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3234
|
-
|
|
3234
|
+
chunkVGCTYTEW_cjs.ConnectedWorkflowsTable,
|
|
3235
3235
|
{
|
|
3236
3236
|
onOpenTemplate: (id) => openBuilder({ kind: "template", id }),
|
|
3237
3237
|
tabs: [
|
|
@@ -3261,7 +3261,7 @@ function ConnectedWorkflowsPage({
|
|
|
3261
3261
|
}
|
|
3262
3262
|
},
|
|
3263
3263
|
content: hostTab ? hostTab.content : runsFor ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3264
|
-
|
|
3264
|
+
chunkB2HNNG25_cjs.ConnectedWorkflowHistory,
|
|
3265
3265
|
{
|
|
3266
3266
|
inline: true,
|
|
3267
3267
|
hideHeader: true,
|
|
@@ -3325,7 +3325,7 @@ function ConnectedWorkflowsPage({
|
|
|
3325
3325
|
}
|
|
3326
3326
|
),
|
|
3327
3327
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3328
|
-
|
|
3328
|
+
chunkB2HNNG25_cjs.ConnectedTaskComposer,
|
|
3329
3329
|
{
|
|
3330
3330
|
kind: "workflow",
|
|
3331
3331
|
saveOnly: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/coedit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.116",
|
|
4
4
|
"description": "Real-time collaboration for the ARBI native DOCX editor: a Yjs mirror of the canonical OOXML package, session, and server runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/blocks",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.116",
|
|
4
4
|
"description": "Composable, domain-neutral UI blocks for ARBI apps, organised by capability (retrieval, facts, agents, workspaces, citations, collaboration) plus shell, theme and site primitives, on top of @arbidocs/react.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -344,9 +344,9 @@
|
|
|
344
344
|
"custom-site:test:e2e": "playwright test -c examples/custom-site/playwright.config.ts"
|
|
345
345
|
},
|
|
346
346
|
"dependencies": {
|
|
347
|
-
"@arbidocs/client": "0.5.
|
|
348
|
-
"@arbidocs/coedit": "0.5.
|
|
349
|
-
"@arbidocs/sdk": "0.5.
|
|
347
|
+
"@arbidocs/client": "0.5.116",
|
|
348
|
+
"@arbidocs/coedit": "0.5.116",
|
|
349
|
+
"@arbidocs/sdk": "0.5.116",
|
|
350
350
|
"@auth0/auth0-react": "^2.19.0",
|
|
351
351
|
"@dnd-kit/core": "^6.3.1",
|
|
352
352
|
"@dnd-kit/sortable": "^10.0.0",
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
"y-protocols": "^1.0.6"
|
|
397
397
|
},
|
|
398
398
|
"peerDependencies": {
|
|
399
|
-
"@arbidocs/react": "0.5.
|
|
399
|
+
"@arbidocs/react": "0.5.116",
|
|
400
400
|
"@lexical/html": "0.35.0",
|
|
401
401
|
"@lexical/link": "0.35.0",
|
|
402
402
|
"@lexical/list": "0.35.0",
|
package/src/docx/styles.css
CHANGED
|
@@ -1235,3 +1235,97 @@
|
|
|
1235
1235
|
opacity: 0.5;
|
|
1236
1236
|
cursor: default;
|
|
1237
1237
|
}
|
|
1238
|
+
|
|
1239
|
+
/* One labeled editing menu: categories remain visible beside their commands. */
|
|
1240
|
+
.native-docx-command-menu .native-docx-command-trigger {
|
|
1241
|
+
display: flex;
|
|
1242
|
+
width: auto;
|
|
1243
|
+
gap: 6px;
|
|
1244
|
+
padding: 0 8px;
|
|
1245
|
+
font-size: 12px;
|
|
1246
|
+
white-space: nowrap;
|
|
1247
|
+
}
|
|
1248
|
+
.native-docx-command-menu .native-docx-command-panel {
|
|
1249
|
+
left: 4px;
|
|
1250
|
+
right: auto;
|
|
1251
|
+
width: min(520px, calc(100vw - 32px));
|
|
1252
|
+
max-width: calc(100vw - 32px);
|
|
1253
|
+
max-height: min(70vh, 520px);
|
|
1254
|
+
overflow: auto;
|
|
1255
|
+
padding: 4px;
|
|
1256
|
+
}
|
|
1257
|
+
.native-docx-command-layout {
|
|
1258
|
+
display: flex;
|
|
1259
|
+
align-items: flex-start;
|
|
1260
|
+
gap: 4px;
|
|
1261
|
+
width: 100%;
|
|
1262
|
+
}
|
|
1263
|
+
.native-docx-command-categories {
|
|
1264
|
+
display: flex;
|
|
1265
|
+
flex: 0 0 130px;
|
|
1266
|
+
flex-direction: column;
|
|
1267
|
+
gap: 2px;
|
|
1268
|
+
border-right: 1px solid hsl(var(--border));
|
|
1269
|
+
padding-right: 4px;
|
|
1270
|
+
}
|
|
1271
|
+
.native-docx-command-categories button {
|
|
1272
|
+
display: flex;
|
|
1273
|
+
align-items: center;
|
|
1274
|
+
gap: 8px;
|
|
1275
|
+
width: 100%;
|
|
1276
|
+
min-height: 36px;
|
|
1277
|
+
padding: 4px 8px;
|
|
1278
|
+
border: 0;
|
|
1279
|
+
border-radius: 4px;
|
|
1280
|
+
background: transparent;
|
|
1281
|
+
color: inherit;
|
|
1282
|
+
text-align: left;
|
|
1283
|
+
cursor: pointer;
|
|
1284
|
+
}
|
|
1285
|
+
.native-docx-command-categories button:hover,
|
|
1286
|
+
.native-docx-command-categories button[aria-pressed='true'] {
|
|
1287
|
+
background: hsl(var(--muted));
|
|
1288
|
+
}
|
|
1289
|
+
.native-docx-command-list {
|
|
1290
|
+
display: flex;
|
|
1291
|
+
flex: 1 1 auto;
|
|
1292
|
+
flex-direction: column;
|
|
1293
|
+
min-width: 0;
|
|
1294
|
+
gap: 2px;
|
|
1295
|
+
}
|
|
1296
|
+
.native-docx-command-item {
|
|
1297
|
+
position: relative;
|
|
1298
|
+
display: flex;
|
|
1299
|
+
align-items: center;
|
|
1300
|
+
gap: 8px;
|
|
1301
|
+
min-height: 36px;
|
|
1302
|
+
padding: 2px 8px;
|
|
1303
|
+
border-radius: 4px;
|
|
1304
|
+
font-size: 12px;
|
|
1305
|
+
}
|
|
1306
|
+
.native-docx-command-item:hover { background: hsl(var(--muted)); }
|
|
1307
|
+
.native-docx-command-item:has(> .native-docx-command-control:empty) { display: none; }
|
|
1308
|
+
.native-docx-command-control { display: flex; align-items: center; gap: 2px; }
|
|
1309
|
+
.native-docx-command-label { cursor: pointer; }
|
|
1310
|
+
.native-docx-command-item .native-docx-ribbon-menu {
|
|
1311
|
+
flex-wrap: wrap;
|
|
1312
|
+
}
|
|
1313
|
+
.native-docx-command-item .native-docx-ribbon-popover {
|
|
1314
|
+
position: static;
|
|
1315
|
+
flex: 0 0 100%;
|
|
1316
|
+
width: 100%;
|
|
1317
|
+
max-width: 100%;
|
|
1318
|
+
margin-top: 4px;
|
|
1319
|
+
box-shadow: none;
|
|
1320
|
+
}
|
|
1321
|
+
.native-docx-command-item:has(.native-docx-ribbon-popover:not([hidden])) {
|
|
1322
|
+
flex-wrap: wrap;
|
|
1323
|
+
}
|
|
1324
|
+
.native-docx-command-item:has(.native-docx-ribbon-popover:not([hidden])) .native-docx-command-control {
|
|
1325
|
+
flex-basis: 100%;
|
|
1326
|
+
min-width: 0;
|
|
1327
|
+
}
|
|
1328
|
+
@media (max-width: 420px) {
|
|
1329
|
+
.native-docx-command-categories { flex-basis: 104px; }
|
|
1330
|
+
.native-docx-command-categories button { padding-inline: 4px; }
|
|
1331
|
+
}
|