superdoc 1.13.0-next.11 → 1.13.0-next.12
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-DQEyJpec.es.js → PdfViewer-BY01oNeC.es.js} +3 -3
- package/dist/chunks/{PdfViewer-HEsojuD7.cjs → PdfViewer-Ce8mJaNh.cjs} +3 -3
- package/dist/chunks/{SuperConverter-DFTZy43a.es.js → SuperConverter-Dux7hvIY.es.js} +1 -1
- package/dist/chunks/{SuperConverter-B2m9tnlo.cjs → SuperConverter-cCtwPuPC.cjs} +1 -1
- package/dist/chunks/{comments-store-DV90DDQ3.cjs → comments-store-M-sNLSDo.cjs} +1 -1
- package/dist/chunks/{comments-store-DCIfr1YM.es.js → comments-store-_bERwKQj.es.js} +1 -1
- package/dist/chunks/{src-CyAfkS7q.cjs → src-BS9k_Tm_.cjs} +5 -4
- package/dist/chunks/{src-dZ91gUmG.es.js → src-cSv7yD90.es.js} +5 -4
- package/dist/super-editor/converter.cjs +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/extensions/placeholder/placeholder.d.ts.map +1 -1
- package/dist/super-editor/src/extensions/placeholder/placeholder.d.ts.map +1 -1
- package/dist/super-editor/tsconfig.types.tsbuildinfo +1 -1
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +5 -5
- package/dist/superdoc.es.js +5 -5
- package/dist/superdoc.umd.js +6 -5
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as useCompitable, D as warnOnce, L as pxfy, R as c, U as createKey, V as cM, b as useThemeClass, et as __plugin_vue_export_helper_default, f as light_default$1, m as use_theme_default, p as fadeInTransition, x as useConfig, z as cB } from "./src-
|
|
2
|
-
import "./SuperConverter-
|
|
1
|
+
import { A as useCompitable, D as warnOnce, L as pxfy, R as c, U as createKey, V as cM, b as useThemeClass, et as __plugin_vue_export_helper_default, f as light_default$1, m as use_theme_default, p as fadeInTransition, x as useConfig, z as cB } from "./src-cSv7yD90.es.js";
|
|
2
|
+
import "./SuperConverter-Dux7hvIY.es.js";
|
|
3
3
|
import "./helpers-DFNWSYpB.es.js";
|
|
4
4
|
import { n as init_dist, r as process$1 } from "./jszip-DmQt_IET.es.js";
|
|
5
5
|
import "./xml-js-BYjoxUnf.es.js";
|
|
6
|
-
import { f as storeToRefs, i as useSelection, n as useSuperdocStore, p as Loading_default } from "./comments-store-
|
|
6
|
+
import { f as storeToRefs, i as useSelection, n as useSuperdocStore, p as Loading_default } from "./comments-store-_bERwKQj.es.js";
|
|
7
7
|
import "./DocxZipper-DP4evZmt.es.js";
|
|
8
8
|
import { F as onMounted, I as onUnmounted, L as openBlock, S as defineComponent, T as h, W as watchEffect, _ as createCommentVNode, b as createVNode, h as createBaseVNode, m as computed, ot as unref, t as Transition, tt as ref, v as createElementBlock } from "./vue--Hddm509.es.js";
|
|
9
9
|
import "./eventemitter3-CllYWHI6.es.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-Dp2H1eGw.cjs");
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
require("./SuperConverter-
|
|
2
|
+
const require_src = require("./src-BS9k_Tm_.cjs");
|
|
3
|
+
require("./SuperConverter-cCtwPuPC.cjs");
|
|
4
4
|
require("./helpers-DTjYh3Fu.cjs");
|
|
5
5
|
const require_jszip = require("./jszip-Dmo1nQ1j.cjs");
|
|
6
6
|
require("./xml-js-XW5hGFSq.cjs");
|
|
7
|
-
const require_comments_store = require("./comments-store-
|
|
7
|
+
const require_comments_store = require("./comments-store-M-sNLSDo.cjs");
|
|
8
8
|
require("./DocxZipper-BRbF0v1D.cjs");
|
|
9
9
|
const require_vue = require("./vue-DBUiP_Rf.cjs");
|
|
10
10
|
require("./eventemitter3-CEw7qfX9.cjs");
|
|
@@ -33864,7 +33864,7 @@ var SuperConverter = class SuperConverter {
|
|
|
33864
33864
|
static getStoredSuperdocVersion(docx) {
|
|
33865
33865
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
33866
33866
|
}
|
|
33867
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.13.0-next.
|
|
33867
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.13.0-next.12") {
|
|
33868
33868
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
33869
33869
|
}
|
|
33870
33870
|
static generateWordTimestamp() {
|
|
@@ -33882,7 +33882,7 @@ var SuperConverter = class SuperConverter {
|
|
|
33882
33882
|
static getStoredSuperdocVersion(docx) {
|
|
33883
33883
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
33884
33884
|
}
|
|
33885
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.13.0-next.
|
|
33885
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.13.0-next.12") {
|
|
33886
33886
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
33887
33887
|
}
|
|
33888
33888
|
static generateWordTimestamp() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-Dp2H1eGw.cjs");
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-BS9k_Tm_.cjs");
|
|
3
3
|
const require_jszip = require("./jszip-Dmo1nQ1j.cjs");
|
|
4
4
|
const require_uuid = require("./uuid-LBaLT4fl.cjs");
|
|
5
5
|
const require_vue = require("./vue-DBUiP_Rf.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as createEncoder, B as cE, Bt as comments_module_events, Ct as ObservableV2, Dt as readVarString, E as throwError, Et as createDecoder, Ft as create, It as min, Lt as pow, Mt as toUint8Array, Nt as writeVarUint, O as useSsrAdapter, Ot as readVarUint, Pt as writeVarUint8Array, Q as getRichTextExtensions, R as c, S as configProviderInjectionKey, St as map, Tt as getUnixTime, _t as varStorage, at as Editor, bt as encodeAwarenessUpdate, ct as CommentsPluginKey, dt as createUint8ArrayFromArrayBuffer, ft as fromBase64, g as _common_default, gt as onChange, h as index_cssr_default$1, ht as offChange, j as isMounted, jt as length, kt as readVarUint8Array, lt as TrackChangesBasePluginKey, mt as isNode, pt as toBase64, ut as getTrackChanges, v as cssrAnchorMetaName, vt as Awareness, wt as setIfUndefined, xt as removeAwarenessStates, yt as applyAwarenessUpdate, z as cB, zt as getFileObject } from "./src-
|
|
1
|
+
import { At as createEncoder, B as cE, Bt as comments_module_events, Ct as ObservableV2, Dt as readVarString, E as throwError, Et as createDecoder, Ft as create, It as min, Lt as pow, Mt as toUint8Array, Nt as writeVarUint, O as useSsrAdapter, Ot as readVarUint, Pt as writeVarUint8Array, Q as getRichTextExtensions, R as c, S as configProviderInjectionKey, St as map, Tt as getUnixTime, _t as varStorage, at as Editor, bt as encodeAwarenessUpdate, ct as CommentsPluginKey, dt as createUint8ArrayFromArrayBuffer, ft as fromBase64, g as _common_default, gt as onChange, h as index_cssr_default$1, ht as offChange, j as isMounted, jt as length, kt as readVarUint8Array, lt as TrackChangesBasePluginKey, mt as isNode, pt as toBase64, ut as getTrackChanges, v as cssrAnchorMetaName, vt as Awareness, wt as setIfUndefined, xt as removeAwarenessStates, yt as applyAwarenessUpdate, z as cB, zt as getFileObject } from "./src-cSv7yD90.es.js";
|
|
2
2
|
import { a as init_dist$1, i as global, n as init_dist, r as process$1 } from "./jszip-DmQt_IET.es.js";
|
|
3
3
|
import { t as v4_default } from "./uuid-CzripdPy.es.js";
|
|
4
4
|
import { $ as reactive, A as nextTick, C as getCurrentInstance, D as inject, E as hasInjectionContext, J as getCurrentScope, M as onBeforeMount, Q as onScopeDispose, S as defineComponent, T as h, U as watch, X as isRef, Y as isReactive, Z as markRaw, at as toRefs, it as toRef, m as computed, nt as shallowRef, ot as unref, q as effectScope, rt as toRaw, t as Transition, tt as ref } from "./vue--Hddm509.es.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-Dp2H1eGw.cjs");
|
|
2
|
-
const require_SuperConverter = require("./SuperConverter-
|
|
2
|
+
const require_SuperConverter = require("./SuperConverter-cCtwPuPC.cjs");
|
|
3
3
|
const require_helpers = require("./helpers-DTjYh3Fu.cjs");
|
|
4
4
|
const require_jszip = require("./jszip-Dmo1nQ1j.cjs");
|
|
5
5
|
const require_uuid = require("./uuid-LBaLT4fl.cjs");
|
|
@@ -242,7 +242,7 @@ var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
|
242
242
|
const COMMUNITY_LICENSE_KEY = "community-and-eval-agplv3";
|
|
243
243
|
function getSuperdocVersion() {
|
|
244
244
|
try {
|
|
245
|
-
return "1.13.0-next.
|
|
245
|
+
return "1.13.0-next.12";
|
|
246
246
|
} catch {
|
|
247
247
|
return "unknown";
|
|
248
248
|
}
|
|
@@ -13678,7 +13678,7 @@ const canUseDOM = () => {
|
|
|
13678
13678
|
return false;
|
|
13679
13679
|
}
|
|
13680
13680
|
};
|
|
13681
|
-
var summaryVersion = "1.13.0-next.
|
|
13681
|
+
var summaryVersion = "1.13.0-next.12";
|
|
13682
13682
|
var nodeKeys = [
|
|
13683
13683
|
"group",
|
|
13684
13684
|
"content",
|
|
@@ -15400,7 +15400,7 @@ var Editor = class Editor extends EventEmitter$1 {
|
|
|
15400
15400
|
return migrations.length > 0;
|
|
15401
15401
|
}
|
|
15402
15402
|
processCollaborationMigrations() {
|
|
15403
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.13.0-next.
|
|
15403
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.13.0-next.12");
|
|
15404
15404
|
if (!this.options.ydoc) return;
|
|
15405
15405
|
let docVersion = this.options.ydoc.getMap("meta").get("version");
|
|
15406
15406
|
if (!docVersion) docVersion = "initial";
|
|
@@ -65836,6 +65836,7 @@ const Placeholder = Extension.create({
|
|
|
65836
65836
|
const applyDecoration = (state) => {
|
|
65837
65837
|
if (state.doc.textBetween(0, state.doc.content.size, " ", " ") !== "") return DecorationSet.empty;
|
|
65838
65838
|
const { $from } = state.selection;
|
|
65839
|
+
if ($from.depth === 0) return DecorationSet.empty;
|
|
65839
65840
|
const decoration = Decoration.node($from.before(), $from.after(), {
|
|
65840
65841
|
"data-placeholder": this.options.placeholder,
|
|
65841
65842
|
class: "sd-editor-placeholder"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, n as __esmMin, r as __export, t as __commonJSMin } from "./rolldown-runtime-B2q5OVn9.es.js";
|
|
2
|
-
import { $ as AddMarkStep, A as getMarksFromSelection, At as Schema$1, B as getMarkType, C as generateOrderedListIndex, Ct as TrackFormatMarkName, D as findChildren$1, Dt as DOMSerializer, E as posToDOMRect, Et as DOMParser$1, F as getMarkRange, Ft as getExtensionConfigField, G as AllSelection, H as cleanSchemaItem, I as isTextSelection, J as Plugin, K as EditorState, L as findParentNode, M as isNodeActive, Mt as minMax, N as getSchemaTypeNameByName, Nt as objectIncludes, O as getActiveFormatting, Ot as Fragment$1, P as isMarkActive, Pt as callOrGet, Q as TextSelection$1, R as findParentNodeClosestToPos, S as docxNumberingHelpers, St as TrackDeleteMarkName, T as isInTable, Tt as carbonCopy, U as getSchemaTypeByName, V as getNodeType, W as createDocument, X as Selection, Y as PluginKey, Z as SelectionRange, _ as changeListLevel, _t as resolveDocxFontFamily, a as _getReferencedTableStyles, at as canJoin, b as calculateResolvedParagraphProperties, bt as resolveTableCellProperties, c as processContent, ct as joinPoint, d as InputRule, dt as generateDocxRandomId, et as Mapping, f as handleClipboardPaste, ft as generateRandomSigned32BitIntStrId, g as ListHelpers, gt as encodeMarksFromRPr, h as unflattenListsInHtml, ht as encodeCSSFromRPr, it as Transform, j as isActive, jt as Slice, k as findMark, kt as Mark$1, l as createDocFromMarkdown, lt as liftTarget, m as inputRulesPlugin, mt as encodeCSSFromPPr, n as kebabCase$1, nt as ReplaceAroundStep$1, o as helpers_exports, ot as canSplit, p as htmlHandler, pt as decodeRPrFromMarks, q as NodeSelection, r as insertNewRelationship, rt as ReplaceStep, s as updateDOMAttributes, st as dropPoint, t as SuperConverter, tt as RemoveMarkStep, u as createDocFromHTML, ut as replaceStep$1, v as updateNumberingProperties, vt as resolveParagraphProperties, w as CommandService, wt as TrackInsertMarkName, x as getResolvedParagraphProperties, xt as getUnderlineCssString, y as isList, yt as resolveRunProperties, z as defaultBlockAt$1 } from "./SuperConverter-
|
|
2
|
+
import { $ as AddMarkStep, A as getMarksFromSelection, At as Schema$1, B as getMarkType, C as generateOrderedListIndex, Ct as TrackFormatMarkName, D as findChildren$1, Dt as DOMSerializer, E as posToDOMRect, Et as DOMParser$1, F as getMarkRange, Ft as getExtensionConfigField, G as AllSelection, H as cleanSchemaItem, I as isTextSelection, J as Plugin, K as EditorState, L as findParentNode, M as isNodeActive, Mt as minMax, N as getSchemaTypeNameByName, Nt as objectIncludes, O as getActiveFormatting, Ot as Fragment$1, P as isMarkActive, Pt as callOrGet, Q as TextSelection$1, R as findParentNodeClosestToPos, S as docxNumberingHelpers, St as TrackDeleteMarkName, T as isInTable, Tt as carbonCopy, U as getSchemaTypeByName, V as getNodeType, W as createDocument, X as Selection, Y as PluginKey, Z as SelectionRange, _ as changeListLevel, _t as resolveDocxFontFamily, a as _getReferencedTableStyles, at as canJoin, b as calculateResolvedParagraphProperties, bt as resolveTableCellProperties, c as processContent, ct as joinPoint, d as InputRule, dt as generateDocxRandomId, et as Mapping, f as handleClipboardPaste, ft as generateRandomSigned32BitIntStrId, g as ListHelpers, gt as encodeMarksFromRPr, h as unflattenListsInHtml, ht as encodeCSSFromRPr, it as Transform, j as isActive, jt as Slice, k as findMark, kt as Mark$1, l as createDocFromMarkdown, lt as liftTarget, m as inputRulesPlugin, mt as encodeCSSFromPPr, n as kebabCase$1, nt as ReplaceAroundStep$1, o as helpers_exports, ot as canSplit, p as htmlHandler, pt as decodeRPrFromMarks, q as NodeSelection, r as insertNewRelationship, rt as ReplaceStep, s as updateDOMAttributes, st as dropPoint, t as SuperConverter, tt as RemoveMarkStep, u as createDocFromHTML, ut as replaceStep$1, v as updateNumberingProperties, vt as resolveParagraphProperties, w as CommandService, wt as TrackInsertMarkName, x as getResolvedParagraphProperties, xt as getUnderlineCssString, y as isList, yt as resolveRunProperties, z as defaultBlockAt$1 } from "./SuperConverter-Dux7hvIY.es.js";
|
|
3
3
|
import { C as resolveOpcTargetPath, D as twipsToInches, O as twipsToLines, S as ptToTwips, d as inchesToPixels, f as inchesToTwips, j as Buffer$2, k as twipsToPixels, m as linesToTwips, o as getArrayBufferFromUrl, t as convertSizeToCSS, u as halfPointToPoints, y as pixelsToTwips } from "./helpers-DFNWSYpB.es.js";
|
|
4
4
|
import { a as init_dist$2, i as global, n as init_dist, o as Buffer$3, r as process$1, s as init_dist$1 } from "./jszip-DmQt_IET.es.js";
|
|
5
5
|
import { t as v4_default } from "./uuid-CzripdPy.es.js";
|
|
@@ -241,7 +241,7 @@ var v_click_outside_default = {
|
|
|
241
241
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
242
242
|
function getSuperdocVersion() {
|
|
243
243
|
try {
|
|
244
|
-
return "1.13.0-next.
|
|
244
|
+
return "1.13.0-next.12";
|
|
245
245
|
} catch {
|
|
246
246
|
return "unknown";
|
|
247
247
|
}
|
|
@@ -13659,7 +13659,7 @@ const canUseDOM = () => {
|
|
|
13659
13659
|
return false;
|
|
13660
13660
|
}
|
|
13661
13661
|
};
|
|
13662
|
-
var summaryVersion = "1.13.0-next.
|
|
13662
|
+
var summaryVersion = "1.13.0-next.12";
|
|
13663
13663
|
var nodeKeys = [
|
|
13664
13664
|
"group",
|
|
13665
13665
|
"content",
|
|
@@ -15379,7 +15379,7 @@ var Editor = class Editor extends EventEmitter$1 {
|
|
|
15379
15379
|
return migrations.length > 0;
|
|
15380
15380
|
}
|
|
15381
15381
|
processCollaborationMigrations() {
|
|
15382
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.13.0-next.
|
|
15382
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.13.0-next.12");
|
|
15383
15383
|
if (!this.options.ydoc) return;
|
|
15384
15384
|
let docVersion = this.options.ydoc.getMap("meta").get("version");
|
|
15385
15385
|
if (!docVersion) docVersion = "initial";
|
|
@@ -65784,6 +65784,7 @@ const Placeholder = Extension.create({
|
|
|
65784
65784
|
const applyDecoration = (state) => {
|
|
65785
65785
|
if (state.doc.textBetween(0, state.doc.content.size, " ", " ") !== "") return DecorationSet.empty;
|
|
65786
65786
|
const { $from } = state.selection;
|
|
65787
|
+
if ($from.depth === 0) return DecorationSet.empty;
|
|
65787
65788
|
const decoration = Decoration.node($from.before(), $from.after(), {
|
|
65788
65789
|
"data-placeholder": this.options.placeholder,
|
|
65789
65790
|
class: "sd-editor-placeholder"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../chunks/rolldown-runtime-Dp2H1eGw.cjs");
|
|
3
|
-
const require_SuperConverter = require("../chunks/SuperConverter-
|
|
3
|
+
const require_SuperConverter = require("../chunks/SuperConverter-cCtwPuPC.cjs");
|
|
4
4
|
require("../chunks/helpers-DTjYh3Fu.cjs");
|
|
5
5
|
require("../chunks/jszip-Dmo1nQ1j.cjs");
|
|
6
6
|
require("../chunks/xml-js-XW5hGFSq.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SuperConverter } from "../chunks/SuperConverter-
|
|
1
|
+
import { t as SuperConverter } from "../chunks/SuperConverter-Dux7hvIY.es.js";
|
|
2
2
|
import "../chunks/helpers-DFNWSYpB.es.js";
|
|
3
3
|
import "../chunks/jszip-DmQt_IET.es.js";
|
|
4
4
|
import "../chunks/xml-js-BYjoxUnf.es.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../src/extensions/placeholder/placeholder.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH;;
|
|
1
|
+
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../src/extensions/placeholder/placeholder.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH;;0BA0CG;;;;;0BAxDuB,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../src/extensions/placeholder/placeholder.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH;;
|
|
1
|
+
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../src/extensions/placeholder/placeholder.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;GAIG;AACH;;0BA0CG;;;;;0BAxDuB,oBAAoB"}
|