@harbour-enterprises/superdoc 0.15.5 → 0.15.6-next.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/chunks/{eventemitter3-DESeWqCF.es.js → eventemitter3-BKLF7Ip6.es.js} +1 -1
- package/dist/chunks/{eventemitter3-BgTTc0kr.cjs → eventemitter3-CLT6oufV.cjs} +1 -1
- package/dist/chunks/{index-5s0lZrRi.cjs → index-B5xS6OKK.cjs} +2 -2
- package/dist/chunks/{index-BDb18xQR.es.js → index-BqH3eQTm.es.js} +2 -2
- package/dist/chunks/{index-CEIbpU5u.es.js → index-D612mw4O.es.js} +4 -4
- package/dist/chunks/{index-CjAcITPh.cjs → index-DhQaJbc2.cjs} +2 -2
- package/dist/chunks/{index-gYvWcHA-.es.js → index-DzFLdJgk.es.js} +2 -2
- package/dist/chunks/{index-Dz0ZMALg.cjs → index-ibuaxW1X.cjs} +4 -4
- package/dist/chunks/{jszip-eJOLo2UN.es.js → jszip-BwJb6_S5.es.js} +1 -1
- package/dist/chunks/{jszip-BgN565V6.cjs → jszip-DWfnW2xV.cjs} +1 -1
- package/dist/chunks/{super-editor.es-B5VKLhjr.es.js → super-editor.es-DfQKDYMX.es.js} +9 -7
- package/dist/chunks/{super-editor.es-ByYgh3iy.cjs → super-editor.es-DmmC2s6r.cjs} +9 -7
- package/dist/chunks/{url-yluXzDeN.cjs → url-7PXI9_kJ.cjs} +2 -2
- package/dist/chunks/{url-D1vPFtjG.es.js → url-CNqDAz7z.es.js} +2 -2
- package/dist/chunks/{vue-aMYj79Bx.es.js → vue-B_OPNNfX.es.js} +7 -14
- package/dist/chunks/{vue-BLDJYAe8.cjs → vue-CfKg12kH.cjs} +7 -14
- package/dist/chunks/{xml-js-DahUgrqx.cjs → xml-js-B_rfwhrZ.cjs} +2 -2
- package/dist/chunks/{xml-js-BWZkA4YC.es.js → xml-js-Bn0K9fTK.es.js} +2 -2
- package/dist/stores/comments-store.d.ts.map +1 -1
- package/dist/style.css +17 -17
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-Bb4vVLY2.js → converter-Inp5Jy0s.js} +5 -3
- package/dist/super-editor/chunks/{docx-zipper-BuaqxBSs.js → docx-zipper-DVIPDmtc.js} +1 -1
- package/dist/super-editor/chunks/{editor-BT4dSHOu.js → editor-B9yd4rtv.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BnVUGZmw.js → toolbar-C7Xua-ob.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/markImporter.d.ts.map +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 +8 -8
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +25 -11
- package/dist/superdoc.es.js +26 -12
- package/dist/superdoc.umd.js +33 -24
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const jszip = require("./jszip-
|
|
3
|
-
const index$2 = require("./index-
|
|
2
|
+
const jszip = require("./jszip-DWfnW2xV.cjs");
|
|
3
|
+
const index$2 = require("./index-ibuaxW1X.cjs");
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
for (var i = 0; i < m.length; i++) {
|
|
6
6
|
const e = m[i];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs } from "./jszip-
|
|
2
|
-
import { r as requireStreamHttp } from "./index-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./jszip-BwJb6_S5.es.js";
|
|
2
|
+
import { r as requireStreamHttp } from "./index-D612mw4O.es.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as commonjsGlobal, B as Buffer, a as getAugmentedNamespace } from "./jszip-
|
|
2
|
-
import { p as process$1 } from "./vue-
|
|
3
|
-
import { r as require_stream_readable, a as require_stream_writable, b as require_stream_duplex, c as require_stream_transform, d as require_stream_passthrough, e as requireEndOfStream, f as requirePipeline, g as requireInherits_browser } from "./xml-js-
|
|
4
|
-
import { u as url } from "./url-
|
|
1
|
+
import { c as commonjsGlobal, B as Buffer, a as getAugmentedNamespace } from "./jszip-BwJb6_S5.es.js";
|
|
2
|
+
import { p as process$1 } from "./vue-B_OPNNfX.es.js";
|
|
3
|
+
import { r as require_stream_readable, a as require_stream_writable, b as require_stream_duplex, c as require_stream_transform, d as require_stream_passthrough, e as requireEndOfStream, f as requirePipeline, g as requireInherits_browser } from "./xml-js-Bn0K9fTK.es.js";
|
|
4
|
+
import { u as url } from "./url-CNqDAz7z.es.js";
|
|
5
5
|
var streamHttp = {};
|
|
6
6
|
var request = { exports: {} };
|
|
7
7
|
var capability = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const jszip = require("./jszip-
|
|
3
|
-
const index$2 = require("./index-
|
|
2
|
+
const jszip = require("./jszip-DWfnW2xV.cjs");
|
|
3
|
+
const index$2 = require("./index-ibuaxW1X.cjs");
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
for (var i = 0; i < m.length; i++) {
|
|
6
6
|
const e = m[i];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs } from "./jszip-
|
|
2
|
-
import { r as requireStreamHttp, a as require$$1 } from "./index-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./jszip-BwJb6_S5.es.js";
|
|
2
|
+
import { r as requireStreamHttp, a as require$$1 } from "./index-D612mw4O.es.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const jszip = require("./jszip-
|
|
3
|
-
const vue = require("./vue-
|
|
4
|
-
const xmlJs = require("./xml-js-
|
|
5
|
-
const url = require("./url-
|
|
2
|
+
const jszip = require("./jszip-DWfnW2xV.cjs");
|
|
3
|
+
const vue = require("./vue-CfKg12kH.cjs");
|
|
4
|
+
const xmlJs = require("./xml-js-B_rfwhrZ.cjs");
|
|
5
|
+
const url = require("./url-7PXI9_kJ.cjs");
|
|
6
6
|
var streamHttp = {};
|
|
7
7
|
var request = { exports: {} };
|
|
8
8
|
var capability = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as global$2, r as ref$1, c as createApp, a as computed, b as createElementBlock, o as openBlock, F as Fragment$1, d as renderList, n as normalizeClass, w as withModifiers, e as createCommentVNode, t as toDisplayString, f as createBaseVNode, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, q as getCurrentInstance, s as onDeactivated, u as nextTick, v as createBlock, x as createVNode, y as unref, z as withCtx, A as createTextVNode, B as normalizeStyle, C as h, D as toRef, E as provide, G as mergeProps, H as cloneVNode, T as Text$2, I as withDirectives, J as watchEffect, K as shallowRef, L as vModelText, M as withKeys, N as reactive, O as readonly, P as Transition, Q as vShow, R as Comment, S as renderSlot, U as onActivated, V as Teleport, W as isVNode, X as onUnmounted, Y as resolveDynamicComponent, Z as normalizeProps, _ as guardReactiveProps, $ as markRaw } from "./vue-
|
|
1
|
+
import { g as global$2, r as ref$1, c as createApp, a as computed, b as createElementBlock, o as openBlock, F as Fragment$1, d as renderList, n as normalizeClass, w as withModifiers, e as createCommentVNode, t as toDisplayString, f as createBaseVNode, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, q as getCurrentInstance, s as onDeactivated, u as nextTick, v as createBlock, x as createVNode, y as unref, z as withCtx, A as createTextVNode, B as normalizeStyle, C as h, D as toRef, E as provide, G as mergeProps, H as cloneVNode, T as Text$2, I as withDirectives, J as watchEffect, K as shallowRef, L as vModelText, M as withKeys, N as reactive, O as readonly, P as Transition, Q as vShow, R as Comment, S as renderSlot, U as onActivated, V as Teleport, W as isVNode, X as onUnmounted, Y as resolveDynamicComponent, Z as normalizeProps, _ as guardReactiveProps, $ as markRaw } from "./vue-B_OPNNfX.es.js";
|
|
2
2
|
import * as Y from "yjs";
|
|
3
3
|
import { UndoManager, Item as Item$2, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
|
|
4
4
|
var __defProp$2 = Object.defineProperty;
|
|
@@ -21033,7 +21033,9 @@ function getAbstractNumIdByNumId(numId, docx) {
|
|
|
21033
21033
|
const { elements } = numbering;
|
|
21034
21034
|
const listData = elements[0];
|
|
21035
21035
|
const numberingElements = listData.elements || [];
|
|
21036
|
-
const numDef = numberingElements.find(
|
|
21036
|
+
const numDef = numberingElements.find(
|
|
21037
|
+
(el) => el.name === "w:num" && el.attributes?.["w:numId"] === numId
|
|
21038
|
+
);
|
|
21037
21039
|
if (!numDef) return null;
|
|
21038
21040
|
const abstractNumIdRef = numDef.elements?.find((el) => el.name === "w:abstractNumId");
|
|
21039
21041
|
return abstractNumIdRef?.attributes?.["w:val"];
|
|
@@ -28781,7 +28783,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
28781
28783
|
return;
|
|
28782
28784
|
}
|
|
28783
28785
|
}
|
|
28784
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.
|
|
28786
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.6-next.2") {
|
|
28785
28787
|
const customLocation = "docProps/custom.xml";
|
|
28786
28788
|
if (!docx[customLocation]) {
|
|
28787
28789
|
docx[customLocation] = generateCustomXml();
|
|
@@ -29260,7 +29262,7 @@ function storeSuperdocVersion(docx) {
|
|
|
29260
29262
|
function generateCustomXml() {
|
|
29261
29263
|
return DEFAULT_CUSTOM_XML;
|
|
29262
29264
|
}
|
|
29263
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.15.
|
|
29265
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.15.6-next.2") {
|
|
29264
29266
|
return {
|
|
29265
29267
|
type: "element",
|
|
29266
29268
|
name: "property",
|
|
@@ -45383,7 +45385,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
45383
45385
|
* @returns {Object | void} Migration results
|
|
45384
45386
|
*/
|
|
45385
45387
|
processCollaborationMigrations() {
|
|
45386
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.15.
|
|
45388
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.15.6-next.2");
|
|
45387
45389
|
if (!this.options.ydoc) return;
|
|
45388
45390
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
45389
45391
|
let docVersion = metaMap.get("version");
|
|
@@ -72035,7 +72037,7 @@ const _sfc_main$b = {
|
|
|
72035
72037
|
class: "remove-btn__icon",
|
|
72036
72038
|
innerHTML: unref(toolbarIcons).removeLink
|
|
72037
72039
|
}, null, 8, _hoisted_12),
|
|
72038
|
-
_cache[5] || (_cache[5] = createTextVNode(" Remove "
|
|
72040
|
+
_cache[5] || (_cache[5] = createTextVNode(" Remove "))
|
|
72039
72041
|
])) : createCommentVNode("", true),
|
|
72040
72042
|
createBaseVNode("button", {
|
|
72041
72043
|
class: normalizeClass(["submit-btn", { "disable-btn": isDisabled2.value }]),
|
|
@@ -72234,7 +72236,7 @@ const _sfc_main$9 = {
|
|
|
72234
72236
|
innerHTML: unref(DropIcon),
|
|
72235
72237
|
class: "none-icon"
|
|
72236
72238
|
}, null, 8, _hoisted_2$5),
|
|
72237
|
-
_cache[1] || (_cache[1] = createTextVNode(" None "
|
|
72239
|
+
_cache[1] || (_cache[1] = createTextVNode(" None "))
|
|
72238
72240
|
])) : createCommentVNode("", true),
|
|
72239
72241
|
createBaseVNode("div", _hoisted_3$4, [
|
|
72240
72242
|
createVNode(IconGridRow, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const vue = require("./vue-
|
|
2
|
+
const vue = require("./vue-CfKg12kH.cjs");
|
|
3
3
|
const Y = require("yjs");
|
|
4
4
|
function _interopNamespaceDefault(e) {
|
|
5
5
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -21050,7 +21050,9 @@ function getAbstractNumIdByNumId(numId, docx) {
|
|
|
21050
21050
|
const { elements } = numbering;
|
|
21051
21051
|
const listData = elements[0];
|
|
21052
21052
|
const numberingElements = listData.elements || [];
|
|
21053
|
-
const numDef = numberingElements.find(
|
|
21053
|
+
const numDef = numberingElements.find(
|
|
21054
|
+
(el) => el.name === "w:num" && el.attributes?.["w:numId"] === numId
|
|
21055
|
+
);
|
|
21054
21056
|
if (!numDef) return null;
|
|
21055
21057
|
const abstractNumIdRef = numDef.elements?.find((el) => el.name === "w:abstractNumId");
|
|
21056
21058
|
return abstractNumIdRef?.attributes?.["w:val"];
|
|
@@ -28798,7 +28800,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
28798
28800
|
return;
|
|
28799
28801
|
}
|
|
28800
28802
|
}
|
|
28801
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.
|
|
28803
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.6-next.2") {
|
|
28802
28804
|
const customLocation = "docProps/custom.xml";
|
|
28803
28805
|
if (!docx[customLocation]) {
|
|
28804
28806
|
docx[customLocation] = generateCustomXml();
|
|
@@ -29277,7 +29279,7 @@ function storeSuperdocVersion(docx) {
|
|
|
29277
29279
|
function generateCustomXml() {
|
|
29278
29280
|
return DEFAULT_CUSTOM_XML;
|
|
29279
29281
|
}
|
|
29280
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.15.
|
|
29282
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.15.6-next.2") {
|
|
29281
29283
|
return {
|
|
29282
29284
|
type: "element",
|
|
29283
29285
|
name: "property",
|
|
@@ -45400,7 +45402,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
45400
45402
|
* @returns {Object | void} Migration results
|
|
45401
45403
|
*/
|
|
45402
45404
|
processCollaborationMigrations() {
|
|
45403
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.15.
|
|
45405
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.15.6-next.2");
|
|
45404
45406
|
if (!this.options.ydoc) return;
|
|
45405
45407
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
45406
45408
|
let docVersion = metaMap.get("version");
|
|
@@ -72052,7 +72054,7 @@ const _sfc_main$b = {
|
|
|
72052
72054
|
class: "remove-btn__icon",
|
|
72053
72055
|
innerHTML: vue.unref(toolbarIcons).removeLink
|
|
72054
72056
|
}, null, 8, _hoisted_12),
|
|
72055
|
-
_cache[5] || (_cache[5] = vue.createTextVNode(" Remove "
|
|
72057
|
+
_cache[5] || (_cache[5] = vue.createTextVNode(" Remove "))
|
|
72056
72058
|
])) : vue.createCommentVNode("", true),
|
|
72057
72059
|
vue.createBaseVNode("button", {
|
|
72058
72060
|
class: vue.normalizeClass(["submit-btn", { "disable-btn": isDisabled2.value }]),
|
|
@@ -72251,7 +72253,7 @@ const _sfc_main$9 = {
|
|
|
72251
72253
|
innerHTML: vue.unref(DropIcon),
|
|
72252
72254
|
class: "none-icon"
|
|
72253
72255
|
}, null, 8, _hoisted_2$5),
|
|
72254
|
-
_cache[1] || (_cache[1] = vue.createTextVNode(" None "
|
|
72256
|
+
_cache[1] || (_cache[1] = vue.createTextVNode(" None "))
|
|
72255
72257
|
])) : vue.createCommentVNode("", true),
|
|
72256
72258
|
vue.createBaseVNode("div", _hoisted_3$4, [
|
|
72257
72259
|
vue.createVNode(IconGridRow, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const jszip = require("./jszip-
|
|
3
|
-
const xmlJs = require("./xml-js-
|
|
2
|
+
const jszip = require("./jszip-DWfnW2xV.cjs");
|
|
3
|
+
const xmlJs = require("./xml-js-B_rfwhrZ.cjs");
|
|
4
4
|
const __viteBrowserExternal = require("./__vite-browser-external-DWbQq7bv.cjs");
|
|
5
5
|
var punycode$2 = { exports: {} };
|
|
6
6
|
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./jszip-
|
|
2
|
-
import { h as requireType, i as requireGetIntrinsic, j as requireCallBound } from "./xml-js-
|
|
1
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./jszip-BwJb6_S5.es.js";
|
|
2
|
+
import { h as requireType, i as requireGetIntrinsic, j as requireCallBound } from "./xml-js-Bn0K9fTK.es.js";
|
|
3
3
|
import { _ as __viteBrowserExternal } from "./__vite-browser-external-CURh0WXD.es.js";
|
|
4
4
|
var punycode$2 = { exports: {} };
|
|
5
5
|
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
@@ -162,7 +162,7 @@ process.umask = function() {
|
|
|
162
162
|
var browserExports = browser.exports;
|
|
163
163
|
const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
|
|
164
164
|
/**
|
|
165
|
-
* @vue/shared v3.5.
|
|
165
|
+
* @vue/shared v3.5.17
|
|
166
166
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
167
167
|
* @license MIT
|
|
168
168
|
**/
|
|
@@ -4285,8 +4285,7 @@ function applyOptions(instance) {
|
|
|
4285
4285
|
expose.forEach((key) => {
|
|
4286
4286
|
Object.defineProperty(exposed, key, {
|
|
4287
4287
|
get: () => publicThis[key],
|
|
4288
|
-
set: (val) => publicThis[key] = val
|
|
4289
|
-
enumerable: true
|
|
4288
|
+
set: (val) => publicThis[key] = val
|
|
4290
4289
|
});
|
|
4291
4290
|
});
|
|
4292
4291
|
} else if (!instance.exposed) {
|
|
@@ -4732,7 +4731,7 @@ function provide(key, value) {
|
|
|
4732
4731
|
}
|
|
4733
4732
|
}
|
|
4734
4733
|
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
4735
|
-
const instance =
|
|
4734
|
+
const instance = currentInstance || currentRenderingInstance;
|
|
4736
4735
|
if (instance || currentApp) {
|
|
4737
4736
|
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
4738
4737
|
if (provides && key in provides) {
|
|
@@ -4747,7 +4746,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
|
4747
4746
|
}
|
|
4748
4747
|
}
|
|
4749
4748
|
function hasInjectionContext() {
|
|
4750
|
-
return !!(
|
|
4749
|
+
return !!(currentInstance || currentRenderingInstance || currentApp);
|
|
4751
4750
|
}
|
|
4752
4751
|
const internalObjectProto = {};
|
|
4753
4752
|
const createInternalObject = () => Object.create(internalObjectProto);
|
|
@@ -5170,7 +5169,7 @@ function isExplicable(type) {
|
|
|
5170
5169
|
function isBoolean(...args) {
|
|
5171
5170
|
return args.some((elem) => elem.toLowerCase() === "boolean");
|
|
5172
5171
|
}
|
|
5173
|
-
const isInternalKey = (key) => key === "_" || key === "
|
|
5172
|
+
const isInternalKey = (key) => key[0] === "_" || key === "$stable";
|
|
5174
5173
|
const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
|
|
5175
5174
|
const normalizeSlot = (key, rawSlot, ctx) => {
|
|
5176
5175
|
if (rawSlot._n) {
|
|
@@ -5932,7 +5931,6 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5932
5931
|
if (!initialVNode.el) {
|
|
5933
5932
|
const placeholder = instance.subTree = createVNode(Comment);
|
|
5934
5933
|
processCommentNode(null, placeholder, container, anchor);
|
|
5935
|
-
initialVNode.placeholder = placeholder.el;
|
|
5936
5934
|
}
|
|
5937
5935
|
} else {
|
|
5938
5936
|
setupRenderEffect(
|
|
@@ -6402,11 +6400,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
6402
6400
|
for (i = toBePatched - 1; i >= 0; i--) {
|
|
6403
6401
|
const nextIndex = s2 + i;
|
|
6404
6402
|
const nextChild = c2[nextIndex];
|
|
6405
|
-
const
|
|
6406
|
-
const anchor = nextIndex + 1 < l2 ? (
|
|
6407
|
-
// #13559, fallback to el placeholder for unresolved async component
|
|
6408
|
-
anchorVNode.el || anchorVNode.placeholder
|
|
6409
|
-
) : parentAnchor;
|
|
6403
|
+
const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;
|
|
6410
6404
|
if (newIndexToOldIndexMap[i] === 0) {
|
|
6411
6405
|
patch(
|
|
6412
6406
|
null,
|
|
@@ -7625,7 +7619,6 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
|
|
|
7625
7619
|
suspense: vnode.suspense,
|
|
7626
7620
|
ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
|
|
7627
7621
|
ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
|
|
7628
|
-
placeholder: vnode.placeholder,
|
|
7629
7622
|
el: vnode.el,
|
|
7630
7623
|
anchor: vnode.anchor,
|
|
7631
7624
|
ctx: vnode.ctx,
|
|
@@ -8358,7 +8351,7 @@ function initCustomFormatter() {
|
|
|
8358
8351
|
window.devtoolsFormatters = [formatter];
|
|
8359
8352
|
}
|
|
8360
8353
|
}
|
|
8361
|
-
const version = "3.5.
|
|
8354
|
+
const version = "3.5.17";
|
|
8362
8355
|
const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8363
8356
|
!!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
8364
8357
|
!!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
|
|
@@ -163,7 +163,7 @@ process.umask = function() {
|
|
|
163
163
|
var browserExports = browser.exports;
|
|
164
164
|
const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
|
|
165
165
|
/**
|
|
166
|
-
* @vue/shared v3.5.
|
|
166
|
+
* @vue/shared v3.5.17
|
|
167
167
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
168
168
|
* @license MIT
|
|
169
169
|
**/
|
|
@@ -4286,8 +4286,7 @@ function applyOptions(instance) {
|
|
|
4286
4286
|
expose.forEach((key) => {
|
|
4287
4287
|
Object.defineProperty(exposed, key, {
|
|
4288
4288
|
get: () => publicThis[key],
|
|
4289
|
-
set: (val) => publicThis[key] = val
|
|
4290
|
-
enumerable: true
|
|
4289
|
+
set: (val) => publicThis[key] = val
|
|
4291
4290
|
});
|
|
4292
4291
|
});
|
|
4293
4292
|
} else if (!instance.exposed) {
|
|
@@ -4733,7 +4732,7 @@ function provide(key, value) {
|
|
|
4733
4732
|
}
|
|
4734
4733
|
}
|
|
4735
4734
|
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
4736
|
-
const instance =
|
|
4735
|
+
const instance = currentInstance || currentRenderingInstance;
|
|
4737
4736
|
if (instance || currentApp) {
|
|
4738
4737
|
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
4739
4738
|
if (provides && key in provides) {
|
|
@@ -4748,7 +4747,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
|
4748
4747
|
}
|
|
4749
4748
|
}
|
|
4750
4749
|
function hasInjectionContext() {
|
|
4751
|
-
return !!(
|
|
4750
|
+
return !!(currentInstance || currentRenderingInstance || currentApp);
|
|
4752
4751
|
}
|
|
4753
4752
|
const internalObjectProto = {};
|
|
4754
4753
|
const createInternalObject = () => Object.create(internalObjectProto);
|
|
@@ -5171,7 +5170,7 @@ function isExplicable(type) {
|
|
|
5171
5170
|
function isBoolean(...args) {
|
|
5172
5171
|
return args.some((elem) => elem.toLowerCase() === "boolean");
|
|
5173
5172
|
}
|
|
5174
|
-
const isInternalKey = (key) => key === "_" || key === "
|
|
5173
|
+
const isInternalKey = (key) => key[0] === "_" || key === "$stable";
|
|
5175
5174
|
const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
|
|
5176
5175
|
const normalizeSlot = (key, rawSlot, ctx) => {
|
|
5177
5176
|
if (rawSlot._n) {
|
|
@@ -5933,7 +5932,6 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5933
5932
|
if (!initialVNode.el) {
|
|
5934
5933
|
const placeholder = instance.subTree = createVNode(Comment);
|
|
5935
5934
|
processCommentNode(null, placeholder, container, anchor);
|
|
5936
|
-
initialVNode.placeholder = placeholder.el;
|
|
5937
5935
|
}
|
|
5938
5936
|
} else {
|
|
5939
5937
|
setupRenderEffect(
|
|
@@ -6403,11 +6401,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
6403
6401
|
for (i = toBePatched - 1; i >= 0; i--) {
|
|
6404
6402
|
const nextIndex = s2 + i;
|
|
6405
6403
|
const nextChild = c2[nextIndex];
|
|
6406
|
-
const
|
|
6407
|
-
const anchor = nextIndex + 1 < l2 ? (
|
|
6408
|
-
// #13559, fallback to el placeholder for unresolved async component
|
|
6409
|
-
anchorVNode.el || anchorVNode.placeholder
|
|
6410
|
-
) : parentAnchor;
|
|
6404
|
+
const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;
|
|
6411
6405
|
if (newIndexToOldIndexMap[i] === 0) {
|
|
6412
6406
|
patch(
|
|
6413
6407
|
null,
|
|
@@ -7626,7 +7620,6 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
|
|
|
7626
7620
|
suspense: vnode.suspense,
|
|
7627
7621
|
ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
|
|
7628
7622
|
ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
|
|
7629
|
-
placeholder: vnode.placeholder,
|
|
7630
7623
|
el: vnode.el,
|
|
7631
7624
|
anchor: vnode.anchor,
|
|
7632
7625
|
ctx: vnode.ctx,
|
|
@@ -8359,7 +8352,7 @@ function initCustomFormatter() {
|
|
|
8359
8352
|
window.devtoolsFormatters = [formatter];
|
|
8360
8353
|
}
|
|
8361
8354
|
}
|
|
8362
|
-
const version = "3.5.
|
|
8355
|
+
const version = "3.5.17";
|
|
8363
8356
|
const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8364
8357
|
!!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
8365
8358
|
!!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const vue = require("./vue-
|
|
3
|
-
const jszip = require("./jszip-
|
|
2
|
+
const vue = require("./vue-CfKg12kH.cjs");
|
|
3
|
+
const jszip = require("./jszip-DWfnW2xV.cjs");
|
|
4
4
|
var inherits_browser = { exports: {} };
|
|
5
5
|
var hasRequiredInherits_browser;
|
|
6
6
|
function requireInherits_browser() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as process$1 } from "./vue-
|
|
2
|
-
import { c as commonjsGlobal } from "./jszip-
|
|
1
|
+
import { p as process$1 } from "./vue-B_OPNNfX.es.js";
|
|
2
|
+
import { c as commonjsGlobal } from "./jszip-BwJb6_S5.es.js";
|
|
3
3
|
var inherits_browser = { exports: {} };
|
|
4
4
|
var hasRequiredInherits_browser;
|
|
5
5
|
function requireInherits_browser() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments-store.d.ts","sourceRoot":"","sources":["../../src/stores/comments-store.js"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA2Ce,IAAI;qBAiBN,MAAM;0CAWN,MAAM,GAAG,SAAS,GAAG,IAAI,KACvB,IAAI;;;;;;;
|
|
1
|
+
{"version":3,"file":"comments-store.d.ts","sourceRoot":"","sources":["../../src/stores/comments-store.js"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA2Ce,IAAI;qBAiBN,MAAM;0CAWN,MAAM,GAAG,SAAS,GAAG,IAAI,KACvB,IAAI;;;;;;;gFA+Nd;QAAuB,SAAS;QACT,UAAU;QACV,eAAe;KACtC;;wCAoDA;QAAuB,QAAQ;KAC/B,KAAU,IAAI;sCA2EJ,IAAI;;;;;6CA3FJ,IAAI;4EAwGd;QAAsB,QAAQ;QACP,UAAU;KACjC,KAAU,IAAI;;oFA0HJ,IAAI;sDAndd;QAAuB,QAAQ;QACR,MAAM;KAC7B,KAAU,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAvDJ,IAAI;qBAiBN,MAAM;0CAWN,MAAM,GAAG,SAAS,GAAG,IAAI,KACvB,IAAI;;;;;;;gFA+Nd;QAAuB,SAAS;QACT,UAAU;QACV,eAAe;KACtC;;wCAoDA;QAAuB,QAAQ;KAC/B,KAAU,IAAI;sCA2EJ,IAAI;;;;;6CA3FJ,IAAI;4EAwGd;QAAsB,QAAQ;QACP,UAAU;KACjC,KAAU,IAAI;;oFA0HJ,IAAI;sDAndd;QAAuB,QAAQ;QACR,MAAM;KAC7B,KAAU,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAvDJ,IAAI;qBAiBN,MAAM;0CAWN,MAAM,GAAG,SAAS,GAAG,IAAI,KACvB,IAAI;;;;;;;gFA+Nd;QAAuB,SAAS;QACT,UAAU;QACV,eAAe;KACtC;;wCAoDA;QAAuB,QAAQ;KAC/B,KAAU,IAAI;sCA2EJ,IAAI;;;;;6CA3FJ,IAAI;4EAwGd;QAAsB,QAAQ;QACP,UAAU;KACjC,KAAU,IAAI;;oFA0HJ,IAAI;sDAndd;QAAuB,QAAQ;QACR,MAAM;KAC7B,KAAU,IAAI;0VAijBhB"}
|
package/dist/style.css
CHANGED
|
@@ -242,32 +242,32 @@ span[data-v-53e13009] {
|
|
|
242
242
|
display: inline-block;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
.change-type[data-v-
|
|
245
|
+
.change-type[data-v-dc5e6675] {
|
|
246
246
|
font-style: italic;
|
|
247
247
|
font-weight: 600;
|
|
248
248
|
font-size: 10px;
|
|
249
249
|
color: #555;
|
|
250
250
|
}
|
|
251
|
-
.tracked-change[data-v-
|
|
251
|
+
.tracked-change[data-v-dc5e6675] {
|
|
252
252
|
font-size: 12px;
|
|
253
253
|
}
|
|
254
|
-
.tracked-change-text[data-v-
|
|
254
|
+
.tracked-change-text[data-v-dc5e6675] {
|
|
255
255
|
color: #111;
|
|
256
256
|
}
|
|
257
|
-
.comment-separator[data-v-
|
|
257
|
+
.comment-separator[data-v-dc5e6675] {
|
|
258
258
|
background-color: #dbdbdb;
|
|
259
259
|
height: 1px;
|
|
260
260
|
width: 100%;
|
|
261
261
|
margin: 10px 0;
|
|
262
262
|
font-weight: 400;
|
|
263
263
|
}
|
|
264
|
-
.existing-internal-input[data-v-
|
|
264
|
+
.existing-internal-input[data-v-dc5e6675] {
|
|
265
265
|
margin-bottom: 10px;
|
|
266
266
|
}
|
|
267
|
-
.initial-internal-dropdown[data-v-
|
|
267
|
+
.initial-internal-dropdown[data-v-dc5e6675] {
|
|
268
268
|
margin-top: 10px;
|
|
269
269
|
}
|
|
270
|
-
.comments-dialog[data-v-
|
|
270
|
+
.comments-dialog[data-v-dc5e6675] {
|
|
271
271
|
display: flex;
|
|
272
272
|
flex-direction: column;
|
|
273
273
|
padding: 10px 15px;
|
|
@@ -282,39 +282,39 @@ span[data-v-53e13009] {
|
|
|
282
282
|
min-width: 200px;
|
|
283
283
|
width: 100%;
|
|
284
284
|
}
|
|
285
|
-
.is-active[data-v-
|
|
285
|
+
.is-active[data-v-dc5e6675] {
|
|
286
286
|
z-index: 10;
|
|
287
287
|
}
|
|
288
|
-
.input-section[data-v-
|
|
288
|
+
.input-section[data-v-dc5e6675] {
|
|
289
289
|
margin-top: 10px;
|
|
290
290
|
}
|
|
291
|
-
.sd-button[data-v-
|
|
291
|
+
.sd-button[data-v-dc5e6675] {
|
|
292
292
|
font-size: 12px;
|
|
293
293
|
margin-left: 5px;
|
|
294
294
|
}
|
|
295
|
-
.comment[data-v-
|
|
295
|
+
.comment[data-v-dc5e6675] {
|
|
296
296
|
font-size: 13px;
|
|
297
297
|
margin: 10px 0;
|
|
298
298
|
}
|
|
299
|
-
.is-resolved[data-v-
|
|
299
|
+
.is-resolved[data-v-dc5e6675] {
|
|
300
300
|
background-color: #f0f0f0;
|
|
301
301
|
}
|
|
302
|
-
.comment-footer[data-v-
|
|
302
|
+
.comment-footer[data-v-dc5e6675] {
|
|
303
303
|
margin: 5px 0 5px;
|
|
304
304
|
display: flex;
|
|
305
305
|
justify-content: flex-end;
|
|
306
306
|
width: 100%;
|
|
307
307
|
}
|
|
308
|
-
.internal-dropdown[data-v-
|
|
308
|
+
.internal-dropdown[data-v-dc5e6675] {
|
|
309
309
|
display: inline-block;
|
|
310
310
|
}
|
|
311
|
-
.comment-editing[data-v-
|
|
311
|
+
.comment-editing[data-v-dc5e6675] {
|
|
312
312
|
padding-bottom: 10px;
|
|
313
313
|
}
|
|
314
|
-
.comment-editing button[data-v-
|
|
314
|
+
.comment-editing button[data-v-dc5e6675] {
|
|
315
315
|
margin-left: 5px;
|
|
316
316
|
}
|
|
317
|
-
.tracked-change[data-v-
|
|
317
|
+
.tracked-change[data-v-dc5e6675] {
|
|
318
318
|
margin: 0;
|
|
319
319
|
}
|
|
320
320
|
|
|
@@ -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-Inp5Jy0s.js";
|
|
3
|
+
import { _ as _export_sfc } from "./chunks/editor-B9yd4rtv.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 = {}) {
|
|
@@ -21031,7 +21031,9 @@ function getAbstractNumIdByNumId(numId, docx) {
|
|
|
21031
21031
|
const { elements } = numbering;
|
|
21032
21032
|
const listData = elements[0];
|
|
21033
21033
|
const numberingElements = listData.elements || [];
|
|
21034
|
-
const numDef = numberingElements.find(
|
|
21034
|
+
const numDef = numberingElements.find(
|
|
21035
|
+
(el) => el.name === "w:num" && el.attributes?.["w:numId"] === numId
|
|
21036
|
+
);
|
|
21035
21037
|
if (!numDef) return null;
|
|
21036
21038
|
const abstractNumIdRef = numDef.elements?.find((el) => el.name === "w:abstractNumId");
|
|
21037
21039
|
return abstractNumIdRef?.attributes?.["w:val"];
|
|
@@ -28779,7 +28781,7 @@ const _SuperConverter = class _SuperConverter {
|
|
|
28779
28781
|
return;
|
|
28780
28782
|
}
|
|
28781
28783
|
}
|
|
28782
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.15.
|
|
28784
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.15.6-next.2") {
|
|
28783
28785
|
const customLocation = "docProps/custom.xml";
|
|
28784
28786
|
if (!docx[customLocation]) {
|
|
28785
28787
|
docx[customLocation] = generateCustomXml();
|
|
@@ -29261,7 +29263,7 @@ function storeSuperdocVersion(docx) {
|
|
|
29261
29263
|
function generateCustomXml() {
|
|
29262
29264
|
return DEFAULT_CUSTOM_XML;
|
|
29263
29265
|
}
|
|
29264
|
-
function generateSuperdocVersion(pid = 2, version = "0.15.
|
|
29266
|
+
function generateSuperdocVersion(pid = 2, version = "0.15.6-next.2") {
|
|
29265
29267
|
return {
|
|
29266
29268
|
type: "element",
|
|
29267
29269
|
name: "property",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as process$1, at as commonjsGlobal, I as Buffer, au as getDefaultExportFromCjs, av as getContentTypesFromXml, aw as xmljs } from "./converter-
|
|
1
|
+
import { H as process$1, at as commonjsGlobal, I as Buffer, au as getDefaultExportFromCjs, av as getContentTypesFromXml, aw as xmljs } from "./converter-Inp5Jy0s.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,9 +12,9 @@ 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, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _commandService, _css, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, insertNewFileData_fn, registerPluginByNameIfNotExists_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, createSchema_fn, generatePmData_fn, createDocFromHTML_fn, createView_fn, onCollaborationReady_fn, initComments_fn, dispatchTransaction_fn, handleNodeSelection_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, _ListItemNodeView_instances, init_fn2, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_fn, _DocumentSectionView_instances, init_fn3, addToolTip_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, c as callOrGet, g as getExtensionConfigField, b as getMarkType, d as getMarksFromSelection, e as getNodeType, f as getSchemaTypeNameByName, S as Schema$1, h as cleanSchemaItem, T as TextSelection, i as canSplit, l as liftTarget, A as AllSelection, j as canJoin, k as joinPoint, N as NodeSelection, m as Selection, r as replaceStep$1, F as Fragment, R as ReplaceAroundStep$1, n as Slice, o as defaultBlockAt$1, p as isTextSelection, q as getMarkRange, s as isMarkActive, t as isNodeActive, u as deleteProps, D as DOMParser$1, v as ReplaceStep, w as NodeRange, x as findWrapping, y as findParentNode, L as ListHelpers, z as isMacOS, B as isIOS, C as DOMSerializer, E as Mark$1, G as dropPoint, H as process$1, I as Buffer2, J as getSchemaTypeByName, K as inputRulesPlugin, O as TrackDeleteMarkName, Q as TrackInsertMarkName, U as v4, V as TrackFormatMarkName, W as comments_module_events, X as findMark, Y as objectIncludes, Z as AddMarkStep, _ as RemoveMarkStep, $ as twipsToLines, a0 as pixelsToTwips, a1 as helpers, a2 as posToDOMRect, a3 as CommandService, a4 as SuperConverter, a5 as createDocument, a6 as EditorState, a7 as hasSomeParentWithClass, a8 as isActive, a9 as unflattenListsInHtml, aa as parseSizeUnit, ab as minMax, ac as getLineHeightValueString, ad as InputRule, ae as kebabCase, af as generateOrderedListIndex, ag as getListItemStyleDefinitions, ah as docxNumberigHelpers, ai as parseIndentElement, aj as combineIndents, ak as getColStyleDeclaration, al as SelectionRange, am as Transform, an as findParentNodeClosestToPos, ao as isInTable$1, ap as createColGroup, aq as generateDocxRandomId, ar as SectionHelpers, as as htmlHandler } from "./converter-
|
|
15
|
+
import { P as PluginKey, a as Plugin, M as Mapping, c as callOrGet, g as getExtensionConfigField, b as getMarkType, d as getMarksFromSelection, e as getNodeType, f as getSchemaTypeNameByName, S as Schema$1, h as cleanSchemaItem, T as TextSelection, i as canSplit, l as liftTarget, A as AllSelection, j as canJoin, k as joinPoint, N as NodeSelection, m as Selection, r as replaceStep$1, F as Fragment, R as ReplaceAroundStep$1, n as Slice, o as defaultBlockAt$1, p as isTextSelection, q as getMarkRange, s as isMarkActive, t as isNodeActive, u as deleteProps, D as DOMParser$1, v as ReplaceStep, w as NodeRange, x as findWrapping, y as findParentNode, L as ListHelpers, z as isMacOS, B as isIOS, C as DOMSerializer, E as Mark$1, G as dropPoint, H as process$1, I as Buffer2, J as getSchemaTypeByName, K as inputRulesPlugin, O as TrackDeleteMarkName, Q as TrackInsertMarkName, U as v4, V as TrackFormatMarkName, W as comments_module_events, X as findMark, Y as objectIncludes, Z as AddMarkStep, _ as RemoveMarkStep, $ as twipsToLines, a0 as pixelsToTwips, a1 as helpers, a2 as posToDOMRect, a3 as CommandService, a4 as SuperConverter, a5 as createDocument, a6 as EditorState, a7 as hasSomeParentWithClass, a8 as isActive, a9 as unflattenListsInHtml, aa as parseSizeUnit, ab as minMax, ac as getLineHeightValueString, ad as InputRule, ae as kebabCase, af as generateOrderedListIndex, ag as getListItemStyleDefinitions, ah as docxNumberigHelpers, ai as parseIndentElement, aj as combineIndents, ak as getColStyleDeclaration, al as SelectionRange, am as Transform, an as findParentNodeClosestToPos, ao as isInTable$1, ap as createColGroup, aq as generateDocxRandomId, ar as SectionHelpers, as as htmlHandler } from "./converter-Inp5Jy0s.js";
|
|
16
16
|
import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
|
|
17
|
-
import { D as DocxZipper } from "./docx-zipper-
|
|
17
|
+
import { D as DocxZipper } from "./docx-zipper-DVIPDmtc.js";
|
|
18
18
|
var GOOD_LEAF_SIZE = 200;
|
|
19
19
|
var RopeSequence = function RopeSequence2() {
|
|
20
20
|
};
|
|
@@ -13625,7 +13625,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
13625
13625
|
* @returns {Object | void} Migration results
|
|
13626
13626
|
*/
|
|
13627
13627
|
processCollaborationMigrations() {
|
|
13628
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.15.
|
|
13628
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.15.6-next.2");
|
|
13629
13629
|
if (!this.options.ydoc) return;
|
|
13630
13630
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
13631
13631
|
let docVersion = metaMap.get("version");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
|
|
2
|
-
import { H as process$1 } from "./converter-
|
|
3
|
-
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-
|
|
2
|
+
import { H as process$1 } from "./converter-Inp5Jy0s.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-B9yd4rtv.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listImporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/v2/importer/listImporter.js"],"names":[],"mappings":"AAwLA;;;;;GAKG;AACH,kCAHW,OAAO,cACL,OAAO,CAwCnB;AAMD;;;;;;GAMG;AACH,gDAJW,MAAM,kBAahB;AAED;;;;;;;;;;;GAWG;AACH,+EAFa,MAAM,GAAC,IAAI,CAwBvB;AAoLD;;;;GAIG;AACH,8CAHW,MAAM,GACJ,MAAM,CAWlB;AAED;;;;;;;GAOG;AACH,6DAJW,GAAG,QACH,UAAU;;;;;;;;;;;;;;;;;;;;;;;;EAiDpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BC;
|
|
1
|
+
{"version":3,"file":"listImporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/v2/importer/listImporter.js"],"names":[],"mappings":"AAwLA;;;;;GAKG;AACH,kCAHW,OAAO,cACL,OAAO,CAwCnB;AAMD;;;;;;GAMG;AACH,gDAJW,MAAM,kBAahB;AAED;;;;;;;;;;;GAWG;AACH,+EAFa,MAAM,GAAC,IAAI,CAwBvB;AAoLD;;;;GAIG;AACH,8CAHW,MAAM,GACJ,MAAM,CAWlB;AAED;;;;;;;GAOG;AACH,6DAJW,GAAG,QACH,UAAU;;;;;;;;;;;;;;;;;;;;;;;;EAiDpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BC;AAwGD,kEAEC;AAED,qDAUC;AAED,yDAmBC;AAxrBD;;GAEG;AACH,iCAoBE;AAEF;;GAEG;AACH,oCAGE;AAyUK,kEAgCN;AAEM,sGAWN;AASM,iDALI,MAAM,SACN,MAAM,iCA8ChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markImporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/v2/importer/markImporter.js"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,6EAFa,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"markImporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/v2/importer/markImporter.js"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,6EAFa,UAAU,EAAE,CA4ExB;AAED;;;;;GAKG;AACH,4CAJW,OAAO,gBACP,UAAU,EAAE,GACV,UAAU,EAAE,CAiBxB;AAED;;;;GAIG;AACH,yCAHW,UAAU,EAAE,GACV,UAAU,EAAE,CAoBxB"}
|