@pixerate/editor 0.140.0 → 0.140.2
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/agent/index.cjs +39 -31
- package/dist/agent/index.js +13 -5
- package/dist/bridge/cli.cjs +4 -3
- package/dist/bridge/cli.js +3 -2
- package/dist/bridge/index.cjs +4 -3
- package/dist/bridge/index.js +3 -2
- package/dist/chunk-2BSBFBOA.cjs +46 -0
- package/dist/{chunk-SWZTQWY7.js → chunk-2INPJDNY.js} +1 -1
- package/dist/{chunk-CCKP4XAN.cjs → chunk-34RQAGWI.cjs} +27 -7
- package/dist/{chunk-HXCBQ7A6.cjs → chunk-3AJMR7EG.cjs} +7 -4
- package/dist/{chunk-NKBUVQJW.cjs → chunk-5WOY52O6.cjs} +15 -15
- package/dist/{chunk-5G3KYRER.js → chunk-6GAYGQDC.js} +8 -7
- package/dist/{chunk-HZZXBTLB.js → chunk-6IN474P4.js} +25 -5
- package/dist/{chunk-HDCH35UM.cjs → chunk-AGCD3EHB.cjs} +7 -7
- package/dist/{chunk-6I63VZ45.js → chunk-CXXKJBQZ.js} +5 -1
- package/dist/{chunk-6NXVDJDR.cjs → chunk-G43MNQ4C.cjs} +5 -5
- package/dist/{chunk-ZAOOIJ6I.cjs → chunk-HDK3T2QS.cjs} +4 -1
- package/dist/chunk-HF5QZS7Z.js +46 -0
- package/dist/{chunk-S7I3RI5Z.cjs → chunk-HMGWFXEC.cjs} +27 -24
- package/dist/{chunk-RPW7YL3D.cjs → chunk-L434J57V.cjs} +8 -7
- package/dist/{chunk-UCRL6JEV.cjs → chunk-L5OWG2NA.cjs} +8 -3
- package/dist/{chunk-RWML7TWG.cjs → chunk-PUR6BZFA.cjs} +112 -111
- package/dist/{chunk-WBKLYLZE.js → chunk-RB62U6MS.js} +4 -1
- package/dist/{chunk-KIBEEN5K.js → chunk-UMS6YFA6.js} +1 -1
- package/dist/{chunk-4LGWAJDI.js → chunk-V5OOP74P.js} +5 -2
- package/dist/{chunk-UOJS6PUP.js → chunk-WBJ6BG4R.js} +23 -22
- package/dist/{chunk-WIYAOZZU.js → chunk-WHKNYFM2.js} +7 -2
- package/dist/{chunk-F652BKMS.cjs → chunk-YN6JKAUE.cjs} +6 -2
- package/dist/{chunk-YTGF4TJR.js → chunk-ZLZKGHSZ.js} +5 -2
- package/dist/{chunk-USU2FL3N.js → chunk-ZNHB5RG6.js} +1 -1
- package/dist/compare/index.cjs +4 -3
- package/dist/compare/index.js +3 -2
- package/dist/export/index.cjs +4 -3
- package/dist/export/index.js +3 -2
- package/dist/extensions/index.cjs +11 -8
- package/dist/extensions/index.d.cts +1 -0
- package/dist/extensions/index.d.ts +1 -0
- package/dist/extensions/index.js +10 -7
- package/dist/extensions/safe-merge-attributes.d.cts +10 -0
- package/dist/extensions/safe-merge-attributes.d.ts +10 -0
- package/dist/image-editor/index.cjs +4 -3
- package/dist/image-editor/index.js +2 -1
- package/dist/index.cjs +42 -29
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +22 -9
- package/dist/persistence/index.cjs +3 -2
- package/dist/persistence/index.js +2 -1
- package/dist/serializers/index.cjs +5 -4
- package/dist/serializers/index.js +4 -3
- package/dist/tools/index.cjs +11 -3
- package/dist/tools/index.d.cts +1 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +10 -2
- package/dist/tools/safe-json.d.cts +27 -0
- package/dist/tools/safe-json.d.ts +27 -0
- package/dist/video-editor/index.cjs +2 -2
- package/dist/video-editor/index.js +2 -2
- package/package.json +28 -28
- package/skills/pixerate-video-editor/SKILL.md +1 -1
- /package/dist/{chunk-MCTQXUXR.js → chunk-K73HMKQP.js} +0 -0
- /package/dist/{chunk-R6DFK5OX.cjs → chunk-LACYURUW.cjs} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
stripPrototypeKeys
|
|
3
|
+
} from "./chunk-HF5QZS7Z.js";
|
|
1
4
|
import {
|
|
2
5
|
validateJsonSchema
|
|
3
6
|
} from "./chunk-V2ZCJRDM.js";
|
|
@@ -593,7 +596,7 @@ var ToolRegistry = class {
|
|
|
593
596
|
return errorResult({ code: "unknown_tool", message: unknownToolMessage(name, match.candidates), tool: name });
|
|
594
597
|
}
|
|
595
598
|
name = found.name;
|
|
596
|
-
const input = args ?? {};
|
|
599
|
+
const input = stripPrototypeKeys(args ?? {});
|
|
597
600
|
if (this.options.validateArguments) {
|
|
598
601
|
const details = validateJsonSchema(input, found.tool.inputSchema);
|
|
599
602
|
if (details.length > 0) {
|
|
@@ -7,7 +7,10 @@ import {
|
|
|
7
7
|
createReviewId,
|
|
8
8
|
getTrackedChanges,
|
|
9
9
|
resolveTrackedChanges
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6IN474P4.js";
|
|
11
|
+
import {
|
|
12
|
+
stripPrototypeKeys
|
|
13
|
+
} from "./chunk-HF5QZS7Z.js";
|
|
11
14
|
|
|
12
15
|
// src/compare/diff.ts
|
|
13
16
|
var EQUAL = 0;
|
|
@@ -286,7 +289,7 @@ function toNode(source, schema) {
|
|
|
286
289
|
const node = source;
|
|
287
290
|
return node.type.schema === schema ? node : schema.nodeFromJSON(node.toJSON());
|
|
288
291
|
}
|
|
289
|
-
return schema.nodeFromJSON(source);
|
|
292
|
+
return schema.nodeFromJSON(stripPrototypeKeys(source));
|
|
290
293
|
}
|
|
291
294
|
function newAttributes(ctx) {
|
|
292
295
|
return {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareDocuments
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V5OOP74P.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_STYLES,
|
|
6
6
|
NORMAL_STYLE_ID,
|
|
7
7
|
createStyleRegistry,
|
|
8
8
|
isValidStyleId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CXXKJBQZ.js";
|
|
10
10
|
import {
|
|
11
11
|
CHART_OOXML_NS,
|
|
12
12
|
chartFromOoxml
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
searchDocument,
|
|
35
35
|
sliceContainsTable,
|
|
36
36
|
syncInitialContent
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6GAYGQDC.js";
|
|
38
38
|
import {
|
|
39
39
|
chartDataToTable
|
|
40
40
|
} from "./chunk-RN767PO6.js";
|
|
@@ -46,20 +46,21 @@ import {
|
|
|
46
46
|
rtfToPlainText,
|
|
47
47
|
sanitizeImportedHtml,
|
|
48
48
|
serializeRichClipboardPayload
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZLZKGHSZ.js";
|
|
50
50
|
import {
|
|
51
51
|
escapeHtml,
|
|
52
52
|
htmlToPlainText,
|
|
53
53
|
markdownToTipTapHtml,
|
|
54
54
|
plainTextToSlice
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-2INPJDNY.js";
|
|
56
56
|
import {
|
|
57
57
|
CommentStore,
|
|
58
58
|
TRACK_CHANGES_SKIP_META,
|
|
59
59
|
TrackChanges,
|
|
60
60
|
createReviewId,
|
|
61
|
+
safeMergeAttributes,
|
|
61
62
|
trackChangesPluginKey
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-6IN474P4.js";
|
|
63
64
|
import {
|
|
64
65
|
readZip
|
|
65
66
|
} from "./chunk-CIQIM2IP.js";
|
|
@@ -409,7 +410,7 @@ var TemplateSuggestions = Extension2.create({
|
|
|
409
410
|
});
|
|
410
411
|
|
|
411
412
|
// src/extensions/loading-node.ts
|
|
412
|
-
import { Node as Node2
|
|
413
|
+
import { Node as Node2 } from "@tiptap/core";
|
|
413
414
|
var LoadingNode = Node2.create({
|
|
414
415
|
name: "loadingNode",
|
|
415
416
|
group: "inline",
|
|
@@ -438,7 +439,7 @@ var LoadingNode = Node2.create({
|
|
|
438
439
|
renderHTML({ HTMLAttributes }) {
|
|
439
440
|
return [
|
|
440
441
|
"span",
|
|
441
|
-
|
|
442
|
+
safeMergeAttributes(HTMLAttributes, {
|
|
442
443
|
"data-type": "loading",
|
|
443
444
|
class: "inline-flex items-center px-1.5 py-0.5 text-xs text-muted-foreground animate-pulse"
|
|
444
445
|
}),
|
|
@@ -1870,7 +1871,7 @@ var Image2 = BaseImage.extend({
|
|
|
1870
1871
|
});
|
|
1871
1872
|
|
|
1872
1873
|
// src/extensions/comments.ts
|
|
1873
|
-
import { Mark as Mark3
|
|
1874
|
+
import { Mark as Mark3 } from "@tiptap/core";
|
|
1874
1875
|
import { Plugin as Plugin6, PluginKey as PluginKey3, TextSelection } from "@tiptap/pm/state";
|
|
1875
1876
|
import { Decoration as Decoration3, DecorationSet as DecorationSet3 } from "@tiptap/pm/view";
|
|
1876
1877
|
var commentsPluginKey = new PluginKey3("comments");
|
|
@@ -1966,7 +1967,7 @@ var Comments = Mark3.create({
|
|
|
1966
1967
|
return [{ tag: "span[data-comment-id]" }];
|
|
1967
1968
|
},
|
|
1968
1969
|
renderHTML({ HTMLAttributes }) {
|
|
1969
|
-
return ["span",
|
|
1970
|
+
return ["span", safeMergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
1970
1971
|
},
|
|
1971
1972
|
addCommands() {
|
|
1972
1973
|
const store = () => this.storage.store;
|
|
@@ -4383,7 +4384,7 @@ var Outline = Extension11.create({
|
|
|
4383
4384
|
});
|
|
4384
4385
|
|
|
4385
4386
|
// src/extensions/document-structure/table-of-contents.ts
|
|
4386
|
-
import { Node as Node3
|
|
4387
|
+
import { Node as Node3 } from "@tiptap/core";
|
|
4387
4388
|
import {
|
|
4388
4389
|
Plugin as Plugin11,
|
|
4389
4390
|
PluginKey as PluginKey8,
|
|
@@ -4625,7 +4626,7 @@ var TableOfContents = Node3.create({
|
|
|
4625
4626
|
] : ["p", { class: "toc-empty" }, this.options.emptyText];
|
|
4626
4627
|
return [
|
|
4627
4628
|
"nav",
|
|
4628
|
-
|
|
4629
|
+
safeMergeAttributes(this.options.HTMLAttributes, HTMLAttributes, {
|
|
4629
4630
|
"data-type": "table-of-contents",
|
|
4630
4631
|
"aria-label": node.attrs.title || "Table of contents",
|
|
4631
4632
|
class: "pixerate-toc"
|
|
@@ -4710,7 +4711,7 @@ var TableOfContents = Node3.create({
|
|
|
4710
4711
|
});
|
|
4711
4712
|
|
|
4712
4713
|
// src/extensions/document-structure/footnotes.ts
|
|
4713
|
-
import { Node as Node4
|
|
4714
|
+
import { Node as Node4 } from "@tiptap/core";
|
|
4714
4715
|
import {
|
|
4715
4716
|
NodeSelection,
|
|
4716
4717
|
Plugin as Plugin12,
|
|
@@ -4879,7 +4880,7 @@ var FootnoteReference = Node4.create({
|
|
|
4879
4880
|
const id = node.attrs.id;
|
|
4880
4881
|
return [
|
|
4881
4882
|
"sup",
|
|
4882
|
-
|
|
4883
|
+
safeMergeAttributes(this.options.HTMLAttributes, HTMLAttributes, {
|
|
4883
4884
|
"data-type": "footnote-reference",
|
|
4884
4885
|
class: "pixerate-footnote-ref",
|
|
4885
4886
|
...id ? { id: `fnref-${id}` } : {}
|
|
@@ -5028,7 +5029,7 @@ var Footnotes = Node4.create({
|
|
|
5028
5029
|
renderHTML({ HTMLAttributes }) {
|
|
5029
5030
|
return [
|
|
5030
5031
|
"section",
|
|
5031
|
-
|
|
5032
|
+
safeMergeAttributes(HTMLAttributes, {
|
|
5032
5033
|
"data-type": "footnotes",
|
|
5033
5034
|
class: "pixerate-footnotes",
|
|
5034
5035
|
role: "doc-endnotes"
|
|
@@ -5080,7 +5081,7 @@ var Footnote = Node4.create({
|
|
|
5080
5081
|
renderHTML({ HTMLAttributes }) {
|
|
5081
5082
|
return [
|
|
5082
5083
|
"li",
|
|
5083
|
-
|
|
5084
|
+
safeMergeAttributes(HTMLAttributes, {
|
|
5084
5085
|
"data-type": "footnote",
|
|
5085
5086
|
class: "pixerate-footnote"
|
|
5086
5087
|
}),
|
|
@@ -5103,7 +5104,7 @@ var Footnote = Node4.create({
|
|
|
5103
5104
|
});
|
|
5104
5105
|
|
|
5105
5106
|
// src/extensions/document-structure/bookmarks.ts
|
|
5106
|
-
import { Mark as Mark4
|
|
5107
|
+
import { Mark as Mark4 } from "@tiptap/core";
|
|
5107
5108
|
import { TextSelection as TextSelection5 } from "@tiptap/pm/state";
|
|
5108
5109
|
var BOOKMARK = "bookmark";
|
|
5109
5110
|
function getBookmarks(doc) {
|
|
@@ -5172,7 +5173,7 @@ var Bookmark = Mark4.create({
|
|
|
5172
5173
|
renderHTML({ HTMLAttributes }) {
|
|
5173
5174
|
return [
|
|
5174
5175
|
"span",
|
|
5175
|
-
|
|
5176
|
+
safeMergeAttributes(this.options.HTMLAttributes, HTMLAttributes, {
|
|
5176
5177
|
class: "pixerate-bookmark"
|
|
5177
5178
|
}),
|
|
5178
5179
|
0
|
|
@@ -5243,7 +5244,7 @@ var Bookmark = Mark4.create({
|
|
|
5243
5244
|
});
|
|
5244
5245
|
|
|
5245
5246
|
// src/extensions/document-structure/cross-reference.ts
|
|
5246
|
-
import { Node as Node5
|
|
5247
|
+
import { Node as Node5 } from "@tiptap/core";
|
|
5247
5248
|
import {
|
|
5248
5249
|
Plugin as Plugin13,
|
|
5249
5250
|
PluginKey as PluginKey10,
|
|
@@ -5347,7 +5348,7 @@ var CrossReference = Node5.create({
|
|
|
5347
5348
|
const href = !broken && targetType === "heading" && targetId ? { href: `#${targetId}` } : {};
|
|
5348
5349
|
return [
|
|
5349
5350
|
"a",
|
|
5350
|
-
|
|
5351
|
+
safeMergeAttributes(this.options.HTMLAttributes, HTMLAttributes, href, {
|
|
5351
5352
|
"data-type": "cross-reference",
|
|
5352
5353
|
class: broken ? "pixerate-cross-reference is-broken" : "pixerate-cross-reference"
|
|
5353
5354
|
}),
|
|
@@ -5862,7 +5863,7 @@ function safeClipboard(get) {
|
|
|
5862
5863
|
}
|
|
5863
5864
|
|
|
5864
5865
|
// src/extensions/paragraph-styles/extension.ts
|
|
5865
|
-
import { Extension as Extension13, Mark as Mark5
|
|
5866
|
+
import { Extension as Extension13, Mark as Mark5 } from "@tiptap/core";
|
|
5866
5867
|
import { Plugin as Plugin15, PluginKey as PluginKey12 } from "@tiptap/pm/state";
|
|
5867
5868
|
var STYLE_ID_ATTRIBUTE = "styleId";
|
|
5868
5869
|
var CHARACTER_STYLE_MARK_NAME = "characterStyle";
|
|
@@ -6024,7 +6025,7 @@ var CharacterStyle = Mark5.create({
|
|
|
6024
6025
|
return [{ tag: "span[data-char-style]" }];
|
|
6025
6026
|
},
|
|
6026
6027
|
renderHTML({ HTMLAttributes }) {
|
|
6027
|
-
return ["span",
|
|
6028
|
+
return ["span", safeMergeAttributes(HTMLAttributes), 0];
|
|
6028
6029
|
}
|
|
6029
6030
|
});
|
|
6030
6031
|
var ParagraphStyles = Extension13.create({
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isUnsafeJsonKey,
|
|
3
|
+
stripPrototypeKeys
|
|
4
|
+
} from "./chunk-HF5QZS7Z.js";
|
|
5
|
+
|
|
1
6
|
// src/persistence/migrate.ts
|
|
2
7
|
function hasLoadProblems(report) {
|
|
3
8
|
return report.problems.length > 0 || report.readOnly !== null;
|
|
@@ -23,7 +28,7 @@ function toObject(json) {
|
|
|
23
28
|
return void 0;
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
|
-
return isObject(value) ? deepClone(value) : void 0;
|
|
31
|
+
return isObject(value) ? stripPrototypeKeys(deepClone(value)) : void 0;
|
|
27
32
|
}
|
|
28
33
|
function migrateDocument(json, options) {
|
|
29
34
|
const versionKey = options.versionKey ?? "version";
|
|
@@ -106,7 +111,7 @@ function loadSections(doc, sections, options = {}) {
|
|
|
106
111
|
}
|
|
107
112
|
const unknown = {};
|
|
108
113
|
for (const key of Object.keys(source)) {
|
|
109
|
-
if (!(key in sections) && !ignore.has(key)) unknown[key] = source[key];
|
|
114
|
+
if (!(key in sections) && !ignore.has(key) && !isUnsafeJsonKey(key)) unknown[key] = source[key];
|
|
110
115
|
}
|
|
111
116
|
return { value, problems, unknown };
|
|
112
117
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
|
+
|
|
3
|
+
var _chunk2BSBFBOAcjs = require('./chunk-2BSBFBOA.cjs');
|
|
4
|
+
|
|
5
|
+
// src/extensions/paragraph-styles/registry.ts
|
|
2
6
|
var MAX_CHAIN = 32;
|
|
3
7
|
var STYLE_ID = /^[A-Za-z][A-Za-z0-9_-]{0,63}$/;
|
|
4
8
|
var UNSAFE_CSS = /[;{}<>\\]|\/\*|url\s*\(|expression\s*\(|@import|javascript:/i;
|
|
@@ -154,7 +158,7 @@ function overlay(base, patch) {
|
|
|
154
158
|
if (!patch) return base;
|
|
155
159
|
const out = { ...base };
|
|
156
160
|
Object.entries(patch).forEach(([key, value]) => {
|
|
157
|
-
if (value !== void 0 && value !== null) out[key] = value;
|
|
161
|
+
if (value !== void 0 && value !== null && !_chunk2BSBFBOAcjs.isUnsafeJsonKey.call(void 0, key)) out[key] = value;
|
|
158
162
|
});
|
|
159
163
|
return out;
|
|
160
164
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
escapeHtml,
|
|
3
3
|
sanitizeHtml
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2INPJDNY.js";
|
|
5
|
+
import {
|
|
6
|
+
stripPrototypeKeys
|
|
7
|
+
} from "./chunk-HF5QZS7Z.js";
|
|
5
8
|
|
|
6
9
|
// src/serializers/html.ts
|
|
7
10
|
var DROP_WITH_CONTENT_REGEX = /<(script|style|template|noscript|iframe|object|embed|head|title|svg|math|textarea|select|button)\b[^>]*>[\s\S]*?<\/\1\s*>/gi;
|
|
@@ -263,7 +266,7 @@ function parseRichClipboardPayload(data, schema) {
|
|
|
263
266
|
if (!payload || payload.version !== 1) return null;
|
|
264
267
|
if (payload.schema !== getSchemaSignature(schema)) return null;
|
|
265
268
|
if (!payload.slice) return null;
|
|
266
|
-
return Slice.fromJSON(schema, payload.slice);
|
|
269
|
+
return Slice.fromJSON(schema, stripPrototypeKeys(payload.slice));
|
|
267
270
|
} catch {
|
|
268
271
|
return null;
|
|
269
272
|
}
|
package/dist/compare/index.cjs
CHANGED
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
7
|
+
var _chunkHMGWFXECcjs = require('../chunk-HMGWFXEC.cjs');
|
|
8
|
+
require('../chunk-34RQAGWI.cjs');
|
|
9
|
+
require('../chunk-2BSBFBOA.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
|
-
exports.compareDocuments =
|
|
15
|
+
exports.compareDocuments = _chunkHMGWFXECcjs.compareDocuments; exports.compareHtml = _chunkHMGWFXECcjs.compareHtml; exports.diffChanges = _chunkHMGWFXECcjs.diffChanges; exports.diffSequences = _chunkHMGWFXECcjs.diffSequences;
|
package/dist/compare/index.js
CHANGED
|
@@ -4,8 +4,9 @@ import {
|
|
|
4
4
|
compareHtml,
|
|
5
5
|
diffChanges,
|
|
6
6
|
diffSequences
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-V5OOP74P.js";
|
|
8
|
+
import "../chunk-6IN474P4.js";
|
|
9
|
+
import "../chunk-HF5QZS7Z.js";
|
|
9
10
|
export {
|
|
10
11
|
compareDocuments,
|
|
11
12
|
compareHtml,
|
package/dist/export/index.cjs
CHANGED
|
@@ -12,14 +12,15 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk5WOY52O6cjs = require('../chunk-5WOY52O6.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkJLWLX52Lcjs = require('../chunk-JLWLX52L.cjs');
|
|
20
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-YN6JKAUE.cjs');
|
|
21
21
|
require('../chunk-HLMF3E53.cjs');
|
|
22
22
|
require('../chunk-UR37VCIR.cjs');
|
|
23
|
+
require('../chunk-2BSBFBOA.cjs');
|
|
23
24
|
require('../chunk-ALNIFK5G.cjs');
|
|
24
25
|
|
|
25
26
|
|
|
@@ -37,4 +38,4 @@ require('../chunk-ALNIFK5G.cjs');
|
|
|
37
38
|
|
|
38
39
|
|
|
39
40
|
|
|
40
|
-
exports.DOCX_ANONYMOUS_AUTHOR =
|
|
41
|
+
exports.DOCX_ANONYMOUS_AUTHOR = _chunk5WOY52O6cjs.DOCX_ANONYMOUS_AUTHOR; exports.DOCX_EXPORT_MIME_TYPE = _chunk5WOY52O6cjs.DOCX_EXPORT_MIME_TYPE; exports.DocxExportController = _chunk5WOY52O6cjs.DocxExportController; exports.XmlWriter = _chunk5WOY52O6cjs.XmlWriter; exports.createDocxExportController = _chunk5WOY52O6cjs.createDocxExportController; exports.createDocxParts = _chunk5WOY52O6cjs.createDocxParts; exports.deflateRaw = _chunkJLWLX52Lcjs.deflateRaw; exports.docxFileName = _chunk5WOY52O6cjs.docxFileName; exports.downloadBlob = _chunk5WOY52O6cjs.downloadBlob; exports.escapeXmlAttr = _chunk5WOY52O6cjs.escapeXmlAttr; exports.escapeXmlText = _chunk5WOY52O6cjs.escapeXmlText; exports.exportDocx = _chunk5WOY52O6cjs.exportDocx; exports.exportDocxBlob = _chunk5WOY52O6cjs.exportDocxBlob; exports.stripInvalidXmlChars = _chunk5WOY52O6cjs.stripInvalidXmlChars; exports.writeZip = _chunkJLWLX52Lcjs.writeZip;
|
package/dist/export/index.js
CHANGED
|
@@ -12,14 +12,15 @@ import {
|
|
|
12
12
|
exportDocx,
|
|
13
13
|
exportDocxBlob,
|
|
14
14
|
stripInvalidXmlChars
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-ZNHB5RG6.js";
|
|
16
16
|
import {
|
|
17
17
|
deflateRaw,
|
|
18
18
|
writeZip
|
|
19
19
|
} from "../chunk-AZCODQO5.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-CXXKJBQZ.js";
|
|
21
21
|
import "../chunk-X65C4DWV.js";
|
|
22
22
|
import "../chunk-RN767PO6.js";
|
|
23
|
+
import "../chunk-HF5QZS7Z.js";
|
|
23
24
|
import "../chunk-CIQIM2IP.js";
|
|
24
25
|
export {
|
|
25
26
|
DOCX_ANONYMOUS_AUTHOR,
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
var
|
|
99
|
-
require('../chunk-
|
|
98
|
+
var _chunkPUR6BZFAcjs = require('../chunk-PUR6BZFA.cjs');
|
|
99
|
+
require('../chunk-HMGWFXEC.cjs');
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
|
|
@@ -104,7 +104,7 @@ require('../chunk-S7I3RI5Z.cjs');
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
var
|
|
107
|
+
var _chunkYN6JKAUEcjs = require('../chunk-YN6JKAUE.cjs');
|
|
108
108
|
require('../chunk-HLMF3E53.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
@@ -171,12 +171,12 @@ require('../chunk-HLMF3E53.cjs');
|
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
var
|
|
174
|
+
var _chunkL434J57Vcjs = require('../chunk-L434J57V.cjs');
|
|
175
175
|
require('../chunk-XQ33O5BC.cjs');
|
|
176
176
|
require('../chunk-6HMEHNWW.cjs');
|
|
177
177
|
require('../chunk-UR37VCIR.cjs');
|
|
178
|
-
require('../chunk-
|
|
179
|
-
require('../chunk-
|
|
178
|
+
require('../chunk-3AJMR7EG.cjs');
|
|
179
|
+
require('../chunk-G43MNQ4C.cjs');
|
|
180
180
|
require('../chunk-JG5VGCKP.cjs');
|
|
181
181
|
|
|
182
182
|
|
|
@@ -206,7 +206,9 @@ require('../chunk-JG5VGCKP.cjs');
|
|
|
206
206
|
|
|
207
207
|
|
|
208
208
|
|
|
209
|
-
|
|
209
|
+
|
|
210
|
+
var _chunk34RQAGWIcjs = require('../chunk-34RQAGWI.cjs');
|
|
211
|
+
require('../chunk-2BSBFBOA.cjs');
|
|
210
212
|
require('../chunk-55AKPTLM.cjs');
|
|
211
213
|
require('../chunk-N3KJFGXT.cjs');
|
|
212
214
|
require('../chunk-ALNIFK5G.cjs');
|
|
@@ -406,4 +408,5 @@ require('../chunk-FJ2MSI43.cjs');
|
|
|
406
408
|
|
|
407
409
|
|
|
408
410
|
|
|
409
|
-
exports.ALLOW_NESTED_TABLES_META = _chunkRPW7YL3Dcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkRPW7YL3Dcjs.AgentCaret; exports.Autocorrect = _chunkRWML7TWGcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkCCKP4XANcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkRWML7TWGcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkRWML7TWGcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkRWML7TWGcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkRWML7TWGcjs.CharacterStyle; exports.Chart = _chunkRPW7YL3Dcjs.Chart; exports.ChartNodeView = _chunkRPW7YL3Dcjs.ChartNodeView; exports.ColorHighlighter = _chunkRWML7TWGcjs.ColorHighlighter; exports.CommentStore = _chunkCCKP4XANcjs.CommentStore; exports.Comments = _chunkRWML7TWGcjs.Comments; exports.CrossReference = _chunkRWML7TWGcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkRPW7YL3Dcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkRPW7YL3Dcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkRWML7TWGcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkF652BKMScjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkRPW7YL3Dcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkRPW7YL3Dcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunkCCKP4XANcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkRWML7TWGcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkRWML7TWGcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkRPW7YL3Dcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkRWML7TWGcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkRPW7YL3Dcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunkCCKP4XANcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkRWML7TWGcjs.FileImport; exports.FindReplace = _chunkRWML7TWGcjs.FindReplace; exports.FindReplaceStore = _chunkRWML7TWGcjs.FindReplaceStore; exports.FontSize = _chunkRWML7TWGcjs.FontSize; exports.Footnote = _chunkRWML7TWGcjs.Footnote; exports.FootnoteReference = _chunkRWML7TWGcjs.FootnoteReference; exports.Footnotes = _chunkRWML7TWGcjs.Footnotes; exports.GradientText = _chunkRWML7TWGcjs.GradientText; exports.INSERTION_MARK_NAME = _chunkCCKP4XANcjs.INSERTION_MARK_NAME; exports.Image = _chunkRWML7TWGcjs.Image; exports.LoadingNode = _chunkRWML7TWGcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkRPW7YL3Dcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkRPW7YL3Dcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkRPW7YL3Dcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkRPW7YL3Dcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunkCCKP4XANcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunkCCKP4XANcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunkCCKP4XANcjs.MOVE_TO_CLASS; exports.Markdown = _chunkRWML7TWGcjs.Markdown; exports.Mention = _chunkRWML7TWGcjs.Mention; exports.NORMAL_STYLE_ID = _chunkF652BKMScjs.NORMAL_STYLE_ID; exports.Outline = _chunkRWML7TWGcjs.Outline; exports.ParagraphStyles = _chunkRWML7TWGcjs.ParagraphStyles; exports.RichClipboard = _chunkRWML7TWGcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkRWML7TWGcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkRPW7YL3Dcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkRWML7TWGcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkRWML7TWGcjs.SlashCommands; exports.SmilieReplacer = _chunkRWML7TWGcjs.SmilieReplacer; exports.Sparkline = _chunkRPW7YL3Dcjs.Sparkline; exports.StyleRegistry = _chunkF652BKMScjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkRPW7YL3Dcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunkCCKP4XANcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkRPW7YL3Dcjs.Table; exports.TableCell = _chunkRPW7YL3Dcjs.TableCell; exports.TableHeader = _chunkRPW7YL3Dcjs.TableHeader; exports.TableOfContents = _chunkRWML7TWGcjs.TableOfContents; exports.TableRow = _chunkRPW7YL3Dcjs.TableRow; exports.TemplateSuggestions = _chunkRWML7TWGcjs.TemplateSuggestions; exports.TrackChanges = _chunkCCKP4XANcjs.TrackChanges; exports.TrackChangesStore = _chunkCCKP4XANcjs.TrackChangesStore; exports.TrackedDeletion = _chunkCCKP4XANcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkCCKP4XANcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkCCKP4XANcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkRPW7YL3Dcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkRWML7TWGcjs.applyDocumentComparison; exports.applyReplacements = _chunkRPW7YL3Dcjs.applyReplacements; exports.autocorrectPluginKey = _chunkRWML7TWGcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkRWML7TWGcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkRWML7TWGcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkRWML7TWGcjs.captureSelectionFormat; exports.chartPluginKey = _chunkRPW7YL3Dcjs.chartPluginKey; exports.clearAgentCaret = _chunkRPW7YL3Dcjs.clearAgentCaret; exports.commentsPluginKey = _chunkRWML7TWGcjs.commentsPluginKey; exports.compareInEditor = _chunkRWML7TWGcjs.compareInEditor; exports.compileFindPattern = _chunkRPW7YL3Dcjs.compileFindPattern; exports.computeOutline = _chunkRWML7TWGcjs.computeOutline; exports.createAgentCaretPlugin = _chunkRPW7YL3Dcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkRPW7YL3Dcjs.createChartNodeView; exports.createCommentStore = _chunkCCKP4XANcjs.createCommentStore; exports.createFindReplaceCommands = _chunkRWML7TWGcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkRWML7TWGcjs.createMentionExtension; exports.createOutlineStore = _chunkRWML7TWGcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkRWML7TWGcjs.createParagraphStylesStore; exports.createReviewId = _chunkCCKP4XANcjs.createReviewId; exports.createRichTextPreset = _chunkRWML7TWGcjs.createRichTextPreset; exports.createSearchBudget = _chunkRPW7YL3Dcjs.createSearchBudget; exports.createStyleRegistry = _chunkF652BKMScjs.createStyleRegistry; exports.createTableCommands = _chunkRWML7TWGcjs.createTableCommands; exports.createTableExtensions = _chunkRPW7YL3Dcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkRPW7YL3Dcjs.createTableNestingPlugin; exports.createTableStore = _chunkRPW7YL3Dcjs.createTableStore; exports.crossReferencePluginKey = _chunkRWML7TWGcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkRWML7TWGcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunkCCKP4XANcjs.describeBlockChange; exports.describeFormatChange = _chunkCCKP4XANcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkRWML7TWGcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkRPW7YL3Dcjs.ensureAgentCaret; exports.expandReplacement = _chunkRPW7YL3Dcjs.expandReplacement; exports.fileImportPluginKey = _chunkRWML7TWGcjs.fileImportPluginKey; exports.findAllMatches = _chunkRPW7YL3Dcjs.findAllMatches; exports.findAutocorrection = _chunkRWML7TWGcjs.findAutocorrection; exports.findCommentRanges = _chunkRWML7TWGcjs.findCommentRanges; exports.findHexColors = _chunkRWML7TWGcjs.findHexColors; exports.findReplacePluginKey = _chunkRWML7TWGcjs.findReplacePluginKey; exports.foldCodePoint = _chunkRPW7YL3Dcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkRWML7TWGcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkRWML7TWGcjs.footnotesPluginKey; exports.formatFindStatus = _chunkRWML7TWGcjs.formatFindStatus; exports.formatReviewTime = _chunkCCKP4XANcjs.formatReviewTime; exports.fractionRules = _chunkRWML7TWGcjs.fractionRules; exports.getActiveHeading = _chunkRWML7TWGcjs.getActiveHeading; exports.getAgentCarets = _chunkRPW7YL3Dcjs.getAgentCarets; exports.getBookmarks = _chunkRWML7TWGcjs.getBookmarks; exports.getCommentAnchors = _chunkRWML7TWGcjs.getCommentAnchors; exports.getCommentAuthor = _chunkRWML7TWGcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkRWML7TWGcjs.getCommentIdsAt; exports.getCommentStore = _chunkRWML7TWGcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkRWML7TWGcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkRPW7YL3Dcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkRWML7TWGcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkRWML7TWGcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkRWML7TWGcjs.getFindReplaceStore; exports.getFootnotes = _chunkRWML7TWGcjs.getFootnotes; exports.getMentionNodes = _chunkRWML7TWGcjs.getMentionNodes; exports.getOutline = _chunkRWML7TWGcjs.getOutline; exports.getParagraphStyleAt = _chunkRWML7TWGcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkRWML7TWGcjs.getStyleRegistry; exports.getTableActionState = _chunkRPW7YL3Dcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkRWML7TWGcjs.getTableOfContentsEntries; exports.getTableState = _chunkRPW7YL3Dcjs.getTableState; exports.getTrackChangesStore = _chunkCCKP4XANcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkCCKP4XANcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkCCKP4XANcjs.getTrackedChanges; exports.handleImageInsertion = _chunkRWML7TWGcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkRPW7YL3Dcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkRWML7TWGcjs.imagePastePluginKey; exports.insertImageNode = _chunkRWML7TWGcjs.insertImageNode; exports.insertSliceAfterTable = _chunkRPW7YL3Dcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkRPW7YL3Dcjs.isChartEnabled; exports.isGfmTable = _chunkRPW7YL3Dcjs.isGfmTable; exports.isInTableCell = _chunkRPW7YL3Dcjs.isInTableCell; exports.isInsidePromptToken = _chunkRWML7TWGcjs.isInsidePromptToken; exports.isMoveSized = _chunkCCKP4XANcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkRWML7TWGcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkRPW7YL3Dcjs.isSelectionInTable; exports.isTableEnabled = _chunkRPW7YL3Dcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunkCCKP4XANcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkF652BKMScjs.isValidStyleId; exports.markAgentChanges = _chunkRPW7YL3Dcjs.markAgentChanges; exports.navigateToHeading = _chunkRWML7TWGcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkRPW7YL3Dcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkRPW7YL3Dcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkRPW7YL3Dcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkRPW7YL3Dcjs.outermostTableDepth; exports.outlinePluginKey = _chunkRWML7TWGcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkRWML7TWGcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkRPW7YL3Dcjs.parseReplacement; exports.removeImageNode = _chunkRWML7TWGcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkRPW7YL3Dcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunkCCKP4XANcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkRWML7TWGcjs.richClipboardPluginKey; exports.runTableAction = _chunkRPW7YL3Dcjs.runTableAction; exports.safeCSSValue = _chunkF652BKMScjs.safeCSSValue; exports.searchDocument = _chunkRPW7YL3Dcjs.searchDocument; exports.setAgentCaret = _chunkRPW7YL3Dcjs.setAgentCaret; exports.setMentionRoleAt = _chunkRWML7TWGcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkRPW7YL3Dcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkRPW7YL3Dcjs.sliceContainsTable; exports.smartQuoteRules = _chunkRWML7TWGcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkRWML7TWGcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkRPW7YL3Dcjs.sparklineLabel; exports.staticChartSvg = _chunkRPW7YL3Dcjs.staticChartSvg; exports.symbolRules = _chunkRWML7TWGcjs.symbolRules; exports.syncFootnotes = _chunkRWML7TWGcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkRPW7YL3Dcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkRWML7TWGcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkRWML7TWGcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunkCCKP4XANcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunkCCKP4XANcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkRWML7TWGcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkRPW7YL3Dcjs.typeAgentText; exports.unnestTables = _chunkRPW7YL3Dcjs.unnestTables; exports.updateImageSrc = _chunkRWML7TWGcjs.updateImageSrc; exports.validateFindPattern = _chunkRWML7TWGcjs.validateFindPattern; exports.writeRichClipboard = _chunkRWML7TWGcjs.writeRichClipboard;
|
|
411
|
+
|
|
412
|
+
exports.ALLOW_NESTED_TABLES_META = _chunkL434J57Vcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkL434J57Vcjs.AgentCaret; exports.Autocorrect = _chunkPUR6BZFAcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkPUR6BZFAcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkPUR6BZFAcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkPUR6BZFAcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkPUR6BZFAcjs.CharacterStyle; exports.Chart = _chunkL434J57Vcjs.Chart; exports.ChartNodeView = _chunkL434J57Vcjs.ChartNodeView; exports.ColorHighlighter = _chunkPUR6BZFAcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkPUR6BZFAcjs.Comments; exports.CrossReference = _chunkPUR6BZFAcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkL434J57Vcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkL434J57Vcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkPUR6BZFAcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkL434J57Vcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkL434J57Vcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkPUR6BZFAcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkPUR6BZFAcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkL434J57Vcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkPUR6BZFAcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkL434J57Vcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkPUR6BZFAcjs.FileImport; exports.FindReplace = _chunkPUR6BZFAcjs.FindReplace; exports.FindReplaceStore = _chunkPUR6BZFAcjs.FindReplaceStore; exports.FontSize = _chunkPUR6BZFAcjs.FontSize; exports.Footnote = _chunkPUR6BZFAcjs.Footnote; exports.FootnoteReference = _chunkPUR6BZFAcjs.FootnoteReference; exports.Footnotes = _chunkPUR6BZFAcjs.Footnotes; exports.GradientText = _chunkPUR6BZFAcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkPUR6BZFAcjs.Image; exports.LoadingNode = _chunkPUR6BZFAcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkL434J57Vcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkL434J57Vcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkL434J57Vcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkL434J57Vcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkPUR6BZFAcjs.Markdown; exports.Mention = _chunkPUR6BZFAcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkPUR6BZFAcjs.Outline; exports.ParagraphStyles = _chunkPUR6BZFAcjs.ParagraphStyles; exports.RichClipboard = _chunkPUR6BZFAcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkPUR6BZFAcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkL434J57Vcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkPUR6BZFAcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkPUR6BZFAcjs.SlashCommands; exports.SmilieReplacer = _chunkPUR6BZFAcjs.SmilieReplacer; exports.Sparkline = _chunkL434J57Vcjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkL434J57Vcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkL434J57Vcjs.Table; exports.TableCell = _chunkL434J57Vcjs.TableCell; exports.TableHeader = _chunkL434J57Vcjs.TableHeader; exports.TableOfContents = _chunkPUR6BZFAcjs.TableOfContents; exports.TableRow = _chunkL434J57Vcjs.TableRow; exports.TemplateSuggestions = _chunkPUR6BZFAcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkL434J57Vcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkPUR6BZFAcjs.applyDocumentComparison; exports.applyReplacements = _chunkL434J57Vcjs.applyReplacements; exports.autocorrectPluginKey = _chunkPUR6BZFAcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkPUR6BZFAcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkPUR6BZFAcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkPUR6BZFAcjs.captureSelectionFormat; exports.chartPluginKey = _chunkL434J57Vcjs.chartPluginKey; exports.clearAgentCaret = _chunkL434J57Vcjs.clearAgentCaret; exports.commentsPluginKey = _chunkPUR6BZFAcjs.commentsPluginKey; exports.compareInEditor = _chunkPUR6BZFAcjs.compareInEditor; exports.compileFindPattern = _chunkL434J57Vcjs.compileFindPattern; exports.computeOutline = _chunkPUR6BZFAcjs.computeOutline; exports.createAgentCaretPlugin = _chunkL434J57Vcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkL434J57Vcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkPUR6BZFAcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkPUR6BZFAcjs.createMentionExtension; exports.createOutlineStore = _chunkPUR6BZFAcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkPUR6BZFAcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkPUR6BZFAcjs.createRichTextPreset; exports.createSearchBudget = _chunkL434J57Vcjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkPUR6BZFAcjs.createTableCommands; exports.createTableExtensions = _chunkL434J57Vcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkL434J57Vcjs.createTableNestingPlugin; exports.createTableStore = _chunkL434J57Vcjs.createTableStore; exports.crossReferencePluginKey = _chunkPUR6BZFAcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkPUR6BZFAcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkPUR6BZFAcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkL434J57Vcjs.ensureAgentCaret; exports.expandReplacement = _chunkL434J57Vcjs.expandReplacement; exports.fileImportPluginKey = _chunkPUR6BZFAcjs.fileImportPluginKey; exports.findAllMatches = _chunkL434J57Vcjs.findAllMatches; exports.findAutocorrection = _chunkPUR6BZFAcjs.findAutocorrection; exports.findCommentRanges = _chunkPUR6BZFAcjs.findCommentRanges; exports.findHexColors = _chunkPUR6BZFAcjs.findHexColors; exports.findReplacePluginKey = _chunkPUR6BZFAcjs.findReplacePluginKey; exports.foldCodePoint = _chunkL434J57Vcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkPUR6BZFAcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkPUR6BZFAcjs.footnotesPluginKey; exports.formatFindStatus = _chunkPUR6BZFAcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkPUR6BZFAcjs.fractionRules; exports.getActiveHeading = _chunkPUR6BZFAcjs.getActiveHeading; exports.getAgentCarets = _chunkL434J57Vcjs.getAgentCarets; exports.getBookmarks = _chunkPUR6BZFAcjs.getBookmarks; exports.getCommentAnchors = _chunkPUR6BZFAcjs.getCommentAnchors; exports.getCommentAuthor = _chunkPUR6BZFAcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkPUR6BZFAcjs.getCommentIdsAt; exports.getCommentStore = _chunkPUR6BZFAcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkPUR6BZFAcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkL434J57Vcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkPUR6BZFAcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkPUR6BZFAcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkPUR6BZFAcjs.getFindReplaceStore; exports.getFootnotes = _chunkPUR6BZFAcjs.getFootnotes; exports.getMentionNodes = _chunkPUR6BZFAcjs.getMentionNodes; exports.getOutline = _chunkPUR6BZFAcjs.getOutline; exports.getParagraphStyleAt = _chunkPUR6BZFAcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkPUR6BZFAcjs.getStyleRegistry; exports.getTableActionState = _chunkL434J57Vcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkPUR6BZFAcjs.getTableOfContentsEntries; exports.getTableState = _chunkL434J57Vcjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkPUR6BZFAcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkL434J57Vcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkPUR6BZFAcjs.imagePastePluginKey; exports.insertImageNode = _chunkPUR6BZFAcjs.insertImageNode; exports.insertSliceAfterTable = _chunkL434J57Vcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkL434J57Vcjs.isChartEnabled; exports.isGfmTable = _chunkL434J57Vcjs.isGfmTable; exports.isInTableCell = _chunkL434J57Vcjs.isInTableCell; exports.isInsidePromptToken = _chunkPUR6BZFAcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkPUR6BZFAcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkL434J57Vcjs.isSelectionInTable; exports.isTableEnabled = _chunkL434J57Vcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.markAgentChanges = _chunkL434J57Vcjs.markAgentChanges; exports.navigateToHeading = _chunkPUR6BZFAcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkL434J57Vcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkL434J57Vcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkL434J57Vcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkL434J57Vcjs.outermostTableDepth; exports.outlinePluginKey = _chunkPUR6BZFAcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkPUR6BZFAcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkL434J57Vcjs.parseReplacement; exports.removeImageNode = _chunkPUR6BZFAcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkL434J57Vcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkPUR6BZFAcjs.richClipboardPluginKey; exports.runTableAction = _chunkL434J57Vcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkL434J57Vcjs.searchDocument; exports.setAgentCaret = _chunkL434J57Vcjs.setAgentCaret; exports.setMentionRoleAt = _chunkPUR6BZFAcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkL434J57Vcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkL434J57Vcjs.sliceContainsTable; exports.smartQuoteRules = _chunkPUR6BZFAcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkPUR6BZFAcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkL434J57Vcjs.sparklineLabel; exports.staticChartSvg = _chunkL434J57Vcjs.staticChartSvg; exports.symbolRules = _chunkPUR6BZFAcjs.symbolRules; exports.syncFootnotes = _chunkPUR6BZFAcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkL434J57Vcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkPUR6BZFAcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkPUR6BZFAcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkPUR6BZFAcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkL434J57Vcjs.typeAgentText; exports.unnestTables = _chunkL434J57Vcjs.unnestTables; exports.updateImageSrc = _chunkPUR6BZFAcjs.updateImageSrc; exports.validateFindPattern = _chunkPUR6BZFAcjs.validateFindPattern; exports.writeRichClipboard = _chunkPUR6BZFAcjs.writeRichClipboard;
|
|
@@ -11,6 +11,7 @@ export * from "./markdown.cjs";
|
|
|
11
11
|
export * from "./image.cjs";
|
|
12
12
|
export * from "./comment-store.cjs";
|
|
13
13
|
export * from "./comments.cjs";
|
|
14
|
+
export * from "./safe-merge-attributes.cjs";
|
|
14
15
|
export * from "./track-changes.cjs";
|
|
15
16
|
export * from "./document-compare.cjs";
|
|
16
17
|
export * from "./file-import.cjs";
|
|
@@ -11,6 +11,7 @@ export * from "./markdown.js";
|
|
|
11
11
|
export * from "./image.js";
|
|
12
12
|
export * from "./comment-store.js";
|
|
13
13
|
export * from "./comments.js";
|
|
14
|
+
export * from "./safe-merge-attributes.js";
|
|
14
15
|
export * from "./track-changes.js";
|
|
15
16
|
export * from "./document-compare.js";
|
|
16
17
|
export * from "./file-import.js";
|
package/dist/extensions/index.js
CHANGED
|
@@ -95,8 +95,8 @@ import {
|
|
|
95
95
|
updateImageSrc,
|
|
96
96
|
validateFindPattern,
|
|
97
97
|
writeRichClipboard
|
|
98
|
-
} from "../chunk-
|
|
99
|
-
import "../chunk-
|
|
98
|
+
} from "../chunk-WBJ6BG4R.js";
|
|
99
|
+
import "../chunk-V5OOP74P.js";
|
|
100
100
|
import {
|
|
101
101
|
DEFAULT_STYLES,
|
|
102
102
|
NORMAL_STYLE_ID,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
createStyleRegistry,
|
|
105
105
|
isValidStyleId,
|
|
106
106
|
safeCSSValue
|
|
107
|
-
} from "../chunk-
|
|
107
|
+
} from "../chunk-CXXKJBQZ.js";
|
|
108
108
|
import "../chunk-X65C4DWV.js";
|
|
109
109
|
import {
|
|
110
110
|
ALLOW_NESTED_TABLES_META,
|
|
@@ -171,12 +171,12 @@ import {
|
|
|
171
171
|
tableNestingPluginKey,
|
|
172
172
|
typeAgentText,
|
|
173
173
|
unnestTables
|
|
174
|
-
} from "../chunk-
|
|
174
|
+
} from "../chunk-6GAYGQDC.js";
|
|
175
175
|
import "../chunk-KI2VBONS.js";
|
|
176
176
|
import "../chunk-YM75DN54.js";
|
|
177
177
|
import "../chunk-RN767PO6.js";
|
|
178
|
-
import "../chunk-
|
|
179
|
-
import "../chunk-
|
|
178
|
+
import "../chunk-ZLZKGHSZ.js";
|
|
179
|
+
import "../chunk-2INPJDNY.js";
|
|
180
180
|
import "../chunk-RTRQ7XFI.js";
|
|
181
181
|
import {
|
|
182
182
|
BLOCK_CHANGE_ATTRIBUTE,
|
|
@@ -204,9 +204,11 @@ import {
|
|
|
204
204
|
isMoveSized,
|
|
205
205
|
isTrackChangesEnabled,
|
|
206
206
|
resolveTrackedChanges,
|
|
207
|
+
safeMergeAttributes,
|
|
207
208
|
trackChangesPluginKey,
|
|
208
209
|
trackedChangeLabel
|
|
209
|
-
} from "../chunk-
|
|
210
|
+
} from "../chunk-6IN474P4.js";
|
|
211
|
+
import "../chunk-HF5QZS7Z.js";
|
|
210
212
|
import "../chunk-II2WIF5Z.js";
|
|
211
213
|
import "../chunk-WJSD3MAZ.js";
|
|
212
214
|
import "../chunk-CIQIM2IP.js";
|
|
@@ -384,6 +386,7 @@ export {
|
|
|
384
386
|
richClipboardPluginKey,
|
|
385
387
|
runTableAction,
|
|
386
388
|
safeCSSValue,
|
|
389
|
+
safeMergeAttributes,
|
|
387
390
|
searchDocument,
|
|
388
391
|
setAgentCaret,
|
|
389
392
|
setMentionRoleAt,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mergeAttributes()` from `@tiptap/core` that drops own `__proto__`,
|
|
3
|
+
* `constructor` and `prototype` keys first. Before `@tiptap/core` 2.27.3 /
|
|
4
|
+
* 3.30.4, TipTap's version turned an own `__proto__` key (from JSON) into the
|
|
5
|
+
* merged object's prototype, and ProseMirror's `DOMSerializer` then rendered
|
|
6
|
+
* the inherited keys (`onerror`, `src`, …) as DOM attributes
|
|
7
|
+
* (GHSA-cp6q-959q-f8rh). Use this in `renderHTML` instead of the TipTap one
|
|
8
|
+
* whenever an input can come from options or content you don't control.
|
|
9
|
+
*/
|
|
10
|
+
export declare function safeMergeAttributes(...objects: Array<Record<string, any> | null | undefined>): Record<string, any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mergeAttributes()` from `@tiptap/core` that drops own `__proto__`,
|
|
3
|
+
* `constructor` and `prototype` keys first. Before `@tiptap/core` 2.27.3 /
|
|
4
|
+
* 3.30.4, TipTap's version turned an own `__proto__` key (from JSON) into the
|
|
5
|
+
* merged object's prototype, and ProseMirror's `DOMSerializer` then rendered
|
|
6
|
+
* the inherited keys (`onerror`, `src`, …) as DOM attributes
|
|
7
|
+
* (GHSA-cp6q-959q-f8rh). Use this in `renderHTML` instead of the TipTap one
|
|
8
|
+
* whenever an input can come from options or content you don't control.
|
|
9
|
+
*/
|
|
10
|
+
export declare function safeMergeAttributes(...objects: Array<Record<string, any> | null | undefined>): Record<string, any>;
|
|
@@ -369,7 +369,7 @@ var _chunkV4GUQCDZcjs = require('../chunk-V4GUQCDZ.cjs');
|
|
|
369
369
|
var _chunkA2IS7EHEcjs = require('../chunk-A2IS7EHE.cjs');
|
|
370
370
|
|
|
371
371
|
|
|
372
|
-
var
|
|
372
|
+
var _chunkL5OWG2NAcjs = require('../chunk-L5OWG2NA.cjs');
|
|
373
373
|
|
|
374
374
|
|
|
375
375
|
var _chunkPY4GWSE2cjs = require('../chunk-PY4GWSE2.cjs');
|
|
@@ -583,6 +583,7 @@ var _chunkGNK7SESQcjs = require('../chunk-GNK7SESQ.cjs');
|
|
|
583
583
|
|
|
584
584
|
|
|
585
585
|
var _chunkONZJD2ODcjs = require('../chunk-ONZJD2OD.cjs');
|
|
586
|
+
require('../chunk-2BSBFBOA.cjs');
|
|
586
587
|
|
|
587
588
|
|
|
588
589
|
|
|
@@ -8759,7 +8760,7 @@ function loadImageEditorDocument(input) {
|
|
|
8759
8760
|
if (isV2) parsed = { ...parsed, version: 1 };
|
|
8760
8761
|
const newer = isObject(parsed) && typeof parsed.version === "number" && parsed.version > IMAGE_EDITOR_STATE_VERSION;
|
|
8761
8762
|
let dropped = 0;
|
|
8762
|
-
const result =
|
|
8763
|
+
const result = _chunkL5OWG2NAcjs.loadDocument.call(void 0,
|
|
8763
8764
|
parsed,
|
|
8764
8765
|
{
|
|
8765
8766
|
crop: { parse: parseCrop, defaults: null },
|
|
@@ -8829,7 +8830,7 @@ function cleanLayers(value, dropped) {
|
|
|
8829
8830
|
}
|
|
8830
8831
|
function loadLayeredDocument(doc) {
|
|
8831
8832
|
const dropped = { count: 0 };
|
|
8832
|
-
const result =
|
|
8833
|
+
const result = _chunkL5OWG2NAcjs.loadDocument.call(void 0,
|
|
8833
8834
|
doc,
|
|
8834
8835
|
{
|
|
8835
8836
|
width: { parse: (v) => isNumber(v) && v > 0 ? v : (() => {
|
|
@@ -369,7 +369,7 @@ import {
|
|
|
369
369
|
} from "../chunk-3CI7FRMK.js";
|
|
370
370
|
import {
|
|
371
371
|
loadDocument
|
|
372
|
-
} from "../chunk-
|
|
372
|
+
} from "../chunk-WHKNYFM2.js";
|
|
373
373
|
import {
|
|
374
374
|
EffectRendererPool
|
|
375
375
|
} from "../chunk-EHLOCVWB.js";
|
|
@@ -583,6 +583,7 @@ import {
|
|
|
583
583
|
writeJpegIcc,
|
|
584
584
|
writePngIcc
|
|
585
585
|
} from "../chunk-AJSW5GMP.js";
|
|
586
|
+
import "../chunk-HF5QZS7Z.js";
|
|
586
587
|
import {
|
|
587
588
|
DEFAULT_AUTO_LEADING,
|
|
588
589
|
DEFAULT_TEXT_STYLE,
|