superdoc 1.0.0-beta.16 → 1.0.0-beta.18

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 (31) hide show
  1. package/dist/chunks/{PdfViewer-ODeuH1gb.es.js → PdfViewer-CDEQktlZ.es.js} +1 -1
  2. package/dist/chunks/{PdfViewer-93eWvs8z.cjs → PdfViewer-CZgU5VTe.cjs} +1 -1
  3. package/dist/chunks/{index-RquHXtgI.cjs → index-CBFc2Hsa.cjs} +8 -4
  4. package/dist/chunks/{index-DexFffM7-Cbdy0Zy6.es.js → index-DpnfmQSg--uFI4inB.es.js} +1 -1
  5. package/dist/chunks/{index-DexFffM7-XZD_g6eY.cjs → index-DpnfmQSg-D54nF5iO.cjs} +1 -1
  6. package/dist/chunks/{index-DW5_UKLM.es.js → index-yYYhcBhg.es.js} +8 -4
  7. package/dist/chunks/{super-editor.es-Dg5uoFkw.es.js → super-editor.es-BNkRY9J-.es.js} +2518 -1261
  8. package/dist/chunks/{super-editor.es-BLKWkx5G.cjs → super-editor.es-BfPsU6H-.cjs} +2517 -1260
  9. package/dist/packages/superdoc/src/components/CommentsLayer/use-comment.d.ts.map +1 -1
  10. package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -1
  11. package/dist/style.css +13 -13
  12. package/dist/super-editor/ai-writer.es.js +2 -2
  13. package/dist/super-editor/chunks/{converter-C_R_BK8X.js → converter-Cz21HA_9.js} +277 -48
  14. package/dist/super-editor/chunks/{docx-zipper-BvQAYmi1.js → docx-zipper-DiEfO4LE.js} +1 -1
  15. package/dist/super-editor/chunks/{editor-DFFvalb1.js → editor-DoxVe-iR.js} +2082 -1159
  16. package/dist/super-editor/chunks/{index-DexFffM7.js → index-DpnfmQSg.js} +1 -1
  17. package/dist/super-editor/chunks/{toolbar-DLPfegtw.js → toolbar-CKdQr5PG.js} +2 -2
  18. package/dist/super-editor/converter.es.js +1 -1
  19. package/dist/super-editor/docx-zipper.es.js +2 -2
  20. package/dist/super-editor/editor.es.js +3 -3
  21. package/dist/super-editor/file-zipper.es.js +1 -1
  22. package/dist/super-editor/style.css +13 -13
  23. package/dist/super-editor/super-editor.es.js +250 -80
  24. package/dist/super-editor/toolbar.es.js +2 -2
  25. package/dist/super-editor.cjs +3 -3
  26. package/dist/super-editor.es.js +1 -1
  27. package/dist/superdoc.cjs +2 -2
  28. package/dist/superdoc.es.js +2 -2
  29. package/dist/superdoc.umd.js +2516 -1255
  30. package/dist/superdoc.umd.js.map +1 -1
  31. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { aJ as getDefaultExportFromCjs } from "./converter-C_R_BK8X.js";
1
+ import { aK as getDefaultExportFromCjs } from "./converter-Cz21HA_9.js";
2
2
  import { V as VFile } from "./index-CvBqQJbG.js";
