@pixerate/editor 0.18.0 → 0.20.0
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/README.md +91 -2
- package/dist/agent/index.cjs +625 -2
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +286 -2
- package/dist/agent/index.d.ts +286 -2
- package/dist/agent/index.js +624 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/canvas/index.cjs +1240 -22
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +515 -3
- package/dist/canvas/index.d.ts +515 -3
- package/dist/canvas/index.js +1219 -1
- package/dist/canvas/index.js.map +1 -1
- package/dist/chunk-3TYMNULT.js +1367 -0
- package/dist/chunk-3TYMNULT.js.map +1 -0
- package/dist/chunk-4QPLEUL2.cjs +4480 -0
- package/dist/chunk-4QPLEUL2.cjs.map +1 -0
- package/dist/chunk-4SUNJZWB.cjs +553 -0
- package/dist/chunk-4SUNJZWB.cjs.map +1 -0
- package/dist/chunk-A7DKIA72.js +2657 -0
- package/dist/chunk-A7DKIA72.js.map +1 -0
- package/dist/chunk-AXV2ZW34.cjs +118 -0
- package/dist/chunk-AXV2ZW34.cjs.map +1 -0
- package/dist/chunk-B2ZRLN4S.js +118 -0
- package/dist/chunk-B2ZRLN4S.js.map +1 -0
- package/dist/chunk-CYFJCKC4.js +4480 -0
- package/dist/chunk-CYFJCKC4.js.map +1 -0
- package/dist/chunk-GVW4P7BG.js +2706 -0
- package/dist/chunk-GVW4P7BG.js.map +1 -0
- package/dist/chunk-JACER6TE.cjs +1 -0
- package/dist/chunk-JACER6TE.cjs.map +1 -0
- package/dist/chunk-JYRIOFEN.cjs +2657 -0
- package/dist/chunk-JYRIOFEN.cjs.map +1 -0
- package/dist/chunk-KYRZDWM4.js +299 -0
- package/dist/chunk-KYRZDWM4.js.map +1 -0
- package/dist/chunk-LA7PEGU3.cjs +299 -0
- package/dist/chunk-LA7PEGU3.cjs.map +1 -0
- package/dist/chunk-N7FG6CBO.js +1 -0
- package/dist/chunk-N7FG6CBO.js.map +1 -0
- package/dist/chunk-OYXSKQFR.js +553 -0
- package/dist/chunk-OYXSKQFR.js.map +1 -0
- package/dist/chunk-TVRC4KVT.cjs +1367 -0
- package/dist/chunk-TVRC4KVT.cjs.map +1 -0
- package/dist/chunk-U6NDQFOK.cjs +2706 -0
- package/dist/chunk-U6NDQFOK.cjs.map +1 -0
- package/dist/controller-OUdxPY-X.d.cts +754 -0
- package/dist/controller-OUdxPY-X.d.ts +754 -0
- package/dist/extensions/index.cjs +144 -3
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +9 -144
- package/dist/extensions/index.d.ts +9 -144
- package/dist/extensions/index.js +145 -4
- package/dist/grammar/index.cjs +31 -3
- package/dist/grammar/index.cjs.map +1 -1
- package/dist/grammar/index.d.cts +239 -19
- package/dist/grammar/index.d.ts +239 -19
- package/dist/grammar/index.js +31 -3
- package/dist/history/index.d.cts +2 -41
- package/dist/history/index.d.ts +2 -41
- package/dist/image-editor/index.cjs +732 -497
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +105 -9
- package/dist/image-editor/index.d.ts +105 -9
- package/dist/image-editor/index.js +721 -486
- package/dist/image-editor/index.js.map +1 -1
- package/dist/index-Ng1pG7JE.d.ts +899 -0
- package/dist/index-k3mFbPx_.d.cts +899 -0
- package/dist/index.cjs +457 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +99 -12
- package/dist/index.d.ts +99 -12
- package/dist/index.js +457 -20
- package/dist/index.js.map +1 -1
- package/dist/registry-iAHbqkYt.d.cts +128 -0
- package/dist/registry-iAHbqkYt.d.ts +128 -0
- package/dist/serializers/index.cjs +26 -3
- package/dist/serializers/index.cjs.map +1 -1
- package/dist/serializers/index.d.cts +119 -6
- package/dist/serializers/index.d.ts +119 -6
- package/dist/serializers/index.js +24 -1
- package/dist/spreadsheet/index.cjs +122 -2
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.d.cts +371 -313
- package/dist/spreadsheet/index.d.ts +371 -313
- package/dist/spreadsheet/index.js +127 -7
- package/dist/tokens-CyLZmIei.d.cts +76 -0
- package/dist/tokens-CyLZmIei.d.ts +76 -0
- package/dist/track-changes-G8JcWB8b.d.cts +306 -0
- package/dist/track-changes-G8JcWB8b.d.ts +306 -0
- package/dist/types-BZgcDsC5.d.cts +42 -0
- package/dist/types-BZgcDsC5.d.ts +42 -0
- package/dist/{types-JV3S8VeR.d.cts → types-DMe0vFB1.d.cts} +1 -1
- package/dist/{types-JV3S8VeR.d.ts → types-DMe0vFB1.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-7FWEWE6T.js +0 -1888
- package/dist/chunk-7FWEWE6T.js.map +0 -1
- package/dist/chunk-AIZUKWTL.js +0 -1715
- package/dist/chunk-AIZUKWTL.js.map +0 -1
- package/dist/chunk-GLSIZKOX.js +0 -17
- package/dist/chunk-GLSIZKOX.js.map +0 -1
- package/dist/chunk-LDES3EOS.cjs +0 -1888
- package/dist/chunk-LDES3EOS.cjs.map +0 -1
- package/dist/chunk-LLUAKTLW.cjs +0 -532
- package/dist/chunk-LLUAKTLW.cjs.map +0 -1
- package/dist/chunk-MPPXH7U5.cjs +0 -336
- package/dist/chunk-MPPXH7U5.cjs.map +0 -1
- package/dist/chunk-O7LOPQMH.js +0 -336
- package/dist/chunk-O7LOPQMH.js.map +0 -1
- package/dist/chunk-QGVMBCT5.js +0 -532
- package/dist/chunk-QGVMBCT5.js.map +0 -1
- package/dist/chunk-SEDR75VH.cjs +0 -17
- package/dist/chunk-SEDR75VH.cjs.map +0 -1
- package/dist/chunk-YQCI4CCN.cjs +0 -1715
- package/dist/chunk-YQCI4CCN.cjs.map +0 -1
- package/dist/mention-Dcevh3ff.d.cts +0 -32
- package/dist/mention-Dcevh3ff.d.ts +0 -32
- package/dist/tokens-7kRTEtPb.d.cts +0 -39
- package/dist/tokens-7kRTEtPb.d.ts +0 -39
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { Schema, Slice } from '@tiptap/pm/model';
|
|
2
|
-
import {
|
|
2
|
+
import { r as TrackedChangesView, h as MentionEntity } from '../track-changes-G8JcWB8b.js';
|
|
3
3
|
import '@tiptap/core';
|
|
4
4
|
import '@tiptap/extension-mention';
|
|
5
5
|
import '@tiptap/suggestion';
|
|
6
|
+
import '@tiptap/pm/state';
|
|
6
7
|
|
|
8
|
+
interface PlainTextOptions {
|
|
9
|
+
/**
|
|
10
|
+
* How tracked changes (`TrackChanges` extension) appear in the text.
|
|
11
|
+
* Defaults to `"accepted"`: deleted text is dropped and inserted text kept,
|
|
12
|
+
* so suggested deletions never leak into exported text. `"original"` drops
|
|
13
|
+
* insertions and keeps deletions; `"all"` keeps both.
|
|
14
|
+
*/
|
|
15
|
+
trackedChanges?: TrackedChangesView;
|
|
16
|
+
}
|
|
7
17
|
/**
|
|
8
18
|
* Escapes characters that have syntactic meaning in HTML text.
|
|
9
19
|
*/
|
|
@@ -23,12 +33,13 @@ declare function plainTextToSlice(text: string, schema: Schema): Slice;
|
|
|
23
33
|
/**
|
|
24
34
|
* Extracts plain text from an HTML string or TipTap HTML, preserving newlines between block tags.
|
|
25
35
|
*/
|
|
26
|
-
declare function htmlToPlainText(html: string): string;
|
|
36
|
+
declare function htmlToPlainText(html: string, options?: PlainTextOptions): string;
|
|
27
37
|
/**
|
|
28
38
|
* Extracts plain text from a TipTap editor instance, preserving newline separators
|
|
29
|
-
* between block nodes and converting mention nodes to @label.
|
|
39
|
+
* between block nodes and converting mention nodes to @label. Tracked changes
|
|
40
|
+
* are rendered as accepted unless `options.trackedChanges` says otherwise.
|
|
30
41
|
*/
|
|
31
|
-
declare function getEditorText(editor: any): string;
|
|
42
|
+
declare function getEditorText(editor: any, options?: PlainTextOptions): string;
|
|
32
43
|
interface ExtractedMention {
|
|
33
44
|
id: string;
|
|
34
45
|
label: string;
|
|
@@ -101,6 +112,21 @@ declare function parseMentionSegments(content: string): MentionSegment[];
|
|
|
101
112
|
*/
|
|
102
113
|
declare function preprocessMarkdownMentions(content: string, optionsOrMentionables?: MentionEntity[] | PreprocessMarkdownMentionsOptions): string;
|
|
103
114
|
|
|
115
|
+
interface SanitizeHtmlOptions {
|
|
116
|
+
/**
|
|
117
|
+
* What to do with tags outside the allowlist: `escape` (default) renders
|
|
118
|
+
* them as literal text, `strip` removes the tag but keeps its text content.
|
|
119
|
+
*/
|
|
120
|
+
disallowedTags?: "escape" | "strip";
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Sanitizes raw HTML with the same allowlist the markdown renderer applies to
|
|
124
|
+
* embedded HTML: event handlers, `style` and unsafe URL schemes are dropped,
|
|
125
|
+
* and disallowed tags are escaped (or removed with `disallowedTags: "strip"`).
|
|
126
|
+
* It is string-based, so it works without a DOM and never runs handlers.
|
|
127
|
+
*/
|
|
128
|
+
declare function sanitizeHtml(html: string, options?: SanitizeHtmlOptions): string;
|
|
129
|
+
|
|
104
130
|
/**
|
|
105
131
|
* Preprocesses file-protocol and editor-protocol links in markdown content:
|
|
106
132
|
* converts [label](file://...), vscode://, and cursor:// links into anchor tags
|
|
@@ -141,7 +167,94 @@ declare function markdownToTipTapHtml(markdown: string, options?: MarkdownToHtml
|
|
|
141
167
|
* Extracts clean markdown from a TipTap editor instance.
|
|
142
168
|
* If the editor has the Markdown extension configured, it uses editor.storage.markdown.getMarkdown().
|
|
143
169
|
* Otherwise, it falls back to getEditorText(editor).
|
|
170
|
+
* Tracked changes are exported as accepted unless `options.trackedChanges`
|
|
171
|
+
* says otherwise (`"all"` renders deletions as `~~strikethrough~~`).
|
|
172
|
+
*/
|
|
173
|
+
declare function getEditorMarkdown(editor: any, options?: PlainTextOptions): string;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Sanitizes a full HTML document or fragment for insertion into the editor,
|
|
177
|
+
* e.g. an imported `.html` file or HTML from another application.
|
|
178
|
+
*
|
|
179
|
+
* - Keeps only the `<body>` content when the input is a full document.
|
|
180
|
+
* - Removes comments, doctype/XML declarations, CDATA, scripts, styles and
|
|
181
|
+
* other non-text elements together with their content.
|
|
182
|
+
* - Applies the same tag/attribute/URL allowlist as embedded HTML in markdown
|
|
183
|
+
* (see `sanitizeHtml`), but strips disallowed tags instead of escaping them,
|
|
184
|
+
* so wrappers such as `<section>` or `<font>` keep their text.
|
|
185
|
+
*
|
|
186
|
+
* It is string-based (no live DOM), so handlers such as `<img onerror>` never run.
|
|
187
|
+
*/
|
|
188
|
+
declare function sanitizeImportedHtml(html: string): string;
|
|
189
|
+
/**
|
|
190
|
+
* Converts untrusted plain text to TipTap paragraph HTML, always escaping it.
|
|
191
|
+
*
|
|
192
|
+
* Unlike `plainTextToTipTapHtml`, text that already looks like `<p>…</p>` is
|
|
193
|
+
* not passed through as HTML, which matters for imported files.
|
|
194
|
+
*/
|
|
195
|
+
declare function plainTextToParagraphHtml(text: string): string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Best-effort plain-text extraction from an RTF document.
|
|
199
|
+
*
|
|
200
|
+
* Handles paragraphs/line breaks/tabs, escaped braces and backslashes,
|
|
201
|
+
* `\'hh` hex escapes (decoded as Windows-1252), `\uN` Unicode escapes with
|
|
202
|
+
* their `\ucN` fallback characters, common typographic control words, and
|
|
203
|
+
* skips metadata destinations (font/colour tables, `\info`, pictures, field
|
|
204
|
+
* instructions, `\*` destinations). Formatting (bold, lists, tables) is not
|
|
205
|
+
* preserved. Input that does not start with `{\rtf` is returned unchanged.
|
|
206
|
+
*/
|
|
207
|
+
declare function rtfToPlainText(rtf: string): string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Custom clipboard MIME type for content copied from a @pixerate/editor
|
|
211
|
+
* rich-text editor. It carries the ProseMirror slice as JSON so pasting back
|
|
212
|
+
* into a compatible editor is lossless (no HTML round trip).
|
|
213
|
+
*/
|
|
214
|
+
declare const PIXERATE_DOCUMENT_MIME = "application/x.pixerate.document+json";
|
|
215
|
+
/** Payload written under {@link PIXERATE_DOCUMENT_MIME}. */
|
|
216
|
+
interface RichClipboardPayload {
|
|
217
|
+
version: 1;
|
|
218
|
+
/** {@link getSchemaSignature} of the source editor's schema. */
|
|
219
|
+
schema: string;
|
|
220
|
+
/** `Slice.toJSON()` of the copied selection. */
|
|
221
|
+
slice: {
|
|
222
|
+
content?: unknown[];
|
|
223
|
+
openStart?: number;
|
|
224
|
+
openEnd?: number;
|
|
225
|
+
} | null;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Returns a stable signature for a ProseMirror schema: node names, content
|
|
229
|
+
* expressions, groups, attribute names and mark names. Two editors with the
|
|
230
|
+
* same extensions produce the same signature, so a slice copied from one can
|
|
231
|
+
* be deserialized in the other without losing or rejecting nodes.
|
|
232
|
+
*/
|
|
233
|
+
declare function getSchemaSignature(schema: Schema): string;
|
|
234
|
+
/** Serializes a slice into the {@link PIXERATE_DOCUMENT_MIME} payload string. */
|
|
235
|
+
declare function serializeRichClipboardPayload(slice: Slice, schema: Schema): string;
|
|
236
|
+
/**
|
|
237
|
+
* Parses a {@link PIXERATE_DOCUMENT_MIME} payload into a slice for `schema`.
|
|
238
|
+
* Returns `null` (so callers fall back to HTML / plain text) when the payload
|
|
239
|
+
* is malformed, from another payload version, or from an editor whose schema
|
|
240
|
+
* signature differs.
|
|
241
|
+
*/
|
|
242
|
+
declare function parseRichClipboardPayload(data: string | null | undefined, schema: Schema): Slice | null;
|
|
243
|
+
/** Minimal clipboard data surface (`DataTransfer`). */
|
|
244
|
+
interface ClipboardDataLike {
|
|
245
|
+
getData(format: string): string;
|
|
246
|
+
setData(format: string, data: string): void;
|
|
247
|
+
clearData?(format?: string): void;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Returns the `clipboardData` of a native `ClipboardEvent` or of a React
|
|
251
|
+
* synthetic clipboard event (which wraps the native event in `nativeEvent`).
|
|
252
|
+
*/
|
|
253
|
+
declare function getClipboardData(event: unknown): ClipboardDataLike | null;
|
|
254
|
+
/**
|
|
255
|
+
* Reads a slice from a paste event's {@link PIXERATE_DOCUMENT_MIME} data.
|
|
256
|
+
* Returns `null` when the data is missing or its schema does not match.
|
|
144
257
|
*/
|
|
145
|
-
declare function
|
|
258
|
+
declare function readRichClipboard(event: unknown, schema: Schema, mimeType?: string): Slice | null;
|
|
146
259
|
|
|
147
|
-
export { type ExtractedMention, MARKDOWN_MENTION_SPLIT_REGEX, MENTION_REGEX, type MarkdownToHtmlOptions, type MentionSegment, type PreprocessMarkdownMentionsOptions, escapeHtml, extractMentions, extractMentionsFromDoc, getEditorMarkdown, getEditorText, htmlToPlainText, markdownToTipTapHtml, parseMentionSegments, plainTextToSlice, plainTextToTipTapHtml, preprocessMarkdownFileLinks, preprocessMarkdownMentions, stripMarkdownCode };
|
|
260
|
+
export { type ClipboardDataLike, type ExtractedMention, MARKDOWN_MENTION_SPLIT_REGEX, MENTION_REGEX, type MarkdownToHtmlOptions, type MentionSegment, PIXERATE_DOCUMENT_MIME, type PlainTextOptions, type PreprocessMarkdownMentionsOptions, type RichClipboardPayload, type SanitizeHtmlOptions, escapeHtml, extractMentions, extractMentionsFromDoc, getClipboardData, getEditorMarkdown, getEditorText, getSchemaSignature, htmlToPlainText, markdownToTipTapHtml, parseMentionSegments, parseRichClipboardPayload, plainTextToParagraphHtml, plainTextToSlice, plainTextToTipTapHtml, preprocessMarkdownFileLinks, preprocessMarkdownMentions, readRichClipboard, rtfToPlainText, sanitizeHtml, sanitizeImportedHtml, serializeRichClipboardPayload, stripMarkdownCode };
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import "../chunk-N7FG6CBO.js";
|
|
2
|
+
import {
|
|
3
|
+
PIXERATE_DOCUMENT_MIME,
|
|
4
|
+
getClipboardData,
|
|
5
|
+
getSchemaSignature,
|
|
6
|
+
parseRichClipboardPayload,
|
|
7
|
+
plainTextToParagraphHtml,
|
|
8
|
+
readRichClipboard,
|
|
9
|
+
rtfToPlainText,
|
|
10
|
+
sanitizeImportedHtml,
|
|
11
|
+
serializeRichClipboardPayload
|
|
12
|
+
} from "../chunk-KYRZDWM4.js";
|
|
1
13
|
import {
|
|
2
14
|
MARKDOWN_MENTION_SPLIT_REGEX,
|
|
3
15
|
MENTION_REGEX,
|
|
@@ -13,23 +25,34 @@ import {
|
|
|
13
25
|
plainTextToTipTapHtml,
|
|
14
26
|
preprocessMarkdownFileLinks,
|
|
15
27
|
preprocessMarkdownMentions,
|
|
28
|
+
sanitizeHtml,
|
|
16
29
|
stripMarkdownCode
|
|
17
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-3TYMNULT.js";
|
|
18
31
|
export {
|
|
19
32
|
MARKDOWN_MENTION_SPLIT_REGEX,
|
|
20
33
|
MENTION_REGEX,
|
|
34
|
+
PIXERATE_DOCUMENT_MIME,
|
|
21
35
|
escapeHtml,
|
|
22
36
|
extractMentions,
|
|
23
37
|
extractMentionsFromDoc,
|
|
38
|
+
getClipboardData,
|
|
24
39
|
getEditorMarkdown,
|
|
25
40
|
getEditorText,
|
|
41
|
+
getSchemaSignature,
|
|
26
42
|
htmlToPlainText,
|
|
27
43
|
markdownToTipTapHtml,
|
|
28
44
|
parseMentionSegments,
|
|
45
|
+
parseRichClipboardPayload,
|
|
46
|
+
plainTextToParagraphHtml,
|
|
29
47
|
plainTextToSlice,
|
|
30
48
|
plainTextToTipTapHtml,
|
|
31
49
|
preprocessMarkdownFileLinks,
|
|
32
50
|
preprocessMarkdownMentions,
|
|
51
|
+
readRichClipboard,
|
|
52
|
+
rtfToPlainText,
|
|
53
|
+
sanitizeHtml,
|
|
54
|
+
sanitizeImportedHtml,
|
|
55
|
+
serializeRichClipboardPayload,
|
|
33
56
|
stripMarkdownCode
|
|
34
57
|
};
|
|
35
58
|
//# sourceMappingURL=index.js.map
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var _chunkYQCI4CCNcjs = require('../chunk-YQCI4CCN.cjs');
|
|
20
19
|
|
|
21
20
|
|
|
22
21
|
|
|
@@ -35,5 +34,126 @@ var _chunkYQCI4CCNcjs = require('../chunk-YQCI4CCN.cjs');
|
|
|
35
34
|
|
|
36
35
|
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var _chunkU6NDQFOKcjs = require('../chunk-U6NDQFOK.cjs');
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
var _chunkJYRIOFENcjs = require('../chunk-JYRIOFEN.cjs');
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
exports.DEFAULT_COLUMN_WIDTH = _chunkU6NDQFOKcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_ROW_HEIGHT = _chunkU6NDQFOKcjs.DEFAULT_ROW_HEIGHT; exports.DataSourceBinder = _chunkU6NDQFOKcjs.DataSourceBinder; exports.DependencyGraph = _chunkU6NDQFOKcjs.DependencyGraph; exports.FORMULA_ERRORS = _chunkJYRIOFENcjs.FORMULA_ERRORS; exports.FormulaEvaluator = _chunkJYRIOFENcjs.FormulaEvaluator; exports.FormulaParser = _chunkJYRIOFENcjs.FormulaParser; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkU6NDQFOKcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkU6NDQFOKcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_TABLE_ACTIONS = _chunkU6NDQFOKcjs.SPREADSHEET_TABLE_ACTIONS; exports.SpreadsheetController = _chunkU6NDQFOKcjs.SpreadsheetController; exports.WHOLE_COLUMN_END_ROW = _chunkJYRIOFENcjs.WHOLE_COLUMN_END_ROW; exports.aggregateValues = _chunkU6NDQFOKcjs.aggregateValues; exports.applyFormulaSuggestion = _chunkU6NDQFOKcjs.applyFormulaSuggestion; exports.bindSpreadsheetTableActions = _chunkU6NDQFOKcjs.bindSpreadsheetTableActions; exports.buildSpreadsheetView = _chunkU6NDQFOKcjs.buildSpreadsheetView; exports.checkFormulaArgumentCount = _chunkJYRIOFENcjs.checkFormulaArgumentCount; exports.colNameToIndex = _chunkJYRIOFENcjs.colNameToIndex; exports.columnDependencyKey = _chunkU6NDQFOKcjs.columnDependencyKey; exports.compareCellValues = _chunkU6NDQFOKcjs.compareCellValues; exports.computeFillTarget = _chunkU6NDQFOKcjs.computeFillTarget; exports.computeRowGroups = _chunkU6NDQFOKcjs.computeRowGroups; exports.createSpreadsheetClipboardData = _chunkU6NDQFOKcjs.createSpreadsheetClipboardData; exports.csvImportAdapter = _chunkU6NDQFOKcjs.csvImportAdapter; exports.describeFormulaError = _chunkJYRIOFENcjs.describeFormulaError; exports.escapeCsvField = _chunkU6NDQFOKcjs.escapeCsvField; exports.extractCellDependencies = _chunkU6NDQFOKcjs.extractCellDependencies; exports.fillSeries = _chunkU6NDQFOKcjs.fillSeries; exports.formatValueWithCode = _chunkJYRIOFENcjs.formatValueWithCode; exports.getFillDirection = _chunkU6NDQFOKcjs.getFillDirection; exports.getFormulaArgumentSpecIndex = _chunkJYRIOFENcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkU6NDQFOKcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkJYRIOFENcjs.getFormulaFunction; exports.getFormulaHints = _chunkU6NDQFOKcjs.getFormulaHints; exports.getFormulaSignature = _chunkJYRIOFENcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkJYRIOFENcjs.getFormulaSignatureParts; exports.getRowSection = _chunkU6NDQFOKcjs.getRowSection; exports.getSpreadsheetMenuItems = _chunkU6NDQFOKcjs.getSpreadsheetMenuItems; exports.getTableSections = _chunkU6NDQFOKcjs.getTableSections; exports.importFileIntoSpreadsheet = _chunkU6NDQFOKcjs.importFileIntoSpreadsheet; exports.indexToColName = _chunkJYRIOFENcjs.indexToColName; exports.isBlankValue = _chunkU6NDQFOKcjs.isBlankValue; exports.isFormulaError = _chunkJYRIOFENcjs.isFormulaError; exports.isSingleCellRange = _chunkU6NDQFOKcjs.isSingleCellRange; exports.listFormulaFunctions = _chunkJYRIOFENcjs.listFormulaFunctions; exports.mapFormulaReferences = _chunkU6NDQFOKcjs.mapFormulaReferences; exports.matchesFilterRule = _chunkU6NDQFOKcjs.matchesFilterRule; exports.normalizeRange = _chunkU6NDQFOKcjs.normalizeRange; exports.offsetFormulaReferences = _chunkU6NDQFOKcjs.offsetFormulaReferences; exports.parseCellReference = _chunkJYRIOFENcjs.parseCellReference; exports.parseCriteria = _chunkJYRIOFENcjs.parseCriteria; exports.parseCsv = _chunkU6NDQFOKcjs.parseCsv; exports.parseFormula = _chunkJYRIOFENcjs.parseFormula; exports.parseHtmlTable = _chunkU6NDQFOKcjs.parseHtmlTable; exports.parseRange = _chunkJYRIOFENcjs.parseRange; exports.parseTsv = _chunkU6NDQFOKcjs.parseTsv; exports.rangeContains = _chunkU6NDQFOKcjs.rangeContains; exports.rangeContainsRange = _chunkU6NDQFOKcjs.rangeContainsRange; exports.rangesIntersect = _chunkU6NDQFOKcjs.rangesIntersect; exports.readSpreadsheetClipboard = _chunkU6NDQFOKcjs.readSpreadsheetClipboard; exports.rebaseClipboardRows = _chunkU6NDQFOKcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkJYRIOFENcjs.registerFormulaFunction; exports.registerSpreadsheetImportAdapters = _chunkU6NDQFOKcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkU6NDQFOKcjs.remapFormulaReferences; exports.roundFloat = _chunkU6NDQFOKcjs.roundFloat; exports.rowPassesFilters = _chunkU6NDQFOKcjs.rowPassesFilters; exports.searchFormulaFunctions = _chunkJYRIOFENcjs.searchFormulaFunctions; exports.serializeCsv = _chunkU6NDQFOKcjs.serializeCsv; exports.serializeHtmlTable = _chunkU6NDQFOKcjs.serializeHtmlTable; exports.serializeTsv = _chunkU6NDQFOKcjs.serializeTsv; exports.shiftFormulaReferences = _chunkU6NDQFOKcjs.shiftFormulaReferences; exports.toNumber = _chunkU6NDQFOKcjs.toNumber; exports.tokenizeFormula = _chunkJYRIOFENcjs.tokenizeFormula; exports.tsvImportAdapter = _chunkU6NDQFOKcjs.tsvImportAdapter; exports.unregisterFormulaFunction = _chunkJYRIOFENcjs.unregisterFormulaFunction; exports.wildcardToRegExp = _chunkJYRIOFENcjs.wildcardToRegExp;
|
|
39
159
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+9JAAC","file":"/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"}
|