@harbour-enterprises/superdoc 0.10.5 → 0.10.7

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 (27) hide show
  1. package/dist/chunks/{super-editor.es-C7VxrH4T.es.js → super-editor.es-ByxULFVB.es.js} +4237 -4235
  2. package/dist/chunks/{super-editor.es-C-0jzk6B.cjs → super-editor.es-IrHgPDbt.cjs} +51 -51
  3. package/dist/composables/use-document.d.ts +1 -0
  4. package/dist/composables/use-document.d.ts.map +1 -1
  5. package/dist/core/SuperDoc.d.ts.map +1 -1
  6. package/dist/stores/superdoc-store.d.ts.map +1 -1
  7. package/dist/style.css +20 -20
  8. package/dist/super-editor/chunks/{converter-D8pLTGtP.js → converter-oi8fYYnH.js} +2 -2
  9. package/dist/super-editor/chunks/{docx-zipper-BEeS4FhN.js → docx-zipper-BD4Hl_Ly.js} +1 -1
  10. package/dist/super-editor/chunks/{editor-vcOlYDin.js → editor-HMA4CBmu.js} +1790 -1789
  11. package/dist/super-editor/chunks/{toolbar-CCw0S8RT.js → toolbar-1fR16UCp.js} +2 -2
  12. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  13. package/dist/super-editor/converter.es.js +1 -1
  14. package/dist/super-editor/core/Editor.d.ts.map +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/style.css +1 -1
  19. package/dist/super-editor/super-editor.es.js +71 -71
  20. package/dist/super-editor/toolbar.es.js +2 -2
  21. package/dist/super-editor.cjs +1 -1
  22. package/dist/super-editor.es.js +4 -4
  23. package/dist/superdoc.cjs +26 -26
  24. package/dist/superdoc.es.js +1305 -1298
  25. package/dist/superdoc.umd.js +2295 -2277
  26. package/dist/superdoc.umd.js.map +1 -1
  27. package/package.json +4 -1
@@ -1,6 +1,6 @@
1
1
  import { computed as _, createElementBlock as se, openBlock as q, createElementVNode as pn, createCommentVNode as pe, normalizeClass as Zt, normalizeStyle as Jt, ref as R, unref as W, createBlock as Ge, toDisplayString as ni, withDirectives as dt, withKeys as Nr, withModifiers as Hr, vModelText as jr, getCurrentInstance as _t, createVNode as Et, readonly as Qt, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Ks, onBeforeMount as dr, inject as te, onActivated as Vs, onDeactivated as ri, createTextVNode as At, Fragment as _e, Comment as fr, defineComponent as ee, provide as Se, h as E, Teleport as Us, toRef as ie, nextTick as Gs, renderSlot as Xs, isVNode as qs, shallowRef as Ys, watchEffect as ft, mergeProps as pt, Transition as en, vShow as Zs, cloneVNode as Js, Text as Qs, renderList as el, withCtx as Bn } from "vue";
