@harbour-enterprises/superdoc 0.5.30 → 0.5.31
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-BA_mdA6w.js → super-editor.es-DMDcpmLc.js} +11 -17
- package/dist/chunks/{super-editor.es-BA_mdA6w.js.map → super-editor.es-DMDcpmLc.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-Bf4vuyf_.js → converter-Djou60Jz.js} +10 -16
- package/dist/super-editor/chunks/{converter-Bf4vuyf_.js.map → converter-Djou60Jz.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-wVf3lUNu.js → docx-zipper-D9FHbIda.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-wVf3lUNu.js.map → docx-zipper-D9FHbIda.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-CBxqQxrw.js → editor-CV7o9CWj.js} +4 -4
- package/dist/super-editor/chunks/{editor-CBxqQxrw.js.map → editor-CV7o9CWj.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-J8344Vds.js → toolbar-veena5Bo.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-J8344Vds.js.map → toolbar-veena5Bo.js.map} +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- 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 +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/package.json +1 -1
|
@@ -2469,14 +2469,7 @@ var _eval = EvalError;
|
|
|
2469
2469
|
var range = RangeError;
|
|
2470
2470
|
var ref = ReferenceError;
|
|
2471
2471
|
var syntax = SyntaxError;
|
|
2472
|
-
var type;
|
|
2473
|
-
var hasRequiredType;
|
|
2474
|
-
function requireType() {
|
|
2475
|
-
if (hasRequiredType) return type;
|
|
2476
|
-
hasRequiredType = 1;
|
|
2477
|
-
type = TypeError;
|
|
2478
|
-
return type;
|
|
2479
|
-
}
|
|
2472
|
+
var type = TypeError;
|
|
2480
2473
|
var uri = URIError;
|
|
2481
2474
|
var abs$1 = Math.abs;
|
|
2482
2475
|
var floor$1 = Math.floor;
|
|
@@ -2634,7 +2627,7 @@ var $call$2 = functionCall;
|
|
|
2634
2627
|
var $reflectApply = reflectApply$1;
|
|
2635
2628
|
var actualApply$1 = $reflectApply || bind$5.call($call$2, $apply$2);
|
|
2636
2629
|
var bind$4 = functionBind;
|
|
2637
|
-
var $TypeError$4 =
|
|
2630
|
+
var $TypeError$4 = type;
|
|
2638
2631
|
var $call$1 = functionCall;
|
|
2639
2632
|
var $actualApply = actualApply$1;
|
|
2640
2633
|
var callBindApplyHelpers = function callBindBasic2(args) {
|
|
@@ -2705,7 +2698,7 @@ var $EvalError = _eval;
|
|
|
2705
2698
|
var $RangeError = range;
|
|
2706
2699
|
var $ReferenceError = ref;
|
|
2707
2700
|
var $SyntaxError$1 = syntax;
|
|
2708
|
-
var $TypeError$3 =
|
|
2701
|
+
var $TypeError$3 = type;
|
|
2709
2702
|
var $URIError = uri;
|
|
2710
2703
|
var abs = abs$1;
|
|
2711
2704
|
var floor = floor$1;
|
|
@@ -3113,7 +3106,7 @@ var isRegex$1 = fn;
|
|
|
3113
3106
|
var callBound$2 = callBound$5;
|
|
3114
3107
|
var isRegex = isRegex$1;
|
|
3115
3108
|
var $exec = callBound$2("RegExp.prototype.exec");
|
|
3116
|
-
var $TypeError$2 =
|
|
3109
|
+
var $TypeError$2 = type;
|
|
3117
3110
|
var safeRegexTest$1 = function regexTester(regex) {
|
|
3118
3111
|
if (!isRegex(regex)) {
|
|
3119
3112
|
throw new $TypeError$2("`regex` must be a RegExp");
|
|
@@ -3353,7 +3346,7 @@ var availableTypedArrays$1 = function availableTypedArrays2() {
|
|
|
3353
3346
|
var callBind$1 = { exports: {} };
|
|
3354
3347
|
var $defineProperty$1 = esDefineProperty;
|
|
3355
3348
|
var $SyntaxError = syntax;
|
|
3356
|
-
var $TypeError$1 =
|
|
3349
|
+
var $TypeError$1 = type;
|
|
3357
3350
|
var gopd = gopd$1;
|
|
3358
3351
|
var defineDataProperty = function defineDataProperty2(obj, property, value) {
|
|
3359
3352
|
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -3411,7 +3404,7 @@ var GetIntrinsic = getIntrinsic;
|
|
|
3411
3404
|
var define = defineDataProperty;
|
|
3412
3405
|
var hasDescriptors = hasPropertyDescriptors_1();
|
|
3413
3406
|
var gOPD$1 = gopd$1;
|
|
3414
|
-
var $TypeError =
|
|
3407
|
+
var $TypeError = type;
|
|
3415
3408
|
var $floor = GetIntrinsic("%Math.floor%");
|
|
3416
3409
|
var setFunctionLength = function setFunctionLength2(fn6, length) {
|
|
3417
3410
|
if (typeof fn6 !== "function") {
|
|
@@ -49669,6 +49662,7 @@ function translateLinkNode(params) {
|
|
|
49669
49662
|
}
|
|
49670
49663
|
function addNewLinkRelationship(params, link) {
|
|
49671
49664
|
const newId = "rId" + generateDocxRandomId();
|
|
49665
|
+
if (!params.relationships || !Array.isArray(params.relationships)) params.relationships = [];
|
|
49672
49666
|
params.relationships.push({
|
|
49673
49667
|
type: "element",
|
|
49674
49668
|
name: "Relationship",
|
|
@@ -52526,7 +52520,7 @@ const _SuperConverter = class _SuperConverter {
|
|
|
52526
52520
|
return;
|
|
52527
52521
|
}
|
|
52528
52522
|
}
|
|
52529
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.
|
|
52523
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.31") {
|
|
52530
52524
|
const customLocation = "docProps/custom.xml";
|
|
52531
52525
|
if (!docx[customLocation]) {
|
|
52532
52526
|
docx[customLocation] = generateCustomXml();
|
|
@@ -52773,7 +52767,7 @@ function storeSuperdocVersion(docx) {
|
|
|
52773
52767
|
function generateCustomXml() {
|
|
52774
52768
|
return DEFAULT_CUSTOM_XML;
|
|
52775
52769
|
}
|
|
52776
|
-
function generateSuperdocVersion(version2 = "0.5.
|
|
52770
|
+
function generateSuperdocVersion(version2 = "0.5.31") {
|
|
52777
52771
|
return {
|
|
52778
52772
|
type: "element",
|
|
52779
52773
|
name: "property",
|
|
@@ -52845,4 +52839,4 @@ export {
|
|
|
52845
52839
|
twipsToLines as y,
|
|
52846
52840
|
pixelsToTwips as z
|
|
52847
52841
|
};
|
|
52848
|
-
//# sourceMappingURL=converter-
|
|
52842
|
+
//# sourceMappingURL=converter-Djou60Jz.js.map
|