superdoc 0.29.0-RC.2 → 0.29.0-RC.3
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/chunks/{PdfViewer-CH7xPqiQ.es.js → PdfViewer-C_IYJfyl.es.js} +1 -1
- package/dist/chunks/{PdfViewer-Dlcx3g-l.cjs → PdfViewer-CqoZAv9F.cjs} +1 -1
- package/dist/chunks/{editor-EfXZ6xB6-Ckfqr3sG.cjs → editor-yNtG9HG_-Bz4K7qKK.cjs} +5 -4
- package/dist/chunks/{editor-EfXZ6xB6-VJn78MZE.es.js → editor-yNtG9HG_-nXwEYkuL.es.js} +5 -4
- package/dist/chunks/{index-BTT4BNXs.es.js → index-Di5s_im9.es.js} +6 -5
- package/dist/chunks/{index-FikaCO2P.cjs → index-xWvgoDV8.cjs} +20 -19
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BK9AD8UY.js → converter-BOEQz1BU.js} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-QhU8I-YW.js → docx-zipper-C71BJ6Sf.js} +1 -1
- package/dist/super-editor/chunks/{editor-EfXZ6xB6.js → editor-yNtG9HG_.js} +4 -4
- package/dist/super-editor/chunks/{super-input-DWpAmOmi.js → super-input-CRaYvJTE.js} +3 -3
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +4 -4
- package/dist/super-editor/toolbar.es.js +1 -1
- package/dist/super-editor.cjs +26 -26
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +13 -13
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +3 -3
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { H as defineComponent, N as h, V as Transition, $ as process$1, S as watchEffect, e as computed, r as ref, b as onMounted, d as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, f as createCommentVNode, l as createVNode, u as unref } from "./vue-DSlPeKKC.es.js";
|
|
2
|
-
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-
|
|
2
|
+
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-Di5s_im9.es.js";
|
|
3
3
|
function self(vars) {
|
|
4
4
|
const {
|
|
5
5
|
opacityDisabled,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const vue = require("./vue-DKMj1I9B.cjs");
|
|
4
|
-
const superdoc = require("./index-
|
|
4
|
+
const superdoc = require("./index-xWvgoDV8.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -35428,7 +35428,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
35428
35428
|
static getStoredSuperdocVersion(docx) {
|
|
35429
35429
|
return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
35430
35430
|
}
|
|
35431
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-RC.
|
|
35431
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-RC.3") {
|
|
35432
35432
|
return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
|
|
35433
35433
|
}
|
|
35434
35434
|
/**
|
|
@@ -60025,7 +60025,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
60025
60025
|
* @returns {Object | void} Migration results
|
|
60026
60026
|
*/
|
|
60027
60027
|
processCollaborationMigrations() {
|
|
60028
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-RC.
|
|
60028
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-RC.3");
|
|
60029
60029
|
if (!this.options.ydoc) return;
|
|
60030
60030
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
60031
60031
|
let docVersion = metaMap.get("version");
|
|
@@ -79645,13 +79645,14 @@ Object.assign({}, applyStyles$1, {
|
|
|
79645
79645
|
tippy.setDefaultProps({
|
|
79646
79646
|
render: render$2
|
|
79647
79647
|
});
|
|
79648
|
-
|
|
79648
|
+
function _export_sfc(sfc, props) {
|
|
79649
79649
|
const target = sfc.__vccOpts || sfc;
|
|
79650
79650
|
for (const [key2, val] of props) {
|
|
79651
79651
|
target[key2] = val;
|
|
79652
79652
|
}
|
|
79653
79653
|
return target;
|
|
79654
|
-
}
|
|
79654
|
+
}
|
|
79655
|
+
|
|
79655
79656
|
const _hoisted_1$c = ["onClick", "onMouseenter"];
|
|
79656
79657
|
const _hoisted_2$a = { key: 0 };
|
|
79657
79658
|
const _hoisted_3$8 = { key: 0 };
|
|
@@ -35411,7 +35411,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
35411
35411
|
static getStoredSuperdocVersion(docx) {
|
|
35412
35412
|
return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
35413
35413
|
}
|
|
35414
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-RC.
|
|
35414
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-RC.3") {
|
|
35415
35415
|
return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
|
|
35416
35416
|
}
|
|
35417
35417
|
/**
|
|
@@ -60008,7 +60008,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
60008
60008
|
* @returns {Object | void} Migration results
|
|
60009
60009
|
*/
|
|
60010
60010
|
processCollaborationMigrations() {
|
|
60011
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-RC.
|
|
60011
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-RC.3");
|
|
60012
60012
|
if (!this.options.ydoc) return;
|
|
60013
60013
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
60014
60014
|
let docVersion = metaMap.get("version");
|
|
@@ -79628,13 +79628,14 @@ Object.assign({}, applyStyles$1, {
|
|
|
79628
79628
|
tippy.setDefaultProps({
|
|
79629
79629
|
render: render$2
|
|
79630
79630
|
});
|
|
79631
|
-
|
|
79631
|
+
function _export_sfc(sfc, props) {
|
|
79632
79632
|
const target = sfc.__vccOpts || sfc;
|
|
79633
79633
|
for (const [key2, val] of props) {
|
|
79634
79634
|
target[key2] = val;
|
|
79635
79635
|
}
|
|
79636
79636
|
return target;
|
|
79637
|
-
}
|
|
79637
|
+
}
|
|
79638
|
+
|
|
79638
79639
|
const _hoisted_1$c = ["onClick", "onMouseenter"];
|
|
79639
79640
|
const _hoisted_2$a = { key: 0 };
|
|
79640
79641
|
const _hoisted_3$8 = { key: 0 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as index, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./editor-
|
|
1
|
+
import { q as index, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./editor-yNtG9HG_-nXwEYkuL.es.js";
|
|
2
2
|
import { a0 as effectScope, r as ref, L as markRaw, $ as process$1, a1 as toRaw, e as computed, a2 as isRef, a3 as isReactive, O as toRef, C as inject, i as getCurrentInstance, E as watch, u as unref, a4 as hasInjectionContext, G as reactive, n as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, z as shallowRef, U as readonly, b as onMounted, A as onBeforeUnmount, D as onBeforeMount, Y as onActivated, j as onDeactivated, s as createTextVNode, F as Fragment, X as Comment, H as defineComponent, P as provide, w as withDirectives, N as h, Z as Teleport, M as renderSlot, _ as isVNode, S as watchEffect, V as Transition, a8 as TransitionGroup, Q as mergeProps, W as vShow, R as cloneVNode, T as Text, c as createElementBlock, o as openBlock, t as toDisplayString, l as createVNode, q as withCtx, a as createBaseVNode, x as normalizeStyle, f as createCommentVNode, k as createBlock, h as withModifiers, p as normalizeClass, a9 as resolveDirective, m as renderList, B as createApp, I as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-DSlPeKKC.es.js";
|
|
3
3
|
import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
import { E as EventEmitter } from "./eventemitter3-Car_xCfN.es.js";
|
|
@@ -15328,13 +15328,14 @@ const superdocIcons = {
|
|
|
15328
15328
|
rejectChange: xmarkIconSvg,
|
|
15329
15329
|
overflow: ellipsisVerticalSvg
|
|
15330
15330
|
};
|
|
15331
|
-
|
|
15331
|
+
function _export_sfc(sfc, props) {
|
|
15332
15332
|
const target = sfc.__vccOpts || sfc;
|
|
15333
15333
|
for (const [key, val] of props) {
|
|
15334
15334
|
target[key] = val;
|
|
15335
15335
|
}
|
|
15336
15336
|
return target;
|
|
15337
|
-
}
|
|
15337
|
+
}
|
|
15338
|
+
|
|
15338
15339
|
const _hoisted_1$f = { class: "user-container" };
|
|
15339
15340
|
const _hoisted_2$9 = ["src"];
|
|
15340
15341
|
const _hoisted_3$7 = {
|
|
@@ -17156,7 +17157,7 @@ const _sfc_main = {
|
|
|
17156
17157
|
__name: "SuperDoc",
|
|
17157
17158
|
emits: ["selection-update"],
|
|
17158
17159
|
setup(__props, { emit: __emit }) {
|
|
17159
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17160
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-C_IYJfyl.es.js"));
|
|
17160
17161
|
const superdocStore = useSuperdocStore();
|
|
17161
17162
|
const commentsStore = useCommentsStore();
|
|
17162
17163
|
const {
|
|
@@ -17920,7 +17921,7 @@ class SuperDoc extends EventEmitter {
|
|
|
17920
17921
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17921
17922
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17922
17923
|
this.colorIndex = 0;
|
|
17923
|
-
this.version = "0.29.0-RC.
|
|
17924
|
+
this.version = "0.29.0-RC.3";
|
|
17924
17925
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17925
17926
|
this.superdocId = config.superdocId || v4();
|
|
17926
17927
|
this.colors = this.config.colors;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const editorYNtG9HG_ = require("./editor-yNtG9HG_-Bz4K7qKK.cjs");
|
|
3
3
|
const vue = require("./vue-DKMj1I9B.cjs");
|
|
4
4
|
const blankDocx = require("./blank-docx-DfW3Eeh2.cjs");
|
|
5
5
|
const eventemitter3 = require("./eventemitter3-DkXkH2rT.cjs");
|
|
@@ -4187,7 +4187,7 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4187
4187
|
}, 0);
|
|
4188
4188
|
};
|
|
4189
4189
|
const createCommentForTrackChanges = (editor) => {
|
|
4190
|
-
let trackedChanges =
|
|
4190
|
+
let trackedChanges = editorYNtG9HG_.index.getTrackChanges(editor.state);
|
|
4191
4191
|
const groupedChanges = groupChanges(trackedChanges);
|
|
4192
4192
|
const { tr } = editor.view.state;
|
|
4193
4193
|
const { dispatch } = editor.view;
|
|
@@ -4199,7 +4199,7 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4199
4199
|
const isLastIteration = trackedChanges.length === index + 1;
|
|
4200
4200
|
if (foundComment) {
|
|
4201
4201
|
if (isLastIteration) {
|
|
4202
|
-
tr.setMeta(
|
|
4202
|
+
tr.setMeta(editorYNtG9HG_.CommentsPluginKey, { type: "force" });
|
|
4203
4203
|
}
|
|
4204
4204
|
return;
|
|
4205
4205
|
}
|
|
@@ -4209,9 +4209,9 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4209
4209
|
...deletionMark && { deletionMark: deletionMark.mark },
|
|
4210
4210
|
...formatMark && { formatMark: formatMark.mark }
|
|
4211
4211
|
};
|
|
4212
|
-
if (isLastIteration) tr.setMeta(
|
|
4213
|
-
tr.setMeta(
|
|
4214
|
-
tr.setMeta(
|
|
4212
|
+
if (isLastIteration) tr.setMeta(editorYNtG9HG_.CommentsPluginKey, { type: "force" });
|
|
4213
|
+
tr.setMeta(editorYNtG9HG_.CommentsPluginKey, { type: "forceTrackChanges" });
|
|
4214
|
+
tr.setMeta(editorYNtG9HG_.TrackChangesBasePluginKey, trackChangesPayload);
|
|
4215
4215
|
}
|
|
4216
4216
|
dispatch(tr);
|
|
4217
4217
|
});
|
|
@@ -4232,11 +4232,11 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4232
4232
|
const convertHtmlToSchema = (commentHTML) => {
|
|
4233
4233
|
const div = document.createElement("div");
|
|
4234
4234
|
div.innerHTML = commentHTML;
|
|
4235
|
-
const editor = new
|
|
4235
|
+
const editor = new editorYNtG9HG_.Editor({
|
|
4236
4236
|
mode: "text",
|
|
4237
4237
|
isHeadless: true,
|
|
4238
4238
|
content: div,
|
|
4239
|
-
extensions:
|
|
4239
|
+
extensions: editorYNtG9HG_.getRichTextExtensions()
|
|
4240
4240
|
});
|
|
4241
4241
|
return editor.getJSON().content[0];
|
|
4242
4242
|
};
|
|
@@ -4285,12 +4285,12 @@ const useCommentsStore = /* @__PURE__ */ defineStore("comments", () => {
|
|
|
4285
4285
|
const normalizedContent = normalizeCommentForEditor(commentTextJson);
|
|
4286
4286
|
const schemaContent = Array.isArray(normalizedContent) ? normalizedContent[0] : normalizedContent;
|
|
4287
4287
|
if (!schemaContent.content.length) return null;
|
|
4288
|
-
const editor = new
|
|
4288
|
+
const editor = new editorYNtG9HG_.Editor({
|
|
4289
4289
|
mode: "text",
|
|
4290
4290
|
isHeadless: true,
|
|
4291
4291
|
content: schemaContent,
|
|
4292
4292
|
loadFromSchema: true,
|
|
4293
|
-
extensions:
|
|
4293
|
+
extensions: editorYNtG9HG_.getRichTextExtensions()
|
|
4294
4294
|
});
|
|
4295
4295
|
return editor.getHTML();
|
|
4296
4296
|
} catch (error) {
|
|
@@ -15345,13 +15345,14 @@ const superdocIcons = {
|
|
|
15345
15345
|
rejectChange: xmarkIconSvg,
|
|
15346
15346
|
overflow: ellipsisVerticalSvg
|
|
15347
15347
|
};
|
|
15348
|
-
|
|
15348
|
+
function _export_sfc(sfc, props) {
|
|
15349
15349
|
const target = sfc.__vccOpts || sfc;
|
|
15350
15350
|
for (const [key, val] of props) {
|
|
15351
15351
|
target[key] = val;
|
|
15352
15352
|
}
|
|
15353
15353
|
return target;
|
|
15354
|
-
}
|
|
15354
|
+
}
|
|
15355
|
+
|
|
15355
15356
|
const _hoisted_1$f = { class: "user-container" };
|
|
15356
15357
|
const _hoisted_2$9 = ["src"];
|
|
15357
15358
|
const _hoisted_3$7 = {
|
|
@@ -15801,7 +15802,7 @@ const _sfc_main$d = {
|
|
|
15801
15802
|
vue.createBaseVNode("div", {
|
|
15802
15803
|
class: vue.normalizeClass(["comment-entry", { "sd-input-active": __props.isFocused }])
|
|
15803
15804
|
}, [
|
|
15804
|
-
vue.createVNode(vue.unref(
|
|
15805
|
+
vue.createVNode(vue.unref(editorYNtG9HG_.SuperInput), {
|
|
15805
15806
|
class: "superdoc-field",
|
|
15806
15807
|
placeholder: "Add a comment",
|
|
15807
15808
|
modelValue: vue.unref(currentCommentText),
|
|
@@ -17173,7 +17174,7 @@ const _sfc_main = {
|
|
|
17173
17174
|
__name: "SuperDoc",
|
|
17174
17175
|
emits: ["selection-update"],
|
|
17175
17176
|
setup(__props, { emit: __emit }) {
|
|
17176
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17177
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-CqoZAv9F.cjs")));
|
|
17177
17178
|
const superdocStore = useSuperdocStore();
|
|
17178
17179
|
const commentsStore = useCommentsStore();
|
|
17179
17180
|
const {
|
|
@@ -17710,7 +17711,7 @@ const _sfc_main = {
|
|
|
17710
17711
|
}, null, 8, ["document-data", "config", "onPageLoaded"])) : vue.createCommentVNode("", true),
|
|
17711
17712
|
vue.createVNode(vue.unref(NMessageProvider), null, {
|
|
17712
17713
|
default: vue.withCtx(() => [
|
|
17713
|
-
doc.type === vue.unref(DOCX) ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
17714
|
+
doc.type === vue.unref(DOCX) ? (vue.openBlock(), vue.createBlock(vue.unref(editorYNtG9HG_.SuperEditor), {
|
|
17714
17715
|
key: 0,
|
|
17715
17716
|
"file-source": doc.data,
|
|
17716
17717
|
state: doc.state,
|
|
@@ -17755,7 +17756,7 @@ const _sfc_main = {
|
|
|
17755
17756
|
class: "ai-writer-container",
|
|
17756
17757
|
style: vue.normalizeStyle(vue.unref(aiWriterPosition))
|
|
17757
17758
|
}, [
|
|
17758
|
-
vue.createVNode(vue.unref(
|
|
17759
|
+
vue.createVNode(vue.unref(editorYNtG9HG_.AIWriter), {
|
|
17759
17760
|
"selected-text": vue.unref(selectedText),
|
|
17760
17761
|
"handle-close": vue.unref(handleAiWriterClose),
|
|
17761
17762
|
editor: vue.unref(proxy).$superdoc.activeEditor,
|
|
@@ -17937,7 +17938,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
17937
17938
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17938
17939
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17939
17940
|
this.colorIndex = 0;
|
|
17940
|
-
this.version = "0.29.0-RC.
|
|
17941
|
+
this.version = "0.29.0-RC.3";
|
|
17941
17942
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17942
17943
|
this.superdocId = config.superdocId || uuid.v4();
|
|
17943
17944
|
this.colors = this.config.colors;
|
|
@@ -18299,7 +18300,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
18299
18300
|
aiEndpoint: this.config.modules?.ai?.endpoint,
|
|
18300
18301
|
...moduleConfig
|
|
18301
18302
|
};
|
|
18302
|
-
this.toolbar = new
|
|
18303
|
+
this.toolbar = new editorYNtG9HG_.SuperToolbar(config);
|
|
18303
18304
|
this.toolbar.on("superdoc-command", this.onToolbarCommand.bind(this));
|
|
18304
18305
|
this.toolbar.on("exception", this.config.onException);
|
|
18305
18306
|
this.once("editorCreate", () => this.toolbar.updateToolbarState());
|
|
@@ -18486,7 +18487,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
18486
18487
|
}
|
|
18487
18488
|
return blobsToZip[0];
|
|
18488
18489
|
}
|
|
18489
|
-
const zip = await
|
|
18490
|
+
const zip = await editorYNtG9HG_.createZip(blobsToZip, filenames);
|
|
18490
18491
|
if (triggerDownload) {
|
|
18491
18492
|
return createDownload(zip, baseFileName, "zip");
|
|
18492
18493
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, onMounted, onUnmounted, computed, createElementBlock, openBlock, withModifiers, createElementVNode, withDirectives, unref, vModelText, createCommentVNode, nextTick } from "vue";
|
|
2
|
-
import { T as TextSelection } from "./chunks/converter-
|
|
3
|
-
import { _ as _export_sfc } from "./chunks/editor-
|
|
2
|
+
import { T as TextSelection } from "./chunks/converter-BOEQz1BU.js";
|
|
3
|
+
import { _ as _export_sfc } from "./chunks/editor-yNtG9HG_.js";
|
|
4
4
|
const DEFAULT_API_ENDPOINT = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights";
|
|
5
5
|
const SYSTEM_PROMPT = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
|
|
6
6
|
async function baseInsightsFetch(payload, options = {}) {
|
|
@@ -35418,7 +35418,7 @@ const _SuperConverter = class _SuperConverter {
|
|
|
35418
35418
|
static getStoredSuperdocVersion(docx) {
|
|
35419
35419
|
return _SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
35420
35420
|
}
|
|
35421
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "0.29.0-RC.
|
|
35421
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "0.29.0-RC.3") {
|
|
35422
35422
|
return _SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
35423
35423
|
}
|
|
35424
35424
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as process$1, b_ as commonjsGlobal, B as Buffer, ay as getDefaultExportFromCjs, b$ as getContentTypesFromXml, c0 as xmljs } from "./converter-
|
|
1
|
+
import { p as process$1, b_ as commonjsGlobal, B as Buffer, ay as getDefaultExportFromCjs, b$ as getContentTypesFromXml, c0 as xmljs } from "./converter-BOEQz1BU.js";
|
|
2
2
|
function commonjsRequire(path) {
|
|
3
3
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4
4
|
}
|
|
@@ -12,12 +12,12 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
12
12
|
var _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _events, _a, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _ready, _resolveReady, _hasExternalElement, _destroyed, _onMeasurementEditorCreate, _MeasurementEngine_instances, getMeasurementElement_fn, _onTransaction, syncMeasurementEditorState_fn, initDocumentSizes_fn, markReady_fn, removeEventListeners_fn, destroyMeasurementEditor_fn, cleanupDOMElement_fn, clearReferences_fn, initHeaderFooterMeasurements_fn, resolveHeaderFooterForPage_fn, _editor, _stateValidators, _xmlValidators, _requiredNodeTypes, _requiredMarkTypes, _SuperValidator_instances, initializeValidators_fn, collectValidatorRequirements_fn, analyzeDocument_fn, _commandService, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, registerCopyHandler_fn, insertNewFileData_fn, registerPluginByNameIfNotExists_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, checkFonts_fn, determineUnsupportedFonts_fn, createSchema_fn, generatePmData_fn, createView_fn, onCollaborationReady_fn, initComments_fn, dispatchTransaction_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, validateDocumentInit_fn, validateDocumentExport_fn, initDevTools_fn, _DocumentSectionView_instances, init_fn2, addToolTip_fn, _ListItemNodeView_instances, init_fn3, applyIndentStyling_fn, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_fn, _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
|
|
13
13
|
import * as Y from "yjs";
|
|
14
14
|
import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
|
|
15
|
-
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection$1, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer$2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as EditorState, Y as comments_module_events, Z as findMark, _ as objectIncludes, $ as AddMarkStep, a0 as RemoveMarkStep, a1 as twipsToLines, a2 as pixelsToTwips, a3 as helpers, a4 as posToDOMRect, a5 as CommandService, a6 as SuperConverter, a7 as createDocument, a8 as createDocFromMarkdown, a9 as createDocFromHTML, aa as isActive, ab as unflattenListsInHtml, ac as parseSizeUnit, ad as minMax, ae as getLineHeightValueString, af as updateDOMAttributes, ag as findChildren$5, ah as htmlHandler, ai as generateRandomSigned32BitIntStrId, aj as InputRule, ak as kebabCase$1, al as findParentNodeClosestToPos, am as getListItemStyleDefinitions, an as docxNumberingHelpers, ao as parseIndentElement, ap as combineIndents, aq as twipsToPixels, ar as PIXELS_PER_INCH$2, as as SelectionRange, at as Transform, au as isInTable$1, av as generateDocxRandomId, aw as insertNewRelationship, ax as inchesToPixels$2, ay as getDefaultExportFromCjs, az as vClickOutside, aA as getActiveFormatting, aB as readFromClipboard, aC as handleClipboardPaste, aD as getFileObject, aE as runPropertyTranslators, aF as translator, aG as translator$1, aH as translator$2, aI as translator$3, aJ as translator$4, aK as translator$5, aL as translator$6, aM as translator$7, aN as translator$8, aO as translator$9, aP as translator$a, aQ as translator$b, aR as translator$c, aS as translator$d, aT as translator$e, aU as commentRangeEndTranslator, aV as commentRangeStartTranslator, aW as translator$f, aX as translator$g, aY as translator$h, aZ as translator$i, a_ as translator$j, a$ as translator$k, b0 as translator$l, b1 as translator$m, b2 as translator$n, b3 as translator$o, b4 as translator$p, b5 as translator$q, b6 as translator$r, b7 as translator$s, b8 as translator$t, b9 as translator$u, ba as translator$v, bb as translator$w, bc as translator$x, bd as translator$y, be as translator$z, bf as translator$A, bg as translator$B, bh as translator$C, bi as translator$D, bj as translator$E, bk as translator$F, bl as translator$G, bm as translator$H, bn as translator$I, bo as translator$J, bp as translator$K, bq as translator$L, br as translator$M, bs as translator$N, bt as translator$O, bu as translator$P, bv as translator$Q, bw as translator$R, bx as translator$S, by as translator$T, bz as translator$U, bA as translator$V, bB as translator$W, bC as translator$X, bD as translator$Y, bE as translator$Z, bF as translator$_, bG as translator$$, bH as translator$10, bI as translator$11, bJ as translator$12, bK as translator$13, bL as translator$14, bM as translator$15, bN as translator$16, bO as translator$17, bP as translator$18, bQ as translator$19, bR as translator$1a, bS as translator$1b, bT as translator$1c, bU as translator$1d, bV as translator$1e, bW as translator$1f, bX as translator$1g, bY as translator$1h } from "./converter-
|
|
15
|
+
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection$1, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer$2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as EditorState, Y as comments_module_events, Z as findMark, _ as objectIncludes, $ as AddMarkStep, a0 as RemoveMarkStep, a1 as twipsToLines, a2 as pixelsToTwips, a3 as helpers, a4 as posToDOMRect, a5 as CommandService, a6 as SuperConverter, a7 as createDocument, a8 as createDocFromMarkdown, a9 as createDocFromHTML, aa as isActive, ab as unflattenListsInHtml, ac as parseSizeUnit, ad as minMax, ae as getLineHeightValueString, af as updateDOMAttributes, ag as findChildren$5, ah as htmlHandler, ai as generateRandomSigned32BitIntStrId, aj as InputRule, ak as kebabCase$1, al as findParentNodeClosestToPos, am as getListItemStyleDefinitions, an as docxNumberingHelpers, ao as parseIndentElement, ap as combineIndents, aq as twipsToPixels, ar as PIXELS_PER_INCH$2, as as SelectionRange, at as Transform, au as isInTable$1, av as generateDocxRandomId, aw as insertNewRelationship, ax as inchesToPixels$2, ay as getDefaultExportFromCjs, az as vClickOutside, aA as getActiveFormatting, aB as readFromClipboard, aC as handleClipboardPaste, aD as getFileObject, aE as runPropertyTranslators, aF as translator, aG as translator$1, aH as translator$2, aI as translator$3, aJ as translator$4, aK as translator$5, aL as translator$6, aM as translator$7, aN as translator$8, aO as translator$9, aP as translator$a, aQ as translator$b, aR as translator$c, aS as translator$d, aT as translator$e, aU as commentRangeEndTranslator, aV as commentRangeStartTranslator, aW as translator$f, aX as translator$g, aY as translator$h, aZ as translator$i, a_ as translator$j, a$ as translator$k, b0 as translator$l, b1 as translator$m, b2 as translator$n, b3 as translator$o, b4 as translator$p, b5 as translator$q, b6 as translator$r, b7 as translator$s, b8 as translator$t, b9 as translator$u, ba as translator$v, bb as translator$w, bc as translator$x, bd as translator$y, be as translator$z, bf as translator$A, bg as translator$B, bh as translator$C, bi as translator$D, bj as translator$E, bk as translator$F, bl as translator$G, bm as translator$H, bn as translator$I, bo as translator$J, bp as translator$K, bq as translator$L, br as translator$M, bs as translator$N, bt as translator$O, bu as translator$P, bv as translator$Q, bw as translator$R, bx as translator$S, by as translator$T, bz as translator$U, bA as translator$V, bB as translator$W, bC as translator$X, bD as translator$Y, bE as translator$Z, bF as translator$_, bG as translator$$, bH as translator$10, bI as translator$11, bJ as translator$12, bK as translator$13, bL as translator$14, bM as translator$15, bN as translator$16, bO as translator$17, bP as translator$18, bQ as translator$19, bR as translator$1a, bS as translator$1b, bT as translator$1c, bU as translator$1d, bV as translator$1e, bW as translator$1f, bX as translator$1g, bY as translator$1h } from "./converter-BOEQz1BU.js";
|
|
16
16
|
import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp, onMounted, unref, normalizeStyle, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, readonly, getCurrentInstance, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, Comment, defineComponent, provide, Teleport, toRef, nextTick, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text as Text$2, markRaw, onUnmounted, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
17
|
-
import { D as DocxZipper } from "./docx-zipper-
|
|
17
|
+
import { D as DocxZipper } from "./docx-zipper-C71BJ6Sf.js";
|
|
18
18
|
import AIWriter from "../ai-writer.es.js";
|
|
19
19
|
import Toolbar from "../toolbar.es.js";
|
|
20
|
-
import "./super-input-
|
|
20
|
+
import "./super-input-CRaYvJTE.js";
|
|
21
21
|
import "../file-zipper.es.js";
|
|
22
22
|
var GOOD_LEAF_SIZE = 200;
|
|
23
23
|
var RopeSequence = function RopeSequence2() {
|
|
@@ -20256,7 +20256,7 @@ const _Editor = class _Editor extends EventEmitter$1 {
|
|
|
20256
20256
|
* @returns {Object | void} Migration results
|
|
20257
20257
|
*/
|
|
20258
20258
|
processCollaborationMigrations() {
|
|
20259
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-RC.
|
|
20259
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-RC.3");
|
|
20260
20260
|
if (!this.options.ydoc) return;
|
|
20261
20261
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
20262
20262
|
let docVersion = metaMap.get("version");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { shallowRef, ref, onMounted, onBeforeUnmount, createElementBlock, openBlock, withModifiers, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { _ as _export_sfc, P as Placeholder, E as Editor, g as getRichTextExtensions } from "./editor-
|
|
3
|
-
import "./converter-
|
|
2
|
+
import { _ as _export_sfc, P as Placeholder, E as Editor, g as getRichTextExtensions } from "./editor-yNtG9HG_.js";
|
|
3
|
+
import "./converter-BOEQz1BU.js";
|
|
4
4
|
import "../ai-writer.es.js";
|
|
5
5
|
import "../toolbar.es.js";
|
|
6
|
-
import "./docx-zipper-
|
|
6
|
+
import "./docx-zipper-C71BJ6Sf.js";
|
|
7
7
|
const _hoisted_1 = ["innerHTML"];
|
|
8
8
|
const _sfc_main = {
|
|
9
9
|
__name: "SuperInput",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E } from "./chunks/editor-yNtG9HG_.js";
|
|
2
|
+
import "./chunks/converter-BOEQz1BU.js";
|
|
3
|
+
import "./chunks/docx-zipper-C71BJ6Sf.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A, C, E, k, f, d, c, S, T, i, j, g, h, r, e } from "./chunks/editor-
|
|
2
|
-
import { bZ, a6, aA, i as i2, a3 } from "./chunks/converter-
|
|
3
|
-
import { D } from "./chunks/docx-zipper-
|
|
1
|
+
import { A, C, E, k, f, d, c, S, T, i, j, g, h, r, e } from "./chunks/editor-yNtG9HG_.js";
|
|
2
|
+
import { bZ, a6, aA, i as i2, a3 } from "./chunks/converter-BOEQz1BU.js";
|
|
3
|
+
import { D } from "./chunks/docx-zipper-C71BJ6Sf.js";
|
|
4
4
|
import { createZip } from "./file-zipper.es.js";
|
|
5
5
|
import { default as default2 } from "./toolbar.es.js";
|
|
6
|
-
import { S as S2 } from "./chunks/super-input-
|
|
6
|
+
import { S as S2 } from "./chunks/super-input-CRaYvJTE.js";
|
|
7
7
|
import { default as default3 } from "./ai-writer.es.js";
|
|
8
8
|
export {
|
|
9
9
|
default3 as AIWriter,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, Fragment, renderList, withCtx, createTextVNode, onMounted, onDeactivated } from "vue";
|
|
2
|
-
import { _ as _export_sfc, t as toolbarIcons, u as useHighContrastMode, N as NDropdown, a as NTooltip, b as throttle } from "./chunks/editor-
|
|
2
|
+
import { _ as _export_sfc, t as toolbarIcons, u as useHighContrastMode, N as NDropdown, a as NTooltip, b as throttle } from "./chunks/editor-yNtG9HG_.js";
|
|
3
3
|
const _hoisted_1$4 = { class: "toolbar-icon" };
|
|
4
4
|
const _hoisted_2$3 = ["innerHTML"];
|
|
5
5
|
const _sfc_main$5 = {
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
exports.AIWriter =
|
|
5
|
-
exports.AnnotatorHelpers =
|
|
6
|
-
exports.BasicUpload =
|
|
7
|
-
exports.CommentsPluginKey =
|
|
8
|
-
exports.DocxZipper =
|
|
9
|
-
exports.Editor =
|
|
10
|
-
exports.Extensions =
|
|
11
|
-
exports.SectionHelpers =
|
|
12
|
-
exports.SlashMenu =
|
|
13
|
-
exports.SuperConverter =
|
|
14
|
-
exports.SuperEditor =
|
|
15
|
-
exports.SuperInput =
|
|
16
|
-
exports.SuperToolbar =
|
|
17
|
-
exports.Toolbar =
|
|
18
|
-
exports.TrackChangesBasePluginKey =
|
|
19
|
-
exports.createZip =
|
|
20
|
-
exports.fieldAnnotationHelpers =
|
|
21
|
-
exports.getActiveFormatting =
|
|
22
|
-
exports.getAllowedImageDimensions =
|
|
23
|
-
exports.getMarksFromSelection =
|
|
24
|
-
exports.getRichTextExtensions =
|
|
25
|
-
exports.getStarterExtensions =
|
|
26
|
-
exports.helpers =
|
|
27
|
-
exports.registeredHandlers =
|
|
28
|
-
exports.trackChangesHelpers =
|
|
3
|
+
const editorYNtG9HG_ = require("./chunks/editor-yNtG9HG_-Bz4K7qKK.cjs");
|
|
4
|
+
exports.AIWriter = editorYNtG9HG_.AIWriter;
|
|
5
|
+
exports.AnnotatorHelpers = editorYNtG9HG_.AnnotatorHelpers;
|
|
6
|
+
exports.BasicUpload = editorYNtG9HG_._sfc_main;
|
|
7
|
+
exports.CommentsPluginKey = editorYNtG9HG_.CommentsPluginKey;
|
|
8
|
+
exports.DocxZipper = editorYNtG9HG_.DocxZipper;
|
|
9
|
+
exports.Editor = editorYNtG9HG_.Editor;
|
|
10
|
+
exports.Extensions = editorYNtG9HG_.Extensions;
|
|
11
|
+
exports.SectionHelpers = editorYNtG9HG_.SectionHelpers;
|
|
12
|
+
exports.SlashMenu = editorYNtG9HG_._sfc_main$3;
|
|
13
|
+
exports.SuperConverter = editorYNtG9HG_.SuperConverter;
|
|
14
|
+
exports.SuperEditor = editorYNtG9HG_.SuperEditor;
|
|
15
|
+
exports.SuperInput = editorYNtG9HG_.SuperInput;
|
|
16
|
+
exports.SuperToolbar = editorYNtG9HG_.SuperToolbar;
|
|
17
|
+
exports.Toolbar = editorYNtG9HG_.Toolbar;
|
|
18
|
+
exports.TrackChangesBasePluginKey = editorYNtG9HG_.TrackChangesBasePluginKey;
|
|
19
|
+
exports.createZip = editorYNtG9HG_.createZip;
|
|
20
|
+
exports.fieldAnnotationHelpers = editorYNtG9HG_.index$1;
|
|
21
|
+
exports.getActiveFormatting = editorYNtG9HG_.getActiveFormatting;
|
|
22
|
+
exports.getAllowedImageDimensions = editorYNtG9HG_.getAllowedImageDimensions;
|
|
23
|
+
exports.getMarksFromSelection = editorYNtG9HG_.getMarksFromSelection;
|
|
24
|
+
exports.getRichTextExtensions = editorYNtG9HG_.getRichTextExtensions;
|
|
25
|
+
exports.getStarterExtensions = editorYNtG9HG_.getStarterExtensions;
|
|
26
|
+
exports.helpers = editorYNtG9HG_.helpers;
|
|
27
|
+
exports.registeredHandlers = editorYNtG9HG_.registeredHandlers;
|
|
28
|
+
exports.trackChangesHelpers = editorYNtG9HG_.index;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/editor-
|
|
1
|
+
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/editor-yNtG9HG_-nXwEYkuL.es.js";
|
|
2
2
|
export {
|
|
3
3
|
A as AIWriter,
|
|
4
4
|
a as AnnotatorHelpers,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
3
|
+
const editorYNtG9HG_ = require("./chunks/editor-yNtG9HG_-Bz4K7qKK.cjs");
|
|
4
4
|
require("./chunks/vue-DKMj1I9B.cjs");
|
|
5
|
-
const superdoc = require("./chunks/index-
|
|
5
|
+
const superdoc = require("./chunks/index-xWvgoDV8.cjs");
|
|
6
6
|
const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
|
|
7
|
-
exports.AnnotatorHelpers =
|
|
8
|
-
exports.Editor =
|
|
9
|
-
exports.Extensions =
|
|
10
|
-
exports.SectionHelpers =
|
|
11
|
-
exports.SuperConverter =
|
|
12
|
-
exports.createZip =
|
|
13
|
-
exports.fieldAnnotationHelpers =
|
|
14
|
-
exports.getRichTextExtensions =
|
|
15
|
-
exports.registeredHandlers =
|
|
16
|
-
exports.superEditorHelpers =
|
|
17
|
-
exports.trackChangesHelpers =
|
|
7
|
+
exports.AnnotatorHelpers = editorYNtG9HG_.AnnotatorHelpers;
|
|
8
|
+
exports.Editor = editorYNtG9HG_.Editor;
|
|
9
|
+
exports.Extensions = editorYNtG9HG_.Extensions;
|
|
10
|
+
exports.SectionHelpers = editorYNtG9HG_.SectionHelpers;
|
|
11
|
+
exports.SuperConverter = editorYNtG9HG_.SuperConverter;
|
|
12
|
+
exports.createZip = editorYNtG9HG_.createZip;
|
|
13
|
+
exports.fieldAnnotationHelpers = editorYNtG9HG_.index$1;
|
|
14
|
+
exports.getRichTextExtensions = editorYNtG9HG_.getRichTextExtensions;
|
|
15
|
+
exports.registeredHandlers = editorYNtG9HG_.registeredHandlers;
|
|
16
|
+
exports.superEditorHelpers = editorYNtG9HG_.helpers;
|
|
17
|
+
exports.trackChangesHelpers = editorYNtG9HG_.index;
|
|
18
18
|
exports.DOCX = superdoc.DOCX;
|
|
19
19
|
exports.HTML = superdoc.HTML;
|
|
20
20
|
exports.PDF = superdoc.PDF;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/editor-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/editor-yNtG9HG_-nXwEYkuL.es.js";
|
|
2
2
|
import "./chunks/vue-DSlPeKKC.es.js";
|
|
3
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
3
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-Di5s_im9.es.js";
|
|
4
4
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
5
5
|
export {
|
|
6
6
|
a as AnnotatorHelpers,
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -43126,7 +43126,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
43126
43126
|
static getStoredSuperdocVersion(docx) {
|
|
43127
43127
|
return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
43128
43128
|
}
|
|
43129
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-RC.
|
|
43129
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0-RC.3") {
|
|
43130
43130
|
return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
|
|
43131
43131
|
}
|
|
43132
43132
|
/**
|
|
@@ -67723,7 +67723,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
67723
67723
|
* @returns {Object | void} Migration results
|
|
67724
67724
|
*/
|
|
67725
67725
|
processCollaborationMigrations() {
|
|
67726
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-RC.
|
|
67726
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.29.0-RC.3");
|
|
67727
67727
|
if (!this.options.ydoc) return;
|
|
67728
67728
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
67729
67729
|
let docVersion = metaMap.get("version");
|
|
@@ -120140,7 +120140,7 @@ ${style2}
|
|
|
120140
120140
|
this.config.colors = shuffleArray(this.config.colors);
|
|
120141
120141
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
120142
120142
|
this.colorIndex = 0;
|
|
120143
|
-
this.version = "0.29.0-RC.
|
|
120143
|
+
this.version = "0.29.0-RC.3";
|
|
120144
120144
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
120145
120145
|
this.superdocId = config2.superdocId || v4();
|
|
120146
120146
|
this.colors = this.config.colors;
|