2
- import { p as tn } from "./converter-D8pLTGtP.js";
3
- import { _ as vt, g as Pt } from "./editor-vcOlYDin.js";
2
+ import { p as tn } from "./converter-oi8fYYnH.js";
3
+ import { _ as vt, g as Pt } from "./editor-HMA4CBmu.js";
4
4
  const Tp = (e, t) => {
5
5
  let n = e.replace(/[^0-9.]/g, "");
6
6
  return n = parseFloat(n), isNaN(n) && (n = t), n = parseFloat(n), n;
@@ -1 +1 @@
1
- {"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAeA;IAaE,yBAsCC;IAlDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUE;IAMA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,UAAmC;IAuBnC,gCAA6B;IAGrB,uQAAiC;IACzC,kBAAyC;IAoL3C,0BAEC;IAED,gCAIC;IAED;;;OAGG;IACH,wBAFW,GAAC,QAKX;IAED,6CAEC;IA2DD;;;OAGG;IACH,2BA8CC;IAED,4BAKE;IAaA,eAAmD;IACnD,eAAmD;IAGrD;;OAEG;IACH;;;aAGC;IAED;;;;;OAKG;IACH,0CAoBC;;CAYF;yBA5bwB,eAAe"}
1
+ {"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAeA;IAaE,yBA2CC;IAvDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUE;IAMA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,UAAmC;IA4BnC,gCAA6B;IAGrB,uQAAiC;IACzC,kBAAyC;IAoL3C,0BAEC;IAED,gCAIC;IAED;;;OAGG;IACH,wBAFW,GAAC,QAKX;IAED,6CAEC;IA2DD;;;OAGG;IACH,2BA8CC;IAED,4BAKE;IAaA,eAAmD;IACnD,eAAmD;IAGrD;;OAEG;IACH;;;aAGC;IAED;;;;;OAKG;IACH,0CAoBC;;CAYF;yBAjcwB,eAAe"}
@@ -1,4 +1,4 @@
1
- import { O as o } from "./chunks/converter-D8pLTGtP.js";
1
+ import { O as o } from "./chunks/converter-oi8fYYnH.js";
2
2
  export {
3
3
  o as SuperConverter
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AAwBA;;GAEG;AACH;IAseE;;;OAGG;IACH,sEAQC;IAED,6CAGC;IAED,8DAGC;IA0hBD,sDAKC;IA/8BD,0BAmBC;IA5FD,sBAAiB;IAEjB,qBAAsB;IAEtB,YAAO;IAEP,UAAK;IAEL,mBAAkB;IAIlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2DE;IA0HF,+BAEC;IADC,aAAsB;IAgBxB;;OAEG;IACH,iBAEC;IAED;;OAEG;IACH,kBAEC;IAED;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,sBAEC;IAED;;OAEG;IACH,uBAEC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,aAEC;IAED;;OAEG;IACH,WAEC;IAED,yCA8BC;IAED;;;OAGG;IACH,oCAYC;IA0BD;;;OAGG;IACH,+BAmBC;IAED;;;;OAIG;IACH,uDAMC;IAED;;;;OAIG;IACH,sDAQC;IAED;;;OAGG;IACH,6CAUC;IAgCG,eAAuC;IA4I3C;;OAEG;IACH,wBAIC;IAED;;;;;;MAeC;IAED;;;;OAIG;IACH,uCA+CC;IAED,qCAkDC;IA2HD;;;;OAIG;IACH,oCAEC;IAED;;;;;;OAMG;IACH,qEAKC;IAED;;OAEG;IACH,eAEC;IAED;;OAEG;IACH,kBAMC;IAED;;OAEG;IACH,qBAEC;IAED;;;;;;OAMG;IACH,iCAHG;QAAuB,WAAW;KAClC,GAAU,IAAI,CAiBhB;IA6CD;;OAEG;IACH;;;qBA8DC;IAcD;;OAEG;IACH,gBAKC;IASD;;;;OAIG;IACH,kCAFa,CAAC,CAAC,GAAG,GAAG,SAAS,CA8B7B;IAED,yCAwBC;;CACF;6BAhnC4B,mBAAmB"}
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AAwBA;;GAEG;AACH;IA2eE;;;OAGG;IACH,sEAQC;IAED,6CAGC;IAED,8DAGC;IAoiBD,sDAKC;IA99BD,0BAmBC;IA5FD,sBAAiB;IAEjB,qBAAsB;IAEtB,YAAO;IAEP,UAAK;IAEL,mBAAkB;IAIlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2DE;IA+HF,+BAEC;IADC,aAAsB;IAgBxB;;OAEG;IACH,iBAEC;IAED;;OAEG;IACH,kBAEC;IAED;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,sBAEC;IAED;;OAEG;IACH,uBAEC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,aAEC;IAED;;OAEG;IACH,WAEC;IAED,yCA8BC;IAED;;;OAGG;IACH,oCAYC;IA0BD;;;OAGG;IACH,+BAmBC;IAED;;;;OAIG;IACH,uDAMC;IAED;;;;OAIG;IACH,sDAQC;IAED;;;OAGG;IACH,6CAUC;IAgCG,eAAuC;IAsJ3C;;OAEG;IACH,wBAIC;IAED;;;;;;MAeC;IAED;;;;OAIG;IACH,uCA+CC;IAED,qCAkDC;IA2HD;;;;OAIG;IACH,oCAEC;IAED;;;;;;OAMG;IACH,qEAKC;IAED;;OAEG;IACH,eAEC;IAED;;OAEG;IACH,kBAMC;IAED;;OAEG;IACH,qBAEC;IAED;;;;;;OAMG;IACH,iCAHG;QAAuB,WAAW;KAClC,GAAU,IAAI,CAiBhB;IA6CD;;OAEG;IACH;;;qBA8DC;IAcD;;OAEG;IACH,gBAKC;IASD;;;;OAIG;IACH,kCAFa,CAAC,CAAC,GAAG,GAAG,SAAS,CA8B7B;IAED,yCAwBC;;CACF;6BA/nC4B,mBAAmB"}
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-D8pLTGtP.js";
2
- import { D as a } from "./chunks/docx-zipper-BEeS4FhN.js";
1
+ import "./chunks/converter-oi8fYYnH.js";
2
+ import { D as a } from "./chunks/docx-zipper-BD4Hl_Ly.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E as m } from "./chunks/editor-vcOlYDin.js";
2
- import "./chunks/converter-D8pLTGtP.js";
3
- import "./chunks/docx-zipper-BEeS4FhN.js";
1
+ import { E as m } from "./chunks/editor-HMA4CBmu.js";
2
+ import "./chunks/converter-oi8fYYnH.js";
3
+ import "./chunks/docx-zipper-BD4Hl_Ly.js";
4
4
  export {
5
5
  m as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as p } from "./chunks/docx-zipper-BEeS4FhN.js";
1
+ import { J as p } from "./chunks/docx-zipper-BD4Hl_Ly.js";
2
2
  async function c(o, t) {
3
3
  const e = new p();
4
4
  return o.forEach((i, n) => {
@@ -1 +1 @@
1
- .selected[data-v-0a2a8b4e]{background-color:#dbdbdb}.mentions-container[data-v-0a2a8b4e]{outline:none!important;border:none;max-height:300px;overflow-y:auto}.mentions-container[data-v-0a2a8b4e]:focus{border:none;outline:none!important}.user-row[data-v-0a2a8b4e]{padding:10px 15px;cursor:pointer;transition:all .2s ease;box-sizing:border-box}.toolbar-icon[data-v-6d7523ab]{display:flex;align-items:center;justify-content:center;flex-shrink:0}.toolbar-icon__icon[data-v-6d7523ab]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:16px}.toolbar-icon__icon--highlight[data-v-6d7523ab]{width:16px;margin-left:3px;margin-bottom:1px}.toolbar-icon__icon[data-v-6d7523ab] svg{width:auto;max-height:16px}.toolbar-icon__icon--color[data-v-6d7523ab] svg{max-height:14px;margin-top:-3px}.toolbar-button[data-v-6d7523ab]:hover{color:#000;background-color:#d8dee5}.toolbar-button[data-v-6d7523ab]:active,.active[data-v-6d7523ab]{background-color:#c8d0d8}.color-bar[data-v-6d7523ab]{border-radius:4px;position:absolute;z-index:5;height:4px;left:50%;bottom:6px;transform:translate(-50%);width:16px}.toolbar-item[data-v-33900b15]{position:relative;z-index:1;min-width:30px;margin:0 1px}.toolbar-button[data-v-33900b15]{padding:5px;height:32px;max-height:32px;border-radius:6px;overflow-y:visible;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#47484a;transition:all .2s ease-out;user-select:none;position:relative;box-sizing:border-box}.toolbar-button[data-v-33900b15]:hover{background-color:#dbdbdb}.toolbar-button[data-v-33900b15]:active,.active[data-v-33900b15]{background-color:#c8d0d8}.button-label[data-v-33900b15]{overflow:hidden;width:100%;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-weight:400;font-size:15px;margin:5px}.toolbar-icon+.dropdown-caret[data-v-33900b15]{margin-left:4px}.left[data-v-33900b15],.right[data-v-33900b15]{width:50%;height:100%;background-color:#dbdbdb;border-radius:60%}.has-inline-text-input[data-v-33900b15]:hover{cursor:text}.disabled[data-v-33900b15]{cursor:default}.disabled[data-v-33900b15]:hover{cursor:default;background-color:initial}.disabled .toolbar-icon[data-v-33900b15],.disabled .caret[data-v-33900b15],.disabled .button-label[data-v-33900b15]{opacity:.35}.caret[data-v-33900b15]{font-size:1em;padding-left:2px;padding-right:2px}.button-text-input[data-v-33900b15]{color:#47484a;border-radius:4px;text-align:center;width:30px;font-size:14px;margin-right:5px;font-weight:400;background-color:transparent;padding:2px 0;outline:none;border:1px solid #d8dee5;box-sizing:border-box}.button-text-input[data-v-33900b15]::placeholder{color:#47484a}.dropdown-caret[data-v-33900b15]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:auto;width:10px;height:10px}@media (max-width: 1280px){.toolbar-item--doc-mode .button-label[data-v-33900b15]{display:none}.toolbar-item--doc-mode .toolbar-icon[data-v-33900b15]{margin-right:5px}.toolbar-item--linked-styles[data-v-33900b15]{width:auto!important}.toolbar-item--linked-styles .button-label[data-v-33900b15]{display:none}}.toolbar-separator[data-v-ac2ee4f9]{height:32px;border-radius:6px;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;color:#dbdbdb;transition:all .2s ease-out;user-select:none;overflow:hidden}.toolbar-separator .separator-inner[data-v-ac2ee4f9]{width:1.5px;height:20px;background-color:#dbdbdb}.toolbar-button[data-v-ac2ee4f9]:hover{color:#000;background-color:#d8dee5}.toolbar-button[data-v-ac2ee4f9]:active,.active[data-v-ac2ee4f9]{background-color:#c8d0d8}.overflow-menu[data-v-ca29bf1d]{position:relative}.overflow-menu_items[data-v-ca29bf1d]{position:absolute;width:200px;top:calc(100% + 3px);right:0;padding:4px 8px;background-color:#fff;border-radius:8px;z-index:100;box-shadow:0 2px 4px #00000040;box-sizing:border-box}.superdoc-toolbar-overflow[data-v-ca29bf1d]{min-width:auto!important;max-width:200px;flex-wrap:wrap}@media (max-width: 300px){.overflow-menu_items[data-v-ca29bf1d]{right:auto;left:0;transform:translate(-50%)}}.n-dropdown{border-radius:8px;min-width:80px}.n-tooltip,.n-popover{background-color:#333!important;font-size:14px;border-radius:8px!important}.n-dropdown-option-body:hover:before,.n-dropdown-option-body:hover:after{background-color:#d8dee5!important}.toolbar-dropdown{cursor:pointer}.button-group[data-v-a19e1b9f]{display:flex}.superdoc-toolbar[data-v-4b88e275]{display:flex;width:100%;justify-content:space-between;padding:4px 16px;box-sizing:border-box}@media (max-width: 1280px){.superdoc-toolbar-group-side[data-v-4b88e275]{min-width:auto!important}}@media (max-width: 768px){.superdoc-toolbar[data-v-4b88e275]{padding:4px 10px;justify-content:inherit}}.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.input-active{border:1px solid #1355ff!important}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror li:has(>ul:first-child,>ol:first-child):not(:has(>p)){list-style-type:none}.ProseMirror li:has(>ul:first-child,>ol:first-child):not(:has(>p))::marker{content:""}.ProseMirror li::marker{font-size:var(--marker-font-size);font-family:var(--marker-font-family)}.ProseMirror li[data-marker-type]{list-style:none;display:grid;grid-template-columns:max-content 1fr;column-gap:.5em;align-items:start}.ProseMirror li[data-marker-type]::marker{content:""}.ProseMirror li[data-marker-type]:before{content:attr(data-marker-type);white-space:pre;font-size:var(--marker-font-size);font-family:var(--marker-font-family);grid-column:1}.ProseMirror li[data-marker-type]>*{grid-column:2;margin:0}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection *{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;inset:-2px -2px -2px -32px;border:2px solid #8cf;pointer-events:none}.ProseMirror img{height:auto;max-width:100%}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}.ProseMirror .super-doc-tab{display:inline-block;vertical-align:text-bottom}.ProseMirror u .super-doc-tab:not(.pagination-inner .super-doc-tab){white-space:pre;border-bottom:1px solid #000;margin-bottom:1.5px}.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}.ProseMirror .tableWrapper{--table-border-width: 1px;--offset: 2px;overflow-x:auto;scrollbar-width:thin;width:calc(100% + (var(--table-border-width) + var(--offset)))}.ProseMirror table{border-collapse:collapse;border-spacing:0;table-layout:fixed;overflow:hidden;margin:0}.ProseMirror tr{position:relative}.ProseMirror td,.ProseMirror th{min-width:1em;padding:3px 2px;position:relative;vertical-align:top;box-sizing:border-box;overflow-wrap:anywhere}.ProseMirror th{font-weight:700;text-align:left}.ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;z-index:20;background-color:#adf;pointer-events:none}.ProseMirror table .selectedCell:after{position:absolute;content:"";inset:0;background:#c8c8ff66;pointer-events:none;z-index:2}.ProseMirror .track-insert-dec,.ProseMirror .track-delete-dec,.ProseMirror .track-format-dec{pointer-events:none}.ProseMirror .track-insert-dec.hidden,.ProseMirror .track-delete-dec.hidden{display:none}.ProseMirror .track-insert-dec.highlighted{border-top:1px dashed #00853D;border-bottom:1px dashed #00853D;background-color:#399c7222}.ProseMirror .track-delete-dec.highlighted{border-top:1px dashed #CB0E47;border-bottom:1px dashed #CB0E47;background-color:#cb0e4722;text-decoration:line-through;text-decoration-thickness:2px}.ProseMirror .track-format-dec.highlighted{border-bottom:2px solid gold}.ProseMirror .track-delete-widget{visibility:hidden}.ProseMirror>.ProseMirror-yjs-cursor:first-child{margin-top:16px}.ProseMirror-yjs-cursor{position:relative;margin-left:-1px;margin-right:-1px;border-left:1px solid black;border-right:1px solid black;border-color:orange;word-break:normal;pointer-events:none}.ProseMirror-yjs-cursor>div{position:absolute;top:-1.05em;left:-1px;font-size:13px;background-color:#fa8100;font-family:serif;font-style:normal;font-weight:400;line-height:normal;user-select:none;color:#fff;padding-left:2px;padding-right:2px;white-space:nowrap}.ProseMirror placeholder{display:inline;border:1px solid #ccc;color:#ccc}.ProseMirror placeholder:after{content:"☁";font-size:200%;line-height:.1;font-weight:700}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute;margin:0}.ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid black;animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.superdoc-toolbar svg{width:100%;height:100%;display:block;fill:currentColor}.superdoc-toolbar svg path{stroke:currentColor}.n-dropdown-option .dropdown-select-icon{display:flex;width:12px;height:12px}.pagination-section-header{cursor:default}.pagination-section-footer{position:relative;width:100%;min-width:100%;display:flex;flex-direction:column;justify-content:flex-end;cursor:default}.pagination-break-wrapper{width:100%;margin:0;padding:0;cursor:default;position:relative}.pagination-separator{position:relative;display:block;height:18px;min-height:18px;min-width:100%;width:100%;border-top:1px solid #DBDBDB;border-bottom:1px solid #DBDBDB;cursor:default}.pagination-inner{position:absolute;top:0;left:0;display:flex;flex-direction:column;background-color:#fff}.popover{background-color:#fff;border-radius:8px;-webkit-box-shadow:0px 4px 12px 0px rgba(50,50,50,.15);-moz-box-shadow:0px 4px 12px 0px rgba(50,50,50,.15);box-shadow:0 4px 12px #32323226;padding:0;width:auto;height:auto;font-size:14px;color:#333;z-index:1000}.popover-header{font-weight:700;margin-bottom:8px}.tippy-content{padding:0}.tippy-box[data-theme~=popover]{background-color:#fff;border-radius:8px;box-shadow:0 4px 8px #0000001a;border:none}.tippy-box[data-theme~=popover] .tippy-arrow{color:#fff;border:1px solid #dbdbdb}.tippy-box[data-theme~=popover]{border:none!important;padding:none!important}.super-editor-placeholder:before{content:attr(data-placeholder);color:#aaa;pointer-events:none;display:block;height:0}.super-editor-mention{background-color:#1355ff15;color:#222;font-weight:400;border-radius:3px;padding:0 5px;cursor:default;display:inline-block;box-sizing:border-box}.comment-highlight{transition:background-color .25s ease}.comment-highlight:hover{background-color:#1354ff55}.alignment-buttons[data-v-d6fae878]{display:flex;justify-content:space-between;width:100%;padding:8px;box-sizing:border-box}.button-icon[data-v-d6fae878]{cursor:pointer;padding:5px;font-size:16px;width:25px;height:25px;border-radius:4px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.button-icon[data-v-d6fae878]:hover{background-color:#d8dee5}.button-icon[data-v-d6fae878] svg{width:100%;height:100%;display:block;fill:currentColor}.link-input-ctn[data-v-6990d5b2] svg{width:100%;height:100%;display:block;fill:currentColor}.open-link-icon[data-v-6990d5b2]{margin-left:10px;width:30px;height:30px;border-radius:50%;border:1px solid transparent;display:flex;justify-content:center;align-items:center;flex-shrink:0;transition:all .2s ease;cursor:pointer}.open-link-icon[data-v-6990d5b2]:hover{color:#1355ff;background-color:#fff;border:1px solid #dbdbdb}.open-link-icon[data-v-6990d5b2] svg{width:15px;height:15px}.disabled[data-v-6990d5b2]{opacity:.6;cursor:not-allowed;pointer-events:none}.link-buttons[data-v-6990d5b2]{display:flex;justify-content:flex-end;margin-top:10px}.remove-btn__icon[data-v-6990d5b2]{display:inline-flex;width:13px;height:13px;flex-shrink:0;margin-right:4px}.link-buttons button[data-v-6990d5b2]{margin-left:5px}.disable-btn[data-v-6990d5b2]{opacity:.6;cursor:not-allowed;pointer-events:none}.go-to-anchor a[data-v-6990d5b2]{font-size:14px;text-decoration:underline}.clickable[data-v-6990d5b2]{cursor:pointer}.link-title[data-v-6990d5b2]{font-size:14px;font-weight:600;margin-bottom:10px}.input-icon[data-v-6990d5b2]{position:absolute;transform:rotate(45deg);left:25px;width:auto;height:12px;color:#999;pointer-events:none}.hasBottomMargin[data-v-6990d5b2]{margin-bottom:1em}.link-input-ctn[data-v-6990d5b2]{width:320px;display:flex;flex-direction:column;padding:1em;border-radius:5px;background-color:#fff;box-sizing:border-box}.remove-btn[data-v-6990d5b2]{display:inline-flex;justify-content:center;align-items:center;padding:10px 16px;border-radius:8px;outline:none;background-color:#fff;color:#000;font-weight:400;font-size:13px;cursor:pointer;transition:all .2s ease;border:1px solid #ebebeb;box-sizing:border-box}.remove-btn[data-v-6990d5b2]:hover{background-color:#dbdbdb}.submit-btn[data-v-6990d5b2]{display:inline-flex;justify-content:center;align-items:center;padding:10px 16px;border-radius:8px;outline:none;border:none;background-color:#1355ff;color:#fff;font-weight:400;font-size:13px;cursor:pointer;transition:all .2s ease;box-sizing:border-box}.submit-btn[data-v-6990d5b2]:hover{background-color:#0d47c1}.input-row[data-v-6990d5b2]{align-content:baseline;display:flex;align-items:center}.input-row input[data-v-6990d5b2]{font-size:13px;flex-grow:1;border-radius:8px;padding:10px 10px 10px 32px;box-shadow:0 4px 12px #00000026;color:#666;border:1px solid #ddd;box-sizing:border-box}.input-row input[data-v-6990d5b2]:active,.input-row input[data-v-6990d5b2]:focus{outline:none;border:1px solid #1355ff}.input-row[data-v-6990d5b2]{font-size:16px}.error[data-v-6990d5b2]{border-color:red!important;background-color:#ff00001a}.submit[data-v-6990d5b2]{cursor:pointer}.document-mode[data-v-f86e1477] svg{width:100%;height:100%;display:block;fill:currentColor}.disabled[data-v-f86e1477]{opacity:.5;cursor:not-allowed!important;pointer-events:none}.document-mode[data-v-f86e1477]{display:flex;flex-direction:column;padding:10px;box-sizing:border-box}.option-item[data-v-f86e1477]{display:flex;flex-direction:row;background-color:#fff;padding:10px;border-radius:4px;cursor:pointer;box-sizing:border-box}.document-mode-column[data-v-f86e1477]{display:flex;flex-direction:column}.document-mode-type[data-v-f86e1477]{font-weight:400;font-size:15px;color:#222}.icon-column[data-v-f86e1477]{margin-right:5px;justify-content:flex-start;align-items:center;padding:0 5px;color:#000;height:100%;box-sizing:border-box}.icon-column__icon[data-v-f86e1477]{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;height:18px;color:#47484a}.icon-column__icon[data-v-f86e1477] svg{width:auto;max-height:18px}.document-mode-description[data-v-f86e1477]{font-size:12px;color:#666}.option-item[data-v-f86e1477]:hover{background-color:#c8d0d8}.style-name[data-v-97e3296a]{padding:16px 10px}.style-name[data-v-97e3296a]:hover{background-color:#c8d0d8}.linked-style-buttons[data-v-97e3296a]{display:flex;flex-direction:column;width:100%;box-sizing:border-box;max-height:400px;width:200px;padding:0;margin:0;overflow:auto}.button-icon[data-v-97e3296a]{cursor:pointer;padding:5px;font-size:16px;width:25px;height:25px;border-radius:4px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.button-icon[data-v-97e3296a]:hover{background-color:#d8dee5}.button-icon[data-v-97e3296a] svg{width:100%;height:100%;display:block;fill:currentColor}.option-row[data-v-6a2a9a40]{display:flex;flex-direction:row}.option[data-v-6a2a9a40]{border-radius:50%;cursor:pointer;padding:3px;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box}.option[data-v-6a2a9a40]:hover{background-color:#dbdbdb}.option__icon[data-v-6a2a9a40]{width:20px;height:20px;flex-shrink:0}.option__check[data-v-6a2a9a40]{width:14px;height:14px;flex-shrink:0;position:absolute}.option-grid-ctn[data-v-fa2949d8]{display:flex;flex-direction:column;padding:5px;border-radius:5px;background-color:#fff;z-index:3;box-sizing:border-box}.option-grid-ctn__subtitle[data-v-fa2949d8]{padding:3px;font-size:12px;font-weight:600}.option-grid-ctn[data-v-fa2949d8] svg{width:100%;height:100%;display:block;fill:currentColor}.toolbar-table-grid[data-v-06352ab9]{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:8px;box-sizing:border-box}.toolbar-table-grid__item[data-v-06352ab9]{width:20px;height:20px;border:1px solid #d3d3d3;cursor:pointer;transition:all .15s}.toolbar-table-grid__item.selected[data-v-06352ab9]{background-color:#dbdbdb}.toolbar-table-grid-value[data-v-06352ab9]{font-size:13px;line-height:1.1;padding:0 8px 2px}.toolbar-table-actions[data-v-9a702d7f]{display:flex;flex-direction:column;gap:6px;padding:10px;box-sizing:border-box}.toolbar-table-actions[data-v-9a702d7f] svg{width:100%;height:100%;display:block;fill:currentColor}.toolbar-table-actions__item[data-v-9a702d7f]{display:flex;gap:5px;background-color:#fff;padding:4px 10px;border-radius:4px;cursor:pointer;box-sizing:border-box;position:relative}.toolbar-table-actions__item[data-v-9a702d7f]:hover{background-color:#c8d0d8}.toolbar-table-actions__item--border[data-v-9a702d7f]:after{content:"";display:block;position:absolute;bottom:-3px;left:-10px;right:0;height:1px;width:calc(100% + 20px);background:#c8d0d8}.toolbar-table-actions__icon[data-v-9a702d7f]{display:flex;justify-content:center;align-items:center;width:20px;color:#000;box-sizing:border-box}.toolbar-table-actions__icon-wrapper[data-v-9a702d7f]{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;height:14px;color:#47484a}.toolbar-table-actions__icon-wrapper[data-v-9a702d7f] svg{width:auto;max-height:14px}.toolbar-table-actions__label[data-v-9a702d7f]{font-size:15px;font-weight:400;color:#222;white-space:nowrap}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.vertical-indicator[data-v-ad77036c]{position:absolute;height:0px;min-width:1px;background-color:#aaa;top:20px;z-index:100}.margin-handle[data-v-ad77036c]{width:56px;min-width:5px;max-width:5px;background-color:var(--ruler-handle-color);height:20px;cursor:grab;position:absolute;margin-left:-2px;border-radius:4px 4px 0 0;transition:background-color .25s ease}.margin-handle[data-v-ad77036c]:hover{background-color:var(--ruler-handle-active-color)}.ruler[data-v-ad77036c]{max-height:25px;height:25px;max-width:8.5in;display:flex;margin:0;padding:0;align-items:var(--alignment);box-sizing:border-box;position:relative;color:#666}.mouse-tracker[data-v-ad77036c]{position:absolute;top:0;left:0;width:1px;height:100%;background-color:var(--color);pointer-events:none}.numbering[data-v-ad77036c]{position:absolute;top:-16px;left:-2px;font-size:10px;pointer-events:none;user-select:none}.ruler-section[data-v-ad77036c]{position:relative;display:flex;align-items:var(--alignment);pointer-events:none;user-select:none}.super-editor-container[data-v-ff8f86f4]{width:auto;height:auto;min-width:8in;min-height:11in;position:relative;display:flex;flex-direction:column}.ruler[data-v-ff8f86f4]{margin-bottom:2px}.super-editor[data-v-ff8f86f4]{color:initial}.placeholder-editor[data-v-ff8f86f4]{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:8px;padding:1in;z-index:5;background-color:#fff;box-sizing:border-box}.placeholder-title[data-v-ff8f86f4]{display:flex;justify-content:center;margin-bottom:40px}.super-editor[data-v-4d5cff52]{box-sizing:border-box;width:100%;height:100%;border:1px solid #999;outline:none;transition:border .2s ease;background-color:#fff}.super-input[data-v-4d5cff52]{font-size:13px;font-family:inherit}.editor-element[data-v-4d5cff52]{height:100%;width:100%;border:none;outline:none}.super-input-active[data-v-4d5cff52]{border:1px solid #007bff;outline:none}
1
+ .selected[data-v-0a2a8b4e]{background-color:#dbdbdb}.mentions-container[data-v-0a2a8b4e]{outline:none!important;border:none;max-height:300px;overflow-y:auto}.mentions-container[data-v-0a2a8b4e]:focus{border:none;outline:none!important}.user-row[data-v-0a2a8b4e]{padding:10px 15px;cursor:pointer;transition:all .2s ease;box-sizing:border-box}.toolbar-icon[data-v-6d7523ab]{display:flex;align-items:center;justify-content:center;flex-shrink:0}.toolbar-icon__icon[data-v-6d7523ab]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:16px}.toolbar-icon__icon--highlight[data-v-6d7523ab]{width:16px;margin-left:3px;margin-bottom:1px}.toolbar-icon__icon[data-v-6d7523ab] svg{width:auto;max-height:16px}.toolbar-icon__icon--color[data-v-6d7523ab] svg{max-height:14px;margin-top:-3px}.toolbar-button[data-v-6d7523ab]:hover{color:#000;background-color:#d8dee5}.toolbar-button[data-v-6d7523ab]:active,.active[data-v-6d7523ab]{background-color:#c8d0d8}.color-bar[data-v-6d7523ab]{border-radius:4px;position:absolute;z-index:5;height:4px;left:50%;bottom:6px;transform:translate(-50%);width:16px}.toolbar-item[data-v-33900b15]{position:relative;z-index:1;min-width:30px;margin:0 1px}.toolbar-button[data-v-33900b15]{padding:5px;height:32px;max-height:32px;border-radius:6px;overflow-y:visible;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#47484a;transition:all .2s ease-out;user-select:none;position:relative;box-sizing:border-box}.toolbar-button[data-v-33900b15]:hover{background-color:#dbdbdb}.toolbar-button[data-v-33900b15]:active,.active[data-v-33900b15]{background-color:#c8d0d8}.button-label[data-v-33900b15]{overflow:hidden;width:100%;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-weight:400;font-size:15px;margin:5px}.toolbar-icon+.dropdown-caret[data-v-33900b15]{margin-left:4px}.left[data-v-33900b15],.right[data-v-33900b15]{width:50%;height:100%;background-color:#dbdbdb;border-radius:60%}.has-inline-text-input[data-v-33900b15]:hover{cursor:text}.disabled[data-v-33900b15]{cursor:default}.disabled[data-v-33900b15]:hover{cursor:default;background-color:initial}.disabled .toolbar-icon[data-v-33900b15],.disabled .caret[data-v-33900b15],.disabled .button-label[data-v-33900b15]{opacity:.35}.caret[data-v-33900b15]{font-size:1em;padding-left:2px;padding-right:2px}.button-text-input[data-v-33900b15]{color:#47484a;border-radius:4px;text-align:center;width:30px;font-size:14px;margin-right:5px;font-weight:400;background-color:transparent;padding:2px 0;outline:none;border:1px solid #d8dee5;box-sizing:border-box}.button-text-input[data-v-33900b15]::placeholder{color:#47484a}.dropdown-caret[data-v-33900b15]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:auto;width:10px;height:10px}@media (max-width: 1280px){.toolbar-item--doc-mode .button-label[data-v-33900b15]{display:none}.toolbar-item--doc-mode .toolbar-icon[data-v-33900b15]{margin-right:5px}.toolbar-item--linked-styles[data-v-33900b15]{width:auto!important}.toolbar-item--linked-styles .button-label[data-v-33900b15]{display:none}}.toolbar-separator[data-v-ac2ee4f9]{height:32px;border-radius:6px;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;color:#dbdbdb;transition:all .2s ease-out;user-select:none;overflow:hidden}.toolbar-separator .separator-inner[data-v-ac2ee4f9]{width:1.5px;height:20px;background-color:#dbdbdb}.toolbar-button[data-v-ac2ee4f9]:hover{color:#000;background-color:#d8dee5}.toolbar-button[data-v-ac2ee4f9]:active,.active[data-v-ac2ee4f9]{background-color:#c8d0d8}.overflow-menu[data-v-ca29bf1d]{position:relative}.overflow-menu_items[data-v-ca29bf1d]{position:absolute;width:200px;top:calc(100% + 3px);right:0;padding:4px 8px;background-color:#fff;border-radius:8px;z-index:100;box-shadow:0 2px 4px #00000040;box-sizing:border-box}.superdoc-toolbar-overflow[data-v-ca29bf1d]{min-width:auto!important;max-width:200px;flex-wrap:wrap}@media (max-width: 300px){.overflow-menu_items[data-v-ca29bf1d]{right:auto;left:0;transform:translate(-50%)}}.n-dropdown{border-radius:8px;min-width:80px}.n-tooltip,.n-popover{background-color:#333!important;font-size:14px;border-radius:8px!important}.n-dropdown-option-body:hover:before,.n-dropdown-option-body:hover:after{background-color:#d8dee5!important}.toolbar-dropdown{cursor:pointer}.button-group[data-v-a19e1b9f]{display:flex}.superdoc-toolbar[data-v-4b88e275]{display:flex;width:100%;justify-content:space-between;padding:4px 16px;box-sizing:border-box}@media (max-width: 1280px){.superdoc-toolbar-group-side[data-v-4b88e275]{min-width:auto!important}}@media (max-width: 768px){.superdoc-toolbar[data-v-4b88e275]{padding:4px 10px;justify-content:inherit}}.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.input-active{border:1px solid #1355ff!important}.sd-super-editor-html .ProseMirror{border:1px solid #d9d9d9;border-radius:8px;height:100%;width:100%;outline:none}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror li:has(>ul:first-child,>ol:first-child):not(:has(>p)){list-style-type:none}.ProseMirror li:has(>ul:first-child,>ol:first-child):not(:has(>p))::marker{content:""}.ProseMirror li::marker{font-size:var(--marker-font-size);font-family:var(--marker-font-family)}.ProseMirror li[data-marker-type]{list-style:none;display:grid;grid-template-columns:max-content 1fr;column-gap:.5em;align-items:start}.ProseMirror li[data-marker-type]::marker{content:""}.ProseMirror li[data-marker-type]:before{content:attr(data-marker-type);white-space:pre;font-size:var(--marker-font-size);font-family:var(--marker-font-family);grid-column:1}.ProseMirror li[data-marker-type]>*{grid-column:2;margin:0}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection *{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;inset:-2px -2px -2px -32px;border:2px solid #8cf;pointer-events:none}.ProseMirror img{height:auto;max-width:100%}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}.ProseMirror .super-doc-tab{display:inline-block;vertical-align:text-bottom}.ProseMirror u .super-doc-tab:not(.pagination-inner .super-doc-tab){white-space:pre;border-bottom:1px solid #000;margin-bottom:1.5px}.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}.ProseMirror .tableWrapper{--table-border-width: 1px;--offset: 2px;overflow-x:auto;scrollbar-width:thin;width:calc(100% + (var(--table-border-width) + var(--offset)))}.ProseMirror table{border-collapse:collapse;border-spacing:0;table-layout:fixed;overflow:hidden;margin:0}.ProseMirror tr{position:relative}.ProseMirror td,.ProseMirror th{min-width:1em;padding:3px 2px;position:relative;vertical-align:top;box-sizing:border-box;overflow-wrap:anywhere}.ProseMirror th{font-weight:700;text-align:left}.ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;z-index:20;background-color:#adf;pointer-events:none}.ProseMirror table .selectedCell:after{position:absolute;content:"";inset:0;background:#c8c8ff66;pointer-events:none;z-index:2}.ProseMirror .track-insert-dec,.ProseMirror .track-delete-dec,.ProseMirror .track-format-dec{pointer-events:none}.ProseMirror .track-insert-dec.hidden,.ProseMirror .track-delete-dec.hidden{display:none}.ProseMirror .track-insert-dec.highlighted{border-top:1px dashed #00853D;border-bottom:1px dashed #00853D;background-color:#399c7222}.ProseMirror .track-delete-dec.highlighted{border-top:1px dashed #CB0E47;border-bottom:1px dashed #CB0E47;background-color:#cb0e4722;text-decoration:line-through;text-decoration-thickness:2px}.ProseMirror .track-format-dec.highlighted{border-bottom:2px solid gold}.ProseMirror .track-delete-widget{visibility:hidden}.ProseMirror>.ProseMirror-yjs-cursor:first-child{margin-top:16px}.ProseMirror-yjs-cursor{position:relative;margin-left:-1px;margin-right:-1px;border-left:1px solid black;border-right:1px solid black;border-color:orange;word-break:normal;pointer-events:none}.ProseMirror-yjs-cursor>div{position:absolute;top:-1.05em;left:-1px;font-size:13px;background-color:#fa8100;font-family:serif;font-style:normal;font-weight:400;line-height:normal;user-select:none;color:#fff;padding-left:2px;padding-right:2px;white-space:nowrap}.ProseMirror placeholder{display:inline;border:1px solid #ccc;color:#ccc}.ProseMirror placeholder:after{content:"☁";font-size:200%;line-height:.1;font-weight:700}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute;margin:0}.ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid black;animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.superdoc-toolbar svg{width:100%;height:100%;display:block;fill:currentColor}.superdoc-toolbar svg path{stroke:currentColor}.n-dropdown-option .dropdown-select-icon{display:flex;width:12px;height:12px}.pagination-section-header{cursor:default}.pagination-section-footer{position:relative;width:100%;min-width:100%;display:flex;flex-direction:column;justify-content:flex-end;cursor:default}.pagination-break-wrapper{width:100%;margin:0;padding:0;cursor:default;position:relative}.pagination-separator{position:relative;display:block;height:18px;min-height:18px;min-width:100%;width:100%;border-top:1px solid #DBDBDB;border-bottom:1px solid #DBDBDB;cursor:default}.pagination-inner{position:absolute;top:0;left:0;display:flex;flex-direction:column;background-color:#fff}.popover{background-color:#fff;border-radius:8px;-webkit-box-shadow:0px 4px 12px 0px rgba(50,50,50,.15);-moz-box-shadow:0px 4px 12px 0px rgba(50,50,50,.15);box-shadow:0 4px 12px #32323226;padding:0;width:auto;height:auto;font-size:14px;color:#333;z-index:1000}.popover-header{font-weight:700;margin-bottom:8px}.tippy-content{padding:0}.tippy-box[data-theme~=popover]{background-color:#fff;border-radius:8px;box-shadow:0 4px 8px #0000001a;border:none}.tippy-box[data-theme~=popover] .tippy-arrow{color:#fff;border:1px solid #dbdbdb}.tippy-box[data-theme~=popover]{border:none!important;padding:none!important}.super-editor-placeholder:before{content:attr(data-placeholder);color:#aaa;pointer-events:none;display:block;height:0}.super-editor-mention{background-color:#1355ff15;color:#222;font-weight:400;border-radius:3px;padding:0 5px;cursor:default;display:inline-block;box-sizing:border-box}.comment-highlight{transition:background-color .25s ease}.comment-highlight:hover{background-color:#1354ff55}.alignment-buttons[data-v-d6fae878]{display:flex;justify-content:space-between;width:100%;padding:8px;box-sizing:border-box}.button-icon[data-v-d6fae878]{cursor:pointer;padding:5px;font-size:16px;width:25px;height:25px;border-radius:4px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.button-icon[data-v-d6fae878]:hover{background-color:#d8dee5}.button-icon[data-v-d6fae878] svg{width:100%;height:100%;display:block;fill:currentColor}.link-input-ctn[data-v-6990d5b2] svg{width:100%;height:100%;display:block;fill:currentColor}.open-link-icon[data-v-6990d5b2]{margin-left:10px;width:30px;height:30px;border-radius:50%;border:1px solid transparent;display:flex;justify-content:center;align-items:center;flex-shrink:0;transition:all .2s ease;cursor:pointer}.open-link-icon[data-v-6990d5b2]:hover{color:#1355ff;background-color:#fff;border:1px solid #dbdbdb}.open-link-icon[data-v-6990d5b2] svg{width:15px;height:15px}.disabled[data-v-6990d5b2]{opacity:.6;cursor:not-allowed;pointer-events:none}.link-buttons[data-v-6990d5b2]{display:flex;justify-content:flex-end;margin-top:10px}.remove-btn__icon[data-v-6990d5b2]{display:inline-flex;width:13px;height:13px;flex-shrink:0;margin-right:4px}.link-buttons button[data-v-6990d5b2]{margin-left:5px}.disable-btn[data-v-6990d5b2]{opacity:.6;cursor:not-allowed;pointer-events:none}.go-to-anchor a[data-v-6990d5b2]{font-size:14px;text-decoration:underline}.clickable[data-v-6990d5b2]{cursor:pointer}.link-title[data-v-6990d5b2]{font-size:14px;font-weight:600;margin-bottom:10px}.input-icon[data-v-6990d5b2]{position:absolute;transform:rotate(45deg);left:25px;width:auto;height:12px;color:#999;pointer-events:none}.hasBottomMargin[data-v-6990d5b2]{margin-bottom:1em}.link-input-ctn[data-v-6990d5b2]{width:320px;display:flex;flex-direction:column;padding:1em;border-radius:5px;background-color:#fff;box-sizing:border-box}.remove-btn[data-v-6990d5b2]{display:inline-flex;justify-content:center;align-items:center;padding:10px 16px;border-radius:8px;outline:none;background-color:#fff;color:#000;font-weight:400;font-size:13px;cursor:pointer;transition:all .2s ease;border:1px solid #ebebeb;box-sizing:border-box}.remove-btn[data-v-6990d5b2]:hover{background-color:#dbdbdb}.submit-btn[data-v-6990d5b2]{display:inline-flex;justify-content:center;align-items:center;padding:10px 16px;border-radius:8px;outline:none;border:none;background-color:#1355ff;color:#fff;font-weight:400;font-size:13px;cursor:pointer;transition:all .2s ease;box-sizing:border-box}.submit-btn[data-v-6990d5b2]:hover{background-color:#0d47c1}.input-row[data-v-6990d5b2]{align-content:baseline;display:flex;align-items:center}.input-row input[data-v-6990d5b2]{font-size:13px;flex-grow:1;border-radius:8px;padding:10px 10px 10px 32px;box-shadow:0 4px 12px #00000026;color:#666;border:1px solid #ddd;box-sizing:border-box}.input-row input[data-v-6990d5b2]:active,.input-row input[data-v-6990d5b2]:focus{outline:none;border:1px solid #1355ff}.input-row[data-v-6990d5b2]{font-size:16px}.error[data-v-6990d5b2]{border-color:red!important;background-color:#ff00001a}.submit[data-v-6990d5b2]{cursor:pointer}.document-mode[data-v-f86e1477] svg{width:100%;height:100%;display:block;fill:currentColor}.disabled[data-v-f86e1477]{opacity:.5;cursor:not-allowed!important;pointer-events:none}.document-mode[data-v-f86e1477]{display:flex;flex-direction:column;padding:10px;box-sizing:border-box}.option-item[data-v-f86e1477]{display:flex;flex-direction:row;background-color:#fff;padding:10px;border-radius:4px;cursor:pointer;box-sizing:border-box}.document-mode-column[data-v-f86e1477]{display:flex;flex-direction:column}.document-mode-type[data-v-f86e1477]{font-weight:400;font-size:15px;color:#222}.icon-column[data-v-f86e1477]{margin-right:5px;justify-content:flex-start;align-items:center;padding:0 5px;color:#000;height:100%;box-sizing:border-box}.icon-column__icon[data-v-f86e1477]{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;height:18px;color:#47484a}.icon-column__icon[data-v-f86e1477] svg{width:auto;max-height:18px}.document-mode-description[data-v-f86e1477]{font-size:12px;color:#666}.option-item[data-v-f86e1477]:hover{background-color:#c8d0d8}.style-name[data-v-97e3296a]{padding:16px 10px}.style-name[data-v-97e3296a]:hover{background-color:#c8d0d8}.linked-style-buttons[data-v-97e3296a]{display:flex;flex-direction:column;width:100%;box-sizing:border-box;max-height:400px;width:200px;padding:0;margin:0;overflow:auto}.button-icon[data-v-97e3296a]{cursor:pointer;padding:5px;font-size:16px;width:25px;height:25px;border-radius:4px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.button-icon[data-v-97e3296a]:hover{background-color:#d8dee5}.button-icon[data-v-97e3296a] svg{width:100%;height:100%;display:block;fill:currentColor}.option-row[data-v-6a2a9a40]{display:flex;flex-direction:row}.option[data-v-6a2a9a40]{border-radius:50%;cursor:pointer;padding:3px;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box}.option[data-v-6a2a9a40]:hover{background-color:#dbdbdb}.option__icon[data-v-6a2a9a40]{width:20px;height:20px;flex-shrink:0}.option__check[data-v-6a2a9a40]{width:14px;height:14px;flex-shrink:0;position:absolute}.option-grid-ctn[data-v-fa2949d8]{display:flex;flex-direction:column;padding:5px;border-radius:5px;background-color:#fff;z-index:3;box-sizing:border-box}.option-grid-ctn__subtitle[data-v-fa2949d8]{padding:3px;font-size:12px;font-weight:600}.option-grid-ctn[data-v-fa2949d8] svg{width:100%;height:100%;display:block;fill:currentColor}.toolbar-table-grid[data-v-06352ab9]{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:8px;box-sizing:border-box}.toolbar-table-grid__item[data-v-06352ab9]{width:20px;height:20px;border:1px solid #d3d3d3;cursor:pointer;transition:all .15s}.toolbar-table-grid__item.selected[data-v-06352ab9]{background-color:#dbdbdb}.toolbar-table-grid-value[data-v-06352ab9]{font-size:13px;line-height:1.1;padding:0 8px 2px}.toolbar-table-actions[data-v-9a702d7f]{display:flex;flex-direction:column;gap:6px;padding:10px;box-sizing:border-box}.toolbar-table-actions[data-v-9a702d7f] svg{width:100%;height:100%;display:block;fill:currentColor}.toolbar-table-actions__item[data-v-9a702d7f]{display:flex;gap:5px;background-color:#fff;padding:4px 10px;border-radius:4px;cursor:pointer;box-sizing:border-box;position:relative}.toolbar-table-actions__item[data-v-9a702d7f]:hover{background-color:#c8d0d8}.toolbar-table-actions__item--border[data-v-9a702d7f]:after{content:"";display:block;position:absolute;bottom:-3px;left:-10px;right:0;height:1px;width:calc(100% + 20px);background:#c8d0d8}.toolbar-table-actions__icon[data-v-9a702d7f]{display:flex;justify-content:center;align-items:center;width:20px;color:#000;box-sizing:border-box}.toolbar-table-actions__icon-wrapper[data-v-9a702d7f]{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;height:14px;color:#47484a}.toolbar-table-actions__icon-wrapper[data-v-9a702d7f] svg{width:auto;max-height:14px}.toolbar-table-actions__label[data-v-9a702d7f]{font-size:15px;font-weight:400;color:#222;white-space:nowrap}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.vertical-indicator[data-v-ad77036c]{position:absolute;height:0px;min-width:1px;background-color:#aaa;top:20px;z-index:100}.margin-handle[data-v-ad77036c]{width:56px;min-width:5px;max-width:5px;background-color:var(--ruler-handle-color);height:20px;cursor:grab;position:absolute;margin-left:-2px;border-radius:4px 4px 0 0;transition:background-color .25s ease}.margin-handle[data-v-ad77036c]:hover{background-color:var(--ruler-handle-active-color)}.ruler[data-v-ad77036c]{max-height:25px;height:25px;max-width:8.5in;display:flex;margin:0;padding:0;align-items:var(--alignment);box-sizing:border-box;position:relative;color:#666}.mouse-tracker[data-v-ad77036c]{position:absolute;top:0;left:0;width:1px;height:100%;background-color:var(--color);pointer-events:none}.numbering[data-v-ad77036c]{position:absolute;top:-16px;left:-2px;font-size:10px;pointer-events:none;user-select:none}.ruler-section[data-v-ad77036c]{position:relative;display:flex;align-items:var(--alignment);pointer-events:none;user-select:none}.super-editor-container[data-v-ff8f86f4]{width:auto;height:auto;min-width:8in;min-height:11in;position:relative;display:flex;flex-direction:column}.ruler[data-v-ff8f86f4]{margin-bottom:2px}.super-editor[data-v-ff8f86f4]{color:initial}.placeholder-editor[data-v-ff8f86f4]{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:8px;padding:1in;z-index:5;background-color:#fff;box-sizing:border-box}.placeholder-title[data-v-ff8f86f4]{display:flex;justify-content:center;margin-bottom:40px}.super-editor[data-v-4d5cff52]{box-sizing:border-box;width:100%;height:100%;border:1px solid #999;outline:none;transition:border .2s ease;background-color:#fff}.super-input[data-v-4d5cff52]{font-size:13px;font-family:inherit}.editor-element[data-v-4d5cff52]{height:100%;width:100%;border:none;outline:none}.super-input-active[data-v-4d5cff52]{border:1px solid #007bff;outline:none}
@@ -6,13 +6,13 @@ var dt = (t, l, o) => l in t ? ct(t, l, { enumerable: !0, configurable: !0, writ
6
6
  var $e = (t, l, o) => dt(t, typeof l != "symbol" ? l + "" : l, o), We = (t, l, o) => l.has(t) || Ve("Cannot " + o);
7
7
  var Ee = (t, l, o) => (We(t, l, "read from private field"), o ? o.call(t) : l.get(t)), He = (t, l, o) => l.has(t) ? Ve("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(t) : l.set(t, o);
8
8
  var O = (t, l, o) => (We(t, l, "access private method"), o);
9
- import { _ as G, a as Ge, b as ut, I as Be, f as mt, c as je, d as pt, i as ft, u as ht, r as vt, E as Re, e as gt, P as yt, h as bt, j as kt, A as wt, N as Ct } from "./chunks/editor-vcOlYDin.js";
10
- import { C as _o, T as xo, l as Eo, n as So, k as To, m as Ao } from "./chunks/editor-vcOlYDin.js";
11
- import { a1 as _t, y as xt, a3 as Et, T as Ke, a as St } from "./chunks/converter-D8pLTGtP.js";
12
- import { O as Io } from "./chunks/converter-D8pLTGtP.js";
13
- import { ref as g, createElementBlock as w, openBlock as k, createElementVNode as E, unref as $, getCurrentInstance as Tt, computed as W, watch as At, onMounted as we, createCommentVNode as ne, withDirectives as Ft, withKeys as It, normalizeClass as oe, withModifiers as ke, vModelText as Lt, createTextVNode as Mt, toDisplayString as ie, Fragment as j, renderList as J, normalizeStyle as Y, createVNode as V, h as P, createApp as Dt, reactive as Ue, onUnmounted as $t, shallowRef as Xe, onBeforeUnmount as Ze, createBlock as Ht } from "vue";
14
- import { t as q, s as Bt, T as Rt, N as Z } from "./chunks/toolbar-CCw0S8RT.js";
15
- import { D as Mo } from "./chunks/docx-zipper-BEeS4FhN.js";
9
+ import { _ as G, a as Ge, b as ut, I as Be, f as mt, c as je, d as pt, i as ft, u as ht, r as gt, E as Re, e as vt, P as yt, h as bt, j as kt, A as wt, N as Ct } from "./chunks/editor-HMA4CBmu.js";
10
+ import { C as _o, T as xo, l as Eo, n as So, k as To, m as Ao } from "./chunks/editor-HMA4CBmu.js";
11
+ import { a1 as _t, y as xt, a3 as Et, T as Ke, a as St } from "./chunks/converter-oi8fYYnH.js";
12
+ import { O as Io } from "./chunks/converter-oi8fYYnH.js";
13
+ import { ref as v, createElementBlock as w, openBlock as k, createElementVNode as E, unref as $, getCurrentInstance as Tt, computed as W, watch as At, onMounted as we, createCommentVNode as ne, withDirectives as Ft, withKeys as It, normalizeClass as oe, withModifiers as ke, vModelText as Lt, createTextVNode as Mt, toDisplayString as ie, Fragment as j, renderList as J, normalizeStyle as Y, createVNode as V, h as P, createApp as Dt, reactive as Ue, onUnmounted as $t, shallowRef as Xe, onBeforeUnmount as Ze, createBlock as Ht } from "vue";
14
+ import { t as q, s as Bt, T as Rt, N as Z } from "./chunks/toolbar-1fR16UCp.js";
15
+ import { D as Mo } from "./chunks/docx-zipper-BD4Hl_Ly.js";
16
16
  import { createZip as $o } from "./file-zipper.es.js";
17
17
  var Ye = { exports: {} };
18
18
  (function(t) {
@@ -54,45 +54,45 @@ var Ye = { exports: {} };
54
54
  }, s.prototype.emit = function(d, u, r, b, h, y) {
55
55
  var _ = o ? o + d : d;
56
56
  if (!this._events[_]) return !1;
57
- var v = this._events[_], M = arguments.length, D, p;
58
- if (v.fn) {
59
- switch (v.once && this.removeListener(d, v.fn, void 0, !0), M) {
57
+ var g = this._events[_], M = arguments.length, D, p;
58
+ if (g.fn) {
59
+ switch (g.once && this.removeListener(d, g.fn, void 0, !0), M) {
60
60
  case 1:
61
- return v.fn.call(v.context), !0;
61
+ return g.fn.call(g.context), !0;
62
62
  case 2:
63
- return v.fn.call(v.context, u), !0;
63
+ return g.fn.call(g.context, u), !0;
64
64
  case 3:
65
- return v.fn.call(v.context, u, r), !0;
65
+ return g.fn.call(g.context, u, r), !0;
66
66
  case 4:
67
- return v.fn.call(v.context, u, r, b), !0;
67
+ return g.fn.call(g.context, u, r, b), !0;
68
68
  case 5:
69
- return v.fn.call(v.context, u, r, b, h), !0;
69
+ return g.fn.call(g.context, u, r, b, h), !0;
70
70
  case 6:
71
- return v.fn.call(v.context, u, r, b, h, y), !0;
71
+ return g.fn.call(g.context, u, r, b, h, y), !0;
72
72
  }
73
73
  for (p = 1, D = new Array(M - 1); p < M; p++)
74
74
  D[p - 1] = arguments[p];
75
- v.fn.apply(v.context, D);
75
+ g.fn.apply(g.context, D);
76
76
  } else {
77
- var C = v.length, A;
77
+ var C = g.length, A;
78
78
  for (p = 0; p < C; p++)
79
- switch (v[p].once && this.removeListener(d, v[p].fn, void 0, !0), M) {
79
+ switch (g[p].once && this.removeListener(d, g[p].fn, void 0, !0), M) {
80
80
  case 1:
81
- v[p].fn.call(v[p].context);
81
+ g[p].fn.call(g[p].context);
82
82
  break;
83
83
  case 2:
84
- v[p].fn.call(v[p].context, u);
84
+ g[p].fn.call(g[p].context, u);
85
85
  break;
86
86
  case 3:
87
- v[p].fn.call(v[p].context, u, r);
87
+ g[p].fn.call(g[p].context, u, r);
88
88
  break;
89
89
  case 4:
90
- v[p].fn.call(v[p].context, u, r, b);
90
+ g[p].fn.call(g[p].context, u, r, b);
91
91
  break;
92
92
  default:
93
93
  if (!D) for (A = 1, D = new Array(M - 1); A < M; A++)
94
94
  D[A - 1] = arguments[A];
95
- v[p].fn.apply(v[p].context, D);
95
+ g[p].fn.apply(g[p].context, D);
96
96
  }
97
97
  }
98
98
  return !0;
@@ -109,9 +109,9 @@ var Ye = { exports: {} };
109
109
  if (y.fn)
110
110
  y.fn === u && (!b || y.once) && (!r || y.context === r) && c(this, h);
111
111
  else {
112
- for (var _ = 0, v = [], M = y.length; _ < M; _++)
113
- (y[_].fn !== u || b && !y[_].once || r && y[_].context !== r) && v.push(y[_]);
114
- v.length ? this._events[h] = v.length === 1 ? v[0] : v : c(this, h);
112
+ for (var _ = 0, g = [], M = y.length; _ < M; _++)
113
+ (y[_].fn !== u || b && !y[_].once || r && y[_].context !== r) && g.push(y[_]);
114
+ g.length ? this._events[h] = g.length === 1 ? g[0] : g : c(this, h);
115
115
  }
116
116
  return this;
117
117
  }, s.prototype.removeAllListeners = function(d) {
@@ -146,7 +146,7 @@ const x = (t) => {
146
146
  throw new Error("Toolbar button item needs either icon or label - " + t.name);
147
147
  if (!t.name)
148
148
  throw new Error("Invalid toolbar item name - " + t.name);
149
- const o = g(xt()), n = t.type, e = g(t.name), i = t.command, c = g(t.icon), s = g(t.group || "center"), a = g(t.allowWithoutEditor), d = g(t.attributes || {}), u = t.disabled || !1, r = g(t.disabled), b = g(!1), h = g(!1), y = g(t.style), _ = g(t.isNarrow), v = g(t.isWide), M = g(t.minWidth), D = g(t.suppressActiveHighlight || !1), p = g(t.argument), C = g(null), A = g(null), H = g(t.iconColor), N = g(t.hasCaret), Q = g(t.tooltip), ge = g(t.tooltipVisible), ce = g(t.tooltipTimeout), de = g(t.defaultLabel), se = g(t.label), T = g(t.hideLabel), I = g(t.inlineTextInputVisible), B = g(t.hasInlineTextInput), R = g(t.markName), U = g(t.labelAttr), K = g(t.selectedValue), ue = g(t.dropdownValueKey), le = g([]);
149
+ const o = v(xt()), n = t.type, e = v(t.name), i = t.command, c = v(t.icon), s = v(t.group || "center"), a = v(t.allowWithoutEditor), d = v(t.attributes || {}), u = t.disabled || !1, r = v(t.disabled), b = v(!1), h = v(!1), y = v(t.style), _ = v(t.isNarrow), g = v(t.isWide), M = v(t.minWidth), D = v(t.suppressActiveHighlight || !1), p = v(t.argument), C = v(null), A = v(null), H = v(t.iconColor), N = v(t.hasCaret), Q = v(t.tooltip), ve = v(t.tooltipVisible), ce = v(t.tooltipTimeout), de = v(t.defaultLabel), se = v(t.label), T = v(t.hideLabel), I = v(t.inlineTextInputVisible), B = v(t.hasInlineTextInput), R = v(t.markName), U = v(t.labelAttr), K = v(t.selectedValue), ue = v(t.dropdownValueKey), le = v([]);
150
150
  if (t.options) {
151
151
  if (!Array.isArray(t.options)) throw new Error("Invalid toolbar item options - " + t.options);
152
152
  le.value.push(...t.options);
@@ -179,13 +179,13 @@ const x = (t) => {
179
179
  nestedOptions: le,
180
180
  style: y,
181
181
  isNarrow: _,
182
- isWide: v,
182
+ isWide: g,
183
183
  minWidth: M,
184
184
  argument: p,
185
185
  parentItem: A,
186
186
  iconColor: H,
187
187
  hasCaret: N,
188
- tooltipVisible: ge,
188
+ tooltipVisible: ve,
189
189
  tooltipTimeout: ce,
190
190
  defaultLabel: de,
191
191
  label: se,
@@ -289,10 +289,10 @@ const x = (t) => {
289
289
  console.debug("[LinkInput] Invalid URL in handleSubmit"), s.value = !0;
290
290
  }, c = () => {
291
291
  o("submit", { text: a.value, href: null });
292
- }, s = g(!1), a = g(n.initialText), d = g(n.href), u = W(() => d.value?.startsWith("http") ? d.value : "http://" + d.value), r = W(() => {
292
+ }, s = v(!1), a = v(n.initialText), d = v(n.href), u = W(() => d.value?.startsWith("http") ? d.value : "http://" + d.value), r = W(() => {
293
293
  const p = u.value.split(".").filter(Boolean);
294
294
  return u.value.includes(".") && p.length > 1;
295
- }), b = W(() => y.value ? "Apply" : "Remove"), h = W(() => !r.value), y = W(() => !_.value), _ = W(() => n.href && !d.value), v = W(() => n.href.startsWith("#")), M = () => {
295
+ }), b = W(() => y.value ? "Apply" : "Remove"), h = W(() => !r.value), y = W(() => !_.value), _ = W(() => n.href && !d.value), g = W(() => n.href.startsWith("#")), M = () => {
296
296
  window.open(u.value, "_blank");
297
297
  };
298
298
  At(
@@ -308,8 +308,8 @@ const x = (t) => {
308
308
  return we(() => {
309
309
  n.showInput && D();
310
310
  }), (p, C) => (k(), w("div", Xt, [
311
- t.href ? v.value ? (k(), w("div", Yt, "Page anchor")) : (k(), w("div", Jt, "Edit link")) : (k(), w("div", Zt, "Add link")),
312
- t.showInput && !v.value ? (k(), w("div", Qt, [
311
+ t.href ? g.value ? (k(), w("div", Yt, "Page anchor")) : (k(), w("div", Jt, "Edit link")) : (k(), w("div", Zt, "Add link")),
312
+ t.showInput && !g.value ? (k(), w("div", Qt, [
313
313
  E("div", en, [
314
314
  E("div", {
315
315
  class: "input-icon",
@@ -351,14 +351,14 @@ const x = (t) => {
351
351
  onClick: i
352
352
  }, ie(b.value), 3)) : ne("", !0)
353
353
  ])
354
- ])) : v.value ? (k(), w("div", an, [
354
+ ])) : g.value ? (k(), w("div", an, [
355
355
  E("a", {
356
356
  onClick: C[2] || (C[2] = ke((...A) => t.goToAnchor && t.goToAnchor(...A), ["stop", "prevent"]))
357
357
  }, "Go to " + ie(t.href.startsWith("#_") ? t.href.substring(2) : t.href), 1)
358
358
  ])) : ne("", !0)
359
359
  ]));
360
360
  }
361
- }, cn = /* @__PURE__ */ G(rn, [["__scopeId", "data-v-6990d5b2"]]), dn = { class: "document-mode" }, un = ["onClick"], mn = { class: "document-mode-column icon-column" }, pn = ["innerHTML"], fn = { class: "document-mode-column text-column" }, hn = { class: "document-mode-type" }, vn = { class: "document-mode-description" }, gn = {
361
+ }, cn = /* @__PURE__ */ G(rn, [["__scopeId", "data-v-6990d5b2"]]), dn = { class: "document-mode" }, un = ["onClick"], mn = { class: "document-mode-column icon-column" }, pn = ["innerHTML"], fn = { class: "document-mode-column text-column" }, hn = { class: "document-mode-type" }, gn = { class: "document-mode-description" }, vn = {
362
362
  __name: "DocumentMode",
363
363
  props: {
364
364
  options: {
@@ -383,12 +383,12 @@ const x = (t) => {
383
383
  ]),
384
384
  E("div", fn, [
385
385
  E("div", hn, ie(c.label), 1),
386
- E("div", vn, ie(c.description), 1)
386
+ E("div", gn, ie(c.description), 1)
387
387
  ])
388
388
  ], 10, un))), 256))
389
389
  ]));
390
390
  }
391
- }, yn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-f86e1477"]]), bn = {
391
+ }, yn = /* @__PURE__ */ G(vn, [["__scopeId", "data-v-f86e1477"]]), bn = {
392
392
  key: 0,
393
393
  class: "linked-style-buttons"
394
394
  }, kn = ["onClick"], wn = {
@@ -595,15 +595,15 @@ const x = (t) => {
595
595
  __name: "TableGrid",
596
596
  emits: ["select", "clickoutside"],
597
597
  setup(t, { emit: l }) {
598
- const o = l, n = g(0), e = g(0), i = (s) => {
598
+ const o = l, n = v(0), e = v(0), i = (s) => {
599
599
  let a = s.target;
600
600
  if (!!a.dataset.grid)
601
601
  return;
602
602
  let r = [...a.parentElement.querySelectorAll("[data-item]")], b = parseInt(a.dataset.cols, 10), h = parseInt(a.dataset.rows, 10);
603
603
  e.value = b, n.value = h;
604
604
  for (let y = 0; y < r.length; y++) {
605
- let _ = r[y], v = parseInt(_.dataset.cols, 10), M = parseInt(_.dataset.rows, 10);
606
- v <= b && M <= h ? _.classList.add("selected") : _.classList.remove("selected");
605
+ let _ = r[y], g = parseInt(_.dataset.cols, 10), M = parseInt(_.dataset.rows, 10);
606
+ g <= b && M <= h ? _.classList.add("selected") : _.classList.remove("selected");
607
607
  }
608
608
  }, c = ({ cols: s, rows: a }) => {
609
609
  o("select", { cols: s, rows: a });
@@ -854,7 +854,7 @@ const x = (t) => {
854
854
  command: "toggleLink"
855
855
  });
856
856
  h.childItem = _, _.parentItem = h;
857
- const v = x({
857
+ const g = x({
858
858
  type: "button",
859
859
  name: "image",
860
860
  command: "startImageUpload",
@@ -1014,7 +1014,7 @@ const x = (t) => {
1014
1014
  command: "toggleBulletList",
1015
1015
  icon: e.bulletList,
1016
1016
  tooltip: "Bullet list"
1017
- }), ge = x({
1017
+ }), ve = x({
1018
1018
  type: "button",
1019
1019
  name: "numberedlist",
1020
1020
  command: "toggleOrderedList",
@@ -1315,13 +1315,13 @@ const x = (t) => {
1315
1315
  r,
1316
1316
  a,
1317
1317
  h,
1318
- v,
1318
+ g,
1319
1319
  M,
1320
1320
  p,
1321
1321
  a,
1322
1322
  H,
1323
1323
  Q,
1324
- ge,
1324
+ ve,
1325
1325
  ce,
1326
1326
  de,
1327
1327
  ae,
@@ -1435,12 +1435,12 @@ const x = (t) => {
1435
1435
  let b = o.name.replace(" ", "_"), h = mt(l.state, s);
1436
1436
  if (h == null)
1437
1437
  return;
1438
- let y = { type: "remove", id: s }, _ = `word/media/${b}`, v = d.nodes.image.create({
1438
+ let y = { type: "remove", id: s }, _ = `word/media/${b}`, g = d.nodes.image.create({
1439
1439
  src: _,
1440
1440
  size: { width: i, height: c }
1441
1441
  });
1442
1442
  t.storage.image.media = Object.assign(t.storage.image.media, { [_]: r }), t.options.ydoc && t.commands.addImageToCollaboration({ mediaPath: _, fileData: r }), l.dispatch(
1443
- l.state.tr.replaceWith(h, h, v).setMeta(Be, y)
1443
+ l.state.tr.replaceWith(h, h, g).setMeta(Be, y)
1444
1444
  );
1445
1445
  },
1446
1446
  () => {
@@ -1449,8 +1449,8 @@ const x = (t) => {
1449
1449
  }
1450
1450
  );
1451
1451
  };
1452
- var L, Qe, ve, Ne, et, tt, ze, nt, he;
1453
- class vo extends Nt {
1452
+ var L, Qe, ge, Ne, et, tt, ze, nt, he;
1453
+ class go extends Nt {
1454
1454
  constructor(o) {
1455
1455
  super();
1456
1456
  He(this, L);
@@ -1465,7 +1465,7 @@ class vo extends Nt {
1465
1465
  groups: null,
1466
1466
  editor: null
1467
1467
  });
1468
- He(this, ve, {
1468
+ He(this, ge, {
1469
1469
  setZoom: ({ item: o, argument: n }) => {
1470
1470
  if (!n) return;
1471
1471
  o.onActivate({ zoom: n }), this.emit("superdoc-command", { item: o, argument: n });
@@ -1556,7 +1556,7 @@ class vo extends Nt {
1556
1556
  ...o.icons
1557
1557
  }, !this.config.selector && this.config.element && (this.config.selector = this.config.element), O(this, L, Qe).call(this), O(this, L, Ne).call(this, this, this.config.icons, o.isDev);
1558
1558
  let n = null;
1559
- if (this.config.selector && (n = document.getElementById(this.config.selector), !n)) {
1559
+ if (this.config.selector && (this.config.selector.startsWith("#") || this.config.selector.startsWith(".") ? n = document.querySelector(this.config.selector) : n = document.getElementById(this.config.selector), !n)) {
1560
1560
  console.warn(`[super-toolbar 🎨] Element not found: ${this.config.selector}`);
1561
1561
  return;
1562
1562
  }
@@ -1567,7 +1567,7 @@ class vo extends Nt {
1567
1567
  }
1568
1568
  setZoom(o) {
1569
1569
  const e = [...this.toolbarItems, ...this.overflowItems].find((i) => i.name.value === "zoom");
1570
- Ee(this, ve).setZoom({ item: e, argument: o });
1570
+ Ee(this, ge).setZoom({ item: e, argument: o });
1571
1571
  }
1572
1572
  /**
1573
1573
  * The toolbar expects an active Super Editor instance.
@@ -1613,8 +1613,8 @@ class vo extends Nt {
1613
1613
  emitCommand({ item: o, argument: n }) {
1614
1614
  const { command: e } = o;
1615
1615
  if (e) {
1616
- if (this.log("(emmitCommand) Command:", e, o, n), e in Ee(this, ve))
1617
- return Ee(this, ve)[e]({ item: o, argument: n });
1616
+ if (this.log("(emmitCommand) Command:", e, o, n), e in Ee(this, ge))
1617
+ return Ee(this, ge)[e]({ item: o, argument: n });
1618
1618
  if (e in this.activeEditor?.commands)
1619
1619
  this.activeEditor.commands[e](n), this.updateToolbarState();
1620
1620
  else
@@ -1624,7 +1624,7 @@ class vo extends Nt {
1624
1624
  }
1625
1625
  L = new WeakSet(), Qe = function() {
1626
1626
  this.config.groups && !Array.isArray(this.config.groups) && Object.keys(this.config.groups).length && (this.config.toolbarGroups = Object.keys(this.config.groups));
1627
- }, ve = new WeakMap(), Ne = function(o, n, e = !1) {
1627
+ }, ge = new WeakMap(), Ne = function(o, n, e = !1) {
1628
1628
  const i = document.documentElement.clientWidth, { defaultItems: c, overflowItems: s } = Un(o, e, i, this.role, n);
1629
1629
  let a = [
1630
1630
  ...c.map((u) => u.name.value),
@@ -1656,7 +1656,7 @@ L = new WeakSet(), Qe = function() {
1656
1656
  n.value || o.setDisabled(!0);
1657
1657
  });
1658
1658
  }, nt = function() {
1659
- this.activeEditor && (this.undoDepth = ht(this.activeEditor.state), this.redoDepth = vt(this.activeEditor.state));
1659
+ this.activeEditor && (this.undoDepth = ht(this.activeEditor.state), this.redoDepth = gt(this.activeEditor.state));
1660
1660
  }, he = function({ item: o, argument: n }, e) {
1661
1661
  if (!n || !this.activeEditor) return;
1662
1662
  let i = o.command;
@@ -1711,8 +1711,8 @@ const Qn = (t, l) => {
1711
1711
  },
1712
1712
  emits: ["margin-change"],
1713
1713
  setup(t, { emit: l }) {
1714
- const o = l, n = t, e = g(null), i = g([]), c = g("#CCCCCC"), s = g("#2563EB66"), a = g(null), d = g(null), u = g(!1), r = g(null), b = Ue({ side: "left", x: 0 }), h = Ue({ side: "right", x: 0 }), y = g(!1), _ = g(0);
1715
- let v = 0;
1714
+ const o = l, n = t, e = v(null), i = v([]), c = v("#CCCCCC"), s = v("#2563EB66"), a = v(null), d = v(null), u = v(!1), r = v(null), b = Ue({ side: "left", x: 0 }), h = Ue({ side: "right", x: 0 }), y = v(!1), _ = v(0);
1715
+ let g = 0;
1716
1716
  const M = () => {
1717
1717
  if (n.editor.options.mode !== "docx") return;
1718
1718
  const T = [], { pageMargins: I, pageSize: B } = n.editor.getPageStyles();
@@ -1748,12 +1748,12 @@ const Qn = (t, l) => {
1748
1748
  minHeight: `${B.height}px`
1749
1749
  };
1750
1750
  }), H = (T) => {
1751
- u.value = !0, ge();
1751
+ u.value = !0, ve();
1752
1752
  const I = T.currentTarget.id;
1753
- r.value = I === "left-margin-handle" ? b : h, _.value = r.value.x, v = T.clientX - r.value.x, y.value = !0;
1753
+ r.value = I === "left-margin-handle" ? b : h, _.value = r.value.x, g = T.clientX - r.value.x, y.value = !0;
1754
1754
  }, N = (T) => {
1755
1755
  if (!u.value) return;
1756
- const I = T.clientX - v;
1756
+ const I = T.clientX - g;
1757
1757
  r.value.x = I, r.value.side === "left" ? I <= 0 ? r.value.x = 0 : I >= h.x - Se && (r.value.x = h.x - Se) : I >= a.value.width * 96 ? r.value.x = a.value.width * 96 : I <= b.x + Se && (r.value.x = b.x + Se);
1758
1758
  }, Q = () => {
1759
1759
  if (u.value = !1, y.value = !1, ce(), r.value && r.value.x !== _.value) {
@@ -1763,7 +1763,7 @@ const Qn = (t, l) => {
1763
1763
  value: T
1764
1764
  });
1765
1765
  }
1766
- }, ge = () => {
1766
+ }, ve = () => {
1767
1767
  c.value = s.value;
1768
1768
  }, ce = () => {
1769
1769
  c.value = "#CCC";
@@ -1849,7 +1849,7 @@ const Qn = (t, l) => {
1849
1849
  "selection-update"
1850
1850
  ],
1851
1851
  setup(t, { emit: l }) {
1852
- const o = l, n = t, e = g(!1), i = Xe(null), c = g(null), s = g(null);
1852
+ const o = l, n = t, e = v(!1), i = Xe(null), c = v(null), s = v(null);
1853
1853
  let a;
1854
1854
  const d = () => {
1855
1855
  clearTimeout(a);
@@ -1878,7 +1878,7 @@ const Qn = (t, l) => {
1878
1878
  C.on("synced", A);
1879
1879
  }
1880
1880
  }, h = () => {
1881
- const p = gt();
1881
+ const p = vt();
1882
1882
  return n.options.pagination ? p : p.filter((C) => C.name !== "pagination");
1883
1883
  }, y = async ({ content: p, media: C = {}, mediaFiles: A = {}, fonts: H = {} } = {}) => {
1884
1884
  i.value = new Re({
@@ -1902,7 +1902,7 @@ const Qn = (t, l) => {
1902
1902
  });
1903
1903
  }, _ = (p) => {
1904
1904
  o("editor-keydown", { editor: i.value });
1905
- }, v = (p) => {
1905
+ }, g = (p) => {
1906
1906
  o("editor-click", { editor: i.value });
1907
1907
  let C = s.value?.querySelector(".ProseMirror");
1908
1908
  if (!C || !i.value)
@@ -1933,7 +1933,7 @@ const Qn = (t, l) => {
1933
1933
  ref_key: "editorWrapper",
1934
1934
  ref: c,
1935
1935
  onKeydown: _,
1936
- onClick: v,
1936
+ onClick: g,
1937
1937
  onMousedown: M
1938
1938
  }, [
1939
1939
  E("div", {
@@ -1989,7 +1989,7 @@ const Qn = (t, l) => {
1989
1989
  ]))
1990
1990
  ]));
1991
1991
  }
1992
- }, go = /* @__PURE__ */ G(ao, [["__scopeId", "data-v-ff8f86f4"]]), yo = {
1992
+ }, vo = /* @__PURE__ */ G(ao, [["__scopeId", "data-v-ff8f86f4"]]), yo = {
1993
1993
  __name: "BasicUpload",
1994
1994
  emits: ["file-change"],
1995
1995
  setup(t, { emit: l }) {
@@ -2029,7 +2029,7 @@ const Qn = (t, l) => {
2029
2029
  },
2030
2030
  emits: ["update:modelValue", "focus", "blur"],
2031
2031
  setup(t, { emit: l }) {
2032
- const o = l, n = t, e = Xe(), i = g(null), c = g(!1), s = ({ editor: h, transaction: y }) => {
2032
+ const o = l, n = t, e = Xe(), i = v(null), c = v(!1), s = ({ editor: h, transaction: y }) => {
2033
2033
  const _ = h.getHTML();
2034
2034
  o("update:modelValue", _);
2035
2035
  }, a = ({ editor: h, transaction: y }) => {
@@ -2083,9 +2083,9 @@ export {
2083
2083
  Re as Editor,
2084
2084
  ko as Extensions,
2085
2085
  Io as SuperConverter,
2086
- go as SuperEditor,
2086
+ vo as SuperEditor,
2087
2087
  bo as SuperInput,
2088
- vo as SuperToolbar,
2088
+ go as SuperToolbar,
2089
2089
  Rt as Toolbar,
2090
2090
  xo as TrackChangesBasePluginKey,
2091
2091
  $o as createZip,
@@ -2094,7 +2094,7 @@ export {
2094
2094
  Zn as getAllowedImageDimensions,
2095
2095
  So as getMarksFromSelection,
2096
2096
  bt as getRichTextExtensions,
2097
- gt as getStarterExtensions,
2097
+ vt as getStarterExtensions,
2098
2098
  To as helpers,
2099
2099
  Ao as trackChangesHelpers
2100
2100
  };
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T as p } from "./chunks/toolbar-CCw0S8RT.js";
3
- import "./chunks/editor-vcOlYDin.js";
2
+ import { T as p } from "./chunks/toolbar-1fR16UCp.js";
3
+ import "./chunks/editor-HMA4CBmu.js";
4
4
  export {
5
5
  p as default
6
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-C-0jzk6B.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.yo;exports.CommentsPluginKey=e.he;exports.DocxZipper=e.Nt;exports.Editor=e.ji;exports.Extensions=e.ko;exports.SuperConverter=e.Nt$1;exports.SuperEditor=e.go;exports.SuperInput=e.bo;exports.SuperToolbar=e.vo;exports.Toolbar=e.Ip;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Uk;exports.getActiveFormatting=e.Bf;exports.getAllowedImageDimensions=e.Zn;exports.getMarksFromSelection=e.No;exports.getRichTextExtensions=e.Pk;exports.getStarterExtensions=e.Rk;exports.helpers=e.Md;exports.trackChangesHelpers=e.Kk;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-IrHgPDbt.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.yo;exports.CommentsPluginKey=e.he;exports.DocxZipper=e.Nt;exports.Editor=e.ji;exports.Extensions=e.ko;exports.SuperConverter=e.Nt$1;exports.SuperEditor=e.vo;exports.SuperInput=e.bo;exports.SuperToolbar=e.go;exports.Toolbar=e.Ip;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.qk;exports.getActiveFormatting=e.zf;exports.getAllowedImageDimensions=e.Zn;exports.getMarksFromSelection=e.No;exports.getRichTextExtensions=e.Rk;exports.getStarterExtensions=e.Lk;exports.helpers=e.Ad;exports.trackChangesHelpers=e.Xk;
@@ -1,4 +1,4 @@
1
- import { y as t, h as r, N as o, j as n, k as i, a as p, g, b as l, v as c, I as m, d as u, c as d, U as x, B as S, Z as h, e as E, P as k, R as C, M as T, K as b } from "./chunks/super-editor.es-C7VxrH4T.es.js";
1
+ import { y as t, h as r, N as o, j as n, k as i, a as p, v as g, b as l, g as c, I as m, d as u, c as d, q as x, z as S, Z as h, e as E, R as k, L as A, A as C, X as T } from "./chunks/super-editor.es-ByxULFVB.es.js";
2
2
  import "./chunks/vue-BDbTsTMu.es.js";
3
3
  export {
4
4
  t as BasicUpload,
@@ -18,7 +18,7 @@ export {
18
18
  h as getAllowedImageDimensions,
19
19
  E as getMarksFromSelection,
20
20
  k as getRichTextExtensions,
21
- C as getStarterExtensions,
22
- T as helpers,
23
- b as trackChangesHelpers
21
+ A as getStarterExtensions,
22
+ C as helpers,
23
+ T as trackChangesHelpers
24
24
  };