@harbour-enterprises/superdoc 0.29.0-next.13 → 0.29.0-next.15

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 (44) hide show
  1. package/dist/chunks/{PdfViewer-DOihIaKT.cjs → PdfViewer-B7X4xur3.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-BkHpL2td.es.js → PdfViewer-BL9hLN-A.es.js} +1 -1
  3. package/dist/chunks/{index-BG7aufxd.es.js → index-CCTDIDk7.es.js} +3 -3
  4. package/dist/chunks/{index-Bky221GX.cjs → index-CCVmXx2r.cjs} +3 -3
  5. package/dist/chunks/{index-p_HoYQ4L-YNisXWt0.es.js → index-x0B8ORNX--SLHZ7wS.es.js} +1 -1
  6. package/dist/chunks/{index-p_HoYQ4L-BvUq1_h3.cjs → index-x0B8ORNX-D9kjqjf9.cjs} +1 -1
  7. package/dist/chunks/{super-editor.es-DA-FFY2A.cjs → super-editor.es-BkV-6f5K.cjs} +404 -12
  8. package/dist/chunks/{super-editor.es-vCpzMs9V.es.js → super-editor.es-LUVoGFZl.es.js} +404 -12
  9. package/dist/style.css +45 -3
  10. package/dist/super-editor/ai-writer.es.js +2 -2
  11. package/dist/super-editor/chunks/{converter-C0Fd9g-U.js → converter-Bt0gPwYj.js} +149 -7
  12. package/dist/super-editor/chunks/{docx-zipper-BqIh8tzQ.js → docx-zipper-JVCnlDBn.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-Dg538FVw.js → editor-BF7w_sd7.js} +257 -7
  14. package/dist/super-editor/chunks/{index-p_HoYQ4L.js → index-x0B8ORNX.js} +1 -1
  15. package/dist/super-editor/chunks/{toolbar-Des2y7IP.js → toolbar-CI9lB3KI.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/docx-zipper.es.js +2 -2
  18. package/dist/super-editor/editor.es.js +3 -3
  19. package/dist/super-editor/file-zipper.es.js +1 -1
  20. package/dist/super-editor/style.css +45 -3
  21. package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
  22. package/dist/super-editor/super-editor/src/core/super-converter/relationship-helpers.d.ts.map +1 -1
  23. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/mc/altermateContent/alternate-content-translator.d.ts.map +1 -1
  24. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts +6 -0
  25. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts.map +1 -1
  26. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.d.ts.map +1 -1
  27. package/dist/super-editor/super-editor/src/extensions/index.d.ts +2 -1
  28. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  29. package/dist/super-editor/super-editor/src/extensions/search/prosemirror-search-patched.d.ts.map +1 -1
  30. package/dist/super-editor/super-editor/src/extensions/shape-group/ShapeGroupView.d.ts +22 -0
  31. package/dist/super-editor/super-editor/src/extensions/shape-group/ShapeGroupView.d.ts.map +1 -0
  32. package/dist/super-editor/super-editor/src/extensions/shape-group/index.d.ts +3 -0
  33. package/dist/super-editor/super-editor/src/extensions/shape-group/index.d.ts.map +1 -0
  34. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts +3 -0
  35. package/dist/super-editor/super-editor/src/extensions/shape-group/shape-group.d.ts.map +1 -0
  36. package/dist/super-editor/super-editor.es.js +6 -6
  37. package/dist/super-editor/toolbar.es.js +2 -2
  38. package/dist/super-editor.cjs +1 -1
  39. package/dist/super-editor.es.js +1 -1
  40. package/dist/superdoc.cjs +2 -2
  41. package/dist/superdoc.es.js +2 -2
  42. package/dist/superdoc.umd.js +406 -14
  43. package/dist/superdoc.umd.js.map +1 -1
  44. package/package.json +1 -1
@@ -411,16 +411,37 @@ to {
411
411
  :root {
412
412
  /* CSS variables */
413
413
  }
414
+ /* Isolate editor content from external/client CSS by reverting all properties.
415
+ * IMPORTANT: We exclude SVG elements and their children from this rule because
416
+ * 'all: revert' breaks SVG rendering (paths don't display, transforms don't work).
417
+ * SVG has its own rendering model and doesn't need CSS isolation the same way text content does.
418
+ */
414
419
  .sd-editor-scoped,
415
- .sd-editor-scoped :where(*),
416
- .sd-editor-scoped :where(*::before),
417
- .sd-editor-scoped :where(*::after) {
420
+ .sd-editor-scoped :where(*:not(svg):not(svg *)),
421
+ .sd-editor-scoped :where(*:not(svg):not(svg *)::before),
422
+ .sd-editor-scoped :where(*:not(svg):not(svg *)::after) {
418
423
  all: revert;
419
424
  box-sizing: border-box;
420
425
  }
426
+ /* Ensure SVG display properties for proper rendering */
427
+ .sd-editor-scoped svg {
428
+ display: inline-block;
429
+ overflow: visible;
430
+ }
421
431
  .sd-editor-scoped {
422
432
  display: block;
423
433
  }
434
+ /*
435
+ * Visual Regression Testing:
436
+ * This CSS isolation is critical for protecting editor content from external stylesheets.
437
+ * Visual regression tests should be added to the visual testing repository to ensure:
438
+ * 1. Text content is not affected by aggressive global CSS
439
+ * 2. SVG shapes (shape groups, vector shapes) render correctly
440
+ * 3. No visual regressions when client applications have conflicting styles
441
+ *
442
+ * Reference: PR #1219 - "improve style scoping in the editor to prevent external styles affecting content"
443
+ * Reference: PR #1236 - "shape groups" (this fix ensures both isolation AND SVG rendering work)
444
+ */
424
445
  .sd-input-active {
425
446
  border: 1px solid #1355ff !important;
426
447
  }
@@ -1214,6 +1235,27 @@ on the right if it is inside shape textbox.
1214
1235
  height: 100%;
1215
1236
  display: block;
1216
1237
  }
1238
+ .sd-shape-group {
1239
+ display: inline-block;
1240
+ vertical-align: bottom;
1241
+ position: relative;
1242
+ border: 1px dashed transparent;
1243
+ transition: border-color 0.2s ease;
1244
+ }
1245
+ .sd-shape-group:hover {
1246
+ border-color: rgba(91, 155, 213, 0.3);
1247
+ }
1248
+ .sd-shape-group svg {
1249
+ display: block;
1250
+ }
1251
+ .sd-shape-group[data-selected] {
1252
+ border-color: rgba(91, 155, 213, 0.6);
1253
+ background-color: rgba(91, 155, 213, 0.05);
1254
+ }
1255
+ /* Ensure shapes within the group are properly positioned */
1256
+ .sd-shape-group svg g {
1257
+ transform-origin: top left;
1258
+ }
1217
1259
 
1218
1260
  .alignment-buttons[data-v-d84f57b6] {
1219
1261
  display: flex;
@@ -1 +1 @@
1
- {"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAiHA;;;;GAIG;AACH,kDAHW,KAAK,KAAQ,MAAO,GAClB,KAAK,KAAQ,CAgDzB;AAED;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAwDxB;AAyFD;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB;AAoBD;;;;;GAKG;AACH,kDAHW,UAAU,GACR,YAAY,CAwLxB;AAiDD;;;;;;;GAOG;AAEH,0DAJW,KAAQ,gBACN,YAAY,CA0DxB;AAED;;;;;GAKG;AACH,6DAFa,YAAY,CAYxB;AAED;;;;;GAKG;AACH,yCAHW,KAAQ;;;EAQlB;AAED;;;;;GAKG;AACH,2CAHW,QAAQ,EAAE,SAgBpB;AAED,uDA2CC;AAED;;;;;;GAMG;AACH,+CAJW,YAAY,QACZ,MAAM,GACJ,MAAM,CAqBlB;AA6UD;;;;;;;;;EAgBC;AAtmCM,8EAiDN;AAEM,mDAON;AA8iCD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAoFF;;;;;;;;;;;;;oBA/kCa,KAAQ;;;;;;;;;;UAMR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
1
+ {"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAiHA;;;;GAIG;AACH,kDAHW,KAAK,KAAQ,MAAO,GAClB,KAAK,KAAQ,CAgDzB;AAED;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAyDxB;AAyFD;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB;AAoBD;;;;;GAKG;AACH,kDAHW,UAAU,GACR,YAAY,CAwLxB;AAiDD;;;;;;;GAOG;AAEH,0DAJW,KAAQ,gBACN,YAAY,CA0DxB;AAED;;;;;GAKG;AACH,6DAFa,YAAY,CAYxB;AAED;;;;;GAKG;AACH,yCAHW,KAAQ;;;EAQlB;AAED;;;;;GAKG;AACH,2CAHW,QAAQ,EAAE,SAgBpB;AAED,uDA2CC;AAED;;;;;;GAMG;AACH,+CAJW,YAAY,QACZ,MAAM,GACJ,MAAM,CAqBlB;AA6UD;;;;;;;;;EAgBC;AAvmCM,8EAiDN;AAEM,mDAON;AA+iCD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAoFF;;;;;;;;;;;;;oBAhlCa,KAAQ;;;;;;;;;;UAMR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
@@ -1 +1 @@
1
- {"version":3,"file":"relationship-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/relationship-helpers.js"],"names":[],"mappings":"AAUO,yDAHI,GAA4C,EAAE,GAC5C,MAAM,CAQlB;AAUM,kEAJI,GAA4C,EAAE,qBAC9C,GAA4C,EAAE,GAC5C,GAA4C,EAAE,CA2D1D"}
1
+ {"version":3,"file":"relationship-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/relationship-helpers.js"],"names":[],"mappings":"AAUO,yDAHI,GAA4C,EAAE,GAC5C,MAAM,CAQlB;AAUM,kEAJI,GAA4C,EAAE,qBAC9C,GAA4C,EAAE,GAC5C,GAA4C,EAAE,CA0D1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"alternate-content-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/mc/altermateContent/alternate-content-translator.js"],"names":[],"mappings":"AAuFA;;;;GAIG;AACH,qDAHW,OAAO,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC,GACzC;IAAE,MAAM,EAAE,OAAO,aAAa,EAAE,OAAO,GAAC,IAAI,CAAC;IAAC,QAAQ,EAAE,OAAO,aAAa,EAAE,OAAO,EAAE,GAAC,IAAI,CAAA;CAAE,CA8B1G;AArHD,0BAA0B;AAC1B,mDADW,GAAG,CAAC,MAAM,CAAC,CAanB;AA6DH,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAqCF;;GAEG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
1
+ {"version":3,"file":"alternate-content-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/mc/altermateContent/alternate-content-translator.js"],"names":[],"mappings":"AAwFA;;;;GAIG;AACH,qDAHW,OAAO,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC,GACzC;IAAE,MAAM,EAAE,OAAO,aAAa,EAAE,OAAO,GAAC,IAAI,CAAC;IAAC,QAAQ,EAAE,OAAO,aAAa,EAAE,OAAO,EAAE,GAAC,IAAI,CAAA;CAAE,CA8B1G;AAtHD,0BAA0B;AAC1B,mDADW,GAAG,CAAC,MAAM,CAAC,CAcnB;AA6DH,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAqCF;;GAEG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
@@ -4,6 +4,12 @@
4
4
  * @returns {Object} XML node
5
5
  */
6
6
  export function translateVectorShape(params: any): any;
7
+ /**
8
+ * Translates a shapeGroup node back to XML.
9
+ * @param {Object} params - Translation parameters
10
+ * @returns {Object} XML node
11
+ */
12
+ export function translateShapeGroup(params: any): any;
7
13
  export function translateImageNode(params: any): any;
8
14
  /**
9
15
  * Decodes image into export XML
@@ -1 +1 @@
1
- {"version":3,"file":"decode-image-node-helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.js"],"names":[],"mappings":"AAyVA;;;;GAIG;AACH,uDAqBC;AApWM,qDAkPN;;;;;;;;;;;;;;;;mBAtPa,KAAQ"}
1
+ {"version":3,"file":"decode-image-node-helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.js"],"names":[],"mappings":"AAyVA;;;;GAIG;AACH,uDAqBC;AAED;;;;GAIG;AACH,sDA+BC;AA1YM,qDAkPN;;;;;;;;;;;;;;;;mBAtPa,KAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"encode-image-node-helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.js"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,wEAFa,MAAO,IAAI,CAqOvB;AAuJD;;;;;;;GAOG;AACH,wDAJG;IAAwB,MAAM;IACN,WAAW;CACnC,GAAU,MAAO,IAAI,CA0DvB"}
1
+ {"version":3,"file":"encode-image-node-helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.js"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,wEAFa,MAAO,IAAI,CA8OvB;AA+SD;;;;;;;GAOG;AACH,wDAJG;IAAwB,MAAM;IACN,WAAW;CACnC,GAAU,MAAO,IAAI,CA0DvB"}
@@ -65,5 +65,6 @@ import { NodeResizer } from './noderesizer/index.js';
65
65
  import { CustomSelection } from './custom-selection/index.js';
66
66
  import { TextTransform } from './text-transform/index.js';
67
67
  import { VectorShape } from './vector-shape/index.js';
68
- export { History, Heading, Document, Text, Run, BulletList, OrderedList, ListItem, Paragraph, CommentRangeStart, CommentRangeEnd, CommentReference, TabNode, LineBreak, HardBreak, Bold, Italic, Underline, Highlight, Strike, Color, FontFamily, FontSize, TextAlign, TextIndent, TextStyle, LineHeight, FormatCommands, CommentsPlugin, Gapcursor, Table, TableRow, TableCell, TableHeader, Placeholder, DropCursor, BlockNode, FieldAnnotation, fieldAnnotationHelpers, Image, BookmarkStart, BookmarkEnd, PopoverPlugin, Mention, Collaboration, CollaborationCursor, TrackChanges, TrackInsert, TrackDelete, TrackFormat, CommentsMark, trackChangesHelpers, AiMark, AiAnimationMark, AiLoaderNode, AiPlugin, Search, StructuredContent, StructuredContentBlock, StructuredContentCommands, DocumentSection, NodeResizer, CustomSelection, TextTransform, VectorShape };
68
+ import { ShapeGroup } from './shape-group/index.js';
69
+ export { History, Heading, Document, Text, Run, BulletList, OrderedList, ListItem, Paragraph, CommentRangeStart, CommentRangeEnd, CommentReference, TabNode, LineBreak, HardBreak, Bold, Italic, Underline, Highlight, Strike, Color, FontFamily, FontSize, TextAlign, TextIndent, TextStyle, LineHeight, FormatCommands, CommentsPlugin, Gapcursor, Table, TableRow, TableCell, TableHeader, Placeholder, DropCursor, BlockNode, FieldAnnotation, fieldAnnotationHelpers, Image, BookmarkStart, BookmarkEnd, PopoverPlugin, Mention, Collaboration, CollaborationCursor, TrackChanges, TrackInsert, TrackDelete, TrackFormat, CommentsMark, trackChangesHelpers, AiMark, AiAnimationMark, AiLoaderNode, AiPlugin, Search, StructuredContent, StructuredContentBlock, StructuredContentCommands, DocumentSection, NodeResizer, CustomSelection, TextTransform, VectorShape, ShapeGroup };
69
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extensions/index.js"],"names":[],"mappings":"wBACwB,oBAAoB;wBAwBpB,oBAAoB;yBAPnB,qBAAqB;qBACzB,iBAAiB;oBAClB,gBAAgB;2BACT,wBAAwB;4BACvB,yBAAyB;yBAC5B,sBAAsB;0BACrB,sBAAsB;kCAEqB,oBAAoB;gCAApB,oBAAoB;iCAApB,oBAAoB;wBACjE,gBAAgB;0BACH,uBAAuB;0BAAvB,uBAAuB;qBA0BvC,iBAAiB;uBACf,mBAAmB;0BAChB,sBAAsB;0BACtB,sBAAsB;uBACzB,mBAAmB;sBAxDpB,kBAAkB;2BACb,wBAAwB;yBAC1B,sBAAsB;0BACrB,uBAAuB;2BACtB,wBAAwB;0BA+CzB,4BAA4B;2BA9C3B,wBAAwB;+BACpB,4BAA4B;+BAyD5B,oBAAoB;0BAvDzB,sBAAsB;sBAmB1B,kBAAkB;yBAEf,sBAAsB;0BACrB,uBAAuB;4BAFrB,yBAAyB;4BAoCzB,wBAAwB;2BAzDzB,uBAAuB;0BAuCxB,uBAAuB;gCAfO,6BAA6B;uCAA7B,6BAA6B;sBAC/D,kBAAkB;8BACG,sBAAsB;4BAAtB,sBAAsB;8BAgCnC,2BAA2B;wBA/BjC,oBAAoB;8BAzBd,0BAA0B;oCACpB,iCAAiC;6BAwDxC,0BAA0B;4BARD,0BAA0B;4BAA1B,0BAA0B;4BAA1B,0BAA0B;6BACnD,oBAAoB;oCAeb,0BAA0B;AA6C9D,uJA4EC;AAvHD,wJAyCC;uBA1G+D,eAAe;gCAAf,eAAe;6BAAf,eAAe;yBAAf,eAAe;uBA0DxD,mBAAmB;kCAxBnC,+BAA+B;uCAA/B,+BAA+B;0CAhCI,+BAA+B;gCAgClE,+BAA+B;4BAyBV,wBAAwB;gCACpB,6BAA6B;8BAX/B,2BAA2B;4BAZ7B,yBAAyB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extensions/index.js"],"names":[],"mappings":"wBACwB,oBAAoB;wBAwBpB,oBAAoB;yBAPnB,qBAAqB;qBACzB,iBAAiB;oBAClB,gBAAgB;2BACT,wBAAwB;4BACvB,yBAAyB;yBAC5B,sBAAsB;0BACrB,sBAAsB;kCAEqB,oBAAoB;gCAApB,oBAAoB;iCAApB,oBAAoB;wBACjE,gBAAgB;0BACH,uBAAuB;0BAAvB,uBAAuB;qBA2BvC,iBAAiB;uBACf,mBAAmB;0BAChB,sBAAsB;0BACtB,sBAAsB;uBACzB,mBAAmB;sBAzDpB,kBAAkB;2BACb,wBAAwB;yBAC1B,sBAAsB;0BACrB,uBAAuB;2BACtB,wBAAwB;0BAgDzB,4BAA4B;2BA/C3B,wBAAwB;+BACpB,4BAA4B;+BA0D5B,oBAAoB;0BAxDzB,sBAAsB;sBAmB1B,kBAAkB;yBAEf,sBAAsB;0BACrB,uBAAuB;4BAFrB,yBAAyB;4BAqCzB,wBAAwB;2BA1DzB,uBAAuB;0BAuCxB,uBAAuB;gCAfO,6BAA6B;uCAA7B,6BAA6B;sBAC/D,kBAAkB;8BACG,sBAAsB;4BAAtB,sBAAsB;8BAiCnC,2BAA2B;wBAhCjC,oBAAoB;8BAzBd,0BAA0B;oCACpB,iCAAiC;6BAyDxC,0BAA0B;4BARD,0BAA0B;4BAA1B,0BAA0B;4BAA1B,0BAA0B;6BACnD,oBAAoB;oCAeb,0BAA0B;AA6C9D,uJA6EC;AAxHD,wJAyCC;uBA3G+D,eAAe;gCAAf,eAAe;6BAAf,eAAe;yBAAf,eAAe;uBA2DxD,mBAAmB;kCAzBnC,+BAA+B;uCAA/B,+BAA+B;0CAhCI,+BAA+B;gCAgClE,+BAA+B;4BA0BV,wBAAwB;gCACpB,6BAA6B;8BAX/B,2BAA2B;4BAb7B,yBAAyB;2BAC1B,wBAAwB"}
@@ -1 +1 @@
1
- {"version":3,"file":"prosemirror-search-patched.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/search/prosemirror-search-patched.js"],"names":[],"mappings":"AAuPA,oDAaC;AA7PD;IACE;;QAEI;IACJ,yBAUC;IATC,YAA2B;IAC3B,uBAA2C;IAC3C,iBAA+B;IAC/B,gBAA6B;IAC7B,aAAmC;IACnC,eAAyE;IACzE,mBAAmC;IACnC,YAAmC;IACnC;;;kCAAiG;IAEnG;;QAEI;IACJ,wBAQC;IACD;;QAEI;IACJ,mDAOC;IACD;;;QAGI;IACJ,mDAOC;IACD;;QAEI;IACJ,0CAKC;IACD;;QAEI;IACJ,0BAIC;IACD;;;;;;;;;;QAUI;IACJ;;;;QAkCC;CACF;AAiUQ,6DASN;AATM,mEASN;AATM,6DASN;AATM,mEASN;AArCH;;;EAGE;AACF,oDAGC;AAdD;;;EAGE;AACF,gDAEC;AAyGD;;EAEE;AACF,+DAwBC;AAtEQ,mEAyBN;AAzBM,gEAyBN;AAzBM,sEAyBN;AA9HH;;;EAGE;AACF,0DA4BC;AAgBD;;;EAGE;AACF,sEAEC;AAtQD;IACE,wBAGC;IAFC,WAAkB;IAClB,eAAoF;IAEtF,8CAWC;IACD,8CAiBC;CACF;AAvED;IACE,wBAKC;IAJC,WAAkB;IAGlB,YAAoB;IAEtB,8CAYC;IACD,8CAaC;CACF;sBA9J+B,mBAAmB;AA0VnD;IACE,+CAIC;IAHC,WAAkB;IAClB,WAAkB;IAClB,UAAgB;CAEnB;uBAlWgD,mBAAmB"}
1
+ {"version":3,"file":"prosemirror-search-patched.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/search/prosemirror-search-patched.js"],"names":[],"mappings":"AAwPA,oDAaC;AA9PD;IACE;;QAEI;IACJ,yBAUC;IATC,YAA2B;IAC3B,uBAA2C;IAC3C,iBAA+B;IAC/B,gBAA6B;IAC7B,aAAmC;IACnC,eAAyE;IACzE,mBAAmC;IACnC,YAAmC;IACnC;;;kCAAiG;IAEnG;;QAEI;IACJ,wBAQC;IACD;;QAEI;IACJ,mDAOC;IACD;;;QAGI;IACJ,mDAOC;IACD;;QAEI;IACJ,0CAKC;IACD;;QAEI;IACJ,0BAIC;IACD;;;;;;;;;;QAUI;IACJ;;;;QAkCC;CACF;AAwWQ,6DASN;AATM,mEASN;AATM,6DASN;AATM,mEASN;AArCH;;;EAGE;AACF,oDAGC;AAdD;;;EAGE;AACF,gDAEC;AAyGD;;EAEE;AACF,+DAwBC;AAtEQ,mEAyBN;AAzBM,gEAyBN;AAzBM,sEAyBN;AA9HH;;;EAGE;AACF,0DA4BC;AAgBD;;;EAGE;AACF,sEAEC;AA7SD;IACE,wBAGC;IAFC,WAAkB;IAClB,eAAoF;IAEtF,8CAWC;IACD,8CAiBC;CACF;AAvED;IACE,wBAKC;IAJC,WAAkB;IAGlB,YAAoB;IAEtB,8CAYC;IACD,8CAaC;CACF;sBA9J+B,mBAAmB;AAiYnD;IACE,+CAIC;IAHC,WAAkB;IAClB,WAAkB;IAClB,UAAgB;CAEnB;uBAzYgD,mBAAmB"}
@@ -0,0 +1,22 @@
1
+ export class ShapeGroupView {
2
+ constructor(props: any);
3
+ node: any;
4
+ view: any;
5
+ getPos: any;
6
+ decorations: any;
7
+ innerDecorations: any;
8
+ editor: any;
9
+ extension: any;
10
+ htmlAttributes: any;
11
+ root: any;
12
+ mount(): void;
13
+ get dom(): any;
14
+ get contentDOM(): any;
15
+ createElement(): {
16
+ element: HTMLDivElement;
17
+ };
18
+ createShapeElement(shape: any, groupTransform: any): SVGGElement;
19
+ buildView(): void;
20
+ update(): boolean;
21
+ }
22
+ //# sourceMappingURL=ShapeGroupView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShapeGroupView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/ShapeGroupView.js"],"names":[],"mappings":"AAGA;IAmBE,wBAWC;IA7BD,UAAK;IAEL,UAAK;IAEL,YAAO;IAEP,iBAAY;IAEZ,sBAAiB;IAEjB,YAAO;IAEP,eAAU;IAEV,oBAAe;IAEf,UAAK;IAeL,cAEC;IAED,eAEC;IAED,sBAEC;IAED;;MAyCC;IAED,iEAuIC;IAED,kBAGC;IAED,kBAGC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { ShapeGroup } from "./shape-group";
2
+ export { ShapeGroupView } from "./ShapeGroupView";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export const ShapeGroup: Node;
2
+ import { Node } from '@core/index';
3
+ //# sourceMappingURL=shape-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-group.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/shape-group/shape-group.js"],"names":[],"mappings":"AAGA,8BAmFG;qBAtF6B,aAAa"}
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
11
11
  var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
12
- import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-C0Fd9g-U.js";
13
- import { a5, i, a2 } from "./chunks/converter-C0Fd9g-U.js";
14
- import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-Dg538FVw.js";
15
- import { v, C, w, T, q, x, t } from "./chunks/editor-Dg538FVw.js";
12
+ import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-Bt0gPwYj.js";
13
+ import { a5, i, a2 } from "./chunks/converter-Bt0gPwYj.js";
14
+ import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-BF7w_sd7.js";
15
+ import { v, C, w, T, q, x, t } from "./chunks/editor-BF7w_sd7.js";
16
16
  import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, defineComponent, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
17
- import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-Des2y7IP.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-CI9lB3KI.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-BqIh8tzQ.js";
19
+ import { D } from "./chunks/docx-zipper-JVCnlDBn.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-Des2y7IP.js";
3
- import "./chunks/editor-Dg538FVw.js";
2
+ import { T } from "./chunks/toolbar-CI9lB3KI.js";
3
+ import "./chunks/editor-BF7w_sd7.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-DA-FFY2A.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-BkV-6f5K.cjs");
4
4
  require("./chunks/vue-BQxRC6G7.cjs");
5
5
  exports.AIWriter = superEditor_es.AIWriter;
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
@@ -1,4 +1,4 @@
1
- import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-vCpzMs9V.es.js";
1
+ import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-LUVoGFZl.es.js";
2
2
  import "./chunks/vue-D1vcEBAQ.es.js";
3
3
  export {
4
4
  A as AIWriter,
package/dist/superdoc.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-DA-FFY2A.cjs");
4
- const superdoc = require("./chunks/index-Bky221GX.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-BkV-6f5K.cjs");
4
+ const superdoc = require("./chunks/index-CCVmXx2r.cjs");
5
5
  const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
7
7
  exports.Editor = superEditor_es.Editor;
@@ -1,5 +1,5 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-vCpzMs9V.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-BG7aufxd.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-LUVoGFZl.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-CCTDIDk7.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
4
  export {
5
5
  a as AnnotatorHelpers,