@harbour-enterprises/superdoc 0.13.2-rev12 → 0.13.2-rev13
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/{index-BqLFjUHn.es.js → index-Bwe_KBGC.es.js} +1 -1
- package/dist/chunks/{index-kOMfCfBT.cjs → index-QFHilT7W.cjs} +2 -2
- package/dist/chunks/{index-DS3W0eVB.es.js → index-T0O8VtHF.es.js} +2 -2
- package/dist/chunks/{index-CweAXNfB.cjs → index-v0Pu3REB.cjs} +1 -1
- package/dist/chunks/{super-editor.es-BKgM1pcY.cjs → super-editor.es-CsiTGIkB.cjs} +3 -3
- package/dist/chunks/{super-editor.es-C_Nq6j7z.es.js → super-editor.es-DxeFHR2r.es.js} +3 -3
- package/dist/chunks/{url-Bq00tGvm.es.js → url-B6fLHlvt.es.js} +1 -1
- package/dist/chunks/{url-B8LY3nwf.cjs → url-CLXKvLKS.cjs} +1 -1
- package/dist/chunks/{xml-js-1F0lia4t.es.js → xml-js-BOAZhvuK.es.js} +111 -83
- package/dist/chunks/{xml-js-BuAdLsHD.cjs → xml-js-Dq_F6UB0.cjs} +111 -83
- package/dist/style.css +5 -0
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BaxWFoHG.js → converter-CpZwp286.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-DultQQrr.js → docx-zipper-DjBfWgqD.js} +1 -1
- package/dist/super-editor/chunks/{editor-ClD1k7gi.js → editor-Bo39dh9q.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BBZO5GG_.js → toolbar-DcVBLMjT.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/style.css +5 -0
- 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 +5 -5
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +4 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getDefaultExportFromCjs } from "./jszip-Cl3s9njw.es.js";
|
|
2
|
-
import { s as streamHttp, r as require$$1 } from "./index-
|
|
2
|
+
import { s as streamHttp, r as require$$1 } from "./index-T0O8VtHF.es.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jszip = require("./jszip-9bCX1h2W.cjs");
|
|
3
3
|
const vue = require("./vue-BBjMeYfo.cjs");
|
|
4
|
-
const xmlJs = require("./xml-js-
|
|
5
|
-
const url = require("./url-
|
|
4
|
+
const xmlJs = require("./xml-js-Dq_F6UB0.cjs");
|
|
5
|
+
const url = require("./url-CLXKvLKS.cjs");
|
|
6
6
|
function _mergeNamespaces(n, m) {
|
|
7
7
|
for (var i = 0; i < m.length; i++) {
|
|
8
8
|
const e = m[i];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as commonjsGlobal, B as Buffer, a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./jszip-Cl3s9njw.es.js";
|
|
2
2
|
import { p as process$1 } from "./vue-BBJVqxjL.es.js";
|
|
3
|
-
import { e as eventsExports, r as require$$2, u as util, i as inherits_browserExports, b as browser$1, a as requireString_decoder } from "./xml-js-
|
|
4
|
-
import { u as url } from "./url-
|
|
3
|
+
import { e as eventsExports, r as require$$2, u as util, i as inherits_browserExports, b as browser$1, a as requireString_decoder } from "./xml-js-BOAZhvuK.es.js";
|
|
4
|
+
import { u as url } from "./url-B6fLHlvt.es.js";
|
|
5
5
|
function _mergeNamespaces(n, m) {
|
|
6
6
|
for (var i = 0; i < m.length; i++) {
|
|
7
7
|
const e = m[i];
|
|
@@ -23989,7 +23989,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
23989
23989
|
return;
|
|
23990
23990
|
}
|
|
23991
23991
|
}
|
|
23992
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.13.2-
|
|
23992
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.13.2-rev13") {
|
|
23993
23993
|
const customLocation = "docProps/custom.xml";
|
|
23994
23994
|
if (!docx[customLocation]) {
|
|
23995
23995
|
docx[customLocation] = generateCustomXml();
|
|
@@ -24456,7 +24456,7 @@ function storeSuperdocVersion(docx) {
|
|
|
24456
24456
|
function generateCustomXml() {
|
|
24457
24457
|
return DEFAULT_CUSTOM_XML;
|
|
24458
24458
|
}
|
|
24459
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.13.2-
|
|
24459
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.13.2-rev13") {
|
|
24460
24460
|
return {
|
|
24461
24461
|
type: "element",
|
|
24462
24462
|
name: "property",
|
|
@@ -41378,7 +41378,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
41378
41378
|
* @returns {Object | void} Migration results
|
|
41379
41379
|
*/
|
|
41380
41380
|
processCollaborationMigrations() {
|
|
41381
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.13.2-
|
|
41381
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.13.2-rev13");
|
|
41382
41382
|
if (!this.options.ydoc) return;
|
|
41383
41383
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
41384
41384
|
let docVersion = metaMap.get("version");
|
|
@@ -23972,7 +23972,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
23972
23972
|
return;
|
|
23973
23973
|
}
|
|
23974
23974
|
}
|
|
23975
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.13.2-
|
|
23975
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.13.2-rev13") {
|
|
23976
23976
|
const customLocation = "docProps/custom.xml";
|
|
23977
23977
|
if (!docx[customLocation]) {
|
|
23978
23978
|
docx[customLocation] = generateCustomXml();
|
|
@@ -24439,7 +24439,7 @@ function storeSuperdocVersion(docx) {
|
|
|
24439
24439
|
function generateCustomXml() {
|
|
24440
24440
|
return DEFAULT_CUSTOM_XML;
|
|
24441
24441
|
}
|
|
24442
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.13.2-
|
|
24442
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.13.2-rev13") {
|
|
24443
24443
|
return {
|
|
24444
24444
|
type: "element",
|
|
24445
24445
|
name: "property",
|
|
@@ -41361,7 +41361,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
41361
41361
|
* @returns {Object | void} Migration results
|
|
41362
41362
|
*/
|
|
41363
41363
|
processCollaborationMigrations() {
|
|
41364
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.13.2-
|
|
41364
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.13.2-rev13");
|
|
41365
41365
|
if (!this.options.ydoc) return;
|
|
41366
41366
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
41367
41367
|
let docVersion = metaMap.get("version");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./jszip-Cl3s9njw.es.js";
|
|
2
|
-
import { t as type, g as getIntrinsic, c as callBound$2 } from "./xml-js-
|
|
2
|
+
import { t as type, g as getIntrinsic, c as callBound$2 } from "./xml-js-BOAZhvuK.es.js";
|
|
3
3
|
import { _ as __viteBrowserExternal } from "./__vite-browser-external-CURh0WXD.es.js";
|
|
4
4
|
var punycode$1 = { exports: {} };
|
|
5
5
|
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jszip = require("./jszip-9bCX1h2W.cjs");
|
|
3
|
-
const xmlJs = require("./xml-js-
|
|
3
|
+
const xmlJs = require("./xml-js-Dq_F6UB0.cjs");
|
|
4
4
|
const __viteBrowserExternal = require("./__vite-browser-external-DWbQq7bv.cjs");
|
|
5
5
|
var punycode$1 = { exports: {} };
|
|
6
6
|
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
@@ -456,7 +456,7 @@ var type = TypeError;
|
|
|
456
456
|
var uri = URIError;
|
|
457
457
|
var abs$1 = Math.abs;
|
|
458
458
|
var floor$1 = Math.floor;
|
|
459
|
-
var max$
|
|
459
|
+
var max$1 = Math.max;
|
|
460
460
|
var min$1 = Math.min;
|
|
461
461
|
var pow$1 = Math.pow;
|
|
462
462
|
var round$1 = Math.round;
|
|
@@ -514,80 +514,108 @@ function requireHasSymbols() {
|
|
|
514
514
|
return hasSymbols$1;
|
|
515
515
|
}
|
|
516
516
|
var Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
517
|
-
var
|
|
518
|
-
var
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
var
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
var
|
|
534
|
-
var
|
|
535
|
-
|
|
536
|
-
arr
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
}
|
|
540
|
-
var
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
517
|
+
var Object_getPrototypeOf;
|
|
518
|
+
var hasRequiredObject_getPrototypeOf;
|
|
519
|
+
function requireObject_getPrototypeOf() {
|
|
520
|
+
if (hasRequiredObject_getPrototypeOf) return Object_getPrototypeOf;
|
|
521
|
+
hasRequiredObject_getPrototypeOf = 1;
|
|
522
|
+
var $Object2 = esObjectAtoms;
|
|
523
|
+
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
524
|
+
return Object_getPrototypeOf;
|
|
525
|
+
}
|
|
526
|
+
var implementation;
|
|
527
|
+
var hasRequiredImplementation;
|
|
528
|
+
function requireImplementation() {
|
|
529
|
+
if (hasRequiredImplementation) return implementation;
|
|
530
|
+
hasRequiredImplementation = 1;
|
|
531
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
532
|
+
var toStr2 = Object.prototype.toString;
|
|
533
|
+
var max2 = Math.max;
|
|
534
|
+
var funcType = "[object Function]";
|
|
535
|
+
var concatty = function concatty2(a, b) {
|
|
536
|
+
var arr = [];
|
|
537
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
538
|
+
arr[i] = a[i];
|
|
539
|
+
}
|
|
540
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
541
|
+
arr[j + a.length] = b[j];
|
|
542
|
+
}
|
|
543
|
+
return arr;
|
|
544
|
+
};
|
|
545
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
546
|
+
var arr = [];
|
|
547
|
+
for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
548
|
+
arr[j] = arrLike[i];
|
|
546
549
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
var
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
var args = slicy(arguments, 1);
|
|
556
|
-
var bound;
|
|
557
|
-
var binder = function() {
|
|
558
|
-
if (this instanceof bound) {
|
|
559
|
-
var result = target.apply(
|
|
560
|
-
this,
|
|
561
|
-
concatty(args, arguments)
|
|
562
|
-
);
|
|
563
|
-
if (Object(result) === result) {
|
|
564
|
-
return result;
|
|
550
|
+
return arr;
|
|
551
|
+
};
|
|
552
|
+
var joiny = function(arr, joiner) {
|
|
553
|
+
var str = "";
|
|
554
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
555
|
+
str += arr[i];
|
|
556
|
+
if (i + 1 < arr.length) {
|
|
557
|
+
str += joiner;
|
|
565
558
|
}
|
|
566
|
-
return this;
|
|
567
559
|
}
|
|
568
|
-
return
|
|
569
|
-
that,
|
|
570
|
-
concatty(args, arguments)
|
|
571
|
-
);
|
|
560
|
+
return str;
|
|
572
561
|
};
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
var
|
|
562
|
+
implementation = function bind2(that) {
|
|
563
|
+
var target = this;
|
|
564
|
+
if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
|
|
565
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
566
|
+
}
|
|
567
|
+
var args = slicy(arguments, 1);
|
|
568
|
+
var bound;
|
|
569
|
+
var binder = function() {
|
|
570
|
+
if (this instanceof bound) {
|
|
571
|
+
var result = target.apply(
|
|
572
|
+
this,
|
|
573
|
+
concatty(args, arguments)
|
|
574
|
+
);
|
|
575
|
+
if (Object(result) === result) {
|
|
576
|
+
return result;
|
|
577
|
+
}
|
|
578
|
+
return this;
|
|
579
|
+
}
|
|
580
|
+
return target.apply(
|
|
581
|
+
that,
|
|
582
|
+
concatty(args, arguments)
|
|
583
|
+
);
|
|
581
584
|
};
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
};
|
|
588
|
-
|
|
589
|
-
var
|
|
590
|
-
|
|
585
|
+
var boundLength = max2(0, target.length - args.length);
|
|
586
|
+
var boundArgs = [];
|
|
587
|
+
for (var i = 0; i < boundLength; i++) {
|
|
588
|
+
boundArgs[i] = "$" + i;
|
|
589
|
+
}
|
|
590
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
591
|
+
if (target.prototype) {
|
|
592
|
+
var Empty = function Empty2() {
|
|
593
|
+
};
|
|
594
|
+
Empty.prototype = target.prototype;
|
|
595
|
+
bound.prototype = new Empty();
|
|
596
|
+
Empty.prototype = null;
|
|
597
|
+
}
|
|
598
|
+
return bound;
|
|
599
|
+
};
|
|
600
|
+
return implementation;
|
|
601
|
+
}
|
|
602
|
+
var functionBind;
|
|
603
|
+
var hasRequiredFunctionBind;
|
|
604
|
+
function requireFunctionBind() {
|
|
605
|
+
if (hasRequiredFunctionBind) return functionBind;
|
|
606
|
+
hasRequiredFunctionBind = 1;
|
|
607
|
+
var implementation2 = requireImplementation();
|
|
608
|
+
functionBind = Function.prototype.bind || implementation2;
|
|
609
|
+
return functionBind;
|
|
610
|
+
}
|
|
611
|
+
var functionCall;
|
|
612
|
+
var hasRequiredFunctionCall;
|
|
613
|
+
function requireFunctionCall() {
|
|
614
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
615
|
+
hasRequiredFunctionCall = 1;
|
|
616
|
+
functionCall = Function.prototype.call;
|
|
617
|
+
return functionCall;
|
|
618
|
+
}
|
|
591
619
|
var functionApply;
|
|
592
620
|
var hasRequiredFunctionApply;
|
|
593
621
|
function requireFunctionApply() {
|
|
@@ -597,14 +625,14 @@ function requireFunctionApply() {
|
|
|
597
625
|
return functionApply;
|
|
598
626
|
}
|
|
599
627
|
var reflectApply$1 = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
600
|
-
var bind$3 =
|
|
628
|
+
var bind$3 = requireFunctionBind();
|
|
601
629
|
var $apply$2 = requireFunctionApply();
|
|
602
|
-
var $call$2 =
|
|
630
|
+
var $call$2 = requireFunctionCall();
|
|
603
631
|
var $reflectApply = reflectApply$1;
|
|
604
632
|
var actualApply$1 = $reflectApply || bind$3.call($call$2, $apply$2);
|
|
605
|
-
var bind$2 =
|
|
633
|
+
var bind$2 = requireFunctionBind();
|
|
606
634
|
var $TypeError$4 = type;
|
|
607
|
-
var $call$1 =
|
|
635
|
+
var $call$1 = requireFunctionCall();
|
|
608
636
|
var $actualApply = actualApply$1;
|
|
609
637
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
610
638
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -637,7 +665,7 @@ var get = desc && typeof desc.get === "function" ? callBind$2([desc.get]) : type
|
|
|
637
665
|
}
|
|
638
666
|
) : false;
|
|
639
667
|
var reflectGetProto = Reflect_getPrototypeOf;
|
|
640
|
-
var originalGetProto =
|
|
668
|
+
var originalGetProto = requireObject_getPrototypeOf();
|
|
641
669
|
var getDunderProto = get;
|
|
642
670
|
var getProto$3 = reflectGetProto ? function getProto(O) {
|
|
643
671
|
return reflectGetProto(O);
|
|
@@ -656,8 +684,8 @@ function requireHasown() {
|
|
|
656
684
|
hasRequiredHasown = 1;
|
|
657
685
|
var call = Function.prototype.call;
|
|
658
686
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
659
|
-
var
|
|
660
|
-
hasown =
|
|
687
|
+
var bind2 = requireFunctionBind();
|
|
688
|
+
hasown = bind2.call(call, $hasOwn);
|
|
661
689
|
return hasown;
|
|
662
690
|
}
|
|
663
691
|
var undefined$1;
|
|
@@ -671,7 +699,7 @@ var $TypeError$3 = type;
|
|
|
671
699
|
var $URIError = uri;
|
|
672
700
|
var abs = abs$1;
|
|
673
701
|
var floor = floor$1;
|
|
674
|
-
var max = max$
|
|
702
|
+
var max = max$1;
|
|
675
703
|
var min = min$1;
|
|
676
704
|
var pow = pow$1;
|
|
677
705
|
var round = round$1;
|
|
@@ -702,10 +730,10 @@ var ThrowTypeError = $gOPD ? function() {
|
|
|
702
730
|
}() : throwTypeError;
|
|
703
731
|
var hasSymbols2 = requireHasSymbols()();
|
|
704
732
|
var getProto$2 = getProto$3;
|
|
705
|
-
var $ObjectGPO =
|
|
733
|
+
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
706
734
|
var $ReflectGPO = Reflect_getPrototypeOf;
|
|
707
735
|
var $apply$1 = requireFunctionApply();
|
|
708
|
-
var $call =
|
|
736
|
+
var $call = requireFunctionCall();
|
|
709
737
|
var needsEval = {};
|
|
710
738
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto$2 ? undefined$1 : getProto$2(Uint8Array);
|
|
711
739
|
var INTRINSICS = {
|
|
@@ -876,7 +904,7 @@ var LEGACY_ALIASES = {
|
|
|
876
904
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
877
905
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
878
906
|
};
|
|
879
|
-
var bind$1 =
|
|
907
|
+
var bind$1 = requireFunctionBind();
|
|
880
908
|
var hasOwn$1 = requireHasown();
|
|
881
909
|
var $concat = bind$1.call($call, Array.prototype.concat);
|
|
882
910
|
var $spliceApply = bind$1.call($apply$1, Array.prototype.splice);
|
|
@@ -1418,11 +1446,11 @@ var setFunctionLength = function setFunctionLength2(fn2, length) {
|
|
|
1418
1446
|
}
|
|
1419
1447
|
return fn2;
|
|
1420
1448
|
};
|
|
1421
|
-
var
|
|
1449
|
+
var bind = requireFunctionBind();
|
|
1422
1450
|
var $apply = requireFunctionApply();
|
|
1423
1451
|
var actualApply = actualApply$1;
|
|
1424
1452
|
var applyBind = function applyBind2() {
|
|
1425
|
-
return actualApply(
|
|
1453
|
+
return actualApply(bind, $apply, arguments);
|
|
1426
1454
|
};
|
|
1427
1455
|
(function(module) {
|
|
1428
1456
|
var setFunctionLength$1 = setFunctionLength;
|
|
@@ -457,7 +457,7 @@ var type = TypeError;
|
|
|
457
457
|
var uri = URIError;
|
|
458
458
|
var abs$1 = Math.abs;
|
|
459
459
|
var floor$1 = Math.floor;
|
|
460
|
-
var max$
|
|
460
|
+
var max$1 = Math.max;
|
|
461
461
|
var min$1 = Math.min;
|
|
462
462
|
var pow$1 = Math.pow;
|
|
463
463
|
var round$1 = Math.round;
|
|
@@ -515,80 +515,108 @@ function requireHasSymbols() {
|
|
|
515
515
|
return hasSymbols$1;
|
|
516
516
|
}
|
|
517
517
|
var Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
518
|
-
var
|
|
519
|
-
var
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
var
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
var
|
|
535
|
-
var
|
|
536
|
-
|
|
537
|
-
arr
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
}
|
|
541
|
-
var
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
518
|
+
var Object_getPrototypeOf;
|
|
519
|
+
var hasRequiredObject_getPrototypeOf;
|
|
520
|
+
function requireObject_getPrototypeOf() {
|
|
521
|
+
if (hasRequiredObject_getPrototypeOf) return Object_getPrototypeOf;
|
|
522
|
+
hasRequiredObject_getPrototypeOf = 1;
|
|
523
|
+
var $Object2 = esObjectAtoms;
|
|
524
|
+
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
525
|
+
return Object_getPrototypeOf;
|
|
526
|
+
}
|
|
527
|
+
var implementation;
|
|
528
|
+
var hasRequiredImplementation;
|
|
529
|
+
function requireImplementation() {
|
|
530
|
+
if (hasRequiredImplementation) return implementation;
|
|
531
|
+
hasRequiredImplementation = 1;
|
|
532
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
533
|
+
var toStr2 = Object.prototype.toString;
|
|
534
|
+
var max2 = Math.max;
|
|
535
|
+
var funcType = "[object Function]";
|
|
536
|
+
var concatty = function concatty2(a, b) {
|
|
537
|
+
var arr = [];
|
|
538
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
539
|
+
arr[i] = a[i];
|
|
540
|
+
}
|
|
541
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
542
|
+
arr[j + a.length] = b[j];
|
|
543
|
+
}
|
|
544
|
+
return arr;
|
|
545
|
+
};
|
|
546
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
547
|
+
var arr = [];
|
|
548
|
+
for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
549
|
+
arr[j] = arrLike[i];
|
|
547
550
|
}
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
var
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
var args = slicy(arguments, 1);
|
|
557
|
-
var bound;
|
|
558
|
-
var binder = function() {
|
|
559
|
-
if (this instanceof bound) {
|
|
560
|
-
var result = target.apply(
|
|
561
|
-
this,
|
|
562
|
-
concatty(args, arguments)
|
|
563
|
-
);
|
|
564
|
-
if (Object(result) === result) {
|
|
565
|
-
return result;
|
|
551
|
+
return arr;
|
|
552
|
+
};
|
|
553
|
+
var joiny = function(arr, joiner) {
|
|
554
|
+
var str = "";
|
|
555
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
556
|
+
str += arr[i];
|
|
557
|
+
if (i + 1 < arr.length) {
|
|
558
|
+
str += joiner;
|
|
566
559
|
}
|
|
567
|
-
return this;
|
|
568
560
|
}
|
|
569
|
-
return
|
|
570
|
-
that,
|
|
571
|
-
concatty(args, arguments)
|
|
572
|
-
);
|
|
561
|
+
return str;
|
|
573
562
|
};
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
var
|
|
563
|
+
implementation = function bind2(that) {
|
|
564
|
+
var target = this;
|
|
565
|
+
if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
|
|
566
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
567
|
+
}
|
|
568
|
+
var args = slicy(arguments, 1);
|
|
569
|
+
var bound;
|
|
570
|
+
var binder = function() {
|
|
571
|
+
if (this instanceof bound) {
|
|
572
|
+
var result = target.apply(
|
|
573
|
+
this,
|
|
574
|
+
concatty(args, arguments)
|
|
575
|
+
);
|
|
576
|
+
if (Object(result) === result) {
|
|
577
|
+
return result;
|
|
578
|
+
}
|
|
579
|
+
return this;
|
|
580
|
+
}
|
|
581
|
+
return target.apply(
|
|
582
|
+
that,
|
|
583
|
+
concatty(args, arguments)
|
|
584
|
+
);
|
|
582
585
|
};
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
var
|
|
591
|
-
|
|
586
|
+
var boundLength = max2(0, target.length - args.length);
|
|
587
|
+
var boundArgs = [];
|
|
588
|
+
for (var i = 0; i < boundLength; i++) {
|
|
589
|
+
boundArgs[i] = "$" + i;
|
|
590
|
+
}
|
|
591
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
592
|
+
if (target.prototype) {
|
|
593
|
+
var Empty = function Empty2() {
|
|
594
|
+
};
|
|
595
|
+
Empty.prototype = target.prototype;
|
|
596
|
+
bound.prototype = new Empty();
|
|
597
|
+
Empty.prototype = null;
|
|
598
|
+
}
|
|
599
|
+
return bound;
|
|
600
|
+
};
|
|
601
|
+
return implementation;
|
|
602
|
+
}
|
|
603
|
+
var functionBind;
|
|
604
|
+
var hasRequiredFunctionBind;
|
|
605
|
+
function requireFunctionBind() {
|
|
606
|
+
if (hasRequiredFunctionBind) return functionBind;
|
|
607
|
+
hasRequiredFunctionBind = 1;
|
|
608
|
+
var implementation2 = requireImplementation();
|
|
609
|
+
functionBind = Function.prototype.bind || implementation2;
|
|
610
|
+
return functionBind;
|
|
611
|
+
}
|
|
612
|
+
var functionCall;
|
|
613
|
+
var hasRequiredFunctionCall;
|
|
614
|
+
function requireFunctionCall() {
|
|
615
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
616
|
+
hasRequiredFunctionCall = 1;
|
|
617
|
+
functionCall = Function.prototype.call;
|
|
618
|
+
return functionCall;
|
|
619
|
+
}
|
|
592
620
|
var functionApply;
|
|
593
621
|
var hasRequiredFunctionApply;
|
|
594
622
|
function requireFunctionApply() {
|
|
@@ -598,14 +626,14 @@ function requireFunctionApply() {
|
|
|
598
626
|
return functionApply;
|
|
599
627
|
}
|
|
600
628
|
var reflectApply$1 = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
601
|
-
var bind$3 =
|
|
629
|
+
var bind$3 = requireFunctionBind();
|
|
602
630
|
var $apply$2 = requireFunctionApply();
|
|
603
|
-
var $call$2 =
|
|
631
|
+
var $call$2 = requireFunctionCall();
|
|
604
632
|
var $reflectApply = reflectApply$1;
|
|
605
633
|
var actualApply$1 = $reflectApply || bind$3.call($call$2, $apply$2);
|
|
606
|
-
var bind$2 =
|
|
634
|
+
var bind$2 = requireFunctionBind();
|
|
607
635
|
var $TypeError$4 = type;
|
|
608
|
-
var $call$1 =
|
|
636
|
+
var $call$1 = requireFunctionCall();
|
|
609
637
|
var $actualApply = actualApply$1;
|
|
610
638
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
611
639
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -638,7 +666,7 @@ var get = desc && typeof desc.get === "function" ? callBind$2([desc.get]) : type
|
|
|
638
666
|
}
|
|
639
667
|
) : false;
|
|
640
668
|
var reflectGetProto = Reflect_getPrototypeOf;
|
|
641
|
-
var originalGetProto =
|
|
669
|
+
var originalGetProto = requireObject_getPrototypeOf();
|
|
642
670
|
var getDunderProto = get;
|
|
643
671
|
var getProto$3 = reflectGetProto ? function getProto(O) {
|
|
644
672
|
return reflectGetProto(O);
|
|
@@ -657,8 +685,8 @@ function requireHasown() {
|
|
|
657
685
|
hasRequiredHasown = 1;
|
|
658
686
|
var call = Function.prototype.call;
|
|
659
687
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
660
|
-
var
|
|
661
|
-
hasown =
|
|
688
|
+
var bind2 = requireFunctionBind();
|
|
689
|
+
hasown = bind2.call(call, $hasOwn);
|
|
662
690
|
return hasown;
|
|
663
691
|
}
|
|
664
692
|
var undefined$1;
|
|
@@ -672,7 +700,7 @@ var $TypeError$3 = type;
|
|
|
672
700
|
var $URIError = uri;
|
|
673
701
|
var abs = abs$1;
|
|
674
702
|
var floor = floor$1;
|
|
675
|
-
var max = max$
|
|
703
|
+
var max = max$1;
|
|
676
704
|
var min = min$1;
|
|
677
705
|
var pow = pow$1;
|
|
678
706
|
var round = round$1;
|
|
@@ -703,10 +731,10 @@ var ThrowTypeError = $gOPD ? function() {
|
|
|
703
731
|
}() : throwTypeError;
|
|
704
732
|
var hasSymbols2 = requireHasSymbols()();
|
|
705
733
|
var getProto$2 = getProto$3;
|
|
706
|
-
var $ObjectGPO =
|
|
734
|
+
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
707
735
|
var $ReflectGPO = Reflect_getPrototypeOf;
|
|
708
736
|
var $apply$1 = requireFunctionApply();
|
|
709
|
-
var $call =
|
|
737
|
+
var $call = requireFunctionCall();
|
|
710
738
|
var needsEval = {};
|
|
711
739
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto$2 ? undefined$1 : getProto$2(Uint8Array);
|
|
712
740
|
var INTRINSICS = {
|
|
@@ -877,7 +905,7 @@ var LEGACY_ALIASES = {
|
|
|
877
905
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
878
906
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
879
907
|
};
|
|
880
|
-
var bind$1 =
|
|
908
|
+
var bind$1 = requireFunctionBind();
|
|
881
909
|
var hasOwn$1 = requireHasown();
|
|
882
910
|
var $concat = bind$1.call($call, Array.prototype.concat);
|
|
883
911
|
var $spliceApply = bind$1.call($apply$1, Array.prototype.splice);
|
|
@@ -1419,11 +1447,11 @@ var setFunctionLength = function setFunctionLength2(fn2, length) {
|
|
|
1419
1447
|
}
|
|
1420
1448
|
return fn2;
|
|
1421
1449
|
};
|
|
1422
|
-
var
|
|
1450
|
+
var bind = requireFunctionBind();
|
|
1423
1451
|
var $apply = requireFunctionApply();
|
|
1424
1452
|
var actualApply = actualApply$1;
|
|
1425
1453
|
var applyBind = function applyBind2() {
|
|
1426
|
-
return actualApply(
|
|
1454
|
+
return actualApply(bind, $apply, arguments);
|
|
1427
1455
|
};
|
|
1428
1456
|
(function(module2) {
|
|
1429
1457
|
var setFunctionLength$1 = setFunctionLength;
|
package/dist/style.css
CHANGED
|
@@ -960,6 +960,11 @@ on the right if it is inside shape textbox.
|
|
|
960
960
|
.pagination-section-footer img[contenteditable="false"] {
|
|
961
961
|
pointer-events: none;
|
|
962
962
|
}
|
|
963
|
+
.pagination-break-wrapper {
|
|
964
|
+
font-weight: normal;
|
|
965
|
+
font-style: normal;
|
|
966
|
+
color: initial;
|
|
967
|
+
}
|
|
963
968
|
/* TODO: This is going to be enabled again */
|
|
964
969
|
/* .pagination-section-header div[contenteditable="false"]:not([documentmode="viewing"]),
|
|
965
970
|
.pagination-section-footer div[contenteditable="false"]:not([documentmode="viewing"]) {
|