@harbour-enterprises/superdoc 0.8.27 → 0.8.28
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/@harbour-enterprises/{super-editor-DkN9Dv8X.es.js → super-editor-CB8DAPXW.es.js} +8 -5
- package/dist/chunks/{super-editor.es-3mCiAAji.cjs → super-editor.es-93vlhruz.cjs} +3 -3
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/super-editor/chunks/{converter-Bzv8MkSI.js → converter-BgR6-bU6.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-B9ETswWY.js → docx-zipper-TEkS1DUm.js} +1 -1
- package/dist/super-editor/chunks/{editor-CJuJmppY.js → editor-BcxLdJCV.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-C5ZpQcA3.js → toolbar-B0DE6Jyp.js} +2 -2
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.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 +11 -8
- 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 +2 -2
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +10 -7
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/chunks/@harbour-enterprises/{super-editor-DkN9Dv8X.es.js → super-editor-CB8DAPXW.es.js}
RENAMED
|
@@ -14694,7 +14694,7 @@ const rs = class Uv {
|
|
|
14694
14694
|
return;
|
|
14695
14695
|
}
|
|
14696
14696
|
}
|
|
14697
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.8.
|
|
14697
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.8.28") {
|
|
14698
14698
|
const r = "docProps/custom.xml";
|
|
14699
14699
|
e[r] || (e[r] = Vv());
|
|
14700
14700
|
const o = e["docProps/custom.xml"];
|
|
@@ -14894,7 +14894,7 @@ function mT(t) {
|
|
|
14894
14894
|
function Vv() {
|
|
14895
14895
|
return iE;
|
|
14896
14896
|
}
|
|
14897
|
-
function Hv(t = 2, e = "0.8.
|
|
14897
|
+
function Hv(t = 2, e = "0.8.28") {
|
|
14898
14898
|
return {
|
|
14899
14899
|
type: "element",
|
|
14900
14900
|
name: "property",
|
|
@@ -25867,7 +25867,7 @@ const aD = class R2 extends dO {
|
|
|
25867
25867
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
25868
25868
|
*/
|
|
25869
25869
|
processCollaborationMigrations() {
|
|
25870
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.8.
|
|
25870
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.8.28"), !this.options.ydoc) return;
|
|
25871
25871
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
25872
25872
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
25873
25873
|
const n = _y(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|
|
@@ -42769,10 +42769,13 @@ class yq extends i7 {
|
|
|
42769
42769
|
}
|
|
42770
42770
|
}
|
|
42771
42771
|
Jt = /* @__PURE__ */ new WeakSet(), xS = function() {
|
|
42772
|
-
this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length
|
|
42772
|
+
this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length ? this.config.toolbarGroups = Object.keys(this.config.groups) : this.config.toolbarGroups = ["left", "center", "right"];
|
|
42773
42773
|
}, us = /* @__PURE__ */ new WeakMap(), Bf = function(t, e, n = !1) {
|
|
42774
42774
|
const r = document.documentElement.clientWidth, { defaultItems: o, overflowItems: i } = cj(t, n, r, this.role, e);
|
|
42775
|
-
let s =
|
|
42775
|
+
let s = [
|
|
42776
|
+
...o.map((l) => l.name.value),
|
|
42777
|
+
...i.map((l) => l.name.value)
|
|
42778
|
+
];
|
|
42776
42779
|
this.config.groups && (s = Object.values(this.config.groups).flatMap((l) => l));
|
|
42777
42780
|
const a = o.filter((l) => s.includes(l.name.value)).filter((l) => !this.config.excludeItems.includes(l.name.value));
|
|
42778
42781
|
this.toolbarItems = a, this.overflowItems = i.filter((l) => s.includes(l.name.value));
|