@arbidocs/blocks 0.4.81 → 0.4.83
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 +278 -278
- package/dist/agents/index.js +3 -3
- package/dist/agents/workflows/StepBarFrame.d.ts +12 -4
- package/dist/{chunk-THCFZKTM.js → chunk-CONIA2ZA.js} +8 -8
- package/dist/chunk-CONIA2ZA.js.map +1 -0
- package/dist/{chunk-SWSVPQNB.js → chunk-RSKSXEPW.js} +199 -18
- package/dist/chunk-RSKSXEPW.js.map +1 -0
- package/dist/{chunk-I56ORHPY.js → chunk-RX35SMPR.js} +5 -5
- package/dist/{chunk-I56ORHPY.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-F5WIETZY.cjs → chunk-XA5S4776.cjs} +44 -44
- package/dist/chunk-XA5S4776.cjs.map +1 -0
- package/dist/{chunk-UA2AMDR6.cjs → chunk-ZQYE7J3J.cjs} +201 -13
- package/dist/chunk-ZQYE7J3J.cjs.map +1 -0
- package/dist/connect/index.cjs +49 -28
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +34 -13
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedTagMatrix.d.ts +6 -3
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +9 -2
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/index.cjs +20 -1
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +20 -2
- 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 +696 -398
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +279 -8
- package/dist/index.js.map +1 -1
- 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 +31 -8
- package/dist/tags/TagsNav.d.ts +44 -0
- package/dist/tags/index.d.ts +9 -3
- package/dist/tags/tagMatrixDocx.d.ts +45 -0
- package/dist/tags/tagMatrixModel.d.ts +10 -6
- package/dist/workflow-canvas/index.cjs +81 -63
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +39 -21
- package/dist/workflow-canvas/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-BX7JWZWE.cjs.map +0 -1
- package/dist/chunk-F5WIETZY.cjs.map +0 -1
- package/dist/chunk-SWSVPQNB.js.map +0 -1
- package/dist/chunk-THCFZKTM.js.map +0 -1
- package/dist/chunk-UA2AMDR6.cjs.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* `TagMatrix` bound to the connection: a parent label's children from `useTagMatrix`, cells saved
|
|
3
3
|
* with `useUpdateTagFields`, "Add row" creating a child label, the workspace's people for person
|
|
4
|
-
* columns, and the export filed in the workspace as a
|
|
5
|
-
* `onExported`, so a host can open it or send it for signature).
|
|
4
|
+
* columns, and the export filed in the workspace as a Word document (`.docx`, so it opens in the
|
|
5
|
+
* Word editor; its id goes to `onExported`, so a host can open it or send it for signature). The
|
|
6
|
+
* same document can be downloaded instead.
|
|
6
7
|
*/
|
|
7
8
|
import { type TagMatrixProps } from '../tags/TagMatrix';
|
|
8
9
|
export interface ConnectedTagMatrixProps extends Pick<TagMatrixProps, 'onOpenDocument' | 'onOpenFact' | 'onOpenRow' | 'actions' | 'labels' | 'className' | 'testId'> {
|
|
@@ -14,7 +15,9 @@ export interface ConnectedTagMatrixProps extends Pick<TagMatrixProps, 'onOpenDoc
|
|
|
14
15
|
exportTitle?: string;
|
|
15
16
|
/** The snapshot was filed: its document id. Absent: no export button. */
|
|
16
17
|
onExported?: (documentId: string) => void;
|
|
18
|
+
/** Offer the snapshot as a `.docx` download. Default true. */
|
|
19
|
+
downloadable?: boolean;
|
|
17
20
|
/** Read only: no cell edits, no "Add row". */
|
|
18
21
|
readOnly?: boolean;
|
|
19
22
|
}
|
|
20
|
-
export declare function ConnectedTagMatrix({ parentId, linksLimit, exportTitle, onExported, readOnly, ...props }: ConnectedTagMatrixProps): import("react").JSX.Element;
|
|
23
|
+
export declare function ConnectedTagMatrix({ parentId, linksLimit, exportTitle, onExported, downloadable, readOnly, ...props }: ConnectedTagMatrixProps): import("react").JSX.Element;
|
|
@@ -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. */
|
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,9 +11,9 @@ 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
14
|
require('../chunk-FX3K6LNZ.cjs');
|
|
16
15
|
require('../chunk-PPCATBOY.cjs');
|
|
16
|
+
require('../chunk-C54XEN5T.cjs');
|
|
17
17
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
18
18
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
19
19
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
@@ -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;
|