@harbour-enterprises/superdoc 0.17.0 → 0.18.0-next.1

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.
Files changed (51) hide show
  1. package/dist/chunks/{PdfViewer-GP6I2zIW.cjs → PdfViewer-CNZTqGHw.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-C9MkdsYe.es.js → PdfViewer-D5cujgSt.es.js} +1 -1
  3. package/dist/chunks/{index-DyzJFuXw.es.js → index-BDwD6Uex.es.js} +4 -3
  4. package/dist/chunks/{index-D__8AUF5.cjs → index-BDysJRQU.cjs} +4 -3
  5. package/dist/chunks/{super-editor.es-v-3xRSOD.es.js → super-editor.es-BoCmoEkp.es.js} +472 -257
  6. package/dist/chunks/{super-editor.es-JiSMNI00.cjs → super-editor.es-aOm7eWFU.cjs} +471 -256
  7. package/dist/core/SuperDoc.d.ts.map +1 -1
  8. package/dist/index.d.ts +2 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/super-editor/ai-writer.es.js +2 -2
  11. package/dist/super-editor/chunks/{converter-WThahWt0.js → converter-DvdFP4MZ.js} +339 -146
  12. package/dist/super-editor/chunks/{docx-zipper-6iJv_uCL.js → docx-zipper-CxFpxZUz.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-OX-YyKoc.js → editor-CeWNMKjc.js} +32 -4
  14. package/dist/super-editor/chunks/{toolbar-CUglet_U.js → toolbar-Di2oAvyr.js} +2 -2
  15. package/dist/super-editor/converter.es.js +1 -1
  16. package/dist/super-editor/docx-zipper.es.js +2 -2
  17. package/dist/super-editor/editor.es.js +3 -3
  18. package/dist/super-editor/file-zipper.es.js +1 -1
  19. package/dist/super-editor/src/core/super-converter/exporter.d.ts +17 -0
  20. package/dist/super-editor/src/core/super-converter/v2/importer/lineBreakImporter.d.ts +3 -5
  21. package/dist/super-editor/src/core/super-converter/v2/importer/tabImporter.d.ts +2 -1
  22. package/dist/super-editor/src/core/super-converter/v2/importer/types/index.d.ts +75 -0
  23. package/dist/super-editor/src/core/super-converter/v2/types/index.d.ts +8 -0
  24. package/dist/super-editor/src/core/super-converter/v3/handlers/index.d.ts +8 -0
  25. package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/attributes/index.d.ts +2 -0
  26. package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/attributes/w-clear.d.ts +2 -0
  27. package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/attributes/w-line-break-type.d.ts +2 -0
  28. package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/br-translator.d.ts +7 -0
  29. package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/index.d.ts +1 -0
  30. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/index.d.ts +3 -0
  31. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-leader.d.ts +2 -0
  32. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +2 -0
  33. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts +2 -0
  34. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/index.d.ts +1 -0
  35. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts +7 -0
  36. package/dist/super-editor/src/core/super-converter/v3/node-translator/index.d.ts +1 -0
  37. package/dist/super-editor/src/core/super-converter/v3/node-translator/node-translator.d.ts +203 -0
  38. package/dist/super-editor/src/extensions/block-node/block-node.d.ts +0 -1
  39. package/dist/super-editor/src/index.d.ts +2 -1
  40. package/dist/super-editor/super-editor.es.js +12 -7
  41. package/dist/super-editor/toolbar.es.js +2 -2
  42. package/dist/super-editor.cjs +2 -1
  43. package/dist/super-editor.es.js +2 -1
  44. package/dist/superdoc.cjs +3 -2
  45. package/dist/superdoc.es.js +3 -2
  46. package/dist/superdoc.umd.js +594 -378
  47. package/dist/superdoc.umd.js.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/super-editor/src/core/super-converter/v2/handlers/index.d.ts +0 -1
  50. package/dist/super-editor/src/extensions/field-annotation/field-annotation-marks-impl.d.ts +0 -5
  51. /package/dist/super-editor/src/{extensions/document-attributes → core/super-converter/v3/handlers/types}/index.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const vue = require("./vue-DWle4Cai.cjs");
