@harbour-enterprises/superdoc 0.7.1 → 0.7.2
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-C3EfxPkJ.js → super-editor.es-CaEMYSNH.js} +11 -6
- package/dist/chunks/{super-editor.es-C3EfxPkJ.js.map → super-editor.es-CaEMYSNH.js.map} +1 -1
- package/dist/style.css +4 -4
- package/dist/super-editor/chunks/{converter-ei3PNE_E.js → converter-I-9J-iGd.js} +3 -3
- package/dist/super-editor/chunks/{converter-ei3PNE_E.js.map → converter-I-9J-iGd.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-B7uIfmYn.js → docx-zipper-D_7tmb71.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-B7uIfmYn.js.map → docx-zipper-D_7tmb71.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-Bggv0Jux.js → editor-9uvP8PI9.js} +4 -4
- package/dist/super-editor/chunks/{editor-Bggv0Jux.js.map → editor-9uvP8PI9.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-DLqRjwsa.js → toolbar-D0vUE7AB.js} +10 -5
- package/dist/super-editor/chunks/toolbar-D0vUE7AB.js.map +1 -0
- 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 +4 -4
- 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 +11 -6
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/chunks/toolbar-DLqRjwsa.js.map +0 -1
|
@@ -20641,7 +20641,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
20641
20641
|
return;
|
|
20642
20642
|
}
|
|
20643
20643
|
}
|
|
20644
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.7.
|
|
20644
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.7.2") {
|
|
20645
20645
|
const customLocation = "docProps/custom.xml";
|
|
20646
20646
|
if (!docx[customLocation]) {
|
|
20647
20647
|
docx[customLocation] = generateCustomXml();
|
|
@@ -20914,7 +20914,7 @@ function storeSuperdocVersion(docx) {
|
|
|
20914
20914
|
function generateCustomXml() {
|
|
20915
20915
|
return DEFAULT_CUSTOM_XML;
|
|
20916
20916
|
}
|
|
20917
|
-
function generateSuperdocVersion(pid = 2, version = "0.7.
|
|
20917
|
+
function generateSuperdocVersion(pid = 2, version = "0.7.2") {
|
|
20918
20918
|
return {
|
|
20919
20919
|
type: "element",
|
|
20920
20920
|
name: "property",
|
|
@@ -35142,7 +35142,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
35142
35142
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
35143
35143
|
*/
|
|
35144
35144
|
processCollaborationMigrations() {
|
|
35145
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.7.
|
|
35145
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.7.2");
|
|
35146
35146
|
if (!this.options.ydoc) return;
|
|
35147
35147
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
35148
35148
|
let docVersion = metaMap.get("version");
|
|
@@ -46343,7 +46343,12 @@ const _sfc_main$2$1 = {
|
|
|
46343
46343
|
},
|
|
46344
46344
|
setup(__props) {
|
|
46345
46345
|
const { proxy } = getCurrentInstance();
|
|
46346
|
+
const props = __props;
|
|
46346
46347
|
const isDropdownOpened = ref$1(false);
|
|
46348
|
+
const overflowToolbarItem = computed(() => ({
|
|
46349
|
+
...props.toolbarItem,
|
|
46350
|
+
active: isDropdownOpened
|
|
46351
|
+
}));
|
|
46347
46352
|
const toggleOverflowMenu = () => {
|
|
46348
46353
|
isDropdownOpened.value = !isDropdownOpened.value;
|
|
46349
46354
|
};
|
|
@@ -46354,7 +46359,7 @@ const _sfc_main$2$1 = {
|
|
|
46354
46359
|
return openBlock(), createElementBlock("div", _hoisted_1$1$1, [
|
|
46355
46360
|
createBaseVNode("div", _hoisted_2$1$1, [
|
|
46356
46361
|
createVNode(ToolbarButton, {
|
|
46357
|
-
"toolbar-item":
|
|
46362
|
+
"toolbar-item": overflowToolbarItem.value,
|
|
46358
46363
|
onButtonClick: toggleOverflowMenu
|
|
46359
46364
|
}, null, 8, ["toolbar-item"])
|
|
46360
46365
|
]),
|
|
@@ -46369,7 +46374,7 @@ const _sfc_main$2$1 = {
|
|
|
46369
46374
|
};
|
|
46370
46375
|
}
|
|
46371
46376
|
};
|
|
46372
|
-
const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2$1, [["__scopeId", "data-v-
|
|
46377
|
+
const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2$1, [["__scopeId", "data-v-ca29bf1d"]]);
|
|
46373
46378
|
function plugin$1(options2) {
|
|
46374
46379
|
let _bPrefix = ".";
|
|
46375
46380
|
let _ePrefix = "__";
|
|
@@ -58646,4 +58651,4 @@ export {
|
|
|
58646
58651
|
helpers as k,
|
|
58647
58652
|
index as l
|
|
58648
58653
|
};
|
|
58649
|
-
//# sourceMappingURL=super-editor.es-
|
|
58654
|
+
//# sourceMappingURL=super-editor.es-CaEMYSNH.js.map
|