@harbour-enterprises/superdoc 0.19.0-next.2 → 0.19.0-next.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-D-X0_rBI.cjs → PdfViewer-BXpR6HYz.cjs} +1 -1
- package/dist/chunks/{PdfViewer-D59q6eRC.es.js → PdfViewer-e5Sqf3uK.es.js} +1 -1
- package/dist/chunks/{index-DYxO8sGC.es.js → index-Bgbca9Qo.es.js} +3 -3
- package/dist/chunks/{index-Q9QnSj8V.cjs → index-Dg8DEGbE.cjs} +3 -3
- package/dist/chunks/{super-editor.es-DfRBE7HT.cjs → super-editor.es-BbN2QJLe.cjs} +4 -8
- package/dist/chunks/{super-editor.es-DcrpYhcf.es.js → super-editor.es-Dga1v3zZ.es.js} +4 -8
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-C8B4S-1x.js → converter-CMajoq-M.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-BOcyXVbk.js → docx-zipper-C5rg6GNf.js} +1 -1
- package/dist/super-editor/chunks/{editor-DSLtHYXL.js → editor-CH3sE8Fq.js} +4 -8
- package/dist/super-editor/chunks/{toolbar-bgMTmwZ7.js → toolbar-BHnLBr61.js} +2 -2
- 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 +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +5 -9
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const vue = require("./vue-DWle4Cai.cjs");
|
|
4
|
-
const superdoc = require("./index-
|
|
4
|
+
const superdoc = require("./index-Dg8DEGbE.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as defineComponent, B as h, O as Transition, $ as process$1, I as watchEffect, d as computed, r as ref, j as onMounted, W as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, f as createCommentVNode, v as createVNode, x as unref } from "./vue-CXxsqYcP.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-Bgbca9Qo.es.js";
|
|
3
3
|
function self(vars) {
|
|
4
4
|
const {
|
|
5
5
|
opacityDisabled,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as index$1, 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 "./super-editor.es-
|
|
1
|
+
import { q as index$1, 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 "./super-editor.es-Dga1v3zZ.es.js";
|
|
2
2
|
import { a0 as effectScope, r as ref, _ as markRaw, $ as process$1, a1 as toRaw, d as computed, a2 as isRef, a3 as isReactive, C as toRef, i as inject, p as getCurrentInstance, l as watch, x as unref, a4 as hasInjectionContext, M as reactive, s as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, J as shallowRef, N as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, S as onActivated, q as onDeactivated, z as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, D as provide, H as withDirectives, B as h, U as Teleport, R as renderSlot, V as isVNode, I as watchEffect, O as Transition, a8 as TransitionGroup, E as mergeProps, P as vShow, G as cloneVNode, T as Text, c as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, y as withCtx, a as createBaseVNode, A as normalizeStyle, f as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a9 as resolveDirective, e as renderList, b as createApp, X as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-CXxsqYcP.es.js";
|
|
3
3
|
import { B as Buffer$2 } from "./jszip-B8KIZSNe.es.js";
|
|
4
4
|
import { B as BlankDOCX } from "./blank-docx-iwdyG9RH.es.js";
|
|
@@ -17262,7 +17262,7 @@ const _sfc_main = {
|
|
|
17262
17262
|
__name: "SuperDoc",
|
|
17263
17263
|
emits: ["selection-update"],
|
|
17264
17264
|
setup(__props, { emit: __emit }) {
|
|
17265
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17265
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-e5Sqf3uK.es.js"));
|
|
17266
17266
|
const superdocStore = useSuperdocStore();
|
|
17267
17267
|
const commentsStore = useCommentsStore();
|
|
17268
17268
|
const {
|
|
@@ -17906,7 +17906,7 @@ class SuperDoc extends EventEmitter {
|
|
|
17906
17906
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17907
17907
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17908
17908
|
this.colorIndex = 0;
|
|
17909
|
-
this.version = "0.
|
|
17909
|
+
this.version = "0.18.1";
|
|
17910
17910
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17911
17911
|
this.superdocId = config.superdocId || v4();
|
|
17912
17912
|
this.colors = this.config.colors;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const superEditor_es = require("./super-editor.es-
|
|
2
|
+
const superEditor_es = require("./super-editor.es-BbN2QJLe.cjs");
|
|
3
3
|
const vue = require("./vue-DWle4Cai.cjs");
|
|
4
4
|
const jszip = require("./jszip-b7l8QkfH.cjs");
|
|
5
5
|
const blankDocx = require("./blank-docx-CPqX9RF5.cjs");
|
|
@@ -17279,7 +17279,7 @@ const _sfc_main = {
|
|
|
17279
17279
|
__name: "SuperDoc",
|
|
17280
17280
|
emits: ["selection-update"],
|
|
17281
17281
|
setup(__props, { emit: __emit }) {
|
|
17282
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17282
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-BXpR6HYz.cjs")));
|
|
17283
17283
|
const superdocStore = useSuperdocStore();
|
|
17284
17284
|
const commentsStore = useCommentsStore();
|
|
17285
17285
|
const {
|
|
@@ -17923,7 +17923,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
17923
17923
|
this.config.colors = shuffleArray(this.config.colors);
|
|
17924
17924
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
17925
17925
|
this.colorIndex = 0;
|
|
17926
|
-
this.version = "0.
|
|
17926
|
+
this.version = "0.18.1";
|
|
17927
17927
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
17928
17928
|
this.superdocId = config.superdocId || uuid.v4();
|
|
17929
17929
|
this.colors = this.config.colors;
|
|
@@ -30786,7 +30786,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
30786
30786
|
return;
|
|
30787
30787
|
}
|
|
30788
30788
|
}
|
|
30789
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.
|
|
30789
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.18.1") {
|
|
30790
30790
|
const customLocation = "docProps/custom.xml";
|
|
30791
30791
|
if (!docx[customLocation]) {
|
|
30792
30792
|
docx[customLocation] = generateCustomXml();
|
|
@@ -31268,7 +31268,7 @@ function storeSuperdocVersion(docx) {
|
|
|
31268
31268
|
function generateCustomXml() {
|
|
31269
31269
|
return DEFAULT_CUSTOM_XML;
|
|
31270
31270
|
}
|
|
31271
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.
|
|
31271
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.18.1") {
|
|
31272
31272
|
return {
|
|
31273
31273
|
type: "element",
|
|
31274
31274
|
name: "property",
|
|
@@ -48442,7 +48442,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
48442
48442
|
* @returns {Object | void} Migration results
|
|
48443
48443
|
*/
|
|
48444
48444
|
processCollaborationMigrations() {
|
|
48445
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.
|
|
48445
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.18.1");
|
|
48446
48446
|
if (!this.options.ydoc) return;
|
|
48447
48447
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
48448
48448
|
let docVersion = metaMap.get("version");
|
|
@@ -58888,11 +58888,7 @@ const ContentBlock = Node$1.create({
|
|
|
58888
58888
|
];
|
|
58889
58889
|
},
|
|
58890
58890
|
renderDOM({ htmlAttributes }) {
|
|
58891
|
-
return [
|
|
58892
|
-
"div",
|
|
58893
|
-
Attribute2.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name }),
|
|
58894
|
-
0
|
|
58895
|
-
];
|
|
58891
|
+
return ["div", Attribute2.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name })];
|
|
58896
58892
|
},
|
|
58897
58893
|
addCommands() {
|
|
58898
58894
|
return {
|
|
@@ -30769,7 +30769,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
30769
30769
|
return;
|
|
30770
30770
|
}
|
|
30771
30771
|
}
|
|
30772
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.
|
|
30772
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.18.1") {
|
|
30773
30773
|
const customLocation = "docProps/custom.xml";
|
|
30774
30774
|
if (!docx[customLocation]) {
|
|
30775
30775
|
docx[customLocation] = generateCustomXml();
|
|
@@ -31251,7 +31251,7 @@ function storeSuperdocVersion(docx) {
|
|
|
31251
31251
|
function generateCustomXml() {
|
|
31252
31252
|
return DEFAULT_CUSTOM_XML;
|
|
31253
31253
|
}
|
|
31254
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.
|
|
31254
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.18.1") {
|
|
31255
31255
|
return {
|
|
31256
31256
|
type: "element",
|
|
31257
31257
|
name: "property",
|
|
@@ -48425,7 +48425,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
48425
48425
|
* @returns {Object | void} Migration results
|
|
48426
48426
|
*/
|
|
48427
48427
|
processCollaborationMigrations() {
|
|
48428
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.
|
|
48428
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.18.1");
|
|
48429
48429
|
if (!this.options.ydoc) return;
|
|
48430
48430
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
48431
48431
|
let docVersion = metaMap.get("version");
|
|
@@ -58871,11 +58871,7 @@ const ContentBlock = Node$1.create({
|
|
|
58871
58871
|
];
|
|
58872
58872
|
},
|
|
58873
58873
|
renderDOM({ htmlAttributes }) {
|
|
58874
|
-
return [
|
|
58875
|
-
"div",
|
|
58876
|
-
Attribute2.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name }),
|
|
58877
|
-
0
|
|
58878
|
-
];
|
|
58874
|
+
return ["div", Attribute2.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name })];
|
|
58879
58875
|
},
|
|
58880
58876
|
addCommands() {
|
|
58881
58877
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuperDoc.d.ts","sourceRoot":"","sources":["../../src/core/SuperDoc.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;GAQG;AAEH,2EAA2E;AAE3E;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAEH;;;;;;GAMG;AACH;IACE,4BAA4B;IAC5B,qBADW,KAAK,CAAC,MAAM,CAAC,CACgB;IAwExC;;OAEG;IACH,oBAFW,MAAM,EAKhB;IA5ED,qBAAqB;IACrB,SADW,MAAM,CACT;IAER,qBAAqB;IACrB,OADW,IAAI,EAAE,CACX;IAEN,4CAA4C;IAC5C,MADW,OAAO,KAAK,EAAE,GAAG,GAAG,SAAS,CACnC;IAEL,4EAA4E;IAC5E,UADW,OAAO,sBAAsB,EAAE,kBAAkB,GAAG,SAAS,CAC/D;IAET,qBAAqB;IACrB,QADW,MAAM,CAwDf;IAiBA,4BAA6B;IAC7B,mBAAmB;IAMnB,gBAA+C;IAC/C,iBAAgC;IAehC,WAA4B;IAE5B,YAAkB;IAElB,eAAuC;IAEvC;;;;;;;;;;;;0BAqqB8kid,aAAa;;;;;;;;;;;6BAA8vJ,aAAa;;;;;;;;;;;;;;;;mCAAmnU,aAAa;0BAA5snB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SuperDoc.d.ts","sourceRoot":"","sources":["../../src/core/SuperDoc.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;GAQG;AAEH,2EAA2E;AAE3E;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAEH;;;;;;GAM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AAO,CAAC,MAAM,CAAC;;;;eAC/B,IAAI;;;;aACJ,OAAO;;;;gCACP,OAAO;;;;;;;;yBAEP,OAAO;;;;WACP,MAAM;;;;eACN,MAAM;;;;cACN,OAAO;;6BA5GQ,eAAe;0BASlB,0CAA0C;6BAJ5B,mCAAmC;8BAC7C,iEAAiE"}
|
|
@@ -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-CMajoq-M.js";
|
|
3
|
+
import { _ as _export_sfc } from "./chunks/editor-CH3sE8Fq.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 = {}) {
|
|
@@ -30776,7 +30776,7 @@ const _SuperConverter = class _SuperConverter {
|
|
|
30776
30776
|
return;
|
|
30777
30777
|
}
|
|
30778
30778
|
}
|
|
30779
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.
|
|
30779
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.18.1") {
|
|
30780
30780
|
const customLocation = "docProps/custom.xml";
|
|
30781
30781
|
if (!docx[customLocation]) {
|
|
30782
30782
|
docx[customLocation] = generateCustomXml();
|
|
@@ -31261,7 +31261,7 @@ function storeSuperdocVersion(docx) {
|
|
|
31261
31261
|
function generateCustomXml() {
|
|
31262
31262
|
return DEFAULT_CUSTOM_XML;
|
|
31263
31263
|
}
|
|
31264
|
-
function generateSuperdocVersion(pid = 2, version = "0.
|
|
31264
|
+
function generateSuperdocVersion(pid = 2, version = "0.18.1") {
|
|
31265
31265
|
return {
|
|
31266
31266
|
type: "element",
|
|
31267
31267
|
name: "property",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as process$1, aw as commonjsGlobal, B as Buffer, ax as getDefaultExportFromCjs, ay as getContentTypesFromXml, az as xmljs } from "./converter-
|
|
1
|
+
import { p as process$1, aw as commonjsGlobal, B as Buffer, ax as getDefaultExportFromCjs, ay as getContentTypesFromXml, az as xmljs } from "./converter-CMajoq-M.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, _xmlValidators, _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, createView_fn, onCollaborationReady_fn, initComments_fn, initPagination_fn, dispatchTransaction_fn, handleNodeSelection_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, validateDocumentInit_fn, validateDocumentExport_fn, initDevTools_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, N as NodeSelection, S as Selection, T as TextSelection, 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 Buffer2, 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 comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as InputRule, ah as kebabCase, ai as findParentNodeClosestToPos, aj as getListItemStyleDefinitions, ak as docxNumberigHelpers, al as parseIndentElement, am as combineIndents, an as StepMap, ao as getColStyleDeclaration, ap as SelectionRange, aq as Transform, ar as isInTable$1, as as createColGroup, at as generateDocxRandomId, au as insertNewRelationship, av as htmlHandler } from "./converter-
|
|
15
|
+
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, 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 Buffer2, 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 comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as InputRule, ah as kebabCase, ai as findParentNodeClosestToPos, aj as getListItemStyleDefinitions, ak as docxNumberigHelpers, al as parseIndentElement, am as combineIndents, an as StepMap, ao as getColStyleDeclaration, ap as SelectionRange, aq as Transform, ar as isInTable$1, as as createColGroup, at as generateDocxRandomId, au as insertNewRelationship, av as htmlHandler } from "./converter-CMajoq-M.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-C5rg6GNf.js";
|
|
18
18
|
var GOOD_LEAF_SIZE = 200;
|
|
19
19
|
var RopeSequence = function RopeSequence2() {
|
|
20
20
|
};
|
|
@@ -14668,7 +14668,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14668
14668
|
* @returns {Object | void} Migration results
|
|
14669
14669
|
*/
|
|
14670
14670
|
processCollaborationMigrations() {
|
|
14671
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.
|
|
14671
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.18.1");
|
|
14672
14672
|
if (!this.options.ydoc) return;
|
|
14673
14673
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
14674
14674
|
let docVersion = metaMap.get("version");
|
|
@@ -25231,11 +25231,7 @@ const ContentBlock = Node$1.create({
|
|
|
25231
25231
|
];
|
|
25232
25232
|
},
|
|
25233
25233
|
renderDOM({ htmlAttributes }) {
|
|
25234
|
-
return [
|
|
25235
|
-
"div",
|
|
25236
|
-
Attribute.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name }),
|
|
25237
|
-
0
|
|
25238
|
-
];
|
|
25234
|
+
return ["div", Attribute.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name })];
|
|
25239
25235
|
},
|
|
25240
25236
|
addCommands() {
|
|
25241
25237
|
return {
|
|
@@ -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 { p as process$1 } from "./converter-
|
|
3
|
-
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-
|
|
2
|
+
import { p as process$1 } from "./converter-CMajoq-M.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-CH3sE8Fq.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -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-CH3sE8Fq.js";
|
|
2
|
+
import "./chunks/converter-CMajoq-M.js";
|
|
3
|
+
import "./chunks/docx-zipper-C5rg6GNf.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
|
|
|
9
9
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
10
10
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
11
11
|
var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import { ax as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aA as vClickOutside, H as findParentNode, aB as getActiveFormatting, ar as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as translator, aG as translator$1, aH as translator$2, a as Plugin } from "./chunks/converter-
|
|
13
|
-
import { aI, a5, i, a2 } from "./chunks/converter-
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, s as startImageUpload, y as yUndoPluginKey, d as undoDepth, r as redoDepth, S as SlashMenuPluginKey, E as Editor, e as getStarterExtensions, P as Placeholder, f as getRichTextExtensions, M as Mark, h as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
15
|
-
import { k, C, l, T, i as i2, m, j } from "./chunks/editor-
|
|
12
|
+
import { ax as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aA as vClickOutside, H as findParentNode, aB as getActiveFormatting, ar as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as translator, aG as translator$1, aH as translator$2, a as Plugin } from "./chunks/converter-CMajoq-M.js";
|
|
13
|
+
import { aI, a5, i, a2 } from "./chunks/converter-CMajoq-M.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, s as startImageUpload, y as yUndoPluginKey, d as undoDepth, r as redoDepth, S as SlashMenuPluginKey, E as Editor, e as getStarterExtensions, P as Placeholder, f as getRichTextExtensions, M as Mark, h as Extension, A as Attribute, N as Node } from "./chunks/editor-CH3sE8Fq.js";
|
|
15
|
+
import { k, C, l, T, i as i2, m, j } from "./chunks/editor-CH3sE8Fq.js";
|
|
16
16
|
import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, p as plusIconSvg, a as trashIconSvg, l as linkIconSvg, b as tableIconSvg, c as scissorsIconSvg, d as copyIconSvg, e as pasteIconSvg, f as borderNoneIconSvg, g as arrowsToDotIconSvg, h as arrowsLeftRightIconSvg, w as wrenchIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, p as plusIconSvg, a as trashIconSvg, l as linkIconSvg, b as tableIconSvg, c as scissorsIconSvg, d as copyIconSvg, e as pasteIconSvg, f as borderNoneIconSvg, g as arrowsToDotIconSvg, h as arrowsLeftRightIconSvg, w as wrenchIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-BHnLBr61.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-C5rg6GNf.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-BbN2QJLe.cjs");
|
|
4
4
|
require("./chunks/vue-DWle4Cai.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
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/super-editor.es-
|
|
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/super-editor.es-Dga1v3zZ.es.js";
|
|
2
2
|
import "./chunks/vue-CXxsqYcP.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-BbN2QJLe.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-Dg8DEGbE.cjs");
|
|
5
5
|
require("./chunks/vue-DWle4Cai.cjs");
|
|
6
6
|
require("./chunks/jszip-b7l8QkfH.cjs");
|
|
7
7
|
const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-
|
|
2
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-Dga1v3zZ.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-Bgbca9Qo.es.js";
|
|
3
3
|
import "./chunks/vue-CXxsqYcP.es.js";
|
|
4
4
|
import "./chunks/jszip-B8KIZSNe.es.js";
|
|
5
5
|
import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -38484,7 +38484,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
38484
38484
|
return;
|
|
38485
38485
|
}
|
|
38486
38486
|
}
|
|
38487
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.
|
|
38487
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.18.1") {
|
|
38488
38488
|
const customLocation = "docProps/custom.xml";
|
|
38489
38489
|
if (!docx[customLocation]) {
|
|
38490
38490
|
docx[customLocation] = generateCustomXml();
|
|
@@ -38966,7 +38966,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
38966
38966
|
function generateCustomXml() {
|
|
38967
38967
|
return DEFAULT_CUSTOM_XML;
|
|
38968
38968
|
}
|
|
38969
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.
|
|
38969
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.18.1") {
|
|
38970
38970
|
return {
|
|
38971
38971
|
type: "element",
|
|
38972
38972
|
name: "property",
|
|
@@ -56140,7 +56140,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
56140
56140
|
* @returns {Object | void} Migration results
|
|
56141
56141
|
*/
|
|
56142
56142
|
processCollaborationMigrations() {
|
|
56143
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.
|
|
56143
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.18.1");
|
|
56144
56144
|
if (!this.options.ydoc) return;
|
|
56145
56145
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
56146
56146
|
let docVersion = metaMap.get("version");
|
|
@@ -66586,11 +66586,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
66586
66586
|
];
|
|
66587
66587
|
},
|
|
66588
66588
|
renderDOM({ htmlAttributes }) {
|
|
66589
|
-
return [
|
|
66590
|
-
"div",
|
|
66591
|
-
Attribute.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name }),
|
|
66592
|
-
0
|
|
66593
|
-
];
|
|
66589
|
+
return ["div", Attribute.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name })];
|
|
66594
66590
|
},
|
|
66595
66591
|
addCommands() {
|
|
66596
66592
|
return {
|
|
@@ -106259,7 +106255,7 @@ ${style2}
|
|
|
106259
106255
|
this.config.colors = shuffleArray(this.config.colors);
|
|
106260
106256
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
106261
106257
|
this.colorIndex = 0;
|
|
106262
|
-
this.version = "0.
|
|
106258
|
+
this.version = "0.18.1";
|
|
106263
106259
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
106264
106260
|
this.superdocId = config2.superdocId || v4();
|
|
106265
106261
|
this.colors = this.config.colors;
|