@harbour-enterprises/superdoc 0.10.50 → 0.10.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{super-editor.es-IXF93VNZ.es.js → super-editor.es-C7TOrAd0.es.js} +3769 -3779
- package/dist/chunks/{super-editor.es-dxdcIQ4m.cjs → super-editor.es-D2PVfIIY.cjs} +52 -52
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/style.css +29 -29
- package/dist/super-editor/ai-writer.es.js +19 -14
- package/dist/super-editor/chunks/{converter-Df_crZev.js → converter-WM8wcLCV.js} +1379 -1396
- package/dist/super-editor/chunks/{docx-zipper-B95WoADt.js → docx-zipper-CrGV_M63.js} +1 -1
- package/dist/super-editor/chunks/{editor-Dp0sUjMz.js → editor-B3Ut75Qp.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-YIMTl_q5.js → toolbar-CQqIamY5.js} +2 -2
- package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts +1 -0
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +1 -1
- package/dist/super-editor/super-editor.es.js +9 -7
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +100 -98
- package/dist/superdoc.umd.js +1921 -1929
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuperDoc.d.ts","sourceRoot":"","sources":["../../src/core/SuperDoc.js"],"names":[],"mappings":"AAqBA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH;;;;GAIG;AACH;IACE,4BAA4B;IAC5B,qBADW,KAAK,CAAC,MAAM,CAAC,CACgB;IA+DxC;;OAEG;IACH,oBAFW,MAAM,EAKhB;IAnED,qBAAqB;IACrB,SADW,MAAM,CACT;IAER,WAAM;IAEN,qBAAqB;IACrB,QADW,MAAM,CAsDf;IAiBA,4BAA6B;IAC7B,mBAAmB;IAKnB,gBAA+C;IAC/C,iBAAgC;IAYhC,WAA4B;IAE5B,YAAkB;IAElB,eAAuC;IAEvC,kBAAwB;IACxB,gBAAkB;IAKlB,qBAAqB;IAErB,cAA6C;IAC7C,cAA4C;IAM9C,mCAEC;IAED;;;MAKC;IA2BC,SAAc;IACd,WAAkB;IAKlB,mBAAkC;IAClC,mBAAkC;IA+BlC,yBAA2B;IAiB7B;;;;;OAKG;IACH,0BAFa,IAAI,CAKhB;IAED;;;;;OAKG;IACH,iCAFa,IAAI,CAIhB;IAMC,qBAME;IAGJ;;;aAIC;IAED,kCAEC;IAED,uBAIC;IAED,+CAEC;IAED,yCAIC;IAED,+BAEC;IAED,4CAEC;IAED,0BAEC;IAED,mCAGC;IAED;;;;OAIG;IACH,eAFa,IAAI,CAOhB;IAIC,oBAAmF;IACnF,sBAAmB;
|
|
1
|
+
{"version":3,"file":"SuperDoc.d.ts","sourceRoot":"","sources":["../../src/core/SuperDoc.js"],"names":[],"mappings":"AAqBA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH;;;;GAIG;AACH;IACE,4BAA4B;IAC5B,qBADW,KAAK,CAAC,MAAM,CAAC,CACgB;IA+DxC;;OAEG;IACH,oBAFW,MAAM,EAKhB;IAnED,qBAAqB;IACrB,SADW,MAAM,CACT;IAER,WAAM;IAEN,qBAAqB;IACrB,QADW,MAAM,CAsDf;IAiBA,4BAA6B;IAC7B,mBAAmB;IAKnB,gBAA+C;IAC/C,iBAAgC;IAYhC,WAA4B;IAE5B,YAAkB;IAElB,eAAuC;IAEvC,kBAAwB;IACxB,gBAAkB;IAKlB,qBAAqB;IAErB,cAA6C;IAC7C,cAA4C;IAM9C,mCAEC;IAED;;;MAKC;IA2BC,SAAc;IACd,WAAkB;IAKlB,mBAAkC;IAClC,mBAAkC;IA+BlC,yBAA2B;IAiB7B;;;;;OAKG;IACH,0BAFa,IAAI,CAKhB;IAED;;;;;OAKG;IACH,iCAFa,IAAI,CAIhB;IAMC,qBAME;IAGJ;;;aAIC;IAED,kCAEC;IAED,uBAIC;IAED,+CAEC;IAED,yCAIC;IAED,+BAEC;IAED,4CAEC;IAED,0BAEC;IAED,mCAGC;IAED;;;;OAIG;IACH,eAFa,IAAI,CAOhB;IAIC,oBAAmF;IACnF,sBAAmB;IA0BrB,oCAMC;IAFC,4BAA0E;IAI5E,2BAMC;IAED;;;aAMC;IAED,iCAaC;IAsDD;;;OAGG;IACH,iBAFW,OAAO,QAUjB;IAED,iBAUC;IAED;;;;OAIG;IACH,0CAFW,IAAI,QAOd;IAED;;;;sBA4BC;IAED,2DAcC;IAUK,kCAAkC;IAkBxC,wBAUC;IAED,gBAkCC;;CACF;;;;;;;;UAloBa,MAAM;;;;WACN,MAAM;;;;WACN,MAAM,GAAG,IAAI;;;;;;;;;cAKb,OAAO;;;;iBACP,MAAM;;;;eACN,MAAM;;;;;;QAKN,MAAM;;;;UACN,MAAM;;;;WACN,IAAI,GAAG,IAAI;;;;;;;;;;SAOtB;QAAuB,MAAM,GAAlB,MAAM;QACM,QAAQ,GAApB,MAAM;KACnB;;;;;;iBAIa,MAAM;;;;cACN,MAAM;;;;kBACN,SAAS,GAAG,SAAS,GAAG,YAAY;;;;WACpC,QAAQ,GAAG,QAAQ,GAAG,WAAW;;;;eACjC,MAAS,MAAM;;;;eACf,KAAK,CAAC,QAAQ,CAAC;;;;WACf,IAAI;;;;YACJ,KAAK,CAAC,IAAI,CAAC;;;;aACX,KAAK,CAAC,MAAM,CAAC;;;;cACb,OAAO;;;;iBACP,OAAO;;;;cACP,MAAM;;;;oBACN,KAAK,CAAC,MAAM,CAAC;;;;;;;;YAEb,OAAO;;;;gBACP,SAAS;;;;2BACT,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;;;;qBACxB,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;;;;sBACxB,MAAM,IAAI;;;;qBACV,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,IAAI,CAAA;KAAE,KAAC,GAAA;;;;cAC3E,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,KAAK,IAAI;;;;uBACxC,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,KAAK,IAAI;;;;wBAC/C,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,QAAQ,CAAC;QAAC,MAAM,QAAO;KAAE,KAAK,IAAI;;;;eACtD,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE,KAAK,IAAI;;;;yBACvD,MAAM,IAAI;;;;sBACV,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI;;;;2BAC3B,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI;;;;qBACpC,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI;;;;kBACpC,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,SAAS,CAAA;KAAE,KAAK,IAAI;;yBA5E3B,eAAe;0BASd,0CAA0C;6BAJ5B,mCAAmC;8BAC7C,iEAAiE"}
|
package/dist/style.css
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
.superdoc .ai-textarea-icon.error > svg {
|
|
101
101
|
fill: #ed4337;
|
|
102
102
|
}
|
|
103
|
-
.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-09306407]{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}}.prosemirror-isolated[data-v-1dd9d155]{z-index:100;position:relative}.ai-writer[data-v-1dd9d155]{display:flex;flex-direction:column;width:300px;border-radius:5px;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;padding:.75rem;box-shadow:0 0 2px 2px #7715b366;border:1px solid #7715b3}.ai-writer[data-v-1dd9d155]::-webkit-scrollbar{display:none}.ai-textarea[data-v-1dd9d155]{padding-left:8px;width:100%;color:#47484a;font-size:12px;border:none;background:transparent;outline:none;resize:none;overflow:hidden;height:100%;font-family:Inter,sans-serif}.ai-textarea[data-v-1dd9d155]::placeholder{color:#666;font-weight:400}.ai-user-input-field[data-v-1dd9d155]{line-height:13px;display:flex;flex-direction:row;min-height:50px;resize:none;border:none;border-radius:8px;margin-bottom:10px}.ai-textarea-icon[data-v-1dd9d155]{display:block;font-weight:800;font-size:14px;width:16px;height:16px}.ai-textarea-icon svg[data-v-1dd9d155]{height:16px;width:16px}.ai-textarea-icon.loading[data-v-1dd9d155]{animation:spin-1dd9d155 2s linear infinite}.loading i[data-v-1dd9d155]{display:flex}.error[data-v-1dd9d155]{fill:#ed4337}.ai-submit-button[data-v-1dd9d155]{border:none;padding:0;margin:0;cursor:pointer;display:flex;align-items:center}.ai-submit-button[data-v-1dd9d155]:hover{opacity:.8}@keyframes spin-1dd9d155{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ai-loader[data-v-1dd9d155]{display:flex;height:14px;justify-content:flex-end;align-items:center}.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}.ProseMirror div[data-type=contentBlock]{position:absolute;outline:none;user-select:none;z-index:-1}.super-doc-dropcap{float:left;display:flex;align-items:baseline;margin-top:-5px}.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}.toolbar-icon__icon--ai{position:relative;z-index:1}.toolbar-icon__icon--ai svg{fill:transparent}.toolbar-icon__icon--ai:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#dad77680 -20%,#bf6464 30%,#4d52d9 60%,#ffdb66 150%);-webkit-mask:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>") center / contain no-repeat;mask:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>") center / contain no-repeat;filter:brightness(1.2);transition:filter .2s ease}.toolbar-icon__icon--ai:hover:before{filter:brightness(1.3)}@keyframes aiTextAppear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.sd-ai-text-appear{display:inline;opacity:0;animation:aiTextAppear .7s ease-out forwards;animation-fill-mode:both;will-change:opacity,transform;contain:content}.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}.pagination-section-footer .pm-shape-container:has([data-id=auto-page-number],[data-id=auto-total-pages]){margin-left:auto}.pagination-section-header img[contenteditable=false],.pagination-section-footer img[contenteditable=false]{pointer-events:none}.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}
|
|
103
|
+
.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-09306407]{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}}.prosemirror-isolated[data-v-2ee48def]{z-index:100;position:relative}.ai-writer[data-v-2ee48def]{display:flex;flex-direction:column;width:300px;border-radius:5px;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;padding:.75rem;box-shadow:0 0 2px 2px #7715b366;border:1px solid #7715b3}.ai-writer[data-v-2ee48def]::-webkit-scrollbar{display:none}.ai-textarea[data-v-2ee48def]{padding-left:8px;width:100%;color:#47484a;font-size:12px;border:none;background:transparent;outline:none;resize:none;overflow:hidden;height:100%;font-family:Inter,sans-serif}.ai-textarea[data-v-2ee48def]::placeholder{color:#666;font-weight:400}.ai-user-input-field[data-v-2ee48def]{line-height:13px;display:flex;flex-direction:row;min-height:50px;resize:none;border:none;border-radius:8px;margin-bottom:10px}.ai-textarea-icon[data-v-2ee48def]{display:block;font-weight:800;font-size:14px;width:16px;height:16px}.ai-textarea-icon svg[data-v-2ee48def]{height:16px;width:16px}.ai-textarea-icon.loading[data-v-2ee48def]{animation:spin-2ee48def 2s linear infinite}.loading i[data-v-2ee48def]{display:flex}.error[data-v-2ee48def]{fill:#ed4337}.ai-submit-button[data-v-2ee48def]{border:none;padding:0;margin:0;cursor:pointer;display:flex;align-items:center}.ai-submit-button[data-v-2ee48def]:hover{opacity:.8}@keyframes spin-2ee48def{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ai-loader[data-v-2ee48def]{display:flex;height:14px;justify-content:flex-end;align-items:center}.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}.ProseMirror div[data-type=contentBlock]{position:absolute;outline:none;user-select:none;z-index:-1}.super-doc-dropcap{float:left;display:flex;align-items:baseline;margin-top:-5px}.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}.toolbar-icon__icon--ai{position:relative;z-index:1}.toolbar-icon__icon--ai svg{fill:transparent}.toolbar-icon__icon--ai:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#dad77680 -20%,#bf6464 30%,#4d52d9 60%,#ffdb66 150%);-webkit-mask:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>") center / contain no-repeat;mask:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>") center / contain no-repeat;filter:brightness(1.2);transition:filter .2s ease}.toolbar-icon__icon--ai:hover:before{filter:brightness(1.3)}@keyframes aiTextAppear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.sd-ai-text-appear{display:inline;opacity:0;animation:aiTextAppear .7s ease-out forwards;animation-fill-mode:both;will-change:opacity,transform;contain:content}.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}.pagination-section-footer .pm-shape-container:has([data-id=auto-page-number],[data-id=auto-total-pages]){margin-left:auto}.pagination-section-header img[contenteditable=false],.pagination-section-footer img[contenteditable=false]{pointer-events:none}.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}
|
|
104
104
|
|
|
105
105
|
.user-container[data-v-53e13009] {
|
|
106
106
|
border-radius: 50%;
|
|
@@ -568,48 +568,48 @@ img[data-v-7dd69850] {
|
|
|
568
568
|
box-shadow:0 0 5px hsla( 0,0%,0%,.05);
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
.superdoc[data-v-
|
|
571
|
+
.superdoc[data-v-06753e82] {
|
|
572
572
|
display: flex;
|
|
573
573
|
}
|
|
574
|
-
.right-sidebar[data-v-
|
|
574
|
+
.right-sidebar[data-v-06753e82] {
|
|
575
575
|
min-width: 320px;
|
|
576
576
|
}
|
|
577
|
-
.floating-comments[data-v-
|
|
577
|
+
.floating-comments[data-v-06753e82] {
|
|
578
578
|
min-width: 300px;
|
|
579
579
|
width: 300px;
|
|
580
580
|
}
|
|
581
|
-
.superdoc--with-sidebar[data-v-
|
|
581
|
+
.superdoc--with-sidebar[data-v-06753e82] { /* */
|
|
582
582
|
}
|
|
583
|
-
.superdoc__layers[data-v-
|
|
583
|
+
.superdoc__layers[data-v-06753e82] {
|
|
584
584
|
height: 100%;
|
|
585
585
|
position: relative;
|
|
586
586
|
box-sizing: border-box;
|
|
587
587
|
}
|
|
588
|
-
.superdoc__document[data-v-
|
|
588
|
+
.superdoc__document[data-v-06753e82] {
|
|
589
589
|
width: 100%;
|
|
590
590
|
position: relative;
|
|
591
591
|
}
|
|
592
|
-
.superdoc__sub-document[data-v-
|
|
592
|
+
.superdoc__sub-document[data-v-06753e82] {
|
|
593
593
|
width: 100%;
|
|
594
594
|
position: relative;
|
|
595
595
|
}
|
|
596
|
-
.superdoc__selection-layer[data-v-
|
|
596
|
+
.superdoc__selection-layer[data-v-06753e82] {
|
|
597
597
|
position: absolute;
|
|
598
598
|
min-width: 100%;
|
|
599
599
|
min-height: 100%;
|
|
600
600
|
z-index: 10;
|
|
601
601
|
pointer-events: none;
|
|
602
602
|
}
|
|
603
|
-
.superdoc__temp-selection[data-v-
|
|
603
|
+
.superdoc__temp-selection[data-v-06753e82] {
|
|
604
604
|
position: absolute;
|
|
605
605
|
}
|
|
606
|
-
.superdoc__comments-layer[data-v-
|
|
606
|
+
.superdoc__comments-layer[data-v-06753e82] {
|
|
607
607
|
/* position: absolute; */
|
|
608
608
|
top: 0;
|
|
609
609
|
height: 100%;
|
|
610
610
|
position: relative;
|
|
611
611
|
}
|
|
612
|
-
.superdoc__right-sidebar[data-v-
|
|
612
|
+
.superdoc__right-sidebar[data-v-06753e82] {
|
|
613
613
|
width: 320px;
|
|
614
614
|
min-width: 320px;
|
|
615
615
|
padding: 0 10px;
|
|
@@ -619,14 +619,14 @@ img[data-v-7dd69850] {
|
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
/* Tools styles */
|
|
622
|
-
.tools[data-v-
|
|
622
|
+
.tools[data-v-06753e82] {
|
|
623
623
|
position: absolute;
|
|
624
624
|
z-index: 3;
|
|
625
625
|
display: flex;
|
|
626
626
|
flex-direction: column;
|
|
627
627
|
gap: 6px;
|
|
628
628
|
}
|
|
629
|
-
.tools .tool-icon[data-v-
|
|
629
|
+
.tools .tool-icon[data-v-06753e82] {
|
|
630
630
|
font-size: 20px;
|
|
631
631
|
border-radius: 12px;
|
|
632
632
|
border: none;
|
|
@@ -634,7 +634,7 @@ img[data-v-7dd69850] {
|
|
|
634
634
|
background-color: #dbdbdb;
|
|
635
635
|
cursor: pointer;
|
|
636
636
|
}
|
|
637
|
-
.tools-item[data-v-
|
|
637
|
+
.tools-item[data-v-06753e82] {
|
|
638
638
|
display: flex;
|
|
639
639
|
align-items: center;
|
|
640
640
|
justify-content: center;
|
|
@@ -644,10 +644,10 @@ img[data-v-7dd69850] {
|
|
|
644
644
|
border-radius: 12px;
|
|
645
645
|
cursor: pointer;
|
|
646
646
|
}
|
|
647
|
-
.tools-item i[data-v-
|
|
647
|
+
.tools-item i[data-v-06753e82] {
|
|
648
648
|
cursor: pointer;
|
|
649
649
|
}
|
|
650
|
-
.superdoc__tools-icon[data-v-
|
|
650
|
+
.superdoc__tools-icon[data-v-06753e82] {
|
|
651
651
|
width: 20px;
|
|
652
652
|
height: 20px;
|
|
653
653
|
flex-shrink: 0;
|
|
@@ -661,15 +661,15 @@ img[data-v-7dd69850] {
|
|
|
661
661
|
|
|
662
662
|
/* 834px is iPad screen size in portrait orientation */
|
|
663
663
|
@media (max-width: 834px) {
|
|
664
|
-
.superdoc .superdoc__layers[data-v-
|
|
664
|
+
.superdoc .superdoc__layers[data-v-06753e82] {
|
|
665
665
|
margin: 0;
|
|
666
666
|
border: 0 !important;
|
|
667
667
|
box-shadow: none;
|
|
668
668
|
}
|
|
669
|
-
.superdoc__sub-document[data-v-
|
|
669
|
+
.superdoc__sub-document[data-v-06753e82] {
|
|
670
670
|
max-width: 100%;
|
|
671
671
|
}
|
|
672
|
-
.superdoc__right-sidebar[data-v-
|
|
672
|
+
.superdoc__right-sidebar[data-v-06753e82] {
|
|
673
673
|
padding: 10px;
|
|
674
674
|
width: 55px;
|
|
675
675
|
position: relative;
|
|
@@ -677,7 +677,7 @@ img[data-v-7dd69850] {
|
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
/* AI Writer styles */
|
|
680
|
-
.ai-writer-container[data-v-
|
|
680
|
+
.ai-writer-container[data-v-06753e82] {
|
|
681
681
|
position: fixed;
|
|
682
682
|
z-index: 1000;
|
|
683
683
|
background: white;
|
|
@@ -695,13 +695,13 @@ img[data-v-7dd69850] {
|
|
|
695
695
|
} */
|
|
696
696
|
|
|
697
697
|
/* Tools styles */
|
|
698
|
-
.tools[data-v-
|
|
698
|
+
.tools[data-v-06753e82] {
|
|
699
699
|
position: absolute;
|
|
700
700
|
z-index: 3;
|
|
701
701
|
display: flex;
|
|
702
702
|
gap: 6px;
|
|
703
703
|
}
|
|
704
|
-
.tools .tool-icon[data-v-
|
|
704
|
+
.tools .tool-icon[data-v-06753e82] {
|
|
705
705
|
font-size: 20px;
|
|
706
706
|
border-radius: 12px;
|
|
707
707
|
border: none;
|
|
@@ -709,7 +709,7 @@ img[data-v-7dd69850] {
|
|
|
709
709
|
background-color: #dbdbdb;
|
|
710
710
|
cursor: pointer;
|
|
711
711
|
}
|
|
712
|
-
.tools-item[data-v-
|
|
712
|
+
.tools-item[data-v-06753e82] {
|
|
713
713
|
display: flex;
|
|
714
714
|
align-items: center;
|
|
715
715
|
justify-content: center;
|
|
@@ -720,18 +720,18 @@ img[data-v-7dd69850] {
|
|
|
720
720
|
border-radius: 12px;
|
|
721
721
|
cursor: pointer;
|
|
722
722
|
}
|
|
723
|
-
.tools-item i[data-v-
|
|
723
|
+
.tools-item i[data-v-06753e82] {
|
|
724
724
|
cursor: pointer;
|
|
725
725
|
}
|
|
726
|
-
.superdoc__tools-icon[data-v-
|
|
726
|
+
.superdoc__tools-icon[data-v-06753e82] {
|
|
727
727
|
width: 20px;
|
|
728
728
|
height: 20px;
|
|
729
729
|
flex-shrink: 0;
|
|
730
730
|
}
|
|
731
|
-
.ai-tool > svg[data-v-
|
|
731
|
+
.ai-tool > svg[data-v-06753e82] {
|
|
732
732
|
fill: transparent;
|
|
733
733
|
}
|
|
734
|
-
.ai-tool[data-v-
|
|
734
|
+
.ai-tool[data-v-06753e82]::before {
|
|
735
735
|
content: "";
|
|
736
736
|
position: absolute;
|
|
737
737
|
width: 20px;
|
|
@@ -750,7 +750,7 @@ img[data-v-7dd69850] {
|
|
|
750
750
|
filter: brightness(1.2);
|
|
751
751
|
transition: filter 0.2s ease;
|
|
752
752
|
}
|
|
753
|
-
.ai-tool[data-v-
|
|
753
|
+
.ai-tool[data-v-06753e82]:hover::before {
|
|
754
754
|
filter: brightness(1.3);
|
|
755
755
|
}
|
|
756
756
|
/* Tools styles - end */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as l, onMounted as R, onUnmounted as K, computed as I, createElementBlock as f, openBlock as g, withModifiers as
|
|
2
|
-
import { _ as G } from "./chunks/editor-
|
|
3
|
-
const X = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights",
|
|
1
|
+
import { ref as l, onMounted as R, onUnmounted as K, computed as I, createElementBlock as f, openBlock as g, withModifiers as S, createElementVNode as m, withDirectives as V, unref as w, vModelText as W, createCommentVNode as j, nextTick as B } from "vue";
|
|
2
|
+
import { _ as G } from "./chunks/editor-B3Ut75Qp.js";
|
|
3
|
+
const X = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights", C = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
|
|
4
4
|
async function E(a, e = {}) {
|
|
5
5
|
const n = e.apiKey, r = e.endpoint || X;
|
|
6
6
|
try {
|
|
@@ -35,7 +35,7 @@ async function F(a, e, n) {
|
|
|
35
35
|
const y = s.decode(v, { stream: !0 });
|
|
36
36
|
typeof e == "function" && e(y);
|
|
37
37
|
}
|
|
38
|
-
let d =
|
|
38
|
+
let d = q(c);
|
|
39
39
|
return d !== null && (o = d), o || "";
|
|
40
40
|
} catch (d) {
|
|
41
41
|
throw console.error("Error reading stream:", d), d;
|
|
@@ -43,7 +43,7 @@ async function F(a, e, n) {
|
|
|
43
43
|
r.releaseLock();
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function q(a) {
|
|
47
47
|
try {
|
|
48
48
|
const e = /```json\s*\n([\s\S]*?)\n\s*```/, n = a.match(e);
|
|
49
49
|
if (n && n[1]) {
|
|
@@ -56,12 +56,12 @@ function N(a) {
|
|
|
56
56
|
return null;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
async function
|
|
59
|
+
async function N(a, e = {}, n, r) {
|
|
60
60
|
if (!a)
|
|
61
61
|
throw new Error("Prompt is required for text generation");
|
|
62
62
|
const s = {
|
|
63
63
|
stream: !0,
|
|
64
|
-
context:
|
|
64
|
+
context: C,
|
|
65
65
|
doc_text: "",
|
|
66
66
|
insights: [
|
|
67
67
|
{
|
|
@@ -75,12 +75,12 @@ async function $(a, e = {}, n, r) {
|
|
|
75
75
|
const o = await E(s, e.config || {});
|
|
76
76
|
return o.body ? await F(o.body, n, r) : "";
|
|
77
77
|
}
|
|
78
|
-
async function
|
|
78
|
+
async function $(a, e = "", n = {}, r, s) {
|
|
79
79
|
if (!a)
|
|
80
80
|
throw new Error("Text is required for rewriting");
|
|
81
81
|
const o = {
|
|
82
82
|
stream: !0,
|
|
83
|
-
context:
|
|
83
|
+
context: C,
|
|
84
84
|
insights: [
|
|
85
85
|
{
|
|
86
86
|
type: "custom_prompt",
|
|
@@ -141,6 +141,10 @@ const U = `<!-- @note: includes color gradient for inline svg AI Writer -->
|
|
|
141
141
|
apiKey: {
|
|
142
142
|
type: String
|
|
143
143
|
},
|
|
144
|
+
endpoint: {
|
|
145
|
+
type: String,
|
|
146
|
+
required: !1
|
|
147
|
+
},
|
|
144
148
|
/**
|
|
145
149
|
* AIWriter component is used both in the superToolbar and SuperDoc directly
|
|
146
150
|
* When we are rending in the toolbar menu, our events are emitted through toolbar to Superdoc
|
|
@@ -215,10 +219,11 @@ const U = `<!-- @note: includes color gradient for inline svg AI Writer -->
|
|
|
215
219
|
documentXml: H(),
|
|
216
220
|
config: {
|
|
217
221
|
// Pass the aiApiKey to the AI helper functions
|
|
218
|
-
apiKey: e.apiKey
|
|
222
|
+
apiKey: e.apiKey,
|
|
223
|
+
endpoint: e.endpoint
|
|
219
224
|
}
|
|
220
225
|
};
|
|
221
|
-
e.selectedText ? await
|
|
226
|
+
e.selectedText ? await $(e.selectedText, u.value, i, k, M) : await N(u.value, i, k, M), e.handleClose();
|
|
222
227
|
} catch (t) {
|
|
223
228
|
console.error("AI generation error:", t), p.value = t.message || "An error occurred";
|
|
224
229
|
} finally {
|
|
@@ -233,7 +238,7 @@ const U = `<!-- @note: includes color gradient for inline svg AI Writer -->
|
|
|
233
238
|
class: "ai-writer prosemirror-isolated",
|
|
234
239
|
ref_key: "aiWriterRef",
|
|
235
240
|
ref: r,
|
|
236
|
-
onMousedown: i[1] || (i[1] =
|
|
241
|
+
onMousedown: i[1] || (i[1] = S(() => {
|
|
237
242
|
}, ["stop"]))
|
|
238
243
|
}, [
|
|
239
244
|
m("div", Z, [
|
|
@@ -264,13 +269,13 @@ const U = `<!-- @note: includes color gradient for inline svg AI Writer -->
|
|
|
264
269
|
}, null, 8, se)) : u.value ? (g(), f("span", {
|
|
265
270
|
key: 2,
|
|
266
271
|
class: "ai-textarea-icon ai-submit-button",
|
|
267
|
-
onClick:
|
|
272
|
+
onClick: S(A, ["stop"]),
|
|
268
273
|
innerHTML: w(Y)
|
|
269
274
|
}, null, 8, ae)) : j("", !0)
|
|
270
275
|
])
|
|
271
276
|
], 544));
|
|
272
277
|
}
|
|
273
|
-
}, de = /* @__PURE__ */ G(ie, [["__scopeId", "data-v-
|
|
278
|
+
}, de = /* @__PURE__ */ G(ie, [["__scopeId", "data-v-2ee48def"]]);
|
|
274
279
|
export {
|
|
275
280
|
de as default
|
|
276
281
|
};
|