@harbour-enterprises/superdoc 0.12.34-next.3 → 0.13.0-RC2
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-B9igwxv-.es.js → super-editor.es-B6M3d3ew.es.js} +1020 -1010
- package/dist/chunks/{super-editor.es-BbaXC2pT.cjs → super-editor.es-CG_E8Uh1.cjs} +1020 -1010
- package/dist/style.css +67 -54
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-DzsjYmnd.js → converter-DdMoUfYl.js} +310 -441
- package/dist/super-editor/chunks/{docx-zipper-DQONSIAh.js → docx-zipper-CaPhHWh0.js} +1 -1
- package/dist/super-editor/chunks/{editor-CO-n6iZ8.js → editor-DfrK7LO9.js} +1653 -1507
- package/dist/super-editor/chunks/{toolbar-CNeu8BVd.js → toolbar-h35AzYvu.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Attribute.d.ts +2 -2
- package/dist/super-editor/core/Editor.d.ts +8 -1
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/Schema.d.ts +2 -2
- package/dist/super-editor/core/commands/splitListItem.d.ts +1 -1
- package/dist/super-editor/core/commands/splitListItem.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/list-numbering-helpers.d.ts +235 -0
- package/dist/super-editor/core/helpers/list-numbering-helpers.d.ts.map +1 -0
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts +1 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts +32 -5
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.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/extensions/linked-styles/linked-styles.d.ts.map +1 -1
- package/dist/super-editor/extensions/list-item/ListItemNodeView.d.ts +56 -0
- package/dist/super-editor/extensions/list-item/ListItemNodeView.d.ts.map +1 -0
- package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
- package/dist/super-editor/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +40 -27
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +3 -0
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +1 -0
- package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
- package/dist/super-editor/tests/editor/listItemHelpers.test.d.ts +2 -0
- package/dist/super-editor/tests/editor/listItemHelpers.test.d.ts.map +1 -0
- package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
- 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 +3 -5
- package/dist/superdoc.es.js +4 -6
- package/dist/superdoc.umd.js +1024 -1016
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
|
|
|
9
9
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
10
10
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
11
11
|
var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, i as isInTable, e as undoDepth, r as redoDepth, E as Editor, h as getStarterExtensions, P as Placeholder, j as getRichTextExtensions, M as Mark, k as Extension, A as Attribute, N as Node } from "./chunks/editor-
|
|
13
|
-
import { o, C, T, m, p, l, n } from "./chunks/editor-
|
|
14
|
-
import {
|
|
15
|
-
import { O } from "./chunks/converter-
|
|
12
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, i as isInTable, e as undoDepth, r as redoDepth, E as Editor, h as getStarterExtensions, P as Placeholder, j as getRichTextExtensions, M as Mark, k as Extension, A as Attribute, N as Node } from "./chunks/editor-DfrK7LO9.js";
|
|
13
|
+
import { o, C, T, m, p, l, n } from "./chunks/editor-DfrK7LO9.js";
|
|
14
|
+
import { a7 as getDefaultExportFromCjs, E as v4, aa as vClickOutside, T as TextSelection, a as Plugin } from "./chunks/converter-DdMoUfYl.js";
|
|
15
|
+
import { O } from "./chunks/converter-DdMoUfYl.js";
|
|
16
16
|
import { ref, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, getCurrentInstance, computed, watch, onMounted, createCommentVNode, withDirectives, withKeys, withModifiers, vModelText, createTextVNode, toDisplayString, Fragment, renderList, normalizeStyle, createVNode, h, createApp, reactive, onUnmounted, shallowRef, onBeforeUnmount, createBlock } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-h35AzYvu.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-CaPhHWh0.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
(function(module) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BTMvkUyI.d.ts","sourceRoot":"","sources":["../../../../../../src/tests/e2e/test-app/dist/assets/index-BTMvkUyI.js"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vite").UserConfig & Promise<import("vite").UserConfig> &
|
|
1
|
+
declare const _default: import("vite").UserConfig & Promise<import("vite").UserConfig> & import("vite").UserConfigFnObject & import("vite").UserConfigFnPromise & import("vite").UserConfigFn;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=vite.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listItemHelpers.test.d.ts","sourceRoot":"","sources":["../../../src/tests/editor/listItemHelpers.test.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-helpers.d.ts","sourceRoot":"","sources":["../../../../src/tests/export/export-helpers/export-helpers.js"],"names":[],"mappings":"AAcO,4CAFM,MAAM,
|
|
1
|
+
{"version":3,"file":"export-helpers.d.ts","sourceRoot":"","sources":["../../../../src/tests/export/export-helpers/export-helpers.js"],"names":[],"mappings":"AAcO,4CAFM,MAAM,CAOlB;AAmCM,wCAHI,MAAM,qBACJ,OAAO,KAAQ,CA2C3B;AAEM;;;GA2BN"}
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-CG_E8Uh1.cjs");
|
|
4
4
|
require("./chunks/vue-DPZkajuO.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, S, c, d, e, T, f, g, i, h, j, k, l, m, n, o } from "./chunks/super-editor.es-
|
|
1
|
+
import { A, a, _, C, D, E, b, S, c, d, e, T, f, g, i, h, j, k, l, m, n, o } from "./chunks/super-editor.es-B6M3d3ew.es.js";
|
|
2
2
|
import "./chunks/vue-IIIZMHTg.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-CG_E8Uh1.cjs");
|
|
4
4
|
const vue = require("./chunks/vue-DPZkajuO.cjs");
|
|
5
5
|
const jszip = require("./chunks/jszip-Bwu_om3F.cjs");
|
|
6
6
|
const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
|
|
@@ -46046,8 +46046,6 @@ const _sfc_main = {
|
|
|
46046
46046
|
doc.setEditor(editor);
|
|
46047
46047
|
proxy.$superdoc.setActiveEditor(editor);
|
|
46048
46048
|
proxy.$superdoc.broadcastEditorCreate(editor);
|
|
46049
|
-
proxy.$superdoc.log("[SuperDoc] Editor created", proxy.$superdoc.activeEditor);
|
|
46050
|
-
proxy.$superdoc.log("[SuperDoc] Page styles (pixels)", editor.getPageStyles());
|
|
46051
46049
|
initAiLayer(true);
|
|
46052
46050
|
};
|
|
46053
46051
|
const onEditorDestroy = () => {
|
|
@@ -46472,7 +46470,7 @@ const _sfc_main = {
|
|
|
46472
46470
|
};
|
|
46473
46471
|
}
|
|
46474
46472
|
};
|
|
46475
|
-
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
46473
|
+
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cce6555f"]]);
|
|
46476
46474
|
const createSuperdocVueApp = () => {
|
|
46477
46475
|
const app = vue.createApp(App);
|
|
46478
46476
|
const pinia = createPinia();
|
|
@@ -46571,7 +46569,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
|
|
|
46571
46569
|
this.config.colors = shuffleArray(this.config.colors);
|
|
46572
46570
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
46573
46571
|
this.colorIndex = 0;
|
|
46574
|
-
this.version = "0.
|
|
46572
|
+
this.version = "0.13.0-RC2";
|
|
46575
46573
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
46576
46574
|
this.superdocId = config.superdocId || uuid.v4();
|
|
46577
46575
|
this.colors = this.config.colors;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as index$1, C as CommentsPluginKey, f as TrackChangesBasePluginKey, E as Editor, l as getRichTextExtensions, d as SuperInput, A as AIWriter, c as SuperEditor, e as SuperToolbar, g as createZip } from "./chunks/super-editor.es-
|
|
2
|
-
import { a, S, i, n } from "./chunks/super-editor.es-
|
|
1
|
+
import { o as index$1, C as CommentsPluginKey, f as TrackChangesBasePluginKey, E as Editor, l as getRichTextExtensions, d as SuperInput, A as AIWriter, c as SuperEditor, e as SuperToolbar, g as createZip } from "./chunks/super-editor.es-B6M3d3ew.es.js";
|
|
2
|
+
import { a, S, i, n } from "./chunks/super-editor.es-B6M3d3ew.es.js";
|
|
3
3
|
import { Y as effectScope, r as ref, Z as markRaw, p as process$1, _ as toRaw, a as computed, $ as isRef, a0 as isReactive, D as toRef, i as inject, q as getCurrentInstance, l as watch, y as unref, a1 as hasInjectionContext, N as reactive, u as nextTick, a2 as getCurrentScope, a3 as onScopeDispose, a4 as toRefs, g as global$1, K as shallowRef, O as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, U as onActivated, s as onDeactivated, A as createTextVNode, F as Fragment, R as Comment, m as defineComponent, E as provide, I as withDirectives, C as h, V as Teleport, S as renderSlot, W as isVNode, J as watchEffect, P as Transition, G as mergeProps, Q as vShow, H as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, x as createVNode, z as withCtx, f as createBaseVNode, B as normalizeStyle, e as createCommentVNode, v as createBlock, w as withModifiers, n as normalizeClass, a5 as resolveDirective, d as renderList, c as createApp, X as onUnmounted, a6 as resolveDynamicComponent } from "./chunks/vue-IIIZMHTg.es.js";
|
|
4
4
|
import { B as Buffer$2 } from "./chunks/jszip-BmWWPxfF.es.js";
|
|
5
5
|
import { B as BlankDOCX } from "./chunks/blank-docx-iwdyG9RH.es.js";
|
|
@@ -46045,8 +46045,6 @@ const _sfc_main = {
|
|
|
46045
46045
|
doc.setEditor(editor);
|
|
46046
46046
|
proxy.$superdoc.setActiveEditor(editor);
|
|
46047
46047
|
proxy.$superdoc.broadcastEditorCreate(editor);
|
|
46048
|
-
proxy.$superdoc.log("[SuperDoc] Editor created", proxy.$superdoc.activeEditor);
|
|
46049
|
-
proxy.$superdoc.log("[SuperDoc] Page styles (pixels)", editor.getPageStyles());
|
|
46050
46048
|
initAiLayer(true);
|
|
46051
46049
|
};
|
|
46052
46050
|
const onEditorDestroy = () => {
|
|
@@ -46471,7 +46469,7 @@ const _sfc_main = {
|
|
|
46471
46469
|
};
|
|
46472
46470
|
}
|
|
46473
46471
|
};
|
|
46474
|
-
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
46472
|
+
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cce6555f"]]);
|
|
46475
46473
|
const createSuperdocVueApp = () => {
|
|
46476
46474
|
const app = createApp(App);
|
|
46477
46475
|
const pinia = createPinia();
|
|
@@ -46570,7 +46568,7 @@ class SuperDoc extends EventEmitter {
|
|
|
46570
46568
|
this.config.colors = shuffleArray(this.config.colors);
|
|
46571
46569
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
46572
46570
|
this.colorIndex = 0;
|
|
46573
|
-
this.version = "0.
|
|
46571
|
+
this.version = "0.13.0-RC2";
|
|
46574
46572
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
46575
46573
|
this.superdocId = config.superdocId || v4();
|
|
46576
46574
|
this.colors = this.config.colors;
|