@harbour-enterprises/superdoc 0.6.101 → 0.6.102
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/{super-editor.es-j2PukWRy.js → super-editor.es-DpMrL-bU.js} +7 -7
- package/dist/chunks/{super-editor.es-j2PukWRy.js.map → super-editor.es-DpMrL-bU.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-BHk9ufcG.js → converter-BGYuHapM.js} +3 -3
- package/dist/super-editor/chunks/{converter-BHk9ufcG.js.map → converter-BGYuHapM.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-CEVAJwEk.js → docx-zipper-D4lHJs84.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-CEVAJwEk.js.map → docx-zipper-D4lHJs84.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-Brooq9vS.js → editor-B35pemal.js} +7 -7
- package/dist/super-editor/chunks/editor-B35pemal.js.map +1 -0
- package/dist/super-editor/chunks/{toolbar-hEi3APey.js → toolbar-Dc0qwLkT.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-hEi3APey.js.map → toolbar-Dc0qwLkT.js.map} +1 -1
- 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.es.js +1 -1
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +7 -7
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/chunks/editor-Brooq9vS.js.map +0 -1
|
@@ -20629,7 +20629,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
20629
20629
|
return;
|
|
20630
20630
|
}
|
|
20631
20631
|
}
|
|
20632
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.6.
|
|
20632
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.6.102") {
|
|
20633
20633
|
const customLocation = "docProps/custom.xml";
|
|
20634
20634
|
if (!docx[customLocation]) {
|
|
20635
20635
|
docx[customLocation] = generateCustomXml();
|
|
@@ -20902,7 +20902,7 @@ function storeSuperdocVersion(docx) {
|
|
|
20902
20902
|
function generateCustomXml() {
|
|
20903
20903
|
return DEFAULT_CUSTOM_XML;
|
|
20904
20904
|
}
|
|
20905
|
-
function generateSuperdocVersion(pid = 2, version = "0.6.
|
|
20905
|
+
function generateSuperdocVersion(pid = 2, version = "0.6.102") {
|
|
20906
20906
|
return {
|
|
20907
20907
|
type: "element",
|
|
20908
20908
|
name: "property",
|
|
@@ -35128,7 +35128,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
35128
35128
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
35129
35129
|
*/
|
|
35130
35130
|
processCollaborationMigrations() {
|
|
35131
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.6.
|
|
35131
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.6.102");
|
|
35132
35132
|
if (!this.options.ydoc) return;
|
|
35133
35133
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
35134
35134
|
let docVersion = metaMap.get("version");
|
|
@@ -35253,7 +35253,7 @@ checkHeadless_fn = function(options2) {
|
|
|
35253
35253
|
insertNewFileData_fn = function() {
|
|
35254
35254
|
if (!this.options.isNewFile) return;
|
|
35255
35255
|
this.options.isNewFile = false;
|
|
35256
|
-
const doc2 = __privateMethod$1(this, _Editor_instances, generatePmData_fn).call(this
|
|
35256
|
+
const doc2 = __privateMethod$1(this, _Editor_instances, generatePmData_fn).call(this);
|
|
35257
35257
|
const tr = this.state.tr.replaceWith(0, this.state.doc.content.size, doc2);
|
|
35258
35258
|
this.view.dispatch(tr);
|
|
35259
35259
|
setTimeout(() => {
|
|
@@ -35309,13 +35309,13 @@ initMedia_fn = function() {
|
|
|
35309
35309
|
createSchema_fn = function() {
|
|
35310
35310
|
this.schema = this.extensionService.schema;
|
|
35311
35311
|
};
|
|
35312
|
-
generatePmData_fn = function(
|
|
35312
|
+
generatePmData_fn = function() {
|
|
35313
35313
|
let doc2;
|
|
35314
35314
|
try {
|
|
35315
35315
|
const { mode, fragment, isHeadless, content, loadFromSchema } = this.options;
|
|
35316
35316
|
if (mode === "docx") {
|
|
35317
35317
|
doc2 = createDocument(this.converter, this.schema, this);
|
|
35318
|
-
|
|
35318
|
+
doc2 = __privateMethod$1(this, _Editor_instances, prepareDocumentForImport_fn).call(this, doc2);
|
|
35319
35319
|
if (fragment && isHeadless) {
|
|
35320
35320
|
doc2 = yXmlFragmentToProseMirrorRootNode(fragment, this.schema);
|
|
35321
35321
|
}
|
|
@@ -58632,4 +58632,4 @@ export {
|
|
|
58632
58632
|
helpers as k,
|
|
58633
58633
|
index as l
|
|
58634
58634
|
};
|
|
58635
|
-
//# sourceMappingURL=super-editor.es-
|
|
58635
|
+
//# sourceMappingURL=super-editor.es-DpMrL-bU.js.map
|