@arbidocs/blocks 0.4.108 → 0.4.110
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-UAZUKZ77.js → NativeDocxEditor-4PY4YZYC.js} +3 -3
- package/dist/{NativeDocxEditor-UAZUKZ77.js.map → NativeDocxEditor-4PY4YZYC.js.map} +1 -1
- package/dist/{NativeDocxEditor-YX7B7OFH.cjs → NativeDocxEditor-WODZAURG.cjs} +7 -7
- package/dist/{NativeDocxEditor-YX7B7OFH.cjs.map → NativeDocxEditor-WODZAURG.cjs.map} +1 -1
- package/dist/agents/index.cjs +286 -286
- package/dist/agents/index.js +10 -10
- package/dist/agents/tasks/ConversationListView.d.ts +5 -1
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +5 -1
- package/dist/calendar/EventDetails.d.ts +1 -1
- package/dist/calendar/index.cjs +13 -0
- package/dist/calendar/index.cjs.map +1 -1
- package/dist/calendar/index.js +13 -0
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/types.d.ts +3 -0
- package/dist/calls/CallSidePanel.d.ts +17 -0
- package/dist/calls/CallStage.d.ts +57 -0
- package/dist/calls/ControlBar.d.ts +91 -0
- package/dist/calls/ControlButton.d.ts +44 -0
- package/dist/calls/PreJoin.d.ts +31 -0
- package/dist/calls/cards.d.ts +54 -0
- package/dist/calls/hooks.d.ts +20 -0
- package/dist/calls/index.cjs +1853 -0
- package/dist/calls/index.cjs.map +1 -0
- package/dist/calls/index.d.ts +20 -0
- package/dist/calls/index.js +1737 -0
- package/dist/calls/index.js.map +1 -0
- package/dist/calls/join-choices.d.ts +11 -0
- package/dist/calls/layout.d.ts +106 -0
- package/dist/calls/panels.d.ts +55 -0
- package/dist/calls/status.d.ts +69 -0
- package/dist/calls/tiles.d.ts +59 -0
- package/dist/chat/Message.d.ts +17 -2
- package/dist/chat/TranscriptLine.d.ts +50 -0
- package/dist/chat/index.cjs +147 -126
- package/dist/chat/index.d.ts +3 -1
- package/dist/chat/index.js +5 -4
- package/dist/chat/transcript-runs.d.ts +6 -0
- package/dist/{chunk-QT6EGMAJ.cjs → chunk-2NIL2ASF.cjs} +38 -294
- package/dist/chunk-2NIL2ASF.cjs.map +1 -0
- package/dist/{chunk-XMBYDLZQ.cjs → chunk-2UAJVK3C.cjs} +4 -4
- package/dist/{chunk-XMBYDLZQ.cjs.map → chunk-2UAJVK3C.cjs.map} +1 -1
- package/dist/{chunk-TTXK62YI.cjs → chunk-54WBIVHV.cjs} +5 -5
- package/dist/{chunk-TTXK62YI.cjs.map → chunk-54WBIVHV.cjs.map} +1 -1
- package/dist/{chunk-7C35WXYB.js → chunk-5HFPRI3W.js} +5 -5
- package/dist/chunk-5HFPRI3W.js.map +1 -0
- package/dist/{chunk-S7RHJI5Q.js → chunk-6RHHMBZ5.js} +158 -5
- package/dist/chunk-6RHHMBZ5.js.map +1 -0
- package/dist/{chunk-3Y6NQIDE.js → chunk-A35KT2II.js} +37 -19
- package/dist/chunk-A35KT2II.js.map +1 -0
- package/dist/{chunk-PGDL26TQ.js → chunk-AY32GGKU.js} +10 -4
- package/dist/{chunk-PGDL26TQ.js.map → chunk-AY32GGKU.js.map} +1 -1
- package/dist/{chunk-IXALYQT7.cjs → chunk-C2CWWEHO.cjs} +2 -2
- package/dist/chunk-C2CWWEHO.cjs.map +1 -0
- package/dist/{chunk-S55VDTX3.js → chunk-CECWAIHL.js} +3 -3
- package/dist/{chunk-S55VDTX3.js.map → chunk-CECWAIHL.js.map} +1 -1
- package/dist/{chunk-XQDM6T6C.js → chunk-CXZ7FPTQ.js} +3 -3
- package/dist/{chunk-XQDM6T6C.js.map → chunk-CXZ7FPTQ.js.map} +1 -1
- package/dist/{chunk-C2HRZSAT.cjs → chunk-DJM7DLCT.cjs} +5 -5
- package/dist/chunk-DJM7DLCT.cjs.map +1 -0
- package/dist/{chunk-XQKGYGCJ.js → chunk-DQCYCEDR.js} +3 -3
- package/dist/{chunk-XQKGYGCJ.js.map → chunk-DQCYCEDR.js.map} +1 -1
- package/dist/{chunk-ZYSY4L5L.cjs → chunk-ELDUWTRR.cjs} +4 -4
- package/dist/{chunk-ZYSY4L5L.cjs.map → chunk-ELDUWTRR.cjs.map} +1 -1
- package/dist/{chunk-A2MN2ZLX.js → chunk-GKDWQLVU.js} +13 -274
- package/dist/chunk-GKDWQLVU.js.map +1 -0
- package/dist/{chunk-24ND4S6Y.cjs → chunk-HBBJYRGI.cjs} +162 -5
- package/dist/{chunk-S7RHJI5Q.js.map → chunk-HBBJYRGI.cjs.map} +1 -1
- package/dist/{chunk-P2KPDPFF.js → chunk-IXTQYFIF.js} +23 -15
- package/dist/chunk-IXTQYFIF.js.map +1 -0
- package/dist/{chunk-JQVPGMLU.js → chunk-JB32KYAH.js} +3 -3
- package/dist/{chunk-JQVPGMLU.js.map → chunk-JB32KYAH.js.map} +1 -1
- package/dist/{chunk-PBS5MFIY.cjs → chunk-JK45LSIH.cjs} +3 -3
- package/dist/{chunk-PBS5MFIY.cjs.map → chunk-JK45LSIH.cjs.map} +1 -1
- package/dist/chunk-MWDW5UBW.cjs +199 -0
- package/dist/chunk-MWDW5UBW.cjs.map +1 -0
- package/dist/{chunk-ZPLG7QYF.js → chunk-N5YEF3LC.js} +2 -2
- package/dist/chunk-N5YEF3LC.js.map +1 -0
- package/dist/{chunk-EWSEQEPL.js → chunk-NRUPUDWB.js} +17 -7
- package/dist/chunk-NRUPUDWB.js.map +1 -0
- package/dist/{chunk-DDF5GPIJ.js → chunk-P5ST47VY.js} +3 -3
- package/dist/{chunk-DDF5GPIJ.js.map → chunk-P5ST47VY.js.map} +1 -1
- package/dist/{chunk-EGDWNEAG.js → chunk-PEHLUB52.js} +3 -3
- package/dist/{chunk-EGDWNEAG.js.map → chunk-PEHLUB52.js.map} +1 -1
- package/dist/{chunk-W7NZRZ54.js → chunk-SQNAJPNR.js} +4 -4
- package/dist/{chunk-W7NZRZ54.js.map → chunk-SQNAJPNR.js.map} +1 -1
- package/dist/{chunk-DTBSGG36.cjs → chunk-U6MPHCEB.cjs} +24 -16
- package/dist/chunk-U6MPHCEB.cjs.map +1 -0
- package/dist/{chunk-MP6FK43E.cjs → chunk-VP4KJ4LK.cjs} +17 -6
- package/dist/chunk-VP4KJ4LK.cjs.map +1 -0
- package/dist/{chunk-LLFW2T6S.cjs → chunk-VZKBI2KJ.cjs} +85 -67
- package/dist/chunk-VZKBI2KJ.cjs.map +1 -0
- package/dist/{chunk-5YXG342J.cjs → chunk-W7ZDBPJ3.cjs} +4 -4
- package/dist/{chunk-5YXG342J.cjs.map → chunk-W7ZDBPJ3.cjs.map} +1 -1
- package/dist/{chunk-SKSE4OT6.cjs → chunk-WPVIOGDG.cjs} +5 -5
- package/dist/{chunk-SKSE4OT6.cjs.map → chunk-WPVIOGDG.cjs.map} +1 -1
- package/dist/{chunk-3US5OIDQ.cjs → chunk-XSUOEJB3.cjs} +9 -3
- package/dist/chunk-XSUOEJB3.cjs.map +1 -0
- package/dist/chunk-Z3AZ7Q5X.js +177 -0
- package/dist/chunk-Z3AZ7Q5X.js.map +1 -0
- package/dist/{chunk-Z5VUZ6YD.cjs → chunk-ZV3BKLFY.cjs} +3 -3
- package/dist/{chunk-Z5VUZ6YD.cjs.map → chunk-ZV3BKLFY.cjs.map} +1 -1
- package/dist/citations/index.cjs +10 -10
- package/dist/citations/index.js +1 -1
- package/dist/collaboration/index.cjs +57 -57
- package/dist/collaboration/index.js +3 -3
- package/dist/connect/docx.cjs +6 -6
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +87 -87
- package/dist/connect/index.js +16 -16
- package/dist/databases/index.cjs +2 -2
- package/dist/databases/index.js +1 -1
- package/dist/docx/definitions/fragment.d.ts +2 -6
- package/dist/docx/definitions/port.d.ts +2 -57
- package/dist/docx/index.cjs +46 -46
- package/dist/docx/index.js +3 -3
- package/dist/docx/references/commands.d.ts +3 -31
- package/dist/docx/references/numbering.d.ts +3 -47
- package/dist/facts/index.cjs +5 -5
- package/dist/facts/index.js +4 -4
- package/dist/files/GridView.d.ts +4 -1
- package/dist/files/TagPassagePanel.d.ts +2 -0
- package/dist/files/index.cjs +89 -79
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +88 -78
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +739 -718
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -21
- package/dist/index.js.map +1 -1
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/FirmPool.d.ts +45 -0
- package/dist/settings/index.cjs +134 -37
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.js +100 -6
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +12 -12
- package/dist/shell/index.js +4 -4
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +5 -5
- package/dist/studio/index.js +4 -4
- package/dist/workflow-canvas/index.cjs +53 -53
- package/dist/workflow-canvas/index.js +10 -10
- package/dist/workspaces/index.cjs +3 -3
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +3 -3
- package/dist/workspaces/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/commands.cjs +356 -0
- package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -0
- package/node_modules/@arbidocs/coedit/dist/commands.d.cts +235 -0
- package/node_modules/@arbidocs/coedit/dist/commands.d.ts +235 -0
- package/node_modules/@arbidocs/coedit/dist/commands.js +338 -0
- package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -0
- package/node_modules/@arbidocs/coedit/package.json +6 -1
- package/package.json +15 -5
- package/src/calls/calls.css +157 -0
- package/dist/chunk-24ND4S6Y.cjs.map +0 -1
- package/dist/chunk-3US5OIDQ.cjs.map +0 -1
- package/dist/chunk-3Y6NQIDE.js.map +0 -1
- package/dist/chunk-7C35WXYB.js.map +0 -1
- package/dist/chunk-A2MN2ZLX.js.map +0 -1
- package/dist/chunk-C2HRZSAT.cjs.map +0 -1
- package/dist/chunk-DTBSGG36.cjs.map +0 -1
- package/dist/chunk-EWSEQEPL.js.map +0 -1
- package/dist/chunk-IXALYQT7.cjs.map +0 -1
- package/dist/chunk-LLFW2T6S.cjs.map +0 -1
- package/dist/chunk-MP6FK43E.cjs.map +0 -1
- package/dist/chunk-P2KPDPFF.js.map +0 -1
- package/dist/chunk-QT6EGMAJ.cjs.map +0 -1
- package/dist/chunk-ZPLG7QYF.js.map +0 -1
package/dist/databases/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkD54JXTPG_cjs = require('../chunk-D54JXTPG.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
6
6
|
require('../chunk-FX3K6LNZ.cjs');
|
|
7
7
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
8
8
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -1378,7 +1378,7 @@ function DatabaseTable({
|
|
|
1378
1378
|
"data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "database-table" }),
|
|
1379
1379
|
children: [
|
|
1380
1380
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1381
|
-
|
|
1381
|
+
chunkC2CWWEHO_cjs.GridView,
|
|
1382
1382
|
{
|
|
1383
1383
|
testId: "database-grid",
|
|
1384
1384
|
items: rows,
|
package/dist/databases/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { DetailPanel, DetailSection, DetailFields, DetailField, DetailLinkList, DetailLinkItem, DetailEmpty } from '../chunk-ZCOVDK2E.js';
|
|
3
|
-
import { GridView } from '../chunk-
|
|
3
|
+
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
4
4
|
import '../chunk-SLSBJRWW.js';
|
|
5
5
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
6
6
|
import '../chunk-VUNV25KB.js';
|
|
@@ -7,12 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { Definition } from '../../tags/definitions';
|
|
9
9
|
import { type Revision } from '@arbidocs/coedit/template';
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
/** Character style of a cross-reference: a muted blue with a dotted underline (Word's name). */
|
|
13
|
-
export declare const CROSS_REFERENCE_STYLE = "CrossReference";
|
|
14
|
-
/** Character style of a cross-reference whose target is gone: its last text, flagged. */
|
|
15
|
-
export declare const BROKEN_CROSS_REFERENCE_STYLE = "CrossReferenceBroken";
|
|
10
|
+
import { BROKEN_CROSS_REFERENCE_STYLE, CROSS_REFERENCE_STYLE, DEFINED_TERM_STYLE } from '@arbidocs/coedit/commands';
|
|
11
|
+
export { BROKEN_CROSS_REFERENCE_STYLE, CROSS_REFERENCE_STYLE, DEFINED_TERM_STYLE };
|
|
16
12
|
/**
|
|
17
13
|
* The character styles the inserted content uses. A paste brings a style the document does not
|
|
18
14
|
* define; one it already defines (a house template's) is used as it is, so only the missing ones
|
|
@@ -4,48 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { DocxEditorInstance } from '@docx-editor.dev/core';
|
|
6
6
|
import type { Revision } from '@arbidocs/coedit/template';
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
paragraphId: string;
|
|
10
|
-
offset: number;
|
|
11
|
-
}
|
|
12
|
-
/** An internal link in a paragraph. */
|
|
13
|
-
export interface DocLink {
|
|
14
|
-
anchor: string;
|
|
15
|
-
text: string;
|
|
16
|
-
}
|
|
17
|
-
/** One paragraph, in document order. */
|
|
18
|
-
export interface DocParagraph {
|
|
19
|
-
id: string;
|
|
20
|
-
text: string;
|
|
21
|
-
/** Styled as a heading (a `Heading n` style or an outline level). */
|
|
22
|
-
heading: boolean;
|
|
23
|
-
styleId?: string;
|
|
24
|
-
/** A paragraph of the body itself, not inside a table. */
|
|
25
|
-
topLevel: boolean;
|
|
26
|
-
/** Names of the bookmarks that start in it. */
|
|
27
|
-
bookmarks: string[];
|
|
28
|
-
/** Its internal links (`w:hyperlink w:anchor`). */
|
|
29
|
-
links: DocLink[];
|
|
30
|
-
/** Its complex fields: where each sits (its one-character offset), its instruction and result. */
|
|
31
|
-
fields?: DocField[];
|
|
32
|
-
/** Its runs in a watched character style (a broken cross-reference's mark), with their text. */
|
|
33
|
-
marks?: DocMark[];
|
|
34
|
-
}
|
|
35
|
-
/** A stretch of a paragraph's text in a watched character style. */
|
|
36
|
-
export interface DocMark {
|
|
37
|
-
styleId: string;
|
|
38
|
-
offset: number;
|
|
39
|
-
text: string;
|
|
40
|
-
}
|
|
41
|
-
/** Character styles whose runs a paragraph read reports as marks. */
|
|
42
|
-
export declare const WATCHED_STYLES: Set<string>;
|
|
43
|
-
/** A complex field of a paragraph. */
|
|
44
|
-
export interface DocField {
|
|
45
|
-
offset: number;
|
|
46
|
-
instruction: string;
|
|
47
|
-
result: string;
|
|
48
|
-
}
|
|
7
|
+
import { type DocParagraph, type DocPoint, type OoxmlNodeLike } from '@arbidocs/coedit/commands';
|
|
8
|
+
export { FIELD_ATOM, WATCHED_STYLES, readParagraphs, type DocField, type DocLink, type DocMark, type DocNote, type DocParagraph, type DocPoint, type OoxmlNodeLike, } from '@arbidocs/coedit/commands';
|
|
49
9
|
export interface DefinitionsPort {
|
|
50
10
|
/** Every body paragraph, in document order (table cells included, `topLevel: false`). */
|
|
51
11
|
paragraphs(): DocParagraph[];
|
|
@@ -64,21 +24,6 @@ export interface DefinitionsPort {
|
|
|
64
24
|
/** Type plain text at the caret. */
|
|
65
25
|
typeText(text: string): void;
|
|
66
26
|
}
|
|
67
|
-
export type OoxmlNodeLike = {
|
|
68
|
-
id: string;
|
|
69
|
-
kind: string;
|
|
70
|
-
localName?: string;
|
|
71
|
-
value?: string;
|
|
72
|
-
attributes?: readonly {
|
|
73
|
-
localName: string;
|
|
74
|
-
value: string;
|
|
75
|
-
}[];
|
|
76
|
-
children?: readonly OoxmlNodeLike[];
|
|
77
|
-
};
|
|
78
|
-
/** How a field counts in a paragraph's text (the engine's model vocabulary). */
|
|
79
|
-
export declare const FIELD_ATOM = "\uFFFC";
|
|
80
|
-
/** The paragraphs of a part's body, read from the engine's OOXML tree. */
|
|
81
|
-
export declare function readParagraphs(root: OoxmlNodeLike): DocParagraph[];
|
|
82
27
|
/** The style ids a document's styles part defines. */
|
|
83
28
|
export declare function documentStyleIds(root: OoxmlNodeLike | null | undefined): Set<string>;
|
|
84
29
|
/**
|
package/dist/docx/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk54WBIVHV_cjs = require('../chunk-54WBIVHV.cjs');
|
|
5
5
|
var chunkS24XEVPS_cjs = require('../chunk-S24XEVPS.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk2NIL2ASF_cjs = require('../chunk-2NIL2ASF.cjs');
|
|
7
7
|
require('../chunk-5FYU7ZIU.cjs');
|
|
8
8
|
require('../chunk-2A4MDHJR.cjs');
|
|
9
9
|
require('../chunk-RC25WMVB.cjs');
|
|
@@ -62,7 +62,7 @@ function NativeDocxComparison({
|
|
|
62
62
|
if (!documentId)
|
|
63
63
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "native-docx-error", role: "status", children: "Comparing Word documents\u2026" });
|
|
64
64
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
65
|
-
|
|
65
|
+
chunk2NIL2ASF_cjs.NativeDocxEditor,
|
|
66
66
|
{
|
|
67
67
|
adapter,
|
|
68
68
|
documentId,
|
|
@@ -74,7 +74,7 @@ function NativeDocxComparison({
|
|
|
74
74
|
|
|
75
75
|
Object.defineProperty(exports, "StreamedWordArtifact", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk54WBIVHV_cjs.StreamedWordArtifact; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "loadDocxFonts", {
|
|
80
80
|
enumerable: true,
|
|
@@ -82,171 +82,171 @@ Object.defineProperty(exports, "loadDocxFonts", {
|
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "BUILTIN_TEMPLATE_NAME", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk2NIL2ASF_cjs.BUILTIN_TEMPLATE_NAME; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "CrossReferenceDialog", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk2NIL2ASF_cjs.CrossReferenceDialog; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "CrossReferencesProvider", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk2NIL2ASF_cjs.CrossReferencesProvider; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "DEFAULT_CROSS_REFERENCES_LABELS", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk2NIL2ASF_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "DEFAULT_DEFINED_TERMS_LABELS", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunk2NIL2ASF_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "DEFINED_TERM_TRIGGER", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunk2NIL2ASF_cjs.DEFINED_TERM_TRIGGER; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "DefinedTermsProvider", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk2NIL2ASF_cjs.DefinedTermsProvider; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "DocxAuthorContext", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk2NIL2ASF_cjs.DocxAuthorContext; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "DocxCommentActivity", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk2NIL2ASF_cjs.DocxCommentActivity; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "DocxEditorReview", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk2NIL2ASF_cjs.DocxEditorReview; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "DocxMentions", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunk2NIL2ASF_cjs.DocxMentions; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "DocxParticipants", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunk2NIL2ASF_cjs.DocxParticipants; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "DocxRibbon", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunk2NIL2ASF_cjs.DocxRibbon; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "GenerateImageButton", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunk2NIL2ASF_cjs.GenerateImageButton; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "HouseTemplateProvider", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunk2NIL2ASF_cjs.HouseTemplateProvider; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "LinkHoverCard", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunk2NIL2ASF_cjs.LinkHoverCard; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "NativeDocxEditor", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunk2NIL2ASF_cjs.NativeDocxEditor; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "builtinHouseTemplate", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunk2NIL2ASF_cjs.builtinHouseTemplate; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "contentPath", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunk2NIL2ASF_cjs.contentPath; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "editorPort", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunk2NIL2ASF_cjs.editorPort; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "findDefinitionsSection", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunk2NIL2ASF_cjs.findDefinitionsSection; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "insertCrossReference", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunk2NIL2ASF_cjs.insertCrossReference; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "insertDefinedTerm", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunk2NIL2ASF_cjs.insertDefinedTerm; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "insertDocumentReference", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunk2NIL2ASF_cjs.insertDocumentReference; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "listTargets", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunk2NIL2ASF_cjs.listTargets; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "normalizeDocxExport", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunk2NIL2ASF_cjs.normalizeDocxExport; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "paragraphNumber", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunk2NIL2ASF_cjs.paragraphNumber; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "referenceText", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunk2NIL2ASF_cjs.referenceText; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "referencesPort", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunk2NIL2ASF_cjs.referencesPort; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "resolveHouseTemplate", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunk2NIL2ASF_cjs.resolveHouseTemplate; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "reviewModule", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunk2NIL2ASF_cjs.reviewModule; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "shortTitle", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunk2NIL2ASF_cjs.shortTitle; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "structuralPort", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunk2NIL2ASF_cjs.structuralPort; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "templateFileName", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunk2NIL2ASF_cjs.templateFileName; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "trackedOrNoted", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunk2NIL2ASF_cjs.trackedOrNoted; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "useCrossReferences", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunk2NIL2ASF_cjs.useCrossReferences; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "useDefinedTerms", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunk2NIL2ASF_cjs.useDefinedTerms; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "useHouseTemplate", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunk2NIL2ASF_cjs.useHouseTemplate; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "useReview", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunk2NIL2ASF_cjs.useReview; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "useReviewItem", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunk2NIL2ASF_cjs.useReviewItem; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "useTrackedOrNoted", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunk2NIL2ASF_cjs.useTrackedOrNoted; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "withDirectEditing", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunk2NIL2ASF_cjs.withDirectEditing; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "DocxEditor", {
|
|
252
252
|
enumerable: true,
|
package/dist/docx/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { StreamedWordArtifact } from '../chunk-
|
|
2
|
+
export { StreamedWordArtifact } from '../chunk-JB32KYAH.js';
|
|
3
3
|
export { loadDocxFonts } from '../chunk-GYAUJ4KT.js';
|
|
4
|
-
import { NativeDocxEditor } from '../chunk-
|
|
5
|
-
export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-
|
|
4
|
+
import { NativeDocxEditor } from '../chunk-GKDWQLVU.js';
|
|
5
|
+
export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-GKDWQLVU.js';
|
|
6
6
|
import '../chunk-HFZ45FD3.js';
|
|
7
7
|
import '../chunk-EPHGD4YV.js';
|
|
8
8
|
import '../chunk-AF6RDAJF.js';
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
* address of that document's passage (so it works from Word too), with a screen tip saying so.
|
|
12
12
|
*/
|
|
13
13
|
import { type DocPoint } from '../definitions/port';
|
|
14
|
-
import { type
|
|
14
|
+
import { type BrokenReference, type CrossReferenceMode } from '@arbidocs/coedit/commands';
|
|
15
|
+
import type { CrossReferenceTarget } from './numbering';
|
|
15
16
|
import type { ReferencesPort } from './port';
|
|
16
|
-
|
|
17
|
-
export declare const REF_BOOKMARK_PREFIX = "_Ref";
|
|
17
|
+
export { REF_BOOKMARK_PREFIX, brokenCrossReferences, staleCrossReferences, type BrokenReference, type CrossReferenceMode, type StaleReference, } from '@arbidocs/coedit/commands';
|
|
18
18
|
/** A new `_Ref` bookmark name: Word's shape (`_Ref` and nine digits), not yet in the document. */
|
|
19
19
|
export declare function newRefBookmark(taken: ReadonlySet<string>, random?: () => number): string;
|
|
20
20
|
/**
|
|
@@ -29,7 +29,6 @@ export declare const refTooltip: (value: string, mode: CrossReferenceMode) => st
|
|
|
29
29
|
* the screen tip Word shows on hover ("Cross-reference to clause 2.2").
|
|
30
30
|
*/
|
|
31
31
|
export declare function crossReferenceXml(bookmark: string, mode: CrossReferenceMode, value: string): string;
|
|
32
|
-
export type CrossReferenceMode = 'number' | 'text';
|
|
33
32
|
/** The field instruction for a target: its paragraph number, or its text. */
|
|
34
33
|
export declare const refInstruction: (bookmark: string, mode: CrossReferenceMode) => string;
|
|
35
34
|
/** What the reference reads in the text. */
|
|
@@ -77,33 +76,6 @@ export declare function insertDocumentReference(port: ReferencesPort, reference:
|
|
|
77
76
|
url: string;
|
|
78
77
|
appName?: string;
|
|
79
78
|
}, caret: DocPoint): void;
|
|
80
|
-
/** A `REF` field whose cached result no longer says what its target now is. */
|
|
81
|
-
export interface StaleReference {
|
|
82
|
-
paragraphId: string;
|
|
83
|
-
offset: number;
|
|
84
|
-
instruction: string;
|
|
85
|
-
/** The current value, or null when the target is gone (the reference is broken). */
|
|
86
|
-
value: string | null;
|
|
87
|
-
/** The field's cached result (what it last showed). */
|
|
88
|
-
cached: string;
|
|
89
|
-
bookmark: string;
|
|
90
|
-
mode: CrossReferenceMode;
|
|
91
|
-
}
|
|
92
|
-
/** A cross-reference whose target was deleted: its last text, marked in the Broken style. */
|
|
93
|
-
export interface BrokenReference {
|
|
94
|
-
paragraphId: string;
|
|
95
|
-
offset: number;
|
|
96
|
-
text: string;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* The cross-references whose cached result is out of date: a clause renumbered, a heading
|
|
100
|
-
* reworded. The editor paints a field's live value only while its cached result matches what it
|
|
101
|
-
* computes, so a stale cache shows the OLD number after the document is reopened (and Word shows
|
|
102
|
-
* the cached result until its fields are updated).
|
|
103
|
-
*/
|
|
104
|
-
export declare function staleCrossReferences(port: ReferencesPort): StaleReference[];
|
|
105
|
-
/** The broken cross-references marked in the document, in document order. */
|
|
106
|
-
export declare function brokenCrossReferences(port: ReferencesPort): BrokenReference[];
|
|
107
79
|
export interface RefreshResult {
|
|
108
80
|
/** References rewritten with their current number or text. */
|
|
109
81
|
refreshed: number;
|
|
@@ -1,49 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Cross-reference targets
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* The number is what the editor computes for a `REF … \r` field — and it has to be exactly that,
|
|
6
|
-
* because the engine shows a field's live value only while the field's cached result matches what
|
|
7
|
-
* it computes (otherwise it keeps the cached text for good). So this mirrors the engine: the
|
|
8
|
-
* paragraph's own list level, preceded by each higher level whose number its level text does not
|
|
9
|
-
* already show (`%1.%2` already shows level 1; `(%3)` does not show `2.1`), and one trailing
|
|
10
|
-
* period dropped (`2.` reads `2`).
|
|
2
|
+
* Cross-reference targets and the number `REF \\r` shows for each: shared with the collaboration
|
|
3
|
+
* service, see `@arbidocs/coedit/commands`.
|
|
11
4
|
*/
|
|
12
|
-
|
|
13
|
-
/** A paragraph's resolved list numbering (the engine's list item). */
|
|
14
|
-
export interface ListItemInfo {
|
|
15
|
-
numId: string;
|
|
16
|
-
ilvl: number;
|
|
17
|
-
markerText: string;
|
|
18
|
-
numFmt: string;
|
|
19
|
-
}
|
|
20
|
-
/** A list level's definition: its level text (`%1.%2`) and number format. */
|
|
21
|
-
export interface LevelInfo {
|
|
22
|
-
lvlText: string;
|
|
23
|
-
numFmt: string;
|
|
24
|
-
}
|
|
25
|
-
export type LevelOf = (numId: string, ilvl: number) => LevelInfo | null;
|
|
26
|
-
/**
|
|
27
|
-
* The number `REF \r` shows for a paragraph, or null when it is not numbered. `order` is every
|
|
28
|
-
* paragraph id in document order (for the markers of the levels above it).
|
|
29
|
-
*/
|
|
30
|
-
export declare function paragraphNumber(order: readonly string[], items: ReadonlyMap<string, ListItemInfo>, levelOf: LevelOf, paragraphId: string): string | null;
|
|
31
|
-
/** One place a cross-reference can point at. */
|
|
32
|
-
export interface CrossReferenceTarget {
|
|
33
|
-
paragraphId: string;
|
|
34
|
-
/** A numbered paragraph (clause, sub-clause, caption) or an unnumbered heading. */
|
|
35
|
-
kind: 'numbered' | 'heading';
|
|
36
|
-
/** What `REF \r` shows (`8.2`), or null for an unnumbered heading. */
|
|
37
|
-
number: string | null;
|
|
38
|
-
/** The paragraph's list marker as painted (`8.2`, `(a)`), or empty. */
|
|
39
|
-
marker: string;
|
|
40
|
-
/** The paragraph's text (without its marker). */
|
|
41
|
-
text: string;
|
|
42
|
-
heading: boolean;
|
|
43
|
-
/** Its list level (0 for a top-level clause), or 0 for a heading. */
|
|
44
|
-
level: number;
|
|
45
|
-
}
|
|
46
|
-
/** Every numbered paragraph and every heading, in document order. */
|
|
47
|
-
export declare function listTargets(paragraphs: readonly DocParagraph[], items: ReadonlyMap<string, ListItemInfo>, levelOf: LevelOf): CrossReferenceTarget[];
|
|
48
|
-
/** Targets whose number or text contains the query (case-insensitive). */
|
|
49
|
-
export declare function filterTargets(targets: readonly CrossReferenceTarget[], query: string): CrossReferenceTarget[];
|
|
5
|
+
export { filterTargets, listTargets, paragraphNumber, type CrossReferenceTarget, type LevelInfo, type LevelOf, type ListItemInfo, } from '@arbidocs/coedit/commands';
|
package/dist/facts/index.cjs
CHANGED
|
@@ -6,15 +6,15 @@ var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
|
|
|
6
6
|
var chunkOUW6G4O2_cjs = require('../chunk-OUW6G4O2.cjs');
|
|
7
7
|
var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
|
|
8
8
|
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
|
9
|
-
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
10
9
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
11
10
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
11
|
+
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
12
|
+
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
13
|
+
require('../chunk-FX3K6LNZ.cjs');
|
|
12
14
|
var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
|
|
15
|
+
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
13
16
|
require('../chunk-C54XEN5T.cjs');
|
|
14
17
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
15
|
-
var chunkIXALYQT7_cjs = require('../chunk-IXALYQT7.cjs');
|
|
16
|
-
require('../chunk-FX3K6LNZ.cjs');
|
|
17
|
-
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
18
18
|
require('../chunk-DES3K4SD.cjs');
|
|
19
19
|
var lucideReact = require('lucide-react');
|
|
20
20
|
var ui = require('@arbidocs/react/ui');
|
|
@@ -516,7 +516,7 @@ function FactsTable({
|
|
|
516
516
|
]
|
|
517
517
|
);
|
|
518
518
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
519
|
-
|
|
519
|
+
chunkC2CWWEHO_cjs.GridView,
|
|
520
520
|
{
|
|
521
521
|
testId,
|
|
522
522
|
items: facts,
|
package/dist/facts/index.js
CHANGED
|
@@ -5,16 +5,16 @@ import { SearchHit } from '../chunk-A2YAC22G.js';
|
|
|
5
5
|
import { formatSpan, TimelineCalendar, TimelineGantt } from '../chunk-4EZVCGRL.js';
|
|
6
6
|
import { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
|
|
7
7
|
export { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
|
|
8
|
-
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
9
8
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
10
9
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
11
10
|
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';
|
|
11
|
+
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
12
|
+
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
13
|
+
import '../chunk-SLSBJRWW.js';
|
|
12
14
|
import { observeResize } from '../chunk-NPLYHR2E.js';
|
|
15
|
+
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
13
16
|
import '../chunk-76JDDMSP.js';
|
|
14
17
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
15
|
-
import { GridView } from '../chunk-ZPLG7QYF.js';
|
|
16
|
-
import '../chunk-SLSBJRWW.js';
|
|
17
|
-
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
18
18
|
import '../chunk-VUNV25KB.js';
|
|
19
19
|
import { PencilLine, Check, MoreVertical, Pencil, Trash2, CalendarDays, X, Columns3, ChevronDown, RotateCcw, Milestone, CalendarClock, Scale, Lightbulb, ArrowRight, Loader2, Info, Paperclip, Tags, MoreHorizontal, FolderUp, BookMarked, Plus, Search, CheckCircle2, CornerDownLeft, Quote, ChevronLeft, ChevronRight, Table2, CalendarRange, GanttChartSquare } from 'lucide-react';
|
|
20
20
|
import { Popover, PopoverTrigger, PopoverContent, Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, cn, Input, Button, CommandSeparator, Tooltip, TooltipTrigger, TooltipContent } from '@arbidocs/react/ui';
|
package/dist/files/GridView.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ export interface GridViewEmptyState {
|
|
|
30
30
|
message?: string;
|
|
31
31
|
action?: React.ReactNode;
|
|
32
32
|
}
|
|
33
|
+
/** Grid events GridView binds itself; `gridOptions` may not override them. */
|
|
34
|
+
type GridViewOwnedEvent = 'onGridReady' | 'onFirstDataRendered' | 'onModelUpdated' | 'onSelectionChanged' | 'onCellValueChanged' | 'onRowClicked' | 'onStateUpdated' | 'onColumnVisible';
|
|
33
35
|
export interface GridViewProps<T> {
|
|
34
36
|
items: T[];
|
|
35
37
|
columnDefs: ColDef<T>[];
|
|
@@ -38,7 +40,7 @@ export interface GridViewProps<T> {
|
|
|
38
40
|
emptyState?: GridViewEmptyState;
|
|
39
41
|
isLoading?: boolean;
|
|
40
42
|
loadingMessage?: string;
|
|
41
|
-
gridOptions?: Partial<GridOptions<T>>;
|
|
43
|
+
gridOptions?: Partial<Omit<GridOptions<T>, GridViewOwnedEvent>>;
|
|
42
44
|
onGridReady?: (params: {
|
|
43
45
|
api: GridApi<T>;
|
|
44
46
|
}) => void;
|
|
@@ -62,3 +64,4 @@ export interface GridViewProps<T> {
|
|
|
62
64
|
showEmpty?: boolean;
|
|
63
65
|
}
|
|
64
66
|
export declare function GridView<T>({ items, columnDefs, getItemId, selection, emptyState, isLoading, loadingMessage, gridOptions, onGridReady, onCellValueChanged, onRowClick, persistState, gridState, onGridStateChange, initialVisibleColumns, className, height, rowHeight: rowHeightProp, testId, pinnedBottomRowData, pinnedTopRowData, pagination, paginationPageSizeSelector, getRowTestId, getCellTestId, showEmpty, }: GridViewProps<T>): React.JSX.Element;
|
|
67
|
+
export {};
|