@harbour-enterprises/superdoc 0.18.1-next.2 → 0.18.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 (29) hide show
  1. package/dist/chunks/{PdfViewer-BM7Ea3yr.es.js → PdfViewer--LBuUP6i.es.js} +1 -1
  2. package/dist/chunks/{PdfViewer-DPqO7muc.cjs → PdfViewer-NycJE6Xr.cjs} +1 -1
  3. package/dist/chunks/{index-CyUWXfUG.es.js → index-CU1k6vCG.es.js} +14 -28
  4. package/dist/chunks/{index-CPLP-MPz.cjs → index-CsCBmpuN.cjs} +14 -28
  5. package/dist/chunks/{super-editor.es-CzgdqA6a.es.js → super-editor.es-B43ZWlo1.es.js} +9047 -9035
  6. package/dist/chunks/{super-editor.es-BSOX4l_Z.cjs → super-editor.es-DnT7Aa3y.cjs} +9047 -9035
  7. package/dist/core/SuperDoc.d.ts.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/super-editor/ai-writer.es.js +2 -2
  10. package/dist/super-editor/chunks/{converter-X9LxTGJB.js → converter-DgKkYthj.js} +35 -35
  11. package/dist/super-editor/chunks/{docx-zipper-CAu7OzVm.js → docx-zipper-Dj5WKyQ5.js} +1 -1
  12. package/dist/super-editor/chunks/{editor-BZitQIK-.js → editor-BFw7HBYv.js} +9042 -9020
  13. package/dist/super-editor/chunks/{toolbar-D1SFDkxX.js → toolbar-Ceb9Jlh2.js} +13 -23
  14. package/dist/super-editor/converter.es.js +1 -1
  15. package/dist/super-editor/docx-zipper.es.js +2 -2
  16. package/dist/super-editor/editor.es.js +3 -3
  17. package/dist/super-editor/file-zipper.es.js +1 -1
  18. package/dist/super-editor/src/components/toolbar/defaultItems.d.ts +3 -0
  19. package/dist/super-editor/style.css +1 -1
  20. package/dist/super-editor/super-editor.es.js +44 -44
  21. package/dist/super-editor/toolbar.es.js +2 -2
  22. package/dist/super-editor.cjs +1 -1
  23. package/dist/super-editor.es.js +1 -1
  24. package/dist/superdoc.cjs +2 -2
  25. package/dist/superdoc.es.js +2 -2
  26. package/dist/superdoc.umd.js +9055 -9057
  27. package/dist/superdoc.umd.js.map +1 -1
  28. package/package.json +4 -4
  29. package/dist/super-editor/src/tests/import/testUtils.d.ts +0 -1