4
- const superdoc = require("./index-D__8AUF5.cjs");
4
+ const superdoc = require("./index-BDysJRQU.cjs");
5
5
  function self(vars) {
6
6
  const {
7
7
  opacityDisabled,
@@ -1,5 +1,5 @@
1
1
  import { m as defineComponent, B as h, O as Transition, $ as process$1, I as watchEffect, d as computed, r as ref, j as onMounted, W as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, f as createCommentVNode, v as createVNode, x as unref } from "./vue-CXxsqYcP.es.js";
2
- import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-DyzJFuXw.es.js";
2
+ import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-BDwD6Uex.es.js";
3
3
  function self(vars) {
4
4
  const {
5
5
  opacityDisabled,
@@ -1,4 +1,4 @@
1
- import { q as index$1, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-v-3xRSOD.es.js";
1
+ import { q as index$1, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-BoCmoEkp.es.js";
2
2
  import { a0 as effectScope, r as ref, _ as markRaw, $ as process$1, a1 as toRaw, d as computed, a2 as isRef, a3 as isReactive, C as toRef, i as inject, p as getCurrentInstance, l as watch, x as unref, a4 as hasInjectionContext, M as reactive, s as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, J as shallowRef, N as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, S as onActivated, q as onDeactivated, z as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, D as provide, H as withDirectives, B as h, U as Teleport, R as renderSlot, V as isVNode, I as watchEffect, O as Transition, a8 as TransitionGroup, E as mergeProps, P as vShow, G as cloneVNode, T as Text, c as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, y as withCtx, a as createBaseVNode, A as normalizeStyle, f as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a9 as resolveDirective, e as renderList, b as createApp, X as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-CXxsqYcP.es.js";
3
3
  import { B as Buffer$2 } from "./jszip-B8KIZSNe.es.js";
4
4
  import { B as BlankDOCX } from "./blank-docx-iwdyG9RH.es.js";
@@ -17248,7 +17248,7 @@ const _sfc_main = {
17248
17248
  __name: "SuperDoc",
17249
17249
  emits: ["selection-update"],
17250
17250
  setup(__props, { emit: __emit }) {
17251
- const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-C9MkdsYe.es.js"));
17251
+ const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-D5cujgSt.es.js"));
17252
17252
  const superdocStore = useSuperdocStore();
17253
17253
  const commentsStore = useCommentsStore();
17254
17254
  const {
@@ -17892,7 +17892,7 @@ class SuperDoc extends EventEmitter {
17892
17892
  this.config.colors = shuffleArray(this.config.colors);
17893
17893
  this.userColorMap = /* @__PURE__ */ new Map();
17894
17894
  this.colorIndex = 0;
17895
- this.version = "0.16.5";
17895
+ this.version = "0.17.0";
17896
17896
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
17897
17897
  this.superdocId = config.superdocId || v4();
17898
17898
  this.colors = this.config.colors;
@@ -18042,6 +18042,7 @@ class SuperDoc extends EventEmitter {
18042
18042
  /**
18043
18043
  * Initialize telemetry service.
18044
18044
  */
18045
+ // eslint-disable-next-line no-unused-private-class-members
18045
18046
  #initTelemetry() {
18046
18047
  this.telemetry = new Telemetry({
18047
18048
  enabled: this.config.telemetry?.enabled ?? true,
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const superEditor_es = require("./super-editor.es-JiSMNI00.cjs");
2
+ const superEditor_es = require("./super-editor.es-aOm7eWFU.cjs");
3
3
  const vue = require("./vue-DWle4Cai.cjs");
4
4
  const jszip = require("./jszip-b7l8QkfH.cjs");
5
5
  const blankDocx = require("./blank-docx-CPqX9RF5.cjs");
@@ -17265,7 +17265,7 @@ const _sfc_main = {
17265
17265
  __name: "SuperDoc",
17266
17266
  emits: ["selection-update"],
17267
17267
  setup(__props, { emit: __emit }) {
17268
- const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-GP6I2zIW.cjs")));
17268
+ const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-CNZTqGHw.cjs")));
17269
17269
  const superdocStore = useSuperdocStore();
17270
17270
  const commentsStore = useCommentsStore();
17271
17271
  const {
@@ -17909,7 +17909,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
17909
17909
  this.config.colors = shuffleArray(this.config.colors);
17910
17910
  this.userColorMap = /* @__PURE__ */ new Map();
17911
17911
  this.colorIndex = 0;
17912
- this.version = "0.16.5";
17912
+ this.version = "0.17.0";
17913
17913
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
17914
17914
  this.superdocId = config.superdocId || uuid.v4();
17915
17915
  this.colors = this.config.colors;
@@ -18059,6 +18059,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
18059
18059
  /**
18060
18060
  * Initialize telemetry service.
18061
18061
  */
18062
+ // eslint-disable-next-line no-unused-private-class-members
18062
18063
  #initTelemetry() {
18063
18064
  this.telemetry = new Telemetry({
18064
18065
  enabled: this.config.telemetry?.enabled ?? true,