@harbour-enterprises/superdoc 0.15.15-next.6 → 0.15.15
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-CLT6oufV.cjs → eventemitter3-BgTTc0kr.cjs} +1 -1
- package/dist/chunks/{eventemitter3-BKLF7Ip6.es.js → eventemitter3-DESeWqCF.es.js} +1 -1
- package/dist/chunks/{index-B5xS6OKK.cjs → index-5s0lZrRi.cjs} +2 -2
- package/dist/chunks/{index-BqH3eQTm.es.js → index-BDb18xQR.es.js} +2 -2
- package/dist/chunks/{index-D612mw4O.es.js → index-CEIbpU5u.es.js} +4 -4
- package/dist/chunks/{index-DhQaJbc2.cjs → index-CjAcITPh.cjs} +2 -2
- package/dist/chunks/{index-ibuaxW1X.cjs → index-Dz0ZMALg.cjs} +4 -4
- package/dist/chunks/{index-DzFLdJgk.es.js → index-gYvWcHA-.es.js} +2 -2
- package/dist/chunks/{jszip-DWfnW2xV.cjs → jszip-BgN565V6.cjs} +1 -1
- package/dist/chunks/{jszip-BwJb6_S5.es.js → jszip-eJOLo2UN.es.js} +1 -1
- package/dist/chunks/{super-editor.es-CdfDwSnu.cjs → super-editor.es-NmCJaqdD.cjs} +16 -8
- package/dist/chunks/{super-editor.es-C7zZvN97.es.js → super-editor.es-xAdvkXvo.es.js} +16 -8
- package/dist/chunks/{url-CNqDAz7z.es.js → url-D1vPFtjG.es.js} +2 -2
- package/dist/chunks/{url-7PXI9_kJ.cjs → url-yluXzDeN.cjs} +2 -2
- package/dist/chunks/{vue-CfKg12kH.cjs → vue-BLDJYAe8.cjs} +14 -7
- package/dist/chunks/{vue-B_OPNNfX.es.js → vue-aMYj79Bx.es.js} +14 -7
- package/dist/chunks/{xml-js-Bn0K9fTK.es.js → xml-js-BWZkA4YC.es.js} +2 -2
- package/dist/chunks/{xml-js-B_rfwhrZ.cjs → xml-js-DahUgrqx.cjs} +2 -2
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-kiomXsjf.js → converter-D7XmeDOH.js} +12 -4
- package/dist/super-editor/chunks/{docx-zipper-CgcwHS6Z.js → docx-zipper--kGzJVSn.js} +1 -1
- package/dist/super-editor/chunks/{editor-klvlmBQ3.js → editor-DjvRido4.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-CP-xZEL7.js → toolbar-3rSaajpW.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Attribute.d.ts +2 -2
- package/dist/super-editor/core/Attribute.d.ts.map +1 -1
- package/dist/super-editor/core/Schema.d.ts +2 -2
- package/dist/super-editor/core/super-converter/exporter.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/tests/export/lineBreakExporter.test.d.ts +2 -0
- package/dist/super-editor/tests/export/lineBreakExporter.test.d.ts.map +1 -0
- 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 +8 -8
- package/dist/superdoc.es.js +9 -9
- package/dist/superdoc.umd.js +30 -15
- 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-BgN565V6.cjs");
|
|
3
|
+
const index$2 = require("./index-Dz0ZMALg.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-eJOLo2UN.es.js";
|
|
2
|
+
import { r as requireStreamHttp } from "./index-CEIbpU5u.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-eJOLo2UN.es.js";
|
|
2
|
+
import { p as process$1 } from "./vue-aMYj79Bx.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-BWZkA4YC.es.js";
|
|
4
|
+
import { u as url } from "./url-D1vPFtjG.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-BgN565V6.cjs");
|
|
3
|
+
const index$2 = require("./index-Dz0ZMALg.cjs");
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
for (var i = 0; i < m.length; i++) {
|
|
6
6
|
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-BgN565V6.cjs");
|
|
3
|
+
const vue = require("./vue-BLDJYAe8.cjs");
|
|
4
|
+
const xmlJs = require("./xml-js-DahUgrqx.cjs");
|
|
5
|
+
const url = require("./url-yluXzDeN.cjs");
|
|
6
6
|
var streamHttp = {};
|
|
7
7
|
var request = { exports: {} };
|
|
8
8
|
var capability = {};
|
|
@@ -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-eJOLo2UN.es.js";
|
|
2
|
+
import { r as requireStreamHttp, a as require$$1 } from "./index-CEIbpU5u.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,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const vue = require("./vue-
|
|
2
|
+
const vue = require("./vue-BLDJYAe8.cjs");
|
|
3
3
|
const Y = require("yjs");
|
|
4
4
|
function _interopNamespaceDefault(e) {
|
|
5
5
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -12356,9 +12356,11 @@ function removeRange(content, from2, to) {
|
|
|
12356
12356
|
function insertInto(content, dist2, insert, parent) {
|
|
12357
12357
|
let { index: index2, offset: offset2 } = content.findIndex(dist2), child = content.maybeChild(index2);
|
|
12358
12358
|
if (offset2 == dist2 || child.isText) {
|
|
12359
|
+
if (parent && !parent.canReplace(index2, index2, insert))
|
|
12360
|
+
return null;
|
|
12359
12361
|
return content.cut(0, dist2).append(insert).append(content.cut(dist2));
|
|
12360
12362
|
}
|
|
12361
|
-
let inner = insertInto(child.content, dist2 - offset2 - 1, insert);
|
|
12363
|
+
let inner = insertInto(child.content, dist2 - offset2 - 1, insert, child);
|
|
12362
12364
|
return inner && content.replaceChild(index2, child.copy(inner));
|
|
12363
12365
|
}
|
|
12364
12366
|
function replace($from, $to, slice2) {
|
|
@@ -24960,7 +24962,13 @@ function translateLineBreak(params2) {
|
|
|
24960
24962
|
attributes["w:type"] = lineBreakType;
|
|
24961
24963
|
}
|
|
24962
24964
|
return {
|
|
24963
|
-
name: "w:
|
|
24965
|
+
name: "w:r",
|
|
24966
|
+
elements: [
|
|
24967
|
+
{
|
|
24968
|
+
name: "w:br",
|
|
24969
|
+
attributes
|
|
24970
|
+
}
|
|
24971
|
+
],
|
|
24964
24972
|
attributes
|
|
24965
24973
|
};
|
|
24966
24974
|
}
|
|
@@ -28956,7 +28964,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
28956
28964
|
return;
|
|
28957
28965
|
}
|
|
28958
28966
|
}
|
|
28959
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.15
|
|
28967
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.15") {
|
|
28960
28968
|
const customLocation = "docProps/custom.xml";
|
|
28961
28969
|
if (!docx[customLocation]) {
|
|
28962
28970
|
docx[customLocation] = generateCustomXml();
|
|
@@ -29439,7 +29447,7 @@ function storeSuperdocVersion(docx) {
|
|
|
29439
29447
|
function generateCustomXml() {
|
|
29440
29448
|
return DEFAULT_CUSTOM_XML;
|
|
29441
29449
|
}
|
|
29442
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.15.15
|
|
29450
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.15.15") {
|
|
29443
29451
|
return {
|
|
29444
29452
|
type: "element",
|
|
29445
29453
|
name: "property",
|
|
@@ -45781,7 +45789,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
45781
45789
|
* @returns {Object | void} Migration results
|
|
45782
45790
|
*/
|
|
45783
45791
|
processCollaborationMigrations() {
|
|
45784
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.15.15
|
|
45792
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.15.15");
|
|
45785
45793
|
if (!this.options.ydoc) return;
|
|
45786
45794
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
45787
45795
|
let docVersion = metaMap.get("version");
|
|
@@ -73023,7 +73031,7 @@ const _sfc_main$b = {
|
|
|
73023
73031
|
class: "remove-btn__icon",
|
|
73024
73032
|
innerHTML: vue.unref(toolbarIcons).removeLink
|
|
73025
73033
|
}, null, 8, _hoisted_12),
|
|
73026
|
-
_cache[5] || (_cache[5] = vue.createTextVNode(" Remove "))
|
|
73034
|
+
_cache[5] || (_cache[5] = vue.createTextVNode(" Remove ", -1))
|
|
73027
73035
|
])) : vue.createCommentVNode("", true),
|
|
73028
73036
|
vue.createBaseVNode("button", {
|
|
73029
73037
|
class: vue.normalizeClass(["submit-btn", { "disable-btn": isDisabled2.value }]),
|
|
@@ -73222,7 +73230,7 @@ const _sfc_main$9 = {
|
|
|
73222
73230
|
innerHTML: vue.unref(DropIcon),
|
|
73223
73231
|
class: "none-icon"
|
|
73224
73232
|
}, null, 8, _hoisted_2$5),
|
|
73225
|
-
_cache[1] || (_cache[1] = vue.createTextVNode(" None "))
|
|
73233
|
+
_cache[1] || (_cache[1] = vue.createTextVNode(" None ", -1))
|
|
73226
73234
|
])) : vue.createCommentVNode("", true),
|
|
73227
73235
|
vue.createBaseVNode("div", _hoisted_3$4, [
|
|
73228
73236
|
vue.createVNode(IconGridRow, {
|
|
@@ -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-aMYj79Bx.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;
|
|
@@ -12339,9 +12339,11 @@ function removeRange(content, from2, to) {
|
|
|
12339
12339
|
function insertInto(content, dist2, insert, parent) {
|
|
12340
12340
|
let { index: index2, offset: offset2 } = content.findIndex(dist2), child = content.maybeChild(index2);
|
|
12341
12341
|
if (offset2 == dist2 || child.isText) {
|
|
12342
|
+
if (parent && !parent.canReplace(index2, index2, insert))
|
|
12343
|
+
return null;
|
|
12342
12344
|
return content.cut(0, dist2).append(insert).append(content.cut(dist2));
|
|
12343
12345
|
}
|
|
12344
|
-
let inner = insertInto(child.content, dist2 - offset2 - 1, insert);
|
|
12346
|
+
let inner = insertInto(child.content, dist2 - offset2 - 1, insert, child);
|
|
12345
12347
|
return inner && content.replaceChild(index2, child.copy(inner));
|
|
12346
12348
|
}
|
|
12347
12349
|
function replace($from, $to, slice2) {
|
|
@@ -24943,7 +24945,13 @@ function translateLineBreak(params2) {
|
|
|
24943
24945
|
attributes["w:type"] = lineBreakType;
|
|
24944
24946
|
}
|
|
24945
24947
|
return {
|
|
24946
|
-
name: "w:
|
|
24948
|
+
name: "w:r",
|
|
24949
|
+
elements: [
|
|
24950
|
+
{
|
|
24951
|
+
name: "w:br",
|
|
24952
|
+
attributes
|
|
24953
|
+
}
|
|
24954
|
+
],
|
|
24947
24955
|
attributes
|
|
24948
24956
|
};
|
|
24949
24957
|
}
|
|
@@ -28939,7 +28947,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
28939
28947
|
return;
|
|
28940
28948
|
}
|
|
28941
28949
|
}
|
|
28942
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.15
|
|
28950
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.15.15") {
|
|
28943
28951
|
const customLocation = "docProps/custom.xml";
|
|
28944
28952
|
if (!docx[customLocation]) {
|
|
28945
28953
|
docx[customLocation] = generateCustomXml();
|
|
@@ -29422,7 +29430,7 @@ function storeSuperdocVersion(docx) {
|
|
|
29422
29430
|
function generateCustomXml() {
|
|
29423
29431
|
return DEFAULT_CUSTOM_XML;
|
|
29424
29432
|
}
|
|
29425
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.15.15
|
|
29433
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.15.15") {
|
|
29426
29434
|
return {
|
|
29427
29435
|
type: "element",
|
|
29428
29436
|
name: "property",
|
|
@@ -45764,7 +45772,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
45764
45772
|
* @returns {Object | void} Migration results
|
|
45765
45773
|
*/
|
|
45766
45774
|
processCollaborationMigrations() {
|
|
45767
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.15.15
|
|
45775
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.15.15");
|
|
45768
45776
|
if (!this.options.ydoc) return;
|
|
45769
45777
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
45770
45778
|
let docVersion = metaMap.get("version");
|
|
@@ -73006,7 +73014,7 @@ const _sfc_main$b = {
|
|
|
73006
73014
|
class: "remove-btn__icon",
|
|
73007
73015
|
innerHTML: unref(toolbarIcons).removeLink
|
|
73008
73016
|
}, null, 8, _hoisted_12),
|
|
73009
|
-
_cache[5] || (_cache[5] = createTextVNode(" Remove "))
|
|
73017
|
+
_cache[5] || (_cache[5] = createTextVNode(" Remove ", -1))
|
|
73010
73018
|
])) : createCommentVNode("", true),
|
|
73011
73019
|
createBaseVNode("button", {
|
|
73012
73020
|
class: normalizeClass(["submit-btn", { "disable-btn": isDisabled2.value }]),
|
|
@@ -73205,7 +73213,7 @@ const _sfc_main$9 = {
|
|
|
73205
73213
|
innerHTML: unref(DropIcon),
|
|
73206
73214
|
class: "none-icon"
|
|
73207
73215
|
}, null, 8, _hoisted_2$5),
|
|
73208
|
-
_cache[1] || (_cache[1] = createTextVNode(" None "))
|
|
73216
|
+
_cache[1] || (_cache[1] = createTextVNode(" None ", -1))
|
|
73209
73217
|
])) : createCommentVNode("", true),
|
|
73210
73218
|
createBaseVNode("div", _hoisted_3$4, [
|
|
73211
73219
|
createVNode(IconGridRow, {
|
|
@@ -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-eJOLo2UN.es.js";
|
|
2
|
+
import { h as requireType, i as requireGetIntrinsic, j as requireCallBound } from "./xml-js-BWZkA4YC.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 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const jszip = require("./jszip-
|
|
3
|
-
const xmlJs = require("./xml-js-
|
|
2
|
+
const jszip = require("./jszip-BgN565V6.cjs");
|
|
3
|
+
const xmlJs = require("./xml-js-DahUgrqx.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 */
|
|
@@ -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.18
|
|
167
167
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
168
168
|
* @license MIT
|
|
169
169
|
**/
|
|
@@ -4286,7 +4286,8 @@ 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
|
|
4289
|
+
set: (val) => publicThis[key] = val,
|
|
4290
|
+
enumerable: true
|
|
4290
4291
|
});
|
|
4291
4292
|
});
|
|
4292
4293
|
} else if (!instance.exposed) {
|
|
@@ -4732,7 +4733,7 @@ function provide(key, value) {
|
|
|
4732
4733
|
}
|
|
4733
4734
|
}
|
|
4734
4735
|
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
4735
|
-
const instance =
|
|
4736
|
+
const instance = getCurrentInstance();
|
|
4736
4737
|
if (instance || currentApp) {
|
|
4737
4738
|
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
4739
|
if (provides && key in provides) {
|
|
@@ -4747,7 +4748,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
|
4747
4748
|
}
|
|
4748
4749
|
}
|
|
4749
4750
|
function hasInjectionContext() {
|
|
4750
|
-
return !!(
|
|
4751
|
+
return !!(getCurrentInstance() || currentApp);
|
|
4751
4752
|
}
|
|
4752
4753
|
const internalObjectProto = {};
|
|
4753
4754
|
const createInternalObject = () => Object.create(internalObjectProto);
|
|
@@ -5170,7 +5171,7 @@ function isExplicable(type) {
|
|
|
5170
5171
|
function isBoolean(...args) {
|
|
5171
5172
|
return args.some((elem) => elem.toLowerCase() === "boolean");
|
|
5172
5173
|
}
|
|
5173
|
-
const isInternalKey = (key) => key
|
|
5174
|
+
const isInternalKey = (key) => key === "_" || key === "__" || key === "_ctx" || key === "$stable";
|
|
5174
5175
|
const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
|
|
5175
5176
|
const normalizeSlot = (key, rawSlot, ctx) => {
|
|
5176
5177
|
if (rawSlot._n) {
|
|
@@ -5932,6 +5933,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5932
5933
|
if (!initialVNode.el) {
|
|
5933
5934
|
const placeholder = instance.subTree = createVNode(Comment);
|
|
5934
5935
|
processCommentNode(null, placeholder, container, anchor);
|
|
5936
|
+
initialVNode.placeholder = placeholder.el;
|
|
5935
5937
|
}
|
|
5936
5938
|
} else {
|
|
5937
5939
|
setupRenderEffect(
|
|
@@ -6401,7 +6403,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
6401
6403
|
for (i = toBePatched - 1; i >= 0; i--) {
|
|
6402
6404
|
const nextIndex = s2 + i;
|
|
6403
6405
|
const nextChild = c2[nextIndex];
|
|
6404
|
-
const
|
|
6406
|
+
const anchorVNode = c2[nextIndex + 1];
|
|
6407
|
+
const anchor = nextIndex + 1 < l2 ? (
|
|
6408
|
+
// #13559, fallback to el placeholder for unresolved async component
|
|
6409
|
+
anchorVNode.el || anchorVNode.placeholder
|
|
6410
|
+
) : parentAnchor;
|
|
6405
6411
|
if (newIndexToOldIndexMap[i] === 0) {
|
|
6406
6412
|
patch(
|
|
6407
6413
|
null,
|
|
@@ -7620,6 +7626,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
|
|
|
7620
7626
|
suspense: vnode.suspense,
|
|
7621
7627
|
ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
|
|
7622
7628
|
ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
|
|
7629
|
+
placeholder: vnode.placeholder,
|
|
7623
7630
|
el: vnode.el,
|
|
7624
7631
|
anchor: vnode.anchor,
|
|
7625
7632
|
ctx: vnode.ctx,
|
|
@@ -8352,7 +8359,7 @@ function initCustomFormatter() {
|
|
|
8352
8359
|
window.devtoolsFormatters = [formatter];
|
|
8353
8360
|
}
|
|
8354
8361
|
}
|
|
8355
|
-
const version = "3.5.
|
|
8362
|
+
const version = "3.5.18";
|
|
8356
8363
|
const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8357
8364
|
!!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
8358
8365
|
!!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
|
|
@@ -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.18
|
|
166
166
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
167
167
|
* @license MIT
|
|
168
168
|
**/
|
|
@@ -4285,7 +4285,8 @@ 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
|
|
4288
|
+
set: (val) => publicThis[key] = val,
|
|
4289
|
+
enumerable: true
|
|
4289
4290
|
});
|
|
4290
4291
|
});
|
|
4291
4292
|
} else if (!instance.exposed) {
|
|
@@ -4731,7 +4732,7 @@ function provide(key, value) {
|
|
|
4731
4732
|
}
|
|
4732
4733
|
}
|
|
4733
4734
|
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
4734
|
-
const instance =
|
|
4735
|
+
const instance = getCurrentInstance();
|
|
4735
4736
|
if (instance || currentApp) {
|
|
4736
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;
|
|
4737
4738
|
if (provides && key in provides) {
|
|
@@ -4746,7 +4747,7 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
|
4746
4747
|
}
|
|
4747
4748
|
}
|
|
4748
4749
|
function hasInjectionContext() {
|
|
4749
|
-
return !!(
|
|
4750
|
+
return !!(getCurrentInstance() || currentApp);
|
|
4750
4751
|
}
|
|
4751
4752
|
const internalObjectProto = {};
|
|
4752
4753
|
const createInternalObject = () => Object.create(internalObjectProto);
|
|
@@ -5169,7 +5170,7 @@ function isExplicable(type) {
|
|
|
5169
5170
|
function isBoolean(...args) {
|
|
5170
5171
|
return args.some((elem) => elem.toLowerCase() === "boolean");
|
|
5171
5172
|
}
|
|
5172
|
-
const isInternalKey = (key) => key
|
|
5173
|
+
const isInternalKey = (key) => key === "_" || key === "__" || key === "_ctx" || key === "$stable";
|
|
5173
5174
|
const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
|
|
5174
5175
|
const normalizeSlot = (key, rawSlot, ctx) => {
|
|
5175
5176
|
if (rawSlot._n) {
|
|
@@ -5931,6 +5932,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5931
5932
|
if (!initialVNode.el) {
|
|
5932
5933
|
const placeholder = instance.subTree = createVNode(Comment);
|
|
5933
5934
|
processCommentNode(null, placeholder, container, anchor);
|
|
5935
|
+
initialVNode.placeholder = placeholder.el;
|
|
5934
5936
|
}
|
|
5935
5937
|
} else {
|
|
5936
5938
|
setupRenderEffect(
|
|
@@ -6400,7 +6402,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
6400
6402
|
for (i = toBePatched - 1; i >= 0; i--) {
|
|
6401
6403
|
const nextIndex = s2 + i;
|
|
6402
6404
|
const nextChild = c2[nextIndex];
|
|
6403
|
-
const
|
|
6405
|
+
const anchorVNode = c2[nextIndex + 1];
|
|
6406
|
+
const anchor = nextIndex + 1 < l2 ? (
|
|
6407
|
+
// #13559, fallback to el placeholder for unresolved async component
|
|
6408
|
+
anchorVNode.el || anchorVNode.placeholder
|
|
6409
|
+
) : parentAnchor;
|
|
6404
6410
|
if (newIndexToOldIndexMap[i] === 0) {
|
|
6405
6411
|
patch(
|
|
6406
6412
|
null,
|
|
@@ -7619,6 +7625,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
|
|
|
7619
7625
|
suspense: vnode.suspense,
|
|
7620
7626
|
ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
|
|
7621
7627
|
ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
|
|
7628
|
+
placeholder: vnode.placeholder,
|
|
7622
7629
|
el: vnode.el,
|
|
7623
7630
|
anchor: vnode.anchor,
|
|
7624
7631
|
ctx: vnode.ctx,
|
|
@@ -8351,7 +8358,7 @@ function initCustomFormatter() {
|
|
|
8351
8358
|
window.devtoolsFormatters = [formatter];
|
|
8352
8359
|
}
|
|
8353
8360
|
}
|
|
8354
|
-
const version = "3.5.
|
|
8361
|
+
const version = "3.5.18";
|
|
8355
8362
|
const warn = !!(process$1.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8356
8363
|
!!(process$1.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
8357
8364
|
!!(process$1.env.NODE_ENV !== "production") || true ? setDevtoolsHook$1 : NOOP;
|
|
@@ -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-aMYj79Bx.es.js";
|
|
2
|
+
import { c as commonjsGlobal } from "./jszip-eJOLo2UN.es.js";
|
|
3
3
|
var inherits_browser = { exports: {} };
|
|
4
4
|
var hasRequiredInherits_browser;
|
|
5
5
|
function requireInherits_browser() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const vue = require("./vue-
|
|
3
|
-
const jszip = require("./jszip-
|
|
2
|
+
const vue = require("./vue-BLDJYAe8.cjs");
|
|
3
|
+
const jszip = require("./jszip-BgN565V6.cjs");
|
|
4
4
|
var inherits_browser = { exports: {} };
|
|
5
5
|
var hasRequiredInherits_browser;
|
|
6
6
|
function requireInherits_browser() {
|
|
@@ -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-D7XmeDOH.js";
|
|
3
|
+
import { _ as _export_sfc } from "./chunks/editor-DjvRido4.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 = {}) {
|
|
@@ -12337,9 +12337,11 @@ function removeRange(content, from, to) {
|
|
|
12337
12337
|
function insertInto(content, dist2, insert, parent) {
|
|
12338
12338
|
let { index, offset } = content.findIndex(dist2), child = content.maybeChild(index);
|
|
12339
12339
|
if (offset == dist2 || child.isText) {
|
|
12340
|
+
if (parent && !parent.canReplace(index, index, insert))
|
|
12341
|
+
return null;
|
|
12340
12342
|
return content.cut(0, dist2).append(insert).append(content.cut(dist2));
|
|
12341
12343
|
}
|
|
12342
|
-
let inner = insertInto(child.content, dist2 - offset - 1, insert);
|
|
12344
|
+
let inner = insertInto(child.content, dist2 - offset - 1, insert, child);
|
|
12343
12345
|
return inner && content.replaceChild(index, child.copy(inner));
|
|
12344
12346
|
}
|
|
12345
12347
|
function replace($from, $to, slice) {
|
|
@@ -24941,7 +24943,13 @@ function translateLineBreak(params) {
|
|
|
24941
24943
|
attributes["w:type"] = lineBreakType;
|
|
24942
24944
|
}
|
|
24943
24945
|
return {
|
|
24944
|
-
name: "w:
|
|
24946
|
+
name: "w:r",
|
|
24947
|
+
elements: [
|
|
24948
|
+
{
|
|
24949
|
+
name: "w:br",
|
|
24950
|
+
attributes
|
|
24951
|
+
}
|
|
24952
|
+
],
|
|
24945
24953
|
attributes
|
|
24946
24954
|
};
|
|
24947
24955
|
}
|
|
@@ -28937,7 +28945,7 @@ const _SuperConverter = class _SuperConverter {
|
|
|
28937
28945
|
return;
|
|
28938
28946
|
}
|
|
28939
28947
|
}
|
|
28940
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.15.15
|
|
28948
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.15.15") {
|
|
28941
28949
|
const customLocation = "docProps/custom.xml";
|
|
28942
28950
|
if (!docx[customLocation]) {
|
|
28943
28951
|
docx[customLocation] = generateCustomXml();
|
|
@@ -29423,7 +29431,7 @@ function storeSuperdocVersion(docx) {
|
|
|
29423
29431
|
function generateCustomXml() {
|
|
29424
29432
|
return DEFAULT_CUSTOM_XML;
|
|
29425
29433
|
}
|
|
29426
|
-
function generateSuperdocVersion(pid = 2, version = "0.15.15
|
|
29434
|
+
function generateSuperdocVersion(pid = 2, version = "0.15.15") {
|
|
29427
29435
|
return {
|
|
29428
29436
|
type: "element",
|
|
29429
29437
|
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-D7XmeDOH.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, _editor, _stateValidators, _requiredNodeTypes, _requiredMarkTypes, _SuperValidator_instances, initializeValidators_fn, collectValidatorRequirements_fn, analyzeDocument_fn, _commandService, _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, validateDocumentInit_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, N as NodeSelection, i as canSplit, j as defaultBlockAt$1, l as liftTarget, A as AllSelection, k as canJoin, m as joinPoint, n as Selection, r as replaceStep$1, F as Fragment, R as ReplaceAroundStep$1, o as Slice, 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 getListItemStyleDefinitions, ag as docxNumberigHelpers, ah as parseIndentElement, ai as combineIndents, aj as StepMap, 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, N as NodeSelection, i as canSplit, j as defaultBlockAt$1, l as liftTarget, A as AllSelection, k as canJoin, m as joinPoint, n as Selection, r as replaceStep$1, F as Fragment, R as ReplaceAroundStep$1, o as Slice, 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 getListItemStyleDefinitions, ag as docxNumberigHelpers, ah as parseIndentElement, ai as combineIndents, aj as StepMap, 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-D7XmeDOH.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--kGzJVSn.js";
|
|
18
18
|
var GOOD_LEAF_SIZE = 200;
|
|
19
19
|
var RopeSequence = function RopeSequence2() {
|
|
20
20
|
};
|
|
@@ -13856,7 +13856,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
13856
13856
|
* @returns {Object | void} Migration results
|
|
13857
13857
|
*/
|
|
13858
13858
|
processCollaborationMigrations() {
|
|
13859
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.15.15
|
|
13859
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.15.15");
|
|
13860
13860
|
if (!this.options.ydoc) return;
|
|
13861
13861
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
13862
13862
|
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-D7XmeDOH.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DjvRido4.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -15,14 +15,14 @@ export class Attribute {
|
|
|
15
15
|
* @param defaultAttribute Default attribute.
|
|
16
16
|
* @returns Global extension attributes.
|
|
17
17
|
*/
|
|
18
|
-
static
|
|
18
|
+
static #getGlobalAttributes(extensions: any, defaultAttribute: any): any[];
|
|
19
19
|
/**
|
|
20
20
|
* Get a list of attributes defined in the Node and Mark extensions.
|
|
21
21
|
* @param extensions List of all extensions.
|
|
22
22
|
* @param defaultAttribute Default attribute.
|
|
23
23
|
* @returns Node and Mark extension attributes.
|
|
24
24
|
*/
|
|
25
|
-
static
|
|
25
|
+
static #getNodeAndMarksAttributes(extensions: any, defaultAttribute: any): {
|
|
26
26
|
type: any;
|
|
27
27
|
name: string;
|
|
28
28
|
attribute: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attribute.d.ts","sourceRoot":"","sources":["../../src/core/Attribute.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH;IACE;;;;OAIG;IACH,2DAiBC;IAED;;;;;OAKG;IACH,
|
|
1
|
+
{"version":3,"file":"Attribute.d.ts","sourceRoot":"","sources":["../../src/core/Attribute.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH;IACE;;;;OAIG;IACH,2DAiBC;IAED;;;;;OAKG;IACH,2EAsCC;IAED;;;;;OAKG;IACH;;;;QAuCC;IAED;;;;OAIG;IACH,iFAqCC;IAED;;;;OAIG;IACH,uEAgBC;IAED;;;;OAIG;IACH,8CAgCC;IAED;;;;;;OAMG;IACH;;MAYC;IAED;;;;;OAKG;IACH,2DASC;IAED;;;;;OAKG;IACH,2DAcC;IAED;;;;;OAKG;IACH,uDAeC;CACF"}
|
|
@@ -16,7 +16,7 @@ export class Schema {
|
|
|
16
16
|
* @param editor Editor instance.
|
|
17
17
|
* @returns Nodes schema.
|
|
18
18
|
*/
|
|
19
|
-
static
|
|
19
|
+
static #createNodesSchema(nodeExtensions: any, attributes: any, editor: any): {
|
|
20
20
|
[k: string]: any;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
@@ -26,7 +26,7 @@ export class Schema {
|
|
|
26
26
|
* @param editor Editor instance.
|
|
27
27
|
* @returns Marks schema.
|
|
28
28
|
*/
|
|
29
|
-
static
|
|
29
|
+
static #createMarksSchema(markExtensions: any, attributes: any, editor: any): {
|
|
30
30
|
[k: string]: any;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AA0BA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAyCxB;AA+DD;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB;
|
|
1
|
+
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AA0BA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAyCxB;AA+DD;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB;AA21DD;;;;;;;;;EAgBC;AA2ID;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAsEF;AAqLM,4DAHI,MAAM,OAmChB;;;;;;;;;;;;;mBAr8Ea,KAAQ;;;;;;UAKR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|