superdoc 2.4.0-next.8 → 2.4.0

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 (77) hide show
  1. package/dist/chunks/{FindReplaceSurface-9VkPw_-X.cjs → FindReplaceSurface-0p7EtMZh.cjs} +4 -3
  2. package/dist/chunks/{FindReplaceSurface-BuvaIrQ5.es.js → FindReplaceSurface-40AnrqWk.es.js} +4 -2
  3. package/dist/chunks/{PasswordPromptSurface-Bu5xHm91.cjs → PasswordPromptSurface-31lYPcCK.cjs} +4 -3
  4. package/dist/chunks/{PasswordPromptSurface-Bz9_sKhX.es.js → PasswordPromptSurface-CwYeO3iQ.es.js} +4 -2
  5. package/dist/chunks/{PdfViewer-CdVGB6Fe.es.js → PdfViewer-D8h7LRZy.es.js} +103 -19
  6. package/dist/chunks/{PdfViewer-D4eD2dV1.cjs → PdfViewer-Dug6yDRC.cjs} +105 -20
  7. package/dist/chunks/_plugin-vue_export-helper-BOaGB7Aw.es.js +8 -0
  8. package/dist/chunks/_plugin-vue_export-helper-SDR04tiH.cjs +13 -0
  9. package/dist/chunks/{blank-docx-DP8RUPW-.cjs → blank-docx-BuFAbRjs.cjs} +2 -0
  10. package/dist/chunks/{blank-docx-XRX6Ker2.es.js → blank-docx-DzQccOlW.es.js} +2 -0
  11. package/dist/chunks/constants-B6VBlmKp.es.js +4 -0
  12. package/dist/chunks/constants-DpXuDx_g.cjs +9 -0
  13. package/dist/chunks/{create-super-doc-ui-BquF8bnZ.es.js → create-super-doc-ui-CmOSA_lN.es.js} +2050 -1090
  14. package/dist/chunks/{create-super-doc-ui-sMXbYzhs.cjs → create-super-doc-ui-CqGmoMMA.cjs} +1861 -1141
  15. package/dist/chunks/{eventemitter3-DqY4aSMf.cjs → eventemitter3-C_TAnXOl.cjs} +125 -16
  16. package/dist/chunks/{eventemitter3-Bt2s0X0a.es.js → eventemitter3-DEIiXiH2.es.js} +124 -16
  17. package/dist/chunks/jszip-BzJ3CyxR.es.js +4717 -0
  18. package/dist/chunks/jszip-D8mAFF-r.cjs +4758 -0
  19. package/dist/chunks/{rolldown-runtime-D7PMmH3s.es.js → rolldown-runtime-0pSA04fp.es.js} +12 -3
  20. package/dist/chunks/{rolldown-runtime-1Y-nnZJ3.cjs → rolldown-runtime-74VwNCz7.cjs} +11 -2
  21. package/dist/chunks/{uuid-CFp0WGVU.cjs → uuid-BhG0ngwk.cjs} +10 -6
  22. package/dist/chunks/{uuid-B2Sqk-3p.es.js → uuid-H0Xcmmhy.es.js} +8 -3
  23. package/dist/collaboration-upgrade-engine.cjs +34 -9
  24. package/dist/collaboration-upgrade-engine.es.js +30 -5
  25. package/dist/document-api/src/citations/citations.types.d.ts +9 -0
  26. package/dist/document-api/src/comments/comments.types.d.ts +7 -0
  27. package/dist/document-api/src/types/receipt.d.ts +9 -5
  28. package/dist/layout-engine/contracts/src/incremental-dependency.d.ts +22 -2
  29. package/dist/layout-engine/contracts/src/index.d.ts +74 -2
  30. package/dist/layout-engine/contracts/src/inline-box.d.ts +19 -0
  31. package/dist/layout-engine/contracts/src/paragraph-visible-text.d.ts +19 -0
  32. package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +4 -1
  33. package/dist/layout-engine/layout-bridge/src/index.d.ts +1 -0
  34. package/dist/layout-engine/layout-bridge/src/inline-box-key.d.ts +3 -0
  35. package/dist/layout-engine/layout-bridge/src/layoutHeaderFooter.d.ts +5 -1
  36. package/dist/layout-engine/layout-bridge/src/run-visual-marks.d.ts +2 -0
  37. package/dist/layout-engine/layout-bridge/src/text-measurement.d.ts +0 -12
  38. package/dist/layout-engine/painters/dom/src/runs/inline-box.d.ts +8 -0
  39. package/dist/public/ui-react.cjs +66 -2
  40. package/dist/public/ui-react.es.js +66 -1
  41. package/dist/public/ui.cjs +1 -1
  42. package/dist/public/ui.es.js +1 -1
  43. package/dist/style.css +134 -98
  44. package/dist/style.layered.css +134 -98
  45. package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +2 -0
  46. package/dist/superdoc/src/components/CommentsLayer/commentsList/ReviewDirectoryListItem.vue.d.ts +16 -0
  47. package/dist/superdoc/src/components/CommentsLayer/commentsList/commentsList.vue.d.ts +3 -1
  48. package/dist/superdoc/src/components/CommentsLayer/commentsList/super-comments-list.d.ts +12 -0
  49. package/dist/superdoc/src/core/SuperDoc.d.ts +10 -7
  50. package/dist/superdoc/src/core/extensions/index.d.ts +1 -1
  51. package/dist/superdoc/src/core/extensions/types.d.ts +63 -5
  52. package/dist/superdoc/src/core/types/index.d.ts +399 -37
  53. package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +3 -3
  54. package/dist/superdoc/src/helpers/comment-small-screen.d.ts +10 -0
  55. package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +3 -5
  56. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButton.vue.d.ts +4 -4
  57. package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +11 -0
  58. package/dist/superdoc/src/internal/toolbar/compatibility-catalog.d.ts +1 -1
  59. package/dist/superdoc/src/public/index.d.cts +20 -0
  60. package/dist/superdoc/src/public/index.d.ts +10 -0
  61. package/dist/superdoc/src/public/ui/types.d.ts +30 -6
  62. package/dist/superdoc/src/stores/comments-store.d.ts +81 -78
  63. package/dist/superdoc/src/stores/superdoc-store.d.ts +243 -234
  64. package/dist/superdoc.cjs +6667 -2090
  65. package/dist/superdoc.es.js +6540 -1963
  66. package/dist-cdn/style.layered.css +1 -1
  67. package/dist-cdn/superdoc.min.css +1 -1
  68. package/dist-cdn/superdoc.min.js +37 -37
  69. package/package.json +14 -14
  70. package/dist/chunks/_plugin-vue_export-helper-CZ1Nl59K.cjs +0 -11
  71. package/dist/chunks/_plugin-vue_export-helper-DSMAhhwD.es.js +0 -6
  72. package/dist/chunks/constants-BfH0br5u.es.js +0 -3
  73. package/dist/chunks/constants-D7TNtyJd.cjs +0 -14
  74. package/dist/chunks/jszip-C8srOKAO.es.js +0 -4650
  75. package/dist/chunks/jszip-Cs9JBLlJ.cjs +0 -4691
  76. package/dist/superdoc/src/helpers/v2-remote-review-hydration.d.ts +0 -12
  77. package/dist/superdoc/src/helpers/v2-review-mutation-reconciler.d.ts +0 -19
