@arbidocs/blocks 0.4.82 → 0.4.84
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 +279 -279
- package/dist/agents/index.js +4 -4
- package/dist/agents/workflows/StepBarFrame.d.ts +12 -4
- package/dist/{chunk-FE4ULGOR.js → chunk-2YOVK524.js} +28 -5
- package/dist/chunk-2YOVK524.js.map +1 -0
- package/dist/{chunk-5XVWGJ2H.cjs → chunk-B3WCKBJ7.cjs} +3 -3
- package/dist/{chunk-5XVWGJ2H.cjs.map → chunk-B3WCKBJ7.cjs.map} +1 -1
- package/dist/{chunk-THCFZKTM.js → chunk-CONIA2ZA.js} +8 -8
- package/dist/chunk-CONIA2ZA.js.map +1 -0
- package/dist/{chunk-O35LRB3P.js → chunk-GJV2G4FC.js} +3 -3
- package/dist/{chunk-O35LRB3P.js.map → chunk-GJV2G4FC.js.map} +1 -1
- package/dist/{chunk-ZVBPRMHJ.cjs → chunk-JH6JTI76.cjs} +27 -4
- package/dist/chunk-JH6JTI76.cjs.map +1 -0
- package/dist/{chunk-COP6GVKN.js → chunk-RSKSXEPW.js} +57 -19
- package/dist/chunk-RSKSXEPW.js.map +1 -0
- package/dist/{chunk-IRG5LPDP.js → chunk-RX35SMPR.js} +6 -6
- package/dist/{chunk-IRG5LPDP.js.map → chunk-RX35SMPR.js.map} +1 -1
- package/dist/{chunk-BX7JWZWE.cjs → chunk-RYYYHPFU.cjs} +8 -8
- package/dist/chunk-RYYYHPFU.cjs.map +1 -0
- package/dist/{chunk-VWK24TEY.cjs → chunk-XA5S4776.cjs} +45 -45
- package/dist/chunk-XA5S4776.cjs.map +1 -0
- package/dist/{chunk-LRRJ2HBW.cjs → chunk-ZQYE7J3J.cjs} +54 -14
- package/dist/chunk-ZQYE7J3J.cjs.map +1 -0
- package/dist/connect/index.cjs +81 -51
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +43 -13
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +9 -2
- package/dist/connection/WorkflowRunnerDialogs.d.ts +12 -1
- package/dist/document-tools/SignDocumentDialog.d.ts +9 -2
- package/dist/document-tools/index.cjs +2 -2
- package/dist/document-tools/index.js +1 -1
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/index.cjs +22 -3
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +22 -4
- package/dist/files/index.js.map +1 -1
- package/dist/files/views/TagFormParts.d.ts +8 -0
- package/dist/files/views/index.d.ts +1 -1
- package/dist/home/index.cjs +1 -1
- package/dist/home/index.js +1 -1
- package/dist/index.cjs +891 -609
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +283 -12
- package/dist/index.js.map +1 -1
- package/dist/settings/index.cjs +35 -35
- package/dist/settings/index.js +3 -3
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/tags/TagDetail.d.ts +38 -0
- package/dist/tags/TagMatrix.d.ts +27 -8
- package/dist/tags/TagsNav.d.ts +44 -0
- package/dist/tags/index.d.ts +8 -3
- package/dist/tags/tagMatrixDocx.d.ts +4 -1
- package/dist/tags/tagMatrixModel.d.ts +10 -6
- package/dist/workflow-canvas/index.cjs +82 -64
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +40 -22
- package/dist/workflow-canvas/index.js.map +1 -1
- package/dist/workspaces/index.cjs +1 -1
- package/dist/workspaces/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-BX7JWZWE.cjs.map +0 -1
- package/dist/chunk-COP6GVKN.js.map +0 -1
- package/dist/chunk-FE4ULGOR.js.map +0 -1
- package/dist/chunk-LRRJ2HBW.cjs.map +0 -1
- package/dist/chunk-THCFZKTM.js.map +0 -1
- package/dist/chunk-VWK24TEY.cjs.map +0 -1
- package/dist/chunk-ZVBPRMHJ.cjs.map +0 -1
|
@@ -15,6 +15,9 @@ export interface ConnectedWorkflowBuilderLabels {
|
|
|
15
15
|
runNow: string;
|
|
16
16
|
saved: string;
|
|
17
17
|
needTrigger: string;
|
|
18
|
+
running: string;
|
|
19
|
+
/** Shown when saving, the host's after-save step or the run fails without a message. */
|
|
20
|
+
failed: string;
|
|
18
21
|
}
|
|
19
22
|
export declare const DEFAULT_CONNECTED_WORKFLOW_BUILDER_LABELS: ConnectedWorkflowBuilderLabels;
|
|
20
23
|
/** Workspace events a workflow can start on (notification types), in plain words. */
|
|
@@ -33,8 +36,12 @@ export interface ConnectedWorkflowBuilderProps extends Pick<StepComposeOptions,
|
|
|
33
36
|
value: string;
|
|
34
37
|
label: string;
|
|
35
38
|
}>;
|
|
36
|
-
/**
|
|
37
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Saved (created or updated): its id and the value saved. It may return a promise for host setup
|
|
41
|
+
* that must finish first (e.g. granting the chosen agent workspace access): "Save" waits for it
|
|
42
|
+
* before showing saved, and "Run now" waits for it before running, and does not run if it rejects.
|
|
43
|
+
*/
|
|
44
|
+
onSaved?: (workflowId: string, value: WorkflowBuilderValue) => void | Promise<void>;
|
|
38
45
|
/** A run started: its thread. */
|
|
39
46
|
onRun?: (conversationId: string | undefined) => void;
|
|
40
47
|
/** Extra host buttons. */
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export interface WorkflowRunnerDialogLabels {
|
|
7
7
|
loadingDocument: string;
|
|
8
|
+
preparingDocument: string;
|
|
8
9
|
documentFailed: string;
|
|
9
10
|
reviewTitle: string;
|
|
10
11
|
reviewDescription: string;
|
|
@@ -13,7 +14,17 @@ export interface WorkflowRunnerDialogLabels {
|
|
|
13
14
|
wordTitle: string;
|
|
14
15
|
}
|
|
15
16
|
export declare const DEFAULT_WORKFLOW_RUNNER_DIALOG_LABELS: WorkflowRunnerDialogLabels;
|
|
16
|
-
/**
|
|
17
|
+
/** How often, and how long apart, the PDF is fetched again while it is still being rendered. */
|
|
18
|
+
export declare const SIGN_PDF_RETRIES = 4;
|
|
19
|
+
export declare const SIGN_PDF_RETRY_DELAY_MS = 1500;
|
|
20
|
+
/**
|
|
21
|
+
* The sign flow on one document version: its PDF is fetched, then the blocks sign dialog.
|
|
22
|
+
*
|
|
23
|
+
* What is signed is the PDF `GET /view?version=` serves (a Word or Markdown document's rendition),
|
|
24
|
+
* never the original's download, so the hash the server checks is of the bytes shown here. A
|
|
25
|
+
* rendition still being written is fetched again a few times; a version superseded since the step
|
|
26
|
+
* was set offers the current one instead.
|
|
27
|
+
*/
|
|
17
28
|
export declare function WorkflowSignDialog({ docRef, onClose, labels, }: {
|
|
18
29
|
/** `doc-…` or `doc-…@v3`. */
|
|
19
30
|
docRef: string;
|
|
@@ -12,9 +12,16 @@ export interface SignDocumentDialogProps {
|
|
|
12
12
|
open: boolean;
|
|
13
13
|
onOpenChange: (open: boolean) => void;
|
|
14
14
|
documentId: string;
|
|
15
|
-
/** The PDF the viewer is showing. */
|
|
15
|
+
/** The PDF the viewer is showing: `GET /view?version=`, never the original's download. */
|
|
16
16
|
pdfBlob: Blob;
|
|
17
|
+
/** The version `pdfBlob` is of; omitted = the current version. */
|
|
18
|
+
version?: number;
|
|
17
19
|
/** Where the signature goes; omitted = bottom of the last page. */
|
|
18
20
|
appearance?: SignatureAppearance;
|
|
21
|
+
/**
|
|
22
|
+
* Open the current version when the one shown has been superseded (only the current version can
|
|
23
|
+
* be signed). Default: the host's `openDocument` on the document, after the dialog closes.
|
|
24
|
+
*/
|
|
25
|
+
onOpenCurrent?: () => void;
|
|
19
26
|
}
|
|
20
|
-
export declare function SignDocumentDialog({ open, onOpenChange, documentId, pdfBlob, appearance, }: SignDocumentDialogProps): ReactElement;
|
|
27
|
+
export declare function SignDocumentDialog({ open, onOpenChange, documentId, pdfBlob, version, appearance, onOpenCurrent, }: SignDocumentDialogProps): ReactElement;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
|
|
5
5
|
var chunk4DVEGXZQ_cjs = require('../chunk-4DVEGXZQ.cjs');
|
|
6
6
|
require('../chunk-ULWRNGGE.cjs');
|
|
7
7
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -482,7 +482,7 @@ function VersionSnapshotBar({
|
|
|
482
482
|
|
|
483
483
|
Object.defineProperty(exports, "SignDocumentDialog", {
|
|
484
484
|
enumerable: true,
|
|
485
|
-
get: function () { return
|
|
485
|
+
get: function () { return chunkJH6JTI76_cjs.SignDocumentDialog; }
|
|
486
486
|
});
|
|
487
487
|
exports.AnnotateButton = AnnotateButton;
|
|
488
488
|
exports.DEFAULT_VERSION_SNAPSHOT_BAR_LABELS = DEFAULT_VERSION_SNAPSHOT_BAR_LABELS;
|
package/dist/facts/index.cjs
CHANGED
|
@@ -8,9 +8,9 @@ var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
|
8
8
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
9
9
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
10
10
|
var chunkIXALYQT7_cjs = require('../chunk-IXALYQT7.cjs');
|
|
11
|
-
require('../chunk-C54XEN5T.cjs');
|
|
12
11
|
require('../chunk-FX3K6LNZ.cjs');
|
|
13
12
|
var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
|
|
13
|
+
require('../chunk-C54XEN5T.cjs');
|
|
14
14
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
15
15
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
16
16
|
require('../chunk-DES3K4SD.cjs');
|
package/dist/facts/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
|
7
7
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
8
8
|
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';
|
|
9
9
|
import { GridView } from '../chunk-ZPLG7QYF.js';
|
|
10
|
-
import '../chunk-76JDDMSP.js';
|
|
11
10
|
import '../chunk-SLSBJRWW.js';
|
|
12
11
|
import { observeResize } from '../chunk-NPLYHR2E.js';
|
|
12
|
+
import '../chunk-76JDDMSP.js';
|
|
13
13
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
14
14
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
15
15
|
import '../chunk-VUNV25KB.js';
|
package/dist/files/index.cjs
CHANGED
|
@@ -11,12 +11,12 @@ var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
|
11
11
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
12
12
|
var chunkIXALYQT7_cjs = require('../chunk-IXALYQT7.cjs');
|
|
13
13
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
14
|
-
require('../chunk-C54XEN5T.cjs');
|
|
15
|
-
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
16
|
-
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
17
14
|
require('../chunk-FX3K6LNZ.cjs');
|
|
18
15
|
require('../chunk-PPCATBOY.cjs');
|
|
16
|
+
require('../chunk-C54XEN5T.cjs');
|
|
19
17
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
18
|
+
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
19
|
+
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
20
20
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
21
21
|
require('../chunk-DES3K4SD.cjs');
|
|
22
22
|
var classVarianceAuthority = require('class-variance-authority');
|
|
@@ -6337,6 +6337,24 @@ function TagFormSelectField({
|
|
|
6337
6337
|
function TagFormNote({ testId, children }) {
|
|
6338
6338
|
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", "data-testid": testId, children });
|
|
6339
6339
|
}
|
|
6340
|
+
function TagFormCheckboxField({
|
|
6341
|
+
label,
|
|
6342
|
+
checked,
|
|
6343
|
+
onChange,
|
|
6344
|
+
testId
|
|
6345
|
+
}) {
|
|
6346
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "flex items-center gap-2 text-sm text-foreground", children: [
|
|
6347
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6348
|
+
ui.Checkbox,
|
|
6349
|
+
{
|
|
6350
|
+
checked,
|
|
6351
|
+
onCheckedChange: (value) => onChange(value === true),
|
|
6352
|
+
"data-testid": testId
|
|
6353
|
+
}
|
|
6354
|
+
),
|
|
6355
|
+
label
|
|
6356
|
+
] });
|
|
6357
|
+
}
|
|
6340
6358
|
function TagFormOptionsEditor({
|
|
6341
6359
|
label,
|
|
6342
6360
|
options,
|
|
@@ -7223,6 +7241,7 @@ exports.RelatedDocsCell = RelatedDocsCell;
|
|
|
7223
7241
|
exports.SelectedFilesList = SelectedFilesList;
|
|
7224
7242
|
exports.StatusPill = StatusPill;
|
|
7225
7243
|
exports.TagColumnHeader = TagColumnHeader;
|
|
7244
|
+
exports.TagFormCheckboxField = TagFormCheckboxField;
|
|
7226
7245
|
exports.TagFormField = TagFormField;
|
|
7227
7246
|
exports.TagFormFooter = TagFormFooter;
|
|
7228
7247
|
exports.TagFormInstructionField = TagFormInstructionField;
|