@superdoc-dev/cli 0.1.0-next.5 → 0.1.0-next.6
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/index.js +16 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35729,9 +35729,9 @@ var import_fast_glob = __toESM(require_out4(), 1);
|
|
|
35729
35729
|
// src/lib/editor.ts
|
|
35730
35730
|
import { readFile, writeFile } from "node:fs/promises";
|
|
35731
35731
|
|
|
35732
|
-
// ../../packages/superdoc/dist/chunks/index-
|
|
35733
|
-
var
|
|
35734
|
-
__export(
|
|
35732
|
+
// ../../packages/superdoc/dist/chunks/index-DQnVaaUh.es.js
|
|
35733
|
+
var exports_index_DQnVaaUh_es = {};
|
|
35734
|
+
__export(exports_index_DQnVaaUh_es, {
|
|
35735
35735
|
z: () => useCompitable,
|
|
35736
35736
|
y: () => useThemeClass,
|
|
35737
35737
|
x: () => createKey2,
|
|
@@ -35832,7 +35832,7 @@ __export(exports_index_CWIntMYO_es, {
|
|
|
35832
35832
|
$: () => throwError
|
|
35833
35833
|
});
|
|
35834
35834
|
|
|
35835
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
35835
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-ZjdOa4ea.es.js
|
|
35836
35836
|
init_jszip_BjHgpFjf_es();
|
|
35837
35837
|
|
|
35838
35838
|
// ../../packages/superdoc/dist/chunks/helpers-BsvIMOxu.es.js
|
|
@@ -45815,7 +45815,7 @@ function v4(options, buf, offset) {
|
|
|
45815
45815
|
return unsafeStringify(rnds);
|
|
45816
45816
|
}
|
|
45817
45817
|
|
|
45818
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
45818
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-ZjdOa4ea.es.js
|
|
45819
45819
|
function getDefaultExportFromCjs3(x2) {
|
|
45820
45820
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
45821
45821
|
}
|
|
@@ -78229,7 +78229,7 @@ class SuperConverter {
|
|
|
78229
78229
|
static getStoredSuperdocVersion(docx) {
|
|
78230
78230
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
78231
78231
|
}
|
|
78232
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version3 = "1.11.0-next.
|
|
78232
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version3 = "1.11.0-next.11") {
|
|
78233
78233
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version3, false);
|
|
78234
78234
|
}
|
|
78235
78235
|
static extractDocumentGuid(docx) {
|
|
@@ -78843,7 +78843,7 @@ function generateCustomXml() {
|
|
|
78843
78843
|
return DEFAULT_CUSTOM_XML;
|
|
78844
78844
|
}
|
|
78845
78845
|
|
|
78846
|
-
// ../../packages/superdoc/dist/chunks/index-
|
|
78846
|
+
// ../../packages/superdoc/dist/chunks/index-DQnVaaUh.es.js
|
|
78847
78847
|
init_jszip_BjHgpFjf_es();
|
|
78848
78848
|
init_vue_DI6_Tcq0_es();
|
|
78849
78849
|
|
|
@@ -84960,7 +84960,7 @@ class DocxZipper {
|
|
|
84960
84960
|
}
|
|
84961
84961
|
}
|
|
84962
84962
|
|
|
84963
|
-
// ../../packages/superdoc/dist/chunks/index-
|
|
84963
|
+
// ../../packages/superdoc/dist/chunks/index-DQnVaaUh.es.js
|
|
84964
84964
|
function getExtensionConfigField(extension, field, context = { name: "" }) {
|
|
84965
84965
|
const fieldValue = extension.config[field];
|
|
84966
84966
|
if (typeof fieldValue === "function") {
|
|
@@ -100122,7 +100122,7 @@ var canUseDOM = () => {
|
|
|
100122
100122
|
return false;
|
|
100123
100123
|
}
|
|
100124
100124
|
};
|
|
100125
|
-
var summaryVersion = "1.11.0-next.
|
|
100125
|
+
var summaryVersion = "1.11.0-next.11";
|
|
100126
100126
|
var nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
|
|
100127
100127
|
var markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
|
|
100128
100128
|
function mapAttributes(attrs) {
|
|
@@ -102102,7 +102102,7 @@ class Editor extends EventEmitter2 {
|
|
|
102102
102102
|
return migrations.length > 0;
|
|
102103
102103
|
}
|
|
102104
102104
|
processCollaborationMigrations() {
|
|
102105
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.11.0-next.
|
|
102105
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.11.0-next.11");
|
|
102106
102106
|
if (!this.options.ydoc)
|
|
102107
102107
|
return;
|
|
102108
102108
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
@@ -165119,8 +165119,8 @@ var isArguments2 = baseIsArguments(/* @__PURE__ */ function() {
|
|
|
165119
165119
|
function stubFalse() {
|
|
165120
165120
|
return false;
|
|
165121
165121
|
}
|
|
165122
|
-
var freeExports$2 = typeof
|
|
165123
|
-
var freeModule$2 = freeExports$2 && typeof
|
|
165122
|
+
var freeExports$2 = typeof exports_index_DQnVaaUh_es == "object" && exports_index_DQnVaaUh_es && !exports_index_DQnVaaUh_es.nodeType && exports_index_DQnVaaUh_es;
|
|
165123
|
+
var freeModule$2 = freeExports$2 && typeof module_index_DQnVaaUh_es == "object" && module_index_DQnVaaUh_es && !module_index_DQnVaaUh_es.nodeType && module_index_DQnVaaUh_es;
|
|
165124
165124
|
var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
|
|
165125
165125
|
var Buffer$1 = moduleExports$2 ? root3.Buffer : undefined;
|
|
165126
165126
|
var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : undefined;
|
|
@@ -165160,8 +165160,8 @@ function baseUnary(func) {
|
|
|
165160
165160
|
return func(value);
|
|
165161
165161
|
};
|
|
165162
165162
|
}
|
|
165163
|
-
var freeExports$1 = typeof
|
|
165164
|
-
var freeModule$1 = freeExports$1 && typeof
|
|
165163
|
+
var freeExports$1 = typeof exports_index_DQnVaaUh_es == "object" && exports_index_DQnVaaUh_es && !exports_index_DQnVaaUh_es.nodeType && exports_index_DQnVaaUh_es;
|
|
165164
|
+
var freeModule$1 = freeExports$1 && typeof module_index_DQnVaaUh_es == "object" && module_index_DQnVaaUh_es && !module_index_DQnVaaUh_es.nodeType && module_index_DQnVaaUh_es;
|
|
165165
165165
|
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
165166
165166
|
var freeProcess = moduleExports$1 && freeGlobal.process;
|
|
165167
165167
|
var nodeUtil = function() {
|
|
@@ -165534,8 +165534,8 @@ Stack.prototype["delete"] = stackDelete;
|
|
|
165534
165534
|
Stack.prototype.get = stackGet;
|
|
165535
165535
|
Stack.prototype.has = stackHas;
|
|
165536
165536
|
Stack.prototype.set = stackSet;
|
|
165537
|
-
var freeExports = typeof
|
|
165538
|
-
var freeModule = freeExports && typeof
|
|
165537
|
+
var freeExports = typeof exports_index_DQnVaaUh_es == "object" && exports_index_DQnVaaUh_es && !exports_index_DQnVaaUh_es.nodeType && exports_index_DQnVaaUh_es;
|
|
165538
|
+
var freeModule = freeExports && typeof module_index_DQnVaaUh_es == "object" && module_index_DQnVaaUh_es && !module_index_DQnVaaUh_es.nodeType && module_index_DQnVaaUh_es;
|
|
165539
165539
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
165540
165540
|
var Buffer3 = moduleExports ? root3.Buffer : undefined;
|
|
165541
165541
|
Buffer3 && Buffer3.allocUnsafe;
|