@@ -1,12 +0,0 @@
1
- export function createV2RemoteReviewHydrationScheduler({ hydrate, getActiveDocumentId, debounceMs, ceilingMs, now, setTimer, clearTimer, }: {
2
- hydrate: any;
3
- getActiveDocumentId: any;
4
- debounceMs?: number | undefined;
5
- ceilingMs?: number | undefined;
6
- now?: (() => number) | undefined;
7
- setTimer?: ((callback: any, delay: any) => NodeJS.Timeout) | undefined;
8
- clearTimer?: ((timer: any) => void) | undefined;
9
- }): {
10
- schedule: (documentId: any) => boolean;
11
- clear: () => void;
12
- };
@@ -1,19 +0,0 @@
1
- /**
2
- * Reconcile tracked changes only after their canonical render has made the
3
- * read model observable. Command receipts use narrow reads; history results
4
- * use one authoritative catalog because undo/redo can restore hundreds of
5
- * identities in one transaction. An absent history identity only converges
6
- * when both catalog and source coverage are explicitly complete.
7
- */
8
- export function createV2ReviewMutationReconciler({ getContext, reconcile, hydrate, onReconciled }: {
9
- getContext: any;
10
- reconcile: any;
11
- hydrate: any;
12
- onReconciled: any;
13
- }): {
14
- enqueue: (impact: any) => void;
15
- enqueueAfterPaint(impact: any, waitForPaint: any): Promise<any>;
16
- onRender: (supersedesInFlight?: boolean) => void;
17
- reset(): void;
18
- getPendingIds(): Set<any>;
19
- };