3
3
  function bail(error) {
4
4
  if (error) {
@@ -1,6 +1,6 @@
1
1
  import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, onMounted, onBeforeUnmount, createVNode, readonly, watch, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
2
- import { p as process$1 } from "./converter-C_R_BK8X.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DFFvalb1.js";
2
+ import { p as process$1 } from "./converter-Cz21HA_9.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DoxVe-iR.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -1,4 +1,4 @@
1
- import { ac } from "./chunks/converter-C_R_BK8X.js";
1
+ import { ac } from "./chunks/converter-Cz21HA_9.js";
2
2
  export {
3
3
  ac as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-C_R_BK8X.js";
2
- import { D } from "./chunks/docx-zipper-BvQAYmi1.js";
1
+ import "./chunks/converter-Cz21HA_9.js";
2
+ import { D } from "./chunks/docx-zipper-DiEfO4LE.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-DFFvalb1.js";
2
- import "./chunks/converter-C_R_BK8X.js";
3
- import "./chunks/docx-zipper-BvQAYmi1.js";
1
+ import { E } from "./chunks/editor-DoxVe-iR.js";
2
+ import "./chunks/converter-Cz21HA_9.js";
3
+ import "./chunks/docx-zipper-DiEfO4LE.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-BvQAYmi1.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-DiEfO4LE.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -1876,7 +1876,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1876
1876
  }
1877
1877
 
1878
1878
  /* @remarks - popover adds a slight shadow, this can be removed if needed */
1879
- .generic-popover[data-v-cbddcc0f] {
1879
+ .generic-popover[data-v-157855b5] {
1880
1880
  /* @remarks - this should ideally be handled by the content or component - but some are missing */
1881
1881
  background-color: white;
1882
1882
  position: absolute;
@@ -1889,18 +1889,18 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1889
1889
  min-height: 40px;
1890
1890
  }
1891
1891
 
1892
- .superdoc-table-resize-overlay[data-v-3f4a506b] {
1892
+ .superdoc-table-resize-overlay[data-v-2fdf7836] {
1893
1893
  position: absolute;
1894
1894
  pointer-events: none;
1895
1895
  user-select: none;
1896
1896
  }
1897
- .resize-handle[data-v-3f4a506b] {
1897
+ .resize-handle[data-v-2fdf7836] {
1898
1898
  position: absolute;
1899
1899
  cursor: col-resize;
1900
1900
  user-select: none;
1901
1901
  z-index: 15;
1902
1902
  }
1903
- .resize-handle[data-v-3f4a506b]::before {
1903
+ .resize-handle[data-v-2fdf7836]::before {
1904
1904
  content: '';
1905
1905
  position: absolute;
1906
1906
  left: 50%;
@@ -1913,17 +1913,17 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1913
1913
  background-color 0.2s ease,
1914
1914
  width 0.2s ease;
1915
1915
  }
1916
- .resize-handle[data-v-3f4a506b]:hover::before {
1916
+ .resize-handle[data-v-2fdf7836]:hover::before {
1917
1917
  background-color: #4a90e2;
1918
1918
  width: 3px;
1919
1919
  transform: translateX(-1.5px);
1920
1920
  }
1921
- .resize-handle--active[data-v-3f4a506b]::before {
1921
+ .resize-handle--active[data-v-2fdf7836]::before {
1922
1922
  background-color: #4a90e2;
1923
1923
  width: 2px;
1924
1924
  transform: translateX(-1px);
1925
1925
  }
1926
- .resize-guideline[data-v-3f4a506b] {
1926
+ .resize-guideline[data-v-2fdf7836] {
1927
1927
  position: absolute;
1928
1928
  background-color: #4a90e2;
1929
1929
  pointer-events: none;
@@ -1969,10 +1969,10 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1969
1969
  box-shadow: 0 0 4px rgba(74, 144, 226, 0.5);
1970
1970
  }
1971
1971
 
1972
- .editor-element[data-v-a84087aa] {
1972
+ .editor-element[data-v-08b32c3d] {
1973
1973
  position: relative;
1974
1974
  }
1975
- .super-editor-container[data-v-a84087aa] {
1975
+ .super-editor-container[data-v-08b32c3d] {
1976
1976
  width: auto;
1977
1977
  height: auto;
1978
1978
  min-width: 8in;
@@ -1981,14 +1981,14 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1981
1981
  display: flex;
1982
1982
  flex-direction: column;
1983
1983
  }
1984
- .ruler[data-v-a84087aa] {
1984
+ .ruler[data-v-08b32c3d] {
1985
1985
  margin-bottom: 2px;
1986
1986
  }
1987
- .super-editor[data-v-a84087aa] {
1987
+ .super-editor[data-v-08b32c3d] {
1988
1988
  color: initial;
1989
1989
  overflow: hidden;
1990
1990
  }
1991
- .placeholder-editor[data-v-a84087aa] {
1991
+ .placeholder-editor[data-v-08b32c3d] {
1992
1992
  position: absolute;
1993
1993
  top: 0;
1994
1994
  left: 0;
@@ -2000,7 +2000,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
2000
2000
  background-color: white;
2001
2001
  box-sizing: border-box;
2002
2002
  }
2003
- .placeholder-title[data-v-a84087aa] {
2003
+ .placeholder-title[data-v-08b32c3d] {
2004
2004
  display: flex;
2005
2005
  justify-content: center;
2006
2006
  margin-bottom: 40px;