@@ -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-CyUWXfUG.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-CU1k6vCG.es.js";
3
3
  function self(vars) {
4
4
  const {
5
5
  opacityDisabled,
@@ -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-CPLP-MPz.cjs");
4
+ const superdoc = require("./index-CsCBmpuN.cjs");
5
5
  function self(vars) {
6
6
  const {
7
7
  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-CzgdqA6a.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-B43ZWlo1.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";
@@ -6500,7 +6500,7 @@ function resolveTo(selector) {
6500
6500
  if (typeof selector === "string") {
6501
6501
  return document.querySelector(selector);
6502
6502
  }
6503
- return selector() || null;
6503
+ return selector();
6504
6504
  }
6505
6505
  const LazyTeleport = defineComponent({
6506
6506
  name: "LazyTeleport",
@@ -6588,11 +6588,8 @@ const oppositeAlignCssPositionProps = {
6588
6588
  };
6589
6589
  const keepOffsetDirection = {
6590
6590
  top: true,
6591
- // top++
6592
6591
  bottom: false,
6593
- // top--
6594
6592
  left: true,
6595
- // left++
6596
6593
  right: false
6597
6594
  // left--
6598
6595
  };
@@ -7709,6 +7706,7 @@ function isFocusable(element) {
7709
7706
  return !!element.href && element.rel !== "ignore";
7710
7707
  case "INPUT":
7711
7708
  return element.type !== "hidden" && element.type !== "file";
7709
+ case "BUTTON":
7712
7710
  case "SELECT":
7713
7711
  case "TEXTAREA":
7714
7712
  return true;
@@ -7727,8 +7725,8 @@ const FocusTrap = defineComponent({
7727
7725
  default: true
7728
7726
  },
7729
7727
  onEsc: Function,
7730
- initialFocusTo: [String, Function],
7731
- finalFocusTo: [String, Function],
7728
+ initialFocusTo: String,
7729
+ finalFocusTo: String,
7732
7730
  returnFocusOnDeactivated: {
7733
7731
  type: Boolean,
7734
7732
  default: true
@@ -10511,7 +10509,6 @@ function self$6(vars) {
10511
10509
  });
10512
10510
  }
10513
10511
  const scrollbarLight = {
10514
- name: "Scrollbar",
10515
10512
  common: derived,
10516
10513
  self: self$6
10517
10514
  };
@@ -12027,14 +12024,11 @@ function self$5(vars) {
12027
12024
  boxShadow: boxShadow2
12028
12025
  });
12029
12026
  }
12030
- const popoverLight = createTheme({
12027
+ const popoverLight = {
12031
12028
  name: "Popover",
12032
12029
  common: derived,
12033
- peers: {
12034
- Scrollbar: scrollbarLight
12035
- },
12036
12030
  self: self$5
12037
- });
12031
+ };
12038
12032
  const oppositePlacement = {
12039
12033
  top: "bottom",
12040
12034
  bottom: "top",
@@ -12254,11 +12248,9 @@ const NPopoverBody = defineComponent({
12254
12248
  const {
12255
12249
  namespaceRef,
12256
12250
  mergedClsPrefixRef,
12257
- inlineThemeDisabled,
12258
- mergedRtlRef
12251
+ inlineThemeDisabled
12259
12252
  } = useConfig(props);
12260
12253
  const themeRef = useTheme("Popover", "-popover", style$4, popoverLight, props, mergedClsPrefixRef);
12261
- const rtlEnabledRef = useRtl("Popover", mergedRtlRef, mergedClsPrefixRef);
12262
12254
  const followerRef = ref(null);
12263
12255
  const NPopover2 = inject("NPopover");
12264
12256
  const bodyRef = ref(null);
@@ -12456,8 +12448,6 @@ const NPopoverBody = defineComponent({
12456
12448
  style: props.contentStyle
12457
12449
  }, slots);
12458
12450
  const maybeScrollableBody = props.scrollable ? h(XScrollbar, {
12459
- themeOverrides: themeRef.value.peerOverrides.Scrollbar,
12460
- theme: themeRef.value.peers.Scrollbar,
12461
12451
  contentClass: hasHeaderOrFooter ? void 0 : `${mergedClsPrefix}-popover__content ${(_b = props.contentClass) !== null && _b !== void 0 ? _b : ""}`,
12462
12452
  contentStyle: hasHeaderOrFooter ? void 0 : props.contentStyle
12463
12453
  }, {
@@ -12473,7 +12463,7 @@ const NPopoverBody = defineComponent({
12473
12463
  return [maybeScrollableBody, arrow];
12474
12464
  };
12475
12465
  contentNode = h("div", mergeProps({
12476
- class: [`${mergedClsPrefix}-popover`, `${mergedClsPrefix}-popover-shared`, (rtlEnabledRef === null || rtlEnabledRef === void 0 ? void 0 : rtlEnabledRef.value) && `${mergedClsPrefix}-popover--rtl`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, extraClass.map((v) => `${mergedClsPrefix}-${v}`), {
12466
+ class: [`${mergedClsPrefix}-popover`, `${mergedClsPrefix}-popover-shared`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, extraClass.map((v) => `${mergedClsPrefix}-${v}`), {
12477
12467
  [`${mergedClsPrefix}-popover--scrollable`]: props.scrollable,
12478
12468
  [`${mergedClsPrefix}-popover--show-header-or-footer`]: hasHeaderOrFooter,
12479
12469
  [`${mergedClsPrefix}-popover--raw`]: props.raw,
@@ -12497,7 +12487,7 @@ const NPopoverBody = defineComponent({
12497
12487
  // The popover class and overlap class must exists, they will be used
12498
12488
  // to place the body & transition animation.
12499
12489
  // Shadow class exists for reuse box-shadow.
12500
- [`${mergedClsPrefix}-popover-shared`, (rtlEnabledRef === null || rtlEnabledRef === void 0 ? void 0 : rtlEnabledRef.value) && `${mergedClsPrefix}-popover--rtl`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, props.overlap && `${mergedClsPrefix}-popover-shared--overlap`, props.showArrow && `${mergedClsPrefix}-popover-shared--show-arrow`, props.arrowPointToCenter && `${mergedClsPrefix}-popover-shared--center-arrow`],
12490
+ [`${mergedClsPrefix}-popover-shared`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, props.overlap && `${mergedClsPrefix}-popover-shared--overlap`, props.showArrow && `${mergedClsPrefix}-popover-shared--show-arrow`, props.arrowPointToCenter && `${mergedClsPrefix}-popover-shared--center-arrow`],
12501
12491
  bodyRef,
12502
12492
  styleRef.value,
12503
12493
  handleMouseEnter,
@@ -14948,8 +14938,7 @@ function self$1(vars) {
14948
14938
  closeIconColorPressedLoading: closeIconColorPressed,
14949
14939
  loadingColor: primaryColor,
14950
14940
  lineHeight: lineHeight2,
14951
- borderRadius,
14952
- border: "0"
14941
+ borderRadius
14953
14942
  });
14954
14943
  }
14955
14944
  const messageLight = {
@@ -15000,7 +14989,6 @@ const style = c$1([cB("message-wrapper", `
15000
14989
  margin-bottom .3s var(--n-bezier);
15001
14990
  padding: var(--n-padding);
15002
14991
  border-radius: var(--n-border-radius);
15003
- border: var(--n-border);
15004
14992
  flex-wrap: nowrap;
15005
14993
  overflow: hidden;
15006
14994
  max-width: var(--n-max-width);
@@ -15119,7 +15107,6 @@ const NMessage = defineComponent({
15119
15107
  fontSize: fontSize2,
15120
15108
  lineHeight: lineHeight2,
15121
15109
  borderRadius,
15122
- border,
15123
15110
  iconColorInfo,
15124
15111
  iconColorSuccess,
15125
15112
  iconColorWarning,
@@ -15163,8 +15150,7 @@ const NMessage = defineComponent({
15163
15150
  "--n-close-icon-color-pressed": closeIconColorPressed,
15164
15151
  "--n-close-icon-color-hover": closeIconColorHover,
15165
15152
  "--n-line-height": lineHeight2,
15166
- "--n-border-radius": borderRadius,
15167
- "--n-border": border
15153
+ "--n-border-radius": borderRadius
15168
15154
  };
15169
15155
  });
15170
15156
  const themeClassHandle = inlineThemeDisabled ? useThemeClass("message", computed(() => props.type[0]), cssVarsRef, {}) : void 0;
@@ -17262,7 +17248,7 @@ const _sfc_main = {
17262
17248
  __name: "SuperDoc",
17263
17249
  emits: ["selection-update"],
17264
17250
  setup(__props, { emit: __emit }) {
17265
- const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-BM7Ea3yr.es.js"));
17251
+ const PdfViewer = defineAsyncComponent(() => import("./PdfViewer--LBuUP6i.es.js"));
17266
17252
  const superdocStore = useSuperdocStore();
17267
17253
  const commentsStore = useCommentsStore();
17268
17254
  const {
@@ -17906,7 +17892,7 @@ class SuperDoc extends EventEmitter {
17906
17892
  this.config.colors = shuffleArray(this.config.colors);
17907
17893
  this.userColorMap = /* @__PURE__ */ new Map();
17908
17894
  this.colorIndex = 0;
17909
- this.version = "0.19.0-next.0";
17895
+ this.version = "0.18.0";
17910
17896
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
17911
17897
  this.superdocId = config.superdocId || v4();
17912
17898
  this.colors = this.config.colors;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const superEditor_es = require("./super-editor.es-BSOX4l_Z.cjs");
2
+ const superEditor_es = require("./super-editor.es-DnT7Aa3y.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");
@@ -6517,7 +6517,7 @@ function resolveTo(selector) {
6517
6517
  if (typeof selector === "string") {
6518
6518
  return document.querySelector(selector);
6519
6519
  }
6520
- return selector() || null;
6520
+ return selector();
6521
6521
  }
6522
6522
  const LazyTeleport = vue.defineComponent({
6523
6523
  name: "LazyTeleport",
@@ -6605,11 +6605,8 @@ const oppositeAlignCssPositionProps = {
6605
6605
  };
6606
6606
  const keepOffsetDirection = {
6607
6607
  top: true,
6608
- // top++
6609
6608
  bottom: false,
6610
- // top--
6611
6609
  left: true,
6612
- // left++
6613
6610
  right: false
6614
6611
  // left--
6615
6612
  };
@@ -7726,6 +7723,7 @@ function isFocusable(element) {
7726
7723
  return !!element.href && element.rel !== "ignore";
7727
7724
  case "INPUT":
7728
7725
  return element.type !== "hidden" && element.type !== "file";
7726
+ case "BUTTON":
7729
7727
  case "SELECT":
7730
7728
  case "TEXTAREA":
7731
7729
  return true;
@@ -7744,8 +7742,8 @@ const FocusTrap = vue.defineComponent({
7744
7742
  default: true
7745
7743
  },
7746
7744
  onEsc: Function,
7747
- initialFocusTo: [String, Function],
7748
- finalFocusTo: [String, Function],
7745
+ initialFocusTo: String,
7746
+ finalFocusTo: String,
7749
7747
  returnFocusOnDeactivated: {
7750
7748
  type: Boolean,
7751
7749
  default: true
@@ -10528,7 +10526,6 @@ function self$6(vars) {
10528
10526
  });
10529
10527
  }
10530
10528
  const scrollbarLight = {
10531
- name: "Scrollbar",
10532
10529
  common: derived,
10533
10530
  self: self$6
10534
10531
  };
@@ -12044,14 +12041,11 @@ function self$5(vars) {
12044
12041
  boxShadow: boxShadow2
12045
12042
  });
12046
12043
  }
12047
- const popoverLight = createTheme({
12044
+ const popoverLight = {
12048
12045
  name: "Popover",
12049
12046
  common: derived,
12050
- peers: {
12051
- Scrollbar: scrollbarLight
12052
- },
12053
12047
  self: self$5
12054
- });
12048
+ };
12055
12049
  const oppositePlacement = {
12056
12050
  top: "bottom",
12057
12051
  bottom: "top",
@@ -12271,11 +12265,9 @@ const NPopoverBody = vue.defineComponent({
12271
12265
  const {
12272
12266
  namespaceRef,
12273
12267
  mergedClsPrefixRef,
12274
- inlineThemeDisabled,
12275
- mergedRtlRef
12268
+ inlineThemeDisabled
12276
12269
  } = useConfig(props);
12277
12270
  const themeRef = useTheme("Popover", "-popover", style$4, popoverLight, props, mergedClsPrefixRef);
12278
- const rtlEnabledRef = useRtl("Popover", mergedRtlRef, mergedClsPrefixRef);
12279
12271
  const followerRef = vue.ref(null);
12280
12272
  const NPopover2 = vue.inject("NPopover");
12281
12273
  const bodyRef = vue.ref(null);
@@ -12473,8 +12465,6 @@ const NPopoverBody = vue.defineComponent({
12473
12465
  style: props.contentStyle
12474
12466
  }, slots);
12475
12467
  const maybeScrollableBody = props.scrollable ? vue.h(XScrollbar, {
12476
- themeOverrides: themeRef.value.peerOverrides.Scrollbar,
12477
- theme: themeRef.value.peers.Scrollbar,
12478
12468
  contentClass: hasHeaderOrFooter ? void 0 : `${mergedClsPrefix}-popover__content ${(_b = props.contentClass) !== null && _b !== void 0 ? _b : ""}`,
12479
12469
  contentStyle: hasHeaderOrFooter ? void 0 : props.contentStyle
12480
12470
  }, {
@@ -12490,7 +12480,7 @@ const NPopoverBody = vue.defineComponent({
12490
12480
  return [maybeScrollableBody, arrow];
12491
12481
  };
12492
12482
  contentNode = vue.h("div", vue.mergeProps({
12493
- class: [`${mergedClsPrefix}-popover`, `${mergedClsPrefix}-popover-shared`, (rtlEnabledRef === null || rtlEnabledRef === void 0 ? void 0 : rtlEnabledRef.value) && `${mergedClsPrefix}-popover--rtl`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, extraClass.map((v) => `${mergedClsPrefix}-${v}`), {
12483
+ class: [`${mergedClsPrefix}-popover`, `${mergedClsPrefix}-popover-shared`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, extraClass.map((v) => `${mergedClsPrefix}-${v}`), {
12494
12484
  [`${mergedClsPrefix}-popover--scrollable`]: props.scrollable,
12495
12485
  [`${mergedClsPrefix}-popover--show-header-or-footer`]: hasHeaderOrFooter,
12496
12486
  [`${mergedClsPrefix}-popover--raw`]: props.raw,
@@ -12514,7 +12504,7 @@ const NPopoverBody = vue.defineComponent({
12514
12504
  // The popover class and overlap class must exists, they will be used
12515
12505
  // to place the body & transition animation.
12516
12506
  // Shadow class exists for reuse box-shadow.
12517
- [`${mergedClsPrefix}-popover-shared`, (rtlEnabledRef === null || rtlEnabledRef === void 0 ? void 0 : rtlEnabledRef.value) && `${mergedClsPrefix}-popover--rtl`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, props.overlap && `${mergedClsPrefix}-popover-shared--overlap`, props.showArrow && `${mergedClsPrefix}-popover-shared--show-arrow`, props.arrowPointToCenter && `${mergedClsPrefix}-popover-shared--center-arrow`],
12507
+ [`${mergedClsPrefix}-popover-shared`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, props.overlap && `${mergedClsPrefix}-popover-shared--overlap`, props.showArrow && `${mergedClsPrefix}-popover-shared--show-arrow`, props.arrowPointToCenter && `${mergedClsPrefix}-popover-shared--center-arrow`],
12518
12508
  bodyRef,
12519
12509
  styleRef.value,
12520
12510
  handleMouseEnter,
@@ -14965,8 +14955,7 @@ function self$1(vars) {
14965
14955
  closeIconColorPressedLoading: closeIconColorPressed,
14966
14956
  loadingColor: primaryColor,
14967
14957
  lineHeight: lineHeight2,
14968
- borderRadius,
14969
- border: "0"
14958
+ borderRadius
14970
14959
  });
14971
14960
  }
14972
14961
  const messageLight = {
@@ -15017,7 +15006,6 @@ const style = c$1([cB("message-wrapper", `
15017
15006
  margin-bottom .3s var(--n-bezier);
15018
15007
  padding: var(--n-padding);
15019
15008
  border-radius: var(--n-border-radius);
15020
- border: var(--n-border);
15021
15009
  flex-wrap: nowrap;
15022
15010
  overflow: hidden;
15023
15011
  max-width: var(--n-max-width);
@@ -15136,7 +15124,6 @@ const NMessage = vue.defineComponent({
15136
15124
  fontSize: fontSize2,
15137
15125
  lineHeight: lineHeight2,
15138
15126
  borderRadius,
15139
- border,
15140
15127
  iconColorInfo,
15141
15128
  iconColorSuccess,
15142
15129
  iconColorWarning,
@@ -15180,8 +15167,7 @@ const NMessage = vue.defineComponent({
15180
15167
  "--n-close-icon-color-pressed": closeIconColorPressed,
15181
15168
  "--n-close-icon-color-hover": closeIconColorHover,
15182
15169
  "--n-line-height": lineHeight2,
15183
- "--n-border-radius": borderRadius,
15184
- "--n-border": border
15170
+ "--n-border-radius": borderRadius
15185
15171
  };
15186
15172
  });
15187
15173
  const themeClassHandle = inlineThemeDisabled ? useThemeClass("message", vue.computed(() => props.type[0]), cssVarsRef, {}) : void 0;
@@ -17279,7 +17265,7 @@ const _sfc_main = {
17279
17265
  __name: "SuperDoc",
17280
17266
  emits: ["selection-update"],
17281
17267
  setup(__props, { emit: __emit }) {
17282
- const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-DPqO7muc.cjs")));
17268
+ const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-NycJE6Xr.cjs")));
17283
17269
  const superdocStore = useSuperdocStore();
17284
17270
  const commentsStore = useCommentsStore();
17285
17271
  const {
@@ -17923,7 +17909,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
17923
17909
  this.config.colors = shuffleArray(this.config.colors);
17924
17910
  this.userColorMap = /* @__PURE__ */ new Map();
17925
17911
  this.colorIndex = 0;
17926
- this.version = "0.19.0-next.0";
17912
+ this.version = "0.18.0";
17927
17913
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
17928
17914
  this.superdocId = config.superdocId || uuid.v4();
17929
17915
  this.colors = this.config.colors;