superdoc 2.4.0-next.3 → 2.4.0-next.4
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/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/style.css +23 -23
- package/dist/style.layered.css +23 -23
- package/dist/superdoc/src/stores/comments-store.d.ts +33 -15
- package/dist/superdoc/src/stores/superdoc-store.d.ts +99 -45
- package/dist/superdoc.cjs +225 -20
- package/dist/superdoc.es.js +225 -20
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +36 -36
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@ const COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
7
7
|
var PRIVATE_ENGINE_INFO = (0, __superdoc_docx_engine_collaboration_upgrade_engine.getCollaborationUpgradeEngineInfo)();
|
|
8
8
|
var ENGINE_INFO = Object.freeze({
|
|
9
9
|
...PRIVATE_ENGINE_INFO,
|
|
10
|
-
superdocVersion: "2.4.0-next.
|
|
10
|
+
superdocVersion: "2.4.0-next.4",
|
|
11
11
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
12
12
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
13
13
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
|
@@ -6,7 +6,7 @@ const COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
|
|
|
6
6
|
var PRIVATE_ENGINE_INFO = getCollaborationUpgradeEngineInfo$1();
|
|
7
7
|
var ENGINE_INFO = Object.freeze({
|
|
8
8
|
...PRIVATE_ENGINE_INFO,
|
|
9
|
-
superdocVersion: "2.4.0-next.
|
|
9
|
+
superdocVersion: "2.4.0-next.4",
|
|
10
10
|
roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
|
|
11
11
|
supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
|
|
12
12
|
supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
|
package/dist/style.css
CHANGED
|
@@ -1734,11 +1734,11 @@ img[data-v-c95b2073] {
|
|
|
1734
1734
|
pointer-events: auto;
|
|
1735
1735
|
}
|
|
1736
1736
|
|
|
1737
|
-
.superdoc[data-v-
|
|
1737
|
+
.superdoc[data-v-c3bc8a46] {
|
|
1738
1738
|
display: flex;
|
|
1739
1739
|
position: relative;
|
|
1740
1740
|
}
|
|
1741
|
-
.sd-visually-hidden[data-v-
|
|
1741
|
+
.sd-visually-hidden[data-v-c3bc8a46] {
|
|
1742
1742
|
position: absolute;
|
|
1743
1743
|
width: 1px;
|
|
1744
1744
|
height: 1px;
|
|
@@ -1749,30 +1749,30 @@ img[data-v-c95b2073] {
|
|
|
1749
1749
|
white-space: nowrap;
|
|
1750
1750
|
border: 0;
|
|
1751
1751
|
}
|
|
1752
|
-
.right-sidebar[data-v-
|
|
1752
|
+
.right-sidebar[data-v-c3bc8a46] {
|
|
1753
1753
|
min-width: 320px;
|
|
1754
1754
|
height: 100%;
|
|
1755
1755
|
}
|
|
1756
|
-
.floating-comments[data-v-
|
|
1756
|
+
.floating-comments[data-v-c3bc8a46] {
|
|
1757
1757
|
min-width: 300px;
|
|
1758
1758
|
width: 300px;
|
|
1759
1759
|
height: 100%;
|
|
1760
1760
|
overflow: visible;
|
|
1761
1761
|
}
|
|
1762
|
-
.superdoc__layers[data-v-
|
|
1762
|
+
.superdoc__layers[data-v-c3bc8a46] {
|
|
1763
1763
|
height: 100%;
|
|
1764
1764
|
position: relative;
|
|
1765
1765
|
box-sizing: border-box;
|
|
1766
1766
|
}
|
|
1767
|
-
.superdoc__document[data-v-
|
|
1767
|
+
.superdoc__document[data-v-c3bc8a46] {
|
|
1768
1768
|
width: 100%;
|
|
1769
1769
|
position: relative;
|
|
1770
1770
|
}
|
|
1771
|
-
.superdoc__sub-document[data-v-
|
|
1771
|
+
.superdoc__sub-document[data-v-c3bc8a46] {
|
|
1772
1772
|
width: 100%;
|
|
1773
1773
|
position: relative;
|
|
1774
1774
|
}
|
|
1775
|
-
.superdoc__selection-layer[data-v-
|
|
1775
|
+
.superdoc__selection-layer[data-v-c3bc8a46] {
|
|
1776
1776
|
position: absolute;
|
|
1777
1777
|
min-width: 100%;
|
|
1778
1778
|
min-height: 100%;
|
|
@@ -1783,13 +1783,13 @@ img[data-v-c95b2073] {
|
|
|
1783
1783
|
/* SD-3497: PDF whiteboard overlay sits above the rendered PDF canvas but below
|
|
1784
1784
|
the PDF comment anchors (z-index 6 in PdfCommentsLayer) so anchors stay
|
|
1785
1785
|
clickable, and below the selection layer (z-index 10). */
|
|
1786
|
-
.superdoc__whiteboard-layer[data-v-
|
|
1786
|
+
.superdoc__whiteboard-layer[data-v-c3bc8a46] {
|
|
1787
1787
|
z-index: 4;
|
|
1788
1788
|
}
|
|
1789
|
-
.superdoc__temp-selection[data-v-
|
|
1789
|
+
.superdoc__temp-selection[data-v-c3bc8a46] {
|
|
1790
1790
|
position: absolute;
|
|
1791
1791
|
}
|
|
1792
|
-
.superdoc__right-sidebar[data-v-
|
|
1792
|
+
.superdoc__right-sidebar[data-v-c3bc8a46] {
|
|
1793
1793
|
width: 320px;
|
|
1794
1794
|
min-width: 320px;
|
|
1795
1795
|
padding: 0 10px;
|
|
@@ -1797,7 +1797,7 @@ img[data-v-c95b2073] {
|
|
|
1797
1797
|
position: relative;
|
|
1798
1798
|
z-index: 2;
|
|
1799
1799
|
}
|
|
1800
|
-
.superdoc__compact-comment-popover[data-v-
|
|
1800
|
+
.superdoc__compact-comment-popover[data-v-c3bc8a46] {
|
|
1801
1801
|
position: absolute;
|
|
1802
1802
|
top: 12px;
|
|
1803
1803
|
right: 12px;
|
|
@@ -1806,14 +1806,14 @@ img[data-v-c95b2073] {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
|
|
1808
1808
|
/* Tools styles */
|
|
1809
|
-
.tools[data-v-
|
|
1809
|
+
.tools[data-v-c3bc8a46] {
|
|
1810
1810
|
position: absolute;
|
|
1811
1811
|
z-index: 3;
|
|
1812
1812
|
display: flex;
|
|
1813
1813
|
flex-direction: column;
|
|
1814
1814
|
gap: var(--sd-ui-tools-gap, 6px);
|
|
1815
1815
|
}
|
|
1816
|
-
.tools-item[data-v-
|
|
1816
|
+
.tools-item[data-v-c3bc8a46] {
|
|
1817
1817
|
display: flex;
|
|
1818
1818
|
align-items: center;
|
|
1819
1819
|
justify-content: center;
|
|
@@ -1824,10 +1824,10 @@ img[data-v-c95b2073] {
|
|
|
1824
1824
|
cursor: pointer;
|
|
1825
1825
|
position: relative;
|
|
1826
1826
|
}
|
|
1827
|
-
.tools-item i[data-v-
|
|
1827
|
+
.tools-item i[data-v-c3bc8a46] {
|
|
1828
1828
|
cursor: pointer;
|
|
1829
1829
|
}
|
|
1830
|
-
.superdoc__tools-icon[data-v-
|
|
1830
|
+
.superdoc__tools-icon[data-v-c3bc8a46] {
|
|
1831
1831
|
width: var(--sd-ui-tools-icon-size, 20px);
|
|
1832
1832
|
height: var(--sd-ui-tools-icon-size, 20px);
|
|
1833
1833
|
flex-shrink: 0;
|
|
@@ -1842,22 +1842,22 @@ img[data-v-c95b2073] {
|
|
|
1842
1842
|
|
|
1843
1843
|
/* 834px is iPad screen size in portrait orientation */
|
|
1844
1844
|
@media (max-width: 834px) {
|
|
1845
|
-
.superdoc .superdoc__layers[data-v-
|
|
1845
|
+
.superdoc .superdoc__layers[data-v-c3bc8a46] {
|
|
1846
1846
|
margin: 0;
|
|
1847
1847
|
border: 0 !important;
|
|
1848
1848
|
box-shadow: none;
|
|
1849
1849
|
}
|
|
1850
|
-
.superdoc__sub-document[data-v-
|
|
1850
|
+
.superdoc__sub-document[data-v-c3bc8a46] {
|
|
1851
1851
|
max-width: 100%;
|
|
1852
1852
|
}
|
|
1853
|
-
.superdoc__right-sidebar[data-v-
|
|
1853
|
+
.superdoc__right-sidebar[data-v-c3bc8a46] {
|
|
1854
1854
|
padding: 10px;
|
|
1855
1855
|
position: relative;
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
1858
|
|
|
1859
1859
|
/* AI Writer styles */
|
|
1860
|
-
.ai-writer-container[data-v-
|
|
1860
|
+
.ai-writer-container[data-v-c3bc8a46] {
|
|
1861
1861
|
position: fixed;
|
|
1862
1862
|
z-index: 1000;
|
|
1863
1863
|
background: white;
|
|
@@ -1873,10 +1873,10 @@ img[data-v-c95b2073] {
|
|
|
1873
1873
|
transform: translateY(-50%);
|
|
1874
1874
|
z-index: 50;
|
|
1875
1875
|
} */
|
|
1876
|
-
.ai-tool > svg[data-v-
|
|
1876
|
+
.ai-tool > svg[data-v-c3bc8a46] {
|
|
1877
1877
|
fill: transparent;
|
|
1878
1878
|
}
|
|
1879
|
-
.ai-tool[data-v-
|
|
1879
|
+
.ai-tool[data-v-c3bc8a46]::before {
|
|
1880
1880
|
content: '';
|
|
1881
1881
|
position: absolute;
|
|
1882
1882
|
width: 20px;
|
|
@@ -1897,7 +1897,7 @@ img[data-v-c95b2073] {
|
|
|
1897
1897
|
filter: brightness(1.2);
|
|
1898
1898
|
transition: filter 0.2s ease;
|
|
1899
1899
|
}
|
|
1900
|
-
.ai-tool[data-v-
|
|
1900
|
+
.ai-tool[data-v-c3bc8a46]:hover::before {
|
|
1901
1901
|
filter: brightness(1.3);
|
|
1902
1902
|
}
|
|
1903
1903
|
|
package/dist/style.layered.css
CHANGED
|
@@ -1734,11 +1734,11 @@ img[data-v-c95b2073] {
|
|
|
1734
1734
|
pointer-events: auto;
|
|
1735
1735
|
}
|
|
1736
1736
|
|
|
1737
|
-
.superdoc[data-v-
|
|
1737
|
+
.superdoc[data-v-c3bc8a46] {
|
|
1738
1738
|
display: flex;
|
|
1739
1739
|
position: relative;
|
|
1740
1740
|
}
|
|
1741
|
-
.sd-visually-hidden[data-v-
|
|
1741
|
+
.sd-visually-hidden[data-v-c3bc8a46] {
|
|
1742
1742
|
position: absolute;
|
|
1743
1743
|
width: 1px;
|
|
1744
1744
|
height: 1px;
|
|
@@ -1749,30 +1749,30 @@ img[data-v-c95b2073] {
|
|
|
1749
1749
|
white-space: nowrap;
|
|
1750
1750
|
border: 0;
|
|
1751
1751
|
}
|
|
1752
|
-
.right-sidebar[data-v-
|
|
1752
|
+
.right-sidebar[data-v-c3bc8a46] {
|
|
1753
1753
|
min-width: 320px;
|
|
1754
1754
|
height: 100%;
|
|
1755
1755
|
}
|
|
1756
|
-
.floating-comments[data-v-
|
|
1756
|
+
.floating-comments[data-v-c3bc8a46] {
|
|
1757
1757
|
min-width: 300px;
|
|
1758
1758
|
width: 300px;
|
|
1759
1759
|
height: 100%;
|
|
1760
1760
|
overflow: visible;
|
|
1761
1761
|
}
|
|
1762
|
-
.superdoc__layers[data-v-
|
|
1762
|
+
.superdoc__layers[data-v-c3bc8a46] {
|
|
1763
1763
|
height: 100%;
|
|
1764
1764
|
position: relative;
|
|
1765
1765
|
box-sizing: border-box;
|
|
1766
1766
|
}
|
|
1767
|
-
.superdoc__document[data-v-
|
|
1767
|
+
.superdoc__document[data-v-c3bc8a46] {
|
|
1768
1768
|
width: 100%;
|
|
1769
1769
|
position: relative;
|
|
1770
1770
|
}
|
|
1771
|
-
.superdoc__sub-document[data-v-
|
|
1771
|
+
.superdoc__sub-document[data-v-c3bc8a46] {
|
|
1772
1772
|
width: 100%;
|
|
1773
1773
|
position: relative;
|
|
1774
1774
|
}
|
|
1775
|
-
.superdoc__selection-layer[data-v-
|
|
1775
|
+
.superdoc__selection-layer[data-v-c3bc8a46] {
|
|
1776
1776
|
position: absolute;
|
|
1777
1777
|
min-width: 100%;
|
|
1778
1778
|
min-height: 100%;
|
|
@@ -1783,13 +1783,13 @@ img[data-v-c95b2073] {
|
|
|
1783
1783
|
/* SD-3497: PDF whiteboard overlay sits above the rendered PDF canvas but below
|
|
1784
1784
|
the PDF comment anchors (z-index 6 in PdfCommentsLayer) so anchors stay
|
|
1785
1785
|
clickable, and below the selection layer (z-index 10). */
|
|
1786
|
-
.superdoc__whiteboard-layer[data-v-
|
|
1786
|
+
.superdoc__whiteboard-layer[data-v-c3bc8a46] {
|
|
1787
1787
|
z-index: 4;
|
|
1788
1788
|
}
|
|
1789
|
-
.superdoc__temp-selection[data-v-
|
|
1789
|
+
.superdoc__temp-selection[data-v-c3bc8a46] {
|
|
1790
1790
|
position: absolute;
|
|
1791
1791
|
}
|
|
1792
|
-
.superdoc__right-sidebar[data-v-
|
|
1792
|
+
.superdoc__right-sidebar[data-v-c3bc8a46] {
|
|
1793
1793
|
width: 320px;
|
|
1794
1794
|
min-width: 320px;
|
|
1795
1795
|
padding: 0 10px;
|
|
@@ -1797,7 +1797,7 @@ img[data-v-c95b2073] {
|
|
|
1797
1797
|
position: relative;
|
|
1798
1798
|
z-index: 2;
|
|
1799
1799
|
}
|
|
1800
|
-
.superdoc__compact-comment-popover[data-v-
|
|
1800
|
+
.superdoc__compact-comment-popover[data-v-c3bc8a46] {
|
|
1801
1801
|
position: absolute;
|
|
1802
1802
|
top: 12px;
|
|
1803
1803
|
right: 12px;
|
|
@@ -1806,14 +1806,14 @@ img[data-v-c95b2073] {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
|
|
1808
1808
|
/* Tools styles */
|
|
1809
|
-
.tools[data-v-
|
|
1809
|
+
.tools[data-v-c3bc8a46] {
|
|
1810
1810
|
position: absolute;
|
|
1811
1811
|
z-index: 3;
|
|
1812
1812
|
display: flex;
|
|
1813
1813
|
flex-direction: column;
|
|
1814
1814
|
gap: var(--sd-ui-tools-gap, 6px);
|
|
1815
1815
|
}
|
|
1816
|
-
.tools-item[data-v-
|
|
1816
|
+
.tools-item[data-v-c3bc8a46] {
|
|
1817
1817
|
display: flex;
|
|
1818
1818
|
align-items: center;
|
|
1819
1819
|
justify-content: center;
|
|
@@ -1824,10 +1824,10 @@ img[data-v-c95b2073] {
|
|
|
1824
1824
|
cursor: pointer;
|
|
1825
1825
|
position: relative;
|
|
1826
1826
|
}
|
|
1827
|
-
.tools-item i[data-v-
|
|
1827
|
+
.tools-item i[data-v-c3bc8a46] {
|
|
1828
1828
|
cursor: pointer;
|
|
1829
1829
|
}
|
|
1830
|
-
.superdoc__tools-icon[data-v-
|
|
1830
|
+
.superdoc__tools-icon[data-v-c3bc8a46] {
|
|
1831
1831
|
width: var(--sd-ui-tools-icon-size, 20px);
|
|
1832
1832
|
height: var(--sd-ui-tools-icon-size, 20px);
|
|
1833
1833
|
flex-shrink: 0;
|
|
@@ -1842,22 +1842,22 @@ img[data-v-c95b2073] {
|
|
|
1842
1842
|
|
|
1843
1843
|
/* 834px is iPad screen size in portrait orientation */
|
|
1844
1844
|
@media (max-width: 834px) {
|
|
1845
|
-
.superdoc .superdoc__layers[data-v-
|
|
1845
|
+
.superdoc .superdoc__layers[data-v-c3bc8a46] {
|
|
1846
1846
|
margin: 0;
|
|
1847
1847
|
border: 0 !important;
|
|
1848
1848
|
box-shadow: none;
|
|
1849
1849
|
}
|
|
1850
|
-
.superdoc__sub-document[data-v-
|
|
1850
|
+
.superdoc__sub-document[data-v-c3bc8a46] {
|
|
1851
1851
|
max-width: 100%;
|
|
1852
1852
|
}
|
|
1853
|
-
.superdoc__right-sidebar[data-v-
|
|
1853
|
+
.superdoc__right-sidebar[data-v-c3bc8a46] {
|
|
1854
1854
|
padding: 10px;
|
|
1855
1855
|
position: relative;
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
1858
|
|
|
1859
1859
|
/* AI Writer styles */
|
|
1860
|
-
.ai-writer-container[data-v-
|
|
1860
|
+
.ai-writer-container[data-v-c3bc8a46] {
|
|
1861
1861
|
position: fixed;
|
|
1862
1862
|
z-index: 1000;
|
|
1863
1863
|
background: white;
|
|
@@ -1873,10 +1873,10 @@ img[data-v-c95b2073] {
|
|
|
1873
1873
|
transform: translateY(-50%);
|
|
1874
1874
|
z-index: 50;
|
|
1875
1875
|
} */
|
|
1876
|
-
.ai-tool > svg[data-v-
|
|
1876
|
+
.ai-tool > svg[data-v-c3bc8a46] {
|
|
1877
1877
|
fill: transparent;
|
|
1878
1878
|
}
|
|
1879
|
-
.ai-tool[data-v-
|
|
1879
|
+
.ai-tool[data-v-c3bc8a46]::before {
|
|
1880
1880
|
content: '';
|
|
1881
1881
|
position: absolute;
|
|
1882
1882
|
width: 20px;
|
|
@@ -1897,7 +1897,7 @@ img[data-v-c95b2073] {
|
|
|
1897
1897
|
filter: brightness(1.2);
|
|
1898
1898
|
transition: filter 0.2s ease;
|
|
1899
1899
|
}
|
|
1900
|
-
.ai-tool[data-v-
|
|
1900
|
+
.ai-tool[data-v-c3bc8a46]:hover::before {
|
|
1901
1901
|
filter: brightness(1.3);
|
|
1902
1902
|
}
|
|
1903
1903
|
|
|
@@ -185,14 +185,17 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
185
185
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
186
186
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
187
187
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
188
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {
|
|
189
|
-
|
|
188
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
|
|
189
|
+
trackedChangesListMode?: string | undefined;
|
|
190
|
+
}) => Promise<any>;
|
|
191
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
190
192
|
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
191
193
|
commentsGeneration: any;
|
|
192
194
|
trackedChangesGeneration: any;
|
|
193
195
|
};
|
|
194
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
196
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
195
197
|
preparedInputs?: null | undefined;
|
|
198
|
+
pruneStale?: boolean | undefined;
|
|
196
199
|
}) => any;
|
|
197
200
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
198
201
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -203,8 +206,9 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
203
206
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
204
207
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
205
208
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
206
|
-
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
|
|
209
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
207
210
|
trackedChangesListMode?: string | undefined;
|
|
211
|
+
reconciliationBatchSize?: number | undefined;
|
|
208
212
|
}) => Promise<any>;
|
|
209
213
|
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
210
214
|
upsertIds?: never[] | undefined;
|
|
@@ -246,9 +250,11 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
246
250
|
allResolved?: undefined;
|
|
247
251
|
removedRows?: undefined;
|
|
248
252
|
}>;
|
|
249
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
253
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
250
254
|
pruneStale?: boolean | undefined;
|
|
251
255
|
preparedParams?: null | undefined;
|
|
256
|
+
liveIds?: null | undefined;
|
|
257
|
+
liveAnchorKeys?: null | undefined;
|
|
252
258
|
}) => any;
|
|
253
259
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
254
260
|
}, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "isCommentsListVisible" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
|
|
@@ -438,14 +444,17 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
438
444
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
439
445
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
440
446
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
441
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {
|
|
442
|
-
|
|
447
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
|
|
448
|
+
trackedChangesListMode?: string | undefined;
|
|
449
|
+
}) => Promise<any>;
|
|
450
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
443
451
|
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
444
452
|
commentsGeneration: any;
|
|
445
453
|
trackedChangesGeneration: any;
|
|
446
454
|
};
|
|
447
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
455
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
448
456
|
preparedInputs?: null | undefined;
|
|
457
|
+
pruneStale?: boolean | undefined;
|
|
449
458
|
}) => any;
|
|
450
459
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
451
460
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -456,8 +465,9 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
456
465
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
457
466
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
458
467
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
459
|
-
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
|
|
468
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
460
469
|
trackedChangesListMode?: string | undefined;
|
|
470
|
+
reconciliationBatchSize?: number | undefined;
|
|
461
471
|
}) => Promise<any>;
|
|
462
472
|
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
463
473
|
upsertIds?: never[] | undefined;
|
|
@@ -499,9 +509,11 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
499
509
|
allResolved?: undefined;
|
|
500
510
|
removedRows?: undefined;
|
|
501
511
|
}>;
|
|
502
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
512
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
503
513
|
pruneStale?: boolean | undefined;
|
|
504
514
|
preparedParams?: null | undefined;
|
|
515
|
+
liveIds?: null | undefined;
|
|
516
|
+
liveAnchorKeys?: null | undefined;
|
|
505
517
|
}) => any;
|
|
506
518
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
507
519
|
}, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "hasOpenTrackedChanges" | "getCommentsByPosition" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{
|
|
@@ -691,14 +703,17 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
691
703
|
v2CommentsAdapter: import('vue').ShallowRef<null, null>;
|
|
692
704
|
setV2CommentsAdapter: (adapter: any) => void;
|
|
693
705
|
getV2CommentsAdapter: (superdoc: any) => any;
|
|
694
|
-
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, signal, hydrationGeneration }?: {
|
|
695
|
-
|
|
706
|
+
hydrateCommentsFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, isCurrent, signal, hydrationGeneration, }?: {
|
|
707
|
+
trackedChangesListMode?: string | undefined;
|
|
708
|
+
}) => Promise<any>;
|
|
709
|
+
applyReviewSnapshotFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => any;
|
|
696
710
|
supersedeV2ReviewHydration: ({ commentsAdapter, trackedChangesAdapter }?: {}) => {
|
|
697
711
|
commentsGeneration: any;
|
|
698
712
|
trackedChangesGeneration: any;
|
|
699
713
|
};
|
|
700
|
-
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, hydrationGeneration, }?: {
|
|
714
|
+
reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: {
|
|
701
715
|
preparedInputs?: null | undefined;
|
|
716
|
+
pruneStale?: boolean | undefined;
|
|
702
717
|
}) => any;
|
|
703
718
|
isV2EditorActive: (superdoc: any) => boolean;
|
|
704
719
|
replyCommentV2: ({ superdoc, parentCommentId, text }?: {}) => Promise<any>;
|
|
@@ -709,8 +724,9 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
709
724
|
setV2TrackedChangesAdapter: (adapter: any) => void;
|
|
710
725
|
getV2TrackedChangesAdapter: (superdoc: any) => any;
|
|
711
726
|
getV2TrackedChangeRowCount: (documentId?: null) => number;
|
|
712
|
-
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, signal, hydrationGeneration, }?: {
|
|
727
|
+
hydrateTrackedChangesFromV2: ({ superdoc, adapter, documentId, trackedChangesListMode, refreshReason, blocking, isCurrent, targetIds, reconciliationBatchSize, signal, hydrationGeneration, }?: {
|
|
713
728
|
trackedChangesListMode?: string | undefined;
|
|
729
|
+
reconciliationBatchSize?: number | undefined;
|
|
714
730
|
}) => Promise<any>;
|
|
715
731
|
reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, allResolved, }?: {
|
|
716
732
|
upsertIds?: never[] | undefined;
|
|
@@ -752,9 +768,11 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
|
|
|
752
768
|
allResolved?: undefined;
|
|
753
769
|
removedRows?: undefined;
|
|
754
770
|
}>;
|
|
755
|
-
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, hydrationGeneration, }?: {
|
|
771
|
+
reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: {
|
|
756
772
|
pruneStale?: boolean | undefined;
|
|
757
773
|
preparedParams?: null | undefined;
|
|
774
|
+
liveIds?: null | undefined;
|
|
775
|
+
liveAnchorKeys?: null | undefined;
|
|
758
776
|
}) => any;
|
|
759
777
|
remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
|
|
760
778
|
}, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "hydrateCommentsFromV2" | "applyReviewSnapshotFromV2" | "supersedeV2ReviewHydration" | "reconcileCommentsFromV2" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "hydrateTrackedChangesFromV2" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
|